projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d69c8e
)
ADd support for CC registers for Sparc BE
author
Chris Lattner
<sabre@nondot.org>
Wed, 15 Jan 2003 19:22:23 +0000
(19:22 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index 3d3015588b1f3b4a96c3e619df96e7e93f2eed47..9a57150ca3aec60f1237aff1275a7c24eba0989a 100644
(file)
--- 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).
///