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