Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp397 DepthInfo LoopDepth[LoopIterations] = {{0, 0}, {0, 0}}; in checkForProfitableCmovCandidates() local
436 DepthInfo &MaxDepth = LoopDepth[I]; in checkForProfitableCmovCandidates()
483 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates()
484 LoopDepth[1].Depth - LoopDepth[1].OptDepth}; in checkForProfitableCmovCandidates()
518 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates()
521 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates()
522 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
H A DX86LoadValueInjectionLoadHardening.cpp502 unsigned LoopDepth = MLI.getLoopDepth(MBB); in getGadgetGraph() local
516 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph()
526 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph()
531 TraverseCFG(Succ, GI, LoopDepth); in getGadgetGraph()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopCacheAnalysis.cpp243 int LoopDepth = L.getLoopDepth(); in hasTemporalReuse() local
255 if (Level != LoopDepth && !CI.isZero()) { in hasTemporalReuse()
260 } else if (Level == LoopDepth && CI.getSExtValue() > MaxDistance) { in hasTemporalReuse()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp772 unsigned LoopDepth = Root.getLoopDepth(); in checkDependencies() local
788 if (!checkDependency(Earlier, Later, LoopDepth, CommonLoopDepth, false, in checkDependencies()
798 LoopDepth, CurLoopDepth, true, DI)) in checkDependencies()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopBuilder.cpp731 int LoopDepth = scop->getRelativeLoopDepth(L); in addLoopBoundsToHeaderDomain() local
732 assert(LoopDepth >= 0 && "Loop in region should have at least depth one"); in addLoopBoundsToHeaderDomain()
739 createNextIterationMap(HeaderBBDom.get_space(), LoopDepth); in addLoopBoundsToHeaderDomain()
775 assert(LatchLoopDepth >= LoopDepth); in addLoopBoundsToHeaderDomain()
777 isl::dim::set, LoopDepth + 1, LatchLoopDepth - LoopDepth); in addLoopBoundsToHeaderDomain()
782 for (int i = 0; i < LoopDepth; i++) in addLoopBoundsToHeaderDomain()
788 UnionBackedgeConditionComplement.lower_bound_si(isl::dim::set, LoopDepth, in addLoopBoundsToHeaderDomain()
795 auto Parts = partitionSetParts(HeaderBBDom, LoopDepth); in addLoopBoundsToHeaderDomain()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp585 auto LoopDepth = LI.getLoopDepth(I->getParent()); in getUserBonus() local
586 Cost *= std::pow((double)AvgLoopIterationCount, LoopDepth); in getUserBonus()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSelectOptimize.cpp190 bool checkLoopHeuristics(const Loop *L, const CostInfo LoopDepth[2]);