summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up.Jim Grosbach2011-06-231-1/+1
| | | | llvm-svn: 133770
* Missing files for the BlockFrequency analysis added.Jakub Staszak2011-06-233-0/+448
| | | | llvm-svn: 133767
* Introduce BlockFrequency analysis for BasicBlocks.Jakub Staszak2011-06-236-1/+46
| | | | llvm-svn: 133766
* Add support for movntil/movntiq mnemonics. Reported on llvmdev.Eli Friedman2011-06-233-14/+26
| | | | llvm-svn: 133759
* PR10180: Fix a instcombine crash with FP vectors.Eli Friedman2011-06-232-2/+14
| | | | llvm-svn: 133756
* Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem.Eli Friedman2011-06-231-1/+1
| | | | llvm-svn: 133741
* Rename TargetOptions::StackAlignment to StackAlignmentOverride.Evan Cheng2011-06-233-5/+5
| | | | llvm-svn: 133739
* Remove TargetOptions.h dependency from ARMSubtarget.Evan Cheng2011-06-232-5/+4
| | | | llvm-svn: 133738
* PTX: Always use registers for return values, but use .param space for deviceJustin Holewinski2011-06-2326-403/+1043
| | | | | | | | | | | parameters if SM >= 2.0 - Update test cases to be more robust against register allocation changes - Bump up the number of registers to 128 per type - Include Python script to re-generate register file with any number of registers llvm-svn: 133736
* PTX: Fixup test cases for device param changesJustin Holewinski2011-06-232-2/+2
| | | | llvm-svn: 133735
* PTX: Whitespace fixes and remove commented out codeJustin Holewinski2011-06-232-36/+0
| | | | llvm-svn: 133734
* PTX: Prevent DCE from eliminating st.param calls, and unify the handling ofJustin Holewinski2011-06-235-107/+78
| | | | | | | st.param and ld.param FIXME: Test cases still need to be updated llvm-svn: 133733
* PTX: Use .param space for parameters in device functions for SM >= 2.0Justin Holewinski2011-06-236-33/+126
| | | | | FIXME: DCE is eliminating the final st.param.x calls, figure out why llvm-svn: 133732
* cmake+lit: final cleanup related to the recent churnAndrew Trick2011-06-231-7/+2
| | | | llvm-svn: 133729
* Remove TargetOptions.h dependency from X86Subtarget.Evan Cheng2011-06-236-42/+46
| | | | llvm-svn: 133726
* cmake+lit: handle ENABLE_ASSERTIONS feature properly.Andrew Trick2011-06-233-2/+8
| | | | llvm-svn: 133725
* Revert "revert 133714"Rafael Espindola2011-06-232-58/+1
| | | | | | | | This reverts commit e8e00f5efb4a22238f2407bf813de4606f30c5aa. The cmake build on OS X is still broken. llvm-svn: 133718
* Add missing file.Rafael Espindola2011-06-231-0/+56
| | | | llvm-svn: 133717
* revert 133714Dylan Noblesmith2011-06-232-1/+58
| | | | | | It broke the build worse. llvm-svn: 133716
* 133713 broke the build, revert it.Rafael Espindola2011-06-232-58/+1
| | | | llvm-svn: 133714
* Support: make floating-exception header privateDylan Noblesmith2011-06-232-2/+3
| | | | | | | | It has only one user. This eliminates the last include of config.h from the public headers -- ideally, config.h shouldn't even be installed by `make install` anymore. llvm-svn: 133713
* Don't include config.h in public headersDylan Noblesmith2011-06-232-2/+1
| | | | | | | | | | | | Replace it with llvm-config.h, which defines a subset of config.h's macros "so that they can be in exported headers and won't override package specific directives", e.g., PACKAGE_NAME. Endian.h wasn't using any macros at all though, so just delete the include there instead. llvm-svn: 133712
* remove CMake mode_t defineDylan Noblesmith2011-06-232-4/+0
| | | | | | | It's now replaced with a simple ifdef _MSC_VER in the one place it's needed (clang's FileManager.h header). llvm-svn: 133711
* CppBackend: fixup for api changeDylan Noblesmith2011-06-231-1/+0
| | | | | | This broke after r133364. llvm-svn: 133709
* Reinstate r133513 (reverted in r133700) with an additional fix for aJay Foad2011-06-2319-167/+222
| | | | | | -Wshorten-64-to-32 warning in Instructions.h. llvm-svn: 133708
* Use a reference. Don't make a useless copy of the vector.Bill Wendling2011-06-231-1/+1
| | | | llvm-svn: 133707
* Formatting changes. No functionality change.Bill Wendling2011-06-231-32/+30
| | | | llvm-svn: 133706
* Revert r133513:Eric Christopher2011-06-2319-222/+167
| | | | | | | | | "Reinstate r133435 and r133449 (reverted in r133499) now that the clang self-hosted build failure has been fixed (r133512)." Due to some additional warnings. llvm-svn: 133700
* 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
OpenPOWER on IntegriCloud