Home
last modified time | relevance | path

Searched refs:NamedMDNode (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h78 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 DMetadata.h1731 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 DDXILMetadata.h20 class NamedMDNode; variable
25 NamedMDNode *Entry;
H A DDXILResource.cpp26 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 DDXILMetadata.cpp80 NamedMDNode *Entry = M.getOrInsertNamedMetadata("dx.shaderModel"); in createShaderModelMD()
98 NamedMDNode *Entry = M.getOrInsertNamedMetadata("dx.version"); in createDXILVersionMD()
326 NamedMDNode *EntryPointsNamedMD = in createEntryMD()
H A DDXILPrepare.cpp120 NamedMDNode *MDFlags = M.getModuleFlagsMetadata(); in cleanModuleFlags()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp262 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 DMetadata.cpp1370 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 DDXILValueEnumerator.h38 class NamedMDNode; variable
296 void EnumerateNamedMDNode(const NamedMDNode *NMD);
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h37 class NamedMDNode; variable
293 void EnumerateNamedMDNode(const NamedMDNode *NMD);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp209 for (const NamedMDNode &NMD : M.named_metadata()) { in CloneModule()
210 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
H A DDebugify.cpp198 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 DMachineStripDebug.cpp35 NamedMDNode *DebugifyMD = M.getNamedMetadata("llvm.debugify"); in runOnModule()
H A DMachineCheckDebugify.cpp33 NamedMDNode *NMD = M.getNamedMetadata("llvm.mir.debugify"); in runOnModule()
H A DMachineDebugify.cpp153 NamedMDNode *NMD = M.getNamedMetadata("llvm.mir.debugify"); in applyDebugifyMetadataToMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMetadata.cpp39 NamedMDNode *OpenCLKernelsMD = in getOCLKernelArgAttribute()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DTCE.cpp49 llvm::NamedMDNode *OpenCLMetadata = in setTargetAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp425 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 DCrossDSOCFI.cpp74 NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions"); in buildCFICheck()
H A DStripSymbols.cpp258 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu"); in stripDeadDebugInfoImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp421 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 DIRMover.cpp1189 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 DIRSymtab.cpp157 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 DGCOVProfiling.cpp117 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 DIRForTarget.cpp114 NamedMDNode *named_metadata = in DeclForGlobal()
355 NamedMDNode *named_metadata = in CreateResultVariable()
905 NamedMDNode *named_metadata = in RewritePersistentAlloc()

123