reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
45 class PackedVectorBase<T, BitNum, BitVectorTy, true> { 49 for (unsigned i = 0; i != BitNum-1; ++i) 50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); 51 if (Bits[(Idx << (BitNum-1)) + BitNum-1]) 51 if (Bits[(Idx << (BitNum-1)) + BitNum-1]) 59 Bits.set((Idx << (BitNum-1)) + BitNum-1); 59 Bits.set((Idx << (BitNum-1)) + BitNum-1); 61 assert((val >> (BitNum-1)) == 0 && "value is too big"); 62 for (unsigned i = 0; i != BitNum-1; ++i) 63 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);