LLVM 20.0.0git
|
Extensions to this class implement mechanisms to disable passes and individual optimizations at compile time. More...
#include "llvm/IR/OptBisect.h"
Public Member Functions | |
virtual | ~OptPassGate ()=default |
virtual bool | shouldRunPass (const StringRef PassName, StringRef IRDescription) |
IRDescription is a textual description of the IR unit the pass is running over. | |
virtual bool | isEnabled () const |
isEnabled() should return true before calling shouldRunPass(). | |
Extensions to this class implement mechanisms to disable passes and individual optimizations at compile time.
Definition at line 24 of file OptBisect.h.
|
virtualdefault |
|
inlinevirtual |
isEnabled() should return true before calling shouldRunPass().
Reimplemented in llvm::OptBisect.
Definition at line 36 of file OptBisect.h.
Referenced by llvm::OptPassGateInstrumentation::registerCallbacks(), llvm::FunctionPass::skipFunction(), llvm::LoopPass::skipLoop(), llvm::ModulePass::skipModule(), llvm::RegionPass::skipRegion(), and llvm::CallGraphSCCPass::skipSCC().
|
inlinevirtual |
IRDescription is a textual description of the IR unit the pass is running over.
Reimplemented in llvm::OptBisect.
Definition at line 30 of file OptBisect.h.
Referenced by llvm::OptPassGateInstrumentation::shouldRun(), llvm::FunctionPass::skipFunction(), llvm::LoopPass::skipLoop(), llvm::ModulePass::skipModule(), llvm::RegionPass::skipRegion(), and llvm::CallGraphSCCPass::skipSCC().