reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
45 class PackedVectorBase<T, BitNum, BitVectorTy, true> { 47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { 48 T val = T(); 48 T val = T(); 50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); 56 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { 63 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);