Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DAPSInt.h23 bool IsUnsigned; variable
27 explicit APSInt() : IsUnsigned(false) {} in APSInt()
32 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
35 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt()
59 bool isSigned() const { return !IsUnsigned; } in isSigned()
60 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
61 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned()
62 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned()
82 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
86 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.h123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument
124 if (IsUnsigned) in NeonTypeFlags()
DTokenKinds.def468 TYPE_TRAIT_1(__is_unsigned, IsUnsigned, KEYCXX)
/external/llvm/lib/Support/
DAPSInt.cpp40 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/clang/include/clang/AST/
DTemplateBase.h88 unsigned IsUnsigned : 1; member
285 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); in getAsIntegral()
289 Integer.IsUnsigned); in getAsIntegral()
/external/v8/src/
Dmachine-type.h64 bool IsUnsigned() { in IsUnsigned() function
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp138 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
583 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local
584 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp()
587 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp()
1828 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument
1835 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
/external/clang/lib/AST/
DTemplateBase.cpp77 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2666 bool ReverseOrderSLT, IsUnsigned, IsLikely, AcceptsEquality; in expandCondBranches() local
2744 IsUnsigned = ((PseudoOpcode == Mips::BLTU) || (PseudoOpcode == Mips::BLTUL)); in expandCondBranches()
2755 IsUnsigned = ((PseudoOpcode == Mips::BLEU) || (PseudoOpcode == Mips::BLEUL)); in expandCondBranches()
2766 IsUnsigned = ((PseudoOpcode == Mips::BGEU) || (PseudoOpcode == Mips::BGEUL)); in expandCondBranches()
2777 IsUnsigned = ((PseudoOpcode == Mips::BGTU) || (PseudoOpcode == Mips::BGTUL)); in expandCondBranches()
2852 if (IsUnsigned) { in expandCondBranches()
2903 emitRRR(IsUnsigned ? Mips::SLTu : Mips::SLT, ATRegNum, in expandCondBranches()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc145 opcode = load_rep.IsUnsigned() ? kMipsLbu : kMipsLb; in VisitLoad()
148 opcode = load_rep.IsUnsigned() ? kMipsLhu : kMipsLh; in VisitLoad()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc321 opcode = load_rep.IsUnsigned() ? kArmLdrb : kArmLdrsb; in VisitLoad()
324 opcode = load_rep.IsUnsigned() ? kArmLdrh : kArmLdrsh; in VisitLoad()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc150 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb; in VisitLoad()
153 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh; in VisitLoad()
/external/clang/lib/Sema/
DSemaOpenMP.cpp2868 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in SetStep() local
2875 (TestIsLessOp ? (IsConstNeg || (IsUnsigned && Subtract)) in SetStep()
2876 : (IsConstPos || (IsUnsigned && !Subtract))))) { in SetStep()