From: Matthias Braun Date: Tue, 1 Dec 2015 04:19:58 +0000 (+0000) Subject: RegisterPressure: There is no need to make discoverLive{In|Out} public X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=acac7f59d5e9e0da8ae63d26ca2ae946902d784c;p=oota-llvm.git RegisterPressure: There is no need to make discoverLive{In|Out} public git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254369 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/RegisterPressure.h b/include/llvm/CodeGen/RegisterPressure.h index 166bd868689..b6e0a20526f 100644 --- a/include/llvm/CodeGen/RegisterPressure.h +++ b/include/llvm/CodeGen/RegisterPressure.h @@ -365,9 +365,6 @@ public: return CurrSetPressure; } - void discoverLiveOut(unsigned Reg); - void discoverLiveIn(unsigned Reg); - bool isTopClosed() const; bool isBottomClosed() const; @@ -442,6 +439,9 @@ public: void dump() const; protected: + void discoverLiveOut(unsigned Reg); + void discoverLiveIn(unsigned Reg); + const LiveRange *getLiveRange(unsigned Reg) const; void increaseRegPressure(ArrayRef Regs);