aboutsummaryrefslogtreecommitdiffstats
path: root/simplify.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-11fix SIGFPE caused by signed division overflowXi Wang1-0/+4
2012-05-10simplify: conservative handling of casts with pointersJan Pokorný1-0/+6
2008-04-24Simplify (and warn about) right shifts that result in zeroLinus Torvalds1-1/+56
2007-04-20simplify.c: Declare delete_pseudo_user_list_entry staticJosh Triplett1-1/+1
2007-03-09Fix typos in commentsJosh Triplett1-3/+3
2007-01-16Add a return in the last case of a switch; redundant but less error-prone.Josh Triplett1-0/+1
2007-01-16Update usage chain for dead instructionsChristopher Li1-0/+5
2007-01-16Add instruction to pseudo user tracking.Christopher Li1-15/+32
2006-11-06Typo fixesPavel Roskin1-1/+1
2005-11-20Simplify some more instructionsLinus Torvalds1-2/+28
2005-04-07Fix typo (duplicate src2 should be src3) in simplify_rangeLinus Torvalds1-1/+1
2005-04-07Use the new per-instruction position information for betterLinus Torvalds1-2/+2
2005-04-07Make range check code a bit more readable (and more easily extensible).Linus Torvalds1-5/+16
2005-04-07Add compile-time "range-check" infrastructure to sparseLinus Torvalds1-4/+32
2005-04-07Make simplification remove casts that change neither size nor sign.Linus Torvalds1-1/+12
2005-04-07Split OP_CAST into signed, unsigned and FP casts.Linus Torvalds1-2/+4
2005-04-07Simplify OP_CAST of OP_AND.Linus Torvalds1-7/+21
2005-04-07Make constant instruction simplification take the sign of theLinus Torvalds1-20/+29
2005-04-07Split the binops where signedness matters into unsigned and signed.Linus Torvalds1-16/+23
2005-04-07Don't try to recursively check for an associative insn.Linus Torvalds1-0/+2
2005-04-07Simplify OP_PTRCAST ops too for now.Linus Torvalds1-1/+1
2005-04-07Split OP_SETVAL into OP_SETVAL (fp expressions and labels) and OP_SYMADDRLinus Torvalds1-6/+4
2005-04-07Simplify conditional on cast-to-larger-size to conditional on original.Linus Torvalds1-0/+8
2005-04-07Oops. Didn't remember about BINCMP ops when doing the commutativeLinus Torvalds1-0/+5
2005-04-07Teach simplification about associative operators.Linus Torvalds1-3/+39
2005-04-07Make commutative operations use a canonical order.Linus Torvalds1-1/+40
2005-04-07Remove OP_SETVAL after symbol-pseudo simplification.Linus Torvalds1-1/+1
2005-04-07Make OP_PHISOURCE track the OP_PHI instructions that it defines.Linus Torvalds1-1/+1
2005-04-07Simplify constant unopsLinus Torvalds1-1/+18
2005-04-07Fix conditional branch to same target simplification.Linus Torvalds1-0/+12
2005-04-07Oops. OP_SEL simplification tried to kill the wrong pseudo ;)Linus Torvalds1-1/+1
2005-04-07Follow OP_SEL -> OP_BR flow and simplify the branch.Linus Torvalds1-0/+23
2005-04-07Remove OP_SETCC, make OP_SEL bigger instead.Linus Torvalds1-30/+22
2005-04-07When simplifying memops, follow the whole chain of adds/subs.Linus Torvalds1-2/+18
2005-04-07Simplify seteq/setne $0 + conditional branch.Linus Torvalds1-3/+37
2005-04-07Don't try to share parenthood fn between phi node removal and Linus Torvalds1-12/+2
2005-04-07Simplify "setcc + select $0<->$1" into "setne/seteq".Linus Torvalds1-7/+29
2005-04-07Move constant switch simplification to the instructionLinus Torvalds1-0/+27
2005-04-07Cleanup. Move the OP_SEL and OP_BR simplification out intoLinus Torvalds1-18/+29
2005-04-07Simplify trivial casts (and handle pointers specially).Linus Torvalds1-0/+19
2005-04-07Don't go off into infinite loops when some undefined programLinus Torvalds1-0/+7
2005-04-07Start using instruction sizes properly.Linus Torvalds1-1/+1
2005-04-07Make list-ptr remove/replace take a count.Linus Torvalds1-3/+1
2005-04-07Expose the "trivial common parent" logic that we use for phiLinus Torvalds1-2/+12
2005-04-07Teach 'memop' simplification about offsetting.Linus Torvalds1-0/+19
2005-04-07Simplify constant subtraction into addition.Linus Torvalds1-1/+8
2005-04-07Add some more trivial constant simplifications.Linus Torvalds1-0/+14
2005-04-07Clean up the tests for "pseudo has use list", since add/removeLinus Torvalds1-1/+1
2005-04-07Make the CSE "repeat" logic be more fine-grained than justLinus Torvalds1-15/+26
2005-04-07Handle killing of usage chains.Linus Torvalds1-18/+46
2005-04-07More instruction kill care, making sure the use chainsLinus Torvalds1-2/+5
2005-04-07Be more thorough about killing unreachable instructions.Linus Torvalds1-6/+6
2005-04-07Notice killed phi-sources, and don't bother with them.Linus Torvalds1-1/+4
2005-04-07Fix silly unintentional constant truncation.Linus Torvalds1-1/+1
2005-04-07Do first-approximation constant binop simplification.Linus Torvalds1-1/+100
2005-04-07Simplify constant "conditional" branches and OP_SETCC/OP_SEL instructions.Linus Torvalds1-1/+30
2005-04-07Start replacing trivial constant ops.Linus Torvalds1-3/+25
2005-04-07Set up infrastructure for doing some constant simplification.Linus Torvalds1-6/+52
2005-04-07Move instruction simplification to new file "simplify.c".Linus Torvalds1-0/+217