Searched refs:BitsLeft (Results 1 - 5 of 5) sorted by relevance

/external/llvm/include/llvm/Bitcode/
H A DBitstreamReader.h282 unsigned BitsLeft = NumBits - BitsInCurWord; local
287 if (BitsLeft > BitsInCurWord)
290 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft));
293 CurWord >>= (BitsLeft & Mask);
295 BitsInCurWord -= BitsLeft;
297 R |= R2 << (NumBits - BitsLeft);
/external/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp316 unsigned BitsLeft = OpcodeInfoBits-AsmStrBits; local
335 if (NumBits > BitsLeft) {
346 (uint64_t)i << (OpcodeInfoBits-BitsLeft);
357 BitsLeft -= NumBits;
369 unsigned BytesNeeded = ((OpcodeInfoBits - BitsLeft) + 7) / 8;
374 BitsOS << " uint" << ((BitsLeft < (OpcodeInfoBits - 32)) ? 64 : 32)
392 if (BitsLeft < (OpcodeInfoBits - 32))
411 BitsLeft = OpcodeInfoBits-AsmStrBits;
418 assert(NumBits <= BitsLeft && "consistency error");
427 << (OpcodeInfoBits-BitsLeft) << ")
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
H A DBitstreamReader.h289 unsigned BitsLeft = NumBits-BitsInCurWord; local
291 // Be careful here, BitsLeft is in the range [1..32] inclusive.
292 R |= (CurWord & (~0U >> (32-BitsLeft))) << BitsInCurWord;
294 // BitsLeft bits have just been used up from CurWord.
295 if (BitsLeft != 32)
296 CurWord >>= BitsLeft; local
299 BitsInCurWord = 32-BitsLeft;
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
H A DNaClBitstreamReader.h701 unsigned BitsLeft = NumBits - BitsInCurWord; local
706 if (BitsLeft > BitsInCurWord)
709 word_t R2 = CurWord & (~word_t(0) >> (BitsInWord - BitsLeft));
712 CurWord >>= (BitsLeft & Mask);
714 BitsInCurWord -= BitsLeft;
716 R |= R2 << (NumBits - BitsLeft);
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DAsmWriterEmitter.cpp317 unsigned BitsLeft = 32-AsmStrBits; local
336 if (NumBits > BitsLeft) {
343 BitsLeft -= NumBits;
346 OpcodeInfo[i] |= InstIdxs[i] << (BitsLeft+AsmStrBits);
388 BitsLeft = 32-AsmStrBits;
395 assert(NumBits <= BitsLeft && "consistency error");
398 BitsLeft -= NumBits;
405 O << " if ((Bits >> " << (BitsLeft+AsmStrBits) << ") & "
415 O << " switch ((Bits >> " << (BitsLeft+AsmStrBits) << ") & "

Completed in 297 milliseconds