Avoid inlining some functions using the func dialect?

Thanks for your reply. That seems like a reasonable approach. Is there anyone has started working on it?