search for: always_inline_recursively

Displaying 1 result from an estimated 1 matches for "always_inline_recursively".

2019 Nov 04
3
Fix clang's 'flatten' function attribute: add depth to always_inline?
...scope of the original 'flatten' annotation), or distribute it to all calls within the 'flatten' function (which would require a new call site attribute). The other approach is to add or modify a call site attribute. We could add a specific attribute (e.g. 'flatten' or 'always_inline_recursively'), but a more general solution is adding a new 'depth' parameter to the existing 'always_inline' attribute. When a call site marked 'always_inline' is inlined, the attribute will then be duplicated to all new call sites (with decremented depth and only if the depth is gr...