summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-04-22 19:10:15 +0000
committerMatthias Braun <matze@braunis.de>2016-04-22 19:10:15 +0000
commit4f57377c687f5c970c66f80956246e384a8ec4fd (patch)
tree9318a3ad362f6278d82ff3314418a57d2a940b80 /llvm/include
parentfe3def7c2a301ea414e0e7adf54e8216064268a0 (diff)
downloadbcm5719-llvm-4f57377c687f5c970c66f80956246e384a8ec4fd.tar.gz
bcm5719-llvm-4f57377c687f5c970c66f80956246e384a8ec4fd.zip
MachineScheduler: Move code to initialize a Candidate out of tryCandidate(); NFC
llvm-svn: 267191
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/MachineScheduler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h
index 5d5c49e4975..64ea042ccf1 100644
--- a/llvm/include/llvm/CodeGen/MachineScheduler.h
+++ b/llvm/include/llvm/CodeGen/MachineScheduler.h
@@ -903,11 +903,13 @@ public:
protected:
void checkAcyclicLatency();
+ void initCandidate(SchedCandidate &Cand, SUnit *SU, bool AtTop,
+ const RegPressureTracker &RPTracker,
+ RegPressureTracker &TempTracker);
+
void tryCandidate(SchedCandidate &Cand,
SchedCandidate &TryCand,
- SchedBoundary &Zone,
- const RegPressureTracker &RPTracker,
- RegPressureTracker &TempTracker);
+ SchedBoundary &Zone);
SUnit *pickNodeBidirectional(bool &IsTopNode);
OpenPOWER on IntegriCloud