summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-12-01 04:20:01 +0000
committerMatthias Braun <matze@braunis.de>2015-12-01 04:20:01 +0000
commit34e706e0a1bce2a17cb0193b1c3cefe4f938d53d (patch)
treec3a13b23ff7ca9274b1ca44dd3f6a664a5bf701a
parent7699ed7814c1fb093822264365f707128aa5e31a (diff)
downloadbcm5719-llvm-34e706e0a1bce2a17cb0193b1c3cefe4f938d53d.tar.gz
bcm5719-llvm-34e706e0a1bce2a17cb0193b1c3cefe4f938d53d.zip
RegisterPressure: There is no need to make getCurSlot() public
llvm-svn: 254370
-rw-r--r--llvm/include/llvm/CodeGen/RegisterPressure.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/RegisterPressure.h b/llvm/include/llvm/CodeGen/RegisterPressure.h
index b6e0a20526f..42131c831ea 100644
--- a/llvm/include/llvm/CodeGen/RegisterPressure.h
+++ b/llvm/include/llvm/CodeGen/RegisterPressure.h
@@ -328,10 +328,6 @@ public:
// position changes while pressure does not.
void setPos(MachineBasicBlock::const_iterator Pos) { CurrPos = Pos; }
- /// \brief Get the SlotIndex for the first nondebug instruction including or
- /// after the current position.
- SlotIndex getCurrSlot() const;
-
/// Recede across the previous instruction.
bool recede(SmallVectorImpl<unsigned> *LiveUses = nullptr,
PressureDiff *PDiff = nullptr);
@@ -442,6 +438,10 @@ protected:
void discoverLiveOut(unsigned Reg);
void discoverLiveIn(unsigned Reg);
+ /// \brief Get the SlotIndex for the first nondebug instruction including or
+ /// after the current position.
+ SlotIndex getCurrSlot() const;
+
const LiveRange *getLiveRange(unsigned Reg) const;
void increaseRegPressure(ArrayRef<unsigned> Regs);
OpenPOWER on IntegriCloud