Lines Matching refs:BoundSCEV
19 static bool isSafeDecreasingBound(const SCEV *Start, const SCEV *BoundSCEV, in isSafeDecreasingBound() argument
27 if (!SE.isAvailableAtLoopEntry(BoundSCEV, L)) in isSafeDecreasingBound()
35 LLVM_DEBUG(dbgs() << "BoundSCEV: " << *BoundSCEV << "\n"); in isSafeDecreasingBound()
46 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, BoundSCEV); in isSafeDecreasingBound()
51 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth(); in isSafeDecreasingBound()
57 SE.getMinusSCEV(BoundSCEV, SE.getOne(BoundSCEV->getType())); in isSafeDecreasingBound()
60 SE.isLoopEntryGuardedByCond(L, BoundPred, BoundSCEV, Limit); in isSafeDecreasingBound()
65 static bool isSafeIncreasingBound(const SCEV *Start, const SCEV *BoundSCEV, in isSafeIncreasingBound() argument
73 if (!SE.isAvailableAtLoopEntry(BoundSCEV, L)) in isSafeIncreasingBound()
79 LLVM_DEBUG(dbgs() << "BoundSCEV: " << *BoundSCEV << "\n"); in isSafeIncreasingBound()
90 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, BoundSCEV); in isSafeIncreasingBound()
95 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth(); in isSafeIncreasingBound()
101 SE.getAddExpr(BoundSCEV, Step)) && in isSafeIncreasingBound()
102 SE.isLoopEntryGuardedByCond(L, BoundPred, BoundSCEV, Limit)); in isSafeIncreasingBound()