aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2011-06-16Fix ARCOpt to insert releases on both successors of an invoke ratherDan Gohman
2011-06-15The ARC language-specific optimizer. Credit to Dan Gohman.John McCall
2011-06-15Stop using memdep for a check that didn't really make sense with memdep. In t...Eli Friedman
2011-06-15Add "unknown" results for memdep, which mean "I don't know whether a dependen...Eli Friedman
2011-06-14Be more obvious about what is being tested.Cameron Zwarich
2011-06-13Fix grammar.Cameron Zwarich
2011-06-13Rename MergeInType to MergeInTypeForLoadOrStore.Cameron Zwarich
2011-06-13Remove the HadAVector instance variable and replace it with a use of ScalarKind.Cameron Zwarich
2011-06-13Remove a vacuous check.Cameron Zwarich
2011-06-13Have SRoA explicitly track the kind of scalar it is promoting. This is prettyCameron Zwarich
2011-06-13Remove an argument that is always true.Cameron Zwarich
2011-06-09Remove a vacuous condition.Cameron Zwarich
2011-06-09Fix PR10104 by adding a bounds check on a vector element access check. It wasCameron Zwarich
2011-06-08Fix an assymmetry between ConvertScalar_ExtractValue and ConvertScalar_Insert...Cameron Zwarich
2011-06-03Use IRBuilder, preserve line numbers.Devang Patel
2011-06-03Bail on unswitching a switch statement for a case with a critical edge. We nameNick Lewycky
2011-06-02Preserve line number information while converting Invoke into a Call.Devang Patel
2011-06-02PR10067: Add missing safety check to call return transformation in MemCpyOpt:...Eli Friedman
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-27Attempt to preserve debug line info in LICM; as the comment in the code says,...Eli Friedman
2011-05-27Don't sink or hoist debug info instrinsics; it isn't useful. This also preve...Eli Friedman
2011-05-27Oops, wasn't intending to commit this. Partial revert of r132194.Eli Friedman
2011-05-27Fix a silly mistake (which trips over an assertion) in r132099. rdar://9515076Eli Friedman
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-26indvars: incremental fixes for -disable-iv-rewrite and testcases.Andrew Trick
2011-05-25Simplify r132022 based on Cameron's feedback.Evan Cheng
2011-05-25indvars: fixed IV cloning in -disable-iv-rewrite mode with associatedAndrew Trick
2011-05-24Forgot dyn_cast check.Evan Cheng
2011-05-24Fix LoopUnswitch bug. RewriteLoopBodyWithConditionConstant can delete a deadEvan Cheng
2011-05-24Clean up the lazy initialization of DIBuilder a bit.Cameron Zwarich
2011-05-24Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values whenCameron Zwarich
2011-05-23When checking for signed multiplication overflow, watch out for INT_MIN and -1.Dan Gohman
2011-05-23Teach valuetracking that byval arguments with a specified alignment areChris Lattner
2011-05-22Fix PR9815: I was trying to get out of "generating code and thenChris Lattner
2011-05-22Add a parameter to ConstantFoldTerminator() that callers can use to ask it to...Frits van Bommel
2011-05-22fix PR9841 by having GVN not process dead loads. This wasChris Lattner
2011-05-21PR7952: Make isa<> use the same logic as cast<>, so that they both workEli Friedman
2011-05-20indvars: Prototyping Sign/ZeroExtend elimination without canonical IVs.Andrew Trick
2011-05-20indvars: minor cleanup in preparation for sign/zero extend elimination.Andrew Trick
2011-05-18When forming an ICmpZero LSRUse, normalize the non-IV operandDan Gohman
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-05-17Preserve line number information.Devang Patel
2011-05-17Set debug loc for new load instruction.Devang Patel
2011-05-16Don't do tail calls in a function that call setjmp. The stack might beRafael Espindola
2011-05-13Convert SimplifyIVUsers into a worklist instead of a single pass overAndrew Trick