Home
last modified time | relevance | path

Searched refs:IsUnsigned (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/ADT/
DAPSInt.h23 bool IsUnsigned; variable
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
34 : APInt(I), IsUnsigned(isUnsigned) {} in APInt()
38 IsUnsigned = RHS.IsUnsigned;
55 bool isSigned() const { return !IsUnsigned; } in isSigned()
56 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
57 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned()
58 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned()
72 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
76 if (IsUnsigned) in extend()
[all …]
/external/llvm/lib/Support/
DAPSInt.cpp21 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()