dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
8819c84aed10777ba91d4e862229882b8da0b272 |
|
01-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove several unused variables. Patch by Alp Toker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191757 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
54911a5303f44694c43608eedf2142e9d65d7c22 |
|
15-Jul-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Teaching llvm-tblgen to not emit a switch statement when there are no case statements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186330 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
fc093def2d892a2ea068d3b9e6d5839c187cc942 |
|
26-Dec-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
TableGen/FixedLenDecoderEmitter.cpp: Fix a potential mask overflow in fieldFromInstruction(). Reported by Yang Yongyong, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
4ffd89fa4d2788611187d1a534d2ed46adf1702c |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for utils/... I've tried to find main moudle headers where possible, but the TableGen stuff may warrant someone else looking at it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
61131ab15fd593a2e295d79fe2714e7bc21f2ec8 |
|
25-Oct-2012 |
Joerg Sonnenberger <joerg@bec.de> |
Remove exception handling usage from tblgen. Most places can use PrintFatalError as the unwinding mechanism was not used for anything other than printing the error. The single exception was CodeGenDAGPatterns.cpp, where intermediate errors during type resolution were ignored to simplify incremental platform development. This use is replaced by an error flag in TreePattern and bailout earlier in various places if it is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
3f7b7f8ce0b050fc6a0100839d9c5a84198b2aed |
|
10-Oct-2012 |
Sean Silva <silvas@purdue.edu> |
tblgen: Use semantically correct RTTI functions. Also, some minor cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
6cfc806a6b82b60a3e923b6b89f2b4da62cdb50b |
|
10-Oct-2012 |
Sean Silva <silvas@purdue.edu> |
tblgen: Mechanically move dynamic_cast<> to dyn_cast<>. Some of these dyn_cast<>'s would be better phrased as isa<> or cast<>. That will happen in a future patch. There are also two dyn_cast_or_null<>'s slipped in instead of dyn_cast<>'s, since they were causing crashes with just dyn_cast<>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
736ceace11249da645ec4ed91b8714832193ead4 |
|
05-Oct-2012 |
Sean Silva <silvas@purdue.edu> |
tblgen: Replace uses of dynamic_cast<XXXRecTy> with dyn_cast<>. This is a mechanical change of dynamic_cast<> to dyn_cast<>. A number of these uses are actually more like isa<> or cast<>, and will be changed to the semanticaly appropriate one in a future patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
9bb938c5401db90817d16b32fa078066fb586551 |
|
17-Sep-2012 |
Jim Grosbach <grosbach@apple.com> |
TableGen: Add initializer. Keep GCC's warnings happy. It can't reason out that the state machine won't ever hit the potentially uninitialized use in OPC_FilterValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
307525cd24c3b9c081ddb3c34a3418f2875cd556 |
|
07-Sep-2012 |
Michael Liao <michael.liao@intel.com> |
Re-work bit/bits value resolving in tblgen - This patch is inspired by the failure of the following code snippet which is used to convert enumerable values into encoding bits to improve the readability of td files. class S<int s> { bits<2> V = !if(!eq(s, 8), {0, 0}, !if(!eq(s, 16), {0, 1}, !if(!eq(s, 32), {1, 0}, !if(!eq(s, 64), {1, 1}, {?, ?})))); } Later, PR8330 is found to report not exactly the same bug relevant issue to bit/bits values. - Instead of resolving bit/bits values separately through resolveBitReference(), this patch adds getBit() for all Inits and resolves bit value by resolving plus getting the specified bit. This unifies the resolving of bit with other values and removes redundant logic for resolving bit only. In addition, BitsInit::resolveReferences() is optimized to take advantage of this origanization by resolving VarBitInit's variable reference first and then getting bits from it. - The type interference in '!if' operator is revised to support possible combinations of int and bits/bit in MHS and RHS. - As there may be illegal assignments from integer value to bit, says assign 2 to a bit, but we only check this during instantiation in some cases, e.g. bit V = !if(!eq(x, 17), 0, 2); Verbose diagnostic message is generated when invalid value is resolveed to help locating the error. - PR8330 is fixed as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163360 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
8cd9eaef0102771b93b9336c9b99afa4e18fd45d |
|
17-Aug-2012 |
Craig Topper <craig.topper@gmail.com> |
Declare some for loop indices inside the for loop statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
c056483fc6cfab4307559afb0538323781b28d53 |
|
17-Aug-2012 |
Craig Topper <craig.topper@gmail.com> |
Fix up indentation of outputted decode function for readability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
95d235ddb62805923f2f64edd71b15b904ee4a16 |
|
15-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix a const violation in the generated disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
fc1a161d76f5cc0204bed3bce3e27cf36ac76d22 |
|
14-Aug-2012 |
Jim Grosbach <grosbach@apple.com> |
Switch the fixed-length disassembler to be table-driven. Refactor the TableGen'erated fixed length disassemblmer to use a table-driven state machine rather than a massive set of nested switch() statements. As a result, the ARM Disassembler (ARMDisassembler.cpp) builds much more quickly and generates a smaller end result. For a Release+Asserts build on a 16GB 3.4GHz i7 iMac w/ SSD: Time to compile at -O2 (averaged w/ hot caches): Previous: 35.5s New: 8.9s TEXT size: Previous: 447,251 New: 297,661 Builds in 25% of the time previously required and generates code 66% of the size. Execution time of the disassembler is only slightly slower (7% disassembling 10 million ARM instructions, 19.6s vs 21.0s). The new implementation has not yet been tuned, however, so the performance should almost certainly be recoverable should it become a concern. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
6f36fa981a59461466e12e5056ba209d289b81b1 |
|
11-Jun-2012 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Write llvm-tblgen backends as functions instead of sub-classes. The TableGenBackend base class doesn't do much, and will be removed completely soon. Patch by Sean Silva! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
545b962f1565eaf9ba0f7dfa1b0a74c43359022d |
|
02-Apr-2012 |
Silviu Baranga <silviu.baranga@arm.com> |
Second part for the 153874 one git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
5a4c790c06a8884b208611f63d8623da9a93b7e7 |
|
16-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
More const-correcting of FixedLenDecoderEmitter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152906 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
eb5cd610700661bc46c660640c36949033247d2d |
|
16-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
Const-correct the FixedLenDecoderEmitter. Pass a few things by const reference instead of value to avoid some copying. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152899 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
d936045625ae2e101d3a9544586d7568c6dbacc0 |
|
16-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
Spacing fixes. Mostly aligning arguments that spilled onto next line with the opening parenthese instead of 2 spaces in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
797ba55e20fa5c6b0bcaf3ab676b54c65a4666ac |
|
16-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
Remove unused field NumVariable from Filter class. Even it was needed the same result could be found with VariableInstructions.size(). Also fix some typos in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
c007ba86f31ebe3a1c4cdba5fa23260caaf81e0f |
|
13-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
Remove unused field from FixedLenDecoderEmitter. Move NumberedInstructions declaration from class to run method since its only used there and was being reinitialized anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
9c826d2d3c16e31bd97d4626efe49937d2de9aaa |
|
29-Feb-2012 |
Jim Grosbach <grosbach@apple.com> |
Tidy up. 80 columns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
3015dfb7d739f4cc0b1408555889ecea880ffac9 |
|
09-Feb-2012 |
James Molloy <james.molloy@arm.com> |
Teach the MC and disassembler about SoftFail, and hook it up to UNPREDICTABLE on ARM. Wire this to tBLX in order to provide test coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
655b8de7b2ab773a977e0c524307e71354d8af29 |
|
05-Feb-2012 |
Craig Topper <craig.topper@gmail.com> |
Convert assert(0) to llvm_unreachable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149814 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
684dfcf724e5c9853c04cbc86d7a3fd2a1315d08 |
|
17-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Fix unused variable warning in the rare circumstance that we have no feature-dependent instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
7c788888872233748da10a8177a9a1eb176c1bc8 |
|
01-Oct-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Move TableGen's parser and entry point into a library This is the first step towards splitting LLVM and Clang's tblgen executables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
1cea66c3bac79493a23f6ff45260e7e7f9fb8882 |
|
01-Oct-2011 |
Bob Wilson <bob.wilson@apple.com> |
Subtarget getFeatureBits() returns a uint64_t, not unsigned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
64a17b309d37adca776acd528cccadd20d0dfe26 |
|
08-Sep-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Make sure to handle the case where emitPredicateMatch returns false. Noticed by inspection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
0d76b19919f85ee6b139ec2bf36c9f02df59d100 |
|
08-Sep-2011 |
James Molloy <james.molloy@arm.com> |
Fix warning on windows; use of comparison with bool argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
22b4c819d463da7eadb20162d049ee89de746bce |
|
08-Sep-2011 |
Andrew Trick <atrick@apple.com> |
Fix a use of freed string contents. Speculatively try to fix our windows testers with a patch I found on the internet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
ed968a9a045cb6fecb80abfb7e938954fed54927 |
|
08-Sep-2011 |
Andrew Trick <atrick@apple.com> |
whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
a5d585685493d85d5cb72b831a68ec747ae55a86 |
|
07-Sep-2011 |
James Molloy <james.molloy@arm.com> |
Second of a three-patch series aiming to fix MSR/MRS on Cortex-M. This adds predicate checking to the Disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
83e3f67fb68d497b600da83a62f000fcce7868a9 |
|
17-Aug-2011 |
Owen Anderson <resistor@mac.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
438f68df353eb501be018111c28a6e112bd8a01d |
|
10-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Fix an oversight in the FixedLenDecoderEmitter where we weren't correctly checking the success result of custom decoder hooks on singleton decodings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137171 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
cf6039548bd7ee4ad960da0a480b399869f6fc6f |
|
02-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Make the FixedLengthDecoderEmitter smart enough to autogenerate decoders for encodings like "let Inst{11-7} = foo;", where the RHS has no bitwidth specifiers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
5f801ba6ef5da47987ae4ccf2cc0b54cd888fc84 |
|
01-Aug-2011 |
Owen Anderson <resistor@mac.com> |
The FixedLenDecoder needs to gracefully handle failing per-instruction decoder hooks in addition to per-operand decoder hooks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
7f76baed5ef5383cb4d27df8864f305d728b75ae |
|
01-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Enhance the fixed length disassembler to better handle operand decoding failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
eb809f562e13603459182a5d1c7b0d0704770e6f |
|
30-Jul-2011 |
Owen Anderson <resistor@mac.com> |
Correctly handle scattered operands where the bits of the operand are contiguous, but out of order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
05bce0beee87512e52428d4b80f5a8e79a949576 |
|
30-Jul-2011 |
David Greene <greened@obbligato.org> |
Unconstify Inits Remove const qualifiers from Init references, per Chris' request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136531 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
f37dd02f7743ebd2424480361f5a7db510495c4f |
|
29-Jul-2011 |
David Greene <greened@obbligato.org> |
[AVX] Constify Inits Make references to Inits const everywhere. This is the final step before making them unique. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
ea2429896a9f4cf3176bf69e83d107f214630ec1 |
|
29-Jul-2011 |
Owen Anderson <resistor@mac.com> |
Third time's the charm for implementing tied operand decoding properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
d217da1131388680ec73794ecd5d6fcf3766c114 |
|
29-Jul-2011 |
Owen Anderson <resistor@mac.com> |
Fix a case where, when trying to track tied operands, we'd accidentally overwrite our mapping. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
00ef6e3a30a6b80ff995d3ee718db6349f93d732 |
|
29-Jul-2011 |
Owen Anderson <resistor@mac.com> |
Enhance the fixed-length decoder emitter to support tied operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136431 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
d1e38dfb8d53df048b15e5f2ae70d4e1c9ce61bf |
|
28-Jul-2011 |
Owen Anderson <resistor@mac.com> |
Enhance the fixed-length decoder emitter to support parsing scattered fields. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
f1a009007374d8ae1c1565f34d9cea3b83665e5f |
|
19-Jul-2011 |
Owen Anderson <resistor@mac.com> |
Enhance the FixedLengthDecoder to be able to generate plausible-looking decoders for ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
d568b3f55294917d1cc701da14a8a7daeb6563e6 |
|
12-Jul-2011 |
Eric Christopher <echristo@apple.com> |
Revert r134921, 134917, 134908 and 134907. They're causing failures in multiple buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
d4a9066c93da9a5aab47ca228d82e796fdec70c0 |
|
11-Jul-2011 |
David Greene <greened@obbligato.org> |
[AVX] Make Inits Foldable Manage Inits in a FoldingSet. This provides several benefits: - Memory for Inits is properly managed - Duplicate Inits are folded into Flyweights, saving memory - It enforces const-correctness, protecting against certain classes of bugs The above benefits allow Inits to be used in more contexts, which in turn provides more dynamism to TableGen. This enhanced capability will be used by the AVX code generator to a fold common patterns together. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
806fcc040e0bc7962891f12d6e09fc86f0bc2184 |
|
06-Jul-2011 |
Jim Grosbach <grosbach@apple.com> |
Don't require pseudo-instructions to carry encoding information. For now this is distinct from isCodeGenOnly, as code-gen-only instructions can (and often do) still have encoding information associated with them. Once we've migrated all of them over to true pseudo-instructions that are lowered to real instructions prior to the printer/emitter, we can remove isCodeGenOnly and just use isPseudo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
bea6f615eefae279e53bbb63a31d2c3c67274c45 |
|
27-Jun-2011 |
Owen Anderson <resistor@mac.com> |
Add support for alternative register names, useful for instructions whose operands are logically equivalent to existing registers, but happen to be printed specially. For example, an instruciton that prints d0[0] instead of s0. Patch by Jim Grosbach. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
57557155c91f360d5e8a51d0b0623ebdcca2e3be |
|
18-Apr-2011 |
Owen Anderson <resistor@mac.com> |
Enhance the fixed-length disassembler to support the callbacks necessary for symbolic disassembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
7a2bdde0a0eebcd2125055e0eacaca040f0b766c |
|
15-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
4dd27ebcc2b218630899163504bc2641b9735466 |
|
14-Mar-2011 |
Owen Anderson <resistor@mac.com> |
Ignore isCodeGenOnly instructions when generating diassembly tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|
d8c87888a71c4433d76b48bca6c3e03a17890648 |
|
18-Feb-2011 |
Owen Anderson <resistor@mac.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
|