ADd support for CC registers for Sparc BE
authorChris Lattner <sabre@nondot.org>
Wed, 15 Jan 2003 19:22:23 +0000 (19:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Jan 2003 19:22:23 +0000 (19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5297 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstrBuilder.h

index 3d3015588b1f3b4a96c3e619df96e7e93f2eed47..9a57150ca3aec60f1237aff1275a7c24eba0989a 100644 (file)
@@ -43,6 +43,14 @@ public:
     return *this;
   }
 
+  /// addReg - Add an LLVM value that is to be used as a register...
+  ///
+  const MachineInstrBuilder &addCCReg(Value *V,
+                                      MOTy::UseType Ty = MOTy::Use) const {
+    MI->addCCRegOperand(V, Ty);
+    return *this;
+  }
+
   /// addRegDef - Add an LLVM value that is to be defined as a register... this
   /// is the same as addReg(V, MOTy::Def).
   ///