reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
160 assert(NumBits <= 32 && "Too many bits to emit!"); 162 return EmitVBR((uint32_t)Val, NumBits); 164 uint32_t Threshold = 1U << (NumBits-1); 168 Emit(((uint32_t)Val & ((1 << (NumBits-1))-1)) | 169 (1 << (NumBits-1)), NumBits); 169 (1 << (NumBits-1)), NumBits); 170 Val >>= NumBits-1; 173 Emit((uint32_t)Val, NumBits);