reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/BitVector.h
  148     if (Size == 0) {
  158   BitVector(BitVector &&RHS) : Bits(RHS.Bits), Size(RHS.Size) {
  160     RHS.Size = 0;
  166   bool empty() const { return Size == 0; }
  169   size_type size() const { return Size; }
  189     for (unsigned i = 0; i < Size / BITWORD_SIZE; ++i)
  194     if (unsigned Remainder = Size % BITWORD_SIZE)
  195       return Bits[Size / BITWORD_SIZE] == (1UL << Remainder) - 1;
  208     assert(Begin <= End && End <= Size);
  237     assert(Begin <= End && End <= Size);
  268     assert(Begin <= End && End <= Size);
  299     assert(Begin <= End && End <= Size);
  323         return Result < Size ? Result : -1;
  331   int find_first() const { return find_first_in(0, Size); }
  335   int find_last() const { return find_last_in(0, Size); }
  339   int find_next(unsigned Prev) const { return find_first_in(Prev + 1, Size); }
  347   int find_first_unset() const { return find_first_unset_in(0, Size); }
  352     return find_first_unset_in(Prev + 1, Size);
  357   int find_last_unset() const { return find_last_unset_in(0, Size); }
  367     Size = 0;
  381     if (N > Size)
  385     unsigned OldSize = Size;
  386     Size = N;
  491     assert (Idx < Size && "Out-of-bounds Bit access.");
  496     assert (Idx < Size && "Out-of-bounds Bit access.");
  507     unsigned OldSize = Size;
  508     unsigned NewSize = Size + 1;
  515       Size = NewSize;
  619     assert(N <= Size);
  623     unsigned NumWords = NumBitWords(Size);
  668     assert(N <= Size);
  672     unsigned NumWords = NumBitWords(Size);
  721     Size = RHS.size();
  722     unsigned RHSWords = NumBitWords(Size);
  723     if (Size <= getBitCapacity()) {
  724       if (Size)
  748     Size = RHS.Size;
  748     Size = RHS.Size;
  751     RHS.Size = 0;
  758     std::swap(Size, RHS.Size);
  758     std::swap(Size, RHS.Size);
  816     uint32_t NumWords = NumBitWords(Size);
  836     uint32_t NumWords = NumBitWords(Size);
  864     unsigned UsedWords = NumBitWords(Size);
  869     unsigned ExtraBits = Size % BITWORD_SIZE;