• Home
  • Raw
  • Download

Lines Matching refs:SCEVConstant

131     WriteAsOperand(OS, cast<SCEVConstant>(this)->getValue(), false);  in print()
234 return cast<SCEVConstant>(this)->getType(); in getType()
260 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this)) in isZero()
266 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this)) in isOne()
272 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this)) in isAllOnesValue()
290 SCEV *S = new (SCEVAllocator) SCEVConstant(ID.Intern(SCEVAllocator), V); in getConstant()
509 const SCEVConstant *LC = cast<SCEVConstant>(LHS); in compare()
510 const SCEVConstant *RC = cast<SCEVConstant>(RHS); in compare()
808 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op)) in getTruncateExpr()
888 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op)) in getZeroExtendExpr()
1146 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op)) in getSignExtendExpr()
1298 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op)) in getAnyExtendExpr()
1380 while (const SCEVConstant *C = dyn_cast<SCEVConstant>(Ops[i])) { in CollectAddOperandsWithScales()
1392 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) { in CollectAddOperandsWithScales()
1394 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getValue()->getValue(); in CollectAddOperandsWithScales()
1479 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getAddExpr()
1482 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getAddExpr()
1488 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()
1543 } else if (const SCEVConstant *C = dyn_cast<SCEVConstant>(Ops[i])) { in getAddExpr()
1555 } else if (const SCEVConstant *C = in getAddExpr()
1556 dyn_cast<SCEVConstant>(M->getOperand(j))) { in getAddExpr()
1574 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
1646 if (isa<SCEVConstant>(MulOpSCEV)) in getAddExpr()
1882 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMulExpr()
1888 isa<SCEVConstant>(Add->getOperand(0))) in getMulExpr()
1893 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getMulExpr()
1901 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()
1905 if (cast<SCEVConstant>(Ops[0])->getValue()->equalsInt(1)) { in getMulExpr()
1908 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isZero()) { in getMulExpr()
2113 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) { in getUDivExpr()
2133 if (const SCEVConstant *Step = in getUDivExpr()
2134 dyn_cast<SCEVConstant>(AR->getStepRecurrence(*this))) { in getUDivExpr()
2152 const SCEVConstant *StartC = dyn_cast<SCEVConstant>(AR->getStart()); in getUDivExpr()
2203 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in getUDivExpr()
2378 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getSMaxExpr()
2381 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getSMaxExpr()
2389 LHSC = cast<SCEVConstant>(Ops[0]); in getSMaxExpr()
2393 if (cast<SCEVConstant>(Ops[0])->getValue()->isMinValue(true)) { in getSMaxExpr()
2396 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(true)) { in getSMaxExpr()
2482 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getUMaxExpr()
2485 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getUMaxExpr()
2493 LHSC = cast<SCEVConstant>(Ops[0]); in getUMaxExpr()
2497 if (cast<SCEVConstant>(Ops[0])->getValue()->isMinValue(false)) { in getUMaxExpr()
2500 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(false)) { in getUMaxExpr()
2722 if (const SCEVConstant *VC = dyn_cast<SCEVConstant>(V)) in getNegativeSCEV()
2734 if (const SCEVConstant *VC = dyn_cast<SCEVConstant>(V)) in getNotSCEV()
3180 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) in GetMinTrailingZeros()
3264 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) in getUnsignedRange()
3334 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(AddRec->getStart())) in getUnsignedRange()
3406 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) in getSignedRange()
3923 const SCEVConstant *ExitCount = in getSmallConstantTripCount()
3924 dyn_cast<SCEVConstant>(getExitCount(L, ExitBlock)); in getSmallConstantTripCount()
3961 const SCEVConstant *MulC = dyn_cast<SCEVConstant>(TCMul); in getSmallConstantTripMultiple()
4472 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) in ComputeExitLimitFromICmp()
4537 assert(isa<SCEVConstant>(Val) && in EvaluateConstantChrecAtConstant()
4539 return cast<SCEVConstant>(Val)->getValue(); in EvaluateConstantChrecAtConstant()
4624 !isa<SCEVConstant>(IdxExpr->getOperand(0)) || in ComputeLoadConstantCompareExitLimit()
4625 !isa<SCEVConstant>(IdxExpr->getOperand(1))) in ComputeLoadConstantCompareExitLimit()
4925 if (isa<SCEVConstant>(V)) return V; in computeSCEVAtScope()
4940 if (const SCEVConstant *BTCC = in computeSCEVAtScope()
4941 dyn_cast<SCEVConstant>(BackedgeTakenCount)) { in computeSCEVAtScope()
4977 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(OpV)) in computeSCEVAtScope()
5180 const SCEVConstant *LC = dyn_cast<SCEVConstant>(AddRec->getOperand(0)); in SolveQuadraticEquation()
5181 const SCEVConstant *MC = dyn_cast<SCEVConstant>(AddRec->getOperand(1)); in SolveQuadraticEquation()
5182 const SCEVConstant *NC = dyn_cast<SCEVConstant>(AddRec->getOperand(2)); in SolveQuadraticEquation()
5248 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(V)) { in HowFarToZero()
5263 const SCEVConstant *R1 = dyn_cast<SCEVConstant>(Roots.first); in HowFarToZero()
5264 const SCEVConstant *R2 = dyn_cast<SCEVConstant>(Roots.second); in HowFarToZero()
5314 const SCEVConstant *StepC = dyn_cast<SCEVConstant>(Step); in HowFarToZero()
5358 if (const SCEVConstant *StartC = dyn_cast<SCEVConstant>(Start)) in HowFarToZero()
5376 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(V)) { in HowFarToNonZero()
5440 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in SimplifyICmpOperands()
5442 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) { in SimplifyICmpOperands()
5470 if (const SCEVConstant *RC = dyn_cast<SCEVConstant>(RHS)) { in SimplifyICmpOperands()
5941 if (isa<SCEVConstant>(RHS)) { in isImpliedCond()
5957 if (isa<SCEVConstant>(RHS)) in isImpliedCond()
6178 const SCEV *MaxBECount = isa<SCEVConstant>(BECount) ? BECount in HowManyLessThans()
6205 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(getStart())) in getNumIterationsInRange()
6222 if (!isa<SCEVConstant>(getOperand(i))) in getNumIterationsInRange()
6244 APInt A = cast<SCEVConstant>(getOperand(1))->getValue()->getValue(); in getNumIterationsInRange()
6278 const SCEVConstant *R1 = dyn_cast<SCEVConstant>(Roots.first); in getNumIterationsInRange()
6279 const SCEVConstant *R2 = dyn_cast<SCEVConstant>(Roots.second); in getNumIterationsInRange()