LLVM 22.0.0git
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 40 of file MachinePassManager.h.

Constructor & Destructor Documentation

◆ MFPropsModifier()

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

Definition at line 42 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 64 of file MachinePassManager.h.


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