LLVM 20.0.0git
Public Member Functions | List of all members
llvm::MFPropsModifier< PassT > Class Template Reference

An RAII based helper class to modify MachineFunctionProperties when running pass. More...

#include "llvm/CodeGen/MachinePassManager.h"

Public Member Functions

 MFPropsModifier (const PassT &P_, MachineFunction &MF_)
 
 ~MFPropsModifier ()
 

Detailed Description

template<typename PassT>
class llvm::MFPropsModifier< PassT >

An RAII based helper class to modify MachineFunctionProperties when running pass.

Define a MFPropsModifier in PassT::run to set MachineFunctionProperties properly.

Definition at line 42 of file MachinePassManager.h.

Constructor & Destructor Documentation

◆ MFPropsModifier()

template<typename PassT >
llvm::MFPropsModifier< PassT >::MFPropsModifier ( const PassT &  P_,
MachineFunction MF_ 
)
inline

Definition at line 44 of file MachinePassManager.h.

References llvm::errs(), P, and llvm::report_fatal_error().

◆ ~MFPropsModifier()

template<typename PassT >
llvm::MFPropsModifier< PassT >::~MFPropsModifier ( )
inline

Definition at line 66 of file MachinePassManager.h.

References P.


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