Lines Matching refs:add

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()
208 PM.add(createInstructionCombiningPass(ExpensiveCombines)); in addInstructionCombiningPass()
217 FPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateFunctionPassManager()
223 FPM.add(createCFGSimplificationPass()); in populateFunctionPassManager()
224 FPM.add(createSROAPass()); in populateFunctionPassManager()
225 FPM.add(createEarlyCSEPass()); in populateFunctionPassManager()
226 FPM.add(createLowerExpectIntrinsicPass()); in populateFunctionPassManager()
232 MPM.add(createPGOInstrumentationGenLegacyPass()); in addPGOInstrPasses()
236 MPM.add(createInstrProfilingLegacyPass(Options)); in addPGOInstrPasses()
239 MPM.add(createPGOInstrumentationUseLegacyPass(PGOInstrUse)); in addPGOInstrPasses()
245 MPM.add(createSROAPass()); in addFunctionSimplificationPasses()
246 MPM.add(createEarlyCSEPass()); // Catch trivial redundancies in addFunctionSimplificationPasses()
248 MPM.add(createSpeculativeExecutionIfHasBranchDivergencePass()); in addFunctionSimplificationPasses()
249 MPM.add(createJumpThreadingPass()); // Thread jumps. in addFunctionSimplificationPasses()
250 MPM.add(createCorrelatedValuePropagationPass()); // Propagate conditionals in addFunctionSimplificationPasses()
251 MPM.add(createCFGSimplificationPass()); // Merge & remove BBs in addFunctionSimplificationPasses()
256 MPM.add(createTailCallEliminationPass()); // Eliminate tail calls in addFunctionSimplificationPasses()
257 MPM.add(createCFGSimplificationPass()); // Merge & remove BBs in addFunctionSimplificationPasses()
258 MPM.add(createReassociatePass()); // Reassociate expressions in addFunctionSimplificationPasses()
260 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in addFunctionSimplificationPasses()
261 MPM.add(createLICMPass()); // Hoist loop invariants in addFunctionSimplificationPasses()
262 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in addFunctionSimplificationPasses()
263 MPM.add(createCFGSimplificationPass()); in addFunctionSimplificationPasses()
265 MPM.add(createIndVarSimplifyPass()); // Canonicalize indvars in addFunctionSimplificationPasses()
266 MPM.add(createLoopIdiomPass()); // Recognize idioms like memset. in addFunctionSimplificationPasses()
267 MPM.add(createLoopDeletionPass()); // Delete dead loops in addFunctionSimplificationPasses()
269 MPM.add(createLoopInterchangePass()); // Interchange loops in addFunctionSimplificationPasses()
270 MPM.add(createCFGSimplificationPass()); in addFunctionSimplificationPasses()
273 MPM.add(createSimpleLoopUnrollPass()); // Unroll small loops in addFunctionSimplificationPasses()
278 MPM.add(createMergedLoadStoreMotionPass()); // Merge ld/st in diamonds in addFunctionSimplificationPasses()
279 MPM.add(createGVNPass(DisableGVNLoadPRE)); // Remove redundancies in addFunctionSimplificationPasses()
281 MPM.add(createMemCpyOptPass()); // Remove memcpy / form memset in addFunctionSimplificationPasses()
282 MPM.add(createSCCPPass()); // Constant prop with SCCP in addFunctionSimplificationPasses()
287 MPM.add(createBitTrackingDCEPass()); // Delete dead bit computations in addFunctionSimplificationPasses()
293 MPM.add(createJumpThreadingPass()); // Thread jumps in addFunctionSimplificationPasses()
294 MPM.add(createCorrelatedValuePropagationPass()); in addFunctionSimplificationPasses()
295 MPM.add(createDeadStoreEliminationPass()); // Delete dead stores in addFunctionSimplificationPasses()
296 MPM.add(createLICMPass()); in addFunctionSimplificationPasses()
301 MPM.add(createLoopRerollPass()); in addFunctionSimplificationPasses()
304 MPM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains. in addFunctionSimplificationPasses()
307 MPM.add(createBBVectorizePass()); in addFunctionSimplificationPasses()
311 MPM.add(createGVNPass(DisableGVNLoadPRE)); // Remove redundancies in addFunctionSimplificationPasses()
313 MPM.add(createEarlyCSEPass()); // Catch trivial redundancies in addFunctionSimplificationPasses()
317 MPM.add(createLoopUnrollPass()); in addFunctionSimplificationPasses()
322 MPM.add(createLoadCombinePass()); in addFunctionSimplificationPasses()
324 MPM.add(createAggressiveDCEPass()); // Delete dead instructions in addFunctionSimplificationPasses()
325 MPM.add(createCFGSimplificationPass()); // Merge & remove BBs in addFunctionSimplificationPasses()
334 MPM.add(createForceFunctionAttrsLegacyPass()); in populateModulePassManager()
341 MPM.add(Inliner); in populateModulePassManager()
351 MPM.add(createMergeFunctionsPass()); in populateModulePassManager()
353 MPM.add(createBarrierNoopPass()); in populateModulePassManager()
361 MPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateModulePassManager()
367 MPM.add(createInferFunctionAttrsLegacyPass()); in populateModulePassManager()
371 MPM.add(createIPSCCPPass()); // IP SCCP in populateModulePassManager()
372 MPM.add(createGlobalOptimizerPass()); // Optimize out global vars in populateModulePassManager()
374 MPM.add(createPromoteMemoryToRegisterPass()); in populateModulePassManager()
376 MPM.add(createDeadArgEliminationPass()); // Dead argument elimination in populateModulePassManager()
380 MPM.add(createCFGSimplificationPass()); // Clean up after IPCP & DAE in populateModulePassManager()
388 MPM.add(createPGOIndirectCallPromotionLegacyPass()); in populateModulePassManager()
395 MPM.add(createGlobalsAAWrapperPass()); in populateModulePassManager()
399 MPM.add(createPruneEHPass()); // Remove dead EH info in populateModulePassManager()
401 MPM.add(Inliner); in populateModulePassManager()
405 MPM.add(createPostOrderFunctionAttrsLegacyPass()); in populateModulePassManager()
407 MPM.add(createArgumentPromotionPass()); // Scalarize uninlined fn args in populateModulePassManager()
414 MPM.add(createBarrierNoopPass()); in populateModulePassManager()
427 MPM.add(createEliminateAvailableExternallyPass()); in populateModulePassManager()
430 MPM.add(createReversePostOrderFunctionAttrsPass()); in populateModulePassManager()
437 MPM.add(createGlobalOptimizerPass()); in populateModulePassManager()
439 MPM.add(createNameAnonFunctionPass()); in populateModulePassManager()
446 MPM.add(createGlobalOptimizerPass()); in populateModulePassManager()
454 MPM.add(createLoopVersioningLICMPass()); // Do LoopVersioningLICM in populateModulePassManager()
455 MPM.add(createLICMPass()); // Hoist loop invariants in populateModulePassManager()
474 MPM.add(createGlobalsAAWrapperPass()); in populateModulePassManager()
477 MPM.add(createFloat2IntPass()); in populateModulePassManager()
484 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in populateModulePassManager()
490 MPM.add(createLoopDistributePass(/*ProcessAllLoopsByDefault=*/false)); in populateModulePassManager()
492 MPM.add(createLoopVectorizePass(DisableUnrollLoops, LoopVectorize)); in populateModulePassManager()
497 MPM.add(createLoopLoadEliminationPass()); in populateModulePassManager()
512 MPM.add(createEarlyCSEPass()); in populateModulePassManager()
513 MPM.add(createCorrelatedValuePropagationPass()); in populateModulePassManager()
515 MPM.add(createLICMPass()); in populateModulePassManager()
516 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
517 MPM.add(createCFGSimplificationPass()); in populateModulePassManager()
523 MPM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains. in populateModulePassManager()
525 MPM.add(createEarlyCSEPass()); in populateModulePassManager()
530 MPM.add(createBBVectorizePass()); in populateModulePassManager()
534 MPM.add(createGVNPass(DisableGVNLoadPRE)); // Remove redundancies in populateModulePassManager()
536 MPM.add(createEarlyCSEPass()); // Catch trivial redundancies in populateModulePassManager()
540 MPM.add(createLoopUnrollPass()); in populateModulePassManager()
545 MPM.add(createCFGSimplificationPass()); in populateModulePassManager()
549 MPM.add(createLoopUnrollPass()); // Unroll small loops in populateModulePassManager()
558 MPM.add(createLICMPass()); in populateModulePassManager()
561 MPM.add(createInstructionSimplifierPass()); in populateModulePassManager()
566 MPM.add(createAlignmentFromAssumptionsPass()); in populateModulePassManager()
570 MPM.add(createStripDeadPrototypesPass()); // Get rid of dead prototypes in populateModulePassManager()
575 MPM.add(createGlobalDCEPass()); // Remove dead fns and globals. in populateModulePassManager()
576 MPM.add(createConstantMergePass()); // Merge dup global constants in populateModulePassManager()
581 MPM.add(createMergeFunctionsPass()); in populateModulePassManager()
589 PM.add(createGlobalDCEPass()); 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()
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()
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()
703 PM.add(createCFGSimplificationPass()); // if-convert in addLTOOptimizationPasses()
704 PM.add(createSCCPPass()); // Propagate exposed constants 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()
724 PM.add(createJumpThreadingPass()); in addLTOOptimizationPasses()
730 PM.add(createCFGSimplificationPass()); in addLateLTOOptimizationPasses()
733 PM.add(createEliminateAvailableExternallyPass()); in addLateLTOOptimizationPasses()
736 PM.add(createGlobalDCEPass()); in addLateLTOOptimizationPasses()
741 PM.add(createMergeFunctionsPass()); in addLateLTOOptimizationPasses()
749 PM.add(createVerifierPass()); in populateThinLTOPassManager()
752 PM.add(createFunctionImportPass(ModuleSummary)); in populateThinLTOPassManager()
757 PM.add(createVerifierPass()); in populateThinLTOPassManager()
763 PM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateLTOPassManager()
766 PM.add(createVerifierPass()); in populateLTOPassManager()
773 PM.add(createCrossDSOCFIPass()); in populateLTOPassManager()
778 PM.add(createLowerTypeTestsPass()); in populateLTOPassManager()
784 PM.add(createVerifierPass()); in populateLTOPassManager()