aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-12-19Enhance LICM to promote alias sets whose pointers themselves are stored,Chris Lattner
2010-12-19fix PR8602, a bug in an assertion: a volatile store *of* a pointerChris Lattner
2010-12-19revert r122164, I'm going to go with a different approach.Chris Lattner
2010-12-19first step to fixing PR8642: don't fold away empty basic blocksChris Lattner
2010-12-18simplify this a bit.Chris Lattner
2010-12-17Whitespace fixes. No functionality change.Bill Wendling
2010-12-17Add vector versions of some existing scalar transforms to aid codegen in matc...Nate Begeman
2010-12-17Reapply r121905 (automatic synthesis of @llvm.sadd.with.overflow) with a fix ...Owen Anderson
2010-12-17SimplifyCFG: Ranges can be larger than 64 bits. Fixes Release-selfhost build.Benjamin Kramer
2010-12-17improve switch formation to handle small range Chris Lattner
2010-12-17Revert r64460. strtol and friends cannot be marked readonly, even withDan Gohman
2010-12-16Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it cou...Frits van Bommel
2010-12-16Speculatively revert commit 121905 since it looks like it might have broken theDuncan Sands
2010-12-16Make memcpyopt TBAA-aware.Dan Gohman
2010-12-15Preserve TBAA tags when doing load PRE.Dan Gohman
2010-12-15Add an InstCombine transform to recognize instances of manual overflow-safe a...Owen Anderson
2010-12-15Move Value::getUnderlyingObject to be a standaloneDan Gohman
2010-12-15Move Sub simplifications and additional Add simplifications out ofDuncan Sands
2010-12-15Teach jump threading to "look through" a select when the branch direction of ...Frits van Bommel
2010-12-15make qsort predicate more conformant by returning 0 for equal values.Chris Lattner
2010-12-15Fix PR8790, another instance where unreachable code can cause instruction sim...Owen Anderson
2010-12-15Cleanup trailing whitespace.Owen Anderson
2010-12-14 - Insert new instructions before DomBlock's terminator,Chris Lattner
2010-12-14fix two significant issues with FoldTwoEntryPHINode:Chris Lattner
2010-12-14remove the instsimplify logic I added in r121754. It is apparentlyChris Lattner
2010-12-14clean up logic, convert std::set to SmallPtrSet, handle the caseChris Lattner
2010-12-14tidy up a bit, move DEBUG down to when we commit to doing the transform so we Chris Lattner
2010-12-14use SimplifyInstruction instead of reimplementing part of it.Chris Lattner
2010-12-14simplify GetIfCondition by using getSinglePredecessor.Chris Lattner
2010-12-14use AddPredecessorToBlock in 3 places instead of a manual loop.Chris Lattner
2010-12-14make FoldTwoEntryPHINode use instsimplify a bit, makeChris Lattner
2010-12-14remove the dead (and terrible) llvm::RemoveSuccessor function.Chris Lattner
2010-12-14improve DEBUG's a bit, switch to eraseFromParent() to simplifyChris Lattner
2010-12-14reapply my recent change that disables a piece of the switch formationChris Lattner
2010-12-13Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r...Owen Anderson
2010-12-13temporarily disable part of my previous patch, which causes an iterator inval...Chris Lattner
2010-12-13add some DEBUG's.Chris Lattner
2010-12-13Fix sort predicate. qsort(3)'s predicate semantics differ from std::sort's. F...Benjamin Kramer
2010-12-13reinstate my patch: the miscompile was caused by an inverted branch in theChris Lattner
2010-12-13Completely disable the optimization I added in r121680 untilChris Lattner
2010-12-13Make simplifycfg reprocess newly formed "br (cond1 | cond2)" conditionsChris Lattner
2010-12-13make this logic a bit simpler.Chris Lattner
2010-12-13split all the guts of SimplifyCFGOpt::run out into one functionChris Lattner
2010-12-13fix a bug in r121680 that upset the various buildbots.Chris Lattner
2010-12-13refactor the speculative execution logic to be factored into the cond branch ...Chris Lattner
2010-12-13simplify a bunch of code.Chris Lattner
2010-12-13move HoistThenElseCodeToIf up to a more logical and efficient-to-handle place.Chris Lattner
2010-12-13move 'MergeBlocksIntoPredecessor' call earlier. UseChris Lattner
2010-12-13factor new code out to a SimplifyBranchOnICmpChain helper function.Chris Lattner
2010-12-13enhance the "change or icmp's into switch" xform to handle one value in an Chris Lattner