reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
45 assert(!FPM); 47 FPM = new llvm::legacy::FunctionPassManager(&M); 52 FPM->add(createScopedNoAliasAAWrapperPass()); 53 FPM->add(createTypeBasedAAWrapperPass()); 54 FPM->add(createAAResultsWrapperPass()); 61 FPM->add(createCFGSimplificationPass()); 62 FPM->add(createSROAPass()); 63 FPM->add(createEarlyCSEPass()); 65 FPM->add(createPromoteMemoryToRegisterPass()); 66 FPM->add(createInstructionCombiningPass(true)); 67 FPM->add(createCFGSimplificationPass()); 68 FPM->add(createSROAPass()); 69 FPM->add(createEarlyCSEPass(true)); 70 FPM->add(createSpeculativeExecutionIfHasBranchDivergencePass()); 71 FPM->add(createJumpThreadingPass()); 72 FPM->add(createCorrelatedValuePropagationPass()); 73 FPM->add(createCFGSimplificationPass()); 74 FPM->add(createInstructionCombiningPass(true)); 75 FPM->add(createLibCallsShrinkWrapPass()); 76 FPM->add(createTailCallEliminationPass()); 77 FPM->add(createCFGSimplificationPass()); 78 FPM->add(createReassociatePass()); 79 FPM->add(createLoopRotatePass(-1)); 80 FPM->add(createGVNPass()); 81 FPM->add(createLICMPass()); 82 FPM->add(createLoopUnswitchPass()); 83 FPM->add(createCFGSimplificationPass()); 84 FPM->add(createInstructionCombiningPass(true)); 85 FPM->add(createIndVarSimplifyPass()); 86 FPM->add(createLoopIdiomPass()); 87 FPM->add(createLoopDeletionPass()); 88 FPM->add(createCFGSimplificationPass()); 89 FPM->add(createSimpleLoopUnrollPass(3)); 90 FPM->add(createMergedLoadStoreMotionPass()); 91 FPM->add(createGVNPass()); 92 FPM->add(createMemCpyOptPass()); 93 FPM->add(createSCCPPass()); 94 FPM->add(createBitTrackingDCEPass()); 95 FPM->add(createInstructionCombiningPass(true)); 96 FPM->add(createJumpThreadingPass()); 97 FPM->add(createCorrelatedValuePropagationPass()); 98 FPM->add(createDeadStoreEliminationPass()); 99 FPM->add(createLICMPass()); 100 FPM->add(createAggressiveDCEPass()); 101 FPM->add(createCFGSimplificationPass()); 102 FPM->add(createInstructionCombiningPass(true)); 103 FPM->add(createFloat2IntPass()); 105 return FPM->doInitialization(); 109 bool Result = FPM->doFinalization(); 111 delete FPM; 112 FPM = nullptr; 126 return FPM->run(F);