Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopPass.cpp73 CurrentLoop = nullptr; in LPPassManager()
112 assert((&L == CurrentLoop || CurrentLoop->contains(&L)) && in markLoopAsDeleted()
117 assert(LQ.back() == CurrentLoop && "Loop queue back isn't the current loop!"); in markLoopAsDeleted()
120 if (&L == CurrentLoop) { in markLoopAsDeleted()
175 CurrentLoop = LQ.back(); in runOnFunction()
184 CurrentLoop->getHeader()->getName()); in runOnFunction()
191 PassManagerPrettyStackEntry X(P, *CurrentLoop->getHeader()); in runOnFunction()
196 LocalChanged = P->runOnLoop(CurrentLoop, *this); in runOnFunction()
225 : CurrentLoop->getName()); in runOnFunction()
236 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/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/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp874 MachineLoop *CurrentLoop = Loops->getLoopFor(IfConv.Head); in shouldConvertIf() local
880 if (CurrentLoop && any_of(IfConv.Cond, [&](MachineOperand &MO) { in shouldConvertIf()
888 return CurrentLoop->isLoopInvariant(*Def) || in shouldConvertIf()
899 return CurrentLoop->isLoopInvariant(*Def); in shouldConvertIf()