RAII helper that updates MachineFunctionProperties around a pass run.
Declared in <llvm/CodeGen/MachinePassManager.h>
template<typename PassT>
class MFPropsModifier;
Define an MFPropsModifier in PassT::run to set MachineFunctionProperties properly.
| Name | Description |
|---|---|
MFPropsModifier [constructor] | Begin updating MachineFunctionProperties for pass P_ on MF_. |
~MFPropsModifier [destructor] | Restore set properties on the machine function when the modifier ends. |
| Name | Description |
|---|---|
MFPropsModifier<PassT> | Deduction guide that suppresses unused-parameter warnings for MFPropsModifier. |