aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2011-03-29InstCombine: Add a few missing combines for ANDs and ORs of sign bit tests.Benjamin Kramer
2011-03-29DSE: Remove an early exit optimization that depended on the ordering of a Sma...Benjamin Kramer
2011-03-29Do some simple copy propagation through integer loads and stores when promotingCameron Zwarich
2011-03-28Remove tabs I accidentally added.Nick Lewycky
2011-03-28Make more use of PHINode::getNumIncomingValues().Jay Foad
2011-03-27Add some debug output when -instcombine uses RAUW. This can make debug output...Frits van Bommel
2011-03-27Teach the transformation that moves binary operators around selects to preserveNick Lewycky
2011-03-27Use APInt's umul_ov instead of rolling our own overflow detection.Benjamin Kramer
2011-03-27Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. ThisNick Lewycky
2011-03-26Simplification noticed by Frits.Bill Wendling
2011-03-26Rework the logic that determines if a store completely overlaps an ealier store.Bill Wendling
2011-03-26Fix a typo and add a test.Cameron Zwarich
2011-03-26PR9561: A store with a negative offset (via GEP) could erroniously say that itBill Wendling
2011-03-25No functionality change, just adjust some whitespace for coding style complia...Nick Lewycky
2011-03-24Debug intrinsics must be skipped at the beginning and ends of blocks, lest theyCameron Zwarich
2011-03-24It is enough for the CallInst to have no uses to be made a tail call with a retCameron Zwarich
2011-03-24s/UpdateDT/ModifiedDT/gDevang Patel
2011-03-24Do early taildup of ret in CodeGenPrepare for potential tail calls that have aCameron Zwarich
2011-03-24Use an early return instead of a long if block.Cameron Zwarich
2011-03-24When UpdateDT is set, DT is invalid, which could cause problems when trying toCameron Zwarich
2011-03-24Check for TLI so that -codegenprepare can be used from opt.Cameron Zwarich
2011-03-23Fix PR9464 by correcting some math that just happened to be right in most casesCameron Zwarich
2011-03-22Handle another case that Frits suggested.Anders Carlsson
2011-03-21Simplify.Devang Patel
2011-03-21More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.Anders Carlsson
2011-03-21As suggested by Nick Lewycky, ignore debugging intrinsics when trying to deci...Anders Carlsson
2011-03-21Fix commentsNick Lewycky
2011-03-21Re-apply r127953 with fixes: eliminate empty return block if it has no predec...Evan Cheng
2011-03-20Don't try to eliminate invokes to __cxa_atexit.Anders Carlsson
2011-03-20Don't segfault on mutual recursion, as pointed out by Frits.Anders Carlsson
2011-03-20Address comments from Frits van Bommel.Anders Carlsson
2011-03-20Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if th...Anders Carlsson
2011-03-19Revert r127953, "SimplifyCFG has stopped duplicating returns into predecessorsDaniel Dunbar
2011-03-19SimplifyCFG has stopped duplicating returns into predecessors to canonicalize IREvan Cheng
2011-03-18If an AllocaInst referred by DbgDeclareInst is used by a LoadInst then the Lo...Devang Patel
2011-03-18Remove dead code.Devang Patel
2011-03-18Consider debug info intrinsics pointing to null value as dead instructions.Devang Patel
2011-03-18Remove TargetData and ValueTracking includes. I didn't mean for them to sneak...Andrew Trick
2011-03-17Added isValidRewrite() to check the result of ScalarEvolutionExpander.Andrew Trick
2011-03-17whitespaceAndrew Trick
2011-03-17Try to not lose variable's debug info during instcombine.Devang Patel
2011-03-17Refactor into a separate utility function.Devang Patel
2011-03-16Fix a comment.Cameron Zwarich
2011-03-16Only convert allocas to scalars if it is profitable. The profitability metric ICameron Zwarich
2011-03-16Better use initializer lists.Cameron Zwarich
2011-03-16Add a clarifying comment.Cameron Zwarich
2011-03-15Clean up something noticed by Fritz.Cameron Zwarich
2011-03-15Do not add PHIs with no users when creating LCSSA form. Patch by Andrew Clinton.Cameron Zwarich
2011-03-15PR9450: Make switch optimization in SimplifyCFG not dependent on the orderingEli Friedman
2011-03-15If we don't know how long a string is we can't fold an _chk version to theEric Christopher