Classes need to have a prefix name, so that they can be tacked on to the pieces

that TableGen creates for them, e.g. CodeEmitter, AsmPrinter, etc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-08-09 17:46:06 +00:00
parent f588548a86
commit 665235b9df

View File

@ -108,6 +108,7 @@ class RegisterClass<ValueType regType, int alignment, list<Register> regList> {
class Instruction {
string Name = ""; // The opcode string for this instruction
string Namespace = "";
string ClassPrefix = "";
dag OperandList; // An dag containing the MI operand list.
string AsmString = ""; // The .s format to print the instruction with.