Home
last modified time | relevance | path

Searched refs:BitsLeft (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitstreamReader.h202 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local
207 if (BitsLeft > BitsInCurWord) in Read()
210 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft)); in Read()
213 CurWord >>= (BitsLeft & Mask); in Read()
215 BitsInCurWord -= BitsLeft; in Read()
217 R |= R2 << (NumBits - BitsLeft); in Read()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp334 unsigned BitsLeft = OpcodeInfoBits-AsmStrBits; in EmitPrintInstruction() local
353 if (NumBits > BitsLeft) { in EmitPrintInstruction()
364 (uint64_t)i << (OpcodeInfoBits-BitsLeft); in EmitPrintInstruction()
375 BitsLeft -= NumBits; in EmitPrintInstruction()
387 unsigned BytesNeeded = ((OpcodeInfoBits - BitsLeft) + 7) / 8; in EmitPrintInstruction()
410 if (BitsLeft < (OpcodeInfoBits - 32)) in EmitPrintInstruction()
429 BitsLeft = OpcodeInfoBits-AsmStrBits; in EmitPrintInstruction()
436 assert(NumBits <= BitsLeft && "consistency error"); in EmitPrintInstruction()
445 << (OpcodeInfoBits-BitsLeft) << ") & " in EmitPrintInstruction()
456 << (OpcodeInfoBits-BitsLeft) << ") & " in EmitPrintInstruction()
[all …]