Craig Topper
7eb05588b8
Const-correct the FixedLenDecoderEmitter. Pass a few things by const reference instead of value to avoid some copying.
...
llvm-svn: 152899
2012-03-16 05:58:09 +00:00
Craig Topper
8541c0f470
Remove unused field from FixedLenDecoderEmitter. Move NumberedInstructions declaration from class to run method since its only used there and was being reinitialized anyway.
...
llvm-svn: 152616
2012-03-13 06:39:00 +00:00
Jim Grosbach
b0d6469b77
Nuke a bit of dead code.
...
llvm-svn: 152067
2012-03-05 23:09:51 +00:00
Jim Grosbach
2c1ad70f1e
Tidy up. 80 columns.
...
llvm-svn: 151764
2012-02-29 22:07:56 +00:00
Peter Collingbourne
01246536d9
Move TableGen's parser and entry point into a library
...
This is the first step towards splitting LLVM and Clang's tblgen executables.
llvm-svn: 140951
2011-10-01 16:41:13 +00:00
James Molloy
ac057f13a5
Second of a three-patch series aiming to fix MSR/MRS on Cortex-M. This adds predicate checking to the Disassembler.
...
llvm-svn: 139250
2011-09-07 19:42:28 +00:00
Owen Anderson
3146968039
Allow the MCDisassembler to return a "soft fail" status code, indicating an instruction that is disassemblable, but invalid. Only used for ARM UNPREDICTABLE instructions at the moment.
...
Patch by James Molloy.
llvm-svn: 137830
2011-08-17 17:44:15 +00:00
Owen Anderson
3650feb7f7
Enhance the fixed-length decoder emitter to support parsing scattered fields.
...
llvm-svn: 136405
2011-07-28 21:54:31 +00:00
Owen Anderson
ad0f17c102
Enhance the FixedLengthDecoder to be able to generate plausible-looking decoders for ARM.
...
llvm-svn: 135524
2011-07-19 21:06:00 +00:00
Owen Anderson
a2d2de33c5
Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings.
...
A major part of its (eventual) goal is to support a much cleaner separation between disassembly callbacks
provided by the target and the disassembler emitter itself, i.e. not requiring hardcoding of knowledge in tblgen
like the existing disassembly emitters do.
The hope is that some day this will allow us to replace the existing non-Thumb ARM disassembler and remove
some of the hacks the old one introduced to tblgen.
llvm-svn: 125966
2011-02-18 21:51:29 +00:00