Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp452 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt() argument
457 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
458 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
468 if (Result.isSigned() && !DstSign) { in convertToInt()
470 } else if (Result.isUnsigned() && DstSign) { in convertToInt()
477 Result.setIsSigned(DstSign); in convertToInt()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h96 template <unsigned DstBits, bool DstSign>
97 explicit operator Integral<DstBits, DstSign>() const {
98 return Integral<DstBits, DstSign>(V);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h227 APSInt convertToInt(unsigned DstWidth, bool DstSign,