aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
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-17Revert r133285. Causing odd failures on Dragonegg.Chad Rosier
2011-06-17Set debug loc for new preheader's terminator.Devang Patel
2011-06-17Relocate NUW test to cover all binary ops in a dynamic alloca expr.Stuart Hastings
2011-06-17When promoting an alloca to registers discard any lifetime intrinsics.Nick Lewycky
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-15Simplify; no significant functionality change.Eli Friedman
2011-06-15Fix cmake build.Rafael Espindola
2011-06-15Remove unused code.Eli Friedman
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-14Use IRBuilder to make our intrinsic calls in the inliner so that we pick upJohn McCall
2011-06-14Use Value::stripPointerCasts instead of reinventing part of the wheel.Nick Lewycky
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-13Avoid fusing bitcasts with dynamic allocas if the amount-to-allocateStuart Hastings
2011-06-13InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer
2011-06-13It's possible that an all-zero GEP may be used as the argument to lifetimeNick Lewycky
2011-06-12InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext"...Benjamin Kramer
2011-06-12Simplify code. No functionality changes, name changes aside.Benjamin Kramer
2011-06-09When deleting a basic block, remove call edges only for non-intrinsics.John McCall
2011-06-09SplitCriticalEdge can sometimes split the edge from an invoke to a landingJohn McCall
2011-06-09Teach the CallGraph to ignore calls to intrinsics.John McCall
2011-06-09Improve the handling of available_externally and llvm.global_ctors.Rafael Espindola
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-04If the block that we're threading through is jumped to by an indirect branch,Bill Wendling
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-06-01Reapply 132348 with fixes. rdar://problem/6501862Stuart Hastings
2011-06-01First, do no harm -- even if we can't find a selector for an enclosingJohn McCall
2011-05-31Revert to pacify a buildbot. rdar://problem/6501862Stuart Hastings
2011-05-31Followup to 132316; accept arbitrary constants, add with a constant,Stuart Hastings
2011-05-30(1 - X) * (-2) -> (x - 1) * 2, for all positive nonzero powers of 2Stuart Hastings
2011-05-29Don't crash owhen ComputeLoadResult can't compute the result of the load.Nick Lewycky
2011-05-29Obey the isVolatile bit on memory intrinsics when analyzing uses of a globalNick Lewycky
2011-05-29Fix warnings due to 132263; Thanks rdivacky.Nadav Rotem
2011-05-29Fix this to work correctly with phis; test case to follow if this successfullyJohn McCall
2011-05-28ConstantFoldInstOperands doesn't like compares, hand it off to instsimplify i...Benjamin Kramer