diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/GCNSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/GCNSubtarget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/GCNSubtarget.h b/llvm/lib/Target/AMDGPU/GCNSubtarget.h index 202e5b38f0a4..4ec60dc2752e 100644 --- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h +++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h @@ -113,6 +113,7 @@ protected: bool GFX10Insts = false; bool GFX11Insts = false; bool GFX12Insts = false; + bool GFX1250Insts = false; bool GFX10_3Insts = false; bool GFX7GFX8GFX9Insts = false; bool SGPRInitBug = false; @@ -201,6 +202,7 @@ protected: bool HasNoSdstCMPX = false; bool HasVscnt = false; + bool HasWaitXcnt = false; bool HasGetWaveIdInst = false; bool HasSMemTimeInst = false; bool HasShaderCyclesRegister = false; @@ -1367,6 +1369,10 @@ public: return HasMinimum3Maximum3PKF16; } + /// \returns true if the target has s_wait_xcnt insertion. Supported for + /// GFX1250. + bool hasWaitXCnt() const { return HasWaitXcnt; } + bool hasPointSampleAccel() const { return HasPointSampleAccel; } /// \returns The maximum number of instructions that can be enclosed in an |
