mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
7520e3a2b5
InstAlias<{alias}, {aliasee}>; The InstAlias instruction should be able to go from the MCInst to the {alias}. All of the information is there to match the MCInst with the {aliasee}. From there, it's a simple matter to emit the {alias}, with the correct operands from the {aliasee}. The code this patch generates can be used by the InstPrinter to automatically print out the alias without having to write special C++ code to handle the situation. This is a WIP, and therefore are several limitations. For instance, it cannot handle AsmOperands at the moment. It also doesn't know what to do when two {alias}es match the same {aliasee}. (Currently, it just ignores those two cases and allows the printInstruction method to handle them.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126538 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ARMDecoderEmitter.cpp | ||
ARMDecoderEmitter.h | ||
AsmMatcherEmitter.cpp | ||
AsmMatcherEmitter.h | ||
AsmWriterEmitter.cpp | ||
AsmWriterEmitter.h | ||
AsmWriterInst.cpp | ||
AsmWriterInst.h | ||
CallingConvEmitter.cpp | ||
CallingConvEmitter.h | ||
ClangASTNodesEmitter.cpp | ||
ClangASTNodesEmitter.h | ||
ClangAttrEmitter.cpp | ||
ClangAttrEmitter.h | ||
ClangDiagnosticsEmitter.cpp | ||
ClangDiagnosticsEmitter.h | ||
ClangSACheckersEmitter.cpp | ||
ClangSACheckersEmitter.h | ||
CMakeLists.txt | ||
CodeEmitterGen.cpp | ||
CodeEmitterGen.h | ||
CodeGenDAGPatterns.cpp | ||
CodeGenDAGPatterns.h | ||
CodeGenInstruction.cpp | ||
CodeGenInstruction.h | ||
CodeGenIntrinsics.h | ||
CodeGenRegisters.h | ||
CodeGenTarget.cpp | ||
CodeGenTarget.h | ||
DAGISelEmitter.cpp | ||
DAGISelEmitter.h | ||
DAGISelMatcher.cpp | ||
DAGISelMatcher.h | ||
DAGISelMatcherEmitter.cpp | ||
DAGISelMatcherGen.cpp | ||
DAGISelMatcherOpt.cpp | ||
DisassemblerEmitter.cpp | ||
DisassemblerEmitter.h | ||
EDEmitter.cpp | ||
EDEmitter.h | ||
FastISelEmitter.cpp | ||
FastISelEmitter.h | ||
FixedLenDecoderEmitter.cpp | ||
FixedLenDecoderEmitter.h | ||
InstrEnumEmitter.cpp | ||
InstrEnumEmitter.h | ||
InstrInfoEmitter.cpp | ||
InstrInfoEmitter.h | ||
IntrinsicEmitter.cpp | ||
IntrinsicEmitter.h | ||
LLVMCConfigurationEmitter.cpp | ||
LLVMCConfigurationEmitter.h | ||
Makefile | ||
NeonEmitter.cpp | ||
NeonEmitter.h | ||
OptParserEmitter.cpp | ||
OptParserEmitter.h | ||
Record.cpp | ||
Record.h | ||
RegisterInfoEmitter.cpp | ||
RegisterInfoEmitter.h | ||
StringMatcher.cpp | ||
StringMatcher.h | ||
StringToOffsetTable.h | ||
SubtargetEmitter.cpp | ||
SubtargetEmitter.h | ||
TableGen.cpp | ||
TableGenBackend.cpp | ||
TableGenBackend.h | ||
TGLexer.cpp | ||
TGLexer.h | ||
TGParser.cpp | ||
TGParser.h | ||
TGValueTypes.cpp | ||
X86DisassemblerShared.h | ||
X86DisassemblerTables.cpp | ||
X86DisassemblerTables.h | ||
X86ModRMFilters.h | ||
X86RecognizableInstr.cpp | ||
X86RecognizableInstr.h |