Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp196 GetTTI(GTTI), GetBFI(GBFI), GetTLI(GTLI), PSI(ProfSI) {} in PartialInlinerImpl()
218 function_ref<TargetTransformInfo &(Function &)> GetTTI);
222 function_ref<TargetTransformInfo &(Function &)> GetTTI);
260 function_ref<TargetTransformInfo &(Function &)> GetTTI; member
267 function_ref<TargetTransformInfo &(Function &)> GetTTI; member
398 TargetTransformInfo *FTTI = &GetTTI(F); in computeOutliningColdRegionsInfo()
470 OutlineRegionCost += computeBBInlineCost(BB, &GetTTI(*BB->getParent())); in computeOutliningColdRegionsInfo()
725 auto &CalleeTTI = GetTTI(*Callee); in shouldPartialInline()
867 auto *OutlinedFuncTTI = &GetTTI(*OutlinedFunc); in computeOutliningCosts()
939 function_ref<TargetTransformInfo &(Function &)> GetTTI) in FunctionCloner() argument
[all …]
H A DSCCP.cpp111 std::function<TargetTransformInfo &(Function &)> GetTTI, in runIPSCCP() argument
117 FunctionSpecializer Specializer(Solver, M, FAM, GetBFI, GetTLI, GetTTI, in runIPSCCP()
362 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run() local
376 if (!runIPSCCP(M, DL, &FAM, GetTLI, GetTTI, GetAC, GetDT, GetBFI, in run()
H A DGlobalOpt.cpp1466 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processInternalGlobal() argument
1572 GetTTI(StoreFn).canHaveNonUndefGlobalInitializerInAddressSpace( in processInternalGlobal()
1645 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processGlobal() argument
1678 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) || in processGlobal()
1924 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeFunctions() argument
1971 Changed |= processGlobal(F, GetTTI, GetTLI, LookupDomTree); in OptimizeFunctions()
2000 TargetTransformInfo &TTI = GetTTI(F); in OptimizeFunctions()
2040 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeGlobalVars() argument
2067 Changed |= processGlobal(GV, GetTTI, GetTLI, LookupDomTree); in OptimizeGlobalVars()
2528 Module &M, function_ref<TargetTransformInfo &(Function &)> GetTTI) { in OptimizeNonTrivialIFuncs() argument
[all …]
H A DSampleProfile.cpp478 GetTTI(std::move(GetTargetTransformInfo)), GetTLI(std::move(GetTLI)), in SampleProfileLoader()
546 std::function<TargetTransformInfo &(Function &)> GetTTI; member in __anon71830f180111::SampleProfileLoader
1001 InlineCost Cost = getInlineCost(CallInst, getInlineParams(), GetTTI(*Callee), in shouldInlineColdCallee()
1371 GetTTI(*Callee), GetAC, GetTLI); in shouldInlineCandidate()
2345 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local
2360 LTOPhase, FS, GetAssumptionCache, GetTTI, GetTLI, CG, in run()
H A DFunctionSpecialization.cpp693 Metrics.analyzeBasicBlock(&BB, GetTTI(F), EphValues); in run()
1070 auto &CalleeTTI = (GetTTI)(*CalledFunction); in getInliningBonus()
H A DHotColdSplitting.cpp669 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h245 std::function<TargetTransformInfo &(Function &)> GetTTI; variable
259 std::function<TargetTransformInfo &(Function &)> GetTTI, in FunctionSpecializer() argument
262 GetTTI(GetTTI), GetAC(GetAC) {} in FunctionSpecializer()
269 auto &TTI = GetTTI(*F); in getInstCostVisitorFor()
H A DHotColdSplitting.h43 : PSI(ProfSI), GetBFI(GBFI), GetTTI(GTTI), GetORE(GORE), LookupAC(LAC) {} in HotColdSplitting()
61 function_ref<TargetTransformInfo &(Function &)> GetTTI; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp192 Module &M, function_ref<TargetTransformInfo &(Function &)> GetTTI) { in convertToRelativeLookupTables() argument
198 if (!GetTTI(F).shouldBuildRelLookupTables()) in convertToRelativeLookupTables()
227 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local
231 if (!convertToRelativeLookupTables(M, GetTTI)) in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp376 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LowerGEP) in SeparateConstOffsetFromGEP() argument
377 : DT(DT), LI(LI), TLI(TLI), GetTTI(GetTTI), LowerGEP(LowerGEP) {} in SeparateConstOffsetFromGEP()
481 function_ref<TargetTransformInfo &(Function &)> GetTTI; member in __anon3b20b3060111::SeparateConstOffsetFromGEP
1061 TargetTransformInfo &TTI = GetTTI(*GEP->getFunction()); in splitGEP()
1232 auto GetTTI = [this](Function &F) -> TargetTransformInfo & { in runOnFunction() local
1235 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP); in runOnFunction()
1471 auto GetTTI = [&AM](Function &F) -> TargetTransformInfo & { in run() local
1474 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp188 static CostType calculateFunctionCosts(GetTTIFn GetTTI, Module &M, in calculateFunctionCosts() argument
201 const auto &TTI = GetTTI(Fn); in calculateFunctionCosts()
1376 GetTTIFn GetTTI, Module &M, unsigned NumParts, in splitAMDGPUModule() argument
1422 const CostType ModuleCost = calculateFunctionCosts(GetTTI, M, FnCosts); in splitAMDGPUModule()