• Home
  • Raw
  • Download

Lines Matching refs:PM

172                                            legacy::PassManagerBase &PM) const {  in addExtensionsToPM()
175 (*GlobalExtensions)[i].second(*this, PM); in addExtensionsToPM()
178 Extensions[i].second(*this, PM); in addExtensionsToPM()
182 legacy::PassManagerBase &PM) const { in addInitialAliasAnalysisPasses()
185 PM.add(createCFLSteensAAWrapperPass()); in addInitialAliasAnalysisPasses()
188 PM.add(createCFLAndersAAWrapperPass()); in addInitialAliasAnalysisPasses()
191 PM.add(createCFLSteensAAWrapperPass()); in addInitialAliasAnalysisPasses()
192 PM.add(createCFLAndersAAWrapperPass()); in addInitialAliasAnalysisPasses()
201 PM.add(createTypeBasedAAWrapperPass()); in addInitialAliasAnalysisPasses()
202 PM.add(createScopedNoAliasAAWrapperPass()); in addInitialAliasAnalysisPasses()
206 legacy::PassManagerBase &PM) const { in addInstructionCombiningPass()
208 PM.add(createInstructionCombiningPass(ExpensiveCombines)); in addInstructionCombiningPass()
586 void PassManagerBuilder::addLTOOptimizationPasses(legacy::PassManagerBase &PM) { in addLTOOptimizationPasses() argument
589 PM.add(createGlobalDCEPass()); in addLTOOptimizationPasses()
592 addInitialAliasAnalysisPasses(PM); in addLTOOptimizationPasses()
595 PM.add(createFunctionImportPass(ModuleSummary)); in addLTOOptimizationPasses()
598 PM.add(createForceFunctionAttrsLegacyPass()); in addLTOOptimizationPasses()
601 PM.add(createInferFunctionAttrsLegacyPass()); in addLTOOptimizationPasses()
608 PM.add(createPGOIndirectCallPromotionLegacyPass(true)); in addLTOOptimizationPasses()
613 PM.add(createIPSCCPPass()); in addLTOOptimizationPasses()
618 PM.add(createPostOrderFunctionAttrsLegacyPass()); in addLTOOptimizationPasses()
619 PM.add(createReversePostOrderFunctionAttrsPass()); in addLTOOptimizationPasses()
622 PM.add(createWholeProgramDevirtPass()); in addLTOOptimizationPasses()
629 PM.add(createGlobalOptimizerPass()); in addLTOOptimizationPasses()
631 PM.add(createPromoteMemoryToRegisterPass()); in addLTOOptimizationPasses()
635 PM.add(createConstantMergePass()); in addLTOOptimizationPasses()
638 PM.add(createDeadArgEliminationPass()); in addLTOOptimizationPasses()
644 addInstructionCombiningPass(PM); in addLTOOptimizationPasses()
645 addExtensionsToPM(EP_Peephole, PM); in addLTOOptimizationPasses()
650 PM.add(Inliner); in addLTOOptimizationPasses()
654 PM.add(createPruneEHPass()); // Remove dead EH info. in addLTOOptimizationPasses()
658 PM.add(createGlobalOptimizerPass()); in addLTOOptimizationPasses()
659 PM.add(createGlobalDCEPass()); // Remove dead functions. in addLTOOptimizationPasses()
663 PM.add(createArgumentPromotionPass()); in addLTOOptimizationPasses()
666 addInstructionCombiningPass(PM); in addLTOOptimizationPasses()
667 addExtensionsToPM(EP_Peephole, PM); in addLTOOptimizationPasses()
668 PM.add(createJumpThreadingPass()); in addLTOOptimizationPasses()
671 PM.add(createSROAPass()); in addLTOOptimizationPasses()
674 PM.add(createPostOrderFunctionAttrsLegacyPass()); // Add nocapture. in addLTOOptimizationPasses()
675 PM.add(createGlobalsAAWrapperPass()); // IP alias analysis. in addLTOOptimizationPasses()
677 PM.add(createLICMPass()); // Hoist loop invariants. in addLTOOptimizationPasses()
679 PM.add(createMergedLoadStoreMotionPass()); // Merge ld/st in diamonds. in addLTOOptimizationPasses()
680 PM.add(createGVNPass(DisableGVNLoadPRE)); // Remove redundancies. in addLTOOptimizationPasses()
681 PM.add(createMemCpyOptPass()); // Remove dead memcpys. in addLTOOptimizationPasses()
684 PM.add(createDeadStoreEliminationPass()); in addLTOOptimizationPasses()
687 PM.add(createIndVarSimplifyPass()); in addLTOOptimizationPasses()
688 PM.add(createLoopDeletionPass()); in addLTOOptimizationPasses()
690 PM.add(createLoopInterchangePass()); in addLTOOptimizationPasses()
693 PM.add(createSimpleLoopUnrollPass()); // Unroll small loops in addLTOOptimizationPasses()
694 PM.add(createLoopVectorizePass(true, LoopVectorize)); in addLTOOptimizationPasses()
697 PM.add(createLoopUnrollPass()); in addLTOOptimizationPasses()
702 addInstructionCombiningPass(PM); // Initial cleanup in addLTOOptimizationPasses()
703 PM.add(createCFGSimplificationPass()); // if-convert in addLTOOptimizationPasses()
704 PM.add(createSCCPPass()); // Propagate exposed constants in addLTOOptimizationPasses()
705 addInstructionCombiningPass(PM); // Clean up again in addLTOOptimizationPasses()
706 PM.add(createBitTrackingDCEPass()); in addLTOOptimizationPasses()
711 PM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains. in addLTOOptimizationPasses()
715 PM.add(createAlignmentFromAssumptionsPass()); in addLTOOptimizationPasses()
718 PM.add(createLoadCombinePass()); in addLTOOptimizationPasses()
721 addInstructionCombiningPass(PM); in addLTOOptimizationPasses()
722 addExtensionsToPM(EP_Peephole, PM); in addLTOOptimizationPasses()
724 PM.add(createJumpThreadingPass()); in addLTOOptimizationPasses()
728 legacy::PassManagerBase &PM) { in addLateLTOOptimizationPasses() argument
730 PM.add(createCFGSimplificationPass()); in addLateLTOOptimizationPasses()
733 PM.add(createEliminateAvailableExternallyPass()); in addLateLTOOptimizationPasses()
736 PM.add(createGlobalDCEPass()); in addLateLTOOptimizationPasses()
741 PM.add(createMergeFunctionsPass()); in addLateLTOOptimizationPasses()
745 legacy::PassManagerBase &PM) { in populateThinLTOPassManager() argument
749 PM.add(createVerifierPass()); in populateThinLTOPassManager()
752 PM.add(createFunctionImportPass(ModuleSummary)); in populateThinLTOPassManager()
754 populateModulePassManager(PM); in populateThinLTOPassManager()
757 PM.add(createVerifierPass()); in populateThinLTOPassManager()
761 void PassManagerBuilder::populateLTOPassManager(legacy::PassManagerBase &PM) { in populateLTOPassManager() argument
763 PM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateLTOPassManager()
766 PM.add(createVerifierPass()); in populateLTOPassManager()
769 addLTOOptimizationPasses(PM); in populateLTOPassManager()
773 PM.add(createCrossDSOCFIPass()); in populateLTOPassManager()
778 PM.add(createLowerTypeTestsPass()); in populateLTOPassManager()
781 addLateLTOOptimizationPasses(PM); in populateLTOPassManager()
784 PM.add(createVerifierPass()); in populateLTOPassManager()
848 LLVMPassManagerRef PM) { in LLVMPassManagerBuilderPopulateFunctionPassManager() argument
850 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
856 LLVMPassManagerRef PM) { in LLVMPassManagerBuilderPopulateModulePassManager() argument
858 legacy::PassManagerBase *MPM = unwrap(PM); in LLVMPassManagerBuilderPopulateModulePassManager()
863 LLVMPassManagerRef PM, in LLVMPassManagerBuilderPopulateLTOPassManager() argument
867 legacy::PassManagerBase *LPM = unwrap(PM); in LLVMPassManagerBuilderPopulateLTOPassManager()