LLVM: llvm::OptPassGate Class Reference (original) (raw)

Extensions to this class implement mechanisms to disable passes and individual optimizations at compile time. More...

#include "[llvm/IR/OptBisect.h](OptBisect%5F8h%5Fsource.html)"

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.

virtual llvm::OptPassGate::~OptPassGate ( ) virtualdefault

isEnabled()

virtual bool llvm::OptPassGate::isEnabled ( ) const inlinevirtual

shouldRunPass()


The documentation for this class was generated from the following file: