LLVM 22.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
OptPassGateInstrumentation (LLVMContext &Context) | |
LLVM_ABI bool | shouldRun (StringRef PassName, Any IR) |
LLVM_ABI void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
Definition at line 115 of file StandardInstrumentations.h.
|
inline |
Definition at line 119 of file StandardInstrumentations.h.
void OptPassGateInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 1075 of file StandardInstrumentations.cpp.
References IR, llvm::OptPassGate::isEnabled(), PassName, PIC, and shouldRun().
Definition at line 1054 of file StandardInstrumentations.cpp.
References assert(), llvm::errorCodeToError(), IR, OptBisectPrintIRPath, PassName, and llvm::report_fatal_error().
Referenced by registerCallbacks().