diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-14 16:51:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-14 16:51:49 +0000 |
commit | 98708260f55cab997a5db77e930a2bd35f4172aa (patch) | |
tree | 22778dcb20b1ea77d69c78873cb80d2897bc4f69 /include | |
parent | 67894a3d02caa0b4628a942bef923907bbd97c47 (diff) | |
download | external_llvm-98708260f55cab997a5db77e930a2bd35f4172aa.zip external_llvm-98708260f55cab997a5db77e930a2bd35f4172aa.tar.gz external_llvm-98708260f55cab997a5db77e930a2bd35f4172aa.tar.bz2 |
Move the code for emitting livein copies out of SelectionDAGISel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineRegisterInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineRegisterInfo.h b/include/llvm/CodeGen/MachineRegisterInfo.h index 31da00d..d312aae 100644 --- a/include/llvm/CodeGen/MachineRegisterInfo.h +++ b/include/llvm/CodeGen/MachineRegisterInfo.h @@ -261,6 +261,12 @@ public: bool isLiveIn(unsigned Reg) const; bool isLiveOut(unsigned Reg) const; + /// EmitLiveInCopies - Emit copies to initialize livein virtual registers + /// into the given entry block. + void EmitLiveInCopies(MachineBasicBlock *EntryMBB, + const TargetRegisterInfo &TRI, + const TargetInstrInfo &TII); + private: void HandleVRegListReallocation(); |