reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
433 MPM.add(createPruneEHPass()); 438 MPM.add(createSampleProfileLoaderPass(PGOSampleUse)); 442 MPM.add(createForceFunctionAttrsLegacyPass()); 447 addPGOInstrPasses(MPM); 449 MPM.add(Inliner); 459 MPM.add(createMergeFunctionsPass()); 461 MPM.add(createBarrierNoopPass()); 467 MPM.add(createEliminateAvailableExternallyPass()); 468 MPM.add(createGlobalDCEPass()); 471 addExtensionsToPM(EP_EnabledOnOptLevel0, MPM); 474 MPM.add(createCanonicalizeAliasesPass()); 479 MPM.add(createNameAnonGlobalPass()); 486 MPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); 488 addInitialAliasAnalysisPasses(MPM); 498 MPM.add(createPGOIndirectCallPromotionLegacyPass(/*InLTO = */ true, 510 MPM.add(createInferFunctionAttrsLegacyPass()); 512 addExtensionsToPM(EP_ModuleOptimizerEarly, MPM); 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 529 addInstructionCombiningPass(MPM); // Clean up after IPCP & DAE 530 addExtensionsToPM(EP_Peephole, MPM); 531 MPM.add(createCFGSimplificationPass()); // Clean up after IPCP & DAE 539 addPGOInstrPasses(MPM); 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 564 addExtensionsToPM(EP_CGSCCOptimizerLate, MPM); 565 addFunctionSimplificationPasses(MPM); 570 MPM.add(createBarrierNoopPass()); 573 MPM.add(createPartialInliningPass()); 585 MPM.add(createEliminateAvailableExternallyPass()); 593 addPGOInstrPasses(MPM, /* IsCS */ true); 596 MPM.add(createInstrOrderFilePass()); 598 MPM.add(createReversePostOrderFunctionAttrsPass()); 607 MPM.add(createGlobalOptimizerPass()); 608 MPM.add(createGlobalDCEPass()); 617 addExtensionsToPM(EP_OptimizerLast, MPM); 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()); 659 addExtensionsToPM(EP_VectorizerStart, MPM); 664 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); 670 MPM.add(createLoopDistributePass()); 672 MPM.add(createLoopVectorizePass(!LoopsInterleaved, !LoopVectorize)); 676 MPM.add(createLoopLoadEliminationPass()); 683 addInstructionCombiningPass(MPM); 691 MPM.add(createEarlyCSEPass()); 692 MPM.add(createCorrelatedValuePropagationPass()); 693 addInstructionCombiningPass(MPM); 694 MPM.add(createLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap)); 695 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); 696 MPM.add(createCFGSimplificationPass()); 697 addInstructionCombiningPass(MPM); 705 MPM.add(createCFGSimplificationPass(1, true, true, false, true)); 708 MPM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains. 710 MPM.add(createEarlyCSEPass()); 714 addExtensionsToPM(EP_Peephole, MPM); 715 addInstructionCombiningPass(MPM); 721 MPM.add(createLoopUnrollAndJamPass(OptLevel)); 725 MPM.add(createLoopUnrollPass(OptLevel, DisableUnrollLoops, 730 addInstructionCombiningPass(MPM); 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()); 780 addExtensionsToPM(EP_OptimizerLast, MPM); 783 MPM.add(createCanonicalizeAliasesPass()); 785 MPM.add(createNameAnonGlobalPass());