LLVM 20.0.0git
Classes | Public Member Functions | Static Public Attributes | List of all members
llvm::InlineAdvisorAnalysis Class Reference

The InlineAdvisorAnalysis is a module pass because the InlineAdvisor needs to capture state right before inlining commences over a module. More...

#include "llvm/Analysis/InlineAdvisor.h"

Inheritance diagram for llvm::InlineAdvisorAnalysis:
Inheritance graph
[legend]

Classes

struct  Result
 

Public Member Functions

 InlineAdvisorAnalysis ()=default
 
Result run (Module &M, ModuleAnalysisManager &MAM)
 
- Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Static Public Attributes

static AnalysisKey Key
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< InlineAdvisorAnalysis >
static AnalysisKeyID ()
 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.
 

Detailed Description

The InlineAdvisorAnalysis is a module pass because the InlineAdvisor needs to capture state right before inlining commences over a module.

Definition at line 316 of file InlineAdvisor.h.

Constructor & Destructor Documentation

◆ InlineAdvisorAnalysis()

llvm::InlineAdvisorAnalysis::InlineAdvisorAnalysis ( )
default

Member Function Documentation

◆ run()

Result llvm::InlineAdvisorAnalysis::run ( Module M,
ModuleAnalysisManager MAM 
)
inline

Definition at line 340 of file InlineAdvisor.h.

References MAM.

Member Data Documentation

◆ Key

AnalysisKey InlineAdvisorAnalysis::Key
static

Definition at line 318 of file InlineAdvisor.h.


The documentation for this class was generated from the following files: