diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td index f146ed35c7db..0f2b0348bef5 100644 --- a/llvm/lib/Target/Target.td +++ b/llvm/lib/Target/Target.td @@ -222,6 +222,17 @@ def i16imm : Operand; def i32imm : Operand; def i64imm : Operand; + +/// PredicateOperand - This can be used to define a predicate operand for an +/// instruction. OpTypes specifies the MIOperandInfo for the operand, and +/// AlwaysVal specifies the value of this predicate when set to "always +/// execute". +class PredicateOperand : Operand { + let MIOperandInfo = OpTypes; + dag ExecuteAlways = AlwaysVal; +} + + // InstrInfo - This class should only be instantiated once to provide parameters // which are global to the the target machine. //