Lines Matching refs:APSInt
192 const Expr &E, llvm::APSInt &Value) { in getIntegerConstantExprValue()
213 return llvm::APSInt::compareValues(Lower, From.Lower) <= 0 && in contains()
214 llvm::APSInt::compareValues(Upper, From.Upper) >= 0; in contains()
217 bool contains(const llvm::APSInt &Value) const { in contains()
218 return llvm::APSInt::compareValues(Lower, Value) <= 0 && in contains()
219 llvm::APSInt::compareValues(Upper, Value) >= 0; in contains()
222 llvm::APSInt Lower;
223 llvm::APSInt Upper;
242 llvm::APSInt UpperValue(PrecisionBits + 2, /*isUnsigned*/ false); in createFromType()
244 llvm::APSInt LowerValue(PrecisionBits + 2, /*isUnsigned*/ false); in createFromType()
252 return {llvm::APSInt::getMinValue(TypeSize, IsUnsignedInteger), in createFromType()
253 llvm::APSInt::getMaxValue(TypeSize, IsUnsignedInteger)}; in createFromType()
265 const llvm::APSInt &IntegerConstant, in isWideEnoughToHold()
279 llvm::APSInt Result = llvm::APSInt(DestWidth, !DestSigned); in isFloatExactlyRepresentable()
287 static llvm::SmallString<64> getValueAsString(const llvm::APSInt &Value, in getValueAsString()
334 const llvm::APSInt &Value) { in diagNarrowIntegerConstant()
343 const llvm::APSInt &Value, const uint64_t HexBits) { in diagNarrowIntegerConstantToSignedInt()
399 llvm::APSInt IntegerConstant; in handleIntegralCast()
427 llvm::APSInt IntegerConstant; in handleIntegralToFloating()