Lines Matching refs:ConstantRange

45 static ConstantRange getConstantRange(const ValueLatticeElement &LV, Type *Ty,  in getConstantRange()
50 return ConstantRange::getFull(Ty->getScalarSizeInBits()); in getConstantRange()
113 return ConstantRange(Const->getValue()); in refineInstruction()
116 return ConstantRange::getFull(Bitwidth); in refineInstruction()
126 auto NUWRange = ConstantRange::makeGuaranteedNoWrapRegion( in refineInstruction()
135 auto NSWRange = ConstantRange::makeGuaranteedNoWrapRegion( in refineInstruction()
1066 const ConstantRange &Range = SCValue.getConstantRange(); in getFeasibleSuccessors()
1250 ConstantRange OpRange = getConstantRange(OpSt, I.getSrcTy()); in visitCastInst()
1263 ConstantRange Res = in visitCastInst()
1282 ConstantRange LR = getConstantRange(L, Ty); in handleExtractOfWithOverflow()
1283 ConstantRange RR = getConstantRange(R, Ty); in handleExtractOfWithOverflow()
1285 ConstantRange Res = LR.binaryOp(WO->getBinaryOp(), RR); in handleExtractOfWithOverflow()
1289 ConstantRange NWRegion = ConstantRange::makeGuaranteedNoWrapRegion( in handleExtractOfWithOverflow()
1487 ConstantRange A = getConstantRange(V1State, I.getType()); in visitBinaryOperator()
1488 ConstantRange B = getConstantRange(V2State, I.getType()); in visitBinaryOperator()
1489 ConstantRange R = A.binaryOp(cast<BinaryOperator>(&I)->getOpcode(), B); in visitBinaryOperator()
1751 ConstantRange::getFull(DL.getTypeSizeInBits(CopyOf->getType())); in handleCallResult()
1755 ImposedCR = ConstantRange::makeAllowedICmpRegion( in handleCallResult()
1796 if (ConstantRange::isIntrinsicSupported(II->getIntrinsicID())) { in handleCallResult()
1800 SmallVector<ConstantRange, 2> OpRanges; in handleCallResult()
1808 ConstantRange Result = in handleCallResult()
1809 ConstantRange::intrinsic(II->getIntrinsicID(), OpRanges); in handleCallResult()