aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-06 23:53:08 +0000
committerChris Lattner <sabre@nondot.org>2006-11-06 23:53:08 +0000
commit8ceabde4cbca8913dadd39c9d83c89b4f7c5cd86 (patch)
treed2dc905086452ef2e44ad1162cd07d1c69b2f6e9
parent33f5a51020b88bd66c78e87ddd459064813838e6 (diff)
downloadllvm-8ceabde4cbca8913dadd39c9d83c89b4f7c5cd86.zip
llvm-8ceabde4cbca8913dadd39c9d83c89b4f7c5cd86.tar.gz
llvm-8ceabde4cbca8913dadd39c9d83c89b4f7c5cd86.tar.bz2
Add a new operand flag to mark which operand is the first predicate operand
of an M_PREDICATED instruction. llvm-svn: 31482
-rw-r--r--llvm/include/llvm/Target/TargetInstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/Target/TargetInstrInfo.h b/llvm/include/llvm/Target/TargetInstrInfo.h
index 2754777..8717d72 100644
--- a/llvm/include/llvm/Target/TargetInstrInfo.h
+++ b/llvm/include/llvm/Target/TargetInstrInfo.h
@@ -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.
///