/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Module.h | 78 using NamedMDListType = ilist<NamedMDNode>; 82 using NamedMDSymTabType = StringMap<NamedMDNode *>; 505 NamedMDNode *getNamedMetadata(const Twine &Name) const; 510 NamedMDNode *getOrInsertNamedMetadata(StringRef Name); 513 void eraseNamedMetadata(NamedMDNode *NMD); 536 NamedMDNode *getModuleFlagsMetadata() const; 541 NamedMDNode *getOrInsertModuleFlagsMetadata(); 639 void removeNamedMDNode(NamedMDNode *MDNode) { NamedMDList.remove(MDNode); } in removeNamedMDNode() 641 void eraseNamedMDNode(NamedMDNode *MDNode) { NamedMDList.erase(MDNode); } in eraseNamedMDNode() 643 void insertNamedMDNode(NamedMDNode *MDNode) { in insertNamedMDNode() [all …]
|
H A D | Metadata.h | 1731 class NamedMDNode : public ilist_node<NamedMDNode> { 1741 explicit NamedMDNode(const Twine &N); 1744 friend class NamedMDNode; 1746 const NamedMDNode *Node = nullptr; 1749 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) {} 1789 NamedMDNode(const NamedMDNode &) = delete; 1790 ~NamedMDNode(); 1836 DEFINE_ISA_CONVERSION_FUNCTIONS(NamedMDNode, LLVMNamedMDNodeRef)
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILMetadata.h | 20 class NamedMDNode; variable 25 NamedMDNode *Entry;
|
H A D | DXILResource.cpp | 26 NamedMDNode *Entry = M.getNamedMetadata(MDName); in collect() 37 NamedMDNode *Entry = M.getNamedMetadata(MDName); in collect() 329 NamedMDNode *Entry = M.getNamedMetadata(MDName); in write() 347 NamedMDNode *DXResMD = M.getOrInsertNamedMetadata("dx.resources"); in write() 351 NamedMDNode *Entry = M.getNamedMetadata("hlsl.uavs"); in write()
|
H A D | DXILMetadata.cpp | 80 NamedMDNode *Entry = M.getOrInsertNamedMetadata("dx.shaderModel"); in createShaderModelMD() 98 NamedMDNode *Entry = M.getOrInsertNamedMetadata("dx.version"); in createDXILVersionMD() 326 NamedMDNode *EntryPointsNamedMD = in createEntryMD()
|
H A D | DXILPrepare.cpp | 120 NamedMDNode *MDFlags = M.getModuleFlagsMetadata(); in cleanModuleFlags()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Module.cpp | 262 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 271 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 272 NamedMDNode *&NMD = NamedMDSymTab[Name]; in getOrInsertNamedMetadata() 274 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 283 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 316 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() 346 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata() 353 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata() 388 NamedMDNode *ModFlags = getOrInsertModuleFlagsMetadata(); in setModuleFlag()
|
H A D | Metadata.cpp | 1370 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 1373 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 1378 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 1382 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 1388 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand() 1390 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() 1395 void NamedMDNode::eraseFromParent() { getParent()->eraseNamedMetadata(this); } in eraseFromParent() 1397 void NamedMDNode::clearOperands() { getNMDOps(Operands).clear(); } in clearOperands() 1399 StringRef NamedMDNode::getName() const { return StringRef(Name); } in getName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
H A D | DXILValueEnumerator.h | 38 class NamedMDNode; variable 296 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.h | 37 class NamedMDNode; variable 293 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CloneModule.cpp | 209 for (const NamedMDNode &NMD : M.named_metadata()) { in CloneModule() 210 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
|
H A D | Debugify.cpp | 198 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.debugify"); in applyDebugifyMetadata() 249 NamedMDNode *DebugifyMD = M.getNamedMetadata("llvm.debugify"); in stripDebugifyMetadata() 275 NamedMDNode *NMD = M.getModuleFlagsMetadata(); in stripDebugifyMetadata() 718 NamedMDNode *NMD = M.getNamedMetadata("llvm.debugify"); in checkDebugifyMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineStripDebug.cpp | 35 NamedMDNode *DebugifyMD = M.getNamedMetadata("llvm.debugify"); in runOnModule()
|
H A D | MachineCheckDebugify.cpp | 33 NamedMDNode *NMD = M.getNamedMetadata("llvm.mir.debugify"); in runOnModule()
|
H A D | MachineDebugify.cpp | 153 NamedMDNode *NMD = M.getNamedMetadata("llvm.mir.debugify"); in applyDebugifyMetadataToMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVMetadata.cpp | 39 NamedMDNode *OpenCLKernelsMD = in getOCLKernelArgAttribute()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | TCE.cpp | 49 llvm::NamedMDNode *OpenCLMetadata = in setTargetAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.cpp | 425 NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("cfi.functions"); in splitAndWriteThinLTOBitcode() 450 NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("aliases"); in splitAndWriteThinLTOBitcode() 466 NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("symvers"); in splitAndWriteThinLTOBitcode()
|
H A D | CrossDSOCFI.cpp | 74 NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions"); in buildCFICheck()
|
H A D | StripSymbols.cpp | 258 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu"); in stripDeadDebugInfoImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAsmPrinter.cpp | 421 if (const NamedMDNode *Named = M.getNamedMetadata("wasm.custom_sections")) { in emitEndOfAsmFile() 448 if (const NamedMDNode *Debug = M.getNamedMetadata("llvm.dbg.cu")) { in EmitProducerInfo() 460 if (const NamedMDNode *Ident = M.getNamedMetadata("llvm.ident")) { in EmitProducerInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 1189 NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu"); in prepareCompileUnitsForImport() 1222 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes() 1223 for (const NamedMDNode &NMD : SrcM->named_metadata()) { in linkNamedMDNodes() 1243 NamedMDNode *DestNMD = DstM.getOrInsertNamedMetadata(NMD.getName()); in linkNamedMDNodes() 1253 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkModuleFlagsMetadata() 1262 NamedMDNode *DstModFlags = DstM.getOrInsertModuleFlagsMetadata(); in linkModuleFlagsMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | IRSymtab.cpp | 157 if (NamedMDNode *LinkerOptions = in addModule() 168 if (NamedMDNode *N = M->getNamedMetadata("llvm.dependent-libraries")) { in addModule()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 117 emitProfileNotes(NamedMDNode *CUNode, bool HasExecOrFork, 512 if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) { in mangleName() 560 NamedMDNode *CUNode = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule() 763 NamedMDNode *CUNode, bool HasExecOrFork, in emitProfileNotes() 1094 NamedMDNode *CUNodes = M->getNamedMetadata("llvm.dbg.cu"); in insertCounterWriteout()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | IRForTarget.cpp | 114 NamedMDNode *named_metadata = in DeclForGlobal() 355 NamedMDNode *named_metadata = in CreateResultVariable() 905 NamedMDNode *named_metadata = in RewritePersistentAlloc()
|