Searched refs:IsUnsigned (Results 1 – 10 of 10) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 23 bool IsUnsigned; variable 26 explicit APSInt() : IsUnsigned(false) {} in APSInt() 31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt() 49 bool isSigned() const { return !IsUnsigned; } in isSigned() 50 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() 51 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned() 52 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned() 72 return APSInt(APInt::trunc(width), IsUnsigned); in trunc() 76 if (IsUnsigned) in extend() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | APSIntType.h | 22 bool IsUnsigned; variable 26 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType() 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 32 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() 42 Value.setIsUnsigned(IsUnsigned); in apply() 57 return llvm::APSInt(BitWidth, IsUnsigned); in getZeroValue() 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue() 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue() 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue() 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned; [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | APSIntType.cpp | 20 if (IsUnsigned && !AllowSignConversions && in testInRange() 26 if (Value.isSigned() && !IsUnsigned) in testInRange() 37 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange() 39 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
/external/clang/include/clang/Basic/ |
D | TargetBuiltins.h | 122 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument 123 if (IsUnsigned) in NeonTypeFlags()
|
D | TokenKinds.def | 445 TYPE_TRAIT_1(__is_unsigned, IsUnsigned, KEYCXX)
|
/external/llvm/lib/Support/ |
D | APSInt.cpp | 21 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 88 unsigned IsUnsigned : 1; member 288 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); in getAsIntegral() 292 Integer.IsUnsigned); in getAsIntegral()
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 132 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned); 497 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local 498 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp() 501 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp() 1428 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument 1435 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
|
/external/clang/lib/AST/ |
D | TemplateBase.cpp | 77 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 2068 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in SetStep() local 2075 (TestIsLessOp ? (IsConstNeg || (IsUnsigned && Subtract)) in SetStep() 2076 : (IsConstPos || (IsUnsigned && !Subtract))))) { in SetStep()
|