summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused argument.Rafael Espindola2011-04-216-30/+22
| | | | llvm-svn: 129955
* Don't pass address spaces to EmitULEB128IntValue.Rafael Espindola2011-04-211-3/+3
| | | | llvm-svn: 129953
* Fix DWARF description of Q registers.Devang Patel2011-04-211-0/+27
| | | | llvm-svn: 129952
* Fix DWARF description of S registers.Devang Patel2011-04-212-0/+44
| | | | llvm-svn: 129947
* Add DW_OP_bit_piece.Devang Patel2011-04-211-0/+1
| | | | llvm-svn: 129945
* Refactor.Devang Patel2011-04-212-30/+35
| | | | llvm-svn: 129938
* PR9214: Convert Metadata API to use ArrayRef.Jay Foad2011-04-218-47/+44
| | | | llvm-svn: 129932
* Don't recycle loop variables.Matt Beaumont-Gay2011-04-211-1/+1
| | | | llvm-svn: 129928
* Allow allocatable ranges from global live range splitting to be split again.Jakob Stoklund Olesen2011-04-213-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 withRafael Espindola2011-04-211-1/+6
| | | | | | MC :-) llvm-svn: 129923
* As per ARM docs, register Dx is described as DW_OP_regx(256+x) in DWARF.Devang Patel2011-04-211-24/+32
| | | | llvm-svn: 129922
* Add comment in output stream.Devang Patel2011-04-211-0/+3
| | | | llvm-svn: 129921
* Revert r1296656, "Fix rdar://9289512 - not folding load into compare at -O0...",Daniel Dunbar2011-04-211-41/+15
| | | | | | which broke a couple GCC test suite tests at -O0. llvm-svn: 129914
* PTX: Expand useable register spaceJustin Holewinski2011-04-211-6/+226
| | | | llvm-svn: 129913
* ptx: fix parameter orderingChe-Liang Chiou2011-04-211-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 Chiou2011-04-211-2/+3
| | | | | | std::binary_search llvm-svn: 129908
* In gcov profiling, give all functions an extra unified return block. This isNick Lewycky2011-04-211-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 aNick Lewycky2011-04-211-3/+3
| | | | | | comment for 80 columns. llvm-svn: 129904
* Add independent controls for whether GCOV profiling should emit .gcno files orNick Lewycky2011-04-211-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 Lewycky2011-04-201-1/+1
| | | | llvm-svn: 129888
* Remove -use-divmod-libcall. Let targets opt in when they are available.Evan Cheng2011-04-203-6/+4
| | | | llvm-svn: 129884
* Add debug output for rematerializable instructions.Jakob Stoklund Olesen2011-04-203-6/+10
| | | | llvm-svn: 129883
* Permit remat when a virtual register has multiple defs.Jakob Stoklund Olesen2011-04-201-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 codeCameron Zwarich2011-04-201-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, soCameron Zwarich2011-04-201-8/+3
| | | | | | delete it. llvm-svn: 129877
* Cleanup some code to better use an early return style in preparation for addingCameron Zwarich2011-04-201-6/+10
| | | | | | more cases. llvm-svn: 129876
* Revert r129846; it's breaking a buildbot. SeeEli Friedman2011-04-201-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 Olesen2011-04-204-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 Hastings2011-04-201-5/+0
| | | | llvm-svn: 129862
* ARM byval support. Will be enabled by another patch to the FE. ↵Stuart Hastings2011-04-204-83/+177
| | | | | | <rdar://problem/7662569> llvm-svn: 129858
* sys/Host: Change getHostTriple() to return the full Darwin version on OS X.Daniel Dunbar2011-04-201-4/+1
| | | | llvm-svn: 129852
* PTX: Add intrinsics to list of built-in intrinsics, which allows them to beJustin Holewinski2011-04-2010-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 Espindola2011-04-201-8/+13
| | | | llvm-svn: 129850
* ptx: add integer div and rem instructionChe-Liang Chiou2011-04-201-0/+2
| | | | | | Patched by Dan Bailey llvm-svn: 129848
* ptx: add floating-point comparison to setpChe-Liang Chiou2011-04-201-14/+234
| | | | | | Patched by Dan Bailey llvm-svn: 129847
* ptx: fix parameter orderingChe-Liang Chiou2011-04-201-1/+0
| | | | | | Patched by Dan Bailey llvm-svn: 129846
* This should always be signed chars, so use int8_t. This fixes a miscompile whenNick Lewycky2011-04-201-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 Espindola2011-04-203-8/+5
| | | | llvm-svn: 129844
* Rewrite the expander for umulo/smulo to remember to sign extend the inputEric Christopher2011-04-201-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 accessingSean Callanan2011-04-201-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 OSDaniel Dunbar2011-04-207-15/+16
| | | | | | triple component. llvm-svn: 129838
* Fix typo in the comment.Johnny Chen2011-04-191-1/+1
| | | | llvm-svn: 129837
* ADT/Triple: Drop support for -osx style triples, we are going with -macosxDaniel Dunbar2011-04-191-3/+0
| | | | | | instead. llvm-svn: 129836
* ADT/Triple: Add support for Triple::MacOSX per feedback from Chris, will removeDaniel Dunbar2011-04-191-0/+3
| | | | | | Triple::OSX once Clang has moved. llvm-svn: 129833
* ADT/Triple: Move a variety of clients to using isOSDarwin() and isOSWindows()Daniel Dunbar2011-04-1910-99/+76
| | | | | | predicates. llvm-svn: 129816
* ADT/Triple: Add isOSDarwin() and isOSWindows() helper functions.Daniel Dunbar2011-04-191-2/+1
| | | | llvm-svn: 129815
* ADT/Triple: Fix Triple::getArchNameForAssembler to support OSX and iOSDaniel Dunbar2011-04-191-1/+2
| | | | | | enumeration values. llvm-svn: 129814
* Target/X86: Eliminate uses of getDarwinVers().Daniel Dunbar2011-04-194-11/+7
| | | | llvm-svn: 129813
* Target/X86: Add getTargetTriple() accessor.Daniel Dunbar2011-04-191-0/+2
| | | | llvm-svn: 129812
* Target/PPC: Kill off DarwinVers, which is now dead.Daniel Dunbar2011-04-192-24/+1
| | | | llvm-svn: 129811
OpenPOWER on IntegriCloud