summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* prune some redundant #includes.Chris Lattner2009-08-221-10/+9
| | | | llvm-svn: 79746
* tweak #includesChris Lattner2009-08-221-5/+2
| | | | llvm-svn: 79744
* Record variable debug info at ISel time directly.Devang Patel2009-08-2220-222/+34
| | | | llvm-svn: 79742
* Some dummy cost model for s390x:Anton Korobeynikov2009-08-222-3/+13
| | | | | | | | | - Prefer short-imm instructions over ext-imm, when possible - Prefer Z10 instructions over Z9, when possible This hopefully should fix some dejagnu test fails on solaris llvm-svn: 79741
* llvm-mc/Mach-O: Improve symbol table support:Daniel Dunbar2009-08-222-37/+164
| | | | | | | | | | | | - Honor .globl. - Set symbol type and section correctly ('nm' now works), and order symbols appropriately. - Take care to the string table so that the .o matches 'as' exactly (for ease of testing). llvm-svn: 79740
* llvm-mc/Mach-O: Sketch symbol table support.Daniel Dunbar2009-08-222-36/+240
| | | | | | | | | | | - The only .s syntax this honors right now is emitting labels, and some parts of the symbol table generation are wrong or faked. - This is enough to get nm to report such symbols... incorrectly, but still. Also, fixed byte emission to extend the previous fragment if possible. llvm-svn: 79739
* llvm-mc/Mach-O: Move more logic for writing the Mach-O file into the writerDaniel Dunbar2009-08-221-27/+40
| | | | | | class, and kill off MCSectionData::FileOffset. llvm-svn: 79735
* llvm-mc: Rename / redefine MCFragment::FileOffset to MCFragment::Offset (theDaniel Dunbar2009-08-221-15/+9
| | | | | | section offset). llvm-svn: 79734
* llvm-mc: Clean up some handling of symbol/section association to be more correctDaniel Dunbar2009-08-223-12/+14
| | | | | | | | | (external was really undefined and there wasn't an explicit representation for absolute symbols). - This still needs some cleanup to how the absolute "pseudo" section is dealt with, but I haven't figured out the nicest approach yet. llvm-svn: 79733
* Reapply r79708 with the appropriate fix for the case that still requires ↵Owen Anderson2009-08-221-2/+6
| | | | | | locking. llvm-svn: 79731
* revert r79708 + r79711Chris Lattner2009-08-221-5/+3
| | | | llvm-svn: 79720
* Make x86 test actually test x86 code generation. Fix the Eli Friedman2009-08-221-2/+5
| | | | | | | construct on ARM, which was breaking by coincidence, and add a similar testcase for ARM. llvm-svn: 79719
* Actually remove unused static. Previous commit removed trailingEric Christopher2009-08-221-1/+0
| | | | | | whitespace. llvm-svn: 79711
* Remove unused static.Eric Christopher2009-08-221-20/+20
| | | | llvm-svn: 79710
* Ease contention on this lock by noticing that all writes to the VTs array willOwen Anderson2009-08-221-2/+5
| | | | | | | | | be of (dynamically) constant values, so races on it are immaterial. We just need to ensure that at least one write has completed before return the pointer into it. With this change, parllc exhibits essentially no overhead on 403.gcc. llvm-svn: 79708
* Revert r79563Chris Lattner2009-08-212-177/+0
| | | | llvm-svn: 79691
* revert r79562 + r79563Chris Lattner2009-08-2110-533/+280
| | | | llvm-svn: 79690
* Fix typo.Anton Korobeynikov2009-08-211-1/+1
| | | | llvm-svn: 79688
* revert r79631Chris Lattner2009-08-212-0/+0
| | | | llvm-svn: 79686
* revert 79631Chris Lattner2009-08-2110-197/+8
| | | | llvm-svn: 79685
* llvm-mc/Mach-O: Support .o emission for .org and .align.Daniel Dunbar2009-08-212-17/+91
| | | | llvm-svn: 79684
* Implement APInt <-> APFloat conversion for IEEE 128-bit floats.Anton Korobeynikov2009-08-211-3/+83
| | | | | | This fixes PR2555 llvm-svn: 79677
* 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
* Fix a bug where the DWARF emitter in the JIT was not initializing alignmentReid Kleckner2009-08-212-28/+22
| | | | | | | | | | bytes. libgcc doesn't seem to mind, but if you pass this DWARF to GDB, it doesn't like it. Also make the JIT memory manager to initialize it's memory to garbage in debug mode, so that it's easier to find bugs like these in the future. llvm-svn: 79674
* 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
* llvm-mc/Mach-O: Support byte and fill value emission.Daniel Dunbar2009-08-212-27/+140
| | | | llvm-svn: 79652
* Don't assume that the operand of an inttoptr is an pointer-sized integer.Dan Gohman2009-08-211-1/+3
| | | | llvm-svn: 79651
* Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.Bill Wendling2009-08-211-1/+1
| | | | llvm-svn: 79649
* 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
* Change getelementptr folding to use APInt instead of uint64_t forDan Gohman2009-08-211-11/+15
| | | | | | | offset computations. This fixes a truncation bug on targets that don't have 64-bit pointers. llvm-svn: 79639
* 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
* Update CMakeLists.Benjamin Kramer2009-08-211-0/+3
| | | | llvm-svn: 79617
* bug 4530: Make debug information static to it is preservered during bitcode ↵Richard Pennington2009-08-211-2/+2
| | | | | | linking. llvm-svn: 79616
* llvm-mc: Start MCAssembler and MCMachOStreamer.Daniel Dunbar2009-08-212-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 Wendling2009-08-211-1/+0
| | | | llvm-svn: 79603
OpenPOWER on IntegriCloud