summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIInstrInfo.h
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2016-01-13 16:10:10 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2016-01-13 16:10:10 +0000
commit02c3291566ff670d3fe1a7a20ba866cbe4c48266 (patch)
tree4b2d52c026b4b068b0dad6408a06cdab7e5bca95 /llvm/lib/Target/AMDGPU/SIInstrInfo.h
parent26ec8acc847ce0a5905452e987addae726358eed (diff)
downloadbcm5719-llvm-02c3291566ff670d3fe1a7a20ba866cbe4c48266.tar.gz
bcm5719-llvm-02c3291566ff670d3fe1a7a20ba866cbe4c48266.zip
AMDGPU/SI: Add SI Machine Scheduler
Summary: It is off by default, but can be used with --misched=si Patch by: Axel Davy Reviewers: arsenm, tstellarAMD, nhaehnle Subscribers: nhaehnle, solenskiner, arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D11885 llvm-svn: 257609
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIInstrInfo.h')
-rw-r--r--llvm/lib/Target/AMDGPU/SIInstrInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h
index 307ef67ed26..cce1ae72561 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h
@@ -462,6 +462,9 @@ public:
uint64_t getDefaultRsrcDataFormat() const;
uint64_t getScratchRsrcWords23() const;
+
+ bool isLowLatencyInstruction(const MachineInstr *MI) const;
+ bool isHighLatencyInstruction(const MachineInstr *MI) const;
};
namespace AMDGPU {
OpenPOWER on IntegriCloud