Compiler Optimization Techniques
The following optimizations are built into the compiler:
- general
- procedure inlining
- data and array padding
-
- loop based:
- Loop interchange
- outer and inner loop unrolling
- cache blocking
- loop fusion (merge) and fission (split)
-
- Code generation:
- software pipelining
- instruction reordering
-
Algorithm presentation in the program such that compiler can apply the optimization techniques -
- leads to optimal program performance on the machine.