Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/include/llvm/ADT/
HDAPSInt.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()
58 bool isSigned() const { return !IsUnsigned; } in isSigned()
59 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
60 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned()
61 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned()
81 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
85 if (IsUnsigned) in extend()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDAPSIntType.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 …]
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDAPSIntType.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()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDTargetBuiltins.h123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument
124 if (IsUnsigned) in NeonTypeFlags()
HDTokenKinds.def460 TYPE_TRAIT_1(__is_unsigned, IsUnsigned, KEYCXX)
/NextBSD/contrib/llvm/lib/Support/
HDAPSInt.cpp40 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDTemplateBase.h88 unsigned IsUnsigned : 1; member
288 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); in getAsIntegral()
292 Integer.IsUnsigned); in getAsIntegral()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsFastISel.cpp138 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
579 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local
580 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp()
583 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp()
1827 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument
1834 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDTemplateBase.cpp77 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
/NextBSD/contrib/llvm/lib/Target/Mips/AsmParser/
HDMipsAsmParser.cpp2337 bool ReverseOrderSLT, IsUnsigned, AcceptsEquality; in expandCondBranches() local
2344 IsUnsigned = (PseudoOpcode == Mips::BLTU); in expandCondBranches()
2352 IsUnsigned = (PseudoOpcode == Mips::BLEU); in expandCondBranches()
2360 IsUnsigned = (PseudoOpcode == Mips::BGEU); in expandCondBranches()
2368 IsUnsigned = (PseudoOpcode == Mips::BGTU); in expandCondBranches()
2460 if (IsUnsigned) { in expandCondBranches()
2515 SetInst.setOpcode(IsUnsigned ? Mips::SLTu : Mips::SLT); in expandCondBranches()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaOpenMP.cpp2358 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in SetStep() local
2365 (TestIsLessOp ? (IsConstNeg || (IsUnsigned && Subtract)) in SetStep()
2366 : (IsConstPos || (IsUnsigned && !Subtract))))) { in SetStep()