Home
last modified time | relevance | path

Searched refs:MDs (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() local
107 MDs.clear(); in ValueEnumerator()
108 I.getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator()
109 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator()
110 EnumerateMetadata(MDs[i].second); in ValueEnumerator()
284 MDs.push_back(MD); in EnumerateMetadata()
285 MDValueMap[MD] = MDs.size(); in EnumerateMetadata()
297 MDs.push_back(Local); in EnumerateFunctionLocalMetadata()
298 MDValueID = MDs.size(); in EnumerateFunctionLocalMetadata()
459 NumModuleMDs = MDs.size(); in incorporateFunction()
[all …]
DValueEnumerator.h59 std::vector<const llvm::Metadata *> MDs; variable
151 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs()
DBitcodeWriter.cpp599 const auto &MDs = VE.getMDs(); in WriteModuleMetadata() local
600 if (MDs.empty() && M->named_metadata_empty()) in WriteModuleMetadata()
646 for (const Metadata *MD : MDs) { in WriteModuleMetadata()
695 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata() local
697 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteFunctionLocalMetadata()
698 assert(MDs[i] && "Expected valid function-local metadata"); in WriteFunctionLocalMetadata()
703 WriteValueAsMetadata(MDs[i], VE, Stream, Record); in WriteFunctionLocalMetadata()
719 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() local
724 MDs.clear(); in WriteMetadataAttachment()
725 I->getAllMetadataOtherThanDebugLoc(MDs); in WriteMetadataAttachment()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() local
107 MDs.clear(); in ValueEnumerator()
108 I.getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator()
109 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator()
110 EnumerateMetadata(MDs[i].second); in ValueEnumerator()
284 MDs.push_back(MD); in EnumerateMetadata()
285 MDValueMap[MD] = MDs.size(); in EnumerateMetadata()
297 MDs.push_back(Local); in EnumerateFunctionLocalMetadata()
298 MDValueID = MDs.size(); in EnumerateFunctionLocalMetadata()
459 NumModuleMDs = MDs.size(); in incorporateFunction()
[all …]
DValueEnumerator.h62 std::vector<const llvm::Metadata *> MDs; variable
154 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs()
DBitcodeWriter.cpp629 const auto &MDs = VE.getMDs(); in WriteModuleMetadata() local
630 if (MDs.empty() && M->named_metadata_empty()) in WriteModuleMetadata()
676 for (const Metadata *MD : MDs) { in WriteModuleMetadata()
725 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata() local
727 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteFunctionLocalMetadata()
728 assert(MDs[i] && "Expected valid function-local metadata"); in WriteFunctionLocalMetadata()
733 WriteValueAsMetadata(MDs[i], VE, Stream, Record); in WriteFunctionLocalMetadata()
749 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() local
754 MDs.clear(); in WriteMetadataAttachment()
755 I->getAllMetadataOtherThanDebugLoc(MDs); in WriteMetadataAttachment()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() local
107 MDs.clear(); in ValueEnumerator()
108 I.getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator()
109 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator()
110 EnumerateMetadata(MDs[i].second); in ValueEnumerator()
284 MDs.push_back(MD); in EnumerateMetadata()
285 MDValueMap[MD] = MDs.size(); in EnumerateMetadata()
297 MDs.push_back(Local); in EnumerateFunctionLocalMetadata()
298 MDValueID = MDs.size(); in EnumerateFunctionLocalMetadata()
459 NumModuleMDs = MDs.size(); in incorporateFunction()
[all …]
DValueEnumerator.h59 std::vector<const llvm::Metadata *> MDs; variable
151 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs()
DBitcodeWriter.cpp601 const auto &MDs = VE.getMDs(); in WriteModuleMetadata() local
602 if (MDs.empty() && M->named_metadata_empty()) in WriteModuleMetadata()
648 for (const Metadata *MD : MDs) { in WriteModuleMetadata()
697 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata() local
699 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteFunctionLocalMetadata()
700 assert(MDs[i] && "Expected valid function-local metadata"); in WriteFunctionLocalMetadata()
705 WriteValueAsMetadata(MDs[i], VE, Stream, Record); in WriteFunctionLocalMetadata()
721 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() local
726 MDs.clear(); in WriteMetadataAttachment()
727 I->getAllMetadataOtherThanDebugLoc(MDs); in WriteMetadataAttachment()
[all …]