aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstrBuilder.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/MachineInstrBuilder.h
parent490ce1ea6f85395127f62ba521ce9d20d1f569fe (diff)
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/MachineInstrBuilder.h')
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h
index 4da557cbb3..a9e7ffd4d5 100644
--- a/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/include/llvm/CodeGen/MachineInstrBuilder.h
@@ -77,6 +77,11 @@ public:
MI->addExternalSymbolOperand(FnName);
return *this;
}
+
+ const MachineInstrBuilder &addImplicitDefsUses() const {
+ MI->addImplicitDefUseOperands();
+ return *this;
+ }
};
/// BuildMI - Builder interface. Specify how to create the initial instruction