Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - ztg http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ZTG

Is the global optimizer.

        ZTG input [-ooutput] [-v] {(+|-)flags}
        -v      verbose compile

Optimization flags are:
(+ means turn on optimization, - means turn it off)
dc      Dead code elimination
da      Dead assignment elimination
dv      Dead variable elimination. Compute live ranges
reg     Do our own register assignments
cse     Global common subexpressions
vbe     Very busy expressions
all     Go for broke            none    Do no optimizations
space   Optimize for space      time    Optimize for time
li      Loop invariant removal  liv     Loop induction variables
cp      Copy propagation        cnp     Constant propagation
loop    Iterate until no more optimizations
w       Turn on warnings (like variable used before it's defined)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson