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

@@ -90,7 +90,7 @@ namespace {
}
char LCSSA::ID = 0;
static RegisterPass<LCSSA> X("lcssa", "Loop-Closed SSA Form Pass");
INITIALIZE_PASS(LCSSA, "lcssa", "Loop-Closed SSA Form Pass", false, false);
Pass *llvm::createLCSSAPass() { return new LCSSA(); }
char &llvm::LCSSAID = LCSSA::ID;