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()
731 uint64_t BlockBitStart = Stream.GetCurrentBitNo(); in parseBlock()789 uint64_t RecordStartBit = Stream.GetCurrentBitNo(); in parseBlock()800 uint64_t BlockBitEnd = Stream.GetCurrentBitNo(); in parseBlock()813 uint64_t SubBlockBitStart = Stream.GetCurrentBitNo(); in parseBlock()817 uint64_t SubBlockBitEnd = Stream.GetCurrentBitNo(); in parseBlock()840 uint64_t CurrentRecordPos = Stream.GetCurrentBitNo(); in parseBlock()850 Stream.GetCurrentBitNo() - RecordStartBit; in parseBlock()886 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()913 uint64_t CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()945 CurrentPos = TempCursor.GetCurrentBitNo(); in loadGlobalDeclAttachments()963 auto EntryPos = Stream.GetCurrentBitNo(); in parseMetadata()
2548 uint64_t CurrentBit = Stream.GetCurrentBitNo(); in jumpToValueSymbolTable()3485 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipMetadata()3532 uint64_t CurBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBody()3620 NextUnreadBit = Stream.GetCurrentBitNo(); in rememberAndSkipFunctionBodies()4205 NextUnreadBit = Stream.GetCurrentBitNo(); in parseModule()7590 IdentificationBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()7607 uint64_t ModuleBit = Stream.GetCurrentBitNo() - BCBegin * 8; in getBitcodeFileContents()
167 JumpToBit(GetCurrentBitNo() + static_cast<uint64_t>(NumElts) * in skipRecord()181 if (Error Err = JumpToBit(GetCurrentBitNo() + NumElts * 6)) in skipRecord()197 const size_t NewEnd = GetCurrentBitNo() + alignTo(NumElts, 4) * 8; in skipRecord()335 size_t CurBitPos = GetCurrentBitNo(); in readRecord()
1124 auto StartOfUnhashedControl = Stream.GetCurrentBitNo() >> 3; in writeUnhashedControlBlock()1608 InputFileOffsets.push_back(Stream.GetCurrentBitNo()); in WriteInputFiles()2044 uint64_t SLocEntryOffsetsBase = Stream.GetCurrentBitNo(); in WriteSourceManagerBlock()2281 uint64_t MacroOffsetsBase = Stream.GetCurrentBitNo(); in WritePreprocessor()2459 uint64_t Offset = Stream.GetCurrentBitNo() - MacroOffsetsBase; in WritePreprocessor()3081 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextLexicalBlock()4098 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextVisibleBlock()4689 ASTBlockRange.first = Stream.GetCurrentBitNo(); in WriteASTCore()4691 ASTBlockStartOffset = Stream.GetCurrentBitNo(); in WriteASTCore()4881 DeclTypesBlockStartOffset = Stream.GetCurrentBitNo(); in WriteASTCore()[all …]
1382 F.SourceManagerBlockStartOffset = SLocEntryCursor.GetCurrentBitNo(); in ReadSourceManagerBlock()1677 *StartOfBlockOffset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()1680 uint64_t Offset = Cursor.GetCurrentBitNo(); in ReadBlockAbbrevs()3018 F.ASTBlockStartOffset = Stream.GetCurrentBitNo(); in ReadASTBlock()3071 F.MacroStartOffset = F.MacroCursor.GetCurrentBitNo(); in ReadASTBlock()3084 = F.PreprocessorDetailCursor.GetCurrentBitNo(); in ReadASTBlock()
4023 StmtEntries[Cursor.GetCurrentBitNo()] = S; in ReadStmtFromStream()
510 return Loc.F->DeclsCursor.GetCurrentBitNo() + Loc.F->GlobalBitOffset; in GetCurrentCursorOffset()
251 uint64_t PreviousBitNo = Stream.GetCurrentBitNo(); in isBlock()
276 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()1212 VSTOffsetPlaceholder = Stream.GetCurrentBitNo() - 32; in writeValueSymbolTableForwardDecl()2193 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()2260 uint64_t IndexOffsetRecordBitPos = Stream.GetCurrentBitNo(); in writeModuleMetadata()2275 Stream.GetCurrentBitNo() - IndexOffsetRecordBitPos); in writeModuleMetadata()3233 uint64_t VSTOffset = Stream.GetCurrentBitNo(); in writeGlobalValueSymbolTable()3356 FunctionToBitcodeIndex[&F] = Stream.GetCurrentBitNo(); in writeFunction()
137 BitcodeStartBit(Stream.GetCurrentBitNo()), in DXILBitcodeWriter()1754 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()