summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Expand)AuthorAgeFilesLines
* 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
* Enhance LICM to promote alias sets whose pointers themselves are stored,Chris Lattner2010-12-191-1/+4
* fix PR8602, a bug in an assertion: a volatile store *of* a pointerChris Lattner2010-12-191-1/+1
* revert r122164, I'm going to go with a different approach.Chris Lattner2010-12-191-11/+0
* first step to fixing PR8642: don't fold away empty basic blocksChris Lattner2010-12-191-0/+11
* simplify this a bit.Chris Lattner2010-12-181-2/+1
* Whitespace fixes. No functionality change.Bill Wendling2010-12-171-16/+16
* Add vector versions of some existing scalar transforms to aid codegen in matc...Nate Begeman2010-12-171-0/+17
* Reapply r121905 (automatic synthesis of @llvm.sadd.with.overflow) with a fix ...Owen Anderson2010-12-171-0/+73
* SimplifyCFG: Ranges can be larger than 64 bits. Fixes Release-selfhost build.Benjamin Kramer2010-12-171-1/+1
* improve switch formation to handle small range Chris Lattner2010-12-171-2/+25
* Revert r64460. strtol and friends cannot be marked readonly, even withDan Gohman2010-12-171-1/+2
* Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it cou...Frits van Bommel2010-12-161-2/+2
* Speculatively revert commit 121905 since it looks like it might have broken theDuncan Sands2010-12-161-65/+0
* Make memcpyopt TBAA-aware.Dan Gohman2010-12-161-12/+4
* Preserve TBAA tags when doing load PRE.Dan Gohman2010-12-151-3/+8
* Add an InstCombine transform to recognize instances of manual overflow-safe a...Owen Anderson2010-12-151-0/+65
* Move Value::getUnderlyingObject to be a standaloneDan Gohman2010-12-153-8/+9
* Move Sub simplifications and additional Add simplifications out ofDuncan Sands2010-12-151-28/+4
* Teach jump threading to "look through" a select when the branch direction of ...Frits van Bommel2010-12-151-0/+34
* make qsort predicate more conformant by returning 0 for equal values.Chris Lattner2010-12-151-1/+5
* Fix PR8790, another instance where unreachable code can cause instruction sim...Owen Anderson2010-12-151-1/+6
* Cleanup trailing whitespace.Owen Anderson2010-12-151-27/+27
* - Insert new instructions before DomBlock's terminator,Chris Lattner2010-12-141-7/+16
* fix two significant issues with FoldTwoEntryPHINode:Chris Lattner2010-12-141-1/+11
* remove the instsimplify logic I added in r121754. It is apparentlyChris Lattner2010-12-141-11/+1
* clean up logic, convert std::set to SmallPtrSet, handle the caseChris Lattner2010-12-141-56/+61
* tidy up a bit, move DEBUG down to when we commit to doing the transform so we Chris Lattner2010-12-141-7/+5
OpenPOWER on IntegriCloud