The module inliner pass for the new pass manager.
Synopsis
Declared in <llvm/Transforms/IPO/ModuleInliner.h>
class ModuleInlinerPass
: public OptionalPassInfoMixin<ModuleInlinerPass>
Description
This pass wires together the inlining utilities and the inline cost analysis into a module pass. Different from SCC inliner, it considers every call in every function in the whole module and tries to inline if profitable. With this module level inliner, it is possible to evaluate more heuristics in the module level such like PriorityInlineOrder. It can be tuned with a number of parameters to control what cost model is used and what tradeoffs are made when making the decision.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Member Functions
Name |
Description |
|
Constructors |
Static Member Functions
Name |
Created with MrDocs