Home
last modified time | relevance | path

Searched refs:BitNum (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/ADT/
DPackedVector.h22 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/
DPackedVector.h22 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/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp946 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/lib/Target/Blackfin/
DBlackfinRegisterInfo.td34 field bits<5> BitNum = bitno;
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2131 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()