diff options
author | Stephen Thomas <Stephen.Thomas@amd.com> | 2023-07-04 10:28:15 +0100 |
---|---|---|
committer | Stephen Thomas <Stephen.Thomas@amd.com> | 2023-07-04 11:02:12 +0100 |
commit | 8aedad0fa071edabeb4f6dd50b1c82bb414f00d5 (patch) | |
tree | b013e052df06301a5ee87a8171e0839f0d889dc1 /clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp | |
parent | d7329653d0f97c9087053e91002fa1793e910f92 (diff) | |
download | llvm-8aedad0fa071edabeb4f6dd50b1c82bb414f00d5.zip llvm-8aedad0fa071edabeb4f6dd50b1c82bb414f00d5.tar.gz llvm-8aedad0fa071edabeb4f6dd50b1c82bb414f00d5.tar.bz2 |
[AMDGPU] Add functions for composing and decomposing S_WAIT_DEPCTR operands
Add functions AMDGPU::DepCtr::encodeField*() and AMDGPU::DepCtr::decodeField*()
for each of vm_vsrc, va_vdst and sa_sdst. These are now used in
AMDGPUInsertDelayAlu and GCNHazardRecognizer so as to make working with
S_WAITCNT_DEPCTR operands easier and more readable.
Differential Revision: https://reviews.llvm.org/D154424
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp')
0 files changed, 0 insertions, 0 deletions