LLVM  12.0.0git
Public Member Functions | List of all members
llvm::DefaultInlineAdvisor Class Reference

The default (manual heuristics) implementation of the InlineAdvisor. More...

#include "llvm/Analysis/InlineAdvisor.h"

Inheritance diagram for llvm::DefaultInlineAdvisor:
Inheritance graph
[legend]
Collaboration diagram for llvm::DefaultInlineAdvisor:
Collaboration graph
[legend]

Public Member Functions

 DefaultInlineAdvisor (FunctionAnalysisManager &FAM, InlineParams Params)
 
- Public Member Functions inherited from llvm::InlineAdvisor
 InlineAdvisor (InlineAdvisor &&)=delete
 
virtual ~InlineAdvisor ()
 
virtual void onPassEntry ()
 This must be called when the Inliner pass is entered, to allow the InlineAdvisor update internal state, as result of function passes run between Inliner pass runs (for the same module). More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::InlineAdvisor
 InlineAdvisor (FunctionAnalysisManager &FAM)
 
void freeDeletedFunctions ()
 We may want to defer deleting functions to after the inlining for a whole module has finished. More...
 
bool isFunctionDeleted (const Function *F) const
 
- Protected Attributes inherited from llvm::InlineAdvisor
FunctionAnalysisManagerFAM
 

Detailed Description

The default (manual heuristics) implementation of the InlineAdvisor.

This implementation does not need to keep state between inliner pass runs, and is reusable as-is for inliner pass test scenarios, as well as for regular use.

Definition at line 167 of file InlineAdvisor.h.

Constructor & Destructor Documentation

◆ DefaultInlineAdvisor()

llvm::DefaultInlineAdvisor::DefaultInlineAdvisor ( FunctionAnalysisManager FAM,
InlineParams  Params 
)
inline

Definition at line 169 of file InlineAdvisor.h.


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