The ATTRIBUTES directive options INLINE, NOINLINE, and FORCEINLINE can be used to control inline decisions made by the compiler. You should place the directive option in the procedure that calls the routine whose inlining you want to influence.
The INLINE option specifies that a function or subroutine can be inlined. The inlining can be ignored by the compiler if inline heuristics determine it may have a negative impact on performance or will cause too much of an increase in code size. It takes the following form:
The NOINLINE option disables inlining of a function. It takes the following form:
The FORCEINLINE option specifies that a function or subroutine must be inlined unless it will cause errors. It takes the following form: