cpp/language/attributes/likely

Allow the compiler to optimize for the case where paths of execution including that statement are more or less likely than any alternative path of execution that does not include such a statement.

Explanation
These attributes may be applied to labels and statements (other than declaration-statements). They may not be simultaneously applied to the same label or statement.

@1@ Applies to a statement to allow the compiler to optimize for the case where paths of execution including that statement are more likely than any alternative path of execution that does not include such a statement.

@2@ Applies to a statement to allow the compiler to optimize for the case where paths of execution including that statement are less likely than any alternative path of execution that does not include such a statement.

A path of execution is deemed to include a label if and only if it contains a jump to that label:

is considered more likely than any other value of, but the has no effect on the  case even though it falls through the  label.