summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Use the presence of the __compact_unwind section to indicate that a targetBill Wendling2011-06-235-23/+8
| | | | | | supports compact unwind info instead of having a separate flag indicating this. llvm-svn: 133685
* Move more logic to shouldTailDuplicate and only duplicate regular bb beforeRafael Espindola2011-06-231-21/+45
| | | | | | | | | | register allocation if it has a indirectbr or if we can duplicate it to every predecessor. This fixes the SingleSource/Benchmarks/Shootout-C++/matrix.cpp regression but keeps the previous improvements to sunspider. llvm-svn: 133682
* Get rid of one getStackAlignment(). RegisterInfo shouldn't need to know ↵Evan Cheng2011-06-233-11/+8
| | | | | | about stack alignment. llvm-svn: 133679
* Some skeleton code to emit the compact unwind. If the information is unable toBill Wendling2011-06-231-1/+63
| | | | | | be emitted in a compact way, we then default to emitting a CIE and FDE. llvm-svn: 133676
* Allow the AsmInfo to query for the compact unwind section.Bill Wendling2011-06-231-0/+4
| | | | llvm-svn: 133670
* Allow the AsmInfo to query the TLOF to see if it supports compact unwind.Bill Wendling2011-06-231-0/+4
| | | | llvm-svn: 133669
* 80-column violations.Bill Wendling2011-06-231-12/+17
| | | | llvm-svn: 133668
* lit support for REQUIRES: asserts.Andrew Trick2011-06-227-19/+14
| | | | | | | | | | Take #2. Don't piggyback on the existing config.build_mode. Instead, define a new lit feature for each build feature we need (currently just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define this feature within test/lit.site.cfg. This doesn't require any lit harness changes and should be more robust across build systems. llvm-svn: 133664
* Add a flag that indicates whether a target supports compact unwind info or not.Bill Wendling2011-06-223-4/+15
| | | | llvm-svn: 133662
* Reenable tail duplication of bb with just an unconditional jump, butRafael Espindola2011-06-222-4/+32
| | | | | | don't remove blocks that have their address taken. llvm-svn: 133659
* Add a __LD,__compact_unwind section.Bill Wendling2011-06-223-0/+13
| | | | | | | | If the linker supports it, this will hold the CIE and FDE information in a compact format. The implementation of the compact unwinding emission is coming soon. llvm-svn: 133658
* Fix the implementation of ConstantRange::sub(ConstantRange). Patch by Xi Wang!Nick Lewycky2011-06-222-2/+4
| | | | llvm-svn: 133648
* Revert r133607. This is causing failures in the Clang gccTestSuite.Chad Rosier2011-06-221-3/+3
| | | | | | Specifically, gcc.c-torture/compile/pr21356.c. llvm-svn: 133646
* Move class methods out-of-line. This reduces the indentation, and is more inBill Wendling2011-06-221-1289/+1410
| | | | | | | line with LLVM's general coding style. No functionality change. llvm-svn: 133645
* New binops need debug loc.Devang Patel2011-06-221-1/+3
| | | | llvm-svn: 133642
* test/Unit: Fix enable shared test to follow check that we have actually loadedDaniel Dunbar2011-06-221-8/+8
| | | | | | the site config. llvm-svn: 133641
* Add missing header.Jim Grosbach2011-06-221-0/+1
| | | | llvm-svn: 133640
* Move ARMMachObjectWriter to its own file.Jim Grosbach2011-06-224-14/+43
| | | | | | Just tidy up a bit. No functional change. llvm-svn: 133638
* Set debug loc.Devang Patel2011-06-221-0/+2
| | | | llvm-svn: 133636
* Needs a triple.Nick Lewycky2011-06-221-1/+1
| | | | llvm-svn: 133634
* Emit trailing padding on constant vectors when TargetData says that the vectorNick Lewycky2011-06-222-0/+20
| | | | | | is larger than the sum of the elements (including per-element padding). llvm-svn: 133631
* PTX: Fix FrameIndex mapping bugJustin Holewinski2011-06-225-15/+43
| | | | llvm-svn: 133619
* Replace the existing forms of ConstantArray::get() with a single formJay Foad2011-06-228-22/+11
| | | | | | that takes an ArrayRef. llvm-svn: 133615
* Make ConstantVector::get() always take an ArrayRef, never a std::vector.Jay Foad2011-06-223-12/+4
| | | | llvm-svn: 133614
* Test Commit.Dan Bailey2011-06-221-2/+2
| | | | llvm-svn: 133613
* Eliminate a temporary std::vector in ConstantStruct::get().Jay Foad2011-06-221-4/+2
| | | | llvm-svn: 133612
* Extend ConstantUniqueMap with a new template parameter ValRefType,Jay Foad2011-06-224-17/+29
| | | | | | | | representing a constant reference to ValType. Normally this is just "const ValType &", but when ValType is a std::vector we want to use ArrayRef as the reference type. llvm-svn: 133611
* Only do config-time substitution of LLVM_BUILD_MODE inAndrew Trick2011-06-221-2/+7
| | | | | | test/lit.site.cfg, not Unit/test/lit.site.cfg. llvm-svn: 133608
* Reenable the optimization added in 133415, but change the definition of a ↵Rafael Espindola2011-06-221-3/+3
| | | | | | | | | "simple" bb to be one with only one unconditional branch and no phis. Duplicating the phis in this case is possible, but requeres liveness analysis or breaking edges. llvm-svn: 133607
* PTX: Add signed integer comparisonsJustin Holewinski2011-06-222-0/+84
| | | | llvm-svn: 133599
* PTX: Add .address_size directive if PTX version >= 2.3Justin Holewinski2011-06-222-0/+9
| | | | | | Patch by Wei-Ren Chen llvm-svn: 133589
* Test case for r133560.Devang Patel2011-06-221-0/+245
| | | | llvm-svn: 133585
* Unbreak the CMake buildFrancois Pichet2011-06-211-0/+1
| | | | llvm-svn: 133574
* After register is spilled there should not be any DBG_VALUE referring the ↵Devang Patel2011-06-211-1/+3
| | | | | | same register. llvm-svn: 133569
* Consolidate some TableGen diagnostic helper functions.Jim Grosbach2011-06-2117-40/+99
| | | | | | | TableGen had diagnostic printers sprinkled about in a few places. Pull them together into a single location in Error.cpp. llvm-svn: 133568
* Fix some trailing issues from my introduction of MVT::untyped and its use ↵Owen Anderson2011-06-212-1/+12
| | | | | | for REGISTER_SEQUENCE. llvm-svn: 133567
* Add support for assembling "movq" when it's correct to do so, while continuingNick Lewycky2011-06-212-0/+24
| | | | | | | to emit "movd" across the board to continue supporting a Darwin assembler bug. This is the reincarnation of r133452. llvm-svn: 133565
* Add verbose EH table printing to SjLj exception tables.Bill Wendling2011-06-211-2/+19
| | | | llvm-svn: 133561
* There could be more than one DBG_VALUE instructions for variables where all ↵Devang Patel2011-06-211-4/+6
| | | | | | of them have offset based on one register. llvm-svn: 133560
* Improve the comment printing for the EH table. This gives a much more detailedBill Wendling2011-06-211-23/+69
| | | | | | explanation of what the EH table describes. llvm-svn: 133559
* Handle the memory-ness of all U+ ARM constraints.Eric Christopher2011-06-211-3/+6
| | | | | | Noticed on inspection. llvm-svn: 133553
* Remove r130409, as requested by Chris.Devang Patel2011-06-211-55/+0
| | | | llvm-svn: 133536
* Reorg. No functionality change.Evan Cheng2011-06-211-23/+26
| | | | llvm-svn: 133533
* Revert r133452: "Emit movq for 64-bit register to XMM register moves..."Bob Wilson2011-06-219-57/+16
| | | | | | | This is breaking compiler-rt and llvm-gcc builds on MacOSX when not using the integrated assembler. llvm-svn: 133524
* Add support for sadd.with.overflow and uadd.with.overflow intrinsics to the ↵Anna Zaks2011-06-212-20/+189
| | | | | | CBackend by emitting definitions for each intrinsic that occurs in the module. llvm-svn: 133522
* IVUsers no longer needs to record the phis.Andrew Trick2011-06-214-32/+19
| | | | llvm-svn: 133518
* Remove deprecated forms of StringMap::GetOrCreateValue().Jay Foad2011-06-211-12/+0
| | | | llvm-svn: 133517
* Remove some unnecessary uses of c_str().Jay Foad2011-06-211-6/+6
| | | | llvm-svn: 133516
* Remove unused variables.Benjamin Kramer2011-06-211-2/+2
| | | | llvm-svn: 133514
* Reinstate r133435 and r133449 (reverted in r133499) now that the clangJay Foad2011-06-2118-156/+211
| | | | | | self-hosted build failure has been fixed (r133512). llvm-svn: 133513
OpenPOWER on IntegriCloud