Lines Matching refs:CurLoop
102 Loop *CurLoop; // The current loop we are working on... member
133 assert(CurLoop->contains(BB) && "Only valid if BB is IN the loop"); in inSubLoop()
134 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
209 CurLoop = L; in runOnLoop()
250 CurLoop = 0; in runOnLoop()
273 if (!CurLoop->contains(BB)) return; in SinkRegion()
320 if (!CurLoop->contains(BB)) return; in HoistRegion()
344 if (CurLoop->hasLoopInvariantOperands(&I) && canSinkOrHoistInst(I) && in HoistRegion()
422 if (CurLoop->contains(PN->getIncomingBlock(i))) in isNotUsedInLoop()
424 } else if (CurLoop->contains(User)) { in isNotUsedInLoop()
441 CurLoop->getUniqueExitBlocks(ExitBlocks); in sink()
587 if (Inst.getParent() == CurLoop->getHeader()) in isSafeToExecuteUnconditionally()
592 CurLoop->getExitBlocks(ExitBlocks); in isSafeToExecuteUnconditionally()
665 AS.isVolatile() || !CurLoop->isLoopInvariant(AS.begin()->getValue())) in PromoteAliasSet()
711 if (!Use || !CurLoop->contains(Use)) in PromoteAliasSet()
764 CurLoop->getUniqueExitBlocks(ExitBlocks); in PromoteAliasSet()