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()392 using SimpleBitstreamCursor::GetCurrentBitNo;499 size_t SkipTo = GetCurrentBitNo() + NumFourBytes * 4 * 8; in SkipBlock()506 GetCurrentBitNo()); in SkipBlock()
124 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();
359 : 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()
771 uint64_t SavedPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()789 uint64_t CurrentPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()828 auto BeginPos = IndexCursor.GetCurrentBitNo(); in lazyLoadModuleMetadataBlock()998 uint64_t CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()1030 CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()1056 auto EntryPos = Stream.GetCurrentBitNo(); in parseMetadata()
2706 uint64_t CurrentBit = Stream.GetCurrentBitNo(); in jumpToValueSymbolTable()3640 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata()3687 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody()3770 NextUnreadBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBodies()4408 NextUnreadBit = Stream.GetCurrentBitNo(); in parseModule()7905 IdentificationBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()7922 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()
1175 UnhashedControlBlockRange.first = Stream.GetCurrentBitNo() >> 3; in writeUnhashedControlBlock()1211 SignatureOffset = Stream.GetCurrentBitNo() - Blob.size() * 8; in writeUnhashedControlBlock()1625 uint64_t InputFilesOffsetBase = Stream.GetCurrentBitNo(); in WriteInputFiles()2146 uint64_t SLocEntryOffsetsBase = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()2352 uint64_t MacroOffsetsBase = Stream.GetCurrentBitNo(); in WritePreprocessor()3177 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextLexicalBlock()4198 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextVisibleBlock()4896 ASTBlockRange.first = Stream.GetCurrentBitNo() >> 3; in WriteASTCore()4898 ASTBlockStartOffset = Stream.GetCurrentBitNo(); in WriteASTCore()5084 DeclTypesBlockStartOffset = Stream.GetCurrentBitNo(); in WriteASTCore()[all …]
1420 F.SourceManagerBlockStartOffset = SLocEntryCursor.GetCurrentBitNo(); in ReadSourceManagerBlock()1764 *StartOfBlockOffset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()1767 uint64_t Offset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()2912 F.InputFilesOffsetBase = F.InputFilesCursor.GetCurrentBitNo(); in ReadControlBlock()3199 F.ASTBlockStartOffset = Stream.GetCurrentBitNo(); in ReadASTBlock()3252 F.MacroStartOffset = F.MacroCursor.GetCurrentBitNo(); in ReadASTBlock()3265 = F.PreprocessorDetailCursor.GetCurrentBitNo(); in ReadASTBlock()5473 InputFilesOffsetBase = InputFilesCursor.GetCurrentBitNo(); in readASTFileControlBlock()
4208 StmtEntries[Cursor.GetCurrentBitNo()] = S; in ReadStmtFromStream()
528 return Loc.F->DeclsCursor.GetCurrentBitNo() + Loc.F->GlobalBitOffset; in GetCurrentCursorOffset()
252 uint64_t PreviousBitNo = Stream.GetCurrentBitNo(); in isBlock()
276 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()1290 VSTOffsetPlaceholder = Stream.GetCurrentBitNo() - 32; in writeValueSymbolTableForwardDecl()2286 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()2357 uint64_t IndexOffsetRecordBitPos = Stream.GetCurrentBitNo(); in writeModuleMetadata()2372 Stream.GetCurrentBitNo() - IndexOffsetRecordBitPos); in writeModuleMetadata()3330 uint64_t VSTOffset = Stream.GetCurrentBitNo(); in writeGlobalValueSymbolTable()3453 FunctionToBitcodeIndex[&F] = Stream.GetCurrentBitNo(); in writeFunction()
138 BitcodeStartBit(Stream.GetCurrentBitNo()), in DXILBitcodeWriter()1742 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()