summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* factor simplification logic for AND and OR out to InstSimplify from instcombine.Chris Lattner2009-11-101-85/+34
* pull a bunch of logic out of instcombine into instsimplify for compare Chris Lattner2009-11-091-56/+13
* inline a simple function.Chris Lattner2009-11-091-17/+20
* rename SimplifyCompare -> SimplifyCmpInst and split it into Chris Lattner2009-11-091-0/+1
* if a 'with overflow' intrinsic just has the normal result used, simplifyChris Lattner2009-11-091-0/+41
* enhance PHI slicing to handle the case when a slicable PHI is beginChris Lattner2009-11-091-74/+167
* Teach an instcombine to not pull trunc instructions through PHI nodesChris Lattner2009-11-081-10/+30
* reapply r8644[3-5] with only the scary part Chris Lattner2009-11-081-8/+151
* Speculatively revert r8644[3-5], they seem to be leading to infinite loops inDaniel Dunbar2009-11-081-151/+8
* teach a couple of instcombine transformations involving PHIs toChris Lattner2009-11-081-8/+151
* make instcombine only rewrite a chain of computation Chris Lattner2009-11-071-19/+5
* remove some more Context arguments.Chris Lattner2009-11-061-1/+1
* remove a bunch of extraneous LLVMContext argumentsChris Lattner2009-11-061-4/+3
* move two functions up higher in the file. Delete a useless argumentChris Lattner2009-11-041-176/+232
* fix instcombine to only do store sinking when the alignmentsChris Lattner2009-11-021-4/+8
* when merging two loads, make sure to take the min of their alignment,Chris Lattner2009-11-011-1/+1
* split load sinking out to its own function, like gep sinking.Chris Lattner2009-11-011-66/+101
* fix a bug noticed by inspection: when instcombine sinks loads throughChris Lattner2009-11-011-4/+24
* add a comment.Chris Lattner2009-10-311-0/+4
* Reapply r85634, with the bug fixed.Dan Gohman2009-10-311-15/+17
* Revert 85634. It's breaking consumer-typeset (and others).Evan Cheng2009-10-311-17/+15
* Optimize around the fact that pred_iterator is slow: instead of sortingDan Gohman2009-10-301-15/+17
* Sort the incoming values in PHI nodes to match the predecessor order.Dan Gohman2009-10-301-0/+19
* Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez2009-10-271-1/+1
* Add braces to avoid ambiguous else.Dan Gohman2009-10-271-1/+2
* Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez2009-10-261-1/+1
* Remove FreeInst.Victor Hernandez2009-10-261-55/+2
* Code that checks WillNotOverflowSignedAdd before creating an AddDan Gohman2009-10-261-8/+8
* reapply r85085 with a bugfix to avoid infinite looping.Chris Lattner2009-10-261-8/+47
* Revert 85085. It causes infinite looping during llvm-gcc build.Evan Cheng2009-10-261-45/+6
* Implement PR3266 & PR5276, folding:Chris Lattner2009-10-261-6/+45
* Remove ICmpInst::isSignedPredicate which was a reimplementationNick Lewycky2009-10-251-19/+17
* Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez2009-10-241-0/+40
* Remove AllocationInst. Since MallocInst went away, AllocaInst is the only su...Victor Hernandez2009-10-231-9/+9
* move another load optimization from instcombine -> libanalysis.Chris Lattner2009-10-221-12/+2
* move 'loading i32 from string' optimization from instcombineChris Lattner2009-10-221-34/+0
* Move some constant folding logic for loads out of instcombine intoChris Lattner2009-10-221-42/+18
* fix PR5262.Chris Lattner2009-10-221-15/+42
* revert r84754, it isn't the right approach. Edwin, please propose Chris Lattner2009-10-211-60/+6
* Make changes to rev 84292 as requested by Chris Lattner.Victor Hernandez2009-10-211-2/+20
* Fix PR5262: when folding select into PHI, make sure all operands are availableTorok Edwin2009-10-211-6/+60
* Remove MallocInst from LLVM Instructions.Victor Hernandez2009-10-171-30/+3
* only try to fold constantexpr operands when the worklist is first populated, Chris Lattner2009-10-151-15/+30
* don't bother calling ConstantFoldInstruction unless there is a use of theChris Lattner2009-10-151-22/+25
* Use isVoidTy()Devang Patel2009-10-141-7/+7
* make instcombine's instruction sinking more aggressive in theChris Lattner2009-10-141-3/+10
* Check void type before using RAUWd.Devang Patel2009-10-131-4/+15
* Do not check use_empty() before replaceAllUsesWith(). This gives ValueHandles...Devang Patel2009-10-131-9/+6
* Fix warning.Dale Johannesen2009-10-121-1/+1
* populate instcombine's initial worklist more carefully, causingChris Lattner2009-10-121-18/+26
OpenPOWER on IntegriCloud