diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-02-17 11:10:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-02-17 11:10:18 +0000 |
commit | 094e3e553f57b877153828e420cd2dacfb2b364c (patch) | |
tree | adc16b4a4363d3acd4d5a5f8c249ca288d5c7016 /include/llvm/CodeGen/MachineInstr.h | |
parent | e15764f28f10f86ad88c4391bb5619191609f6b4 (diff) | |
download | llvm-094e3e553f57b877153828e420cd2dacfb2b364c.tar.gz llvm-094e3e553f57b877153828e420cd2dacfb2b364c.tar.bz2 llvm-094e3e553f57b877153828e420cd2dacfb2b364c.tar.xz |
Added findRegisterDefOperand().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index ad2ccdf8ca..9cefe7bf20 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -393,6 +393,10 @@ public: /// the specific register or NULL if it is not found. MachineOperand *findRegisterUseOperand(unsigned Reg); + /// findRegisterDefOperand() - Returns the MachineOperand that is a def of + /// the specific register or NULL if it is not found. + MachineOperand *findRegisterDefOperand(unsigned Reg); + /// copyKillDeadInfo - Copies kill / dead operand properties from MI. /// void copyKillDeadInfo(const MachineInstr *MI); |