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


9.17.1 Non-transitive intermodule optimization


--intermodule-optimization
--intermodule-optimisation
--intermod-opt

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


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


--use-opt-files

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


--no-read-opt-files-transitively

Only read the inter-module optimization information for directly imported modules, not the transitive closure of the imports.