Add methods to add implicit def use operands to a MI.
[oota-llvm.git] / include / llvm / CodeGen / MachineInstrBuilder.h
index 4da557cbb3ce6533fa6a2e35b06ba70a4ebe1e3a..a9e7ffd4d5d37c21e416bf4420d5c15f12896340 100644 (file)
@@ -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