ADd support for CC registers for Sparc BE

llvm-svn: 5297
This commit is contained in:
Chris Lattner 2003-01-15 19:22:23 +00:00
parent 109d114e4c
commit 067bf7b949
1 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,14 @@ public:
return *this; 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 /// addRegDef - Add an LLVM value that is to be defined as a register... this
/// is the same as addReg(V, MOTy::Def). /// is the same as addReg(V, MOTy::Def).
/// ///