clang
19.0.0git
|
Go to the source code of this file.
Functions | |
static bool | requiresAMDGPUProtectedVisibility (const Decl *D, llvm::GlobalValue *GV) |
static void | addAMDGCOrNVVMMetadata (const char *AnnotationName, llvm::GlobalValue *GV, StringRef Name, int Operand) |
Helper function for AMDGCN and NVVM targets, adds a NamedMDNode with GV, Name, and Operand as operands, and adds the resulting MDNode to the AnnotationName MDNode. More... | |
|
static |
Helper function for AMDGCN and NVVM targets, adds a NamedMDNode with GV, Name, and Operand as operands, and adds the resulting MDNode to the AnnotationName MDNode.
Definition at line 393 of file AMDGPU.cpp.
Definition at line 312 of file AMDGPU.cpp.
References clang::Decl::hasAttr(), and clang::HiddenVisibility.