summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* - Fix atomic operation JIT encoding.Evan Cheng2008-04-183-54/+30
| | | | | | - Remove unused instructions. llvm-svn: 49921
* Add some more FIXME's for indexed loads and stores.Duncan Sands2008-04-183-0/+6
| | | | llvm-svn: 49916
* Provide an explicit list of operands to MakeLibcall,Duncan Sands2008-04-183-72/+81
| | | | | | | | | | rather than having it suck them out of a node. Add a bunch of new libcalls, and remove dead softfloat code (dead, because FloatToInt is used not Expand in this case). Note that indexed stores probably aren't handled properly, likewise for loads. llvm-svn: 49915
* Correct comment.Evan Cheng2008-04-181-2/+2
| | | | llvm-svn: 49913
* Not safe to "kill" a register if its live range extends pass the end of ↵Evan Cheng2008-04-181-3/+29
| | | | | | block branch. llvm-svn: 49911
* Also support Intel asm syntax.Evan Cheng2008-04-171-20/+20
| | | | llvm-svn: 49878
* Remove the implicit conversion from SDOperandPtr to SDOperand*; thisDan Gohman2008-04-171-4/+4
| | | | | | may fix a build error on Visual Studio. llvm-svn: 49876
* Fix assembly code for atomic operations.Evan Cheng2008-04-171-18/+18
| | | | llvm-svn: 49869
* Be more careful with insert_subreg and extract_subreg where either source or ↵Evan Cheng2008-04-171-27/+54
| | | | | | destination operand has already been coalesced with another register that's defined by a insert_subreg or extract_subreg. llvm-svn: 49843
* Make GVN able to remove unnecessary calls to read-only functions again.Owen Anderson2008-04-172-18/+31
| | | | llvm-svn: 49842
* Use correct name for method in comment.Bill Wendling2008-04-171-4/+4
| | | | llvm-svn: 49841
* Correct the SrcValue information in the Expand code for va_copy.Dan Gohman2008-04-171-2/+2
| | | | llvm-svn: 49839
* Remove unused variableScott Michel2008-04-171-1/+0
| | | | llvm-svn: 49838
* Fix a sub-register indice propagation bug.Evan Cheng2008-04-171-5/+14
| | | | llvm-svn: 49832
* Workaround for PR2207, in which pred_iterator assert gets triggered due to aScott Michel2008-04-161-2/+9
| | | | | | wee problem in Xcode 2.[45]/gcc 4.0.1. llvm-svn: 49831
* Don't forget about sub-register indices when rematting instructions.Evan Cheng2008-04-161-0/+13
| | | | llvm-svn: 49830
* Unbreak build on x86-64.Dale Johannesen2008-04-161-1/+1
| | | | llvm-svn: 49822
* Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵Nicolas Geoffray2008-04-1612-45/+67
| | | | | | | | the memory manager which function the stub will resolve. llvm-svn: 49814
* After reading memory that's already freed.Evan Cheng2008-04-162-22/+24
| | | | llvm-svn: 49810
* Infrastructure for getting the machine code size of a function and an ↵Nicolas Geoffray2008-04-1613-208/+623
| | | | | | instruction. X86, PowerPC and ARM are implemented llvm-svn: 49809
* Initialize X863DNowLevel.Evan Cheng2008-04-161-0/+1
| | | | llvm-svn: 49808
* Fix PR2226. Avoid using uninitialized variables.Evan Cheng2008-04-161-13/+28
| | | | llvm-svn: 49807
* Empty basic block should have an empty range.Evan Cheng2008-04-161-1/+3
| | | | llvm-svn: 49800
* Don't read off end of the input array.Dale Johannesen2008-04-161-1/+1
| | | | llvm-svn: 49799
* Ongoing work on improving the instruction selection infrastructure:Roman Levenstein2008-04-167-85/+86
| | | | | | | | | | Rename SDOperandImpl back to SDOperand. Introduce the SDUse class that represents a use of the SDNode referred by an SDOperand. Now it is more similar to Use/Value classes. Patch is approved by Dan Gohman. llvm-svn: 49795
* Rewrite LiveVariable liveness computation. The new implementation is much ↵Evan Cheng2008-04-161-219/+239
| | | | | | | | simplified. It eliminated the nasty recursive routines and removed the partial def / use bookkeeping. There is also potential for performance improvement by replacing the conservative handling of partial physical register definitions. The code is currently disabled until live interval analysis is taught of the name scheme. This patch also fixed a couple of nasty corner cases. llvm-svn: 49784
* Code clean up.Evan Cheng2008-04-161-70/+54
| | | | llvm-svn: 49783
* Major repairs to the post-dominators implementation. Patch from Florian ↵Owen Anderson2008-04-162-1/+8
| | | | | | Brandner! llvm-svn: 49768
* Add support for the form of the SSE41 extractps instruction thatDan Gohman2008-04-162-5/+6
| | | | | | puts its result in a 32-bit GPR. llvm-svn: 49762
* Recreate the size SDNode instead of reusing the old one in the x86Dan Gohman2008-04-161-2/+2
| | | | | | | | memcpy lowering code; this ensures that the size node has the desired result type. This fixes a regression from r49572 with @llvm.memcpy.i64 on x86-32. llvm-svn: 49761
* Avoid read after free.Evan Cheng2008-04-161-1/+1
| | | | llvm-svn: 49760
* Remove X86_64SRet; it isn't used anymore.Dan Gohman2008-04-161-11/+0
| | | | llvm-svn: 49759
* Add movd instructions to move from MMX registersDan Gohman2008-04-151-0/+12
| | | | | | to 64-bit GPR registers on x86-64. llvm-svn: 49757
* Fix the new scheduler assertion checks to work whenDan Gohman2008-04-151-2/+10
| | | | | | | the scheduler has inserted no-ops. This fixes the 2006-07-03-schedulers.ll regression on ppc32. llvm-svn: 49747
* VisualStudio project files updated. #include <algorithm> added to make ↵Chuck Rose III2008-04-151-0/+15
| | | | | | VisualStudio happy. Also had to undefine setjmp because of #include <csetjmp> turning setjmp into _setjmp in VisualStudio. llvm-svn: 49743
* Don't assume a tail call can't reference a byvalDale Johannesen2008-04-151-2/+4
| | | | | | argument to the outer function, this isn't correct. llvm-svn: 49731
* Use gv's --spartan option, which trades away an extra row of UI buttonsDan Gohman2008-04-151-0/+1
| | | | | | for more space for displaying the graph. llvm-svn: 49730
* Change Divided flag to Split, as suggested by EvanNicolas Geoffray2008-04-152-4/+4
| | | | llvm-svn: 49715
* Treat EntryToken nodes as "passive" so that they aren't added to theDan Gohman2008-04-153-35/+51
| | | | | | | | | | | | | | | | | ScheduleDAG; they don't correspond to any actual instructions so they don't need to be scheduled. This fixes a bug where the EntryToken was being scheduled multiple times in some cases, though it ended up not causing any trouble because EntryToken doesn't expand into anything. With this fixed the schedulers reliably schedule the expected number of units, so we can check this with an assertion. This requires a tweak to test/CodeGen/X86/loop-hoist.ll because it ends up getting scheduled differently in a trivial way, though it was enough to fool the prcontext+grep that the test does. llvm-svn: 49701
* In -view-sunit-dags, display "special" chain dependencies as cyanDan Gohman2008-04-141-0/+2
| | | | | | instead of blue to distinguish them from regular dependencies. llvm-svn: 49696
* Remove unnecessary <sstream> includes.Dan Gohman2008-04-142-2/+0
| | | | llvm-svn: 49681
* Avoid creating MERGE_VALUES nodes for single values.Dan Gohman2008-04-141-1/+2
| | | | llvm-svn: 49676
* Teach AliasSetTracker about VAArgInst.Dan Gohman2008-04-141-0/+17
| | | | llvm-svn: 49674
* Minor whitespace and comment cleanups.Dan Gohman2008-04-141-3/+3
| | | | llvm-svn: 49671
* In the special case, call the comparison function instead ofDan Gohman2008-04-141-2/+2
| | | | | | | | manually performing the comparison. This allows the special case to work correctly even in the case where someone is experimenting with a different comparison function :-). llvm-svn: 49670
* Fix const-correctness issues with the SrcValue handling in theDan Gohman2008-04-145-18/+18
| | | | | | memory intrinsic expansion code. llvm-svn: 49666
* Reverse sense of unwind-tables option. This meansDale Johannesen2008-04-144-9/+9
| | | | | | | stack tracebacks on Darwin x86-64 won't work by default; nevertheless, everybody but me thinks this is a good idea. llvm-svn: 49663
* Revert r49614. As Dan pointed out, some of these aren't correct.Owen Anderson2008-04-145-6/+6
| | | | llvm-svn: 49657
* Fix /test/CodeGen/PowerPC/big-endian-actual-args.ll for linux/ppc32Nicolas Geoffray2008-04-141-4/+4
| | | | llvm-svn: 49652
* VAArg may trap.Dan Gohman2008-04-141-0/+1
| | | | llvm-svn: 49646
OpenPOWER on IntegriCloud