Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More cpp backend fixes. Now for FP stuff. | Anton Korobeynikov | 2009-08-21 | 1 | -3/+3 |
| | | | | llvm-svn: 79626 | ||||
* | Fix some typos and use type-based isel for VZIP/VUZP/VTRN | Anton Korobeynikov | 2009-08-21 | 4 | -56/+56 |
| | | | | llvm-svn: 79625 | ||||
* | Add lowering of ARM 4-element shuffles to multiple instructios via ↵ | Anton Korobeynikov | 2009-08-21 | 3 | -9/+6720 |
| | | | | | | perfectshuffle-generated table. llvm-svn: 79624 | ||||
* | Add nodes & dummy matchers for some v{zip,uzp,trn} instructions | Anton Korobeynikov | 2009-08-21 | 3 | -0/+51 |
| | | | | llvm-svn: 79622 | ||||
* | Expand EXTRACT_SUBVECTOR | Anton Korobeynikov | 2009-08-21 | 1 | -0/+1 |
| | | | | llvm-svn: 79621 | ||||
* | Provide vext.{16,32} | Anton Korobeynikov | 2009-08-21 | 2 | -13/+23 |
| | | | | llvm-svn: 79620 | ||||
* | Use masks not nodes for vector shuffle predicates. Provide set of 'legal' ↵ | Anton Korobeynikov | 2009-08-21 | 2 | -15/+34 |
| | | | | | | masks, so legalizer won't infinite cycle llvm-svn: 79619 | ||||
* | Update CMakeLists. | Benjamin Kramer | 2009-08-21 | 1 | -0/+3 |
| | | | | llvm-svn: 79617 | ||||
* | bug 4530: Make debug information static to it is preservered during bitcode ↵ | Richard Pennington | 2009-08-21 | 1 | -2/+2 |
| | | | | | | linking. llvm-svn: 79616 | ||||
* | llvm-mc: Start MCAssembler and MCMachOStreamer. | Daniel Dunbar | 2009-08-21 | 2 | -0/+398 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Together these form the (Mach-O) back end of the assembler. - MCAssembler is the actual assembler backend, which is designed to have a reasonable API. This will eventually grow to support multiple object file implementations, but for now its Mach-O/i386 only. - MCMachOStreamer adapts the MCStreamer "actions" API to the MCAssembler API, e.g. converting the various directives into fragments, managing state like the current section, and so on. - llvm-mc will use the new backend via '-filetype=obj', which may eventually be, but is not yet, since I hear that people like assemblers which actually assemble. - The only thing that works at the moment is changing sections. For the time being I have a Python Mach-O dumping tool in test/scripts so this stuff can be easily tested, eventually I expect to replace this with a real LLVM tool. - More doxyments to come. I assume that since this stuff doesn't touch any of the things which are part of 2.6 that it is ok to put this in not so long before the freeze, but if someone objects let me know, I can pull it. llvm-svn: 79612 | ||||
* | Remove #include <iostream>. | Bill Wendling | 2009-08-21 | 1 | -1/+0 |
| | | | | llvm-svn: 79603 | ||||
* | Clean up the APInt function getDigit. | Erick Tryzelaar | 2009-08-21 | 1 | -21/+19 |
| | | | | llvm-svn: 79602 | ||||
* | Update error messages for '+'. Fix grammar and make the two | Eric Christopher | 2009-08-21 | 1 | -4/+5 |
| | | | | | | negative checks resemble each other. llvm-svn: 79595 | ||||
* | Fix trailing whitespace and 80-col violation. | Eric Christopher | 2009-08-21 | 1 | -120/+121 |
| | | | | llvm-svn: 79594 | ||||
* | Fix bug with APInt::getBitsNeeded with for base 10 numbers 0-9. | Erick Tryzelaar | 2009-08-21 | 1 | -30/+42 |
| | | | | llvm-svn: 79593 | ||||
* | Allow '+' to appear in APInt strings, and add more unit tests. | Erick Tryzelaar | 2009-08-21 | 1 | -6/+11 |
| | | | | llvm-svn: 79592 | ||||
* | Remove Neon intrinsics for VZIP, VUZP, and VTRN. We will represent these as | Bob Wilson | 2009-08-21 | 1 | -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 Anderson | 2009-08-20 | 1 | -35/+52 |
| | | | | llvm-svn: 79578 | ||||
* | Add support for including '+' in APFloat strings, more asserts, | Erick Tryzelaar | 2009-08-20 | 1 | -28/+34 |
| | | | | | | and many new unit tests. llvm-svn: 79574 | ||||
* | Reapply r79555 for testing. Daniel's trying to work out some buildbot ↵ | Owen Anderson | 2009-08-20 | 1 | -52/+35 |
| | | | | | | weirdnesss. llvm-svn: 79572 | ||||
* | --- Reverse-merging r79555 into '.': | Bill Wendling | 2009-08-20 | 1 | -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 | ||||
* | Attempt to comment this code more. | Bill Wendling | 2009-08-20 | 1 | -27/+122 |
| | | | | llvm-svn: 79567 | ||||
* | Suppress build warning in -Asserts | Daniel Dunbar | 2009-08-20 | 1 | -0/+1 |
| | | | | llvm-svn: 79564 | ||||
* | part of the previous commit for PIC16 ISR implementation. | Sanjiv Gupta | 2009-08-20 | 2 | -0/+178 |
| | | | | llvm-svn: 79563 | ||||
* | Implement support for ISRs. | Sanjiv Gupta | 2009-08-20 | 10 | -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 | ||||
* | Reduce contention on the Attributes lock by using atomic operations for ↵ | Owen Anderson | 2009-08-20 | 1 | -7/+7 |
| | | | | | | reference counting rather than locking. llvm-svn: 79560 | ||||
* | Make the StructType->StructLayout table private to TargetData, allowing us ↵ | Owen Anderson | 2009-08-20 | 1 | -52/+35 |
| | | | | | | to avoid locking on it. llvm-svn: 79555 | ||||
* | Fixed PCMPESTRM128 to have opcode 0x60 instead of 0x62, as specified by the | Sean Callanan | 2009-08-20 | 1 | -2/+2 |
| | | | | | | Intel documentation. llvm-svn: 79554 | ||||
* | Fix an x86 code size regression: prefer RIP-relative addressing | Dan Gohman | 2009-08-20 | 1 | -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 | ||||
* | Add a comment explaining why llvm_unreachable_internal doesn't call | Dan Gohman | 2009-08-20 | 1 | -0/+3 |
| | | | | | | the ErrorHandler callback. llvm-svn: 79541 | ||||
* | Fix two APFloat bugs in converting hexadecimal constants. | Daniel Dunbar | 2009-08-20 | 1 | -2/+2 |
| | | | | llvm-svn: 79540 | ||||
* | Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap | Dan Gohman | 2009-08-20 | 7 | -24/+24 |
| | | | | | | and hasNoSignedWrap, for consistency with the nuw and nsw properties. llvm-svn: 79539 | ||||
* | Fix an obvious copy-n-paste bug. | Evan Cheng | 2009-08-20 | 1 | -1/+1 |
| | | | | llvm-svn: 79535 | ||||
* | Various comment and whitespace cleanups. | Dan Gohman | 2009-08-20 | 3 | -14/+17 |
| | | | | llvm-svn: 79533 | ||||
* | Update and fix some comments. | Dan Gohman | 2009-08-20 | 1 | -7/+7 |
| | | | | llvm-svn: 79532 | ||||
* | Check for shared landing pads when assigning call site values. Invokes which | Jim Grosbach | 2009-08-20 | 1 | -20/+34 |
| | | | | | | share a landing pad should also use the same call site value. llvm-svn: 79501 | ||||
* | Add an extra line to conform with preferred style. | Dale Johannesen | 2009-08-19 | 1 | -1/+2 |
| | | | | llvm-svn: 79495 | ||||
* | Modify an assert to avoid what looks like a GCC 4.2.4 signed-ness bug. | Reid Kleckner | 2009-08-19 | 1 | -3/+5 |
| | | | | llvm-svn: 79494 | ||||
* | Fix a few places to check if TargetData is available before using it. | Dan Gohman | 2009-08-19 | 1 | -2/+2 |
| | | | | llvm-svn: 79493 | ||||
* | Add a fast path for setName("") on an unnamed value. | Daniel Dunbar | 2009-08-19 | 1 | -0/+4 |
| | | | | llvm-svn: 79492 | ||||
* | AttrListPtr operations need to be atomic. | Owen Anderson | 2009-08-19 | 1 | -0/+4 |
| | | | | llvm-svn: 79486 | ||||
* | Fix a bug in the over-index constant folding. When over-indexing an | Dan Gohman | 2009-08-19 | 1 | -8/+24 |
| | | | | | | | | array member of a struct, it's possible to land in an arbitrary position inside that struct, such that attempting to find further getelementptr indices will fail. In such cases, folding cannot be done. llvm-svn: 79485 | ||||
* | Handle 'a' modifier in X86 asms. PR 4742. | Dale Johannesen | 2009-08-19 | 1 | -0/+12 |
| | | | | llvm-svn: 79484 | ||||
* | Fixed error in CPPBackend from a contextification API change. | Reid Kleckner | 2009-08-19 | 1 | -3/+4 |
| | | | | llvm-svn: 79483 | ||||
* | Add missing forward declaration. | David Greene | 2009-08-19 | 1 | -0/+1 |
| | | | | llvm-svn: 79481 | ||||
* | Add missing includes. | David Greene | 2009-08-19 | 1 | -0/+1 |
| | | | | llvm-svn: 79480 | ||||
* | Add missing includes. | David Greene | 2009-08-19 | 1 | -0/+1 |
| | | | | llvm-svn: 79479 | ||||
* | Add missing includes. | David Greene | 2009-08-19 | 1 | -0/+1 |
| | | | | llvm-svn: 79478 | ||||
* | Add missing includes. | David Greene | 2009-08-19 | 1 | -0/+1 |
| | | | | llvm-svn: 79476 | ||||
* | Add missing includes. | David Greene | 2009-08-19 | 1 | -0/+1 |
| | | | | llvm-svn: 79475 |