A simple RAII based Observer installer. Use this in a scope to install the Observer to the MachineFunction and reset it at the end of the scope.
Declared in <llvm/CodeGen/GlobalISel/GISelChangeObserver.h>
class RAIIMFObserverInstaller;
| Name | Description |
|---|---|
RAIIMFObserverInstaller [constructor] | Install Observer on MF for this object's lifetime. |
~RAIIMFObserverInstaller [destructor] | Remove the installed observer from the MachineFunction. |