HomeSort by: relevance | last modified time | path
    Searched refs:BitPos (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
BitVector.h 94 unsigned BitPos;
99 BitPos = Idx % BITWORD_SIZE;
112 *WordRef |= BitWord(1) << BitPos;
114 *WordRef &= ~(BitWord(1) << BitPos);
119 return ((*WordRef) & (BitWord(1) << BitPos)) != 0;
SmallBitVector.h 68 unsigned BitPos;
71 reference(SmallBitVector &b, unsigned Idx) : TheVector(b), BitPos(Idx) {}
82 TheVector.set(BitPos);
84 TheVector.reset(BitPos);
89 return const_cast<const SmallBitVector &>(TheVector).operator[](BitPos);
SparseBitVector.h 152 unsigned BitPos = Curr % BITWORD_SIZE;
158 Copy &= ~0UL << BitPos;
346 unsigned BitPos = Iter->find_first();
347 BitNumber += BitPos;
350 Bits >>= BitPos % BITWORD_SIZE;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 2081 /// %bitmask = shl i32 1, %bitpos
2098 Value *&BitMask, Value *&BitPos,
2135 m_LoopInvariant(m_Shl(m_One(), m_Value(BitPos)),
2142 (BitPos = ConstantExpr::getExactLogBase2(cast<Constant>(BitMask)));
2149 (BitPos = ConstantInt::get(CurrX->getType(), Mask.logBase2()));
2201 /// %bitmask = shl i32 1, %bitpos
2221 /// %bitmask = shl i32 1, %bitpos
2229 /// %backedgetakencount = sub i32 %bitpos, %x.masked.leadingonepos
2250 Value *X, *BitMask, *BitPos, *XCurr;
2252 if (!detectShiftUntilBitTestIdiom(CurLoop, X, BitMask, BitPos, XCurr
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CommandLine.h 1730 unsigned BitPos = reinterpret_cast<unsigned>(V);
1731 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1733 return 1 << BitPos;
1766 unsigned BitPos = (unsigned)V;
1767 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1769 return 1 << BitPos;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 10229 unsigned BitPos = j * EltWidth;
10232 SplatUndef.setBits(BitPos, BitPos + EltWidth);
10234 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos);
10236 SplatValue.insertBits(CN->getValueAPF().bitcastToAPInt(), BitPos);
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 3042 for (uint64_t BitPos : DeferredMetadataInfo) {
3044 if (Error JumpFailed = Stream.JumpToBit(BitPos))
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp 1386 unsigned BitPos = 0, IntegerEltIdx = 0;
1389 for (unsigned I = 0; I < NumElts; I++, BitPos++) {
1399 BitPos = 0;
1404 Bits |= ((uint64_t)BitValue << BitPos);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGBuiltin.cpp 871 Value *BitPos) {
901 return CGF.Builder.CreateCall(IA, {BitBase, BitPos});
924 Value *BitPos = CGF.EmitScalarExpr(E->getArg(1));
931 return EmitX86BitTestIntrinsic(CGF, BT, E, BitBase, BitPos);
936 // Bit = BitBaseI8[BitPos >> 3] & (1 << (BitPos & 0x7)) != 0;
938 BitPos, llvm::ConstantInt::get(BitPos->getType(), 3), "bittest.byteidx");
944 CGF.Builder.CreateAnd(CGF.Builder.CreateTrunc(BitPos, CGF.Int8Ty),

Completed in 98 milliseconds