|
LLVM 24.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, ExtendedIRContext *IRContext=nullptr) |
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 51 of file StandardInstrumentations.h.
| PrintIRInstrumentation::~PrintIRInstrumentation | ( | ) |
Definition at line 699 of file StandardInstrumentations.cpp.
References assert().
| void PrintIRInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC, |
| ExtendedIRContext * | IRContext = nullptr ) |
Definition at line 960 of file StandardInstrumentations.cpp.
References IR, P, llvm::PassInstrumentationCallbacks::registerBeforeNonSkippedPassCallback(), llvm::shouldPrintAfterSomePass(), and llvm::shouldPrintBeforeSomePass().