Home
last modified time | relevance | path

Searched refs:DstSign (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFixedPoint.cpp415 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt() argument
420 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
421 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
431 if (Result.isSigned() && !DstSign) { in convertToInt()
433 } else if (Result.isUnsigned() && DstSign) { in convertToInt()
440 Result.setIsSigned(DstSign); in convertToInt()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DIntegral.h97 template <unsigned DstBits, bool DstSign>
98 explicit operator Integral<DstBits, DstSign>() const {
99 return Integral<DstBits, DstSign>(V);
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFixedPoint.h168 APSInt convertToInt(unsigned DstWidth, bool DstSign,