HomeSort by relevance Sort by last modified time
    Searched defs:BitWidth (Results 1 - 25 of 166) sorted by null

1 2 3 4 5 6 7

  /external/llvm/lib/ExecutionEngine/Orc/
OrcMCJITReplacement.cpp 91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
92 if (BitWidth == 1)
93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)());
94 else if (BitWidth <= 8)
95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)());
96 else if (BitWidth <= 16)
97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)());
98 else if (BitWidth <= 32)
99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)());
100 else if (BitWidth <= 64
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolutionAliasAnalysis.cpp 45 unsigned BitWidth = SE.getTypeSizeInBits(AS->getType());
46 APInt ASizeInt(BitWidth, LocA.Size);
47 APInt BSizeInt(BitWidth, LocB.Size);
DemandedBits.cpp 77 unsigned BitWidth = AB.getBitWidth();
86 [&](unsigned BitWidth, const Value *V1, const Value *V2) {
88 KnownZero = APInt(BitWidth, 0);
89 KnownOne = APInt(BitWidth, 0);
94 KnownZero2 = APInt(BitWidth, 0);
95 KnownOne2 = APInt(BitWidth, 0);
118 ComputeKnownBits(BitWidth, I, nullptr);
119 AB = APInt::getHighBitsSet(BitWidth,
120 std::min(BitWidth, KnownOne.countLeadingZeros()+1));
128 ComputeKnownBits(BitWidth, I, nullptr)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
ScalarEvolutionAliasAnalysis.cpp 128 unsigned BitWidth = SE->getTypeSizeInBits(AS->getType());
129 APInt ASizeInt(BitWidth, LocA.Size);
130 APInt BSizeInt(BitWidth, LocB.Size);
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 21 uint32_t BitWidth;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
41 Value = Value.extOrTrunc(BitWidth);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned
    [all...]
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 186 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
187 if (BitWidth == 1)
188 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)());
189 else if (BitWidth <= 8)
190 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)());
191 else if (BitWidth <= 16)
192 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)());
193 else if (BitWidth <= 32)
194 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)());
195 else if (BitWidth <= 64
    [all...]
  /external/swiftshader/third_party/LLVM/utils/TableGen/
TGValueTypes.cpp 32 unsigned BitWidth;
35 : BitWidth(bits) {}
40 return BitWidth;
  /external/llvm/lib/Target/X86/
X86ShuffleDecodeConstantPool.cpp 53 unsigned BitWidth = cast<IntegerType>(EltTy)->getBitWidth();
54 if ((BitWidth % 8) != 0)
57 int Scale = BitWidth / 8;
247 unsigned BitWidth = cast<IntegerType>(VecEltTy)->getBitWidth();
248 if ((BitWidth % 8) != 0)
252 int Scale = BitWidth / 8;
  /external/clang/lib/Lex/
PPExpressions.cpp 41 PPValue(unsigned BitWidth) : Val(BitWidth) {}
816 unsigned BitWidth = getTargetInfo().getIntMaxTWidth();
818 PPValue ResVal(BitWidth);
  /external/llvm/include/llvm/ADT/
APInt.h 74 unsigned BitWidth; ///< The number of bits in this APInt.
98 APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
103 bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
138 unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
237 : BitWidth(numBits), VAL(0) {
238 assert(BitWidth && "bitwidth too small");
279 APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
287 APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL)
    [all...]
  /external/llvm/include/llvm/CodeGen/
ValueTypes.h 55 static EVT getFloatingPointVT(unsigned BitWidth) {
56 return MVT::getFloatingPointVT(BitWidth);
61 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) {
62 MVT M = MVT::getIntegerVT(BitWidth);
65 return getExtendedIntegerVT(Context, BitWidth);
79 /// integer type with the same bitwidth.
84 unsigned BitWidth = EltTy.getSizeInBits();
85 MVT IntTy = MVT::getIntegerVT(BitWidth);
283 unsigned BitWidth = getSizeInBits();
284 if (BitWidth <= 8
    [all...]
  /external/llvm/lib/IR/
ConstantRange.cpp 34 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) {
36 Lower = Upper = APInt::getMaxValue(BitWidth);
38 Lower = Upper = APInt::getMinValue(BitWidth);
191 unsigned BitWidth = Other.getBitWidth();
194 return ConstantRange(BitWidth, false);
199 return ConstantRange(BitWidth);
201 ConstantRange Result(BitWidth);
205 SubsetIntersect(Result, ConstantRange(APInt::getNullValue(BitWidth),
215 ConstantRange(APInt::getSignedMinValue(BitWidth),
216 APInt::getSignedMinValue(BitWidth) - SignedMax))
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoadCombine.cpp 100 unsigned BitWidth = DL.getPointerSizeInBits(LI.getPointerAddressSpace());
101 POP.Offset = APInt(BitWidth, 0);
  /external/swiftshader/third_party/LLVM/include/llvm/ADT/
APInt.h 74 unsigned BitWidth; ///< The number of bits in this APInt.
95 APInt(uint64_t* val, unsigned bits) : BitWidth(bits), pVal(val) { }
100 return BitWidth <= APINT_BITS_PER_WORD;
132 unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
228 : BitWidth(numBits), VAL(0) {
229 assert(BitWidth && "bitwidth too small");
267 : BitWidth(that.BitWidth), VAL(0) {
268 assert(BitWidth && "bitwidth too small")
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 243 FunctionLoweringInfo::GetLiveOutRegInfo(unsigned Reg, unsigned BitWidth) {
251 if (BitWidth > LOI->KnownZero.getBitWidth()) {
253 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth);
254 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth);
276 unsigned BitWidth = IntVT.getSizeInBits();
287 APInt Zero(BitWidth, 0);
294 APInt Val = CI->getValue().zextOrTrunc(BitWidth);
306 const LiveOutInfo *SrcLOI = GetLiveOutRegInfo(SrcReg, BitWidth);
314 assert(DestLOI.KnownZero.getBitWidth() == BitWidth &&
315 DestLOI.KnownOne.getBitWidth() == BitWidth &
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineAddSub.cpp 50 uint32_t BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
51 uint32_t CSTVal = CST->getLimitedValue(BitWidth);
53 APInt(BitWidth, 1).shl(CSTVal));
InstCombineShifts.cpp 91 uint32_t BitWidth = Ty->getScalarSizeInBits();
93 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) &&
94 CI->getLimitedValue(BitWidth) < BitWidth) {
681 unsigned BitWidth = Op0->getType()->getScalarSizeInBits();
688 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) {

Completed in 1430 milliseconds

1 2 3 4 5 6 7