summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.h')
-rw-r--r--utils/TableGen/CodeGenInstruction.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.h b/utils/TableGen/CodeGenInstruction.h
index 9ced62005a..c5b4c3cf72 100644
--- a/utils/TableGen/CodeGenInstruction.h
+++ b/utils/TableGen/CodeGenInstruction.h
@@ -70,6 +70,14 @@ namespace llvm {
/// type (which is a record).
std::vector<OperandInfo> OperandList;
+ /// ConstraintStr - The operand constraints string.
+ ///
+ std::string ConstraintStr;
+
+ /// ConstraintsList - List of constraints, encoded into one unsigned int per
+ /// operand.
+ std::vector<unsigned> ConstraintsList;
+
// Various boolean values we track for the instruction.
bool isReturn;
bool isBranch;