summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved to Clang's source tree its configuration options and associatedOscar Fuentes2011-02-032-24/+0
| | | | | | macros. llvm-svn: 124824
* Factor the computation of the basename of libraries. This avoids renamingRafael Espindola2011-02-031-5/+7
| | | | | | | them on install. Before we would have LLVMgold.so on the build directory but libLLVMgold.so on the install dir. llvm-svn: 124821
* Fix 80-column violations and whitespace.Bob Wilson2011-02-032-4/+5
| | | | llvm-svn: 124819
* Changes for building Clang and others using LLVM as an externalOscar Fuentes2011-02-037-157/+186
| | | | | | | | | | | | | library. Installs tblgen (required by Clang). Translates handling of user settings and platform-dependant options to its own file, where it can included by another project. Installs the .cmake files required by projects like Clang. llvm-svn: 124816
* Ensure that the computed interference intervals actually overlap their basic ↵Jakob Stoklund Olesen2011-02-031-3/+12
| | | | | | blocks. llvm-svn: 124815
* Tweak debug output from SlotIndexes.Jakob Stoklund Olesen2011-02-031-1/+5
| | | | llvm-svn: 124814
* Add debug output and asserts to the phi-connecting code.Jakob Stoklund Olesen2011-02-031-2/+13
| | | | llvm-svn: 124813
* Fix coloring bug when mapping values in the middle of a live-through block.Jakob Stoklund Olesen2011-02-031-7/+7
| | | | | | | | | | If the found value is not live-through the block, we should only add liveness up to the requested slot index. When the value is live-through, the whole block should be colored. Bug found by SSA verification in the machine code verifier. llvm-svn: 124812
* Return live range end points from SplitEditor::enter*/leave*.Jakob Stoklund Olesen2011-02-033-62/+48
| | | | | | | These end points come from the inserted copies, and can be passed directly to useIntv. This simplifies the coloring code. llvm-svn: 124799
* Silence an MSVC warningJakob Stoklund Olesen2011-02-031-1/+1
| | | | llvm-svn: 124798
* [AVX] VEXTRACTF128 support. This commit includes patterns forDavid Greene2011-02-034-0/+76
| | | | | | | | | | matching EXTRACT_SUBVECTOR to VEXTRACTF128 along with support routines to examine and translate index values. VINSERTF128 comes next. With these two in place we can begin supporting more AVX operations as INSERT/EXTRACT can be used as a fallback when 256-bit support is not available. llvm-svn: 124797
* Add XCore intrinsics for resource instructions.Richard Osborne2011-02-033-4/+168
| | | | llvm-svn: 124794
* cmake/*: Add svn:eol-style=native and fix CRLF.NAKAMURA Takumi2011-02-032-40/+39
| | | | llvm-svn: 124793
* Improve threading of comparisons over select instructions (spotted by myDuncan Sands2011-02-032-3/+60
| | | | | | | | | | auto-simplifier). This has a big impact on Ada code, but not much else. Unfortunately the impact is mostly negative! This is due to PR9004 (aka SCCP failing to resolve conditional branch conditions in the destination blocks of the branch), in which simple correlated expressions are not resolved but complicated ones are, so simplifying has a bad effect! llvm-svn: 124788
* Part of this test is invariant inside the inner loop - move it outsideDuncan Sands2011-02-031-14/+16
| | | | | | the loop. llvm-svn: 124784
* test/Makefile: "check-all" should update tools/clang/test/Unit/lit.site.cfg, ↵NAKAMURA Takumi2011-02-031-1/+1
| | | | | | too. Follow up to clang r124777. llvm-svn: 124783
* Reapply this.Eric Christopher2011-02-035-225/+182
| | | | llvm-svn: 124779
* Temporarily revert 124765 in an attempt to find the cycle breaking bootstrap.Eric Christopher2011-02-035-182/+225
| | | | llvm-svn: 124778
* Platform tests for `sys/uio.h' header and `writev' function.Oscar Fuentes2011-02-032-0/+10
| | | | | | This is the cmake equivalent for r124769. llvm-svn: 124775
* Add -march to fix the bots.Rafael Espindola2011-02-031-1/+1
| | | | llvm-svn: 124774
* Fix PR9127 by reversing the operands even if they have more then one use.Rafael Espindola2011-02-032-2/+14
| | | | | | | | Reversing the operands allows us to fold, but doesn't force us to. Also, at this point the DAG is still being optimized, so the check for hasOneUse is not very precise. llvm-svn: 124773
* raw_fd_ostream: Add a SetUseAtomicWrites() method (uses writev).Daniel Dunbar2011-02-032-3/+35
| | | | llvm-svn: 124771
* Regenerate configure.Daniel Dunbar2011-02-032-2/+10
| | | | llvm-svn: 124770
* configure: Add checks for <sys/uio.h> and writev().Daniel Dunbar2011-02-031-2/+2
| | | | llvm-svn: 124769
* Defer SplitKit value mapping until all defs are available.Jakob Stoklund Olesen2011-02-035-225/+182
| | | | | | | | | | | | | | | | | | | The greedy register allocator revealed some problems with the value mapping in SplitKit. We would sometimes start mapping values before all defs were known, and that could change a value from a simple 1-1 mapping to a multi-def mapping that requires ssa update. The new approach collects all defs and register assignments first without filling in any live intervals. Only when finish() is called, do we compute liveness and mapped values. At this time we know with certainty which values map to multiple values in a split range. This also has the advantage that we can compute live ranges based on the remaining uses after rematerializing at split points. The current implementation has many opportunities for compile time optimization. llvm-svn: 124765
* Update docs to match reality.Devang Patel2011-02-031-10/+9
| | | | llvm-svn: 124761
* Fix typo in comment.Devang Patel2011-02-031-1/+1
| | | | llvm-svn: 124759
* Add support to describe template value parameter in debug info.Devang Patel2011-02-026-1/+89
| | | | llvm-svn: 124755
* Add support to describe template parameter type in debug info.Devang Patel2011-02-026-3/+97
| | | | llvm-svn: 124752
* Reenable the transform "(X*Y)/Y->X" when the multiplication is known not toDuncan Sands2011-02-022-5/+9
| | | | | | | | overflow (nsw flag), which was disabled because it breaks 254.gap. I have informed the GAP authors of the mistake in their code, and arranged for the testsuite to use -fwrapv when compiling this benchmark. llvm-svn: 124746
* Changed the TableGen created MatchInstructionImpl() setting of ErrorInfo.Kevin Enderby2011-02-021-3/+1
| | | | | | | | | | | The algorithm for identifying which operand is invalid will now always point to some operand and not the mnemonic sometimes. The change is now that ErrorInfo is the index of the highest operand that does not match for any of the matching mnemonics records. And no longer the ~0U value when the mnemonic matches and not every record with a matching mnemonic has the same mismatching operand index. llvm-svn: 124734
* Update comment to match my recent change.Bob Wilson2011-02-021-2/+2
| | | | llvm-svn: 124725
* SimplifyCFG: Turn switches into sub+icmp+branch if possible.Benjamin Kramer2011-02-024-70/+39
| | | | | | | | | | | | | | | | | This makes the job of the later optzn passes easier, allowing the vast amount of icmp transforms to chew on it. We transform 840 switches in gcc.c, leading to a 16k byte shrink of the resulting binary on i386-linux. The testcase from README.txt now compiles into decl %edi cmpl $3, %edi sbbl %eax, %eax andl $1, %eax ret llvm-svn: 124724
* Add support for trampolines on the XCore.Richard Osborne2011-02-025-1/+109
| | | | llvm-svn: 124722
* Remove NoVendor and NoOS, added in commit 123990, from Triple. While itDuncan Sands2011-02-023-74/+56
| | | | | | | | | may be useful to understand "none", this is not the place for it. Tweak the fix to Normalize while there: the fix added in 123990 works correctly, but I like this way better. Finally, now that Triple understands some non-trivial environment values, teach the unittests about them. llvm-svn: 124720
* Remove wasteful caching. This isn't needed for correctness because any functionNick Lewycky2011-02-021-23/+2
| | | | | | | | that might have changed been affected by a merge elsewhere will have been removed from the function set, and it isn't needed for performance because we call grow() ahead of time to prevent reallocations. llvm-svn: 124717
* Conservatively, clear optional flags, such as nsw, when performingDan Gohman2011-02-021-0/+15
| | | | | | | reassociation. No testcase, because I wasn't able to create a testcase which actually demonstrates a problem. llvm-svn: 124713
* Fix reassociate to clear optional flags, such as nsw.Dan Gohman2011-02-023-0/+44
| | | | llvm-svn: 124712
* Fixed a bug in the disassembler where the mandatory 0x66Sean Callanan2011-02-021-0/+1
| | | | | | | | prefix would be misinterpreted in some cases on 32-bit x86 platforms. Thanks to Olivier Meurant for identifying the bug. llvm-svn: 124709
* Given a pair of floating point load and store, if there are no other uses ofEvan Cheng2011-02-025-2/+109
| | | | | | | | | | | | | | | | | | | the load, then it may be legal to transform the load and store to integer load and store of the same width. This is done if the target specified the transformation as profitable. e.g. On arm, this can transform: vldr.32 s0, [] vstr.32 s0, [] to ldr r12, [] str r12, [] rdar://8944252 llvm-svn: 124708
* Fix comment typo.Bob Wilson2011-02-021-1/+1
| | | | llvm-svn: 124705
* PR9081: Split up LDM instruction with deprecated use of both LR and PC.Bob Wilson2011-02-011-2/+3
| | | | | | | This is completely untested but pretty straightforward, so hopefully I got it right. llvm-svn: 124694
* Take Bill Wendling's suggestion for structuring a couple of asserts.Matt Beaumont-Gay2011-02-011-6/+6
| | | | llvm-svn: 124688
* Update to match changes in lldb interface.Devang Patel2011-02-011-1/+2
| | | | llvm-svn: 124687
* Fix imm printing for logical instructions.Anton Korobeynikov2011-02-013-24/+45
| | | | | | Patch by Brian G. Lucas! llvm-svn: 124679
* Document the LLVM GIT mirrorAnton Korobeynikov2011-02-011-0/+20
| | | | llvm-svn: 124677
* [AVX] Implement EnforceSmallerThan for mixed int/fp type lists. ThisDavid Greene2011-02-011-27/+130
| | | | | | | | | | | | | makes type checking for extract_subvector and insert_subvector more robust and will allow stricter typechecking of more patterns in the future. This change handles int and fp as disjoint sets so that it will enforce integer types to be smaller than the largest integer type and fp types to be smaller than the largest fp type. There is no attempt to check type sizes across the int/fp sets. llvm-svn: 124672
* Remove stale references of obsolete @llvm.dbg.variable.Devang Patel2011-02-011-8/+3
| | | | llvm-svn: 124664
* Make SwitchInst::removeCase() more efficient.Jay Foad2011-02-012-9/+6
| | | | llvm-svn: 124659
* Add a m_Undef pattern for convenience. This is so that code that usesDuncan Sands2011-02-012-16/+26
| | | | | | | pattern matching can also pattern match undef, creating a more uniform style. llvm-svn: 124657
OpenPOWER on IntegriCloud