}
// createGCSEPass - The public interface to this file...
-Pass *createGCSEPass() { return new GCSE(); }
+FunctionPass *createGCSEPass() { return new GCSE(); }
// GCSE::runOnFunction - This is the main transformation entry point for a
RegisterOpt<LICM> X("licm", "Loop Invariant Code Motion");
}
-Pass *createLICMPass() { return new LICM(); }
+FunctionPass *createLICMPass() { return new LICM(); }
/// runOnFunction - For LICM, this simply traverses the loop structure of the
/// function, hoisting expressions out of loops if possible.
RegisterOpt<Reassociate> X("reassociate", "Reassociate expressions");
}
-Pass *createReassociatePass() { return new Reassociate(); }
+FunctionPass *createReassociatePass() { return new Reassociate(); }
void Reassociate::BuildRankMap(Function &F) {
unsigned i = 2;