reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

lib/Bitcode/Writer/ValueEnumerator.h
   38 class NamedMDNode;

References

include/llvm/ADT/ilist.h
   41   static void deleteNode(NodeTy *V) { delete V; }
   65   void addNodeToList(NodeTy *) {}
   66   void removeNodeFromList(NodeTy *) {}
   82 struct ilist_node_traits : ilist_alloc_traits<NodeTy>,
   83                            ilist_callback_traits<NodeTy> {};
   89 struct ilist_traits : public ilist_node_traits<NodeTy> {};
   96 template <class T> T &make();
  106   static Yes &test(U *I, decltype(I->getNext(&make<NodeT>())) * = 0);
  136   static Yes &test(U *I, decltype(I->createNode(make<NodeT>())) * = 0);
  144   static const bool value = HasGetNext<TraitsT, NodeT>::value ||
  146                             HasCreateNode<TraitsT, NodeT>::value;
  389     : public iplist_impl<simple_ilist<T, Options...>, ilist_traits<T>> {
  389     : public iplist_impl<simple_ilist<T, Options...>, ilist_traits<T>> {
include/llvm/ADT/ilist_node.h
  150           typename ilist_detail::compute_node_options<T, Options...>::type> {
include/llvm/ADT/ilist_node_options.h
  108   typedef T value_type;
  109   typedef T *pointer;
  110   typedef T &reference;
  111   typedef const T *const_pointer;
  112   typedef const T &const_reference;
  122   typedef node_options<T, extract_sentinel_tracking<Options...>::value,
include/llvm/ADT/simple_ilist.h
   79     : ilist_detail::compute_node_options<T, Options...>::type::list_base_type,
   81           typename ilist_detail::compute_node_options<T, Options...>::type> {
   85       typename ilist_detail::compute_node_options<T, Options...>::type;
include/llvm/IR/Metadata.h
 1325 class NamedMDNode : public ilist_node<NamedMDNode> {
 1342     const NamedMDNode *Node = nullptr;
 1345     op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) {}
 1379   NamedMDNode(const NamedMDNode &) = delete;
include/llvm/IR/Module.h
   79   using NamedMDListType = ilist<NamedMDNode>;
  450   NamedMDNode *getNamedMetadata(const Twine &Name) const;
  455   NamedMDNode *getOrInsertNamedMetadata(StringRef Name);
  458   void eraseNamedMetadata(NamedMDNode *NMD);
  481   NamedMDNode *getModuleFlagsMetadata() const;
  486   NamedMDNode *getOrInsertModuleFlagsMetadata();
  734     NamedMDNode *CUs;
  740     explicit debug_compile_units_iterator(NamedMDNode *CUs, unsigned Idx)
  770     auto *CUs = getNamedMetadata("llvm.dbg.cu");
  775     auto *CUs = getNamedMetadata("llvm.dbg.cu");
  783     auto *CUs = getNamedMetadata("llvm.dbg.cu");
include/llvm/Support/Casting.h
   66   static inline bool doit(const From &) { return true; }
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
lib/AsmParser/LLParser.cpp
  709   NamedMDNode *NMD = M->getOrInsertNamedMetadata(Name);
lib/Bitcode/Reader/BitcodeReader.cpp
 2925     NamedMDNode *LinkerOpts =
lib/Bitcode/Reader/MetadataLoader.cpp
  499     if (NamedMDNode *CUNodes = TheModule.getNamedMetadata("llvm.dbg.cu"))
  810         NamedMDNode *NMD = TheModule.getOrInsertNamedMetadata(Name);
 1125     NamedMDNode *NMD = TheModule.getOrInsertNamedMetadata(Name);
lib/Bitcode/Writer/BitcodeWriter.cpp
 1939   for (const NamedMDNode &NMD : M.named_metadata()) {
lib/Bitcode/Writer/ValueEnumerator.cpp
  557   for (const auto &I : M.named_metadata())
  561 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) {
lib/Bitcode/Writer/ValueEnumerator.h
  291   void EnumerateNamedMDNode(const NamedMDNode *NMD);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2053   if (const NamedMDNode *NMD = M.getNamedMetadata("llvm.ident")) {
 2069   const NamedMDNode *NMD = M.getNamedMetadata("llvm.commandline");
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  769   NamedMDNode *CUs = MMI->getModule()->getNamedMetadata("llvm.dbg.cu");
  826   NamedMDNode *CUs = MMI->getModule()->getNamedMetadata("llvm.dbg.cu");
 2990   NamedMDNode *CUs = MMI->getModule()->getNamedMetadata("llvm.dbg.cu");
 3057   NamedMDNode *CUs = MMI->getModule()->getNamedMetadata("llvm.dbg.cu");
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  270   if (NamedMDNode *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) {
  286   if (NamedMDNode *DependentLibraries = M.getNamedMetadata("llvm.dependent-libraries")) {
  887   if (auto *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) {
 1446   if (NamedMDNode *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) {
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  366   auto *MFs = Src.getModuleFlagsMetadata();
lib/IR/AsmWriter.cpp
  953   for (const NamedMDNode &NMD : TheModule->named_metadata()) {
 2380   void printNamedMDNode(const NamedMDNode *NMD);
 2660   for (const NamedMDNode &Node : M->named_metadata())
 3159 void AssemblyWriter::printNamedMDNode(const NamedMDNode *NMD) {
lib/IR/AutoUpgrade.cpp
 3838   NamedMDNode *ModRetainReleaseMarker = M.getNamedMetadata(MarkerKey);
 3981   NamedMDNode *ModFlags = M.getModuleFlagsMetadata();
lib/IR/Core.cpp
 1147   NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD);
 1147   NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD);
 1155   NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD);
 1155   NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD);
 1173   NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD);
 1173   NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD);
 1192   if (NamedMDNode *N = unwrap(M)->getNamedMetadata(Name)) {
 1200   NamedMDNode *N = unwrap(M)->getNamedMetadata(Name);
 1210   NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(Name);
lib/IR/DIBuilder.cpp
  156   NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu");
lib/IR/DebugInfo.cpp
  355     NamedMDNode *NMD = &*NMI;
  607     NamedMDNode *NMD = &*NMI;
  666   for (auto &NMD : M.getNamedMDList()) {
lib/IR/Module.cpp
   76   NamedMDSymTab = new StringMap<NamedMDNode *>();
  250 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const {
  259 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) {
  260   NamedMDNode *&NMD =
  263     NMD = new NamedMDNode(Name);
  272 void Module::eraseNamedMetadata(NamedMDNode *NMD) {
  291   const NamedMDNode *ModFlags = getModuleFlagsMetadata();
  323 NamedMDNode *Module::getModuleFlagsMetadata() const {
  330 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() {
lib/IR/TypeFinder.cpp
   79   for (const auto &NMD : M.named_metadata())
lib/IR/Verifier.cpp
  168   void Write(const NamedMDNode *NMD) {
  380     for (const NamedMDNode &NMD : M.named_metadata())
  405   void visitNamedMDNode(const NamedMDNode &NMD);
  770 void Verifier::visitNamedMDNode(const NamedMDNode &NMD) {
 1325   const NamedMDNode *Idents = M.getNamedMetadata("llvm.ident");
 1342   const NamedMDNode *CommandLines = M.getNamedMetadata("llvm.commandline");
 1360   const NamedMDNode *Flags = M.getModuleFlagsMetadata();
 5075   auto *CUs = M.getNamedMetadata("llvm.dbg.cu");
lib/LTO/LTOModule.cpp
  629   if (NamedMDNode *LinkerOptions =
lib/Linker/IRMover.cpp
 1113   NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu");
 1179   const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata();
 1180   for (const NamedMDNode &NMD : SrcM->named_metadata()) {
 1184     NamedMDNode *DestNMD = DstM.getOrInsertNamedMetadata(NMD.getName());
 1194   const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata();
 1200   NamedMDNode *DstModFlags = DstM.getOrInsertModuleFlagsMetadata();
lib/Object/IRSymtab.cpp
  137     if (NamedMDNode *LinkerOptions =
  148     if (NamedMDNode *N = M->getNamedMetadata("llvm.dependent-libraries")) {
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  345       NamedMDNode *metaD = M.getOrInsertNamedMetadata(amd);
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  332     NamedMDNode *KernelsMDNode = M.getNamedMetadata(KernelsMDNodeName);
lib/Target/NVPTX/NVPTXUtilities.cpp
   74   NamedMDNode *NMD = m->getNamedMetadata("nvvm.annotations");
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  145   if (const NamedMDNode *Named = M.getNamedMetadata("wasm.custom_sections")) {
  171   if (const NamedMDNode *Debug = M.getNamedMetadata("llvm.dbg.cu")) {
  183   if (const NamedMDNode *Ident = M.getNamedMetadata("llvm.ident")) {
lib/Target/X86/X86FrameLowering.cpp
 2537     NamedMDNode *HiPELiteralsMD, const StringRef LiteralName) {
 2591   NamedMDNode *HiPELiteralsMD = MF.getMMI().getModule()
lib/Transforms/IPO/CrossDSOCFI.cpp
   92   NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions");
lib/Transforms/IPO/LowerTypeTests.cpp
 1850     NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions");
 2135     if (NamedMDNode *AliasesMD = M.getNamedMetadata("aliases")) {
 2177     if (NamedMDNode *SymversMD = M.getNamedMetadata("symvers")) {
lib/Transforms/IPO/StripSymbols.cpp
  369     NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu");
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  341     NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("cfi.functions");
  366     NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("aliases");
  382     NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("symvers");
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1126   NamedMDNode *Globals = M.getNamedMetadata("llvm.asan.globals");
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  523   if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
  665   NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu");
  771   NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu");
  963   NamedMDNode *CUNodes = M->getNamedMetadata("llvm.dbg.cu");
lib/Transforms/Utils/CloneFunction.cpp
  218     auto* NMD = NewModule->getOrInsertNamedMetadata("llvm.dbg.cu");
lib/Transforms/Utils/CloneModule.cpp
  184   const auto* LLVM_DBG_CU = M.getNamedMetadata("llvm.dbg.cu");
  188     const NamedMDNode &NMD = *I;
  189     NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName());
tools/bugpoint-passes/TestPasses.cpp
  111     NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu");
tools/bugpoint/CrashDebugger.cpp
  852   std::vector<NamedMDNode *> ToDelete;
  854   for (auto &NamedMD : M->named_metadata())
  860   for (auto *NamedMD : ToDelete)
  918   for (auto &NamedMD : BD.getProgram().named_metadata()) {
  921     NamedMDNode *NewNamedMDNode =
 1228       for (auto &NamedMD : BD.getProgram().named_metadata())
 1240       for (auto &NamedMD : BD.getProgram().named_metadata())
tools/clang/lib/CodeGen/CGExpr.cpp
 2447   llvm::NamedMDNode *M =
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4079   llvm::NamedMDNode *MD = M.getOrInsertNamedMetadata("omp_offload.info");
 4251   llvm::NamedMDNode *MD = ME.get()->getNamedMetadata("omp_offload.info");
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1846   llvm::NamedMDNode *MD = M.getOrInsertNamedMetadata("nvvm.annotations");
tools/clang/lib/CodeGen/CodeGenModule.cpp
  461     auto *NMD = getModule().getOrInsertNamedMetadata("llvm.dependent-libraries");
  578       llvm::NamedMDNode *SPIRVerMD =
  640   llvm::NamedMDNode *OCLVerMD =
 2067   auto *NMD = getModule().getOrInsertNamedMetadata("llvm.linker.options");
 5561                                    llvm::NamedMDNode *&GlobalMetadata,
 5608   llvm::NamedMDNode *GlobalMetadata = nullptr;
 5629   llvm::NamedMDNode *GlobalMetadata = nullptr;
 5647   llvm::NamedMDNode *IdentMetadata =
 5657   llvm::NamedMDNode *CommandLineMetadata =
 5686   llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu");
 5690   llvm::NamedMDNode *GCov = TheModule.getOrInsertNamedMetadata("llvm.gcov");
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   57   llvm::NamedMDNode *AsanGlobals =
tools/clang/lib/CodeGen/TargetInfo.cpp
 6520   llvm::NamedMDNode *MD = M->getOrInsertNamedMetadata("nvvm.annotations");
 7397         llvm::NamedMDNode *OpenCLMetadata =
 8875     llvm::NamedMDNode *MD =
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  118   NamedMDNode *named_metadata =
  367   NamedMDNode *named_metadata =
 1113   NamedMDNode *named_metadata =
tools/llvm-reduce/deltas/ReduceMetadata.cpp
   85   std::vector<NamedMDNode *> NamedNodesToDelete;
   86   for (auto &MD : Program->named_metadata()) {
   96   for (auto *NN : NamedNodesToDelete) {
tools/opt/BreakpointPrinter.cpp
   46     if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp"))
tools/opt/Debugify.cpp
  150   NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.debugify");
  214   NamedMDNode *NMD = M.getNamedMetadata("llvm.debugify");
tools/opt/opt.cpp
  583       NamedMDNode *NMD = &*M->named_metadata_begin();
unittests/CodeGen/MachineOperandTest.cpp
  296   NamedMDNode *MD = M.getOrInsertNamedMetadata("namedmd");
unittests/IR/MetadataTest.cpp
  309   NamedMDNode *NMD = M.getOrInsertNamedMetadata("named");
  330   NamedMDNode *NMD = M.getOrInsertNamedMetadata("named");
 2632   NamedMDNode *NMD = M.getOrInsertNamedMetadata(Name);
unittests/IR/VerifierTest.cpp
  162     NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu");
unittests/Linker/LinkModulesTest.cpp
  262   NamedMDNode *NMD = &*Src->named_metadata_begin();
unittests/Transforms/Utils/CloningTest.cpp
  656   if (const auto* LLVM_DBG_CU = M.getNamedMetadata("llvm.dbg.cu")) {
  833   auto *NMD = NewM->getNamedMetadata("llvm.dbg.cu");
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };