Home
last modified time | relevance | path

Searched refs:CurBit (Results 1 – 4 of 4) sorted by relevance

/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h50 unsigned CurBit = 0; variable
194 uint64_t GetCurrentBitNo() const { return GetBufferOffset() * 8 + CurBit; } in GetCurrentBitNo()
285 CurValue |= Val << CurBit; in Emit()
286 if (CurBit + NumBits < 32) { in Emit()
287 CurBit += NumBits; in Emit()
294 if (CurBit) in Emit()
295 CurValue = Val >> (32-CurBit); in Emit()
298 CurBit = (CurBit+NumBits) & 31; in Emit()
302 if (CurBit) { in FlushToWord()
304 CurBit = 0; in FlushToWord()
/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp564 const Init *CurBit = getBit(i); in canFitInBitfield()
565 const Init *NewBit = CurBit; in canFitInBitfield()
567 if (const auto *CurBitVar = dyn_cast<VarBitInit>(CurBit)) { in canFitInBitfield()
576 NewBit = CurBit->resolveReferences(R)->getBit(0); in convertInitializerTo()
580 NewBit = CurBit; in convertInitializerTo()
582 Changed |= CurBit != NewBit; in convertInitializerTo()
526 Init *CurBit = getBit(i); resolveReferences() local
/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3879 uint64_t CurBit = Stream.GetCurrentBitNo(); in globalCleanup()
3880 DeferredMetadataInfo.push_back(CurBit); in globalCleanup()
3926 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBodies()
3928 (DeferredFunctionInfo[Fn] == 0 || DeferredFunctionInfo[Fn] == CurBit) && in rememberAndSkipFunctionBodies()
3930 DeferredFunctionInfo[Fn] = CurBit; in rememberAndSkipFunctionBodies()
3794 uint64_t CurBit = Stream.GetCurrentBitNo(); rememberAndSkipMetadata() local
3841 uint64_t CurBit = Stream.GetCurrentBitNo(); rememberAndSkipFunctionBody() local
/llvm-project/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp6539 unsigned CurBit = 0; in DecodeVPTMaskOperand()
6542 // CurBit, if it is the same leave it as is.
6543 CurBit ^= (Val >> i) & 1U; in DecodeVpredROperand()
6545 // Encode the CurBit at the right place in the immediate. in DecodeVpredROperand()
6546 Imm |= (CurBit << i); in DecodeVpredROperand()
6522 unsigned CurBit = 0; DecodeVPTMaskOperand() local