mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
disolve a hack, having CodeGenInstAlias decode the alias in the .td
file instead of the asmmatcher. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#define CODEGEN_INSTRUCTION_H
|
||||
|
||||
#include "llvm/CodeGen/ValueTypes.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
@@ -264,7 +265,22 @@ namespace llvm {
|
||||
/// Result - The result instruction.
|
||||
DagInit *Result;
|
||||
|
||||
CodeGenInstAlias(Record *R);
|
||||
/// ResultInst - The instruction generated by the alias (decoded from
|
||||
/// Result).
|
||||
CodeGenInstruction *ResultInst;
|
||||
|
||||
|
||||
struct ResultOperand {
|
||||
StringRef Name;
|
||||
Record *R;
|
||||
|
||||
ResultOperand(StringRef N, Record *r) : Name(N), R(r) {}
|
||||
};
|
||||
|
||||
/// ResultOperands - The decoded operands for the result instruction.
|
||||
std::vector<ResultOperand> ResultOperands;
|
||||
|
||||
CodeGenInstAlias(Record *R, CodeGenTarget &T);
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user