LLVM 20.0.0git
Public Member Functions | List of all members
llvm::FunctionPropertiesUpdater Class Reference

Correctly update FunctionPropertiesInfo post-inlining. More...

#include "llvm/Analysis/FunctionPropertiesAnalysis.h"

Public Member Functions

 FunctionPropertiesUpdater (FunctionPropertiesInfo &FPI, CallBase &CB)
 
void finish (FunctionAnalysisManager &FAM) const
 
bool finishAndTest (FunctionAnalysisManager &FAM) const
 

Detailed Description

Correctly update FunctionPropertiesInfo post-inlining.

A FunctionPropertiesUpdater keeps the state necessary for tracking the changes llvm::InlineFunction makes. The idea is that inlining will at most modify a few BBs of the Caller (maybe the entry BB and definitely the callsite BB) and potentially affect exception handling BBs in the case of invoke inlining.

Definition at line 172 of file FunctionPropertiesAnalysis.h.

Constructor & Destructor Documentation

◆ FunctionPropertiesUpdater()

FunctionPropertiesUpdater::FunctionPropertiesUpdater ( FunctionPropertiesInfo FPI,
CallBase CB 
)

Member Function Documentation

◆ finish()

void FunctionPropertiesUpdater::finish ( FunctionAnalysisManager FAM) const

◆ finishAndTest()

bool llvm::FunctionPropertiesUpdater::finishAndTest ( FunctionAnalysisManager FAM) const
inline

Definition at line 177 of file FunctionPropertiesAnalysis.h.

References FAM, and finish().


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