Functions are optimized within a file.
The -Qip (-ip on Linux*) option enables interprocedural optimizations and function inlining within a single source file.
The compiler looks for optimization opportunities across function call boundaries.