|
LLVM
5.0.0
|
OpenCL uses address spaces to differentiate between various memory regions on the hardware. More...
#include "Target/AMDGPU/AMDGPU.h"
Public Attributes | |
| unsigned | PRIVATE_ADDRESS |
| Address space for private memory. More... | |
| unsigned | FLAT_ADDRESS |
| Address space for flat memory. More... | |
| unsigned | REGION_ADDRESS |
| Address space for region memory. More... | |
OpenCL uses address spaces to differentiate between various memory regions on the hardware.
On the CPU all of the address spaces point to the same memory, however on the GPU, each address space points to a separate piece of memory that is unique from other memory locations.
Address space for constant memory (VTX2)
Definition at line 174 of file AMDGPU.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses(), canFoldOffset(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), isFlatGlobalAddrSpace(), llvm::SITargetLowering::isLegalAddressingMode(), llvm::SITargetLowering::isOffsetFoldingLegal(), llvm::AMDGPU::isReadOnlySegment(), and llvm::AMDGPUAAResult::pointsToConstantMemory().
Definition at line 184 of file AMDGPU.h.
Referenced by ConstantAddressBlock(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), and llvm::R600TargetLowering::LowerFormalArguments().
Definition at line 185 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 194 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 195 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 196 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 197 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 198 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 199 of file AMDGPU.h.
Referenced by ConstantAddressBlock(), and llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth().
Definition at line 186 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 187 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 188 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 189 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 190 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 191 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 192 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
Definition at line 193 of file AMDGPU.h.
Referenced by ConstantAddressBlock().
| unsigned AMDGPUAS::FLAT_ADDRESS |
Address space for flat memory.
Definition at line 167 of file AMDGPU.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses(), llvm::SITargetLowering::canMergeStoresTo(), llvm::AMDGPU::getAMDGPUAS(), llvm::AMDGPUTTIImpl::getFlatAddressSpace(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), llvm::SITargetLowering::isCheapAddrSpaceCast(), isFlatGlobalAddrSpace(), llvm::SITargetLowering::isLegalAddressingMode(), and llvm::SIInstrInfo::mayAccessFlatAddressSpace().
Address space for global memory (RAT0, VTX0).
Definition at line 173 of file AMDGPU.h.
Referenced by canFoldOffset(), llvm::SITargetLowering::canMergeStoresTo(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), isFlatGlobalAddrSpace(), llvm::AMDGPU::isGlobalSegment(), llvm::SITargetLowering::isLegalAddressingMode(), and llvm::SITargetLowering::isOffsetFoldingLegal().
Address space for local memory.
Definition at line 175 of file AMDGPU.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses(), canFoldOffset(), llvm::R600TargetLowering::canMergeStoresTo(), llvm::SITargetLowering::canMergeStoresTo(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), llvm::AMDGPUTargetMachine::getNullPointerValue(), llvm::AMDGPUTTIImpl::getUnrollingPreferences(), llvm::AMDGPU::isGroupSegment(), llvm::SITargetLowering::isLegalAddressingMode(), llvm::SITargetLowering::LowerFormalArguments(), and llvm::AMDGPUTargetLowering::LowerGlobalAddress().
Address space for direct addressible parameter memory (CONST0)
Definition at line 176 of file AMDGPU.h.
Referenced by llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth().
Address space for indirect addressible parameter memory (VTX1)
Definition at line 177 of file AMDGPU.h.
Referenced by llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), and llvm::R600TargetLowering::LowerOperation().
| unsigned AMDGPUAS::PRIVATE_ADDRESS |
Address space for private memory.
Definition at line 166 of file AMDGPU.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses(), llvm::R600TargetLowering::canMergeStoresTo(), llvm::SITargetLowering::canMergeStoresTo(), llvm::AMDGPU::getAMDGPUAS(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), llvm::AMDGPUTTIImpl::getUnrollingPreferences(), llvm::SITargetLowering::isLegalAddressingMode(), llvm::AMDGPUTTIImpl::isLegalToVectorizeMemChain(), llvm::AMDGPUTTIImpl::isSourceOfDivergence(), llvm::SIInstrInfo::isStackAccess(), and tryPromoteAllocaToVector().
| unsigned AMDGPUAS::REGION_ADDRESS |
Address space for region memory.
Definition at line 168 of file AMDGPU.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses(), canFoldOffset(), llvm::AMDGPU::getAMDGPUAS(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), llvm::AMDGPUTargetMachine::getNullPointerValue(), and llvm::SITargetLowering::isLegalAddressingMode().
Definition at line 202 of file AMDGPU.h.
Referenced by llvm::AMDGPUTTIImpl::getFlatAddressSpace(), and llvm::SITargetLowering::isLegalAddressingMode().
1.8.6