aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2011-06-21Reinstate r133435 and r133449 (reverted in r133499) now that the clangJay Foad
2011-06-21Don't use PN->replaceUsesOfWith() to change a PHINode's incoming blocks,Jay Foad
2011-06-21indvars -disable-iv-rewrite: Adds support for eliminating identityAndrew Trick
2011-06-21Revert r133435 and r133449 to appease buildbots.Chad Rosier
2011-06-20Completely short-circuit out ARC optimization if the ARC runtimeDan Gohman
2011-06-20Change how PHINodes store their operands.Jay Foad
2011-06-20Make better use of the PHINode API.Jay Foad
2011-06-18When scalar replacement returns a vector type, only accept it if the vectorCameron Zwarich
2011-06-18Fix an invalid bitcast crash that occurs when doing a partial memset of a vectorCameron Zwarich
2011-06-18Remove a pointless assignment. Nothing checks the value of VectorTy anymore nowCameron Zwarich
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