Searched refs:GetCurrentBitNo (Results 1 – 14 of 14) sorted by relevance
121 uint64_t GetCurrentBitNo() const { in GetCurrentBitNo() function126 uint64_t getCurrentByteNo() const { return GetCurrentBitNo() / 8; } in getCurrentByteNo()375 using SimpleBitstreamCursor::GetCurrentBitNo;482 size_t SkipTo = GetCurrentBitNo() + NumFourBytes * 4 * 8; in SkipBlock()489 GetCurrentBitNo()); in SkipBlock()
129 uint64_t GetCurrentBitNo() const { return GetBufferOffset() * 8 + CurBit; } in GetCurrentBitNo() function
90 uint64_t Offset = Writer->Stream.GetCurrentBitNo();100 PrepareToEmit(Writer->Stream.GetCurrentBitNo());102 return Writer->Stream.GetCurrentBitNo();
348 : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) {} in SavedStreamPosition()
159 JumpToBit(GetCurrentBitNo() + static_cast<uint64_t>(NumElts) * in skipRecord()173 if (Error Err = JumpToBit(GetCurrentBitNo() + NumElts * 6)) in skipRecord()189 const size_t NewEnd = GetCurrentBitNo() + alignTo(NumElts, 4) * 8; in skipRecord()316 size_t CurBitPos = GetCurrentBitNo(); in readRecord()
737 uint64_t BlockBitStart = Stream.GetCurrentBitNo(); in parseBlock()797 uint64_t RecordStartBit = Stream.GetCurrentBitNo(); in parseBlock()809 uint64_t BlockBitEnd = Stream.GetCurrentBitNo(); in parseBlock()822 uint64_t SubBlockBitStart = Stream.GetCurrentBitNo(); in parseBlock()826 uint64_t SubBlockBitEnd = Stream.GetCurrentBitNo(); in parseBlock()849 uint64_t CurrentRecordPos = Stream.GetCurrentBitNo(); in parseBlock()860 Stream.GetCurrentBitNo() - RecordStartBit; in parseBlock()893 MetadataIndexOffset = Stream.GetCurrentBitNo() + Offset; in parseBlock()
700 uint64_t SavedPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()717 uint64_t CurrentPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()757 auto BeginPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()925 uint64_t CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()957 CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()975 auto EntryPos = Stream.GetCurrentBitNo(); in parseMetadata()
2053 uint64_t CurrentBit = Stream.GetCurrentBitNo(); in jumpToValueSymbolTable()2999 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata()3046 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody()3135 NextUnreadBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBodies()3668 NextUnreadBit = Stream.GetCurrentBitNo(); in parseModule()6673 IdentificationBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()6690 uint64_t ModuleBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()
1055 auto StartOfUnhashedControl = Stream.GetCurrentBitNo() >> 3; in writeUnhashedControlBlock()1502 InputFileOffsets.push_back(Stream.GetCurrentBitNo()); in WriteInputFiles()1942 uint64_t SLocEntryOffsetsBase = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()2149 uint64_t MacroOffsetsBase = Stream.GetCurrentBitNo(); in WritePreprocessor()2291 uint64_t Offset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessor()2893 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextLexicalBlock()3901 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextVisibleBlock()4487 ASTBlockRange.first = Stream.GetCurrentBitNo(); in WriteASTCore()4489 ASTBlockStartOffset = Stream.GetCurrentBitNo(); in WriteASTCore()4679 DeclTypesBlockStartOffset = Stream.GetCurrentBitNo(); in WriteASTCore()[all …]
1343 F.SourceManagerBlockStartOffset = SLocEntryCursor.GetCurrentBitNo(); in ReadSourceManagerBlock()1644 *StartOfBlockOffset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()1647 uint64_t Offset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()2965 F.ASTBlockStartOffset = Stream.GetCurrentBitNo(); in ReadASTBlock()3026 F.MacroStartOffset = F.MacroCursor.GetCurrentBitNo(); in ReadASTBlock()3042 = F.PreprocessorDetailCursor.GetCurrentBitNo(); in ReadASTBlock()
3886 StmtEntries[Cursor.GetCurrentBitNo()] = S; in ReadStmtFromStream()
508 return Loc.F->DeclsCursor.GetCurrentBitNo() + Loc.F->GlobalBitOffset; in GetCurrentCursorOffset()
250 uint64_t PreviousBitNo = Stream.GetCurrentBitNo(); in isBlock()
275 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()1193 VSTOffsetPlaceholder = Stream.GetCurrentBitNo() - 32; in writeValueSymbolTableForwardDecl()2155 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()2222 uint64_t IndexOffsetRecordBitPos = Stream.GetCurrentBitNo(); in writeModuleMetadata()2237 Stream.GetCurrentBitNo() - IndexOffsetRecordBitPos); in writeModuleMetadata()3185 uint64_t VSTOffset = Stream.GetCurrentBitNo(); in writeGlobalValueSymbolTable()3308 FunctionToBitcodeIndex[&F] = Stream.GetCurrentBitNo(); in writeFunction()