Lines Matching refs:Bits
61 return Bits.count(BitOffset);
107 for (uint64_t B : Bits)
139 BSI.Bits.insert(Offset);
174 void ByteArrayBuilder::allocate(const std::set<uint64_t> &Bits,
193 for (uint64_t B : Bits)
200 std::set<uint64_t> Bits;
329 /// Build a test that bit BitOffset mod sizeof(Bits)*8 is set in
330 /// Bits. This pattern matches to the bt instruction on x86.
331 static Value *createMaskedBitTest(IRBuilder<> &B, Value *Bits,
333 auto BitsType = cast<IntegerType>(Bits->getType());
340 Value *MaskedBits = B.CreateAnd(Bits, BitMask);
356 BAI->Bits = BSI.Bits;
376 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffsets[I], Mask);
427 uint64_t Bits = 0;
428 for (auto Bit : BSI.Bits)
429 Bits |= uint64_t(1) << Bit;
430 Constant *BitsConst = ConstantInt::get(BitsTy, Bits);