summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-12-10 01:12:15 +0000
committerMatthias Braun <matze@braunis.de>2014-12-10 01:12:15 +0000
commitbf49cfe3ecb6fcde38e572c024ff3a561a807db2 (patch)
tree2382e806dc77819d7ec1a82c69eddbbc8b769dcc
parent2f66232bde79bc25f413cfb3892355b400e587d8 (diff)
downloadbcm5719-llvm-bf49cfe3ecb6fcde38e572c024ff3a561a807db2.tar.gz
bcm5719-llvm-bf49cfe3ecb6fcde38e572c024ff3a561a807db2.zip
LiveIntervalAnalysis: Make computeDeadValues() private.
llvm-svn: 223879
-rw-r--r--llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
index f9bd31754da..7460cf5aa3f 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -154,17 +154,6 @@ namespace llvm {
bool shrinkToUses(LiveInterval *li,
SmallVectorImpl<MachineInstr*> *dead = nullptr);
- /// \brief Walk the values in the given interval and compute which ones
- /// are dead. Dead values are not deleted, however:
- /// - Dead PHIDef values are marked as unused.
- /// - New dead machine instructions are added to the dead vector.
- /// - CanSeparate is set to true if the interval may have been separated
- /// into multiple connected components.
- void computeDeadValues(LiveInterval *li,
- LiveRange &LR,
- bool *CanSeparate,
- SmallVectorImpl<MachineInstr*> *dead);
-
/// extendToIndices - Extend the live range of LI to reach all points in
/// Indices. The points in the Indices array must be jointly dominated by
/// existing defs in LI. PHI-defs are added as needed to maintain SSA form.
@@ -404,6 +393,15 @@ namespace llvm {
/// Compute RegMaskSlots and RegMaskBits.
void computeRegMasks();
+ /// \brief Walk the values in the given interval and compute which ones
+ /// are dead. Dead values are not deleted, however:
+ /// - Dead PHIDef values are marked as unused.
+ /// - New dead machine instructions are added to the dead vector.
+ /// - CanSeparate is set to true if the interval may have been separated
+ /// into multiple connected components.
+ void computeDeadValues(LiveInterval *li, LiveRange &LR, bool *CanSeparate,
+ SmallVectorImpl<MachineInstr*> *dead);
+
static LiveInterval* createInterval(unsigned Reg);
void printInstrs(raw_ostream &O) const;
OpenPOWER on IntegriCloud