| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | eliminate dependence on StandardPasses.h. The code generator's pass pipeline | Chris Lattner | 2011-05-22 | 1 | -2/+6 |
| | | | | | | | should eventually convert to PMBuilder, but I don't plan to do this. llvm-svn: 131819 | ||||
| * | Add CreateLifetimeStart and CreateLifetimeEnd to the IRBuilder, with plans to | Nick Lewycky | 2011-05-21 | 1 | -1/+30 |
| | | | | | | | use these soon. llvm-svn: 131812 | ||||
| * | Revert commit 131781, to see if it fixes the x86-64 dragonegg buildbot. | Duncan Sands | 2011-05-21 | 1 | -11/+1 |
| | | | | | | | | | | 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 copy ctor to TargetLibraryInfo. | Chris Lattner | 2011-05-21 | 1 | -0/+6 |
| | | | | | llvm-svn: 131806 | ||||
| * | PR7952: Make isa<> use the same logic as cast<>, so that they both work | Eli Friedman | 2011-05-21 | 1 | -1/+1 |
| | | | | | | | consistently. llvm-svn: 131803 | ||||
| * | X86: smulo -> add is now done target-independently in DAGCombiner, remove ↵ | Benjamin Kramer | 2011-05-21 | 1 | -6/+0 |
| | | | | | | | the patterns. llvm-svn: 131801 | ||||
| * | Implement mulo x, 2 -> addo x, x in DAGCombiner. | Benjamin Kramer | 2011-05-21 | 1 | -0/+24 |
| | | | | | llvm-svn: 131800 | ||||
| * | Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper ↵ | Benjamin Kramer | 2011-05-21 | 1 | -14/+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 chained | Charles Davis | 2011-05-21 | 1 | -0/+5 |
| | | | | | | | unwind areas. llvm-svn: 131795 | ||||
| * | A handler for a function in the Win64 EH scheme can be both an unwind handler | Charles Davis | 2011-05-21 | 1 | -3/+5 |
| | | | | | | | | | | 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 Kramer | 2011-05-21 | 1 | -0/+14 |
| | | | | | | | 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 Zwarich | 2011-05-21 | 1 | -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 Hatanaka | 2011-05-21 | 1 | -10/+31 |
| | | | | | llvm-svn: 131785 | ||||
| * | Insert instructions that copy $sp to or from $fp at the right locations. | Akira Hatanaka | 2011-05-21 | 1 | -11/+26 |
| | | | | | llvm-svn: 131784 | ||||
| * | When BasicAA can determine that two pointers have the same base but | Dan Gohman | 2011-05-21 | 1 | -1/+11 |
| | | | | | | | | 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 embedding | Andrew Trick | 2011-05-21 | 3 | -14/+13 |
| | | | | | | | info in the error message. Per Dan's request. llvm-svn: 131780 | ||||
| * | Set the "LastFrameInst" field when streaming a .seh_setframe directive. This | Charles Davis | 2011-05-21 | 1 | -0/+1 |
| | | | | | | | is needed for an upcoming patch. llvm-svn: 131772 | ||||
| * | Fix PR9962 by properly constraining register classes in ↵ | Cameron Zwarich | 2011-05-20 | 1 | -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 in | Akira Hatanaka | 2011-05-20 | 1 | -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 Davis | 2011-05-20 | 1 | -1/+0 |
| | | | | | llvm-svn: 131765 | ||||
| * | Add fast-isel support for byval calls on x86. | Eli Friedman | 2011-05-20 | 1 | -17/+51 |
| | | | | | llvm-svn: 131764 | ||||
| * | Add .pdata and .xdata sections to the COFF TLOF implementation. | Charles Davis | 2011-05-20 | 1 | -0/+15 |
| | | | | | llvm-svn: 131763 | ||||
| * | No reason not to allow defining the CFA as a reg w/ offset zero. | Jim Grosbach | 2011-05-20 | 2 | -4/+0 |
| | | | | | llvm-svn: 131760 | ||||
| * | In CC_MipsO32, allocate a stack space regardless of whether the argument is | Akira Hatanaka | 2011-05-20 | 1 | -22/+25 |
| | | | | | | | passed in register or on the stack. llvm-svn: 131758 | ||||
| * | Fix typo. | Jim Grosbach | 2011-05-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 131757 | ||||
| * | Add support for frame info use of the .cfi_def_cfa directive. | Jim Grosbach | 2011-05-20 | 1 | -1/+2 |
| | | | | | llvm-svn: 131756 | ||||
| * | Add missing leading \t when printing .cfi_def_cfa in the asmstreamer. | Jim Grosbach | 2011-05-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 131755 | ||||
| * | Define functions that get/set maximum call frame size. | Akira Hatanaka | 2011-05-20 | 1 | -1/+6 |
| | | | | | llvm-svn: 131752 | ||||
| * | adds some attributes to attribute section when cpu is "xscale" | Rafael Espindola | 2011-05-20 | 1 | -0/+6 |
| | | | | | | | | | (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 type | Rafael Espindola | 2011-05-20 | 2 | -2/+13 |
| | | | | | | | | | of tBL/tBLX to R_ARM_THM_CALL (ARM ELF 4.7.1.6) Patch by koan-sin tan. llvm-svn: 131748 | ||||
| * | Re-commit 131641 with fixes; de-pseudoize MOVSX16rr8 and friends. | Stuart Hastings | 2011-05-20 | 5 | -50/+38 |
| | | | | | | | rdar://problem/8614450 llvm-svn: 131746 | ||||
| * | Make $fp and $ra callee-saved registers and let PrologEpilogInserter handle | Akira Hatanaka | 2011-05-20 | 5 | -101/+37 |
| | | | | | | | saving and restoring them. llvm-svn: 131745 | ||||
| * | indvars: Prototyping Sign/ZeroExtend elimination without canonical IVs. | Andrew Trick | 2011-05-20 | 3 | -110/+361 |
| | | | | | | | | | | | 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 call | Charles Davis | 2011-05-20 | 1 | -0/+26 |
| | | | | | | | super. llvm-svn: 131743 | ||||
| * | Revert accidental commit. | Evan Cheng | 2011-05-20 | 3 | -10/+1 |
| | | | | | llvm-svn: 131739 | ||||
| * | "Implement" the HandlerData Win64 EH method in the base MCStreamer. | Charles Davis | 2011-05-20 | 1 | -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 Kramer | 2011-05-20 | 2 | -2/+2 |
| | | | | | llvm-svn: 131730 | ||||
| * | Remove noisy semicolons. | Benjamin Kramer | 2011-05-20 | 2 | -2/+2 |
| | | | | | llvm-svn: 131724 | ||||
| * | Fix PR9960 by teaching SimpleRegisterCoalescing::AdjustCopiesBackFrom() to ↵ | Cameron Zwarich | 2011-05-20 | 1 | -0/+5 |
| | | | | | | | | | preserve the phikill flag. llvm-svn: 131717 | ||||
| * | indvars: minor cleanup in preparation for sign/zero extend elimination. | Andrew Trick | 2011-05-20 | 1 | -18/+11 |
| | | | | | llvm-svn: 131716 | ||||
| * | Fix bug in which nodes that write to argument registers do not get glued ↵ | Akira Hatanaka | 2011-05-20 | 1 | -11/+12 |
| | | | | | | | with the JALR node. Patch by Sasa Stankovic llvm-svn: 131714 | ||||
| * | Remove code that creates unnecessary frame objects. | Akira Hatanaka | 2011-05-20 | 1 | -4/+0 |
| | | | | | llvm-svn: 131711 | ||||
| * | Define variables and functions in MipsFunctionInfo. | Akira Hatanaka | 2011-05-20 | 1 | -1/+30 |
| | | | | | | | | This is the first of a series of patches that attempt to simplify handling of stack frame objects. llvm-svn: 131710 | ||||
| * | Don't attempt to tail call optimize for Win64. | Chad Rosier | 2011-05-20 | 1 | -6/+7 |
| | | | | | llvm-svn: 131709 | ||||
| * | Revert r131664 and fix it in instcombine instead. rdar://9467055 | Evan Cheng | 2011-05-20 | 5 | -14/+14 |
| | | | | | llvm-svn: 131708 | ||||
| * | Fix PR9955 by only attaching load memory operands to load instructions and | Cameron Zwarich | 2011-05-19 | 1 | -3/+37 |
| | | | | | | | | similarly for stores. Now "make check" passes with the MachineVerifier forced on with the VerifyCoalescing option! llvm-svn: 131705 | ||||
| * | Add fast-isel support for zeroext and signext ret instructions on x86. | Eli Friedman | 2011-05-19 | 1 | -5/+25 |
| | | | | | llvm-svn: 131689 | ||||
| * | Looks like OS X assemblers (including MC) don't like | Rafael Espindola | 2011-05-19 | 1 | -1/+2 |
| | | | | | | | | | | | foo: bar = foo .quad bar Avoid producing it. Fixes PR9951. llvm-svn: 131687 | ||||
| * | Misc code refactorings: | Rafael Espindola | 2011-05-19 | 3 | -19/+13 |
| | | | | | | | | * Remove unnecessary arguments now that ForceExpAbs is a method. * Use ForceExpAbs in EmitAbsValue. llvm-svn: 131683 | ||||
| * | Oddly people want to use the 'r' constraint for fp constants on x86. | Eric Christopher | 2011-05-19 | 1 | -1/+1 |
| | | | | | | | | Fixes rdar://9218925 Fixes PR9601 llvm-svn: 131682 | ||||

