LLVM 24.0.0git
llvm::abi::AMDGPUABIOptions Struct Reference

#include "llvm/ABI/TargetInfo.h"

Public Attributes

unsigned PrivateAddrSpace = 5
 Address space of indirect arguments and the stack.
unsigned ConstantAddrSpace = 4
 Address space of indirect kernel arguments.
unsigned GenericAddrSpace = 0
 The language default address space.
bool CoerceGenericPtrArgToGlobal = false
 Coerce generic scalar-pointer kernel arguments to the global address space.

Detailed Description

Definition at line 192 of file TargetInfo.h.

Member Data Documentation

◆ CoerceGenericPtrArgToGlobal

bool llvm::abi::AMDGPUABIOptions::CoerceGenericPtrArgToGlobal = false

Coerce generic scalar-pointer kernel arguments to the global address space.

Gated by the front end, which alone can see LangOpts.HIP.

Definition at line 201 of file TargetInfo.h.

◆ ConstantAddrSpace

unsigned llvm::abi::AMDGPUABIOptions::ConstantAddrSpace = 4

Address space of indirect kernel arguments.

Definition at line 196 of file TargetInfo.h.

◆ GenericAddrSpace

unsigned llvm::abi::AMDGPUABIOptions::GenericAddrSpace = 0

The language default address space.

Definition at line 198 of file TargetInfo.h.

◆ PrivateAddrSpace

unsigned llvm::abi::AMDGPUABIOptions::PrivateAddrSpace = 5

Address space of indirect arguments and the stack.

Definition at line 194 of file TargetInfo.h.


The documentation for this struct was generated from the following file: