LLVM 17.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, const CallBase &CB)
void finish (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 110 of file FunctionPropertiesAnalysis.h.

Constructor & Destructor Documentation

◆ FunctionPropertiesUpdater()

FunctionPropertiesUpdater::FunctionPropertiesUpdater ( FunctionPropertiesInfo FPI,
const CallBase CB 

Member Function Documentation

◆ finish()

void FunctionPropertiesUpdater::finish ( FunctionAnalysisManager FAM) const

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