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.h475 const Loop *CurrentLoop);
479 const Loop *CurrentLoop);
482 LLVM_ABI void setDistance(const SCEV *D, const Loop *CurrentLoop);
690 const Loop *CurrentLoop,
708 const Loop *CurrentLoop,
727 const Loop *CurrentLoop,
745 const Loop *CurrentLoop,
763 const Loop *CurrentLoop,
H A DLoopPass.h118 Loop *CurrentLoop; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp292 Loop *CurrentLoop = &L; in populateWorklist() local
293 const std::vector<Loop *> *Vec = &CurrentLoop->getSubLoops(); in populateWorklist()
303 LoopList.push_back(CurrentLoop); in populateWorklist()
304 CurrentLoop = Vec->front(); in populateWorklist()
305 Vec = &CurrentLoop->getSubLoops(); in populateWorklist()
307 LoopList.push_back(CurrentLoop); in populateWorklist()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp927 MachineLoop *CurrentLoop = Loops->getLoopFor(IfConv.Head); in shouldConvertIf() local
933 if (CurrentLoop && any_of(IfConv.Cond, [&](MachineOperand &MO) { in shouldConvertIf()
941 return CurrentLoop->isLoopInvariant(*Def) || in shouldConvertIf()
952 return CurrentLoop->isLoopInvariant(*Def); in shouldConvertIf()