Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/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()
123 CurValue |= Val << CurBit; in Emit()
124 if (CurBit + NumBits < 32) { in Emit()
125 CurBit += NumBits; in Emit()
132 if (CurBit) in Emit()
133 CurValue = Val >> (32-CurBit); in Emit()
136 CurBit = (CurBit+NumBits) & 31; in Emit()
[all …]
/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/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/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-7.0/llvm/lib/TableGen/
DRecord.cpp427 Init *CurBit = getBit(i); in resolveReferences() local
428 Init *NewBit = CurBit; in resolveReferences()
430 if (VarBitInit *CurBitVar = dyn_cast<VarBitInit>(CurBit)) { in resolveReferences()
439 NewBit = CurBit->resolveReferences(R)->getBit(0); in resolveReferences()
443 NewBit = CurBit; in resolveReferences()
445 Changed |= CurBit != NewBit; in resolveReferences()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2676 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata() local
2677 DeferredMetadataInfo.push_back(CurBit); in rememberAndSkipMetadata()
2719 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody() local
2721 (DeferredFunctionInfo[Fn] == 0 || DeferredFunctionInfo[Fn] == CurBit) && in rememberAndSkipFunctionBody()
2723 DeferredFunctionInfo[Fn] = CurBit; in rememberAndSkipFunctionBody()
/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()