Home
last modified time | relevance | path

Searched refs:IndexPos (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp324 std::vector<uint64_t> *IndexPos = nullptr);
1731 std::vector<uint64_t> *IndexPos) { in writeMetadataRecords() argument
1740 if (IndexPos) in writeMetadataRecords()
1741 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()
1817 std::vector<uint64_t> IndexPos; in writeModuleMetadata() local
1818 IndexPos.reserve(VE.getNonMDStrings().size()); in writeModuleMetadata()
1819 writeMetadataRecords(VE.getNonMDStrings(), Record, &MDAbbrevs, &IndexPos); in writeModuleMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp385 std::vector<uint64_t> *IndexPos = nullptr);
2367 std::vector<unsigned> *MDAbbrevs, std::vector<uint64_t> *IndexPos) { in writeMetadataRecords() argument
2376 if (IndexPos) in writeMetadataRecords()
2377 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()
2451 std::vector<uint64_t> IndexPos; in writeModuleMetadata() local
2452 IndexPos.reserve(VE.getNonMDStrings().size()); in writeModuleMetadata()
2455 writeMetadataRecords(VE.getNonMDStrings(), Record, &MDAbbrevs, &IndexPos); in writeModuleMetadata()
2467 for (auto &Elt : IndexPos) { in writeModuleMetadata()
2473 Stream.EmitRecord(bitc::METADATA_INDEX, IndexPos, IndexAbbrev); in writeModuleMetadata()
2474 IndexPos.clear(); in writeModuleMetadata()