









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Control flow analysis, data-flow analysis, dependence analysis
Pointer analysis, array access analysis, aliasing analysis
-^
Reuse analysis, cache conflict analysis
Shape analysis, memory layout analysis,
How well can compilers understand the input program?
-^
How well can compilers understand the machine architecture
Lists, trees, arrays
-^
Relations between individual elements
Side-effects, aliasing, modification,
-^
Relations between arguments and result
pure objects
-^
Containers, iterators
-^
Relations between base and derived classes
Constant propagation, redundant expression elimination,…
Instruction scheduling, software pipelining, …
-^
Loop optimizations for better cache locality or betterparallelism
Register allocation, data storage optimization
Function inlining, specialization, code refactorization, …
Virtual function optimization, exception handling,…
Optimizations can be done in many different ways^ –
Which loops to be fused together, which loop nest to block
-^
Which values should reside in registers/caches
-^
How should the array elements be laid out
Safety analysis^ –
Making sure the result is correct
-^
Determined by compilers
Profitability analysis^ –
Making sure the result is beneficial
The search space^ –
Whether to apply an transformation
-^
How to apply a transformation
-^
How to order different transformations
Recursive divide-and-conquer algorithms
Runtime optimizations
irregular and adaptive applications
Compiler generates many different versions of output
The search engine empirically select versions to run andgather performance data
The final version is the one with the best performance
Semantics of user-defined abstractions
-^
Properties of machine architecture
-^
Requirements of dynamic networking environment
Derive high-level semantics from low-level implementation
-^
Precisely model machine behavior
-^
Precisely model program behavior
Parameterize optimizations with unknown factors
-^
Dynamic profiling of program runtime behavior