diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-21 21:11:41 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-21 21:11:41 +0000 |
commit | 3bdf5fe71ad2d48d81d013b16181766bde295f58 (patch) | |
tree | ac81064df2b9eb4a72a57624e718505e97ab4660 /include | |
parent | 4893c067b767f5955ffedd722f33c11750c3e52b (diff) | |
download | llvm-3bdf5fe71ad2d48d81d013b16181766bde295f58.tar.gz llvm-3bdf5fe71ad2d48d81d013b16181766bde295f58.tar.bz2 llvm-3bdf5fe71ad2d48d81d013b16181766bde295f58.tar.xz |
Factor out code into HandleVirtRegDef, for consistency with
Handle{Virt,Phys}Reg{Def,Use}. Remove a redundant check
for register zero, and redundant checks for isPhysicalRegister.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/LiveVariables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h index 18fa6f1f02..58f0cf86dd 100644 --- a/include/llvm/CodeGen/LiveVariables.h +++ b/include/llvm/CodeGen/LiveVariables.h @@ -263,6 +263,7 @@ public: void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock, MachineBasicBlock *BB, std::vector<MachineBasicBlock*> &WorkList); + void HandleVirtRegDef(unsigned reg, MachineInstr *MI); void HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB, MachineInstr *MI); }; |