Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h22 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()
76 bool isSigned() const { return !IsUnsigned; } in isSigned()
77 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
78 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned()
79 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned()
99 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
103 if (IsUnsigned) in extend()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DAPSInt.h22 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()
76 bool isSigned() const { return !IsUnsigned; } in isSigned()
77 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
78 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned()
79 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned()
99 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
103 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/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAPSIntType.h21 bool IsUnsigned; variable
25 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType()
28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType()
31 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
41 Value.setIsUnsigned(IsUnsigned); in apply()
56 return llvm::APSInt(BitWidth, IsUnsigned); in getZeroValue()
61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue()
66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue()
70 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue()
92 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/llvm-project/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp19 if (IsUnsigned && !AllowSignConversions && in testInRange()
25 if (Value.isSigned() && !IsUnsigned) in testInRange()
36 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
/external/gemmlowp/internal/
Dkernel_default.h28 template <bool MaxProductIsLessThan4096, bool IsUnsigned, bool LhsNonZero>
58 #define GEMMLOWP_SET_DEFAULT_KERNEL(MaxProductIsLessThan4096, IsUnsigned, \
62 struct DefaultKernelImpl<MaxProductIsLessThan4096, IsUnsigned, \
/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/tensorflow/tensorflow/compiler/xla/
Dcomparison_util.cc140 return IsSigned() || IsUnsigned() || IsFloatTotalOrder(); in IsReflexive()
151 return IsSigned() || IsUnsigned() || IsFloatTotalOrder(); in IsAntireflexive()
Dcomparison_util.h64 inline bool IsUnsigned() const { return type_ == Type::kUnsigned; } in IsUnsigned() function
/external/llvm/lib/Support/
DAPSInt.cpp41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPSInt.cpp40 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/external/llvm-project/llvm/lib/Support/
DAPSInt.cpp41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
DAPFixedPoint.cpp116 bool IsUnsigned = !Sema.isSigned(); in getMax() local
117 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
118 if (IsUnsigned && Sema.hasUnsignedPadding()) in getMax()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsExpandPseudo.cpp344 bool IsUnsigned = false; in expandAtomicBinOpSubword() local
392 IsUnsigned = true; in expandAtomicBinOpSubword()
400 IsUnsigned = true; in expandAtomicBinOpSubword()
457 unsigned SLTScratch4 = IsUnsigned ? SLTu : SLT; in expandAtomicBinOpSubword()
645 bool IsUnsigned = false; in expandAtomicBinOp() local
696 IsUnsigned = true; in expandAtomicBinOp()
704 IsUnsigned = true; in expandAtomicBinOp()
743 unsigned SLTScratch2 = IsUnsigned ? SLTu : SLT; in expandAtomicBinOp()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsExpandPseudo.cpp344 bool IsUnsigned = false; in expandAtomicBinOpSubword() local
392 IsUnsigned = true; in expandAtomicBinOpSubword()
400 IsUnsigned = true; in expandAtomicBinOpSubword()
457 unsigned SLTScratch4 = IsUnsigned ? SLTu : SLT; in expandAtomicBinOpSubword()
645 bool IsUnsigned = false; in expandAtomicBinOp() local
696 IsUnsigned = true; in expandAtomicBinOp()
704 IsUnsigned = true; in expandAtomicBinOp()
743 unsigned SLTScratch2 = IsUnsigned ? SLTu : SLT; in expandAtomicBinOp()
/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/llvm-project/clang/include/clang/Basic/
DTargetBuiltins.h155 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument
156 if (IsUnsigned) in NeonTypeFlags()
/external/llvm-project/llvm/lib/IR/
DLLVMContextImpl.h382 bool IsUnsigned;
384 MDNodeKeyImpl(APInt Value, bool IsUnsigned, MDString *Name)
385 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {}
386 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name)
387 : Value(APInt(64, Value, !IsUnsigned)), Name(Name),
388 IsUnsigned(IsUnsigned) {}
391 IsUnsigned(N->isUnsigned()) {}
395 IsUnsigned == RHS->isUnsigned() && Name == RHS->getRawName();
/external/llvm-project/clang/include/clang/AST/
DTemplateBase.h118 unsigned IsUnsigned : 1;
319 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned);
323 Integer.IsUnsigned);
/external/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.h179 int getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned);
182 bool IsPairwiseForm, bool IsUnsigned,
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfoMetadata.h411 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument
414 SubclassData32 = IsUnsigned; in DIEnumerator()
417 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument
418 : DIEnumerator(C, Storage, APInt(64, Value, !IsUnsigned), IsUnsigned, in DIEnumerator()
423 bool IsUnsigned, StringRef Name,
425 return getImpl(Context, Value, IsUnsigned,
429 bool IsUnsigned, MDString *Name,
438 (int64_t Value, bool IsUnsigned, StringRef Name),
439 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name))
441 (int64_t Value, bool IsUnsigned, MDString *Name),
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h510 #define VARIANT_APSINT(Enum, NumBits, IsUnsigned) \ argument
512 return APSInt(APInt(NumBits, Value.Enum), IsUnsigned);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp142 bool &IsUnsigned) { in isKImmOrKUImmOperand() argument
144 IsUnsigned = false; in isKImmOrKUImmOperand()
149 IsUnsigned = true; in isKImmOrKUImmOperand()

1234