Home
last modified time | relevance | path

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

/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.cpp628 const auto &MDs = VE.getMDs(); in WriteModuleMetadata() local
629 if (MDs.empty() && M->named_metadata_empty()) in WriteModuleMetadata()
675 for (const Metadata *MD : MDs) { in WriteModuleMetadata()
724 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata() local
726 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteFunctionLocalMetadata()
727 assert(MDs[i] && "Expected valid function-local metadata"); in WriteFunctionLocalMetadata()
732 WriteValueAsMetadata(MDs[i], VE, Stream, Record); in WriteFunctionLocalMetadata()
748 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() local
753 MDs.clear(); in WriteMetadataAttachment()
754 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.cpp600 const auto &MDs = VE.getMDs(); in WriteModuleMetadata() local
601 if (MDs.empty() && M->named_metadata_empty()) in WriteModuleMetadata()
647 for (const Metadata *MD : MDs) { in WriteModuleMetadata()
696 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata() local
698 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteFunctionLocalMetadata()
699 assert(MDs[i] && "Expected valid function-local metadata"); in WriteFunctionLocalMetadata()
704 WriteValueAsMetadata(MDs[i], VE, Stream, Record); in WriteFunctionLocalMetadata()
720 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() local
725 MDs.clear(); in WriteMetadataAttachment()
726 I->getAllMetadataOtherThanDebugLoc(MDs); in WriteMetadataAttachment()
[all …]
/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 …]