Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamWriter.h28 unsigned CurBit; variable
64 : Out(O), CurBit(0), CurValue(0), CurCodeSize(2) {} in BitstreamWriter()
67 assert(CurBit == 0 && "Unflused data remaining"); in ~BitstreamWriter()
84 uint64_t GetCurrentBitNo() const { return Out.size() * 8 + CurBit; } in GetCurrentBitNo()
93 CurValue |= Val << CurBit; in Emit()
94 if (CurBit + NumBits < 32) { in Emit()
95 CurBit += NumBits; in Emit()
106 if (CurBit) in Emit()
107 CurValue = Val >> (32-CurBit); in Emit()
110 CurBit = (CurBit+NumBits) & 31; in Emit()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h32 unsigned CurBit; variable
86 : 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 …]
/external/llvm/lib/TableGen/
DRecord.cpp359 Init *CurBit = getBit(i); in resolveReferences() local
360 Init *CurBitVar = CurBit->getBitVar(); in resolveReferences()
362 NewBits[i] = CurBit; in resolveReferences()
366 Init *Bit = CachedInit->getBit(CurBit->getBitNum()); in resolveReferences()
367 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
384 Init *Bit = CurBitVar->getBit(CurBit->getBitNum()); in resolveReferences()
385 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp526 Init *CurBit = getBit(i); in resolveReferences() local
529 B = CurBit; in resolveReferences()
530 CurBit = CurBit->resolveReferences(R, RV); in resolveReferences()
531 Changed |= B != CurBit; in resolveReferences()
532 } while (B != CurBit); in resolveReferences()
533 NewBits[i] = CurBit; in resolveReferences()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3397 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata() local
3398 DeferredMetadataInfo.push_back(CurBit); in rememberAndSkipMetadata()
3430 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody() local
3432 (DeferredFunctionInfo[Fn] == 0 || DeferredFunctionInfo[Fn] == CurBit) && in rememberAndSkipFunctionBody()
3434 DeferredFunctionInfo[Fn] = CurBit; in rememberAndSkipFunctionBody()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp1532 uint64_t CurBit = Stream.GetCurrentBitNo(); in RememberAndSkipFunctionBody() local
1533 DeferredFunctionInfo[Fn] = CurBit; in RememberAndSkipFunctionBody()