Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp316 std::vector<uint64_t> *IndexPos = nullptr);
1744 std::vector<uint64_t> *IndexPos) { in writeMetadataRecords() argument
1753 if (IndexPos) in writeMetadataRecords()
1754 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()
1826 std::vector<uint64_t> IndexPos; in writeModuleMetadata() local
1827 IndexPos.reserve(VE.getNonMDStrings().size()); in writeModuleMetadata()
1828 writeMetadataRecords(VE.getNonMDStrings(), Record, &MDAbbrevs, &IndexPos); in writeModuleMetadata()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp374 std::vector<uint64_t> *IndexPos = nullptr);
2183 std::vector<unsigned> *MDAbbrevs, std::vector<uint64_t> *IndexPos) { in writeMetadataRecords() argument
2192 if (IndexPos) in writeMetadataRecords()
2193 IndexPos->push_back(Stream.GetCurrentBitNo()); in writeMetadataRecords()
2263 std::vector<uint64_t> IndexPos; in writeModuleMetadata() local
2264 IndexPos.reserve(VE.getNonMDStrings().size()); in writeModuleMetadata()
2267 writeMetadataRecords(VE.getNonMDStrings(), Record, &MDAbbrevs, &IndexPos); in writeModuleMetadata()
2279 for (auto &Elt : IndexPos) { in writeModuleMetadata()
2285 Stream.EmitRecord(bitc::METADATA_INDEX, IndexPos, IndexAbbrev); in writeModuleMetadata()
2286 IndexPos.clear(); in writeModuleMetadata()