llvm/utils/TableGen
Jim Grosbach 4a6d735105 Teach TableGen to pre-calculate register enum values when creating the
CodeGenRegister entries. Use this information to more intelligently build
the literal register entires in the DAGISel matcher table. Specifically,
use a single-byte OPC_EmitRegister entry for registers with a value of
less than 256 and OPC_EmitRegister2 entry for registers with a larger value.

rdar://9066491



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127456 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-11 02:19:02 +00:00
..
ARMDecoderEmitter.cpp Tidy up since ARM MOVCCi and MOVCCi16 are now pseudos. 2011-03-11 01:16:49 +00:00
ARMDecoderEmitter.h I swear I did a make clean and make before committing all this... 2010-11-29 18:47:54 +00:00
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 Teach the clang attribute emitter about InheritableParamAttr. 2011-03-02 04:00:52 +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 Make the register enum value part of the CodeGenRegister struct. 2011-03-11 01:33:54 +00:00
CodeGenTarget.cpp Make the register enum value part of the CodeGenRegister struct. 2011-03-11 01:33:54 +00:00
CodeGenTarget.h Trailing whitespace. 2011-03-11 01:27:24 +00:00
DAGISelEmitter.cpp Teach TableGen to pre-calculate register enum values when creating the 2011-03-11 02:19:02 +00:00
DAGISelEmitter.h
DAGISelMatcher.cpp Flag -> Glue, the ongoing saga 2010-12-23 18:28:41 +00:00
DAGISelMatcher.h Teach TableGen to pre-calculate register enum values when creating the 2011-03-11 02:19:02 +00:00
DAGISelMatcherEmitter.cpp Teach TableGen to pre-calculate register enum values when creating the 2011-03-11 02:19:02 +00:00
DAGISelMatcherGen.cpp Teach TableGen to pre-calculate register enum values when creating the 2011-03-11 02:19:02 +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 Rename the narrow shift right immediate operands to "shr_imm*" operands. Also 2011-03-07 23:38:41 +00:00
EDEmitter.h
FastISelEmitter.cpp Add source Record* reference to PatternToMatch. Allows better diagnostics. 2010-12-07 23:05:49 +00:00
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 Make the register enum value part of the CodeGenRegister struct. 2011-03-11 01:33:54 +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 I swear I did a make clean and make before committing all this... 2010-11-29 18:47:54 +00:00
X86RecognizableInstr.cpp Implement xgetbv and xsetbv. 2011-02-22 00:35:18 +00:00
X86RecognizableInstr.h I swear I did a make clean and make before committing all this... 2010-11-29 18:47:54 +00:00