diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-02-19 00:53:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-02-19 00:53:42 +0000 |
commit | 1b847deb26b52051de39f4cbecd224c9fbd0d1c2 (patch) | |
tree | ce389a0fd2d23a1a62dba6a7499aacaecb06cb45 /lib/CodeGen/SplitKit.h | |
parent | 4b19c9865ee94367d7b3594c36e59e4c15ba82cc (diff) |
Give SplitAnalysis a VRM member to access VirtRegMap::getOriginal().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r-- | lib/CodeGen/SplitKit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index 7adc0be10d..5c34afd1c8 100644 --- a/lib/CodeGen/SplitKit.h +++ b/lib/CodeGen/SplitKit.h @@ -43,6 +43,7 @@ typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; class SplitAnalysis { public: const MachineFunction &MF; + const VirtRegMap &VRM; const LiveIntervals &LIS; const MachineLoopInfo &Loops; const TargetInstrInfo &TII; @@ -105,7 +106,7 @@ private: bool canAnalyzeBranch(const MachineBasicBlock *MBB); public: - SplitAnalysis(const MachineFunction &mf, const LiveIntervals &lis, + SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis, const MachineLoopInfo &mli); /// analyze - set CurLI to the specified interval, and analyze how it may be |