diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-10 23:49:00 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-10 23:49:00 +0000 |
commit | 8de03d222f3b481536a17029fbd9097e9a5a05f6 (patch) | |
tree | 04e835d995cb928c4c1a6e14ba5fb92746f37f88 /llvm/lib/CodeGen/RegAllocBase.h | |
parent | aecdd871da0fd598b96656914a61d024ca91cb1d (diff) | |
download | bcm5719-llvm-8de03d222f3b481536a17029fbd9097e9a5a05f6.tar.gz bcm5719-llvm-8de03d222f3b481536a17029fbd9097e9a5a05f6.zip |
Move MRI into RegAllocBase. Clean up debug output a bit.
llvm-svn: 121599
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.h b/llvm/lib/CodeGen/RegAllocBase.h index 71c3faf765e..7d133272f7e 100644 --- a/llvm/lib/CodeGen/RegAllocBase.h +++ b/llvm/lib/CodeGen/RegAllocBase.h @@ -84,6 +84,7 @@ protected: }; const TargetRegisterInfo *TRI; + MachineRegisterInfo *MRI; VirtRegMap *VRM; LiveIntervals *LIS; LiveUnionArray PhysReg2LiveUnion; @@ -92,12 +93,12 @@ protected: // query on a new live virtual register. OwningArrayPtr<LiveIntervalUnion::Query> Queries; - RegAllocBase(): TRI(0), VRM(0), LIS(0) {} + RegAllocBase(): TRI(0), MRI(0), VRM(0), LIS(0) {} virtual ~RegAllocBase() {} // A RegAlloc pass should call this before allocatePhysRegs. - void init(const TargetRegisterInfo &tri, VirtRegMap &vrm, LiveIntervals &lis); + void init(VirtRegMap &vrm, LiveIntervals &lis); // Get an initialized query to check interferences between lvr and preg. Note // that Query::init must be called at least once for each physical register |