Lines Matching refs:BackedgeTakenCount
149 Value *LinearFunctionTestReplace(Loop *L, const SCEV *BackedgeTakenCount,
1509 // BackedgeTakenCount. They may already exist in program code, and if not,
1534 const SCEV *BackedgeTakenCount = SE->getBackedgeTakenCount(L);
1535 if (isa<SCEVCouldNotCompute>(BackedgeTakenCount) ||
1536 BackedgeTakenCount->isZero())
1547 if (isHighCostExpansion(BackedgeTakenCount, BI, SE))
1776 const SCEV *BackedgeTakenCount,
1786 BackedgeTakenCount->getType() : IndVar->getType();
1788 const SCEV *IVLimit = BackedgeTakenCount;
2023 const SCEV *BackedgeTakenCount = SE->getBackedgeTakenCount(L);
2045 if (!isa<SCEVCouldNotCompute>(BackedgeTakenCount))
2067 Type *Ty = BackedgeTakenCount->getType();
2126 IndVar = FindLoopCounter(L, BackedgeTakenCount, SE, DT, TD);
2140 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(BackedgeTakenCount);
2143 LinearFunctionTestReplace(L, BackedgeTakenCount, IndVar, Rewriter);
2183 if (DisableIVRewrite && !isa<SCEVCouldNotCompute>(BackedgeTakenCount)) {
2186 if (SE->getTypeSizeInBits(BackedgeTakenCount->getType()) <
2189 BackedgeTakenCount->getType());
2191 BackedgeTakenCount = SE->getTruncateOrNoop(BackedgeTakenCount,
2193 assert(BackedgeTakenCount == NewBECount && "indvars must preserve SCEV");