Lines Matching refs:LatchCheck

249   LoopICmp LatchCheck;  member in __anon96bde4440111::LoopPredication
268 Optional<Value *> widenICmpRangeCheckIncrementingLoop(LoopICmp LatchCheck,
272 Optional<Value *> widenICmpRangeCheckDecrementingLoop(LoopICmp LatchCheck,
402 auto *LatchType = LatchCheck.IV->getType(); in generateLoopLatchCheck()
404 return LatchCheck; in generateLoopLatchCheck()
413 NewLatchCheck.Pred = LatchCheck.Pred; in generateLoopLatchCheck()
415 SE->getTruncateExpr(LatchCheck.IV, RangeCheckType)); in generateLoopLatchCheck()
418 NewLatchCheck.Limit = SE->getTruncateExpr(LatchCheck.Limit, RangeCheckType); in generateLoopLatchCheck()
436 LoopPredication::LoopICmp LatchCheck, LoopPredication::LoopICmp RangeCheck, in widenICmpRangeCheckIncrementingLoop() argument
447 const SCEV *LatchStart = LatchCheck.IV->getStart(); in widenICmpRangeCheckIncrementingLoop()
448 const SCEV *LatchLimit = LatchCheck.Limit; in widenICmpRangeCheckIncrementingLoop()
460 ICmpInst::getFlippedStrictnessPredicate(LatchCheck.Pred); in widenICmpRangeCheckIncrementingLoop()
475 LoopPredication::LoopICmp LatchCheck, LoopPredication::LoopICmp RangeCheck, in widenICmpRangeCheckDecrementingLoop() argument
480 const SCEV *LatchLimit = LatchCheck.Limit; in widenICmpRangeCheckDecrementingLoop()
488 auto *PostDecLatchCheckIV = LatchCheck.IV->getPostIncExpr(*SE); in widenICmpRangeCheckDecrementingLoop()
502 ICmpInst::getFlippedStrictnessPredicate(LatchCheck.Pred); in widenICmpRangeCheckDecrementingLoop()
707 assert(DL->getTypeSizeInBits(LatchCheck.IV->getType()) > in isSafeToTruncateWideIVType()
713 auto *Limit = dyn_cast<SCEVConstant>(LatchCheck.Limit); in isSafeToTruncateWideIVType()
714 auto *Start = dyn_cast<SCEVConstant>(LatchCheck.IV->getStart()); in isSafeToTruncateWideIVType()
723 if (!SE->isMonotonicPredicate(LatchCheck.IV, LatchCheck.Pred, Increasing)) in isSafeToTruncateWideIVType()
810 LatchCheck = *LatchCheckOpt; in runOnLoop()
813 LLVM_DEBUG(LatchCheck.dump()); in runOnLoop()