Home
last modified time | relevance | path

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

/external/llvm-project/llvm/utils/TableGen/
DAsmWriterEmitter.cpp71 unsigned &BitsLeft, unsigned &AsmStrBits);
75 unsigned &BitsLeft, unsigned &AsmStrBits);
300 unsigned &BitsLeft, unsigned &AsmStrBits) { in EmitGetMnemonic() argument
359 BitsLeft = OpcodeInfoBits - AsmStrBits; in EmitGetMnemonic()
376 if (NumBits > BitsLeft) { in EmitGetMnemonic()
387 (uint64_t)i << (OpcodeInfoBits-BitsLeft); in EmitGetMnemonic()
398 BitsLeft -= NumBits; in EmitGetMnemonic()
408 unsigned BytesNeeded = ((OpcodeInfoBits - BitsLeft) + 7) / 8; in EmitGetMnemonic()
413 BitsOS << " uint" << ((BitsLeft < (OpcodeInfoBits - 32)) ? 64 : 32) in EmitGetMnemonic()
431 if (BitsLeft < (OpcodeInfoBits - 32)) in EmitGetMnemonic()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamReader.h209 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local
215 if (BitsLeft > BitsInCurWord) in Read()
218 BitsInCurWord, BitsLeft); in Read()
220 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft)); in Read()
223 CurWord >>= (BitsLeft & Mask); in Read()
225 BitsInCurWord -= BitsLeft; in Read()
227 R |= R2 << (NumBits - BitsLeft); in Read()
/external/llvm-project/llvm/include/llvm/Bitstream/
DBitstreamReader.h210 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local
216 if (BitsLeft > BitsInCurWord) in Read()
219 BitsInCurWord, BitsLeft); in Read()
221 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft)); in Read()
224 CurWord >>= (BitsLeft & Mask); in Read()
226 BitsInCurWord -= BitsLeft; in Read()
228 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/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h698 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local
703 if (BitsLeft > BitsInCurWord) in Read()
706 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft)); in Read()
709 CurWord >>= (BitsLeft & Mask); in Read()
711 BitsInCurWord -= BitsLeft; in Read()
713 R |= R2 << (NumBits - BitsLeft); in Read()
/external/capstone/contrib/sysz_update/
D0005-capstone-generate-GenAsmWriter.inc.patch55 unsigned BytesNeeded = ((OpcodeInfoBits - BitsLeft) + 7) / 8;
58 if (BitsLeft < (OpcodeInfoBits - 32))
104 BitsLeft = OpcodeInfoBits-AsmStrBits;
107 << (OpcodeInfoBits-BitsLeft) << ") & "