LLVM 20.0.0git
|
#include "llvm/Analysis/InlineAdvisor.h"
Public Member Functions | |
DefaultInlineAdvice (InlineAdvisor *Advisor, CallBase &CB, std::optional< InlineCost > OIC, OptimizationRemarkEmitter &ORE, bool EmitRemarks=true) | |
![]() | |
InlineAdvice (InlineAdvisor *Advisor, CallBase &CB, OptimizationRemarkEmitter &ORE, bool IsInliningRecommended) | |
InlineAdvice (InlineAdvice &&)=delete | |
InlineAdvice (const InlineAdvice &)=delete | |
virtual | ~InlineAdvice () |
void | recordInlining () |
Exactly one of the record* APIs must be called. | |
void | recordInliningWithCalleeDeleted () |
Call after inlining succeeded, and results in the callee being delete-able, meaning, it has no more users, and will be cleaned up subsequently. | |
void | recordUnsuccessfulInlining (const InlineResult &Result) |
Call after the decision for a call site was to not inline. | |
void | recordUnattemptedInlining () |
Call to indicate inlining was not attempted. | |
bool | isInliningRecommended () const |
Get the inlining recommendation. | |
const DebugLoc & | getOriginalCallSiteDebugLoc () const |
const BasicBlock * | getOriginalCallSiteBasicBlock () const |
Additional Inherited Members | |
![]() | |
virtual void | recordInliningImpl () |
virtual void | recordInliningWithCalleeDeletedImpl () |
virtual void | recordUnsuccessfulInliningImpl (const InlineResult &Result) |
virtual void | recordUnattemptedInliningImpl () |
![]() | |
InlineAdvisor *const | Advisor |
Function *const | Caller |
Caller and Callee are pre-inlining. | |
Function *const | Callee |
const DebugLoc | DLoc |
const BasicBlock *const | Block |
OptimizationRemarkEmitter & | ORE |
const bool | IsInliningRecommended |
Definition at line 143 of file InlineAdvisor.h.
|
inline |
Definition at line 145 of file InlineAdvisor.h.