Lines Matching refs:SCEVConstant

466     if (isa<SCEVConstant>(Y->getD())) {  in intersectConstraints()
509 const SCEVConstant *C1A2_C2A1 = in intersectConstraints()
510 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1A2, C2A1)); in intersectConstraints()
511 const SCEVConstant *C1B2_C2B1 = in intersectConstraints()
512 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1B2, C2B1)); in intersectConstraints()
513 const SCEVConstant *A1B2_A2B1 = in intersectConstraints()
514 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A1B2, A2B1)); in intersectConstraints()
515 const SCEVConstant *A2B1_A1B2 = in intersectConstraints()
516 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A2B1, A1B2)); in intersectConstraints()
545 if (const SCEVConstant *CUB = in intersectConstraints()
1080 const SCEVConstant *DependenceInfo::collectConstantUpperBound(const Loop *L, in collectConstantUpperBound()
1083 return dyn_cast<SCEVConstant>(UB); in collectConstantUpperBound()
1182 if (isa<SCEVConstant>(Delta) && isa<SCEVConstant>(Coeff)) { in strongSIVtest()
1183 APInt ConstDelta = cast<SCEVConstant>(Delta)->getAPInt(); in strongSIVtest()
1184 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest()
1307 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(Coeff); in weakCrossingSIVtest()
1313 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest()
1326 const SCEVConstant *ConstDelta = dyn_cast<SCEVConstant>(Delta); in weakCrossingSIVtest()
1497 const SCEVConstant *ConstDelta = dyn_cast<SCEVConstant>(Delta); in exactSIVtest()
1498 const SCEVConstant *ConstSrcCoeff = dyn_cast<SCEVConstant>(SrcCoeff); in exactSIVtest()
1499 const SCEVConstant *ConstDstCoeff = dyn_cast<SCEVConstant>(DstCoeff); in exactSIVtest()
1521 if (const SCEVConstant *CUB = in exactSIVtest()
1649 bool isRemainderZero(const SCEVConstant *Dividend, in isRemainderZero()
1650 const SCEVConstant *Divisor) { in isRemainderZero()
1717 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(DstCoeff); in weakZeroSrcSIVtest()
1757 if (isa<SCEVConstant>(Delta) && in weakZeroSrcSIVtest()
1758 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroSrcSIVtest()
1826 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(SrcCoeff); in weakZeroDstSIVtest()
1866 if (isa<SCEVConstant>(Delta) && in weakZeroDstSIVtest()
1867 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroDstSIVtest()
1896 const SCEVConstant *ConstDelta = dyn_cast<SCEVConstant>(Delta); in exactRDIVtest()
1897 const SCEVConstant *ConstSrcCoeff = dyn_cast<SCEVConstant>(SrcCoeff); in exactRDIVtest()
1898 const SCEVConstant *ConstDstCoeff = dyn_cast<SCEVConstant>(DstCoeff); in exactRDIVtest()
1919 if (const SCEVConstant *UpperBound = in exactRDIVtest()
1929 if (const SCEVConstant *UpperBound = in exactRDIVtest()
2287 const SCEVConstant *getConstantPart(const SCEV *Expr) { in getConstantPart()
2288 if (const auto *Constant = dyn_cast<SCEVConstant>(Expr)) in getConstantPart()
2291 if (const auto *Constant = dyn_cast<SCEVConstant>(Product->getOperand(0))) in getConstantPart()
2363 const SCEVConstant *Constant = dyn_cast<SCEVConstant>(Delta); in gcdMIVtest()
2368 if (isa<SCEVConstant>(Operand)) { in gcdMIVtest()
2370 Constant = cast<SCEVConstant>(Operand); in gcdMIVtest()
2375 const SCEVConstant *ConstOp = getConstantPart(Product); in gcdMIVtest()
2388 APInt ConstDelta = cast<SCEVConstant>(Constant)->getAPInt(); in gcdMIVtest()
3115 const SCEVConstant *Bconst = dyn_cast<SCEVConstant>(B); in propagateLine()
3116 const SCEVConstant *Cconst = dyn_cast<SCEVConstant>(C); in propagateLine()
3130 const SCEVConstant *Aconst = dyn_cast<SCEVConstant>(A); in propagateLine()
3131 const SCEVConstant *Cconst = dyn_cast<SCEVConstant>(C); in propagateLine()
3144 const SCEVConstant *Aconst = dyn_cast<SCEVConstant>(A); in propagateLine()
3145 const SCEVConstant *Cconst = dyn_cast<SCEVConstant>(C); in propagateLine()