Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DAPSInt.h23 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/
DAPSIntType.h22 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/
DAPSIntType.cpp20 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/
DTargetBuiltins.h122 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument
123 if (IsUnsigned) in NeonTypeFlags()
DTokenKinds.def445 TYPE_TRAIT_1(__is_unsigned, IsUnsigned, KEYCXX)
/external/llvm/lib/Support/
DAPSInt.cpp21 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/clang/include/clang/AST/
DTemplateBase.h88 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/
DMipsFastISel.cpp132 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/
DTemplateBase.cpp77 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
/external/clang/lib/Sema/
DSemaOpenMP.cpp2068 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in SetStep() local
2075 (TestIsLessOp ? (IsConstNeg || (IsUnsigned && Subtract)) in SetStep()
2076 : (IsConstPos || (IsUnsigned && !Subtract))))) { in SetStep()