Searched refs:CurBit (Results 1 – 4 of 4) sorted by relevance
32 unsigned CurBit; variable86 : Out(O), CurBit(0), CurValue(0), CurCodeSize(2) {} in BitstreamWriter()89 assert(CurBit == 0 && "Unflushed data remaining"); in ~BitstreamWriter()94 uint64_t GetCurrentBitNo() const { return GetBufferOffset() * 8 + CurBit; } in GetCurrentBitNo()118 CurValue |= Val << CurBit; in Emit()119 if (CurBit + NumBits < 32) { in Emit()120 CurBit += NumBits; in Emit()127 if (CurBit) in Emit()128 CurValue = Val >> (32-CurBit); in Emit()131 CurBit = (CurBit+NumBits) & 31; in Emit()[all …]
2052 unsigned CurBit; member in __anon70c03d650111::ModuleSignature2056 ModuleSignature() : CurBit(0), CurValue(0) { } in ModuleSignature()2067 CurValue |= Value << CurBit; in add()2068 if (CurBit + NumBits < 64) { in add()2069 CurBit += NumBits; in add()2076 if (CurBit) in add()2077 CurValue = Value >> (64-CurBit); in add()2080 CurBit = (CurBit+NumBits) & 63; in add()2084 if (CurBit == 0) in flush()2088 CurBit = 0; in flush()
358 Init *CurBit = Bits[i]; in resolveReferences() local359 Init *CurBitVar = CurBit->getBitVar(); in resolveReferences()361 NewBits[i] = CurBit; in resolveReferences()365 Init *Bit = CachedInit->getBit(CurBit->getBitNum()); in resolveReferences()366 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()383 Init *Bit = CurBitVar->getBit(CurBit->getBitNum()); in resolveReferences()384 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
3044 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata() local3045 DeferredMetadataInfo.push_back(CurBit); in rememberAndSkipMetadata()3097 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody() local3099 (DeferredFunctionInfo[Fn] == 0 || DeferredFunctionInfo[Fn] == CurBit) && in rememberAndSkipFunctionBody()3101 DeferredFunctionInfo[Fn] = CurBit; in rememberAndSkipFunctionBody()