[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h
Evan Cheng
evan.cheng at apple.com
Thu Nov 16 17:36:16 PST 2006
Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.105 -> 1.106
---
Log message:
Add opcode to TargetInstrDescriptor.
---
Diffs of the changes: (+2 -1)
TargetInstrInfo.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.105 llvm/include/llvm/Target/TargetInstrInfo.h:1.106
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.105 Wed Nov 8 20:20:58 2006
+++ llvm/include/llvm/Target/TargetInstrInfo.h Thu Nov 16 19:36:01 2006
@@ -110,8 +110,9 @@
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
More information about the llvm-commits
mailing list