LLVM 22.0.0git
llvm::FunctionPropertiesUpdater Class Reference

Correctly update FunctionPropertiesInfo post-inlining. More...

#include "llvm/Analysis/FunctionPropertiesAnalysis.h"

Public Member Functions

LLVM_ABI FunctionPropertiesUpdater (FunctionPropertiesInfo &FPI, CallBase &CB)
LLVM_ABI 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 188 of file FunctionPropertiesAnalysis.h.

Constructor & Destructor Documentation

◆ FunctionPropertiesUpdater()

Member Function Documentation

◆ finish()

◆ finishAndTest()

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

Definition at line 193 of file FunctionPropertiesAnalysis.h.

References FAM, and finish().


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