class RAIIDelegateInstaller

Declaration

class RAIIDelegateInstaller { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h:108

Member Variables

private llvm::MachineFunction& MF
private MachineFunction::Delegate* Delegate

Method Overview

Methods

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

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h:113

Parameters

llvm::MachineFunction& MF
MachineFunction::Delegate* Del

~RAIIDelegateInstaller()

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h:114