|
LLVM 22.0.0git
|
Used for dynamically loading instances of InlineOrder as plugins. More...
#include "llvm/Analysis/InlineOrder.h"
Classes | |
| struct | Result |
Public Types | |
| typedef std::unique_ptr< InlineOrder< std::pair< CallBase *, int > > >(* | InlineOrderFactory) (FunctionAnalysisManager &FAM, const InlineParams &Params, ModuleAnalysisManager &MAM, Module &M) |
Public Member Functions | |
| PluginInlineOrderAnalysis (InlineOrderFactory Factory) | |
| Result | run (Module &, ModuleAnalysisManager &) |
| Result | getResult () |
| Public Member Functions inherited from llvm::PassInfoMixin< PluginInlineOrderAnalysis > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Attributes | |
| static LLVM_ABI AnalysisKey | Key |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::AnalysisInfoMixin< PluginInlineOrderAnalysis > | |
| static AnalysisKey * | ID () |
| Returns an opaque, unique ID for this analysis type. | |
| Static Public Member Functions inherited from llvm::PassInfoMixin< PluginInlineOrderAnalysis > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
Used for dynamically loading instances of InlineOrder as plugins.
Plugins must implement an InlineOrderFactory, for an example refer to: llvm/unittests/Analysis/InlineOrderPlugin/InlineOrderPlugin.cpp
If a PluginInlineOrderAnalysis has been registered with the current ModuleAnalysisManager, llvm::getInlineOrder returns an InlineOrder created by the PluginInlineOrderAnalysis' Factory.
Definition at line 52 of file InlineOrder.h.
| typedef std::unique_ptr< InlineOrder< std::pair< CallBase *, int > > >( * llvm::PluginInlineOrderAnalysis::InlineOrderFactory) (FunctionAnalysisManager &FAM, const InlineParams &Params, ModuleAnalysisManager &MAM, Module &M) |
Definition at line 57 of file InlineOrder.h.
|
inline |
Definition at line 62 of file InlineOrder.h.
References assert().
|
inline |
Definition at line 72 of file InlineOrder.h.
|
inline |
Definition at line 71 of file InlineOrder.h.
|
static |
Definition at line 55 of file InlineOrder.h.