aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-15 19:22:23 +0000
committerChris Lattner <sabre@nondot.org>2003-01-15 19:22:23 +0000
commit83435fbaf98a89cc5d6f13a68bab7e52e8fb6cb3 (patch)
tree49caa9db52ac1922c6eea5b481d1b3943fe2f02d
parent4d69c8e3691e7e58db0e9f74399490d81f2770b4 (diff)
ADd support for CC registers for Sparc BE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5297 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h
index 3d3015588b..9a57150ca3 100644
--- a/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/include/llvm/CodeGen/MachineInstrBuilder.h
@@ -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).
///