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