summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Revert r79563Chris Lattner2009-08-212-177/+0
| | | | llvm-svn: 79691
* revert r79562 + r79563Chris Lattner2009-08-2110-533/+280
| | | | llvm-svn: 79690
* revert r79631Chris Lattner2009-08-212-0/+0
| | | | llvm-svn: 79686
* revert 79631Chris Lattner2009-08-2110-197/+8
| | | | llvm-svn: 79685
* Rename ARM "lane_cst" operands to "nohash_imm" since they are used forBob Wilson2009-08-215-18/+20
| | | | | | | several things other than Neon vector lane numbers. For inline assembly operands with a "c" print code, check that they really are immediates. llvm-svn: 79676
* Match VTRN, VZIP, and VUZP shuffles. Restore the tests for these operations,Bob Wilson2009-08-212-9/+74
| | | | | | now using shuffles instead of intrinsics. llvm-svn: 79673
* Add fcopysign instructionsAnton Korobeynikov2009-08-211-0/+7
| | | | llvm-svn: 79664
* Try again at privatizing the layout info map, with a rewritten patch.Owen Anderson2009-08-211-47/+17
| | | | | | This preserves the existing behavior much more closely than my previous attempt. llvm-svn: 79663
* Expand few nodes until someone will be crazy enough to implement them ↵Anton Korobeynikov2009-08-211-2/+6
| | | | | | natively :) llvm-svn: 79659
* Typo :(Anton Korobeynikov2009-08-211-2/+2
| | | | llvm-svn: 79657
* Correct instruction names for subtract-with-borrowAnton Korobeynikov2009-08-211-2/+2
| | | | llvm-svn: 79656
* Handle 'r' inline asm constraintAnton Korobeynikov2009-08-212-0/+45
| | | | llvm-svn: 79648
* Fix a problem noticed by gcc-4.4:Duncan Sands2009-08-211-1/+1
| | | | | | warning: comparison is always true due to limited range of data type. llvm-svn: 79642
* Fix -Asserts warning.Daniel Dunbar2009-08-211-2/+2
| | | | llvm-svn: 79636
* Fix a typoAnton Korobeynikov2009-08-211-1/+1
| | | | llvm-svn: 79634
* Add a pass to do call graph analyis to overlay the autos and frame sections of Sanjiv Gupta2009-08-2110-8/+202
| | | | | | | leaf functions. This pass will be extended to color other nodes of the call tree as well in future. llvm-svn: 79631
* More cpp backend fixes. Now for FP stuff.Anton Korobeynikov2009-08-211-3/+3
| | | | llvm-svn: 79626
* Fix some typos and use type-based isel for VZIP/VUZP/VTRNAnton Korobeynikov2009-08-214-56/+56
| | | | llvm-svn: 79625
* Add lowering of ARM 4-element shuffles to multiple instructios via ↵Anton Korobeynikov2009-08-213-9/+6720
| | | | | | perfectshuffle-generated table. llvm-svn: 79624
* Add nodes & dummy matchers for some v{zip,uzp,trn} instructionsAnton Korobeynikov2009-08-213-0/+51
| | | | llvm-svn: 79622
* Expand EXTRACT_SUBVECTORAnton Korobeynikov2009-08-211-0/+1
| | | | llvm-svn: 79621
* Provide vext.{16,32}Anton Korobeynikov2009-08-212-13/+23
| | | | llvm-svn: 79620
* Use masks not nodes for vector shuffle predicates. Provide set of 'legal' ↵Anton Korobeynikov2009-08-212-15/+34
| | | | | | masks, so legalizer won't infinite cycle llvm-svn: 79619
* Remove #include <iostream>.Bill Wendling2009-08-211-1/+0
| | | | llvm-svn: 79603
* Remove Neon intrinsics for VZIP, VUZP, and VTRN. We will represent these asBob Wilson2009-08-211-57/+0
| | | | | | | vector shuffles. Temporarily remove the tests for these operations until the new implementation is working. llvm-svn: 79579
* Re-revert r79555. Apparently it's not just buildbot weirdness.Owen Anderson2009-08-201-35/+52
| | | | llvm-svn: 79578
* Reapply r79555 for testing. Daniel's trying to work out some buildbot ↵Owen Anderson2009-08-201-52/+35
| | | | | | weirdnesss. llvm-svn: 79572
* --- Reverse-merging r79555 into '.':Bill Wendling2009-08-201-35/+52
| | | | | | | | | U include/llvm/Target/TargetData.h U lib/Target/TargetData.cpp Temporarily revert 79555. It was causing hangs and test failures. llvm-svn: 79568
* part of the previous commit for PIC16 ISR implementation.Sanjiv Gupta2009-08-202-0/+178
| | | | llvm-svn: 79563
* Implement support for ISRs. Sanjiv Gupta2009-08-2010-280/+528
| | | | | | | | | Clone functions that are shared between the Main thread and Interrupt thread. CallSites are changed in AsmPrinter currently. A better solution would have been to modify the legalizer (SoftenFloat) to allow targets to change the name of libcalls for float operations. But that currently breaks other targets. Also, cloing of automatic variables is done AsmPrinter, a better approach would be to use the ValueMap in CloneFunction itself. llvm-svn: 79562
* Make the StructType->StructLayout table private to TargetData, allowing us ↵Owen Anderson2009-08-201-52/+35
| | | | | | to avoid locking on it. llvm-svn: 79555
* Fixed PCMPESTRM128 to have opcode 0x60 instead of 0x62, as specified by theSean Callanan2009-08-201-2/+2
| | | | | | Intel documentation. llvm-svn: 79554
* Fix an x86 code size regression: prefer RIP-relative addressingDan Gohman2009-08-201-0/+13
| | | | | | | | over absolute addressing even in non-PIC mode (unless the address has an index or something else incompatible), because it has a smaller encoding. llvm-svn: 79553
* Fix an obvious copy-n-paste bug.Evan Cheng2009-08-201-1/+1
| | | | llvm-svn: 79535
* Update and fix some comments.Dan Gohman2009-08-201-7/+7
| | | | llvm-svn: 79532
* Add an extra line to conform with preferred style.Dale Johannesen2009-08-191-1/+2
| | | | llvm-svn: 79495
* Modify an assert to avoid what looks like a GCC 4.2.4 signed-ness bug.Reid Kleckner2009-08-191-3/+5
| | | | llvm-svn: 79494
* Handle 'a' modifier in X86 asms. PR 4742.Dale Johannesen2009-08-191-0/+12
| | | | llvm-svn: 79484
* Fixed error in CPPBackend from a contextification API change.Reid Kleckner2009-08-191-3/+4
| | | | llvm-svn: 79483
* Remove temporary testing code.Dan Gohman2009-08-191-1/+0
| | | | llvm-svn: 79443
* Add an x86 peep that narrows TEST instructions to forms that useDan Gohman2009-08-191-6/+103
| | | | | | | a smaller encoding. These kinds of patterns are very frequent in sqlite3, for example. llvm-svn: 79439
* Update Cortex-A8 instruction itineraries for integer instructions.David Goodwin2009-08-196-365/+650
| | | | llvm-svn: 79436
* Add support for Neon VEXT (vector extract) shuffles.Bob Wilson2009-08-193-1/+69
| | | | | | | | This is derived from a patch by Anton Korzh. I modified it to recognize the VEXT shuffles during legalization and lower them to a target-specific DAG node. llvm-svn: 79428
* eliminate AsmPrinter::SwitchToSection and just have clientsChris Lattner2009-08-1913-73/+94
| | | | | | talk to the MCStreamer directly instead. llvm-svn: 79405
* Implement sse4.2 string/text processing instructions:Eric Christopher2009-08-184-1/+178
| | | | | | | | Add patterns and instruction encoding information. Add custom lowering to deal with hardwired return register of uncertain type (xmm0). llvm-svn: 79377
* Simplify RegScavenger::FindUnusedReg.Jakob Stoklund Olesen2009-08-184-13/+5
| | | | | | | | | - Drop the Candidates argument and fix all callers. Now that RegScavenger tracks available registers accurately, there is no need to restict the search. - Make sure that no aliases of the found register are in use. This was a potential bug. llvm-svn: 79369
* Add support for mergeable sections back into the XCore backend.Richard Osborne2009-08-181-5/+18
| | | | llvm-svn: 79368
* Put data with relocations in the same sections as data without relocations.Richard Osborne2009-08-181-1/+7
| | | | llvm-svn: 79351
* fix COFF targets (mingw/cygwin) to provide ehframe and LSDA sectionsChris Lattner2009-08-181-0/+8
| | | | llvm-svn: 79346
* Text sections should have 'exec' flag set. This seems to unbreak libstdc++ ↵Anton Korobeynikov2009-08-181-0/+3
| | | | | | | | on linux. Patch by Dmitry Gorbachev! llvm-svn: 79334
OpenPOWER on IntegriCloud