LLVM 20.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< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRegistered () |
static void | unregister () |
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< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Static Public Attributes | |
static AnalysisKey | Key |
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 51 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 56 of file InlineOrder.h.
|
inline |
Definition at line 61 of file InlineOrder.h.
References assert().
|
inline |
Definition at line 72 of file InlineOrder.h.
|
inlinestatic |
Definition at line 74 of file InlineOrder.h.
Referenced by llvm::getInlineOrder().
|
inline |
Definition at line 71 of file InlineOrder.h.
|
inlinestatic |
Definition at line 75 of file InlineOrder.h.
|
static |
Definition at line 54 of file InlineOrder.h.