Searched refs:IntegerConstant (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | NarrowingConversionsCheck.cpp | 183 if (auto IntegerConstant = E.getIntegerConstantExpr(Ctx)) in getConstantExprValue() local 184 return APValue(*IntegerConstant); in getConstantExprValue() 265 const llvm::APSInt &IntegerConstant, in isWideEnoughToHold() argument 268 return ToIntegerRange.contains(IntegerConstant); in isWideEnoughToHold() 399 llvm::APSInt IntegerConstant; in handleIntegralCast() local 400 if (getIntegerConstantExprValue(Context, Rhs, IntegerConstant)) { in handleIntegralCast() 401 if (!isWideEnoughToHold(Context, IntegerConstant, *ToType)) in handleIntegralCast() 403 IntegerConstant, in handleIntegralCast() 427 llvm::APSInt IntegerConstant; in handleIntegralToFloating() local 428 if (getIntegerConstantExprValue(Context, Rhs, IntegerConstant)) { in handleIntegralToFloating() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFloat.cpp | 2083 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1); in roundToIntegral() local 2084 IntegerConstant <<= semanticsPrecision(*semantics)-1; in roundToIntegral() 2086 fs = MagicConstant.convertFromAPInt(IntegerConstant, false, in roundToIntegral()
|