What do -ip, -ipo, and -ip_no_inlining do?

What do -ip, -ipo, and -ip_no_inlining do?

moquick's picture

Hi! I'm finding the documentation of the -ip, -ipo, and -ip_no_inlining compile options a bit unclear.

Can anyone tellif -ipoimplies -ip? Is the -ip_no_inlining option just a way to override and disable -ip? Or can it be used to disable a part of -ipo?

TIA,
Morten

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Jennifer J. (Intel)'s picture


Morten,
-ipo does imply -ip; -ip means inter-procedural optimization within a file, but -ipo means within the application/library.
-ip_no_inlining disables the full/partial inlining of -ip and -ipo. -ip and -ipo provide more than just in-lining. So it disables only part of -ip and -ipo.

Does this help?
Jennifer

moquick's picture

Yes, thank you very much! Embarrased to say, I actually overlooked that -ip_no_inlining disables only inline expansions.

Thanks,
Morten

Login to leave a comment.