Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unused argument. | Rafael Espindola | 2011-04-21 | 6 | -30/+22 | |
| | | | | llvm-svn: 129955 | |||||
* | Don't pass address spaces to EmitULEB128IntValue. | Rafael Espindola | 2011-04-21 | 1 | -3/+3 | |
| | | | | llvm-svn: 129953 | |||||
* | Fix DWARF description of Q registers. | Devang Patel | 2011-04-21 | 1 | -0/+27 | |
| | | | | llvm-svn: 129952 | |||||
* | Fix DWARF description of S registers. | Devang Patel | 2011-04-21 | 2 | -0/+44 | |
| | | | | llvm-svn: 129947 | |||||
* | Add DW_OP_bit_piece. | Devang Patel | 2011-04-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 129945 | |||||
* | Refactor. | Devang Patel | 2011-04-21 | 2 | -30/+35 | |
| | | | | llvm-svn: 129938 | |||||
* | PR9214: Convert Metadata API to use ArrayRef. | Jay Foad | 2011-04-21 | 8 | -47/+44 | |
| | | | | llvm-svn: 129932 | |||||
* | Don't recycle loop variables. | Matt Beaumont-Gay | 2011-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 129928 | |||||
* | Allow allocatable ranges from global live range splitting to be split again. | Jakob Stoklund Olesen | 2011-04-21 | 3 | -7/+45 | |
| | | | | | | | | | | | | | | | | | | | | | These intervals are allocatable immediately after splitting, but they may be evicted because of later splitting. This is rare, but when it happens they should be split again. The remainder intervals that cannot be allocated after splitting still move directly to spilling. SplitEditor::finish can optionally provide a mapping from new live intervals back to the original interval indexes returned by openIntv(). Each original interval index can map to multiple new intervals after connected components have been separated. Dead code elimination may also add existing intervals to the list. The reverse mapping allows the SplitEditor client to treat the new intervals differently depending on the split region they came from. llvm-svn: 129925 | |||||
* | Fix relative relocations. This is sufficient for running the rust testsuite with | Rafael Espindola | 2011-04-21 | 1 | -1/+6 | |
| | | | | | | MC :-) llvm-svn: 129923 | |||||
* | As per ARM docs, register Dx is described as DW_OP_regx(256+x) in DWARF. | Devang Patel | 2011-04-21 | 1 | -24/+32 | |
| | | | | llvm-svn: 129922 | |||||
* | Add comment in output stream. | Devang Patel | 2011-04-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 129921 | |||||
* | Revert r1296656, "Fix rdar://9289512 - not folding load into compare at -O0...", | Daniel Dunbar | 2011-04-21 | 1 | -41/+15 | |
| | | | | | | which broke a couple GCC test suite tests at -O0. llvm-svn: 129914 | |||||
* | PTX: Expand useable register space | Justin Holewinski | 2011-04-21 | 1 | -6/+226 | |
| | | | | llvm-svn: 129913 | |||||
* | ptx: fix parameter ordering | Che-Liang Chiou | 2011-04-21 | 1 | -4/+1 | |
| | | | | | | | | | This patch depends on the prior fix r129908 that changes to use std::find, rather than std::binary_search, on unordered array. Patch by Dan Bailey llvm-svn: 129909 | |||||
* | ptx: PTXMachineFunctionInfo no longer sort registers and so should not use ↵ | Che-Liang Chiou | 2011-04-21 | 1 | -2/+3 | |
| | | | | | | std::binary_search llvm-svn: 129908 | |||||
* | In gcov profiling, give all functions an extra unified return block. This is | Nick Lewycky | 2011-04-21 | 1 | -5/+17 | |
| | | | | | | | necessary since gcov counts transitions between blocks. It can't see if you've run every line in a straight-line function, so we add an edge for it to notice. llvm-svn: 129905 | |||||
* | Fix think-o: emit all 8 bytes of the EOF marker. Also reflow a line in a | Nick Lewycky | 2011-04-21 | 1 | -3/+3 | |
| | | | | | | comment for 80 columns. llvm-svn: 129904 | |||||
* | Add independent controls for whether GCOV profiling should emit .gcno files or | Nick Lewycky | 2011-04-21 | 1 | -4/+16 | |
| | | | | | | | instrument the program to emit .gcda. TODO: we should emit slightly different .gcda files when .gcno emission is off. llvm-svn: 129903 | |||||
* | Structs have elements not parameters. I'm surprised this ever compiled... | Nick Lewycky | 2011-04-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 129888 | |||||
* | Remove -use-divmod-libcall. Let targets opt in when they are available. | Evan Cheng | 2011-04-20 | 3 | -6/+4 | |
| | | | | llvm-svn: 129884 | |||||
* | Add debug output for rematerializable instructions. | Jakob Stoklund Olesen | 2011-04-20 | 3 | -6/+10 | |
| | | | | llvm-svn: 129883 | |||||
* | Permit remat when a virtual register has multiple defs. | Jakob Stoklund Olesen | 2011-04-20 | 1 | -5/+0 | |
| | | | | | | | | TII::isTriviallyReMaterializable() shouldn't depend on any properties of the register being defined by the instruction. Rematerialization is going to create a new virtual register anyway. llvm-svn: 129882 | |||||
* | Fix another case of <rdar://problem/9184212> that only occurs with code | Cameron Zwarich | 2011-04-20 | 1 | -31/+44 | |
| | | | | | | | generated by llvm-gcc, since llvm-gcc uses 2 i64s for passing a 4 x float vector on ARM rather than an i64 array like Clang. llvm-svn: 129878 | |||||
* | The bitcast case here is actually handled uniformly earlier in the function, so | Cameron Zwarich | 2011-04-20 | 1 | -8/+3 | |
| | | | | | | delete it. llvm-svn: 129877 | |||||
* | Cleanup some code to better use an early return style in preparation for adding | Cameron Zwarich | 2011-04-20 | 1 | -6/+10 | |
| | | | | | | more cases. llvm-svn: 129876 | |||||
* | Revert r129846; it's breaking a buildbot. See | Eli Friedman | 2011-04-20 | 1 | -0/+1 | |
| | | | | | | http://google1.osuosl.org:8011/builders/llvm-x86_64-linux-checks/builds/825/steps/test.llvm.stage2/logs/st.ll llvm-svn: 129869 | |||||
* | Prefer cheap registers for busy live ranges. | Jakob Stoklund Olesen | 2011-04-20 | 4 | -13/+61 | |
| | | | | | | | | | | | | | | On the x86-64 and thumb2 targets, some registers are more expensive to encode than others in the same register class. Add a CostPerUse field to the TableGen register description, and make it available from TRI->getCostPerUse. This represents the cost of a REX prefix or a 32-bit instruction encoding required by choosing a high register. Teach the greedy register allocator to prefer cheap registers for busy live ranges (as indicated by spill weight). llvm-svn: 129864 | |||||
* | Excise unintended hunk in 129858. <rdar://problem/7662569> | Stuart Hastings | 2011-04-20 | 1 | -5/+0 | |
| | | | | llvm-svn: 129862 | |||||
* | ARM byval support. Will be enabled by another patch to the FE. ↵ | Stuart Hastings | 2011-04-20 | 4 | -83/+177 | |
| | | | | | | <rdar://problem/7662569> llvm-svn: 129858 | |||||
* | sys/Host: Change getHostTriple() to return the full Darwin version on OS X. | Daniel Dunbar | 2011-04-20 | 1 | -4/+1 | |
| | | | | llvm-svn: 129852 | |||||
* | PTX: Add intrinsics to list of built-in intrinsics, which allows them to be | Justin Holewinski | 2011-04-20 | 10 | -34/+80 | |
| | | | | | | | | | | used by Clang. To help Clang integration, the PTX target has been split into two targets: ptx32 and ptx64, depending on the desired pointer size. - Add GCCBuiltin class to all intrinsics - Split PTX target into ptx32 and ptx64 llvm-svn: 129851 | |||||
* | Behave like gnu as when a relocation crosses sections. | Rafael Espindola | 2011-04-20 | 1 | -8/+13 | |
| | | | | llvm-svn: 129850 | |||||
* | ptx: add integer div and rem instruction | Che-Liang Chiou | 2011-04-20 | 1 | -0/+2 | |
| | | | | | | Patched by Dan Bailey llvm-svn: 129848 | |||||
* | ptx: add floating-point comparison to setp | Che-Liang Chiou | 2011-04-20 | 1 | -14/+234 | |
| | | | | | | Patched by Dan Bailey llvm-svn: 129847 | |||||
* | ptx: fix parameter ordering | Che-Liang Chiou | 2011-04-20 | 1 | -1/+0 | |
| | | | | | | Patched by Dan Bailey llvm-svn: 129846 | |||||
* | This should always be signed chars, so use int8_t. This fixes a miscompile when | Nick Lewycky | 2011-04-20 | 1 | -3/+3 | |
| | | | | | | | | llvm is built with unsigned chars where an immediate such as 0xff would be zero extended to 64-bits, turning "cmp $0xff,%eax" into "cmp $0xffffffffffffffff,%eax". llvm-svn: 129845 | |||||
* | Remove unused arguments. | Rafael Espindola | 2011-04-20 | 3 | -8/+5 | |
| | | | | llvm-svn: 129844 | |||||
* | Rewrite the expander for umulo/smulo to remember to sign extend the input | Eric Christopher | 2011-04-20 | 1 | -10/+58 | |
| | | | | | | | | | manually and pass all (now) 4 arguments to the mul libcall. Add a new ExpandLibCall for just this (copied gratuitously from type legalization). Fixes rdar://9292577 llvm-svn: 129842 | |||||
* | Made the MC disassembler check before accessing | Sean Callanan | 2011-04-20 | 1 | -0/+9 | |
| | | | | | | | | MCInst operands for ARM. This allows it to be more tolerant of malformed MCInsts or incorrect instruction metadata. llvm-svn: 129840 | |||||
* | ADT/Triple: Renambe isOSX... methods to isMacOSX for consistency with the OS | Daniel Dunbar | 2011-04-20 | 7 | -15/+16 | |
| | | | | | | triple component. llvm-svn: 129838 | |||||
* | Fix typo in the comment. | Johnny Chen | 2011-04-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 129837 | |||||
* | ADT/Triple: Drop support for -osx style triples, we are going with -macosx | Daniel Dunbar | 2011-04-19 | 1 | -3/+0 | |
| | | | | | | instead. llvm-svn: 129836 | |||||
* | ADT/Triple: Add support for Triple::MacOSX per feedback from Chris, will remove | Daniel Dunbar | 2011-04-19 | 1 | -0/+3 | |
| | | | | | | Triple::OSX once Clang has moved. llvm-svn: 129833 | |||||
* | ADT/Triple: Move a variety of clients to using isOSDarwin() and isOSWindows() | Daniel Dunbar | 2011-04-19 | 10 | -99/+76 | |
| | | | | | | predicates. llvm-svn: 129816 | |||||
* | ADT/Triple: Add isOSDarwin() and isOSWindows() helper functions. | Daniel Dunbar | 2011-04-19 | 1 | -2/+1 | |
| | | | | llvm-svn: 129815 | |||||
* | ADT/Triple: Fix Triple::getArchNameForAssembler to support OSX and iOS | Daniel Dunbar | 2011-04-19 | 1 | -1/+2 | |
| | | | | | | enumeration values. llvm-svn: 129814 | |||||
* | Target/X86: Eliminate uses of getDarwinVers(). | Daniel Dunbar | 2011-04-19 | 4 | -11/+7 | |
| | | | | llvm-svn: 129813 | |||||
* | Target/X86: Add getTargetTriple() accessor. | Daniel Dunbar | 2011-04-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 129812 | |||||
* | Target/PPC: Kill off DarwinVers, which is now dead. | Daniel Dunbar | 2011-04-19 | 2 | -24/+1 | |
| | | | | llvm-svn: 129811 |