llvm-6502/utils/TableGen
Bill Wendling 7520e3a2b5 A new TableGen feature! (Not turned on just yet.)
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
2011-02-26 03:09:12 +00:00
..
ARMDecoderEmitter.cpp Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. 2011-02-18 21:51:29 +00:00
ARMDecoderEmitter.h
AsmMatcherEmitter.cpp Check that MnemonicAlias doesn't map back to the same string. 2011-02-17 23:22:19 +00:00
AsmMatcherEmitter.h
AsmWriterEmitter.cpp A new TableGen feature! (Not turned on just yet.) 2011-02-26 03:09:12 +00:00
AsmWriterEmitter.h A new TableGen feature! (Not turned on just yet.) 2011-02-26 03:09:12 +00:00
AsmWriterInst.cpp
AsmWriterInst.h
CallingConvEmitter.cpp
CallingConvEmitter.h
ClangASTNodesEmitter.cpp
ClangASTNodesEmitter.h eliminate the Records global variable, patch by Garrison Venn! 2010-12-13 00:23:57 +00:00
ClangAttrEmitter.cpp Add serialization for Expr* arguments for attributes to clang tablegen files. 2011-02-17 03:30:09 +00:00
ClangAttrEmitter.h
ClangDiagnosticsEmitter.cpp Wrap the struct in an anonymous namespace. 2011-02-13 07:51:19 +00:00
ClangDiagnosticsEmitter.h
ClangSACheckersEmitter.cpp In utils/TableGen/ClangSACheckersEmitter.cpp, set the 'Hidden' bit for checkers. 2011-02-24 21:33:49 +00:00
ClangSACheckersEmitter.h Add the ClangSACheckersEmitter tablegen backend which will be used for the clang static analyzer. 2011-02-14 17:58:52 +00:00
CMakeLists.txt Put targets on folders, if the IDE supports the feature. 2011-02-20 22:06:10 +00:00
CodeEmitterGen.cpp Tidy up a bit. 2011-02-03 23:26:36 +00:00
CodeEmitterGen.h Move <map> include out of .h and into .cpp. 2010-12-13 01:05:54 +00:00
CodeGenDAGPatterns.cpp Silence uninitialized value warnings. 2011-02-04 17:01:53 +00:00
CodeGenDAGPatterns.h [AVX] Add type checking support for vector/subvector type constraints. 2011-01-24 20:53:18 +00:00
CodeGenInstruction.cpp Improve the AsmMatcher's ability to handle suboperands. 2011-01-26 19:44:55 +00:00
CodeGenInstruction.h Improve the AsmMatcher's ability to handle suboperands. 2011-01-26 19:44:55 +00:00
CodeGenIntrinsics.h
CodeGenRegisters.h
CodeGenTarget.cpp Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
CodeGenTarget.h Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
DAGISelEmitter.cpp
DAGISelEmitter.h
DAGISelMatcher.cpp Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
DAGISelMatcher.h Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
DAGISelMatcherEmitter.cpp flags -> glue for selectiondag 2010-12-23 17:24:32 +00:00
DAGISelMatcherGen.cpp Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
DAGISelMatcherOpt.cpp Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
DisassemblerEmitter.cpp Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. 2011-02-18 21:51:29 +00:00
DisassemblerEmitter.h
EDEmitter.cpp Fix encoding and add parsing support for the arm/thumb CPS instruction: 2011-02-14 13:09:44 +00:00
EDEmitter.h
FastISelEmitter.cpp
FastISelEmitter.h
FixedLenDecoderEmitter.cpp Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. 2011-02-18 21:51:29 +00:00
FixedLenDecoderEmitter.h Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. 2011-02-18 21:51:29 +00:00
InstrEnumEmitter.cpp eliminate the Records global variable, patch by Garrison Venn! 2010-12-13 00:23:57 +00:00
InstrEnumEmitter.h
InstrInfoEmitter.cpp
InstrInfoEmitter.h
IntrinsicEmitter.cpp
IntrinsicEmitter.h
LLVMCConfigurationEmitter.cpp llvmc: make switch options ZeroOrMore by default. 2010-12-15 01:21:59 +00:00
LLVMCConfigurationEmitter.h various cleanups to tblgen, patch by Garrison Venn! 2010-12-15 04:48:22 +00:00
Makefile
NeonEmitter.cpp Use __builtin_shufflevector to implement vget_low and vget_high intrinsics. 2011-01-07 23:40:49 +00:00
NeonEmitter.h Add a Neon intrinsic test generator. 2010-12-15 16:58:45 +00:00
OptParserEmitter.cpp
OptParserEmitter.h
Record.cpp Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
Record.h Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
RegisterInfoEmitter.cpp Introduce TargetRegisterInfo::getOverlaps(Reg), returning a list of all 2010-12-14 23:03:42 +00:00
RegisterInfoEmitter.h
StringMatcher.cpp
StringMatcher.h
StringToOffsetTable.h
SubtargetEmitter.cpp eliminate the Records global variable, patch by Garrison Venn! 2010-12-13 00:23:57 +00:00
SubtargetEmitter.h
TableGen.cpp Add the ClangSACheckersEmitter tablegen backend which will be used for the clang static analyzer. 2011-02-14 17:58:52 +00:00
TableGenBackend.cpp
TableGenBackend.h
TGLexer.cpp Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
TGLexer.h Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
TGParser.cpp Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
TGParser.h various cleanups to tblgen, patch by Garrison Venn! 2010-12-15 04:48:22 +00:00
TGValueTypes.cpp
X86DisassemblerShared.h
X86DisassemblerTables.cpp
X86DisassemblerTables.h
X86ModRMFilters.h
X86RecognizableInstr.cpp Implement xgetbv and xsetbv. 2011-02-22 00:35:18 +00:00
X86RecognizableInstr.h