| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Adding more assignment of ordering to SDNodes. This time in the "call" and | Bill Wendling | 2009-12-22 | 1 | -32/+66 |
| | | | | | | | generic copy functions. llvm-svn: 91872 | ||||
| * | Fixed library dependencies between the X86 disassembler and | Sean Callanan | 2009-12-22 | 3 | -18/+5 |
| | | | | | | | X86 codegen that were causing circular symbol dependencies. llvm-svn: 91871 | ||||
| * | avoid calling extractMallocCall when it's obvious we don't have | Chris Lattner | 2009-12-22 | 1 | -1/+2 |
| | | | | | | | a call. This speeds up memdep ~1.5% llvm-svn: 91869 | ||||
| * | comment fix: weakvh -> tracking vh | Chris Lattner | 2009-12-22 | 1 | -2/+2 |
| | | | | | llvm-svn: 91867 | ||||
| * | Add ordering of SDNodes to LowerCallTo. | Bill Wendling | 2009-12-22 | 1 | -19/+44 |
| | | | | | llvm-svn: 91866 | ||||
| * | print pcrel immediates as signed values instead of unsigned so that we | Chris Lattner | 2009-12-22 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | get things like this out of the disassembler: 0x100000ecb: callq -96 instead of: 0x100000ecb: callq 4294967200 rdar://7491123 llvm-svn: 91864 | ||||
| * | Now add ordering to SDNodes created by the massive intrinsic lowering function. | Bill Wendling | 2009-12-22 | 1 | -100/+183 |
| | | | | | llvm-svn: 91863 | ||||
| * | To make things interesting, I added MORE code to set the ordering of | Bill Wendling | 2009-12-22 | 1 | -32/+387 |
| | | | | | | | SDNodes. This time in the load/store and limited-precision code. llvm-svn: 91860 | ||||
| * | Changed slot index ranges for MachineBasicBlocks to be exclusive of endpoint. | Lang Hames | 2009-12-22 | 7 | -34/+29 |
| | | | | | | | This fixes an in-place update bug where code inserted at the end of basic blocks may not be covered by existing intervals which were live across the entire block. It is also consistent with the way ranges are specified for live intervals. llvm-svn: 91859 | ||||
| * | Add more plumbing to assign ordering to SDNodes. Have the "getValue" method | Bill Wendling | 2009-12-21 | 1 | -59/+133 |
| | | | | | | | | assign the ordering when called. Combine some of the ordering assignments to keep things simple. llvm-svn: 91857 | ||||
| * | Add suggested parentheses. | Daniel Dunbar | 2009-12-21 | 1 | -4/+4 |
| | | | | | llvm-svn: 91853 | ||||
| * | Add a fastpath to Load GVN to special case when we have exactly one dominating | Chris Lattner | 2009-12-21 | 1 | -2/+10 |
| | | | | | | | | | | | | load to avoid even messing around with SSAUpdate at all. In this case (which is very common, we can just use the input value directly). This speeds up GVN time on gcc.c-torture/20001226-1.c from 36.4s to 16.3s, which still isn't great, but substantially better and this is a simple speedup that applies to lots of different cases. llvm-svn: 91851 | ||||
| * | More ordering plumbing. This time for GEP. I need to remember to assign | Bill Wendling | 2009-12-21 | 1 | -4/+32 |
| | | | | | | | orderings to values returned by getValue(). llvm-svn: 91850 | ||||
| * | refactor some code out to a new helper method. | Chris Lattner | 2009-12-21 | 1 | -22/+27 |
| | | | | | llvm-svn: 91849 | ||||
| * | improve indentation avoid a pointless conversion from weakvh to trackingvh, | Chris Lattner | 2009-12-21 | 1 | -3/+3 |
| | | | | | | | no functionality change. llvm-svn: 91848 | ||||
| * | Another incremental check-in for assigning ordering to SDNodes. This time for | Bill Wendling | 2009-12-21 | 1 | -25/+75 |
| | | | | | | | shuffle and insert vector. llvm-svn: 91847 | ||||
| * | Assign ordering to more instructions. Incremental check-in. | Bill Wendling | 2009-12-21 | 1 | -57/+156 |
| | | | | | llvm-svn: 91846 | ||||
| * | - Add a bit more plumbing assigning an order to SDNodes. | Bill Wendling | 2009-12-21 | 3 | -9/+35 |
| | | | | | | | - Modify the "dump" method to emit the order of an SDNode. llvm-svn: 91845 | ||||
| * | Fix a bug in !subst where TableGen would go and resubstitute text it had | David Greene | 2009-12-21 | 2 | -1/+18 |
| | | | | | | | | just substituted. This could cause infinite looping in certain pathological cases. llvm-svn: 91843 | ||||
| * | Remove uber-gross hack. The define _snprintf to snprintf is invalid due to ↵ | Anton Korobeynikov | 2009-12-21 | 1 | -3/+0 |
| | | | | | | | two reasons: 1. Accroding to C++ standard snprintf should be available in std namespace (and __gnu_cxx in case of GCC to). Such ifdef will change all snprintf's to _snprintf's, but won't bring snprintf to all necessary namespaces. Thus e.g. any locale-using code on mingw will yield an error (include this file + string to see the result) 2. MSVCRT's _snprintf does not comply with C99 standard. Standard one is snprintf. llvm-svn: 91842 | ||||
| * | Mark FPW as allocable when frame address is taken. | Anton Korobeynikov | 2009-12-21 | 1 | -5/+43 |
| | | | | | llvm-svn: 91841 | ||||
| * | First wave of plumbing for assigning an ordering to SDNodes. This takes care of | Bill Wendling | 2009-12-21 | 1 | -28/+43 |
| | | | | | | | a lot of the branching instructions. llvm-svn: 91838 | ||||
| * | Delete the instruction just before the function terminates for consistency sake. | Evan Cheng | 2009-12-21 | 1 | -2/+3 |
| | | | | | llvm-svn: 91836 | ||||
| * | Place SDNodeOrdering.h in the directory it's used. | Bill Wendling | 2009-12-21 | 2 | -1/+2 |
| | | | | | llvm-svn: 91834 | ||||
| * | Remove special-case SROA optimization of variable indexes to one-element and | Bob Wilson | 2009-12-21 | 1 | -141/+30 |
| | | | | | | | | | two-element arrays. After restructuring the SROA code, it was not safe to do this without adding more checking. It is not clear that this special-case has really been useful, and removing this simplifies the code quite a bit. llvm-svn: 91828 | ||||
| * | XFAIL these tests on powerpc, under the assumption that no one cares. If you ↵ | Daniel Dunbar | 2009-12-21 | 2 | -0/+2 |
| | | | | | | | care, feel free to fix. llvm-svn: 91826 | ||||
| * | Fix setting and default setting of code model for jit. Do this | Eric Christopher | 2009-12-21 | 5 | -16/+58 |
| | | | | | | | | | | | by allowing backends to override routines that will default the JIT and Static code generation to an appropriate code model for the architecture. Should fix PR 5773. llvm-svn: 91824 | ||||
| * | A couple minor README updates. | Eli Friedman | 2009-12-21 | 1 | -14/+5 |
| | | | | | llvm-svn: 91823 | ||||
| * | improve compatibility with SWIG, patch by James Knight! | Chris Lattner | 2009-12-21 | 1 | -1/+5 |
| | | | | | llvm-svn: 91822 | ||||
| * | revert r89298, which was committed without a testcase. I think | Chris Lattner | 2009-12-21 | 1 | -6/+0 |
| | | | | | | | the underlying PHI node insertion issue in SSAUpdate is fixed. llvm-svn: 91821 | ||||
| * | fix PR5837 by having SSAUpdate reuse phi nodes for the | Chris Lattner | 2009-12-21 | 2 | -1/+58 |
| | | | | | | | | | | | 'GetValueInMiddleOfBlock' case, instead of inserting duplicates. A similar fix is almost certainly needed by the machine-level SSAUpdate implementation. llvm-svn: 91820 | ||||
| * | add a helper ctor. | Chris Lattner | 2009-12-21 | 1 | -1/+7 |
| | | | | | llvm-svn: 91819 | ||||
| * | Change StringRef::startswith and StringRef::endswith to versions which are a | Eli Friedman | 2009-12-21 | 2 | -2/+12 |
| | | | | | | | bit more verbose, but optimize to much shorter code. llvm-svn: 91817 | ||||
| * | add check lines for min/max tests. | Chris Lattner | 2009-12-21 | 1 | -0/+16 |
| | | | | | llvm-svn: 91816 | ||||
| * | really convert this to filecheck. | Chris Lattner | 2009-12-21 | 1 | -5/+5 |
| | | | | | llvm-svn: 91815 | ||||
| * | give instcombine some helper functions for matching MIN and MAX, and | Chris Lattner | 2009-12-21 | 2 | -10/+158 |
| | | | | | | | | | | implement some optimizations for MIN(MIN()) and MAX(MAX()) and MIN(MAX()) etc. This substantially improves the code in PR5822 but doesn't kick in much elsewhere. 2 max's were optimized in pairlocalalign and one in smg2000. llvm-svn: 91814 | ||||
| * | filecheckize | Chris Lattner | 2009-12-21 | 1 | -56/+175 |
| | | | | | llvm-svn: 91813 | ||||
| * | enhance x-(-A) -> x+A to preserve NUW/NSW. | Chris Lattner | 2009-12-21 | 2 | -11/+60 |
| | | | | | | | | | | | | Use the presence of NSW/NUW to fold "icmp (x+cst), x" to a constant in cases where it would otherwise be undefined behavior. Surprisingly (to me at least), this triggers hundreds of the times in a few benchmarks: lencode, ldecode, and 466.h264ref seem to *really* like this. llvm-svn: 91812 | ||||
| * | Optimize all cases of "icmp (X+Cst), X" to something simpler. This triggers | Chris Lattner | 2009-12-21 | 2 | -3/+111 |
| | | | | | | | | a bunch in lencode, ldecod, spass, 176.gcc, 252.eon, among others. It is also the first part of PR5822 llvm-svn: 91811 | ||||
| * | convert to filecheck | Chris Lattner | 2009-12-21 | 1 | -1/+21 |
| | | | | | llvm-svn: 91810 | ||||
| * | Fixed use of phi param in SlotIndex constructors. | Lang Hames | 2009-12-19 | 1 | -2/+2 |
| | | | | | llvm-svn: 91790 | ||||
| * | fix an overly conservative caching issue that caused memdep to | Chris Lattner | 2009-12-19 | 2 | -32/+40 |
| | | | | | | | | | cache a pointer as being unavailable due to phi trans in the wrong place. This would cause later queries to fail even when they didn't involve phi trans. llvm-svn: 91787 | ||||
| * | CMake: Update lib deps. | Daniel Dunbar | 2009-12-19 | 1 | -9/+9 |
| | | | | | llvm-svn: 91786 | ||||
| * | .llx is no more. | Chris Lattner | 2009-12-19 | 2 | -2/+1 |
| | | | | | llvm-svn: 91784 | ||||
| * | fix inconsistent use of tabs | Chris Lattner | 2009-12-19 | 1 | -20/+20 |
| | | | | | llvm-svn: 91783 | ||||
| * | Remove unused variable (noticed by clang++). | Daniel Dunbar | 2009-12-19 | 1 | -1/+0 |
| | | | | | llvm-svn: 91780 | ||||
| * | #if 0 out X86 disassembler for now, it is breaking the build in multiple places. | Daniel Dunbar | 2009-12-19 | 2 | -0/+13 |
| | | | | | llvm-svn: 91778 | ||||
| * | Emit direction operand in binary insns that stores in memory. | Sanjiv Gupta | 2009-12-19 | 2 | -1/+14 |
| | | | | | llvm-svn: 91777 | ||||
| * | Adding a bunch of options to the mcc16 driver. | Sanjiv Gupta | 2009-12-19 | 1 | -44/+55 |
| | | | | | llvm-svn: 91776 | ||||
| * | rename dprintf to dbgpritnf, in order to fix build with glibc (which already ↵ | Nuno Lopes | 2009-12-19 | 1 | -29/+29 |
| | | | | | | | defines dprintf in stdio.h llvm-svn: 91775 | ||||

