LLVM 24.0.0git
llvm::PrintIRInstrumentation Class Reference

Instrumentation to print IR before/after passes. More...

#include "llvm/Passes/StandardInstrumentations.h"

Public Member Functions

 PrintIRInstrumentation (const PassesOptions &Opts)
LLVM_ABI ~PrintIRInstrumentation ()
LLVM_ABI void registerCallbacks (PassInstrumentationCallbacks &PIC, ExtendedIRContext *IRContext=nullptr)

Detailed Description

Instrumentation to print IR before/after passes.

Needs state to be able to print module after pass that invalidates IR unit (typically Loop or SCC).

Definition at line 52 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ PrintIRInstrumentation()

llvm::PrintIRInstrumentation::PrintIRInstrumentation ( const PassesOptions & Opts)
inlineexplicit

Definition at line 54 of file StandardInstrumentations.h.

◆ ~PrintIRInstrumentation()

PrintIRInstrumentation::~PrintIRInstrumentation ( )

Definition at line 698 of file StandardInstrumentations.cpp.

References assert().

Member Function Documentation

◆ registerCallbacks()


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