summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Add MachOObjectFile.cpp to cmake.Eric Christopher2011-04-221-0/+1
| | | | llvm-svn: 129978
* Hook in mach-o object files into Object interface.Eric Christopher2011-04-221-1/+1
| | | | llvm-svn: 129976
* Add support for 64-bit object files to Path.Eric Christopher2011-04-221-4/+10
| | | | llvm-svn: 129975
* Add an ObjectFile implementation for mach-o.Eric Christopher2011-04-221-0/+330
| | | | | | Patch by Patrick Walton! llvm-svn: 129974
* 80-col fix.Eric Christopher2011-04-221-1/+1
| | | | llvm-svn: 129973
* include/llvm/Target/TargetAsmInfo.h: Fix a warning.NAKAMURA Takumi2011-04-221-1/+1
| | | | llvm-svn: 129972
* In Thumb2 mode, lower frame indix references to:Evan Cheng2011-04-223-9/+36
| | | | | | | | | | | add <rd>, sp, #<imm8> ldr <rd>, [sp, #<imm8>] When the offset from sp is multiple of 4 and in range of 0-1020. This saves code size by utilizing 16-bit instructions. rdar://9321541 llvm-svn: 129971
* TypoEvan Cheng2011-04-221-1/+1
| | | | llvm-svn: 129970
* Delete the other unused variable in this function. Sorry I missed thisChandler Carruth2011-04-221-1/+0
| | | | | | the first time through. llvm-svn: 129969
* Remove an unused variable from a function. This is a likely cut-paste-o.Chandler Carruth2011-04-221-1/+0
| | | | | | | | Silences GCC warning. I wonder why Clang doesn't warn on this... llvm-svn: 129968
* Branch folding is folding a landing pad into a regular BB.Bill Wendling2011-04-221-1/+1
| | | | | | | | | | | | | | | An exception is thrown via a call to _cxa_throw, which we don't expect to return. Therefore, the "true" part of the invoke goes to a BB that has 'unreachable' as its only instruction. This is lowered into an empty MachineBB. The landing pad for this invoke, however, is directly after the "true" MBB. When the empty MBB is removed, the landing pad is directly below the BB with the invoke call. The unconditional branch is removed and then the two blocks are merged together. The testcase is too big for a regression test. <rdar://problem/9305728> llvm-svn: 129965
* Define Neon load/store intrinsics for Clang as macros instead of functions.Bob Wilson2011-04-221-15/+51
| | | | | | | This is needed so the front-end can see "aligned" attributes on the type for the pointer arguments. Radar 9311427. llvm-svn: 129964
* Compute the size of the FDE encoding instead of hard coding it. UpdateRafael Espindola2011-04-223-25/+25
| | | | | | X8664_ELFTargetObjectFile::getFDEEncoding to match reality. llvm-svn: 129959
* Remove unused argument.Rafael Espindola2011-04-219-40/+28
| | | | 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-212-0/+121
| | | | llvm-svn: 129952
* Fix DWARF description of S registers.Devang Patel2011-04-213-0/+160
| | | | llvm-svn: 129947
* Add DW_OP_bit_piece.Devang Patel2011-04-212-0/+2
| | | | llvm-svn: 129945
* Refactor.Devang Patel2011-04-213-30/+38
| | | | llvm-svn: 129938
* Test case for r129922Devang Patel2011-04-211-0/+105
| | | | llvm-svn: 129934
* PR9214: Convert Metadata API to use ArrayRef.Jay Foad2011-04-2110-66/+58
| | | | 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-212-4/+27
| | | | | | 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-213-65/+16
| | | | | | 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-212-8/+5
| | | | | | | | | 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
* Don't allow per-register spill size and alignment.Jakob Stoklund Olesen2011-04-213-14/+0
| | | | | | | These values were not used for anything. Spill size and alignment is a property of the register class, not the register. llvm-svn: 129906
* 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-213-6/+18
| | | | | | | instrument the program to emit .gcda. TODO: we should emit slightly different .gcda files when .gcno emission is off. llvm-svn: 129903
* Fix typo in comment.Nick Lewycky2011-04-211-1/+1
| | | | llvm-svn: 129902
* docs/llvm.css: Introduce cascading style <div> and <p> continued on ↵NAKAMURA Takumi2011-04-213-114/+119
| | | | | | | | | | | | | | | | | | <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html. <h2>Section Example</h2> <div> <!-- h2+div is applied --> <p>Section preamble.</p> <h3>Subsection Example</h3> <p> <!-- h3+p is applied --> Subsection body </p> <!-- End of section body --> </div> llvm-svn: 129901
* docs/Passes.html: Fix a garbage.NAKAMURA Takumi2011-04-211-1/+1
| | | | llvm-svn: 129900
* 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-205-11/+5
| | | | 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-202-31/+59
| | | | | | | 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
* Un-XFAIL this test for ARM. <rdar://problem/7662569>Stuart Hastings2011-04-201-1/+0
| | | | llvm-svn: 129875
* 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-209-16/+81
| | | | | | | | | | | | | | 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-206-84/+193
| | | | | | <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
OpenPOWER on IntegriCloud