summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Ignore the debug info intrinsics when looking for dependency through basic ↵Zhou Sheng2009-03-051-0/+5
| | | | | | block. llvm-svn: 66119
* Add comment to emphasize that the while body is empty.Bill Wendling2009-03-051-2/+2
| | | | llvm-svn: 66115
* Fix another case where a dbg.declare meant somethingDale Johannesen2009-03-051-6/+13
| | | | | | had 2 uses instead of 1. llvm-svn: 66112
* Temporarily revert r65994. It was causing rdar://6646455.Bill Wendling2009-03-041-20/+6
| | | | llvm-svn: 66083
* add some helper classes for building light-weight symbolic stack tracesChris Lattner2009-03-041-0/+69
| | | | | | that get printed when a program crashes. This is the first step of many. llvm-svn: 66076
* Re-commit 65975 and a fix for the problem thatDale Johannesen2009-03-041-0/+2
| | | | | | | was causing llvm-gcc to fail to build. I've verified it bootstraps now; good enough for me. llvm-svn: 66073
* Add a new 'AddSignalHandler' function to Signals.h that allowsChris Lattner2009-03-042-135/+83
| | | | | | | | | | | | | arbitrary functions to be run when a crash happens. Delete RemoveDirectoryOnSignal as it is dead and has never had clients. Change PrintStackTraceOnErrorSignal to be implemented in terms of AddSignalHandler. I updated the Win32 versions of these APIs, but can't test them. If there are any problems, I'd be happy to fix them as well. llvm-svn: 66072
* Fix this comment.Dan Gohman2009-03-041-1/+2
| | | | llvm-svn: 66065
* Add an assertion for a condition that's always true, and notDan Gohman2009-03-041-0/+3
| | | | | | immediately obvious. llvm-svn: 66062
* Re-apply 66008, now that the unfoldMemoryOperand bug is fixed.Dan Gohman2009-03-044-127/+298
| | | | llvm-svn: 66058
* Correct this comment.Dan Gohman2009-03-041-1/+1
| | | | llvm-svn: 66057
* When using MachineInstr operand indices on SDNodes, the numberDan Gohman2009-03-041-3/+4
| | | | | | | | | of MachineInstr def operands must be subtracted out. This bug was uncovered by the recent x86 EFLAGS optimization. Before that, the only instructions that ever needed unfolding were things like CMP32rm, where NumDefs is zero. llvm-svn: 66056
* complete comment.Chris Lattner2009-03-041-1/+3
| | | | llvm-svn: 66055
* this wasn't intended to be committed.Chris Lattner2009-03-041-2/+1
| | | | llvm-svn: 66054
* Fix PR3720 by properly propagating alignment information from memcpy/memmove Chris Lattner2009-03-041-7/+34
| | | | | | onto element accesses. llvm-svn: 66053
* Fix a thinko in the JIT where the address of a GV was only recorded in the mapNate Begeman2009-03-042-6/+16
| | | | | | | | | on failure to resolve it. Do not abort on failure to resolve an external symbol when using dlsym stubs, since the symbol may not be in the JIT's address space. Just use 0. Allow dlsym stubs to differentiate between GlobalVars and Functions. llvm-svn: 66050
* Fix BuildVectorSDNode::isConstantSplat to handle one-element vectors.Bob Wilson2009-03-041-2/+2
| | | | | | | It is an error to call APInt::zext with a size that is equal to the value's current size, so use zextOrTrunc instead. llvm-svn: 66039
* Add a restore folder, which shaves a dozen or so machineinstrs off oggenc. ↵Owen Anderson2009-03-041-6/+75
| | | | | | Update a testcase to check this. llvm-svn: 66029
* Fix PR3666: isel calls to constant addresses.Evan Cheng2009-03-043-4/+9
| | | | llvm-svn: 66024
* PR3686: make the legalizer handle bitcast from i80 to x86 long double.Eli Friedman2009-03-042-0/+8
| | | | llvm-svn: 66021
* Revert r66004 for now; it's causing a variety of test failures.Dan Gohman2009-03-044-295/+127
| | | | llvm-svn: 66008
* Teach the x86 backend to eliminate "test" instructions by using the EFLAGSDan Gohman2009-03-044-127/+295
| | | | | | result from add, sub, inc, and dec instructions in simple cases. llvm-svn: 66004
* Revert unintended commmit.Dale Johannesen2009-03-041-5/+2
| | | | llvm-svn: 66001
* Skip ptr-to-ptr bitcasts when counting in another case.Dale Johannesen2009-03-041-4/+4
| | | | llvm-svn: 66000
* Always skip ptr-to-ptr bitcasts when counting,Dale Johannesen2009-03-042-7/+10
| | | | | | per Chris' suggestion. Slightly faster. llvm-svn: 65999
* Fix PR3701. 1. X86 target renamed eflags register to flags. This matches ↵Evan Cheng2009-03-042-26/+55
| | | | | | what llvm-gcc generates so codegen knows flags register is being clobbered by inline asm. 2. BURR scheduler should also check if inline asm nodes can clobber "live" physical registers. Previously it was only checking target nodes with implicit defs. llvm-svn: 65996
* If a global constant is dead then global's debug info should not prevent the ↵Devang Patel2009-03-041-6/+20
| | | | | | optimizer in deleting the global. And while deleting global, delete global's debug info also. llvm-svn: 65994
* Make my earlier patch to skip debug intrinsicsDale Johannesen2009-03-041-2/+1
| | | | | | when counting work; it was only off by 1. llvm-svn: 65993
* The DAG combiner was performing a BT combine. The BT combine had a value of -1,Bill Wendling2009-03-041-11/+22
| | | | | | | | | | | | so it changed it into a 31 via the TLO.ShrinkDemandedConstant() call. Then it would go through the DAG combiner again. This time it had a value of 31, which was turned into a -1 by TLI.SimplifyDemandedBits(). This would ping pong forever. Teach the TLO.ShrinkDemandedConstant() call not to lower a value if the demanded value is an XOR of all ones. llvm-svn: 65985
* Marking debug info intrinsics as not touching memoryDale Johannesen2009-03-031-0/+3
| | | | | | caused them to be considered trivially dead. Fix this. llvm-svn: 65979
* Instruction counters must skip the bitcasts thatDale Johannesen2009-03-032-1/+11
| | | | | | | feed into llvm.dbg.declare nodes, as well as the debug directives themselves. llvm-svn: 65976
* Recursively remove dead argument while removing llvm.dbg.declare intrinsic.Devang Patel2009-03-031-2/+3
| | | | llvm-svn: 65971
* When removing a store to an alloca that has only oneDale Johannesen2009-03-032-12/+49
| | | | | | | | use, check also for the case where it has two uses, the other being a llvm.dbg.declare. This is needed so debug info doesn't affect codegen. llvm-svn: 65970
* don't #include a header into the middle of an anon namespace.Chris Lattner2009-03-031-7/+5
| | | | llvm-svn: 65967
* Add '(implicit EFLAGS)' for AND, OR, XOR, NEG, INC, and DECDan Gohman2009-03-032-111/+220
| | | | | | instructions. These aren't used yet. llvm-svn: 65965
* Use early exit to reduce indentation. No functional change.Bob Wilson2009-03-031-128/+128
| | | | llvm-svn: 65962
* Remove accidental check-ins in r65960. :-(Bill Wendling2009-03-031-5/+1
| | | | llvm-svn: 65961
* Use > instead of >=. We want to promote aggregates of 128-bytes.Bill Wendling2009-03-032-2/+6
| | | | llvm-svn: 65960
* Reapply r65755, but reversing "<" to ">=".Bill Wendling2009-03-031-2/+3
| | | | llvm-svn: 65945
* Oops.Mikhail Glushenkov2009-03-031-1/+1
| | | | llvm-svn: 65942
* 80-column violation + trailing whitespace.Mikhail Glushenkov2009-03-031-59/+59
| | | | llvm-svn: 65936
* Ignore the debug info intrinsics when adding instructions into alias sets.Zhou Sheng2009-03-031-0/+3
| | | | llvm-svn: 65934
* Fix a bunch of Doxygen syntax issues. Escape special characters,Dan Gohman2009-03-038-19/+19
| | | | | | and put @file directives on their own comment line. llvm-svn: 65920
* Don't count DebugInfo instructions in another limitDale Johannesen2009-03-031-1/+7
| | | | | | (lest they affect codegen). llvm-svn: 65915
* When sinking an insn in InstCombine bring its debugDale Johannesen2009-03-032-2/+26
| | | | | | | | info with it. Don't count debug info insns against the scan maximum in FindAvailableLoadedValue (lest they affect codegen). llvm-svn: 65910
* Ignore debug info intrinsics.Devang Patel2009-03-031-1/+5
| | | | llvm-svn: 65908
* If branch conditions' one successor is dominating another non-latch ↵Devang Patel2009-03-021-0/+15
| | | | | | successor then this loop's iteration space can not be restricted. In this example block bb5 is always executed. llvm-svn: 65902
* Generalize BuildVectorSDNode::isConstantSplat to use APInts and handleBob Wilson2009-03-022-86/+60
| | | | | | | | arbitrary vector sizes. Add an optional MinSplatBits parameter to specify a minimum for the splat element size. Update the PPC target to use the revised interface. llvm-svn: 65899
* Fix the calculation for how big the allocated stub needs to be.Nate Begeman2009-03-021-1/+1
| | | | llvm-svn: 65895
* Remove all dbg symobls, including those with circular references.Devang Patel2009-03-021-3/+15
| | | | | | This is ugly, but I can't figure out a quick way out of this. llvm-svn: 65889
OpenPOWER on IntegriCloud