Lines Matching defs:BackedgeTakenCount
112 Value *LinearFunctionTestReplace(Loop *L, const SCEV *BackedgeTakenCount,
1167 // BackedgeTakenCount. They may already exist in program code, and if not,
1202 const SCEV *BackedgeTakenCount = SE->getBackedgeTakenCount(L);
1203 if (isa<SCEVCouldNotCompute>(BackedgeTakenCount) ||
1204 BackedgeTakenCount->isZero())
1216 if (isHighCostExpansion(BackedgeTakenCount, BI, Processed, SE))
1550 const SCEV *BackedgeTakenCount,
1557 const SCEV *IVCount = BackedgeTakenCount;
1565 // truncated to BackedgeTakenCount->getType().
1566 IVCount = SE->getAddExpr(BackedgeTakenCount,
1567 SE->getConstant(BackedgeTakenCount->getType(), 1));
1607 // Note that the post-inc value of BackedgeTakenCount may have overflowed
1609 if (IVCount != BackedgeTakenCount && Count == 0) {
1762 const SCEV *BackedgeTakenCount = SE->getBackedgeTakenCount(L);
1785 if (!isa<SCEVCouldNotCompute>(BackedgeTakenCount))
1794 PHINode *IndVar = FindLoopCounter(L, BackedgeTakenCount, SE, DT, TD);
1804 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(BackedgeTakenCount);
1806 (void)LinearFunctionTestReplace(L, BackedgeTakenCount, IndVar,
1837 if (VerifyIndvars && !isa<SCEVCouldNotCompute>(BackedgeTakenCount)) {
1840 if (SE->getTypeSizeInBits(BackedgeTakenCount->getType()) <
1843 BackedgeTakenCount->getType());
1845 BackedgeTakenCount = SE->getTruncateOrNoop(BackedgeTakenCount,
1847 assert(BackedgeTakenCount == NewBECount && "indvars must preserve SCEV");