Lines Matching defs:Phase
398 static bool isLTOPreLink(ThinOrFullLTOPhase Phase) {
399 return Phase == ThinOrFullLTOPhase::ThinLTOPreLink ||
400 Phase == ThinOrFullLTOPhase::FullLTOPreLink;
406 ThinOrFullLTOPhase Phase) {
464 isLTOPreLink(Phase)));
487 if (Phase != ThinOrFullLTOPhase::ThinLTOPreLink || !PGOOpt ||
546 ThinOrFullLTOPhase Phase) {
552 return buildO1FunctionSimplificationPipeline(Level, Phase);
647 isLTOPreLink(Phase)));
678 if (Phase != ThinOrFullLTOPhase::ThinLTOPreLink || !PGOOpt ||
896 ThinOrFullLTOPhase Phase) {
908 if (Phase == ThinOrFullLTOPhase::ThinLTOPreLink && PGOOpt &&
916 InlineContext{Phase, InlinePass::CGSCCInliner},
968 buildFunctionSimplificationPipeline(Level, Phase),
992 ThinOrFullLTOPhase Phase) {
1002 if (Phase == ThinOrFullLTOPhase::ThinLTOPreLink && PGOOpt &&
1017 MPM.addPass(ModuleInlinerPass(IP, UseInlineAdvisor, Phase));
1020 buildFunctionSimplificationPipeline(Level, Phase),
1031 ThinOrFullLTOPhase Phase) {
1035 assert(Phase != ThinOrFullLTOPhase::FullLTOPostLink &&
1043 Phase != ThinOrFullLTOPhase::ThinLTOPostLink)
1053 !(FlattenedProfileUsed && Phase == ThinOrFullLTOPhase::ThinLTOPostLink);
1069 if (Phase == ThinOrFullLTOPhase::ThinLTOPostLink && !LoadSampleProfile)
1075 if (Phase != ThinOrFullLTOPhase::ThinLTOPostLink) {
1100 PGOOpt->ProfileRemappingFile, Phase));
1106 if (!isLTOPreLink(Phase))
1125 if (Phase == ThinOrFullLTOPhase::ThinLTOPostLink)
1138 !isLTOPreLink(Phase))));
1160 const bool IsPreLink = Phase != ThinOrFullLTOPhase::ThinLTOPostLink;
1178 addPreInlinerPasses(MPM, Level, Phase);
1213 MPM.addPass(buildModuleInlinerPipeline(Level, Phase));
1215 MPM.addPass(buildInlinerPipeline(Level, Phase));