forked from OSchip/llvm-project
RegisterPressure: There is no need to make getCurSlot() public
llvm-svn: 254370
This commit is contained in:
parent
7699ed7814
commit
34e706e0a1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue