Lines Matching refs:MaxBECount

1468       const SCEV *MaxBECount = getMaxBackedgeTakenCount(L);  in getZeroExtendExpr()  local
1469 if (!isa<SCEVCouldNotCompute>(MaxBECount)) { in getZeroExtendExpr()
1476 getTruncateOrZeroExtend(MaxBECount, Start->getType()); in getZeroExtendExpr()
1478 getTruncateOrZeroExtend(CastedMaxBECount, MaxBECount->getType()); in getZeroExtendExpr()
1479 if (MaxBECount == RecastedMaxBECount) { in getZeroExtendExpr()
1681 const SCEV *MaxBECount = getMaxBackedgeTakenCount(L); in getSignExtendExpr() local
1682 if (!isa<SCEVCouldNotCompute>(MaxBECount)) { in getSignExtendExpr()
1689 getTruncateOrZeroExtend(MaxBECount, Start->getType()); in getSignExtendExpr()
1691 getTruncateOrZeroExtend(CastedMaxBECount, MaxBECount->getType()); in getSignExtendExpr()
1692 if (MaxBECount == RecastedMaxBECount) { in getSignExtendExpr()
4313 const SCEV *MaxBECount = getMaxBackedgeTakenCount(AddRec->getLoop()); in getRange() local
4314 if (!isa<SCEVCouldNotCompute>(MaxBECount) && in getRange()
4315 getTypeSizeInBits(MaxBECount->getType()) <= BitWidth) { in getRange()
4321 MaxBECount = getNoopOrZeroExtend(MaxBECount, Ty); in getRange()
4322 ConstantRange MaxBECountRange = getUnsignedRange(MaxBECount); in getRange()
5238 const SCEV *MaxBECount = MustExitMaxBECount ? MustExitMaxBECount : in computeBackedgeTakenCount() local
5240 return BackedgeTakenInfo(ExitCounts, CouldComputeBECount, MaxBECount); in computeBackedgeTakenCount()
5346 const SCEV *MaxBECount = getCouldNotCompute(); in computeExitLimitFromCond() local
5356 MaxBECount = EL1.Max; in computeExitLimitFromCond()
5358 MaxBECount = EL0.Max; in computeExitLimitFromCond()
5360 MaxBECount = getUMinFromMismatchedTypes(EL0.Max, EL1.Max); in computeExitLimitFromCond()
5366 MaxBECount = EL0.Max; in computeExitLimitFromCond()
5371 return ExitLimit(BECount, MaxBECount); in computeExitLimitFromCond()
5381 const SCEV *MaxBECount = getCouldNotCompute(); in computeExitLimitFromCond() local
5391 MaxBECount = EL1.Max; in computeExitLimitFromCond()
5393 MaxBECount = EL0.Max; in computeExitLimitFromCond()
5395 MaxBECount = getUMinFromMismatchedTypes(EL0.Max, EL1.Max); in computeExitLimitFromCond()
5401 MaxBECount = EL0.Max; in computeExitLimitFromCond()
5406 return ExitLimit(BECount, MaxBECount); in computeExitLimitFromCond()
6637 const SCEV *MaxBECount; in HowFarToZero() local
6640 MaxBECount = CR.getUnsignedMax().isMinValue() in HowFarToZero()
6644 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax() in HowFarToZero()
6646 return ExitLimit(Distance, MaxBECount); in HowFarToZero()
8266 const SCEV *MaxBECount; in HowManyLessThans() local
8268 MaxBECount = BECount; in HowManyLessThans()
8270 MaxBECount = computeBECount(getConstant(MaxEnd - MinStart), in HowManyLessThans()
8273 if (isa<SCEVCouldNotCompute>(MaxBECount)) in HowManyLessThans()
8274 MaxBECount = BECount; in HowManyLessThans()
8276 return ExitLimit(BECount, MaxBECount); in HowManyLessThans()
8348 const SCEV *MaxBECount = getCouldNotCompute(); in HowManyGreaterThans() local
8350 MaxBECount = BECount; in HowManyGreaterThans()
8352 MaxBECount = computeBECount(getConstant(MaxStart - MinEnd), in HowManyGreaterThans()
8355 if (isa<SCEVCouldNotCompute>(MaxBECount)) in HowManyGreaterThans()
8356 MaxBECount = BECount; in HowManyGreaterThans()
8358 return ExitLimit(BECount, MaxBECount); in HowManyGreaterThans()