aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-25 00:02:30 +0000
committerDan Gohman <gohman@apple.com>2008-07-25 00:02:30 +0000
commite342753a069f6082c331523c0cb9881ecfde43ae (patch)
treed3561769602cb34fb08db592e6576877e3be6165 /include/llvm/CodeGen/LiveIntervalAnalysis.h
parentebb19e683434897d00e2116d0c45eca1b239fe7f (diff)
downloadexternal_llvm-e342753a069f6082c331523c0cb9881ecfde43ae.zip
external_llvm-e342753a069f6082c331523c0cb9881ecfde43ae.tar.gz
external_llvm-e342753a069f6082c331523c0cb9881ecfde43ae.tar.bz2
Enable rematerialization of constants using AliasAnalysis::pointsToConstantMemory,
and knowledge of PseudoSourceValues. This unfortunately isn't sufficient to allow constants to be rematerialized in PIC mode -- the extra indirection is a complication. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54000 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 ebbcf63..c88c1ec 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -32,6 +32,7 @@
namespace llvm {
+ class AliasAnalysis;
class LiveVariables;
class MachineLoopInfo;
class TargetRegisterInfo;
@@ -61,6 +62,7 @@ namespace llvm {
const TargetMachine* tm_;
const TargetRegisterInfo* tri_;
const TargetInstrInfo* tii_;
+ AliasAnalysis *aa_;
LiveVariables* lv_;
/// Special pool allocator for VNInfo's (LiveInterval val#).