diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-11-01 00:27:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-11-01 00:27:05 +0000 |
commit | e2ba8975883874633a1035c245af3b948b940b25 (patch) | |
tree | c96cb0a2c458ddce539001e9f610df39969257df /utils/TableGen/CodeGenInstruction.h | |
parent | 2f15c063baec25d337a8cd18cb8209e866b7845d (diff) | |
download | llvm-e2ba8975883874633a1035c245af3b948b940b25.tar.gz llvm-e2ba8975883874633a1035c245af3b948b940b25.tar.bz2 llvm-e2ba8975883874633a1035c245af3b948b940b25.tar.xz |
Add operand constraints to TargetInstrInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.h')
-rw-r--r-- | utils/TableGen/CodeGenInstruction.h | 8 |
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; |