/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/llvm/test/Transforms/InstCombine/ |
apint-add1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
|
apint-or.ll | 3 ; These tests are for Integer BitWidth <= 64 && BitWidth % 2 != 0. 42 ; These tests are for Integer BitWidth > 64 && BitWidth <= 1024.
|
apint-and1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
|
apint-xor1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
|
apint-xor2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
apint-add1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
|
apint-or1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
|
apint-or2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
apint-and1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
|
apint-xor1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
|
apint-xor2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 120 int bitwidth, GeneratedFile &out) { 122 out.indent() << "// return byte array representation of the " << bitwidth 124 out.indent() << "public static byte[] getBitCode" << bitwidth << "()"; 126 out.indent() << "return getBitCode" << bitwidth << "Internal();\n"; 133 static bool GenerateSegmentMethod(const char *buff, int blen, int bitwidth, 135 out.indent() << "private static byte[] getSegment" << bitwidth << "_" 165 int bitwidth, GeneratedFile &out) { 168 if (bitwidth == 64) { 179 GenerateAccessorMethod(context, bitwidth, out); 190 GenerateSegmentMethod(buff, read_length, bitwidth, seg_num, out) [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 54 /// Returns the bitwidth of the given scalar or pointer type (if unknown returns 55 /// 0). For vector types, returns the element type's bitwidth. 57 if (unsigned BitWidth = Ty->getScalarSizeInBits()) 58 return BitWidth; 245 unsigned BitWidth = KnownZero.getBitWidth(); 247 // NLZ can't be BitWidth with no sign bit 248 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); 257 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); 263 unsigned BitWidth = KnownZero.getBitWidth(); 267 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0) [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ValueTracking.cpp | 35 /// getBitWidth - Returns the bitwidth of the given scalar or pointer type (if 36 /// unknown returns 0). For vector types, returns the element type's bitwidth. 38 if (unsigned BitWidth = Ty->getScalarSizeInBits()) 39 return BitWidth; 65 unsigned BitWidth = Mask.getBitWidth(); 69 TD->getTypeSizeInBits(V->getType()->getScalarType()) == BitWidth) && 71 V->getType()->getScalarSizeInBits() == BitWidth) && 72 KnownZero.getBitWidth() == BitWidth && 73 KnownOne.getBitWidth() == BitWidth && 74 "V, Mask, KnownOne and KnownZero should have same BitWidth"); [all...] |
/external/llvm/test/CodeGen/AArch64/ |
arm64-fastisel-gep-promote-before-add.ll | 1 ; fastisel should not fold add with non-pointer bitwidth
|
/external/llvm/test/CodeGen/ARM/ |
fastisel-gep-promote-before-add.ll | 1 ; fastisel should not fold add with non-pointer bitwidth
|
/external/llvm/test/CodeGen/PowerPC/ |
fastisel-gep-promote-before-add.ll | 1 ; fastisel should not fold add with non-pointer bitwidth
|
/external/llvm/test/Transforms/Float2Int/ |
toolarge.ll | 9 ; up to i64, so it should fail (even though the max integer bitwidth is 256).
|
/external/llvm/test/Transforms/InstSimplify/ |
apint-or.ll | 4 ; Test the case where integer BitWidth <= 64 && BitWidth % 2 != 0. 39 ; Test the case where Integer BitWidth > 64 && BitWidth <= 1024.
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Blackfin/ |
invalid-apint.ll | 3 ; Assertion failed: (width < BitWidth && "Invalid APInt Truncate request"),
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
ConstantRange.h | 48 explicit ConstantRange(uint32_t BitWidth, bool isFullSet = true); 96 /// its bitwidth, for example: i8 [120, 140). 178 /// zero extended to BitWidth. 179 ConstantRange zeroExtend(uint32_t BitWidth) const; 184 /// sign extended to BitWidth. 185 ConstantRange signExtend(uint32_t BitWidth) const; 191 ConstantRange truncate(uint32_t BitWidth) const; 193 /// zextOrTrunc - make this range have the bit width given by \p BitWidth. The 195 ConstantRange zextOrTrunc(uint32_t BitWidth) const; 197 /// sextOrTrunc - make this range have the bit width given by \p BitWidth. Th [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 54 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); 55 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 56 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); 95 /// that the bitwidth of V, DemandedMask, KnownZero and KnownOne must all be the 109 uint32_t BitWidth = DemandedMask.getBitWidth(); 112 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && 113 KnownZero.getBitWidth() == BitWidth && 114 KnownOne.getBitWidth() == BitWidth && 116 "must have same BitWidth"); [all...] |
/external/swiftshader/third_party/LLVM/bindings/ocaml/executionengine/ |
llvm_executionengine.mli | 34 (** [of_int32 n w] boxes the int32 [i] in a generic value with the bitwidth 38 (** [of_int n w] boxes the int [i] in a generic value with the bitwidth 43 bitwidth [w]. See the field [llvm::GenericValue::IntVal]. *) 47 (** [of_int64 n w] boxes the int64 [i] in a generic value with the bitwidth 61 Is invalid if [gv] has a bitwidth greater than 32 bits. See the field 66 Is invalid if [gv] has a bitwidth greater than the host bit width (but the 72 [nativeint]. Is invalid if [gv] has a bitwidth greater than 77 Is invalid if [gv] has a bitwidth greater than [int64]. See the field
|
/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...] |