Add the 'ops' marker, add an AsmString initializer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-01 04:40:43 +00:00
parent 803a5f6ecb
commit c139203f04

View File

@ -110,7 +110,7 @@ class Instruction {
string Namespace = "";
dag OperandList; // An dag containing the MI operand list.
string AsmString; // The .s format to print the instruction with.
string AsmString = ""; // The .s format to print the instruction with.
// Pattern - Set to the DAG pattern for this instruction, if we know of one,
// otherwise, uninitialized.
@ -147,6 +147,11 @@ class InstrInfo {
list<int> TSFlagsShifts = [];
}
/// ops definition - This is just a simple marker used to identify the operands
/// list for an instruction. This should be used like this:
/// (ops R32:$dst, R32:$src) or something similar.
def ops;
//===----------------------------------------------------------------------===//
// Target - This class contains the "global" target information