aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/CodeGenPrepare.cpp
AgeCommit message (Expand)Author
2012-09-04Generic Bypass Slow DivPreston Gurd
2012-09-02Not all targets have efficient ISel code generation for select instructions.Nadav Rotem
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer
2012-08-21revise debug output to avoid dangling pointerMichael Liao
2012-08-15Remove dead flag.Bill Wendling
2012-08-14During the CodeGenPrepare we often lower intrinsics (such as objsize)Nadav Rotem
2012-07-27Teach CodeGenPrep to look past bitcast when it's duplicating return instructionEvan Cheng
2012-07-25make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes
2012-07-24Clean whitespaces.Nadav Rotem
2012-06-29CodeGenPrepare: Don't crash when TLI is not available.Benjamin Kramer
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth
2012-05-06Switch the select to branch transformation on by default.Benjamin Kramer
2012-05-05CodeGenPrepare: Add a transform to turn selects into branches in some cases.Benjamin Kramer
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