Home
last modified time | relevance | path

Searched refs:GetTTI (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp198 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 DSCCP.cpp116 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 DFunctionSpecialization.cpp276 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 DGlobalOpt.cpp1589 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 DSampleProfile.cpp430 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 DHotColdSplitting.cpp606 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp49 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 DRelLookupTableConverter.cpp176 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 DHotColdSplitting.h40 : 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 DSeparateConstOffsetFromGEP.cpp379 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 DSCCP.h50 std::function<TargetTransformInfo &(Function &)> GetTTI,