Home
last modified time | relevance | path

Searched refs:BitPos (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DBitVector.h41 unsigned BitPos; variable
48 BitPos = Idx % BITWORD_SIZE; in reference()
60 *WordRef |= 1L << BitPos;
62 *WordRef &= ~(1L << BitPos);
67 return ((*WordRef) & (1L << BitPos)) ? true : false;
165 unsigned BitPos = Prev % BITWORD_SIZE; in find_next() local
168 Copy &= ~0L << BitPos; in find_next()
DSmallBitVector.h59 unsigned BitPos; variable
62 reference(SmallBitVector &b, unsigned Idx) : TheVector(b), BitPos(Idx) {} in reference()
71 TheVector.set(BitPos);
73 TheVector.reset(BitPos);
78 return const_cast<const SmallBitVector &>(TheVector).operator[](BitPos);
DSparseBitVector.h157 unsigned BitPos = Curr % BITWORD_SIZE;
163 Copy &= ~0L << BitPos;
352 unsigned BitPos = Iter->find_first();
353 BitNumber += BitPos;
356 Bits >>= BitPos % BITWORD_SIZE;
/external/llvm/include/llvm/ADT/
DBitVector.h46 unsigned BitPos; variable
53 BitPos = Idx % BITWORD_SIZE; in reference()
65 *WordRef |= BitWord(1) << BitPos;
67 *WordRef &= ~(BitWord(1) << BitPos);
72 return ((*WordRef) & (BitWord(1) << BitPos)) != 0;
172 unsigned BitPos = Prev % BITWORD_SIZE; in find_next() local
175 Copy &= ~0UL << BitPos; in find_next()
DSmallBitVector.h61 unsigned BitPos; variable
64 reference(SmallBitVector &b, unsigned Idx) : TheVector(b), BitPos(Idx) {} in reference()
75 TheVector.set(BitPos);
77 TheVector.reset(BitPos);
82 return const_cast<const SmallBitVector &>(TheVector).operator[](BitPos);
DSparseBitVector.h145 unsigned BitPos = Curr % BITWORD_SIZE;
151 Copy &= ~0UL << BitPos;
337 unsigned BitPos = Iter->find_first();
338 BitNumber += BitPos;
341 Bits >>= BitPos % BITWORD_SIZE;
/external/llvm/include/llvm/Support/
DCommandLine.h1509 unsigned BitPos = reinterpret_cast<unsigned>(V);
1510 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1512 return 1 << BitPos;
1545 unsigned BitPos = (unsigned)V;
1546 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1548 return 1 << BitPos;
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1052 unsigned BitPos = 0; in SelectBitOp() local
1061 BitPos = countTrailingZeros(uint64_t(Val)); in SelectBitOp()
1064 BitPos = 31; in SelectBitOp()
1087 SDValue SDVal = CurDAG->getTargetConstant(BitPos, dl, MVT::i32); in SelectBitOp()
1116 if (SubValueVT != MVT::f32 && BitPos < 32) { in SelectBitOp()
1125 SDVal = CurDAG->getTargetConstant(BitPos-32, dl, MVT::i32); in SelectBitOp()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCommandLine.h1427 unsigned BitPos = reinterpret_cast<unsigned>(V);
1428 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1430 return 1 << BitPos;
1468 unsigned BitPos = (unsigned)V;
1469 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1471 return 1 << BitPos;
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6675 unsigned BitPos = j * EltBitSize; in isConstantSplat() local
6678 SplatUndef |= APInt::getBitsSet(sz, BitPos, BitPos + EltBitSize); in isConstantSplat()
6681 zextOrTrunc(sz) << BitPos; in isConstantSplat()
6683 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7145 unsigned BitPos = j * EltBitSize; in isConstantSplat() local
7148 SplatUndef |= APInt::getBitsSet(sz, BitPos, BitPos + EltBitSize); in isConstantSplat()
7151 zextOrTrunc(sz) << BitPos; in isConstantSplat()
7153 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3407 for (uint64_t BitPos : DeferredMetadataInfo) { in materializeMetadata() local
3409 Stream.JumpToBit(BitPos); in materializeMetadata()