Home
last modified time | relevance | path

Searched refs:LoopDepth (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp51 int64_t LoopDepth; in getFunctionPropertiesInfo() local
52 LoopDepth = LI.getLoopDepth(&BB); in getFunctionPropertiesInfo()
53 if (FPI.MaxLoopDepth < LoopDepth) in getFunctionPropertiesInfo()
54 FPI.MaxLoopDepth = LoopDepth; in getFunctionPropertiesInfo()
H A DLoopCacheAnalysis.cpp232 int LoopDepth = L.getLoopDepth(); in hasTemporalReuse() local
244 if (Level != LoopDepth && !CI.isZero()) { in hasTemporalReuse()
249 } else if (Level == LoopDepth && CI.getSExtValue() > MaxDistance) { in hasTemporalReuse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp388 DepthInfo LoopDepth[LoopIterations] = {{0, 0}, {0, 0}}; in checkForProfitableCmovCandidates() local
427 DepthInfo &MaxDepth = LoopDepth[I]; in checkForProfitableCmovCandidates()
474 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates()
475 LoopDepth[1].Depth - LoopDepth[1].OptDepth}; in checkForProfitableCmovCandidates()
509 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates()
512 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates()
513 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
H A DX86LoadValueInjectionLoadHardening.cpp501 unsigned LoopDepth = MLI.getLoopDepth(MBB); in getGadgetGraph() local
515 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph()
525 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph()
530 TraverseCFG(Succ, GI, LoopDepth); in getGadgetGraph()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp286 auto LoopDepth = LI.getLoopDepth(I->getParent()); in getUserBonus() local
287 Cost *= std::pow((double)AvgLoopIterationCount, LoopDepth); in getUserBonus()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp774 unsigned LoopDepth = Root.getLoopDepth(); in checkDependencies() local
790 if (!checkDependency(Earlier, Later, LoopDepth, CommonLoopDepth, false, in checkDependencies()
800 LoopDepth, CurLoopDepth, true, DI)) in checkDependencies()