reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
75 class PackedVector : public PackedVectorBase<T, BitNum, BitVectorTy, 78 using base = PackedVectorBase<T, BitNum, BitVectorTy, 101 explicit PackedVector(unsigned size) : Bits(size << (BitNum-1)) {} 105 unsigned size() const { return Bits.size() >> (BitNum - 1); } 109 void resize(unsigned N) { Bits.resize(N << (BitNum - 1)); } 111 void reserve(unsigned N) { Bits.reserve(N << (BitNum-1)); }