| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 198 GetTTI(GTTI), GetBFI(GBFI), GetTLI(GTLI), PSI(ProfSI) {} in PartialInlinerImpl() 262 function_ref<TargetTransformInfo &(Function &)> GetTTI; member 269 function_ref<TargetTransformInfo &(Function &)> GetTTI; member 446 TargetTransformInfo *FTTI = &GetTTI(F); in computeOutliningColdRegionsInfo() 778 auto &CalleeTTI = GetTTI(*Callee); in shouldPartialInline() 919 auto *OutlinedFuncTTI = &GetTTI(*OutlinedFunc); in computeOutliningCosts() 994 function_ref<TargetTransformInfo &(Function &)> GetTTI) in FunctionCloner() argument 995 : OrigFunc(F), ORE(ORE), LookupAC(LookupAC), GetTTI(GetTTI) { in FunctionCloner() 1020 function_ref<TargetTransformInfo &(Function &)> GetTTI) in FunctionCloner() argument 1021 : OrigFunc(F), ORE(ORE), LookupAC(LookupAC), GetTTI(GetTTI) { in FunctionCloner() [all …]
|
| H A D | SCCP.cpp | 116 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run() local 129 if (!runFunctionSpecialization(M, DL, GetTLI, GetTTI, GetAC, GetAnalysis)) in run() 159 auto GetTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule() local 177 return runFunctionSpecialization(M, DL, GetTLI, GetTTI, GetAC, GetAnalysis); in runOnModule()
|
| H A D | FunctionSpecialization.cpp | 276 std::function<TargetTransformInfo &(Function &)> GetTTI; member in __anonfb6321fa0211::FunctionSpecializer 287 std::function<TargetTransformInfo &(Function &)> GetTTI, in FunctionSpecializer() argument 289 : Solver(Solver), GetAC(GetAC), GetTTI(GetTTI), GetTLI(GetTLI) {} in FunctionSpecializer() 401 Metrics.analyzeBasicBlock(&BB, (GetTTI)(*F), EphValues); in analyzeFunction() 595 auto &TTI = (GetTTI)(*F); in getSpecializationBonus() 614 auto &CalleeTTI = (GetTTI)(*CalledFunction); in getSpecializationBonus() 829 std::function<TargetTransformInfo &(Function &)> GetTTI, in runFunctionSpecialization() argument 833 FunctionSpecializer FS(Solver, GetAC, GetTTI, GetTLI); in runFunctionSpecialization()
|
| H A D | GlobalOpt.cpp | 1589 GetTTI(StoreFn).canHaveNonUndefGlobalInitializerInAddressSpace( in processInternalGlobal() 1662 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processGlobal() argument 1695 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) || in processGlobal() 1949 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeFunctions() argument 1995 Changed |= processGlobal(F, GetTTI, GetTLI, LookupDomTree); in OptimizeFunctions() 2024 TargetTransformInfo &TTI = GetTTI(F); in OptimizeFunctions() 2063 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeGlobalVars() argument 2090 Changed |= processGlobal(GV, GetTTI, GetTLI, LookupDomTree); in OptimizeGlobalVars() 2502 LocalChange |= OptimizeGlobalVars(M, GetTTI, GetTLI, LookupDomTree, in optimizeGlobalsInModule() 2533 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run() local [all …]
|
| H A D | SampleProfile.cpp | 430 GetTTI(std::move(GetTargetTransformInfo)), GetTLI(std::move(GetTLI)), in SampleProfileLoader() 491 std::function<TargetTransformInfo &(Function &)> GetTTI; member in __anonb9d8ce480111::SampleProfileLoader 972 InlineCost Cost = getInlineCost(CallInst, getInlineParams(), GetTTI(*Callee), in shouldInlineColdCallee() 1339 GetTTI(*Callee), GetAC, GetTLI); in shouldInlineCandidate() 2156 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local 2167 LTOPhase, GetAssumptionCache, GetTTI, GetTLI); in run()
|
| H A D | HotColdSplitting.cpp | 606 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | CGProfile.cpp | 49 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LazyBFI) { in runCGProfilePass() argument 74 TargetTransformInfo &TTI = GetTTI(F); in runCGProfilePass() 110 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run() local 114 runCGProfilePass(M, GetBFI, GetTTI, false); in run()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 176 Module &M, function_ref<TargetTransformInfo &(Function &)> GetTTI) { in convertToRelativeLookupTables() argument 182 if (!GetTTI(F).shouldBuildRelLookupTables()) in convertToRelativeLookupTables() 211 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local 215 if (!convertToRelativeLookupTables(M, GetTTI)) in run()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | HotColdSplitting.h | 40 : PSI(ProfSI), GetBFI(GBFI), GetTTI(GTTI), GetORE(GORE), LookupAC(LAC) {} in HotColdSplitting() 55 function_ref<TargetTransformInfo &(Function &)> GetTTI; variable
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 379 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LowerGEP) in SeparateConstOffsetFromGEP() argument 380 : DT(DT), SE(SE), LI(LI), TLI(TLI), GetTTI(GetTTI), LowerGEP(LowerGEP) {} in SeparateConstOffsetFromGEP() 470 function_ref<TargetTransformInfo &(Function &)> GetTTI; member in __anona5eed2360111::SeparateConstOffsetFromGEP 980 TargetTransformInfo &TTI = GetTTI(*GEP->getFunction()); in splitGEP() 1152 auto GetTTI = [this](Function &F) -> TargetTransformInfo & { in runOnFunction() local 1155 SeparateConstOffsetFromGEP Impl(DT, SE, LI, TLI, GetTTI, LowerGEP); in runOnFunction() 1378 auto GetTTI = [&AM](Function &F) -> TargetTransformInfo & { in run() local 1381 SeparateConstOffsetFromGEP Impl(DT, SE, LI, TLI, GetTTI, LowerGEP); in run()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/ |
| H A D | SCCP.h | 50 std::function<TargetTransformInfo &(Function &)> GetTTI,
|