summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-02-15 01:23:52 +0000
committerLang Hames <lhames@gmail.com>2012-02-15 01:23:52 +0000
commitda7984fbbac967ddbe5de4e789f8f37c673a7d75 (patch)
treeb33581b63edba531487915a1c3764e4bb5216e6c /include/llvm/CodeGen/LiveIntervalAnalysis.h
parentbbfa5c02be2ef2a9ff965a4dcfe9e99665dcf0ef (diff)
downloadllvm-da7984fbbac967ddbe5de4e789f8f37c673a7d75.tar.gz
llvm-da7984fbbac967ddbe5de4e789f8f37c673a7d75.tar.bz2
llvm-da7984fbbac967ddbe5de4e789f8f37c673a7d75.tar.xz
Disentangle moving a machine instr from updating LiveIntervals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index c18c479ce8..4bc37fd1da 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -280,10 +280,11 @@ namespace llvm {
/// register.
void addKillFlags();
- /// moveInstr - Move MachineInstr mi to insertPt, updating the live
- /// intervals of mi's operands to reflect the new position. The insertion
- /// point can be above or below mi, but must be in the same basic block.
- void moveInstr(MachineBasicBlock::iterator insertPt, MachineInstr* mi);
+ /// handleMove - call this method to notify LiveIntervals that
+ /// instruction 'mi' has been moved within a basic block. This will update
+ /// the live intervals for all operands of mi. Moves between basic blocks
+ /// are not supported.
+ void handleMove(MachineInstr* mi);
// Register mask functions.
//