aboutsummaryrefslogtreecommitdiff
path: root/tools/js-optimizer.js
AgeCommit message (Expand)Author
2013-06-21decrease indentation level in js optimizerAlon Zakai
2013-06-21do not eliminate loop vars when there is a shared helperAlon Zakai
2013-06-20do not return node in main simplifyNotCompsPass all the time, it thinks it is...Alon Zakai
2013-06-19fix bug with reducing f()|0|constAlon Zakai
2013-06-19keep |0 on function calls, allow other bitwise ops on heap accesses etc.Alon Zakai
2013-06-19keep coercions on heap accesses and function calls, but fully optimize them o...Alon Zakai
2013-06-08handle more cases in simplifyNotCompsAlon Zakai
2013-06-08only remove seq|0 when seq is an assign valueAlon Zakai
2013-06-08remove unneeded outside |0 when a sequence ends in a safe bitopAlon Zakai
2013-06-08optimize away bitcasts to variables that will only be used in an assign to th...Alon Zakai
2013-06-07improve tempDoublePtr elimination and only run analysis when necessaryAlon Zakai
2013-06-07eliminate bitcasts of immediately loaded valuesAlon Zakai
2013-06-07optimize some HEAP32 expressions, including some unnecessary bitcasts through...Alon Zakai
2013-06-07ignore tempDoublePtr operations, they do not really alias memoryAlon Zakai
2013-06-07optimize out double notAlon Zakai
2013-06-07remove unneeded checkAlon Zakai
2013-06-07properly simplify not comps in loop suffixes and elsewhereAlon Zakai
2013-06-07optimize multiple loop variables togetherAlon Zakai
2013-06-07handle empty loops in new loop optimizations; fixes #1270Alon Zakai
2013-06-07track number of uses properly for loop variable removalAlon Zakai
2013-06-07eliminate loop helper variablesAlon Zakai
2013-06-06move asm loop optimization into last phaseAlon Zakai
2013-06-05simplify infinite while loops with a break at the end into a do-while with a ...Alon Zakai
2013-05-28only abort in eliminator when actually necessaryAlon Zakai
2013-05-25fix registerize semantics to treat each arm of ifs and switches separatelyAlon Zakai
2013-05-25registerize in asm switchesAlon Zakai
2013-05-25eliminate into switch casesAlon Zakai
2013-05-22Optimize (x&A)<<B>>B.Dan Gohman
2013-05-16support closure compiler on the shell in asm modeAlon Zakai
2013-05-10do not eliminate if there is a switchAlon Zakai
2013-05-10only recurse on decreasing uses on locals, and clear out names to avoid confu...Alon Zakai
2013-05-10recursively remove variables with no uses in eliminatorAlon Zakai
2013-05-07recognize the double-to-i64 bitcast pattern as having no side effects in elim...Alon Zakai
2013-05-07fix mishandling of inference of global var typesAlon Zakai
2013-05-07infer untyped variables in js-optimizer.js by origin variable's type if they ...Alon Zakai
2013-05-01TODOAlon Zakai
2013-04-20optimize HEAPU?8[..] << 24 >> 24 and similarAlon Zakai
2013-04-17remove eliminated variable definitions only if variable was successfully remo...Alon Zakai
2013-03-19handle negative zero; fixes #921Alon Zakai
2013-03-09remove coercions on asm function calls that have no capturing variablesAlon Zakai
2013-03-09move addFinalReturns to simplyExpressionsPre so it runs even in -gAlon Zakai
2013-03-09optimize traverseGeneratedFunctionsAlon Zakai
2013-03-09remove limitations on minified namesAlon Zakai
2013-03-09use minified names in registerize for localsAlon Zakai
2013-03-09refactor registerize global substitutionAlon Zakai
2013-03-08for now, do not use rX as minified names, reserve that for registerize localsAlon Zakai
2013-03-08assertions on number of minified namesAlon Zakai
2013-03-08properly scan all globals, including function names, before applying themAlon Zakai
2013-03-08minify function names in function definitionsAlon Zakai
2013-03-08allow -O2 to also call registerize, but without minification of globals that ...Alon Zakai