15#ifndef LLVM_SUPPORT_AMDGPUADDRSPACE_H
16#define LLVM_SUPPORT_AMDGPUADDRSPACE_H
99 using namespace AMDGPUAS;
100 case CONSTANT_ADDRESS:
101 case CONSTANT_ADDRESS_32BIT:
102 case CONSTANT_BUFFER_0:
103 case CONSTANT_BUFFER_1:
104 case CONSTANT_BUFFER_2:
105 case CONSTANT_BUFFER_3:
106 case CONSTANT_BUFFER_4:
107 case CONSTANT_BUFFER_5:
108 case CONSTANT_BUFFER_6:
109 case CONSTANT_BUFFER_7:
110 case CONSTANT_BUFFER_8:
111 case CONSTANT_BUFFER_9:
112 case CONSTANT_BUFFER_10:
113 case CONSTANT_BUFFER_11:
114 case CONSTANT_BUFFER_12:
115 case CONSTANT_BUFFER_13:
116 case CONSTANT_BUFFER_14:
117 case CONSTANT_BUFFER_15:
@ CONSTANT_ADDRESS_32BIT
Address space for 32-bit constant memory.
@ BUFFER_STRIDED_POINTER
Address space for 192-bit fat buffer pointers with an additional index.
@ PARAM_D_ADDRESS
end Internal address spaces.
@ REGION_ADDRESS
Address space for region memory. (GDS)
@ LOCAL_ADDRESS
Address space for local memory.
@ STREAMOUT_REGISTER
Internal address spaces. Can be freely renumbered.
@ PARAM_I_ADDRESS
Address space for indirect addressable parameter memory (VTX1).
@ CONSTANT_ADDRESS
Address space for constant memory (VTX2).
@ FLAT_ADDRESS
Address space for flat memory.
@ GLOBAL_ADDRESS
Address space for global memory (RAT0, VTX0).
@ BUFFER_FAT_POINTER
Address space for 160-bit buffer fat pointers.
@ PRIVATE_ADDRESS
Address space for private memory.
@ BUFFER_RESOURCE
Address space for 128-bit buffer resources.
bool isFlatGlobalAddrSpace(unsigned AS)
bool isExtendedGlobalAddrSpace(unsigned AS)
bool isConstantAddressSpace(unsigned AS)
This is an optimization pass for GlobalISel generic memory operations.