HP Fortran Programmer's Guide (March 2010)
Compiling and linking
Compiling with the f90 command
Chapter 2 49
1 Peephole optimizations, including:
• Basic block optimizations
• Branch optimizations
• Instruction scheduling
2 Optimizations performed at level 1, plus the following:
• Coloring register allocation
• Induction variables and strength reduction
• Common subexpression elimination
• Loop invariant code motion
• Store/copy optimization
• Unused definition elimination
• Dataflow analysis
• Software pipelining
• Scalar replacement
• Sum reduction optimization
3 Optimizations performed at levels 1 and 2, plus the
following:
• Interprocedural optimizations, including cloning and
inlining
• Loop transformations to improve memory performance,
including fusion and interchange
Table 2-6 Levels of optimization (Continued)
Level Optimizations