diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-12-01 17:13:31 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-12-01 17:13:31 +0000 |
commit | 8f72235a77e7ac262471936ea0ad2a3467d18871 (patch) | |
tree | 1bfd1138801c664b93a54adaa57c725cc7ee9d7c /lib/CodeGen/PHIElimination.h | |
parent | 074fe8324dd9533f1cd210091b15719ff67f49c2 (diff) | |
download | llvm-8f72235a77e7ac262471936ea0ad2a3467d18871.tar.gz llvm-8f72235a77e7ac262471936ea0ad2a3467d18871.tar.bz2 llvm-8f72235a77e7ac262471936ea0ad2a3467d18871.tar.xz |
Move PHIElimination::isLiveOut method to LiveVariables.
We want LiveVariables clients to use methods rather than accessing the
getVarInfo data structure directly. That way it will be possible to change the
LiveVariables representation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.h')
-rw-r--r-- | lib/CodeGen/PHIElimination.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/PHIElimination.h b/lib/CodeGen/PHIElimination.h index f5872cbe8d..b0b71ce2bc 100644 --- a/lib/CodeGen/PHIElimination.h +++ b/lib/CodeGen/PHIElimination.h @@ -93,12 +93,6 @@ namespace llvm { bool SplitPHIEdges(MachineFunction &MF, MachineBasicBlock &MBB, LiveVariables &LV); - /// isLiveOut - Determine if Reg is live out from MBB, when not - /// considering PHI nodes. This means that Reg is either killed by - /// a successor block or passed through one. - bool isLiveOut(unsigned Reg, const MachineBasicBlock &MBB, - LiveVariables &LV); - /// SplitCriticalEdge - Split a critical edge from A to B by /// inserting a new MBB. Update branches in A and PHI instructions /// in B. Return the new block. |