Add a new operand flag to mark which operand is the first predicate operand
authorChris Lattner <sabre@nondot.org>
Mon, 6 Nov 2006 23:53:08 +0000 (23:53 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Nov 2006 23:53:08 +0000 (23:53 +0000)
of an M_PREDICATED instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31482 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetInstrInfo.h

index 275477714f96ef743ce0892c150de3f2a4e87de1..8717d7208012f45c1f3dd645f17226ee3179ea9c 100644 (file)
@@ -90,6 +90,11 @@ const unsigned M_PREDICATED = 1 << 13;
 // requires a callback to look up its register class.
 const unsigned M_LOOK_UP_PTR_REG_CLASS = 1 << 0;
 
+/// M_PREDICATE_OPERAND - Set if this is the first operand of a predicate
+/// operand that controls an M_PREDICATED instruction.
+const unsigned M_PREDICATE_OPERAND = 1 << 1;
+
+
 /// TargetOperandInfo - This holds information about one operand of a machine
 /// instruction, indicating the register class for register operands, etc.
 ///