Searched refs:BitsLeft (Results 1 – 7 of 7) sorted by relevance
202 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local207 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()
282 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local287 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()
316 unsigned BitsLeft = OpcodeInfoBits-AsmStrBits; in EmitPrintInstruction() local335 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 …]
334 unsigned BitsLeft = OpcodeInfoBits-AsmStrBits; in EmitPrintInstruction() local353 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 …]
701 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() local706 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()
289 unsigned BitsLeft = NumBits-BitsInCurWord; in Read() local292 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()
317 unsigned BitsLeft = 32-AsmStrBits; in EmitPrintInstruction() local336 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()