Lines Matching defs:CurLoop
169 Preheader(nullptr), CurLoop(nullptr), CurAST(nullptr),
186 Loop *CurLoop; // The current loop we are working on.
210 if (!CurLoop->getLoopPreheader()) {
215 if (CurLoop->getSubLoops().size()) {
220 if (CurLoop->getNumBackEdges() != 1) {
225 if (!CurLoop->getExitingBlock()) {
232 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) {
238 if (CurLoop->isAnnotatedParallel()) {
243 if (CurLoop->getLoopDepth() > LoopDepthThreshold) {
248 if (!CurLoop->hasDedicatedExits()) {
254 const SCEV *ExitCount = SE->getBackedgeTakenCount(CurLoop);
350 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop))
364 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop))
381 for (auto *Block : CurLoop->getBlocks())
388 LAI = &LAA->getInfo(CurLoop);
429 if (findStringMetadataForLoop(CurLoop, LICMVersioningMetaData)) {
440 DEBUG(dbgs() << "Loop: " << *CurLoop);
486 for (auto *Block : CurLoop->getBlocks()) {
520 CurLoop = L;
538 LoopVersioning LVer(*LAI, CurLoop, LI, DT, SE, true);