aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2009-05-06Make sure to use signed arithmetic in APInt to fix a regression.David Greene
2009-05-06Simplify code by using SmallVector's pop_back_val() instead ofDan Gohman
2009-05-06Fix PR3754: don't mark functions that wrap MallocInst withDuncan Sands
2009-05-06Allow readonly functions to unwind exceptions. TeachDuncan Sands
2009-05-05Fix a copy+pasto in a comment.Dan Gohman
2009-05-05Delete a FIXME which is no longer relevant, and add a FIXME that is.Dan Gohman
2009-05-05Temporarily reverting r71008. It was causing this failure:Bill Wendling
2009-05-05Handle overflow of 64-bit loop conditions.David Greene
2009-05-04Re-apply 70645, converting ScalarEvolution to useDan Gohman
2009-05-04Constify a bunch of SCEV-using code.Dan Gohman
2009-05-04Restore minor deletion.Mike Stump
2009-05-03Revert r70645 for now; it's causing a variety of regressions.Dan Gohman
2009-05-03Revert r70630. Go back to appending ".b" to internal globals when shrinkingNick Lewycky
2009-05-02Convert ScalarEvolution to use CallbackVH for its internal map. ThisDan Gohman
2009-05-02The second argument to RecursivelyDeleteTriviallyDeadInstructions hasDan Gohman
2009-05-02Previously, RecursivelyDeleteDeadInstructions provided an optionDan Gohman
2009-05-02Tell ScalarEvolution that the loop is being deleted before actuallyDan Gohman
2009-05-02Don't append ".b" to the names of globals that are being shrunk to booleans.Nick Lewycky
2009-05-02Don't split critical edges during the AddUsersIfInteresting phaseDan Gohman
2009-05-01Make RequiresTypeConversion canonicalize the types before calling theDan Gohman
2009-05-01Minor whitespace fix.Dan Gohman
2009-05-01Fix some code to work if TargetLowering is not available.Dan Gohman
2009-04-29Print correct instruction in dump.Dale Johannesen
2009-04-29Reword and tidy up some comments.Dan Gohman
2009-04-27Remove an obsolete comment.Dan Gohman
2009-04-27Fix PR 4086, a bug in FP IV elimination.Dale Johannesen
2009-04-27Permit ChangeCompareStride to rewrite a comparison when the factorDan Gohman
2009-04-25Return null instead of false, as appropriate.Dan Gohman
2009-04-25Add several more icmp simplifications. Transform signed comparisonsDan Gohman
2009-04-24Allow i16 type indices to gep.Sanjiv Gupta
2009-04-23Change SCEVExpander's expandCodeFor to provide more flexibilityDan Gohman
2009-04-22Make sure both operands have binary instructions have the same type.Evan Cheng
2009-04-22A few more places where the check of use_empty is needed.Evan Cheng
2009-04-22Avoid deferencing use_begin() if value does not have a use.Evan Cheng
2009-04-22Real fix for PR3549, by using caching for predecessor counts in addition to t...Owen Anderson
2009-04-22Use PredIteratorCache in LCSSA, which gives a 37% overall speedup on the test...Owen Anderson
2009-04-21use predicate instead of hand-rolled loopChris Lattner
2009-04-21fix a crash on a pointless but valid zero-length memset, rdar://6808691Chris Lattner
2009-04-21Factor out a common base class from SCEVTruncateExpr, SCEVZeroExtendExpr,Dan Gohman
2009-04-21Introduce encapsulation for ScalarEvolution's TargetData object, and refactorDan Gohman
2009-04-20Adjust loop size estimate for full unrolling;Dale Johannesen
2009-04-20Before trying to introduce/eliminate cast/ext/trunc to make indices type asSanjiv Gupta
2009-04-18Use more const qualifiers with SCEV interfaces.Dan Gohman
2009-04-17remove trailing whitespaceJim Grosbach
2009-04-17Use a safer iterator interface and get rid of std C++ library misuse.David Greene
2009-04-17Don't create ConstantInts with pointer type. This fixes aDan Gohman
2009-04-16Use TargetData::getTypeSizeInBits instead of getPrimitiveSizeInBits()Dan Gohman
2009-04-16Fix for PR3944: make mem2reg O(N) instead of O(N^2) in the number of Eli Friedman
2009-04-16Minor code simplifications. Don't attempt LSR on theoreticalDan Gohman
2009-04-16LSR is no longer a GEP optimizer. It is now an IV expressionDan Gohman