Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API.

llvm-svn: 111815
This commit is contained in:
Owen Anderson
2010-08-23 17:52:01 +00:00
parent 0bf9c59d2f
commit d31d82d75c
23 changed files with 54 additions and 59 deletions

View File

@@ -30,8 +30,8 @@ TEMPLATE_INSTANTIATION(MLIB);
}
char MachineLoopInfo::ID = 0;
static RegisterPass<MachineLoopInfo>
X("machine-loops", "Machine Natural Loop Construction", true);
INITIALIZE_PASS(MachineLoopInfo, "machine-loops",
"Machine Natural Loop Construction", true, true);
char &llvm::MachineLoopInfoID = MachineLoopInfo::ID;