aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/CodeGenPrepare.cpp
Commit message (Expand)AuthorAgeFilesLines
* Dramatically speedup codegen prepare by a) avoiding use of dominator tree and...Devang Patel2011-08-181-16/+38
* Use the getFirstInsertionPt() method instead of getFirstNonPHI + an 'isa<>'Bill Wendling2011-08-161-13/+6
* In places where it's using "getFirstNonPHI", skip the landingpad instruction ...Bill Wendling2011-08-151-5/+8
* Skip the insertion iterator past the landingpad instruction if there.Bill Wendling2011-08-151-0/+1
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-4/+4
* Fix warnings due to 132263; Thanks rdivacky.Nadav Rotem2011-05-291-2/+4
* Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'Nadav Rotem2011-05-271-2/+2
* Fix warning about || and && without explicit grouping.Chandler Carruth2011-05-261-2/+2
* Do not insert anything after terminator.Devang Patel2011-05-261-1/+2
* Do not move DBG_VALUE in middle of PHI nodes.Devang Patel2011-05-261-1/+4
* If llvm.dbg.value and the value instruction it refers to are far apart then i...Devang Patel2011-05-261-1/+13
* Add a parameter to ConstantFoldTerminator() that callers can use to ask it to...Frits van Bommel2011-05-221-1/+1
* Revert commit 131534 since it seems to have broken several buildbots.Duncan Sands2011-05-181-2/+2
* Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'Nadav Rotem2011-05-181-2/+2
* Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner2011-04-091-3/+18
* Debug intrinsics must be skipped at the beginning and ends of blocks, lest theyCameron Zwarich2011-03-241-2/+6
* It is enough for the CallInst to have no uses to be made a tail call with a retCameron Zwarich2011-03-241-1/+1
* s/UpdateDT/ModifiedDT/gDevang Patel2011-03-241-8/+8
* Do early taildup of ret in CodeGenPrepare for potential tail calls that have aCameron Zwarich2011-03-241-17/+37
* Use an early return instead of a long if block.Cameron Zwarich2011-03-241-51/+51
* When UpdateDT is set, DT is invalid, which could cause problems when trying toCameron Zwarich2011-03-241-2/+3
* Check for TLI so that -codegenprepare can be used from opt.Cameron Zwarich2011-03-241-0/+3
* Re-apply r127953 with fixes: eliminate empty return block if it has no predec...Evan Cheng2011-03-211-10/+122
* Revert r127953, "SimplifyCFG has stopped duplicating returns into predecessorsDaniel Dunbar2011-03-191-99/+4
* SimplifyCFG has stopped duplicating returns into predecessors to canonicalize IREvan Cheng2011-03-191-4/+99
* Roll r127459 back in:Cameron Zwarich2011-03-111-0/+14
* Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often getDaniel Dunbar2011-03-111-14/+0
* Optimize trivial branches in CodeGenPrepare, which often get created from theCameron Zwarich2011-03-111-0/+14
* Fix PR9398 - 10% of llc compile time is spent in Value::getNumUses. This reducesCameron Zwarich2011-03-051-7/+22
* Remove some more unused code that I missed.Cameron Zwarich2011-03-021-19/+0
* Eliminate the unused CodeGenPrepare option to split critical edges.Cameron Zwarich2011-03-021-128/+1
* Stop computing the number of uses twice per value in CodeGenPrepare's sinking ofCameron Zwarich2011-03-011-3/+4
* fix rdar://8878965, a regression I introduced with the recentChris Lattner2011-01-181-1/+3
* temporarily revert r123526. While working on a follow-on patch IChris Lattner2011-01-151-3/+0
* fix rdar://8785296 - -fcatch-undefined-behavior generates inefficient codeChris Lattner2011-01-151-0/+3
* simplify code, no functionality change.Chris Lattner2011-01-151-30/+37
* Now that instruction optzns can update the iterator as they go, we can Chris Lattner2011-01-151-10/+16
* make the current instruction iterator an ivar, allowing xforms thatChris Lattner2011-01-151-35/+38
* Make more passes preserve dominators (or state that they preserve dominators ifCameron Zwarich2011-01-081-0/+11
* Add the CallInst optimizations that don't involve expanding inline assembly toCameron Zwarich2011-01-061-0/+7
* Move the GEP handling in CodeGenPrepare to OptimizeInst().Cameron Zwarich2011-01-061-12/+12
* Split the optimizations in CodeGenPrepare that don't manipulate the iteratorsCameron Zwarich2011-01-061-41/+52
* Stop reallocating SunkAddrs for each basic block. When we move to an instructionCameron Zwarich2011-01-061-4/+10
* Add some more statistics to CodeGenPrepare.Cameron Zwarich2011-01-051-0/+4
* Add some stats to CodeGenPrepare to make it easier to speed it up withoutCameron Zwarich2011-01-051-3/+15
* Avoid finding loop back edges when we are not splitting critical edges inCameron Zwarich2011-01-041-2/+4
* Switch a worklist in CodeGenPrepare to SmallVector and increase the inlineCameron Zwarich2011-01-031-2/+2
* It is possible for SimplifyCFG to cause PHI nodes to become redundant too lat...Owen Anderson2010-12-231-1/+10
* revert r122164, I'm going to go with a different approach.Chris Lattner2010-12-191-11/+0
* first step to fixing PR8642: don't fold away empty basic blocksChris Lattner2010-12-191-0/+11