summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-11 10:20:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-11 10:20:02 +0000
commit3ba433a7e85c4f5b943ae6585a0327f4ccd461a0 (patch)
treebe9b1c5d506dff046146ac6b665ee026d6aca3a6 /include/llvm/CodeGen/MachineInstr.h
parent490ce1ea6f85395127f62ba521ce9d20d1f569fe (diff)
downloadllvm-3ba433a7e85c4f5b943ae6585a0327f4ccd461a0.tar.gz
llvm-3ba433a7e85c4f5b943ae6585a0327f4ccd461a0.tar.bz2
llvm-3ba433a7e85c4f5b943ae6585a0327f4ccd461a0.tar.xz
Add methods to add implicit def use operands to a MI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 06d8f3acbf..d3769a2651 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -413,6 +413,10 @@ public:
Op.offset = 0;
}
+ /// addImplicitDefUseOperands - Add all implicit def and use operands to
+ /// this instruction.
+ void addImplicitDefUseOperands();
+
//===--------------------------------------------------------------------===//
// Accessors used to modify instructions in place.
//