LLVM 20.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
OptPassGateInstrumentation (LLVMContext &Context) | |
bool | shouldRun (StringRef PassName, Any IR) |
void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
Definition at line 100 of file StandardInstrumentations.h.
|
inline |
Definition at line 104 of file StandardInstrumentations.h.
void OptPassGateInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 1077 of file StandardInstrumentations.cpp.
References llvm::LLVMContext::getOptPassGate(), IR, llvm::OptPassGate::isEnabled(), PassName, PIC, llvm::PassInstrumentationCallbacks::registerShouldRunOptionalPassCallback(), and shouldRun().
Definition at line 1056 of file StandardInstrumentations.cpp.
References assert(), llvm::errorCodeToError(), llvm::LLVMContext::getOptPassGate(), IR, OptBisectPrintIRPath, OS, PassName, llvm::report_fatal_error(), and llvm::OptPassGate::shouldRunPass().
Referenced by registerCallbacks().