Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp345 SmallVector<MDNode *, 8> MDs; in runOnModule() local
350 MDs.push_back(NMD->getOperand(i)); in runOnModule()
357 for (SmallVectorImpl<MDNode *>::iterator I = MDs.begin(), in runOnModule()
358 E = MDs.end(); I != E; ++I) { in runOnModule()
372 SmallVector<MDNode *, 8> MDs; in runOnModule() local
377 MDs.push_back(NMD->getOperand(i)); in runOnModule()
384 for (SmallVectorImpl<MDNode *>::iterator I = MDs.begin(), in runOnModule()
385 E = MDs.end(); I != E; ++I) { in runOnModule()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp68 SmallVector<std::pair<unsigned, MDNode*>, 8> MDs; in ValueEnumerator() local
94 MDs.clear(); in ValueEnumerator()
95 I->getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator()
96 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator()
97 EnumerateMetadata(MDs[i].second); in ValueEnumerator()
489 SmallVector<std::pair<unsigned, MDNode*>, 8> MDs; in incorporateFunction() local
490 I->getAllMetadataOtherThanDebugLoc(MDs); in incorporateFunction()
491 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in incorporateFunction()
492 MDNode *N = MDs[i].second; in incorporateFunction()
DBitcodeWriter.cpp811 SmallVector<std::pair<unsigned, MDNode*>, 4> MDs; in WriteMetadataAttachment() local
816 MDs.clear(); in WriteMetadataAttachment()
817 I->getAllMetadataOtherThanDebugLoc(MDs); in WriteMetadataAttachment()
820 if (MDs.empty()) continue; in WriteMetadataAttachment()
824 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteMetadataAttachment()
825 Record.push_back(MDs[i].first); in WriteMetadataAttachment()
826 Record.push_back(VE.getValueID(MDs[i].second)); in WriteMetadataAttachment()
/external/llvm/include/llvm/IR/
DInstruction.h155 void getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode*> > &MDs)const{ in getAllMetadata() argument
157 getAllMetadataImpl(MDs); in getAllMetadata()
163 MDNode*> > &MDs) const { in getAllMetadataOtherThanDebugLoc()
165 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()