LLVM 22.0.0git
llvm::RAIIDelegateInstaller Class Reference

A simple RAII based Delegate installer. More...

#include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h"

Public Member Functions

LLVM_ABI RAIIDelegateInstaller (MachineFunction &MF, MachineFunction::Delegate *Del)
LLVM_ABI ~RAIIDelegateInstaller ()

Detailed Description

A simple RAII based Delegate installer.

Use this in a scope to install a delegate to the MachineFunction and reset it at the end of the scope.

Definition at line 111 of file GISelChangeObserver.h.

Constructor & Destructor Documentation

◆ RAIIDelegateInstaller()

RAIIDelegateInstaller::RAIIDelegateInstaller ( MachineFunction & MF,
MachineFunction::Delegate * Del )

Definition at line 32 of file GISelChangeObserver.cpp.

◆ ~RAIIDelegateInstaller()

RAIIDelegateInstaller::~RAIIDelegateInstaller ( )

Definition at line 40 of file GISelChangeObserver.cpp.


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