clang 22.0.0git
AMDGPU.cpp File Reference
#include "ABIInfoImpl.h"
#include "TargetInfo.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/AMDGPUAddrSpace.h"

Go to the source code of this file.

Functions

static bool requiresAMDGPUProtectedVisibility (const Decl *D, llvm::GlobalValue *GV)
static llvm::StructType * getAMDGPURuntimeHandleType (llvm::LLVMContext &C, llvm::Type *KernelDescriptorPtrTy)
 Return IR struct type for rtinfo struct in rocm-device-libs used for device enqueue.

Function Documentation

◆ getAMDGPURuntimeHandleType()

llvm::StructType * getAMDGPURuntimeHandleType ( llvm::LLVMContext & C,
llvm::Type * KernelDescriptorPtrTy )
static

Return IR struct type for rtinfo struct in rocm-device-libs used for device enqueue.

ptr addrspace(1) kernel_object, i32 private_segment_size, i32 group_segment_size

Definition at line 580 of file AMDGPU.cpp.

References clang::C.

◆ requiresAMDGPUProtectedVisibility()

bool requiresAMDGPUProtectedVisibility ( const Decl * D,
llvm::GlobalValue * GV )
static

Definition at line 329 of file AMDGPU.cpp.

References clang::cast(), clang::Decl::hasAttr(), and clang::isa().