Home
last modified time | relevance | path

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

/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp73 SmallVector<std::pair<unsigned, MDNode*>, 8> MDs; in ValueEnumerator() local
96 MDs.clear(); in ValueEnumerator()
97 I.getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator()
98 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator()
99 EnumerateMetadata(MDs[i].second); in ValueEnumerator()
490 SmallVector<std::pair<unsigned, MDNode*>, 8> MDs; in incorporateFunction() local
491 I->getAllMetadataOtherThanDebugLoc(MDs); in incorporateFunction()
492 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in incorporateFunction()
493 MDNode *N = MDs[i].second; in incorporateFunction()
DBitcodeWriter.cpp857 SmallVector<std::pair<unsigned, MDNode*>, 4> MDs; in WriteMetadataAttachment() local
862 MDs.clear(); in WriteMetadataAttachment()
863 I->getAllMetadataOtherThanDebugLoc(MDs); in WriteMetadataAttachment()
866 if (MDs.empty()) continue; in WriteMetadataAttachment()
870 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteMetadataAttachment()
871 Record.push_back(MDs[i].first); in WriteMetadataAttachment()
872 Record.push_back(VE.getValueID(MDs[i].second)); in WriteMetadataAttachment()
/external/llvm/include/llvm/IR/
DInstruction.h158 void getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode*> > &MDs)const{ in getAllMetadata() argument
160 getAllMetadataImpl(MDs); in getAllMetadata()
166 MDNode*> > &MDs) const { in getAllMetadataOtherThanDebugLoc()
168 getAllMetadataOtherThanDebugLocImpl(MDs); in getAllMetadataOtherThanDebugLoc()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp211 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in RemapInstruction() local
212 I->getAllMetadata(MDs); in RemapInstruction()
214 MI = MDs.begin(), ME = MDs.end(); MI != ME; ++MI) { in RemapInstruction()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp321 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in transferMetadata() local
322 Op->getAllMetadataOtherThanDebugLoc(MDs); in transferMetadata()
326 MI = MDs.begin(), ME = MDs.end(); MI != ME; ++MI) in transferMetadata()