Searched refs:GetCurrentBitNo (Results 1 – 15 of 15) sorted by relevance
117 uint64_t GetCurrentBitNo() const { in GetCurrentBitNo() function122 uint64_t getCurrentByteNo() const { return GetCurrentBitNo() / 8; } in getCurrentByteNo()393 using SimpleBitstreamCursor::GetCurrentBitNo;500 size_t SkipTo = GetCurrentBitNo() + NumFourBytes * 4 * 8; in SkipBlock()507 GetCurrentBitNo()); in SkipBlock()
123 uint64_t GetCurrentBitNo() const { return GetBufferOffset() * 8 + CurBit; } in GetCurrentBitNo() function
93 uint64_t Offset = Writer->Stream.GetCurrentBitNo();103 PrepareToEmit(Writer->Stream.GetCurrentBitNo());105 return Writer->Stream.GetCurrentBitNo();
354 : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) {} in SavedStreamPosition()
738 uint64_t BlockBitStart = Stream.GetCurrentBitNo(); in parseBlock()796 uint64_t RecordStartBit = Stream.GetCurrentBitNo(); in parseBlock()807 uint64_t BlockBitEnd = Stream.GetCurrentBitNo(); in parseBlock()820 uint64_t SubBlockBitStart = Stream.GetCurrentBitNo(); in parseBlock()824 uint64_t SubBlockBitEnd = Stream.GetCurrentBitNo(); in parseBlock()847 uint64_t CurrentRecordPos = Stream.GetCurrentBitNo(); in parseBlock()857 Stream.GetCurrentBitNo() - RecordStartBit; in parseBlock()893 MetadataIndexOffset = Stream.GetCurrentBitNo() + Offset; in parseBlock()
687 uint64_t SavedPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()705 uint64_t CurrentPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()744 auto BeginPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()914 uint64_t CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()946 CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()972 auto EntryPos = Stream.GetCurrentBitNo(); in parseMetadata()
2672 uint64_t CurrentBit = Stream.GetCurrentBitNo(); in jumpToValueSymbolTable()3612 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata()3659 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody()3742 NextUnreadBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBodies()4367 NextUnreadBit = Stream.GetCurrentBitNo(); in parseModule()7853 IdentificationBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()7870 uint64_t ModuleBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()
168 JumpToBit(GetCurrentBitNo() + static_cast<uint64_t>(NumElts) * in skipRecord()182 if (Error Err = JumpToBit(GetCurrentBitNo() + NumElts * 6)) in skipRecord()198 const size_t NewEnd = GetCurrentBitNo() + alignTo(NumElts, 4) * 8; in skipRecord()336 size_t CurBitPos = GetCurrentBitNo(); in readRecord()
1137 auto StartOfUnhashedControl = Stream.GetCurrentBitNo() >> 3; in writeUnhashedControlBlock()1612 InputFileOffsets.push_back(Stream.GetCurrentBitNo()); in WriteInputFiles()2040 const uint64_t SourceManagerBlockOffset = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()2053 uint64_t SLocEntryOffsetsBase = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()2064 uint64_t Offset = Stream.GetCurrentBitNo() - SLocEntryOffsetsBase; in WriteSourceManagerBlock()2289 uint64_t MacroOffsetsBase = Stream.GetCurrentBitNo(); in WritePreprocessor()2368 uint64_t StartOffset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessor()2470 uint64_t Offset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessor()2588 uint64_t Offset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessorDetail()3100 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextLexicalBlock()[all …]
1380 F.SourceManagerBlockStartOffset = SLocEntryCursor.GetCurrentBitNo(); in ReadSourceManagerBlock()1646 *StartOfBlockOffset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()1649 uint64_t Offset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()3009 F.ASTBlockStartOffset = Stream.GetCurrentBitNo(); in ReadASTBlock()3062 F.MacroStartOffset = F.MacroCursor.GetCurrentBitNo(); in ReadASTBlock()3075 = F.PreprocessorDetailCursor.GetCurrentBitNo(); in ReadASTBlock()
515 return Loc.F->DeclsCursor.GetCurrentBitNo() + Loc.F->GlobalBitOffset; in GetCurrentCursorOffset()
4081 StmtEntries[Cursor.GetCurrentBitNo()] = S; in ReadStmtFromStream()
252 uint64_t PreviousBitNo = Stream.GetCurrentBitNo(); in isBlock()
275 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()1251 VSTOffsetPlaceholder = Stream.GetCurrentBitNo() - 32; in writeValueSymbolTableForwardDecl()2241 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()2308 uint64_t IndexOffsetRecordBitPos = Stream.GetCurrentBitNo(); in writeModuleMetadata()2323 Stream.GetCurrentBitNo() - IndexOffsetRecordBitPos); in writeModuleMetadata()3281 uint64_t VSTOffset = Stream.GetCurrentBitNo(); in writeGlobalValueSymbolTable()3404 FunctionToBitcodeIndex[&F] = Stream.GetCurrentBitNo(); in writeFunction()
138 BitcodeStartBit(Stream.GetCurrentBitNo()), in DXILBitcodeWriter()1747 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()