summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* remove StandardPasses, it has been replaced with PassManagerBuilderChris Lattner2011-05-223-651/+0
| | | | llvm-svn: 131827
* switch opt to using PassManagerBuilder.hChris Lattner2011-05-221-34/+31
| | | | llvm-svn: 131824
* switch llvm-ld. It has a terrible mechanism that people can add extraChris Lattner2011-05-221-6/+4
| | | | | | passes, it should be converted to use extension points. llvm-svn: 131823
* switch bugpoint and liblto to PassManagerBuilder.Chris Lattner2011-05-222-20/+16
| | | | llvm-svn: 131821
* add support for LTO passes.Chris Lattner2011-05-221-0/+75
| | | | llvm-svn: 131820
* eliminate dependence on StandardPasses.h. The code generator's pass pipelineChris Lattner2011-05-221-2/+6
| | | | | | should eventually convert to PMBuilder, but I don't plan to do this. llvm-svn: 131819
* Include DataTypes.h from this header to get the uint*_t types.Charles Davis2011-05-221-0/+2
| | | | llvm-svn: 131817
* Allow access to the .pdata and .xdata sections through the TargetAsmInfoCharles Davis2011-05-221-0/+8
| | | | | | class. llvm-svn: 131816
* add an extension point mechanism that allow plugins to add stuff to Chris Lattner2011-05-211-40/+83
| | | | | | the pass manager. llvm-svn: 131814
* Add CreateLifetimeStart and CreateLifetimeEnd to the IRBuilder, with plans toNick Lewycky2011-05-213-5/+118
| | | | | | use these soon. llvm-svn: 131812
* Revert commit 131781, to see if it fixes the x86-64 dragonegg buildbot.Duncan Sands2011-05-213-143/+2
| | | | | | | | | Original log message: When BasicAA can determine that two pointers have the same base but differ by a dynamic offset, return PartialAlias instead of MayAlias. See the comment in the code for details. This fixes PR9971. llvm-svn: 131809
* add a new PassManagerBuilder class to replace StandardPasses.hChris Lattner2011-05-211-0/+204
| | | | llvm-svn: 131807
* add a copy ctor to TargetLibraryInfo.Chris Lattner2011-05-212-0/+7
| | | | llvm-svn: 131806
* PR7952: Make isa<> use the same logic as cast<>, so that they both workEli Friedman2011-05-212-49/+41
| | | | | | consistently. llvm-svn: 131803
* X86: smulo -> add is now done target-independently in DAGCombiner, remove ↵Benjamin Kramer2011-05-211-6/+0
| | | | | | the patterns. llvm-svn: 131801
* Implement mulo x, 2 -> addo x, x in DAGCombiner.Benjamin Kramer2011-05-212-0/+48
| | | | llvm-svn: 131800
* Merge and FileCheckize test cases.Benjamin Kramer2011-05-213-45/+48
| | | | llvm-svn: 131799
* Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper ↵Benjamin Kramer2011-05-212-35/+0
| | | | | | | | add.with.overflow(X, X)" It's better to do this in codegen, mul.with.overflow(X, 2) is more canonical because it has only one use on "X". llvm-svn: 131798
* Don't allow .seh_handler and .seh_handlerdata directives inside chainedCharles Davis2011-05-211-0/+5
| | | | | | unwind areas. llvm-svn: 131795
* A handler for a function in the Win64 EH scheme can be both an unwind handlerCharles Davis2011-05-212-10/+15
| | | | | | | | | and an exception handler. Handle that case. Also, add an 'Emitted' member to the MCWin64EHUnwindInfo struct. It will be needed later. llvm-svn: 131791
* InstCombine: Turn mul.with.overflow(X, 2) into the cheaper ↵Benjamin Kramer2011-05-212-0/+35
| | | | | | add.with.overflow(X, X) llvm-svn: 131789
* Fix PR9978 by adding RIP to GR64_TC so it can be used as an address in PIC ↵Cameron Zwarich2011-05-211-1/+1
| | | | | | | | | code. It is already in GR64 for the same reasons. Since it isn't allocatable it can't cause any problems. llvm-svn: 131787
* Use the correct register to access stack frame objects.Akira Hatanaka2011-05-211-10/+31
| | | | llvm-svn: 131785
* Insert instructions that copy $sp to or from $fp at the right locations. Akira Hatanaka2011-05-211-11/+26
| | | | llvm-svn: 131784
* When BasicAA can determine that two pointers have the same base butDan Gohman2011-05-213-2/+143
| | | | | | | differ by a dynamic offset, return PartialAlias instead of MayAlias. See the comment in the code for details. This fixes PR9971. llvm-svn: 131781
* Have Program::Wait return -2 for crashed and timeouts instead of embeddingAndrew Trick2011-05-216-31/+23
| | | | | | info in the error message. Per Dan's request. llvm-svn: 131780
* Set the "LastFrameInst" field when streaming a .seh_setframe directive. ThisCharles Davis2011-05-211-0/+1
| | | | | | is needed for an upcoming patch. llvm-svn: 131772
* Fix PR9962 by properly constraining register classes in ↵Cameron Zwarich2011-05-201-0/+4
| | | | | | | | RemoveCopyByCommutingDef(). This actually fixes most of the VerifyCoalescing failures in test-suite. llvm-svn: 131768
* Change the order fixed objects are created in MipsTargetLowering::LowerCall inAkira Hatanaka2011-05-201-25/+35
| | | | | | | | | | | | | | preparation for reversing StackDirection. Fixed objects are created in the following order: 1. Incoming arguments passed on stack. 2. va_arg objects (include both arguments that are passed in registers and pointer to the location of the first va_arg argument). 3. $gp restore slot. 4. Outgoing arguments passed on stack. 5. Pointer to alloca'd space. llvm-svn: 131767
* Fix typo. When will I learn?Charles Davis2011-05-201-1/+0
| | | | llvm-svn: 131765
* Add fast-isel support for byval calls on x86.Eli Friedman2011-05-202-20/+70
| | | | llvm-svn: 131764
* Add .pdata and .xdata sections to the COFF TLOF implementation.Charles Davis2011-05-203-0/+27
| | | | llvm-svn: 131763
* No reason not to allow defining the CFA as a reg w/ offset zero.Jim Grosbach2011-05-202-4/+0
| | | | llvm-svn: 131760
* In CC_MipsO32, allocate a stack space regardless of whether the argument isAkira Hatanaka2011-05-201-22/+25
| | | | | | passed in register or on the stack. llvm-svn: 131758
* Fix typo.Jim Grosbach2011-05-201-1/+1
| | | | llvm-svn: 131757
* Add support for frame info use of the .cfi_def_cfa directive.Jim Grosbach2011-05-201-1/+2
| | | | llvm-svn: 131756
* Add missing leading \t when printing .cfi_def_cfa in the asmstreamer.Jim Grosbach2011-05-201-1/+1
| | | | llvm-svn: 131755
* Define functions that get/set maximum call frame size.Akira Hatanaka2011-05-201-1/+6
| | | | llvm-svn: 131752
* adds some attributes to attribute section when cpu is "xscale"Rafael Espindola2011-05-202-0/+37
| | | | | | | | (this is what used in Android NDK, when architecture is ARMv5) patch by Koan-Sin Tan llvm-svn: 131751
* fixes target address tBL and tBLX and sets relocation typeRafael Espindola2011-05-203-2/+50
| | | | | | | | of tBL/tBLX to R_ARM_THM_CALL (ARM ELF 4.7.1.6) Patch by koan-sin tan. llvm-svn: 131748
* Add asserts in StringRef to make sure we avoid undefined behavior:Argyrios Kyrtzidis2011-05-201-7/+20
| | | | | | | | | -strlen should not be called with NULL. Also guarantee that StringRef's Length is 0 if Data is NULL. -memcmp should not be called with NULL (even if size is 0) Patch by Matthieu Monrocq! llvm-svn: 131747
* Re-commit 131641 with fixes; de-pseudoize MOVSX16rr8 and friends.Stuart Hastings2011-05-206-50/+60
| | | | | | rdar://problem/8614450 llvm-svn: 131746
* Make $fp and $ra callee-saved registers and let PrologEpilogInserter handleAkira Hatanaka2011-05-206-103/+39
| | | | | | saving and restoring them. llvm-svn: 131745
* indvars: Prototyping Sign/ZeroExtend elimination without canonical IVs.Andrew Trick2011-05-204-114/+373
| | | | | | | | | | No functionality enabled by default. Use -disable-iv-rewrite. Extended IVUsers to keep track of the phi that represents the users' IV. Added the WidenIV transform to replace a narrow IV with a wide IV by doing a one-for-one replacement of IV users instead of expanding the SCEV expressions. [sz]exts are removed and truncs are inserted. llvm-svn: 131744
* Now that they're implemented, make the Win64 EH MCAsmStreamer methods callCharles Davis2011-05-201-0/+26
| | | | | | super. llvm-svn: 131743
* Fixed regression due to commit 131709, which disables vararg tail call ↵Chad Rosier2011-05-201-12/+24
| | | | | | optimizations on Win64 llvm-svn: 131740
* Revert accidental commit.Evan Cheng2011-05-203-10/+1
| | | | llvm-svn: 131739
* "Implement" the HandlerData Win64 EH method in the base MCStreamer.Charles Davis2011-05-201-2/+1
| | | | | | | | There's really nothing to implement. All this really does is swap to a pseudo-section that later gets written to the unwind info struct. That needs to be implemented in the object streamers. llvm-svn: 131734
* Rename the "sandybridge" subtarget to "corei7-avx", for GCC compatibility.Benjamin Kramer2011-05-203-3/+3
| | | | llvm-svn: 131730
* Remove noisy semicolons.Benjamin Kramer2011-05-203-8/+13
| | | | llvm-svn: 131724
OpenPOWER on IntegriCloud