reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
28 class PackedVectorBase<T, BitNum, BitVectorTy, false> { 32 for (unsigned i = 0; i != BitNum; ++i) 33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); 38 assert((val >> BitNum) == 0 && "value is too big"); 39 for (unsigned i = 0; i != BitNum; ++i) 40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);