LLVM 22.0.0git
|
Instrumentation to print IR before/after passes. More...
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
LLVM_ABI | ~PrintIRInstrumentation () |
LLVM_ABI 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 48 of file StandardInstrumentations.h.
PrintIRInstrumentation::~PrintIRInstrumentation | ( | ) |
Definition at line 748 of file StandardInstrumentations.cpp.
References assert().
void PrintIRInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 1007 of file StandardInstrumentations.cpp.
References IR, P, llvm::PassInstrumentationCallbacks::registerBeforeNonSkippedPassCallback(), llvm::shouldPrintAfterSomePass(), and llvm::shouldPrintBeforeSomePass().