Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h262 std::function<TargetTransformInfo &(Function &)> GetTTI;
276 std::function<TargetTransformInfo &(Function &)> GetTTI,
279 GetTTI(GetTTI), GetAC(GetAC) {}
287 auto &TTI = GetTTI(*F);
170 std::function<TargetTransformInfo &(Function &)> GetTTI; global() variable
182 FunctionSpecializer(SCCPSolver & Solver,Module & M,FunctionAnalysisManager * FAM,std::function<BlockFrequencyInfo & (Function &)> GetBFI,std::function<const TargetLibraryInfo & (Function &)> GetTLI,std::function<TargetTransformInfo & (Function &)> GetTTI,std::function<AssumptionCache & (Function &)> GetAC) FunctionSpecializer() argument
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/IPO/
H A DPartialInlining.cpp197 GetTTI(GTTI), GetBFI(GBFI), GetTLI(GTLI), PSI(ProfSI) {} in PartialInlinerImpl()
219 function_ref<TargetTransformInfo &(Function &)> GetTTI);
223 function_ref<TargetTransformInfo &(Function &)> GetTTI);
261 function_ref<TargetTransformInfo &(Function &)> GetTTI; member
268 function_ref<TargetTransformInfo &(Function &)> GetTTI; member
399 TargetTransformInfo *FTTI = &GetTTI(F); in computeOutliningColdRegionsInfo()
472 OutlineRegionCost += computeBBInlineCost(BB, &GetTTI(*BB->getParent())); 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
[all …]
H A DSCCP.cpp113 std::function<TargetTransformInfo &(Function &)> GetTTI, in runIPSCCP() argument
119 FunctionSpecializer Specializer(Solver, M, FAM, GetBFI, GetTLI, GetTTI, in runIPSCCP()
389 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run() local
403 if (!runIPSCCP(M, DL, &FAM, GetTLI, GetTTI, GetAC, GetDT, GetBFI, in run()
H A DGlobalOpt.cpp1452 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processInternalGlobal() argument
1552 GetTTI(StoreFn).canHaveNonUndefGlobalInitializerInAddressSpace( in processInternalGlobal()
1625 function_ref<TargetTransformInfo &(Function &)> GetTTI, in processGlobal() argument
1658 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) || in processGlobal()
1922 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeFunctions() argument
1969 Changed |= processGlobal(F, GetTTI, GetTLI, LookupDomTree); in OptimizeFunctions()
1998 TargetTransformInfo &TTI = GetTTI(F); in OptimizeFunctions()
2038 function_ref<TargetTransformInfo &(Function &)> GetTTI, in OptimizeGlobalVars() argument
2065 Changed |= processGlobal(GV, GetTTI, GetTLI, LookupDomTree); in OptimizeGlobalVars()
2486 function_ref<TargetTransformInfo &(Function &)> GetTTI, in optimizeGlobalsInModule() argument
[all …]
H A DSampleProfile.cpp477 GetTTI(std::move(GetTargetTransformInfo)), GetTLI(std::move(GetTLI)), in SampleProfileLoader()
543 std::function<TargetTransformInfo &(Function &)> GetTTI; member in __anon71830f180111::SampleProfileLoader
1000 InlineCost Cost = getInlineCost(CallInst, getInlineParams(), GetTTI(*Callee), in shouldInlineColdCallee()
1371 GetTTI(*Callee), GetAC, GetTLI); in shouldInlineCandidate()
2320 auto GetTTI = [&](Function &F) -> TargetTransformInfo & { in run() local
2335 LTOPhase, FS, GetAssumptionCache, GetTTI, GetTLI, CG); in run()
H A DFunctionSpecialization.cpp643 Metrics.analyzeBasicBlock(&BB, GetTTI(F), EphValues); in run()
993 auto &CalleeTTI = (GetTTI)(*CalledFunction); in getInliningBonus()
H A DHotColdSplitting.cpp670 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp374 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LowerGEP) in SeparateConstOffsetFromGEP() argument
375 : DT(DT), LI(LI), TLI(TLI), GetTTI(GetTTI), LowerGEP(LowerGEP) {} in SeparateConstOffsetFromGEP()
479 function_ref<TargetTransformInfo &(Function &)> GetTTI; member in __anon3b20b3060111::SeparateConstOffsetFromGEP
1031 TargetTransformInfo &TTI = GetTTI(*GEP->getFunction()); in splitGEP()
1171 auto GetTTI = [this](Function &F) -> TargetTransformInfo & { in runOnFunction() local
1174 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP); in runOnFunction()
1405 auto GetTTI = [&AM](Function &F) -> TargetTransformInfo & { in run() local
1408 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp224 calculateFunctionCosts(SplitModuleLogger &SML, GetTTIFn GetTTI, Module &M, in calculateFunctionCosts() argument
234 const auto &TTI = GetTTI(Fn); in calculateFunctionCosts()
620 GetTTIFn GetTTI, Module &M, unsigned N, in splitAMDGPUModule() argument
661 const CostType ModuleCost = calculateFunctionCosts(SML, GetTTI, M, FnCosts); in splitAMDGPUModule()