Searched refs:BitNum (Results 1 – 3 of 3) 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/llvm/lib/Target/Hexagon/ |
D | HexagonBitTracker.cpp | 945 uint16_t BitNum; in evaluateLoad() local 992 BitNum = 8; in evaluateLoad() 1006 BitNum = 8; in evaluateLoad() 1020 BitNum = 16; in evaluateLoad() 1034 BitNum = 16; in evaluateLoad() 1050 BitNum = 32; in evaluateLoad() 1065 BitNum = 64; in evaluateLoad() 1075 assert(W >= BitNum && BitNum > 0); in evaluateLoad() 1078 for (uint16_t i = 0; i < BitNum; ++i) in evaluateLoad() 1082 const BT::BitValue &Sign = Res[BitNum-1]; in evaluateLoad() [all …]
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2138 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition() local 2140 return (x == x >> BitNum << BitNum) && isUInt<N>(x >> BitNum); in isShiftedUIntAtAnyPosition() 2293 for (int BitNum = 16; BitNum >= 0; BitNum -= 16) { in loadImmediate() local 2294 uint16_t ImmChunk = (ImmValue >> BitNum) & 0xffff; in loadImmediate()
|