aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-12-27fix some issues Frits noticed, add AliasAnalysis as a dependencyChris Lattner
2010-12-27BuildLibCalls: Nuke EmitMemCpy, EmitMemMove and EmitMemSet. They are dead and...Benjamin Kramer
2010-12-27SimplifyLibCalls: Use IRBuilder to simplify code.Benjamin Kramer
2010-12-27have loop-idiom nuke instructions that feed stores that get removed.Chris Lattner
2010-12-26implement enough of the memset inference algorithm to recognize and insert Chris Lattner
2010-12-26start using irbuilder to make mem intrinsics in a few passes.Chris Lattner
2010-12-26sketch more of this out.Chris Lattner
2010-12-26move isBytewiseValue out to ValueTracking.h/cppChris Lattner
2010-12-26actually add the file...Chris Lattner
2010-12-26Start of a pass for recognizing memset and memcpy idioms.Chris Lattner
2010-12-26Simplify code.Benjamin Kramer
2010-12-25don't lose TD infoChris Lattner
2010-12-25switch the inliner alignment enforcement stuff to use theChris Lattner
2010-12-25Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.Chris Lattner
2010-12-24Fix a thinko pointed out by Frits van Bommel: looking through global variable...Benjamin Kramer
2010-12-24MemCpyOpt: Turn memcpys from a constant into a memset if possible.Benjamin Kramer
2010-12-23When determining if we can fold (x >> C1) << C2, the bits that we need to ver...Owen Anderson
2010-12-23It is possible for SimplifyCFG to cause PHI nodes to become redundant too lat...Owen Anderson
2010-12-23Preserve the address space when generating bitcasts for MemTransferInst in Co...Mon P Wang
2010-12-23Change all self assignments X=X to (void)X, so that we can turn on aJeffrey Yasskin
2010-12-22InstCombine: creating selects from -1 and 0 is fine, they combine into a sext...Benjamin Kramer
2010-12-22Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands
2010-12-22Add some statistics, good for understanding how much more powerfulDuncan Sands
2010-12-21Give GVN back the ability to perform simple conditional propagation on condit...Owen Anderson
2010-12-21Remove dead code.Owen Anderson
2010-12-21GVN's Expression is not POD-like (it contains a SmallVector). Simplify code w...Benjamin Kramer
2010-12-21Visit instructions deterministically. Use a FIFO so as to approximatelyDuncan Sands
2010-12-21If an instruction simplifies, try again to simplify any uses of it. This isDuncan Sands
2010-12-21Pull a few more simplifications out of instcombine (there are stillDuncan Sands
2010-12-20Oops, forgot to add the pass itself!Duncan Sands
2010-12-20Add a new convenience pass for testing InstructionSimplify. PreviouslyDuncan Sands
2010-12-20Add a check missing from my last commit and avoid a potential overflow situat...Benjamin Kramer
2010-12-20Reduce indentation.Benjamin Kramer
2010-12-20Teach InstCombine to merge (icmp ult (X + CA), C1) | (icmp eq X, C2) into (ic...Benjamin Kramer
2010-12-20fix PR8807 by making transformConstExprCastCall aware of byval arguments.Chris Lattner
2010-12-20various cleanups for transformConstExprCastCallChris Lattner
2010-12-20when eliding a byval copy due to inlining a readonly function, we haveChris Lattner
2010-12-20pull byval processing out to its own helper function.Chris Lattner
2010-12-20fix PR8769, a miscompilation by inliner when inlining a function with a byvalChris Lattner
2010-12-20Avoid dropping the address space when InstCombine optimizes memsetMon P Wang
2010-12-19fix an oversight caught by Frits!Chris Lattner
2010-12-19tidy upChris Lattner
2010-12-19move a transformation to a more logical place, simplifying it.Chris Lattner
2010-12-19recognize an unsigned add with overflow idiom into uadd.Chris Lattner
2010-12-19optimize uadd(x, cst) into a comparison when the normal Chris Lattner
2010-12-19use IC.ReplaceInstUsesWith instead of a raw RAUW so that uses ofChris Lattner
2010-12-19generalize the sadd creation code to not require that theChris Lattner
2010-12-19fix another miscompile in the llvm.sadd formation logic: it wasn't Chris Lattner
2010-12-19fix a bug (possibly 8816) in the sadd forming xform: it isn'tChris Lattner
2010-12-19rework the code added in r122072 to pull it out to its ownChris Lattner