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 102 of file StandardInstrumentations.h.
|
inline |
Definition at line 106 of file StandardInstrumentations.h.
void OptPassGateInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 1087 of file StandardInstrumentations.cpp.
References llvm::LLVMContext::getOptPassGate(), IR, llvm::OptPassGate::isEnabled(), PassName, PIC, llvm::PassInstrumentationCallbacks::registerShouldRunOptionalPassCallback(), and shouldRun().
Definition at line 1066 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().