Added getNumDefs().

llvm-svn: 41901
This commit is contained in:
Evan Cheng 2007-09-13 00:16:29 +00:00
parent 7adc0f3eff
commit 827f269fac

View File

@ -201,6 +201,10 @@ public:
return get(Opcode).numOperands;
}
int getNumDefs(MachineOpCode Opcode) const {
return get(Opcode).numDefs;
}
InstrSchedClass getSchedClass(MachineOpCode Opcode) const {
return get(Opcode).schedClass;
}