Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
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()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h282 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local
287 if (BitsLeft > BitsInCurWord) in Read()
290 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft)); in Read()
293 CurWord >>= (BitsLeft & Mask); in Read()
295 BitsInCurWord -= BitsLeft; in Read()
297 R |= R2 << (NumBits - BitsLeft); in Read()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp316 unsigned BitsLeft = OpcodeInfoBits-AsmStrBits; in EmitPrintInstruction() local
335 if (NumBits > BitsLeft) { in EmitPrintInstruction()
346 (uint64_t)i << (OpcodeInfoBits-BitsLeft); in EmitPrintInstruction()
357 BitsLeft -= NumBits; in EmitPrintInstruction()
369 unsigned BytesNeeded = ((OpcodeInfoBits - BitsLeft) + 7) / 8; in EmitPrintInstruction()
374 BitsOS << " uint" << ((BitsLeft < (OpcodeInfoBits - 32)) ? 64 : 32) in EmitPrintInstruction()
392 if (BitsLeft < (OpcodeInfoBits - 32)) in EmitPrintInstruction()
411 BitsLeft = OpcodeInfoBits-AsmStrBits; in EmitPrintInstruction()
418 assert(NumBits <= BitsLeft && "consistency error"); in EmitPrintInstruction()
427 << (OpcodeInfoBits-BitsLeft) << ") & " in EmitPrintInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
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()
392 BitsOS << " uint" << ((BitsLeft < (OpcodeInfoBits - 32)) ? 64 : 32) 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()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h701 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local
706 if (BitsLeft > BitsInCurWord) in Read()
709 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft)); in Read()
712 CurWord >>= (BitsLeft & Mask); in Read()
714 BitsInCurWord -= BitsLeft; in Read()
716 R |= R2 << (NumBits - BitsLeft); in Read()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h289 unsigned BitsLeft = NumBits-BitsInCurWord; in Read() local
292 R |= (CurWord & (~0U >> (32-BitsLeft))) << BitsInCurWord; in Read()
295 if (BitsLeft != 32) in Read()
296 CurWord >>= BitsLeft; in Read()
299 BitsInCurWord = 32-BitsLeft; in Read()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmWriterEmitter.cpp317 unsigned BitsLeft = 32-AsmStrBits; in EmitPrintInstruction() local
336 if (NumBits > BitsLeft) { in EmitPrintInstruction()
343 BitsLeft -= NumBits; in EmitPrintInstruction()
346 OpcodeInfo[i] |= InstIdxs[i] << (BitsLeft+AsmStrBits); in EmitPrintInstruction()
388 BitsLeft = 32-AsmStrBits; in EmitPrintInstruction()
395 assert(NumBits <= BitsLeft && "consistency error"); in EmitPrintInstruction()
398 BitsLeft -= NumBits; in EmitPrintInstruction()
405 O << " if ((Bits >> " << (BitsLeft+AsmStrBits) << ") & " in EmitPrintInstruction()
415 O << " switch ((Bits >> " << (BitsLeft+AsmStrBits) << ") & " in EmitPrintInstruction()