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.cpp469 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt() argument
474 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
475 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
485 if (Result.isSigned() && !DstSign) { in convertToInt()
487 } else if (Result.isUnsigned() && DstSign) { in convertToInt()
494 Result.setIsSigned(DstSign); in convertToInt()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegral.h116 template <unsigned DstBits, bool DstSign>
117 explicit operator Integral<DstBits, DstSign>() const {
118 return Integral<DstBits, DstSign>(V);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h242 LLVM_ABI APSInt convertToInt(unsigned DstWidth, bool DstSign,