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

Declarations

include/llvm/IR/GlobalObject.h
  158   void setMetadata(StringRef Kind, MDNode *MD);

References

lib/ProfileData/InstrProf.cpp
 1041   F.setMetadata(getPGOFuncNameMetadataName(), N);
lib/Transforms/IPO/FunctionImport.cpp
 1120           F.setMetadata(
 1164           Fn->setMetadata(
lib/Transforms/IPO/LowerTypeTests.cpp
 1577     F->setMetadata("wasm.index", MD);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  558     Fn->setMetadata("vec_type_hint", llvm::MDNode::get(Context, AttrMDArgs));
  566     Fn->setMetadata("work_group_size_hint", llvm::MDNode::get(Context, AttrMDArgs));
  574     Fn->setMetadata("reqd_work_group_size", llvm::MDNode::get(Context, AttrMDArgs));
  581     Fn->setMetadata("intel_reqd_sub_group_size",
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1417   Fn->setMetadata("kernel_arg_addr_space",
 1419   Fn->setMetadata("kernel_arg_access_qual",
 1421   Fn->setMetadata("kernel_arg_type",
 1423   Fn->setMetadata("kernel_arg_base_type",
 1425   Fn->setMetadata("kernel_arg_type_qual",
 1428     Fn->setMetadata("kernel_arg_name",
tools/clang/lib/CodeGen/TargetInfo.cpp
 9975   F->setMetadata("kernel_arg_addr_space", llvm::MDNode::get(C, AddressQuals));
 9976   F->setMetadata("kernel_arg_access_qual", llvm::MDNode::get(C, AccessQuals));
 9977   F->setMetadata("kernel_arg_type", llvm::MDNode::get(C, ArgTypeNames));
 9978   F->setMetadata("kernel_arg_base_type",
 9980   F->setMetadata("kernel_arg_type_qual", llvm::MDNode::get(C, ArgTypeQuals));
 9982     F->setMetadata("kernel_arg_name", llvm::MDNode::get(C, ArgNames));
unittests/IR/MetadataTest.cpp
 2655   F->setMetadata("dbg", SP1);
 2667   F->setMetadata("dbg", nullptr);
 2677   F->setMetadata("other1", T1);
 2678   F->setMetadata("other2", T2);
 2684   F->setMetadata("other1", T2);
 2685   F->setMetadata("other2", T1);
 2689   F->setMetadata("other1", nullptr);
 2690   F->setMetadata("other2", nullptr);
 2704   F->setMetadata("other1", T2);
 2706   F->setMetadata("other2", T1);
 2708   F->setMetadata("other2", T2);
 2709   F->setMetadata("other1", T1);
 2726   F->setMetadata("attach", getTuple());