LLVM
8.0.1
|
#include "Target/AMDGPU/AMDGPUArgumentUsageInfo.h"
Public Types | |
enum | PreloadedValue { PRIVATE_SEGMENT_BUFFER = 0, DISPATCH_PTR = 1, QUEUE_PTR = 2, KERNARG_SEGMENT_PTR = 3, DISPATCH_ID = 4, FLAT_SCRATCH_INIT = 5, WORKGROUP_ID_X = 10, WORKGROUP_ID_Y = 11, WORKGROUP_ID_Z = 12, PRIVATE_SEGMENT_WAVE_BYTE_OFFSET = 14, IMPLICIT_BUFFER_PTR = 15, IMPLICIT_ARG_PTR = 16, WORKITEM_ID_X = 17, WORKITEM_ID_Y = 18, WORKITEM_ID_Z = 19, FIRST_VGPR_VALUE = WORKITEM_ID_X } |
Public Member Functions | |
std::pair< const ArgDescriptor *, const TargetRegisterClass * > | getPreloadedValue (PreloadedValue Value) const |
Definition at line 80 of file AMDGPUArgumentUsageInfo.h.
Definition at line 81 of file AMDGPUArgumentUsageInfo.h.
std::pair< const ArgDescriptor *, const TargetRegisterClass * > AMDGPUFunctionArgInfo::getPreloadedValue | ( | AMDGPUFunctionArgInfo::PreloadedValue | Value | ) | const |
Definition at line 74 of file AMDGPUArgumentUsageInfo.cpp.
References DISPATCH_ID, DISPATCH_PTR, FLAT_SCRATCH_INIT, IMPLICIT_ARG_PTR, IMPLICIT_BUFFER_PTR, KERNARG_SEGMENT_PTR, llvm_unreachable, PRIVATE_SEGMENT_BUFFER, PRIVATE_SEGMENT_WAVE_BYTE_OFFSET, QUEUE_PTR, WORKGROUP_ID_X, WORKGROUP_ID_Y, WORKGROUP_ID_Z, WORKITEM_ID_X, WORKITEM_ID_Y, and WORKITEM_ID_Z.
Referenced by llvm::SIMachineFunctionInfo::getPreloadedReg(), llvm::SIMachineFunctionInfo::getPreloadedValue(), and llvm::SITargetLowering::passSpecialInputs().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::DispatchID |
Definition at line 111 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addDispatchID().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::DispatchPtr |
Definition at line 108 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addDispatchPtr(), and allocateSpecialInputSGPRs().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::FlatScratchInit |
Definition at line 112 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addFlatScratchInit().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::ImplicitArgPtr |
Definition at line 124 of file AMDGPUArgumentUsageInfo.h.
ArgDescriptor llvm::AMDGPUFunctionArgInfo::ImplicitBufferPtr = 0 |
Definition at line 127 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addImplicitBufferPtr(), and llvm::SIMachineFunctionInfo::getImplicitBufferPtrUserSGPR().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::KernargSegmentPtr |
Definition at line 110 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addKernargSegmentPtr().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::PrivateSegmentBuffer |
Definition at line 107 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addPrivateSegmentBuffer(), and llvm::SIMachineFunctionInfo::SIMachineFunctionInfo().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::PrivateSegmentSize |
Definition at line 113 of file AMDGPUArgumentUsageInfo.h.
ArgDescriptor llvm::AMDGPUFunctionArgInfo::PrivateSegmentWaveByteOffset |
Definition at line 120 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addPrivateSegmentWaveByteOffset(), llvm::SIMachineFunctionInfo::getPrivateSegmentWaveByteOffsetSystemSGPR(), llvm::SIMachineFunctionInfo::setPrivateSegmentWaveByteOffset(), and llvm::SIMachineFunctionInfo::SIMachineFunctionInfo().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::QueuePtr |
Definition at line 109 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addQueuePtr(), and llvm::SIMachineFunctionInfo::getQueuePtrUserSGPR().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkGroupIDX |
Definition at line 116 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addWorkGroupIDX(), and llvm::SIMachineFunctionInfo::getWorkGroupIDSGPR().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkGroupIDY |
Definition at line 117 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addWorkGroupIDY(), and llvm::SIMachineFunctionInfo::getWorkGroupIDSGPR().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkGroupIDZ |
Definition at line 118 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addWorkGroupIDZ(), and llvm::SIMachineFunctionInfo::getWorkGroupIDSGPR().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkGroupInfo |
Definition at line 119 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::addWorkGroupInfo().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkItemIDX |
Definition at line 130 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::setWorkItemIDX().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkItemIDY |
Definition at line 131 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::setWorkItemIDY().
ArgDescriptor llvm::AMDGPUFunctionArgInfo::WorkItemIDZ |
Definition at line 132 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SIMachineFunctionInfo::setWorkItemIDZ().