reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Overridden By

lib/IR/LegacyPassManager.cpp
 1498 void FunctionPassManager::add(Pass *P) {
 1886 void PassManager::add(Pass *P) {
tools/bugpoint/bugpoint.cpp
  108   void add(Pass *P) override {
tools/opt/opt.cpp
  316   void add(Pass *P) override {

References

lib/CodeGen/LLVMTargetMachine.cpp
  106   PM.add(PassConfig);
  107   PM.add(&MMIWP);
  186   PM.add(Printer);
  212     PM.add(createPrintMIRPass(Out));
  217   PM.add(createFreeMachineFunctionPass());
  266   PM.add(Printer);
  267   PM.add(createFreeMachineFunctionPass());
lib/CodeGen/TargetPassConfig.cpp
  536     PM->add(P);
  595     PM->add(createMachineFunctionPrinterPass(dbgs(), Banner));
  605     PM->add(createMachineVerifierPass(Banner));
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  412         PM.add(createAMDGPUAAWrapperPass());
  413         PM.add(createAMDGPUExternalAAWrapperPass());
  415       PM.add(createAMDGPUUnifyMetadataPass());
  416       PM.add(createAMDGPUPrintfRuntimeBinding());
  417       PM.add(createAMDGPUPropagateAttributesLatePass(this));
  419         PM.add(createInternalizePass(mustPreserveGV));
  420         PM.add(createGlobalDCEPass());
  423         PM.add(createAMDGPUAlwaysInlinePass(false));
  432         PM.add(createAMDGPUAAWrapperPass());
  433         PM.add(createAMDGPUExternalAAWrapperPass());
  435       PM.add(llvm::createAMDGPUPropagateAttributesEarlyPass(this));
  436       PM.add(llvm::createAMDGPUUseNativeCallsPass());
  438         PM.add(llvm::createAMDGPUSimplifyLibCallsPass(Opt, this));
  446       PM.add(createInferAddressSpacesPass());
  450       PM.add(createAMDGPULowerKernelAttributesPass());
lib/Target/Hexagon/HexagonTargetMachine.cpp
  256       PM.add(createHexagonLoopIdiomPass());
  261       PM.add(createHexagonVectorLoopCarriedReusePass());
lib/Target/NVPTX/NVPTXTargetMachine.cpp
  203       PM.add(createNVVMReflectPass(Subtarget.getSmVersion()));
  204       PM.add(createNVVMIntrRangePass(Subtarget.getSmVersion()));
lib/Target/Target.cpp
   65   unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI)));
lib/Target/TargetMachineC.cpp
  269   unwrap(PM)->add(
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  416   unwrap(PM)->add(createAggressiveInstCombinerPass());
lib/Transforms/Coroutines/Coroutines.cpp
   53   PM.add(createCoroSplitPass());
   54   PM.add(createCoroElidePass());
   56   PM.add(createBarrierNoopPass());
   57   PM.add(createCoroCleanupPass());
   62   PM.add(createCoroEarlyPass());
   67   PM.add(createCoroElidePass());
   72   PM.add(createCoroSplitPass());
   77   PM.add(createCoroCleanupPass());
  637   unwrap(PM)->add(createCoroEarlyPass());
  641   unwrap(PM)->add(createCoroSplitPass());
  645   unwrap(PM)->add(createCoroElidePass());
  649   unwrap(PM)->add(createCoroCleanupPass());
lib/Transforms/IPO/IPO.cpp
   70   unwrap(PM)->add(createArgumentPromotionPass());
   74   unwrap(PM)->add(createCalledValuePropagationPass());
   78   unwrap(PM)->add(createConstantMergePass());
   82   unwrap(PM)->add(createDeadArgEliminationPass());
   86   unwrap(PM)->add(createPostOrderFunctionAttrsLegacyPass());
   90   unwrap(PM)->add(createFunctionInliningPass());
   94   unwrap(PM)->add(llvm::createAlwaysInlinerLegacyPass());
   98   unwrap(PM)->add(createGlobalDCEPass());
  102   unwrap(PM)->add(createGlobalOptimizerPass());
  106   unwrap(PM)->add(createIPConstantPropagationPass());
  110   unwrap(PM)->add(createPruneEHPass());
  114   unwrap(PM)->add(createIPSCCPPass());
  118   unwrap(PM)->add(createMergeFunctionsPass());
  125   unwrap(PM)->add(createInternalizePass(PreserveMain));
  132   unwrap(PM)->add(createInternalizePass([=](const GlobalValue &GV) {
  138   unwrap(PM)->add(createStripDeadPrototypesPass());
  142   unwrap(PM)->add(createStripSymbolsPass());
lib/Transforms/IPO/PassManagerBuilder.cpp
  223     PM.add(createCFLSteensAAWrapperPass());
  226     PM.add(createCFLAndersAAWrapperPass());
  229     PM.add(createCFLSteensAAWrapperPass());
  230     PM.add(createCFLAndersAAWrapperPass());
  239   PM.add(createTypeBasedAAWrapperPass());
  240   PM.add(createScopedNoAliasAAWrapperPass());
  246   PM.add(createInstructionCombiningPass(ExpensiveCombines));
  292     MPM.add(createFunctionInliningPass(IP));
  293     MPM.add(createSROAPass());
  294     MPM.add(createEarlyCSEPass());             // Catch trivial redundancies
  295     MPM.add(createCFGSimplificationPass());    // Merge & remove BBs
  296     MPM.add(createInstructionCombiningPass()); // Combine silly seq's
  300     MPM.add(createPGOInstrumentationGenLegacyPass(IsCS));
  307     MPM.add(createLoopRotatePass());
  308     MPM.add(createInstrProfilingLegacyPass(Options, IsCS));
  311     MPM.add(createPGOInstrumentationUseLegacyPass(PGOInstrUse, IsCS));
  316     MPM.add(
  323   MPM.add(createSROAPass());
  324   MPM.add(createEarlyCSEPass(true /* Enable mem-ssa. */)); // Catch trivial redundancies
  326     MPM.add(createGVNHoistPass());
  328     MPM.add(createGVNSinkPass());
  329     MPM.add(createCFGSimplificationPass());
  333   MPM.add(createSpeculativeExecutionIfHasBranchDivergencePass());
  334   MPM.add(createJumpThreadingPass());         // Thread jumps.
  335   MPM.add(createCorrelatedValuePropagationPass()); // Propagate conditionals
  336   MPM.add(createCFGSimplificationPass());     // Merge & remove BBs
  339     MPM.add(createAggressiveInstCombinerPass());
  342     MPM.add(createLibCallsShrinkWrapPass());
  347     MPM.add(createPGOMemOPSizeOptLegacyPass());
  349   MPM.add(createTailCallEliminationPass()); // Eliminate tail calls
  350   MPM.add(createCFGSimplificationPass());     // Merge & remove BBs
  351   MPM.add(createReassociatePass());           // Reassociate expressions
  358     MPM.add(createLoopInstSimplifyPass());
  359     MPM.add(createLoopSimplifyCFGPass());
  362   MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1));
  363   MPM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap));
  365     MPM.add(createSimpleLoopUnswitchLegacyPass());
  367     MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget));
  371   MPM.add(createCFGSimplificationPass());
  374   MPM.add(createIndVarSimplifyPass());        // Canonicalize indvars
  375   MPM.add(createLoopIdiomPass());             // Recognize idioms like memset.
  377   MPM.add(createLoopDeletionPass());          // Delete dead loops
  380     MPM.add(createLoopInterchangePass()); // Interchange loops
  383   MPM.add(createSimpleLoopUnrollPass(OptLevel, DisableUnrollLoops,
  389     MPM.add(createMergedLoadStoreMotionPass()); // Merge ld/st in diamonds
  390     MPM.add(NewGVN ? createNewGVNPass()
  393   MPM.add(createMemCpyOptPass());             // Remove memcpy / form memset
  394   MPM.add(createSCCPPass());                  // Constant prop with SCCP
  399   MPM.add(createBitTrackingDCEPass());        // Delete dead bit computations
  405   MPM.add(createJumpThreadingPass());         // Thread jumps
  406   MPM.add(createCorrelatedValuePropagationPass());
  407   MPM.add(createDeadStoreEliminationPass());  // Delete dead stores
  408   MPM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap));
  413     MPM.add(createLoopRerollPass());
  415   MPM.add(createAggressiveDCEPass());         // Delete dead instructions
  416   MPM.add(createCFGSimplificationPass()); // Merge & remove BBs
  423     MPM.add(createControlHeightReductionLegacyPass());
  433     MPM.add(createPruneEHPass());
  438       MPM.add(createSampleProfileLoaderPass(PGOSampleUse));
  442   MPM.add(createForceFunctionAttrsLegacyPass());
  449       MPM.add(Inliner);
  459       MPM.add(createMergeFunctionsPass());
  461       MPM.add(createBarrierNoopPass());
  467       MPM.add(createEliminateAvailableExternallyPass());
  468       MPM.add(createGlobalDCEPass());
  474       MPM.add(createCanonicalizeAliasesPass());
  479       MPM.add(createNameAnonGlobalPass());
  486     MPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
  498     MPM.add(createPGOIndirectCallPromotionLegacyPass(/*InLTO = */ true,
  510   MPM.add(createInferFunctionAttrsLegacyPass());
  515     MPM.add(createCallSiteSplittingPass());
  517   MPM.add(createIPSCCPPass());          // IP SCCP
  518   MPM.add(createCalledValuePropagationPass());
  521   MPM.add(createAttributorLegacyPass());
  523   MPM.add(createGlobalOptimizerPass()); // Optimize out global vars
  525   MPM.add(createPromoteMemoryToRegisterPass());
  527   MPM.add(createDeadArgEliminationPass()); // Dead argument elimination
  531   MPM.add(createCFGSimplificationPass()); // Clean up after IPCP & DAE
  544     MPM.add(createPGOInstrumentationGenCreateVarLegacyPass(PGOInstrGen));
  549   MPM.add(createGlobalsAAWrapperPass());
  552   MPM.add(createPruneEHPass()); // Remove dead EH info
  555     MPM.add(Inliner);
  560   MPM.add(createPostOrderFunctionAttrsLegacyPass());
  562     MPM.add(createArgumentPromotionPass()); // Scalarize uninlined fn args
  570   MPM.add(createBarrierNoopPass());
  573     MPM.add(createPartialInliningPass());
  585     MPM.add(createEliminateAvailableExternallyPass());
  596     MPM.add(createInstrOrderFilePass());
  598   MPM.add(createReversePostOrderFunctionAttrsPass());
  607     MPM.add(createGlobalOptimizerPass());
  608     MPM.add(createGlobalDCEPass());
  618     MPM.add(createCanonicalizeAliasesPass());
  620     MPM.add(createNameAnonGlobalPass());
  627     MPM.add(createGlobalOptimizerPass());
  635     MPM.add(createLoopVersioningLICMPass());    // Do LoopVersioningLICM
  636     MPM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap));
  654   MPM.add(createGlobalsAAWrapperPass());
  656   MPM.add(createFloat2IntPass());
  657   MPM.add(createLowerConstantIntrinsicsPass());
  664   MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1));
  670   MPM.add(createLoopDistributePass());
  672   MPM.add(createLoopVectorizePass(!LoopsInterleaved, !LoopVectorize));
  676   MPM.add(createLoopLoadEliminationPass());
  691     MPM.add(createEarlyCSEPass());
  692     MPM.add(createCorrelatedValuePropagationPass());
  694     MPM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap));
  695     MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget));
  696     MPM.add(createCFGSimplificationPass());
  705   MPM.add(createCFGSimplificationPass(1, true, true, false, true));
  708     MPM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains.
  710       MPM.add(createEarlyCSEPass());
  721     MPM.add(createLoopUnrollAndJamPass(OptLevel));
  725   MPM.add(createLoopUnrollPass(OptLevel, DisableUnrollLoops,
  736     MPM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap));
  739   MPM.add(createWarnMissedTransformationsPass());
  743   MPM.add(createAlignmentFromAssumptionsPass());
  746   MPM.add(createStripDeadPrototypesPass()); // Get rid of dead prototypes
  751     MPM.add(createGlobalDCEPass());         // Remove dead fns and globals.
  752     MPM.add(createConstantMergePass());     // Merge dup global constants
  758     MPM.add(createHotColdSplittingPass());
  761     MPM.add(createMergeFunctionsPass());
  767   MPM.add(createLoopSinkPass());
  769   MPM.add(createInstSimplifyLegacyPass());
  774   MPM.add(createDivRemPairsPass());
  778   MPM.add(createCFGSimplificationPass());
  783     MPM.add(createCanonicalizeAliasesPass());
  785     MPM.add(createNameAnonGlobalPass());
  792     PM.add(createPruneEHPass());
  793     PM.add(createSampleProfileLoaderPass(PGOSampleUse));
  798   PM.add(createGlobalDCEPass());
  804   PM.add(createForceFunctionAttrsLegacyPass());
  807   PM.add(createInferFunctionAttrsLegacyPass());
  811     PM.add(createCallSiteSplittingPass());
  817     PM.add(
  823     PM.add(createIPSCCPPass());
  827     PM.add(createCalledValuePropagationPass());
  830     PM.add(createAttributorLegacyPass());
  835   PM.add(createPostOrderFunctionAttrsLegacyPass());
  836   PM.add(createReversePostOrderFunctionAttrsPass());
  841   PM.add(createGlobalSplitPass());
  844   PM.add(createWholeProgramDevirtPass(ExportSummary, nullptr));
  851   PM.add(createGlobalOptimizerPass());
  853   PM.add(createPromoteMemoryToRegisterPass());
  857   PM.add(createConstantMergePass());
  860   PM.add(createDeadArgEliminationPass());
  867     PM.add(createAggressiveInstCombinerPass());
  874     PM.add(Inliner);
  878   PM.add(createPruneEHPass());   // Remove dead EH info.
  885     PM.add(createGlobalOptimizerPass());
  886   PM.add(createGlobalDCEPass()); // Remove dead functions.
  890   PM.add(createArgumentPromotionPass());
  895   PM.add(createJumpThreadingPass());
  898   PM.add(createSROAPass());
  902   PM.add(createTailCallEliminationPass());
  905   PM.add(createPostOrderFunctionAttrsLegacyPass()); // Add nocapture.
  907   PM.add(createGlobalsAAWrapperPass()); // IP alias analysis.
  909   PM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap));
  910   PM.add(createMergedLoadStoreMotionPass()); // Merge ld/st in diamonds.
  911   PM.add(NewGVN ? createNewGVNPass()
  913   PM.add(createMemCpyOptPass());            // Remove dead memcpys.
  916   PM.add(createDeadStoreEliminationPass());
  919   PM.add(createIndVarSimplifyPass());
  920   PM.add(createLoopDeletionPass());
  922     PM.add(createLoopInterchangePass());
  925   PM.add(createSimpleLoopUnrollPass(OptLevel, DisableUnrollLoops,
  927   PM.add(createLoopVectorizePass(true, !LoopVectorize));
  929   PM.add(createLoopUnrollPass(OptLevel, DisableUnrollLoops,
  932   PM.add(createWarnMissedTransformationsPass());
  938   PM.add(createCFGSimplificationPass()); // if-convert
  939   PM.add(createSCCPPass()); // Propagate exposed constants
  941   PM.add(createBitTrackingDCEPass());
  945     PM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains.
  949   PM.add(createAlignmentFromAssumptionsPass());
  955   PM.add(createJumpThreadingPass());
  963     PM.add(createHotColdSplittingPass());
  966   PM.add(createCFGSimplificationPass());
  969   PM.add(createEliminateAvailableExternallyPass());
  972   PM.add(createGlobalDCEPass());
  977     PM.add(createMergeFunctionsPass());
  984     PM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
  987     PM.add(createVerifierPass());
 1002     PM.add(createWholeProgramDevirtPass(nullptr, ImportSummary));
 1003     PM.add(createLowerTypeTestsPass(nullptr, ImportSummary));
 1009     PM.add(createVerifierPass());
 1015     PM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
 1018     PM.add(createVerifierPass());
 1028     PM.add(createWholeProgramDevirtPass(ExportSummary, nullptr));
 1033   PM.add(createCrossDSOCFIPass());
 1038   PM.add(createLowerTypeTestsPass(ExportSummary, nullptr));
 1046     PM.add(createVerifierPass());
lib/Transforms/InstCombine/InstructionCombining.cpp
 3651   unwrap(PM)->add(createInstructionCombiningPass());
lib/Transforms/Scalar/Scalar.cpp
  116   unwrap(PM)->add(createLoopSimplifyCFGPass());
  124   unwrap(PM)->add(createAggressiveDCEPass());
  128   unwrap(PM)->add(createDeadCodeEliminationPass());
  132   unwrap(PM)->add(createBitTrackingDCEPass());
  136   unwrap(PM)->add(createAlignmentFromAssumptionsPass());
  140   unwrap(PM)->add(createCFGSimplificationPass(1, false, false, true));
  144   unwrap(PM)->add(createDeadStoreEliminationPass());
  148   unwrap(PM)->add(createScalarizerPass());
  152   unwrap(PM)->add(createGVNPass());
  156   unwrap(PM)->add(createNewGVNPass());
  160   unwrap(PM)->add(createMergedLoadStoreMotionPass());
  164   unwrap(PM)->add(createIndVarSimplifyPass());
  168   unwrap(PM)->add(createJumpThreadingPass());
  172   unwrap(PM)->add(createLoopSinkPass());
  176   unwrap(PM)->add(createLICMPass());
  180   unwrap(PM)->add(createLoopDeletionPass());
  184   unwrap(PM)->add(createLoopIdiomPass());
  188   unwrap(PM)->add(createLoopRotatePass());
  192   unwrap(PM)->add(createLoopRerollPass());
  196   unwrap(PM)->add(createLoopUnrollPass());
  200   unwrap(PM)->add(createLoopUnrollAndJamPass());
  204   unwrap(PM)->add(createLoopUnswitchPass());
  208   unwrap(PM)->add(createLowerAtomicPass());
  212   unwrap(PM)->add(createMemCpyOptPass());
  216   unwrap(PM)->add(createPartiallyInlineLibCallsPass());
  220   unwrap(PM)->add(createReassociatePass());
  224   unwrap(PM)->add(createSCCPPass());
  228   unwrap(PM)->add(createSROAPass());
  232   unwrap(PM)->add(createSROAPass());
  237   unwrap(PM)->add(createSROAPass());
  245   unwrap(PM)->add(createTailCallEliminationPass());
  249   unwrap(PM)->add(createConstantPropagationPass());
  253   unwrap(PM)->add(createDemoteRegisterToMemoryPass());
  257   unwrap(PM)->add(createVerifierPass());
  261   unwrap(PM)->add(createCorrelatedValuePropagationPass());
  265   unwrap(PM)->add(createEarlyCSEPass(false/*=UseMemorySSA*/));
  269   unwrap(PM)->add(createEarlyCSEPass(true/*=UseMemorySSA*/));
  273   unwrap(PM)->add(createGVNHoistPass());
  277   unwrap(PM)->add(createTypeBasedAAWrapperPass());
  281   unwrap(PM)->add(createScopedNoAliasAAWrapperPass());
  285   unwrap(PM)->add(createBasicAAWrapperPass());
  289   unwrap(PM)->add(createLowerConstantIntrinsicsPass());
  293   unwrap(PM)->add(createLowerExpectIntrinsicPass());
  297   unwrap(PM)->add(createUnifyFunctionExitNodesPass());
lib/Transforms/Utils/Utils.cpp
   50   unwrap(PM)->add(createLowerSwitchPass());
   54   unwrap(PM)->add(createPromoteMemoryToRegisterPass());
   58   unwrap(PM)->add(createAddDiscriminatorsPass());
lib/Transforms/Vectorize/Vectorize.cpp
   37   unwrap(PM)->add(createLoopVectorizePass());
   41   unwrap(PM)->add(createSLPVectorizerPass());
tools/clang/lib/CodeGen/BackendUtil.cpp
  177     PM.add(createObjCARCAPElimPass());
  182     PM.add(createObjCARCExpandPass());
  187     PM.add(createObjCARCOptPass());
  192   PM.add(createAddDiscriminatorsPass());
  197   PM.add(createBoundsCheckingLegacyPass());
  226   PM.add(createModuleSanitizerCoverageLegacyPassPass(Opts));
  261   PM.add(createAddressSanitizerFunctionPass(/*CompileKernel*/ false, Recover,
  263   PM.add(createModuleAddressSanitizerLegacyPassPass(
  269   PM.add(createAddressSanitizerFunctionPass(
  271   PM.add(createModuleAddressSanitizerLegacyPassPass(
  282   PM.add(
  288   PM.add(createHWAddressSanitizerLegacyPassPass(
  300   PM.add(createMemorySanitizerLegacyPassPass(
  307     PM.add(createEarlyCSEPass());
  308     PM.add(createReassociatePass());
  309     PM.add(createLICMPass());
  310     PM.add(createGVNPass());
  311     PM.add(createInstructionCombiningPass());
  312     PM.add(createDeadStoreEliminationPass());
  328   PM.add(createThreadSanitizerLegacyPassPass());
  336   PM.add(createDataFlowSanitizerPass(LangOpts.SanitizerBlacklistFiles));
tools/llc/llc.cpp
  385   PM.add(P);
tools/llvm-exegesis/lib/AArch64/Target.cpp
   61     PM.add(createAArch64ExpandPseudoPass());
tools/llvm-exegesis/lib/Assembler.cpp
   67   PM.add(P);
tools/llvm-exegesis/lib/X86/Target.cpp
  595   PM.add(createX86FloatingPointStackifierPass());
tools/opt/opt.cpp
  354   PM.add(P);
  358     PM.add(createVerifierPass());
tools/polly/lib/Support/RegisterPasses.cpp
  302     PM.add(polly::createDumpModulePass("-before", true));
  304     PM.add(polly::createDumpModulePass(Filename, false));
  306   PM.add(polly::createScopDetectionWrapperPassPass());
  312     PM.add(polly::createDOTViewerPass());
  314     PM.add(polly::createDOTOnlyViewerPass());
  316     PM.add(polly::createDOTPrinterPass());
  318     PM.add(polly::createDOTOnlyPrinterPass());
  320   PM.add(polly::createScopInfoRegionPassPass());
  322     PM.add(polly::createPolyhedralInfoPass());
  325     PM.add(polly::createSimplifyPass(0));
  327     PM.add(polly::createForwardOpTreePass());
  329     PM.add(polly::createDeLICMPass());
  331     PM.add(polly::createSimplifyPass(1));
  334     PM.add(polly::createJSONImporterPass());
  337     PM.add(polly::createDeadCodeElimPass());
  340     PM.add(polly::createMaximalStaticExpansionPass());
  343     PM.add(polly::createPruneUnprofitablePass());
  356       PM.add(polly::createIslScheduleOptimizerPass());
  361     PM.add(polly::createJSONExporterPass());
  366       PM.add(polly::createIslAstInfoWrapperPassPass());
  369       PM.add(polly::createCodeGenerationPass());
  391   PM.add(createBarrierNoopPass());
  394     PM.add(polly::createDumpModulePass("-after", true));
  396     PM.add(polly::createDumpModulePass(Filename, false));
  399     PM.add(llvm::createCFGPrinterLegacyPassPass());
  435   PM.add(polly::createCodePreparationPass());
  437   PM.add(createCodegenCleanupPass());
  449   PM.add(polly::createCodePreparationPass());
  451   PM.add(createCodegenCleanupPass());
tools/polly/lib/Transform/Canonicalization.cpp
   34   PM.add(polly::createRewriteByrefParamsPass());
   35   PM.add(llvm::createPromoteMemoryToRegisterPass());
   36   PM.add(llvm::createEarlyCSEPass(UseMemSSA));
   37   PM.add(llvm::createInstructionCombiningPass());
   38   PM.add(llvm::createCFGSimplificationPass());
   39   PM.add(llvm::createTailCallEliminationPass());
   40   PM.add(llvm::createCFGSimplificationPass());
   41   PM.add(llvm::createReassociatePass());
   42   PM.add(llvm::createLoopRotatePass());
   44     PM.add(llvm::createFunctionInliningPass(200));
   45     PM.add(llvm::createPromoteMemoryToRegisterPass());
   46     PM.add(llvm::createCFGSimplificationPass());
   47     PM.add(llvm::createInstructionCombiningPass());
   48     PM.add(createBarrierNoopPass());
   50   PM.add(llvm::createInstructionCombiningPass());
   51   PM.add(llvm::createIndVarSimplifyPass());
   52   PM.add(polly::createCodePreparationPass());
unittests/MI/LiveIntervalTest.cpp
   69   PM.add(MMIWP);