LLVM 22.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 (StringRef PassName, StringRef IRDescription) const |
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 26 of file OptBisect.h.
|
virtualdefault |
|
inlinevirtual |
isEnabled() should return true before calling shouldRunPass().
Reimplemented in llvm::OptBisect, and llvm::OptDisable.
Definition at line 38 of file OptBisect.h.
Referenced by llvm::OptPassGateInstrumentation::registerCallbacks(), llvm::LoopPass::skipLoop(), and llvm::RegionPass::skipRegion().
|
inlinevirtual |
IRDescription is a textual description of the IR unit the pass is running over.
Reimplemented in llvm::OptBisect, and llvm::OptDisable.
Definition at line 32 of file OptBisect.h.
References PassName.
Referenced by llvm::LoopPass::skipLoop(), and llvm::RegionPass::skipRegion().