/external/llvm/lib/Transforms/IPO/ |
D | StripSymbols.cpp | 264 NamedMDNode *NMD = NMI; in StripDebugInfo() local 266 if (NMD->getName().startswith("llvm.dbg.")) { in StripDebugInfo() 267 NMD->eraseFromParent(); in StripDebugInfo() 355 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.gv")) { in runOnModule() local 357 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) in runOnModule() 358 if (DIGlobalVariable(NMD->getOperand(i)).Verify()) in runOnModule() 359 MDs.push_back(NMD->getOperand(i)); in runOnModule() 362 NMD->eraseFromParent(); in runOnModule() 363 NMD = NULL; in runOnModule() 369 if (!NMD) in runOnModule() [all …]
|
D | DeadArgumentElimination.cpp | 203 NamedMDNode &NMD = *I; in CollectFunctionDIs() local 204 for (unsigned MDIndex = 0, MDNum = NMD.getNumOperands(); in CollectFunctionDIs() 206 MDNode *Node = NMD.getOperand(MDIndex); in CollectFunctionDIs()
|
/external/llvm/lib/IR/ |
D | Module.cpp | 312 NamedMDNode *&NMD = in getOrInsertNamedMetadata() local 314 if (!NMD) { in getOrInsertNamedMetadata() 315 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 316 NMD->setParent(this); in getOrInsertNamedMetadata() 317 NamedMDList.push_back(NMD); in getOrInsertNamedMetadata() 319 return NMD; in getOrInsertNamedMetadata() 324 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() argument 325 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata() 326 NamedMDList.erase(NMD); in eraseNamedMetadata()
|
D | TypeFinder.cpp | 79 const NamedMDNode *NMD = I; in run() local 80 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) in run() 81 incorporateMDNode(NMD->getOperand(i)); in run()
|
D | DIBuilder.cpp | 51 if (NamedMDNode *NMD = getFnSpecificMDNode(M, SP)) { in finalize() local 52 for (unsigned ii = 0, ee = NMD->getNumOperands(); ii != ee; ++ii) in finalize() 53 Variables.push_back(NMD->getOperand(ii)); in finalize() 54 NMD->eraseFromParent(); in finalize() 112 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu"); in createCompileUnit() local 113 NMD->addOperand(TheCU); in createCompileUnit()
|
D | AsmWriter.cpp | 500 const NamedMDNode *NMD = I; in processModule() local 501 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) in processModule() 502 CreateMetadataSlot(NMD->getOperand(i)); in processModule() 1247 void printNamedMDNode(const NamedMDNode *NMD); 1400 void AssemblyWriter::printNamedMDNode(const NamedMDNode *NMD) { in printNamedMDNode() argument 1402 StringRef Name = NMD->getName(); in printNamedMDNode() 1422 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) { in printNamedMDNode() 1424 int Slot = Machine.getMetadataSlot(NMD->getOperand(i)); in printNamedMDNode()
|
D | Verifier.cpp | 243 void visitNamedMDNode(NamedMDNode &NMD); 481 void Verifier::visitNamedMDNode(NamedMDNode &NMD) { in visitNamedMDNode() argument 482 for (unsigned i = 0, e = NMD.getNumOperands(); i != e; ++i) { in visitNamedMDNode() 483 MDNode *MD = NMD.getOperand(i); in visitNamedMDNode()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 115 const NamedMDNode &NMD = *I; in CloneModule() local 116 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule() 117 for (unsigned i = 0, e = NMD.getNumOperands(); i != e; ++i) in CloneModule() 118 NewNMD->addOperand(MapValue(NMD.getOperand(i), VMap)); in CloneModule()
|
/external/llvm/unittests/IR/ |
D | MetadataTest.cpp | 142 NamedMDNode *NMD = M.getOrInsertNamedMetadata(Name); in TEST() local 143 NMD->addOperand(n); in TEST() 144 NMD->addOperand(n2); in TEST() 148 NMD->print(oss); in TEST()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXUtilities.cpp | 64 NamedMDNode *NMD = m->getNamedMetadata(llvm::NamedMDForAnnotations); in cacheAnnotationFromMD() local 65 if (!NMD) in cacheAnnotationFromMD() 68 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) { in cacheAnnotationFromMD() 69 const MDNode *elem = NMD->getOperand(i); in cacheAnnotationFromMD()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 335 if (NamedMDNode *NMD = in doInitialization() local 337 if (NMD->getNumOperands() == 1) { in doInitialization() 338 const MDNode *N = NMD->getOperand(0); in doInitialization()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 159 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
D | BitcodeWriter.cpp | 675 const NamedMDNode *NMD = I; in WriteModuleMetadata() local 682 StringRef Str = NMD->getName(); in WriteModuleMetadata() 689 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) in WriteModuleMetadata() 690 Record.push_back(VE.getValueID(NMD->getOperand(i))); in WriteModuleMetadata()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 387 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) in runOnModule() local 388 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) { in runOnModule() 390 DISubprogram SP(NMD->getOperand(i)); in runOnModule()
|
/external/llvm/include/llvm/IR/ |
D | Module.h | 402 void eraseNamedMetadata(NamedMDNode *NMD);
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 907 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name); in ParseMetadata() local 912 NMD->addOperand(MD); in ParseMetadata()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 553 NamedMDNode *NMD = M->getOrInsertNamedMetadata(Name); in ParseNamedMetadata() local 561 NMD->addOperand(N); in ParseNamedMetadata()
|