Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip ptr-to-ptr bitcasts when counting in another case. | Dale Johannesen | 2009-03-04 | 1 | -4/+4 |
| | | | | llvm-svn: 66000 | ||||
* | Instruction counters must skip the bitcasts that | Dale Johannesen | 2009-03-03 | 1 | -0/+6 |
| | | | | | | | feed into llvm.dbg.declare nodes, as well as the debug directives themselves. llvm-svn: 65976 | ||||
* | When removing a store to an alloca that has only one | Dale Johannesen | 2009-03-03 | 1 | -2/+1 |
| | | | | | | | | 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 | ||||
* | Fix a bunch of Doxygen syntax issues. Escape special characters, | Dan Gohman | 2009-03-03 | 1 | -2/+2 |
| | | | | | | and put @file directives on their own comment line. llvm-svn: 65920 | ||||
* | When sinking an insn in InstCombine bring its debug | Dale Johannesen | 2009-03-03 | 1 | -2/+25 |
| | | | | | | | | info with it. Don't count debug info insns against the scan maximum in FindAvailableLoadedValue (lest they affect codegen). llvm-svn: 65910 | ||||
* | While folding unconditional return move DbgRegionEndInst into the ↵ | Devang Patel | 2009-02-24 | 1 | -22/+2 |
| | | | | | | | | | | | predecessor, instead of removing it. This fixes following tests from llvmgcc42 testsuite. gcc.c-torture/execute/20000605-3.c gcc.c-torture/execute/20020619-1.c gcc.c-torture/execute/20030920-1.c gcc.c-torture/execute/loop-ivopts-1.c llvm-svn: 65353 | ||||
* | If llvm.dbg.region.end is disappearing then remove corresponding ↵ | Devang Patel | 2009-02-11 | 1 | -2/+22 |
| | | | | | | llvm.dbg.func.start also. llvm-svn: 64278 | ||||
* | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 1 | -7/+7 |
| | | | | llvm-svn: 63198 | ||||
* | Factor some code into a new FoldSingleEntryPHINodes method. | Chris Lattner | 2008-12-03 | 1 | -0/+18 |
| | | | | llvm-svn: 60501 | ||||
* | third time is the charm. | Chris Lattner | 2008-12-03 | 1 | -1/+3 |
| | | | | llvm-svn: 60469 | ||||
* | fix assertion. | Chris Lattner | 2008-12-03 | 1 | -1/+1 |
| | | | | llvm-svn: 60468 | ||||
* | Rename DeleteBlockIfDead to DeleteDeadBlock and make it | Chris Lattner | 2008-12-03 | 1 | -9/+4 |
| | | | | | | | unconditionally delete the block. All likely clients will do the checking anyway. llvm-svn: 60464 | ||||
* | Factor some code out of SimplifyCFG, forming a new | Chris Lattner | 2008-12-03 | 1 | -0/+33 |
| | | | | | | DeleteBlockIfDead method. llvm-svn: 60463 | ||||
* | switch InstCombine::visitLoadInst to use | Chris Lattner | 2008-11-27 | 1 | -2/+25 |
| | | | | | | FindAvailableLoadedValue llvm-svn: 60169 | ||||
* | enhance FindAvailableLoadedValue to make use of AliasAnalysis | Chris Lattner | 2008-11-27 | 1 | -1/+20 |
| | | | | | | if it has it. llvm-svn: 60167 | ||||
* | move FindAvailableLoadedValue from JumpThreading to Transforms/Utils. | Chris Lattner | 2008-11-27 | 1 | -0/+62 |
| | | | | llvm-svn: 60166 | ||||
* | Fix unused variable warnings. | Devang Patel | 2008-11-03 | 1 | -1/+5 |
| | | | | llvm-svn: 58651 | ||||
* | SplitBlock should only attempt to update LoopInfo if it is actually being used. | Owen Anderson | 2008-10-03 | 1 | -4/+3 |
| | | | | llvm-svn: 56994 | ||||
* | Fix simplifycfg crash in handing block merge. | Devang Patel | 2008-09-09 | 1 | -1/+11 |
| | | | | llvm-svn: 55971 | ||||
* | Add some checks that got lost in the shuffle. This fixes 464.h264ref. | Owen Anderson | 2008-07-18 | 1 | -0/+4 |
| | | | | llvm-svn: 53760 | ||||
* | Make MergeBlockIntoPredecessor more aggressive when the same successor appears | Owen Anderson | 2008-07-17 | 1 | -5/+24 |
| | | | | | | more than once. llvm-svn: 53731 | ||||
* | Factor MergeBlockIntoPredecessor out into BasicBlockUtils. | Owen Anderson | 2008-07-17 | 1 | -0/+52 |
| | | | | llvm-svn: 53705 | ||||
* | Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989 | Nick Lewycky | 2008-04-25 | 1 | -6/+1 |
| | | | | | | r48047 r48084 r48085 r48086 r48088 r48096 r48099 r48109 and r48123. llvm-svn: 50265 | ||||
* | Move SplitBlockPredecessors out of loopsimplify into BasicBlockUtils.h | Chris Lattner | 2008-04-21 | 1 | -0/+101 |
| | | | | | | | | | as a global helper function. At the same type, switch it from taking a vector of predecessors to an arbitrary sequential input. This allows us to switch LoopSimplify to use a SmallVector for various temporary vectors that it passed into SplitBlockPredecessors. llvm-svn: 50020 | ||||
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -1/+1 |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
* | Two things. Preserve the unwind_to when splitting a BB. | Nick Lewycky | 2008-03-09 | 1 | -0/+1 |
| | | | | | | | Add the ability to remove just one instance of a BB from a phi node. This fixes the compile error in the tree now. llvm-svn: 48085 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. ↵ | Owen Anderson | 2007-11-27 | 1 | -1/+1 |
| | | | | | | This involves a small interface change. llvm-svn: 44348 | ||||
* | After a basic block is split into two parts, | Devang Patel | 2007-07-19 | 1 | -2/+15 |
| | | | | | | | | second part dominates all the blocks dominated by original basic block. And first part dominates second part. llvm-svn: 40035 | ||||
* | Add SplitEdge and SplitBlock utility routines. | Devang Patel | 2007-07-06 | 1 | -0/+61 |
| | | | | llvm-svn: 37952 | ||||
* | simplify code by using Value::takeName | Chris Lattner | 2007-02-11 | 1 | -5/+3 |
| | | | | llvm-svn: 34177 | ||||
* | Fix a doxygen problem and break lines at 80 columns | Reid Spencer | 2006-05-19 | 1 | -3/+3 |
| | | | | llvm-svn: 28395 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 |
| | | | | llvm-svn: 21427 | ||||
* | Improve doxygen documentation, patch contributed by Evan Jones! | Chris Lattner | 2005-04-21 | 1 | -17/+17 |
| | | | | llvm-svn: 21393 | ||||
* | second argument to Value::setName is now gone. | Chris Lattner | 2005-03-05 | 1 | -3/+3 |
| | | | | llvm-svn: 20463 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 1 | -1/+1 |
| | | | | llvm-svn: 15334 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -9/+7 |
| | | | | llvm-svn: 10727 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Fix spelling. | Misha Brukman | 2003-10-10 | 1 | -1/+1 |
| | | | | llvm-svn: 9027 | ||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 |
| | | | | llvm-svn: 7944 | ||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 1 | -1/+1 |
| | | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779 | ||||
* | Fix spelling of `propagate'. | Misha Brukman | 2002-10-29 | 1 | -1/+1 |
| | | | | llvm-svn: 4423 | ||||
* | Implement a new RemoveSuccessor function | Chris Lattner | 2002-07-29 | 1 | -4/+51 |
| | | | | llvm-svn: 3131 | ||||
* | *** empty log message *** | Chris Lattner | 2002-06-25 | 1 | -31/+12 |
| | | | | llvm-svn: 2777 | ||||
* | Add code pulled out of TransformInternals.cpp, ConstProp.cpp, and DCE.cpp | Chris Lattner | 2002-05-07 | 1 | -0/+79 |
llvm-svn: 2513 |