/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 23 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/ |
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 | 123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument 124 if (IsUnsigned) in NeonTypeFlags()
|
D | TokenKinds.def | 468 TYPE_TRAIT_1(__is_unsigned, IsUnsigned, KEYCXX)
|
/external/llvm/lib/Support/ |
D | APSInt.cpp | 40 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 88 unsigned IsUnsigned : 1; member 285 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); in getAsIntegral() 289 Integer.IsUnsigned); in getAsIntegral()
|
/external/v8/src/ |
D | machine-type.h | 64 bool IsUnsigned() { in IsUnsigned() function
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 138 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/ |
D | TemplateBase.cpp | 77 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2666 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/ |
D | instruction-selector-mips.cc | 145 opcode = load_rep.IsUnsigned() ? kMipsLbu : kMipsLb; in VisitLoad() 148 opcode = load_rep.IsUnsigned() ? kMipsLhu : kMipsLh; in VisitLoad()
|
/external/v8/src/compiler/arm/ |
D | instruction-selector-arm.cc | 321 opcode = load_rep.IsUnsigned() ? kArmLdrb : kArmLdrsb; in VisitLoad() 324 opcode = load_rep.IsUnsigned() ? kArmLdrh : kArmLdrsh; in VisitLoad()
|
/external/v8/src/compiler/mips64/ |
D | instruction-selector-mips64.cc | 150 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb; in VisitLoad() 153 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh; in VisitLoad()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 2868 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in SetStep() local 2875 (TestIsLessOp ? (IsConstNeg || (IsUnsigned && Subtract)) in SetStep() 2876 : (IsConstPos || (IsUnsigned && !Subtract))))) { in SetStep()
|