aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/CodeGenPrepare.cpp
AgeCommit message (Expand)Author
2012-03-24Refactor the interface to recursively simplifying instructions to be tadChandler Carruth
2012-03-13Target override to allow CodeGenPrepare to sink address operands to intrinsic...Pete Cooper
2012-03-04Do trivial CSE of dead BBs during codegen preparation.Bill Wendling
2012-01-20Extend Attributes to 64 bitsKostya Serebryany
2011-12-01Propagate TargetLibraryInfo throughout ConstantFolding.cpp and Chad Rosier
2011-09-29Fold two identical set lookups into one. No functionality change.Nick Lewycky
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-09-06Use IRBuilder.Devang Patel
2011-08-18Dramatically speedup codegen prepare by a) avoiding use of dominator tree and...Devang Patel
2011-08-16Use the getFirstInsertionPt() method instead of getFirstNonPHI + an 'isa<>'Bill Wendling
2011-08-15In places where it's using "getFirstNonPHI", skip the landingpad instruction ...Bill Wendling
2011-08-15Skip the insertion iterator past the landingpad instruction if there.Bill Wendling
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-05-29Fix warnings due to 132263; Thanks rdivacky.Nadav Rotem
2011-05-27Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'Nadav Rotem
2011-05-26Fix warning about || and && without explicit grouping.Chandler Carruth
2011-05-26Do not insert anything after terminator.Devang Patel
2011-05-26Do not move DBG_VALUE in middle of PHI nodes.Devang Patel
2011-05-26If llvm.dbg.value and the value instruction it refers to are far apart then i...Devang Patel
2011-05-22Add a parameter to ConstantFoldTerminator() that callers can use to ask it to...Frits van Bommel
2011-05-18Revert commit 131534 since it seems to have broken several buildbots.Duncan Sands
2011-05-18Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'Nadav Rotem
2011-04-09Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner
2011-03-24Debug intrinsics must be skipped at the beginning and ends of blocks, lest theyCameron Zwarich
2011-03-24It is enough for the CallInst to have no uses to be made a tail call with a retCameron Zwarich
2011-03-24s/UpdateDT/ModifiedDT/gDevang Patel
2011-03-24Do early taildup of ret in CodeGenPrepare for potential tail calls that have aCameron Zwarich
2011-03-24Use an early return instead of a long if block.Cameron Zwarich
2011-03-24When UpdateDT is set, DT is invalid, which could cause problems when trying toCameron Zwarich
2011-03-24Check for TLI so that -codegenprepare can be used from opt.Cameron Zwarich
2011-03-21Re-apply r127953 with fixes: eliminate empty return block if it has no predec...Evan Cheng
2011-03-19Revert r127953, "SimplifyCFG has stopped duplicating returns into predecessorsDaniel Dunbar
2011-03-19SimplifyCFG has stopped duplicating returns into predecessors to canonicalize IREvan Cheng
2011-03-11Roll r127459 back in:Cameron Zwarich
2011-03-11Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often getDaniel Dunbar
2011-03-11Optimize trivial branches in CodeGenPrepare, which often get created from theCameron Zwarich
2011-03-05Fix PR9398 - 10% of llc compile time is spent in Value::getNumUses. This reducesCameron Zwarich
2011-03-02Remove some more unused code that I missed.Cameron Zwarich
2011-03-02Eliminate the unused CodeGenPrepare option to split critical edges.Cameron Zwarich
2011-03-01Stop computing the number of uses twice per value in CodeGenPrepare's sinking ofCameron Zwarich
2011-01-18fix rdar://8878965, a regression I introduced with the recentChris Lattner
2011-01-15temporarily revert r123526. While working on a follow-on patch IChris Lattner
2011-01-15fix rdar://8785296 - -fcatch-undefined-behavior generates inefficient codeChris Lattner
2011-01-15simplify code, no functionality change.Chris Lattner
2011-01-15Now that instruction optzns can update the iterator as they go, we can Chris Lattner
2011-01-15make the current instruction iterator an ivar, allowing xforms thatChris Lattner
2011-01-08Make more passes preserve dominators (or state that they preserve dominators ifCameron Zwarich
2011-01-06Add the CallInst optimizations that don't involve expanding inline assembly toCameron Zwarich
2011-01-06Move the GEP handling in CodeGenPrepare to OptimizeInst().Cameron Zwarich
2011-01-06Split the optimizations in CodeGenPrepare that don't manipulate the iteratorsCameron Zwarich