Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopPass.cpp72 CurrentLoop = nullptr; in LPPassManager()
111 assert((&L == CurrentLoop || CurrentLoop->contains(&L)) && in markLoopAsDeleted()
116 assert(LQ.back() == CurrentLoop && "Loop queue back isn't the current loop!"); in markLoopAsDeleted()
119 if (&L == CurrentLoop) { in markLoopAsDeleted()
174 CurrentLoop = LQ.back(); in runOnFunction()
183 CurrentLoop->getHeader()->getName()); in runOnFunction()
190 PassManagerPrettyStackEntry X(P, *CurrentLoop->getHeader()); in runOnFunction()
195 LocalChanged = P->runOnLoop(CurrentLoop, *this); in runOnFunction()
224 : CurrentLoop->getName()); in runOnFunction()
235 CurrentLoop->verifyLoop(); in runOnFunction()
[all …]
H A DLoopNestAnalysis.cpp265 const Loop *CurrentLoop = &Root; in getMaxPerfectDepth() local
266 const auto *SubLoops = &CurrentLoop->getSubLoops(); in getMaxPerfectDepth()
271 if (!arePerfectlyNested(*CurrentLoop, *InnerLoop, SE)) { in getMaxPerfectDepth()
273 dbgs() << "Not a perfect nest: loop '" << CurrentLoop->getName() in getMaxPerfectDepth()
280 CurrentLoop = InnerLoop; in getMaxPerfectDepth()
281 SubLoops = &CurrentLoop->getSubLoops(); in getMaxPerfectDepth()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h460 void setPoint(const SCEV *X, const SCEV *Y, const Loop *CurrentLoop);
464 const SCEV *C, const Loop *CurrentLoop);
467 void setDistance(const SCEV *D, const Loop *CurrentLoop);
675 const Loop *CurrentLoop,
693 const Loop *CurrentLoop,
712 const Loop *CurrentLoop,
730 const Loop *CurrentLoop,
748 const Loop *CurrentLoop,
H A DLoopPass.h117 Loop *CurrentLoop; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp220 Loop *CurrentLoop = &L; in populateWorklist() local
221 const std::vector<Loop *> *Vec = &CurrentLoop->getSubLoops(); in populateWorklist()
231 LoopList.push_back(CurrentLoop); in populateWorklist()
232 CurrentLoop = Vec->front(); in populateWorklist()
233 Vec = &CurrentLoop->getSubLoops(); in populateWorklist()
235 LoopList.push_back(CurrentLoop); in populateWorklist()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp876 MachineLoop *CurrentLoop = Loops->getLoopFor(IfConv.Head); in shouldConvertIf() local
882 if (CurrentLoop && any_of(IfConv.Cond, [&](MachineOperand &MO) { in shouldConvertIf()
890 return CurrentLoop->isLoopInvariant(*Def) || in shouldConvertIf()
901 return CurrentLoop->isLoopInvariant(*Def); in shouldConvertIf()