GNU Compiler Collection (GCC) Internals: Optimization groups |
---|
Next: Dump files and streams, Previous: Dump setup, Up: Optimization info [Contents][Index]
The optimization passes are grouped into several categories. Currently defined categories in dumpfile.h are
OPTGROUP_IPA
IPA optimization passes. Enabled by -ipa
OPTGROUP_LOOP
Loop optimization passes. Enabled by -loop.
OPTGROUP_INLINE
Inlining passes. Enabled by -inline.
OPTGROUP_OMP
OMP (Offloading and Multi Processing) passes. Enabled by -omp.
OPTGROUP_VEC
Vectorization passes. Enabled by -vec.
OPTGROUP_OTHER
All other optimization passes which do not fall into one of the above.
OPTGROUP_ALL
All optimization passes. Enabled by -optall.
By using groups a user could selectively enable optimization information only for a group of passes. By default, the optimization information for all the passes is dumped.