Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPSInt.h23 bool IsUnsigned; variable
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
34 : APInt(I), IsUnsigned(isUnsigned) {} in APInt()
38 IsUnsigned = RHS.IsUnsigned;
55 bool isSigned() const { return !IsUnsigned; } in isSigned()
56 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
57 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned()
58 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned()
72 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
76 if (IsUnsigned) in extend()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/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/v8/src/asmjs/
Dasm-scanner.h96 bool IsUnsigned() const { return Token() == kUnsigned; } in IsUnsigned() function
98 DCHECK(IsUnsigned()); in AsUnsigned()
Dasm-parser.h249 if (scanner_.IsUnsigned() && scanner_.AsUnsigned() == 0) { in CheckForZero()
268 if (scanner_.IsUnsigned()) { in CheckForUnsigned()
278 if (scanner_.IsUnsigned() && scanner_.AsUnsigned() < limit) { in CheckForUnsignedBelow()
/external/clang/include/clang/Basic/
DTargetBuiltins.h123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument
124 if (IsUnsigned) in NeonTypeFlags()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPSInt.cpp21 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPSInt.cpp41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/llvm/lib/Support/
DAPSInt.cpp41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/clang/include/clang/AST/
DTemplateBase.h89 unsigned IsUnsigned : 1; member
286 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); in getAsIntegral()
290 Integer.IsUnsigned); in getAsIntegral()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp203 bool &IsUnsigned) { in isKImmOrKUImmOperand() argument
205 IsUnsigned = false; in isKImmOrKUImmOperand()
210 IsUnsigned = true; in isKImmOrKUImmOperand()
DAMDGPUTargetTransformInfo.h200 bool IsUnsigned);
DAMDGPUTargetTransformInfo.cpp475 bool IsUnsigned) { in getMinMaxReductionCost() argument
483 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned); in getMinMaxReductionCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp199 bool IsUnsigned, in LowerFPToInt() argument
217 int64_t Substitute = IsUnsigned ? 0 : Limit; in LowerFPToInt()
218 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit; in LowerFPToInt()
255 if (IsUnsigned) { in LowerFPToInt()
268 if (IsUnsigned) { in LowerFPToInt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContextImpl.h357 bool IsUnsigned;
359 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name)
360 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {}
363 IsUnsigned(N->isUnsigned()) {}
366 return Value == RHS->getValue() && IsUnsigned == RHS->isUnsigned() &&
DDebugInfoMetadata.cpp266 bool IsUnsigned, MDString *Name, in getImpl() argument
269 DEFINE_GETIMPL_LOOKUP(DIEnumerator, (Value, IsUnsigned, Name)); in getImpl()
271 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h100 bool IsUnsigned);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h840 bool IsUnsigned) const;
1135 bool IsPairwiseForm, bool IsUnsigned) = 0;
1479 bool IsPairwiseForm, bool IsUnsigned) override { in getMinMaxReductionCost() argument
1480 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp151 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
597 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local
598 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp()
601 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp()
1841 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument
1848 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h401 bool IsUnsigned, ArrayRef<Metadata *> Ops)
404 SubclassData32 = IsUnsigned;
409 bool IsUnsigned, StringRef Name,
411 return getImpl(Context, Value, IsUnsigned,
415 bool IsUnsigned, MDString *Name,
423 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, StringRef Name),
424 (Value, IsUnsigned, Name))
425 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, MDString *Name),
426 (Value, IsUnsigned, Name))
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsFastISel.cpp197 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
638 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local
639 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp()
642 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp()
2065 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument
2076 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc376 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb; in VisitLoad()
379 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh; in VisitLoad()
382 opcode = load_rep.IsUnsigned() ? kMips64Lwu : kMips64Lw; in VisitLoad()
1329 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb; in VisitChangeInt32ToInt64()
1332 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh; in VisitChangeInt32ToInt64()
1364 if (load_rep.IsUnsigned()) { in VisitChangeUint32ToUint64()
1730 opcode = load_rep.IsUnsigned() ? kMips64Ulhu : kMips64Ulh; in VisitUnalignedLoad()
1733 opcode = load_rep.IsUnsigned() ? kMips64Ulwu : kMips64Ulw; in VisitUnalignedLoad()
1933 return load_rep.IsUnsigned(); in IsNodeUnsigned()
/external/v8/src/
Dmachine-type.h88 constexpr bool IsUnsigned() const { in IsUnsigned() function

12