LLVM 20.0.0git
Namespaces | Enumerations | Functions
AMDGPUAddrSpace.h File Reference

AMDGPU address space definition. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::AMDGPUAS
 OpenCL uses address spaces to differentiate between various memory regions on the hardware.
 
namespace  llvm::AMDGPU
 

Enumerations

enum  : unsigned {
  llvm::AMDGPUAS::MAX_AMDGPU_ADDRESS = 9 , llvm::AMDGPUAS::FLAT_ADDRESS = 0 , llvm::AMDGPUAS::GLOBAL_ADDRESS = 1 , llvm::AMDGPUAS::REGION_ADDRESS = 2 ,
  llvm::AMDGPUAS::CONSTANT_ADDRESS = 4 , llvm::AMDGPUAS::LOCAL_ADDRESS = 3 , llvm::AMDGPUAS::PRIVATE_ADDRESS = 5 , llvm::AMDGPUAS::CONSTANT_ADDRESS_32BIT = 6 ,
  llvm::AMDGPUAS::BUFFER_FAT_POINTER = 7 , llvm::AMDGPUAS::BUFFER_RESOURCE = 8 , llvm::AMDGPUAS::BUFFER_STRIDED_POINTER = 9 , llvm::AMDGPUAS::STREAMOUT_REGISTER = 128 ,
  llvm::AMDGPUAS::PARAM_D_ADDRESS = 6 , llvm::AMDGPUAS::PARAM_I_ADDRESS = 7 , llvm::AMDGPUAS::CONSTANT_BUFFER_0 = 8 , llvm::AMDGPUAS::CONSTANT_BUFFER_1 = 9 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_2 = 10 , llvm::AMDGPUAS::CONSTANT_BUFFER_3 = 11 , llvm::AMDGPUAS::CONSTANT_BUFFER_4 = 12 , llvm::AMDGPUAS::CONSTANT_BUFFER_5 = 13 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_6 = 14 , llvm::AMDGPUAS::CONSTANT_BUFFER_7 = 15 , llvm::AMDGPUAS::CONSTANT_BUFFER_8 = 16 , llvm::AMDGPUAS::CONSTANT_BUFFER_9 = 17 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_10 = 18 , llvm::AMDGPUAS::CONSTANT_BUFFER_11 = 19 , llvm::AMDGPUAS::CONSTANT_BUFFER_12 = 20 , llvm::AMDGPUAS::CONSTANT_BUFFER_13 = 21 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_14 = 22 , llvm::AMDGPUAS::CONSTANT_BUFFER_15 = 23 , llvm::AMDGPUAS::UNKNOWN_ADDRESS_SPACE = ~0u
}
 

Functions

bool llvm::AMDGPU::isFlatGlobalAddrSpace (unsigned AS)
 
bool llvm::AMDGPU::isExtendedGlobalAddrSpace (unsigned AS)
 
bool llvm::AMDGPU::isConstantAddressSpace (unsigned AS)
 

Detailed Description

AMDGPU address space definition.

Definition in file AMDGPUAddrSpace.h.