summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-02-19 00:53:42 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-02-19 00:53:42 +0000
commitf1a60a61badefc093d74b8752001f7fc9c22608e (patch)
treeb7deb041d13225bd8cd56661695892cc8a8e96d4 /llvm/lib/CodeGen/SplitKit.h
parent740467a24526ad505fbd1a0363a4904769a77a1d (diff)
downloadbcm5719-llvm-f1a60a61badefc093d74b8752001f7fc9c22608e.tar.gz
bcm5719-llvm-f1a60a61badefc093d74b8752001f7fc9c22608e.zip
Give SplitAnalysis a VRM member to access VirtRegMap::getOriginal().
llvm-svn: 126005
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
-rw-r--r--llvm/lib/CodeGen/SplitKit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h
index 7adc0be10de..5c34afd1c81 100644
--- a/llvm/lib/CodeGen/SplitKit.h
+++ b/llvm/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
OpenPOWER on IntegriCloud