summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-02-17 18:44:18 +0000
committerLang Hames <lhames@gmail.com>2012-02-17 18:44:18 +0000
commit3dc7c5138d219048d69952bead22f75efb984fa3 (patch)
treeae5c3b193189c27c476e42d0c7d542f703de562b /include/llvm/CodeGen/LiveIntervalAnalysis.h
parentebad58dc58d73097b3546e7fcb6fd7c17336d413 (diff)
downloadllvm-3dc7c5138d219048d69952bead22f75efb984fa3.tar.gz
llvm-3dc7c5138d219048d69952bead22f75efb984fa3.tar.bz2
llvm-3dc7c5138d219048d69952bead22f75efb984fa3.tar.xz
Refactor 'handleMove' code in live intervals. Clients of LiveIntervals won't see
any changes. Internally this adds a private inner class HMEditor, to LiveIntervals. HMEditor provides an API for updating live intervals when code is moved or bundled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 4bc37fd1da..ada12a8856 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -391,6 +391,8 @@ namespace llvm {
void printInstrs(raw_ostream &O) const;
void dumpInstrs() const;
+
+ class HMEditor;
};
} // End llvm namespace