reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
141 MDNode *getMetadata(StringRef Kind) const;
132 return getMetadata(Kind) != nullptr;
lib/ProfileData/InstrProf.cpp 1029 return F.getMetadata(getPGOFuncNameMetadataName());
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp286 if (auto Node = Func.getMetadata("reqd_work_group_size")) 288 if (auto Node = Func.getMetadata("work_group_size_hint")) 290 if (auto Node = Func.getMetadata("vec_type_hint")) { 314 Node = Func->getMetadata("kernel_arg_name"); 321 Node = Func->getMetadata("kernel_arg_type"); 326 Node = Func->getMetadata("kernel_arg_base_type"); 335 Node = Func->getMetadata("kernel_arg_access_qual"); 341 Node = Func->getMetadata("kernel_arg_type_qual"); 694 if (auto Node = Func.getMetadata("reqd_work_group_size")) 696 if (auto Node = Func.getMetadata("work_group_size_hint")) 698 if (auto Node = Func.getMetadata("vec_type_hint")) { 731 Node = Func->getMetadata("kernel_arg_name"); 738 Node = Func->getMetadata("kernel_arg_type"); 743 Node = Func->getMetadata("kernel_arg_base_type"); 752 Node = Func->getMetadata("kernel_arg_access_qual"); 758 Node = Func->getMetadata("kernel_arg_type_qual");lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
75 auto MD = F->getMetadata("reqd_work_group_size");
lib/Target/AMDGPU/AMDGPUSubtarget.cpp 469 if (auto Node = Kernel->getMetadata("reqd_work_group_size"))
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 294 if (MDNode *Idx = F.getMetadata("wasm.index")) {
unittests/IR/MetadataTest.cpp2648 EXPECT_EQ(nullptr, F->getMetadata("dbg")); 2649 EXPECT_EQ(nullptr, F->getMetadata("other")); 2658 EXPECT_EQ(SP1, F->getMetadata("dbg")); 2659 EXPECT_EQ(nullptr, F->getMetadata("other")); 2664 EXPECT_EQ(SP2, F->getMetadata("dbg")); 2665 EXPECT_EQ(nullptr, F->getMetadata("other")); 2670 EXPECT_EQ(nullptr, F->getMetadata("dbg")); 2671 EXPECT_EQ(nullptr, F->getMetadata("other")); 2680 EXPECT_EQ(T1, F->getMetadata("other1")); 2681 EXPECT_EQ(T2, F->getMetadata("other2")); 2682 EXPECT_EQ(nullptr, F->getMetadata("dbg")); 2686 EXPECT_EQ(T2, F->getMetadata("other1")); 2687 EXPECT_EQ(T1, F->getMetadata("other2")); 2692 EXPECT_EQ(nullptr, F->getMetadata("other1")); 2693 EXPECT_EQ(nullptr, F->getMetadata("other2")); 2773 EXPECT_EQ(SP, F->getMetadata("dbg"));unittests/Linker/LinkModulesTest.cpp
264 MDNode *M0 = F->getMetadata("attach"); 293 EXPECT_EQ(M0, F->getMetadata("attach"));