Inlines functions marked as "always_inline".
Synopsis
Declared in <llvm/Transforms/IPO/AlwaysInliner.h>
class AlwaysInlinerPass
: public RequiredPassInfoMixin<AlwaysInlinerPass>
Description
Note that this does not inline call sites marked as always_inline and does not delete the functions even when all users are inlined. The normal inliner should be used to handle call site inlining, this pass's goal is to be the simplest possible pass to remove always_inline function definitions' uses by inlining them. The GlobalDCE pass can be used to remove these functions once all users are gone.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that should not be skipped. |
Member Functions
Name |
Description |
|
Construct an always‐inliner pass. |
Run the always‐inliner over the given module. |
Static Member Functions
Name |
Description |
Return true; required passes cannot be skipped. |
Created with MrDocs