LLVM 20.0.0git
|
Instrumentation to print IR before/after passes. More...
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
~PrintIRInstrumentation () | |
void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
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 45 of file StandardInstrumentations.h.
PrintIRInstrumentation::~PrintIRInstrumentation | ( | ) |
Definition at line 746 of file StandardInstrumentations.cpp.
References assert(), and llvm::SmallVectorBase< Size_T >::empty().
void PrintIRInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 1011 of file StandardInstrumentations.cpp.
References IR, P, PIC, llvm::PassInstrumentationCallbacks::registerAfterPassCallback(), llvm::PassInstrumentationCallbacks::registerAfterPassInvalidatedCallback(), llvm::PassInstrumentationCallbacks::registerBeforeNonSkippedPassCallback(), llvm::shouldPrintAfterSomePass(), and llvm::shouldPrintBeforeSomePass().
Referenced by llvm::StandardInstrumentations::registerCallbacks().