summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/Passes.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-03 22:12:54 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-03 22:12:54 +0000
commitdcc4436cddc9b5d155040ed3ed38e9070ec4e3b8 (patch)
tree85937449f1a4b758f9a12b40f938b1ba6b8650c1 /include/llvm/CodeGen/Passes.h
parente744ac49f4cf878e2b34dba26964f04fb0415fa3 (diff)
downloadllvm-dcc4436cddc9b5d155040ed3ed38e9070ec4e3b8.tar.gz
llvm-dcc4436cddc9b5d155040ed3ed38e9070ec4e3b8.tar.bz2
llvm-dcc4436cddc9b5d155040ed3ed38e9070ec4e3b8.tar.xz
Add an experimental -early-live-intervals option.
This option runs LiveIntervals before TwoAddressInstructionPass which will eventually learn to exploit and update the analysis. Eventually, LiveIntervals will run before PHIElimination, and we can get rid of LiveVariables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Passes.h')
-rw-r--r--include/llvm/CodeGen/Passes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index 0cddff8d9d..07b3b45873 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -315,6 +315,10 @@ namespace llvm {
/// This pass is still in development
extern char &StrongPHIEliminationID;
+ /// LiveIntervals - This analysis keeps track of the live ranges of virtual
+ /// and physical registers.
+ extern char &LiveIntervalsID;
+
/// LiveStacks pass. An analysis keeping track of the liveness of stack slots.
extern char &LiveStacksID;