diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-11-17 01:36:01 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-11-17 01:36:01 +0000 |
commit | 33247d537ddce29e65bc324bf8d40a15d2d88c01 (patch) | |
tree | 04c9e201f166eb1d5e86f01ccc8629b6b734551e /include/llvm/Target/TargetInstrInfo.h | |
parent | 8ea7c52185e3e686f8ca9d65d0135771329fbaa8 (diff) | |
download | external_llvm-33247d537ddce29e65bc324bf8d40a15d2d88c01.zip external_llvm-33247d537ddce29e65bc324bf8d40a15d2d88c01.tar.gz external_llvm-33247d537ddce29e65bc324bf8d40a15d2d88c01.tar.bz2 |
Add opcode to TargetInstrDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index db3b813..596afd6 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -110,8 +110,9 @@ public: class TargetInstrDescriptor { public: + MachineOpCode Opcode; // The opcode. + unsigned short numOperands; // Num of args (may be more if variable_ops). const char * Name; // Assembly language mnemonic for the opcode. - unsigned numOperands; // Num of args (may be more if variable_ops). InstrSchedClass schedClass; // enum identifying instr sched class unsigned Flags; // flags identifying machine instr class unsigned TSFlags; // Target Specific Flag values |