summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/GCNRegPressure.h
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2018-06-04 17:21:54 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2018-06-04 17:21:54 +0000
commit28624f94d5ab0f122996c7f83e2f723690395bde (patch)
tree1ddbe4572890ab8aa56ff030523fb1b453e5dfb6 /llvm/lib/Target/AMDGPU/GCNRegPressure.h
parentc418b5cc25531f0551d4924f44bbbaa29c82ea14 (diff)
downloadbcm5719-llvm-28624f94d5ab0f122996c7f83e2f723690395bde.tar.gz
bcm5719-llvm-28624f94d5ab0f122996c7f83e2f723690395bde.zip
[AMDGPU] Factored out common part of GCNRPTracker::reset()
Differential Revision: https://reviews.llvm.org/D47664 llvm-svn: 333931
Diffstat (limited to 'llvm/lib/Target/AMDGPU/GCNRegPressure.h')
-rw-r--r--llvm/lib/Target/AMDGPU/GCNRegPressure.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/GCNRegPressure.h b/llvm/lib/Target/AMDGPU/GCNRegPressure.h
index e418aa0fe91..b15384eb156 100644
--- a/llvm/lib/Target/AMDGPU/GCNRegPressure.h
+++ b/llvm/lib/Target/AMDGPU/GCNRegPressure.h
@@ -106,6 +106,9 @@ protected:
GCNRPTracker(const LiveIntervals &LIS_) : LIS(LIS_) {}
+ void reset(const MachineInstr &MI, const LiveRegSet *LiveRegsCopy,
+ bool After);
+
public:
// live regs for the current state
const decltype(LiveRegs) &getLiveRegs() const { return LiveRegs; }
OpenPOWER on IntegriCloud