aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
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
2011-05-28Implement and document the llvm.eh.resume intrinsic, which isJohn McCall
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-27Fix the inliner to maintain the current de facto invoke semantics:John McCall
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-27InstCombine: Make switch folding with equality compares more aggressive by tr...Benjamin Kramer
2011-05-27One more debug line number miss in instcombine (although the code in question...Eli Friedman
2011-05-27Final step of instcombine debuginfo; switch a couple more places over to Inse...Eli Friedman
2011-05-26Fix warning about || and && without explicit grouping.Chandler Carruth
2011-05-26Do not insert anything after terminator.Devang Patel
2011-05-26Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. Chad Rosier
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-25PR9998: ashr exact %x, 31 is not equivalent to sdiv exact %x, -2147483648.Eli Friedman
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-24Make instcombine O(N) instead of O(N^2) in code where the same simplifiable c...Eli Friedman
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-23rearrange two transforms, since one subsumes the other. Make the shift-exact...Chris Lattner
2011-05-23Transform any logical shift of a power of two into an exact/NUW shift whenChris Lattner
2011-05-23use the valuetracking isPowerOfTwo function, which is more powerful than chec...Chris Lattner
2011-05-23Teach valuetracking that byval arguments with a specified alignment areChris Lattner