#pragma expected_value

In IBM® XL C/C++ for AIX® 16.1.0 or earlier releases, #pragma expected_value specifies the value that a parameter passed in a function call is most likely to take at run time. The compiler can use this information to perform certain optimizations, such as function cloning and inlining.

IBM Open XL C/C++ for AIX 17.1.4 does not support #pragma expected_value. You are recommended to use the __builtin_expect built-in function instead.

Related information