/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/swiftshader/third_party/LLVM/utils/TableGen/ |
TGValueTypes.cpp | 32 unsigned BitWidth; 35 : BitWidth(bits) {} 40 return BitWidth;
|
/external/llvm/test/Transforms/InstCombine/ |
apint-add2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
apint-and2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
apint-add2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
apint-and2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 36 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); 39 if (BitWidth == 64) { 42 assert(BitWidth == 32 && "Unexpected bit width"); 108 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); 111 if (BitWidth == 64) { 114 assert(BitWidth == 32 && "Unexpected bit width"); 159 unsigned BitWidth = DivTy->getBitWidth(); 166 if (BitWidth == 64) { 172 assert(BitWidth == 32 && "Unexpected bit width"); 386 "Div of bitwidth other than 32 or 64 not supported") [all...] |
BypassSlowDivision.cpp | 235 // Get bitwidth of div/rem instruction 237 unsigned int bitwidth = T->getBitWidth(); local 239 // Continue if bitwidth is not bypassed 240 DenseMap<unsigned int, unsigned int>::const_iterator BI = BypassWidths.find(bitwidth); 244 // Get type for div/rem instruction with bypass bitwidth
|
/external/llvm/include/llvm/IR/ |
ConstantRange.h | 52 explicit ConstantRange(uint32_t BitWidth, bool isFullSet = true); 149 /// its bitwidth. For example: i8 [120, 140). 229 /// zero extended to BitWidth. 230 ConstantRange zeroExtend(uint32_t BitWidth) const; 235 /// sign extended to BitWidth. 236 ConstantRange signExtend(uint32_t BitWidth) const; 242 ConstantRange truncate(uint32_t BitWidth) const; 244 /// Make this range have the bit width given by \p BitWidth. The 246 ConstantRange zextOrTrunc(uint32_t BitWidth) const; 248 /// Make this range have the bit width given by \p BitWidth. Th [all...] |
/external/clang/lib/Basic/ |
TargetInfo.cpp | 186 unsigned BitWidth, bool IsSigned) const { 187 if (getCharWidth() == BitWidth) 189 if (getShortWidth() == BitWidth) 191 if (getIntWidth() == BitWidth) 193 if (getLongWidth() == BitWidth) 195 if (getLongLongWidth() == BitWidth) 200 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, 202 if (getCharWidth() >= BitWidth) 204 if (getShortWidth() >= BitWidth) 206 if (getIntWidth() >= BitWidth) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
ValueTypes.h | 300 static MVT getFloatingPointVT(unsigned BitWidth) { 301 switch (BitWidth) { 315 static MVT getIntegerVT(unsigned BitWidth) { 316 switch (BitWidth) { 405 static EVT getFloatingPointVT(unsigned BitWidth) { 406 return MVT::getFloatingPointVT(BitWidth); 411 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { 412 MVT M = MVT::getIntegerVT(BitWidth); 415 return getExtendedIntegerVT(Context, BitWidth); 443 /// integer type with the same bitwidth [all...] |
/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/lib/Transforms/IPO/ |
WholeProgramDevirt.cpp | 135 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) { 136 if (BitWidth == 1) 139 OffsetByte = -((AllocBefore + 7) / 8 + (BitWidth + 7) / 8); 143 if (BitWidth == 1) 146 Target.setBeforeBytes(AllocBefore, (BitWidth + 7) / 8); 152 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) { 153 if (BitWidth == 1) 160 if (BitWidth == 1) 163 Target.setAfterBytes(AllocAfter, (BitWidth + 7) / 8); 281 bool tryUniqueRetValOpt(unsigned BitWidth, [all...] |
/external/skia/tests/ |
PathOpsExtendedTest.cpp | 187 const int bitWidth = 64; 201 SkScalar hScale = (bitWidth - 2) / largerWidth; 219 bits.allocN32Pixels(bitWidth * 2, bitHeight); 230 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 238 uint32_t* addr3 = bits.getAddr32(bitWidth, y); 239 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); 240 for (int x = 0; x < bitWidth - 1; ++x) { 273 int bitWidth = SkScalarCeilToInt(larger.width()) + 2; 274 if (bitWidth * 2 + 1 >= (int) sizeof(out)) { 281 bits.allocN32Pixels(bitWidth * 2, bitHeight) [all...] |
PathOpsTightBoundsTest.cpp | 51 const int bitWidth = 32; 57 bits.allocN32Pixels(bitWidth, bitHeight); 89 for (int x = 0; x < bitWidth; ++x) {
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVType.h | 134 :SPIRVType(M, 4, OC , TheId), BitWidth(TheBitWidth), 139 SPIRVTypeInt():SPIRVType(OC), BitWidth(0), IsSigned(false){} 141 unsigned getBitWidth() const { return BitWidth;} 153 _SPIRV_DEF_ENCDEC3(Id, BitWidth, IsSigned) 156 assert(BitWidth > 1 && BitWidth <= 64 && "Invalid bit width"); 159 unsigned BitWidth; // Bit width 168 :SPIRVType(M, 3, OC, TheId), BitWidth(TheBitWidth){} 170 SPIRVTypeFloat():SPIRVType(OC), BitWidth(0){} 172 unsigned getBitWidth() const { return BitWidth;} [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/ |
text_handler.h | 52 // Bitwidth is only valid when type_class is kScalarIntegerType or 55 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member in struct:libspirv::IdType 62 return (first.bitwidth == second.bitwidth) && 94 return type.bitwidth; 200 // Validates and respects the bitwidth supplied in the IdType argument.
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 402 FunctionLoweringInfo::GetLiveOutRegInfo(unsigned Reg, unsigned BitWidth) { 410 if (BitWidth > LOI->KnownZero.getBitWidth()) { 412 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 413 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); 435 unsigned BitWidth = IntVT.getSizeInBits(); 446 APInt Zero(BitWidth, 0); 453 APInt Val = CI->getValue().zextOrTrunc(BitWidth); 465 const LiveOutInfo *SrcLOI = GetLiveOutRegInfo(SrcReg, BitWidth); 473 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 474 DestLOI.KnownOne.getBitWidth() == BitWidth & [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/clang/lib/StaticAnalyzer/Core/ |
APSIntType.cpp | 42 if (MinBits <= BitWidth)
|
/external/llvm/test/CodeGen/AArch64/ |
neon-or-combine.ll | 8 ; values with different 'BitWidth'.
|
/external/llvm/test/CodeGen/X86/ |
fastisel-gep-promote-before-add.ll | 1 ; fastisel should not fold add with non-pointer bitwidth
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
Fonts.c | 40 @param BitWidth If EFI_SUCCESS was returned, the UINT16 pointed to by this value is filled with the length of the glyph in pixels.
59 OUT UINT16 *BitWidth,
118 *BitWidth = EFI_GLYPH_WIDTH;
|
/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);
|
/external/flatbuffers/include/flatbuffers/ |
flexbuffers.h | 35 enum BitWidth { 166 static BitWidth WidthU(uint64_t u) { 177 static BitWidth WidthI(int64_t i) { 182 static BitWidth WidthF(double f) { 336 byte_width_ = 1U << static_cast<BitWidth>(packed_type & 3); 603 BitWidth value_width) { 613 BitWidth value_width) { 628 inline uint8_t PackedType(BitWidth bit_width, Type type) { [all...] |