Classes need to have a prefix name, so that they can be tacked on to the pieces
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 9 Aug 2004 17:46:06 +0000 (17:46 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 9 Aug 2004 17:46:06 +0000 (17:46 +0000)
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

lib/Target/Target.td

index e111f85d0f0f5af18339c584f41985d5ab9d6e38..6fada3452e6068ca5171613b181ad579db9a34f8 100644 (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.