diff options
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineInstrBuilder.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h index 3d3015588b1..9a57150ca3a 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/llvm/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).    ///  | 

