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()
128 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()
2080 uint64_t CurrentBit = Stream.GetCurrentBitNo(); in jumpToValueSymbolTable()3032 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata()3079 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody()3168 NextUnreadBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBodies()3709 NextUnreadBit = Stream.GetCurrentBitNo(); in parseModule()6742 IdentificationBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()6759 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()1929 const uint64_t SourceManagerBlockOffset = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()1942 uint64_t SLocEntryOffsetsBase = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()1953 uint64_t Offset = Stream.GetCurrentBitNo() - SLocEntryOffsetsBase; in WriteSourceManagerBlock()2149 uint64_t MacroOffsetsBase = Stream.GetCurrentBitNo(); in WritePreprocessor()2214 uint64_t StartOffset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessor()2291 uint64_t Offset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessor()2394 uint64_t Offset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessorDetail()2893 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextLexicalBlock()[all …]
1341 F.SourceManagerBlockStartOffset = SLocEntryCursor.GetCurrentBitNo(); in ReadSourceManagerBlock()1642 *StartOfBlockOffset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()1645 uint64_t Offset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()2958 F.ASTBlockStartOffset = Stream.GetCurrentBitNo(); in ReadASTBlock()3019 F.MacroStartOffset = F.MacroCursor.GetCurrentBitNo(); in ReadASTBlock()3035 = F.PreprocessorDetailCursor.GetCurrentBitNo(); in ReadASTBlock()
3861 StmtEntries[Cursor.GetCurrentBitNo()] = S; in ReadStmtFromStream()
506 return Loc.F->DeclsCursor.GetCurrentBitNo() + Loc.F->GlobalBitOffset; in GetCurrentCursorOffset()
250 uint64_t PreviousBitNo = Stream.GetCurrentBitNo(); in isBlock()
275 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()1189 VSTOffsetPlaceholder = Stream.GetCurrentBitNo() - 32; in writeValueSymbolTableForwardDecl()2151 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()2218 uint64_t IndexOffsetRecordBitPos = Stream.GetCurrentBitNo(); in writeModuleMetadata()2233 Stream.GetCurrentBitNo() - IndexOffsetRecordBitPos); in writeModuleMetadata()3181 uint64_t VSTOffset = Stream.GetCurrentBitNo(); in writeGlobalValueSymbolTable()3304 FunctionToBitcodeIndex[&F] = Stream.GetCurrentBitNo(); in writeFunction()