Searched refs:BitNum (Results 1 – 8 of 8) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | PackedVector.h | 22 template <typename T, unsigned BitNum, typename BitVectorTy, bool isSigned> 27 template <typename T, unsigned BitNum, typename BitVectorTy> 28 class PackedVectorBase<T, BitNum, BitVectorTy, false> { 32 for (unsigned i = 0; i != BitNum; ++i) in getValue() 33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 38 assert((val >> BitNum) == 0 && "value is too big"); in setValue() 39 for (unsigned i = 0; i != BitNum; ++i) in setValue() 40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() 44 template <typename T, unsigned BitNum, typename BitVectorTy> 45 class PackedVectorBase<T, BitNum, BitVectorTy, true> { [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | PackedVector.h | 22 template <typename T, unsigned BitNum, bool isSigned> 27 template <typename T, unsigned BitNum> 28 class PackedVectorBase<T, BitNum, false> { 32 for (unsigned i = 0; i != BitNum; ++i) in getValue() 33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 38 assert((val >> BitNum) == 0 && "value is too big"); in setValue() 39 for (unsigned i = 0; i != BitNum; ++i) in setValue() 40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() 44 template <typename T, unsigned BitNum> 45 class PackedVectorBase<T, BitNum, true> { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | PackedVector.h | 23 template <typename T, unsigned BitNum, typename BitVectorTy, bool isSigned> 28 template <typename T, unsigned BitNum, typename BitVectorTy> 29 class PackedVectorBase<T, BitNum, BitVectorTy, false> { 33 for (unsigned i = 0; i != BitNum; ++i) in getValue() 34 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 39 assert((val >> BitNum) == 0 && "value is too big"); in setValue() 40 for (unsigned i = 0; i != BitNum; ++i) in setValue() 41 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() 45 template <typename T, unsigned BitNum, typename BitVectorTy> 46 class PackedVectorBase<T, BitNum, BitVectorTy, true> { [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonBitTracker.cpp | 946 uint16_t BitNum; in evaluateLoad() local 993 BitNum = 8; in evaluateLoad() 1007 BitNum = 8; in evaluateLoad() 1021 BitNum = 16; in evaluateLoad() 1035 BitNum = 16; in evaluateLoad() 1051 BitNum = 32; in evaluateLoad() 1066 BitNum = 64; in evaluateLoad() 1076 assert(W >= BitNum && BitNum > 0); in evaluateLoad() 1079 for (uint16_t i = 0; i < BitNum; ++i) in evaluateLoad() 1083 const BT::BitValue &Sign = Res[BitNum-1]; in evaluateLoad() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonBitTracker.cpp | 1059 uint16_t BitNum; in evaluateLoad() local 1105 BitNum = 8; in evaluateLoad() 1119 BitNum = 8; in evaluateLoad() 1133 BitNum = 16; in evaluateLoad() 1147 BitNum = 16; in evaluateLoad() 1163 BitNum = 32; in evaluateLoad() 1178 BitNum = 64; in evaluateLoad() 1188 assert(W >= BitNum && BitNum > 0); in evaluateLoad() 1191 for (uint16_t i = 0; i < BitNum; ++i) in evaluateLoad() 1195 const BT::BitValue &Sign = Res[BitNum-1]; in evaluateLoad() [all …]
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2131 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition() local 2133 return (x == x >> BitNum << BitNum) && isUInt<N>(x >> BitNum); in isShiftedUIntAtAnyPosition() 2288 for (int BitNum = 16; BitNum >= 0; BitNum -= 16) { in loadImmediate() local 2289 uint16_t ImmChunk = (ImmValue >> BitNum) & 0xffff; in loadImmediate()
|
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/ |
D | BlackfinRegisterInfo.td | 34 field bits<5> BitNum = bitno;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2628 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition() local 2630 return (x == x >> BitNum << BitNum) && isUInt<N>(x >> BitNum); in isShiftedUIntAtAnyPosition() 2784 for (int BitNum = 16; BitNum >= 0; BitNum -= 16) { in loadImmediate() local 2785 uint16_t ImmChunk = (ImmValue >> BitNum) & 0xffff; in loadImmediate()
|