aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Handle "if ((x|y) != 0)" for ints like we do for bools. Fixes missedNick Lewycky2006-10-221-10/+13
* AllocaInst can't return a null pointer. Fixes missed optimizationNick Lewycky2006-10-221-0/+6
* Add a workaround for PR962, disabling the more aggressive form of thisChris Lattner2006-10-221-0/+8
* 3 Changes:Chris Lattner2006-10-221-24/+35
* Fix an ugly problem in SCCP. This fixes Benchmarks/Misc-C++/mandel-text.cppChris Lattner2006-10-201-2/+3
* Fix miscompilation of MallocBench/espresso which code review pointed outChris Lattner2006-10-201-1/+1
* For PR950:Reid Spencer2006-10-207-313/+351
* While creating mask, use 1ULL instead of 1.Devang Patel2006-10-201-1/+1
* It is OK to remove extra cast if operation is EQ/NE even though sourceDevang Patel2006-10-191-2/+3
* Typo Typo.Devang Patel2006-10-191-1/+1
* Typo.Devang Patel2006-10-191-1/+1
* Fix bug in PR454 resolution. Added new test case.Devang Patel2006-10-191-1/+15
* Undo Chris' last patch, it caused a regression.Reid Spencer2006-10-161-2/+2
* fix a buggy check that accidentally disabled this xformChris Lattner2006-10-151-1/+1
* Replace custom dispatch code with two uses of InstVisitor. ImprovesNick Lewycky2006-10-121-93/+113
* Implement SROA of unions with mixed pointers/integers in them. This implementsChris Lattner2006-10-081-10/+16
* Implement Transforms/ScalarRepl/union-pointer.ll:testChris Lattner2006-10-081-9/+13
* add a new SimplifyDemandedVectorElts method, which works similarly toChris Lattner2006-10-051-8/+254
* Simplify logic further.Nick Lewycky2006-10-031-17/+8
* Simplify, now that predsimplify depends on break-crit-edges.Nick Lewycky2006-10-031-26/+8
* Move break-crit-edges before the predicate simplifier. Allows us toNick Lewycky2006-10-031-7/+3
* Fix a bug from r1.391 of this file, where we checked the size instead ofChris Lattner2006-10-011-2/+2
* Eliminate ConstantBool::True and ConstantBool::False. Instead, provideChris Lattner2006-09-285-115/+108
* set DEBUG_TYPE rightChris Lattner2006-09-271-0/+1
* Style changes only. Remove dead code, fix a comment.Nick Lewycky2006-09-231-11/+4
* Fix Transforms/IndVarsSimplify/2006-09-20-LFTR-Crash.llChris Lattner2006-09-211-15/+22
* Don't rewrite ConstantExpr::get.Nick Lewycky2006-09-211-44/+20
* Once we're down to "setcc type constant1, constant2", at least come upNick Lewycky2006-09-201-18/+14
* Use a total ordering to compare instructions.Nick Lewycky2006-09-201-87/+101
* simplifyAndrew Lenharth2006-09-201-12/+8
* We went through all that trouble to compute whether it was safe to transformChris Lattner2006-09-201-6/+46
* Back out Chris' last set of changes. This breaks 177.mesa and povray somehow.Evan Cheng2006-09-201-43/+6
* 80 col.Evan Cheng2006-09-201-1/+2
* If we have an add, do it in the pointer realm, not the int realm. This is cr...Andrew Lenharth2006-09-191-0/+22
* implement select.ll:test19-22Chris Lattner2006-09-191-6/+43
* Walk down the dominator tree instead of the control flow graph. That meansNick Lewycky2006-09-181-150/+90
* Fix an infinite loop building the CFEChris Lattner2006-09-181-1/+2
* Implement InstCombine/cast.ll:test31. This speeds up 462.libquantum by 26%.Chris Lattner2006-09-181-4/+39
* Implement Transforms/InstCombine/shift-sra.ll:test0Chris Lattner2006-09-181-0/+20
* Rewrite shift/and/compare sequences to promote better licm of the RHS.Chris Lattner2006-09-181-28/+48
* Fix Transforms/InstCombine/2006-09-15-CastToBool.ll and PR913Chris Lattner2006-09-161-0/+5
* Add some more consistency checks.Nick Lewycky2006-09-131-1/+20
* Fix unionSets so that it can merge correctly.Nick Lewycky2006-09-131-22/+34
* Erase dead instructions.Nick Lewycky2006-09-131-2/+3
* An sinkable instruction may exist with uses, if those uses are in dead blocks.Chris Lattner2006-09-121-0/+4
* Fix PR905 and InstCombine/2006-09-11-EmptyStructCrash.llChris Lattner2006-09-111-1/+2
* Skip the linear search if the answer is already known.Nick Lewycky2006-09-111-20/+22
* Allow tail duplication in more cases, relaxing the previous restriction aChris Lattner2006-09-101-1/+12
* Replace EquivalenceClasses with a custom-built data structure. Many commonNick Lewycky2006-09-101-133/+259
* Implement Transforms/InstCombine/hoist_instr.llChris Lattner2006-09-091-14/+54