[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Evan Cheng
evan.cheng at apple.com
Sat Feb 17 03:08:15 PST 2007
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.209 -> 1.210
---
Log message:
Added findRegisterDefOperand().
---
Diffs of the changes: (+4 -0)
MachineInstr.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.209 llvm/include/llvm/CodeGen/MachineInstr.h:1.210
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.209 Sat Dec 16 23:15:12 2006
+++ llvm/include/llvm/CodeGen/MachineInstr.h Sat Feb 17 05:07:59 2007
@@ -393,6 +393,10 @@
/// 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);
More information about the llvm-commits
mailing list