Previous: , Up: Intermodule optimization   [Contents][Index]


9.17.2 Transitive intermodule optimization


--transitive-intermodule-optimization
--transitive-intermodule-optimisation
--trans-intermod-opt

Perform inlining, higher-order specialization, and other optimizations using knowledge of the otherwise non-public data of both directly and indirectly imported modules. The compiler gets this data from the module.trans_opt files of the directly and indirectly imported modules.


This option must be set consistently throughout the compilation process, starting with mmc --generate-dependencies.


Note that ‘--transitive-intermodule-optimization’ works only with mmake; it does not work with mmc --make.


--use-trans-opt-files

Perform inter-module optimization using any .trans_opt files which are already built, e.g. those for the standard library, but do not build any others.


--generate-module-order

Output the strongly connected components of the module dependency graph in top-down order to module.order. Effective only if ‘--generate-dependencies’ is also specified.