Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp197 GetTTI(GTTI), GetBFI(GBFI), GetTLI(GTLI), PSI(ProfSI) {} in PartialInlinerImpl()
261 function_ref<TargetTransformInfo &(Function &)> GetTTI; member
268 function_ref<TargetTransformInfo &(Function &)> GetTTI; member
399 TargetTransformInfo *FTTI = &GetTTI(F); in computeOutliningColdRegionsInfo()
730 auto &CalleeTTI = GetTTI(*Callee); in shouldPartialInline()
872 auto *OutlinedFuncTTI = &GetTTI(*OutlinedFunc); in computeOutliningCosts()
947 function_ref<TargetTransformInfo &(Function &)> GetTTI) in FunctionCloner() argument
948 : OrigFunc(F), ORE(ORE), LookupAC(LookupAC), GetTTI(GetTTI) { in FunctionCloner()
973 function_ref<TargetTransformInfo &(Function &)> GetTTI) in FunctionCloner() argument
974 : OrigFunc(F), ORE(ORE), LookupAC(LookupAC), GetTTI(GetTTI) { in FunctionCloner()
[all …]
H A DSCCP.cpp113 std::function<TargetTransformInfo &(Function &)> GetTTI, in runIPSCCP() argument
119 FunctionSpecializer Specializer(Solver, M, FAM, GetBFI, GetTLI, GetTTI, in runIPSCCP()
401 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run() local
415 if (!runIPSCCP(M, DL, &FAM, GetTLI, GetTTI, GetAC, GetDT, GetBFI, in run()
H A DGlobalOpt.cpp1440 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processInternalGlobal() argument
1540 GetTTI(StoreFn).canHaveNonUndefGlobalInitializerInAddressSpace( in processInternalGlobal()
1613 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processGlobal() argument
1646 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) || in processGlobal()
1910 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeFunctions() argument
1957 Changed |= processGlobal(F, GetTTI, GetTLI, LookupDomTree); in OptimizeFunctions()
1986 TargetTransformInfo &TTI = GetTTI(F); in OptimizeFunctions()
2026 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeGlobalVars() argument
2053 Changed |= processGlobal(GV, GetTTI, GetTLI, LookupDomTree); in OptimizeGlobalVars()
2458 LocalChange |= OptimizeGlobalVars(M, GetTTI, GetTLI, LookupDomTree, in optimizeGlobalsInModule()
[all …]
H A DSampleProfile.cpp525 GetTTI(std::move(GetTargetTransformInfo)), GetTLI(std::move(GetTLI)), in SampleProfileLoader()
584 std::function<TargetTransformInfo &(Function &)> GetTTI; member in __anon254a5ace0111::SampleProfileLoader
1051 InlineCost Cost = getInlineCost(CallInst, getInlineParams(), GetTTI(*Callee), in shouldInlineColdCallee()
1419 GetTTI(*Callee), GetAC, GetTLI); in shouldInlineCandidate()
2708 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local
2722 LTOPhase, FS, GetAssumptionCache, GetTTI, GetTLI); in run()
H A DFunctionSpecialization.cpp643 Metrics.analyzeBasicBlock(&BB, GetTTI(F), EphValues); in run()
991 auto &CalleeTTI = (GetTTI)(*CalledFunction); in getInliningBonus()
H A DHotColdSplitting.cpp650 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h262 std::function<TargetTransformInfo &(Function &)> GetTTI; variable
276 std::function<TargetTransformInfo &(Function &)> GetTTI, in FunctionSpecializer() argument
279 GetTTI(GetTTI), GetAC(GetAC) {} in FunctionSpecializer()
287 auto &TTI = GetTTI(*F); in getInstCostVisitorFor()
H A DHotColdSplitting.h41 : PSI(ProfSI), GetBFI(GBFI), GetTTI(GTTI), GetORE(GORE), LookupAC(LAC) {} in HotColdSplitting()
61 function_ref<TargetTransformInfo &(Function &)> GetTTI; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp171 Module &M, function_ref<TargetTransformInfo &(Function &)> GetTTI) { in convertToRelativeLookupTables() argument
177 if (!GetTTI(F).shouldBuildRelLookupTables()) in convertToRelativeLookupTables()
206 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local
210 if (!convertToRelativeLookupTables(M, GetTTI)) in run()
/freebsd-14.2/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()
476 function_ref<TargetTransformInfo &(Function &)> GetTTI; member in __anond904aabc0111::SeparateConstOffsetFromGEP
991 TargetTransformInfo &TTI = GetTTI(*GEP->getFunction()); in splitGEP()
1125 auto GetTTI = [this](Function &F) -> TargetTransformInfo & { in runOnFunction() local
1128 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP); in runOnFunction()
1354 auto GetTTI = [&AM](Function &F) -> TargetTransformInfo & { in run() local
1357 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP); in run()