My Project
|
#include <Passes.h>
Static Public Member Functions | |
static bool | classof (const Pass *pass) |
Support isa/dyn_cast functionality. More... | |
![]() | |
static const PassInfo * | lookupPassInfo (const PassID *passID) |
Returns the pass info for the specified pass class or null if unknown. More... | |
template<typename PassT > | |
static const PassInfo * | lookupPassInfo () |
Additional Inherited Members | |
![]() | |
virtual | ~Pass ()=default |
const PassID * | getPassID () const |
Returns the unique identifier that corresponds to this pass. More... | |
const PassInfo * | lookupPassInfo () const |
Returns the pass info for this pass. More... | |
virtual StringRef | getName ()=0 |
Returns the derived pass name. More... | |
Optional< StringRef > | getOpName () const |
LogicalResult | initializeOptions (StringRef options) |
Attempt to initialize the options of this pass from the given string. More... | |
void | printAsTextualPipeline (raw_ostream &os) |
ArrayRef< Statistic * > | getStatistics () const |
Returns the main statistics for this pass instance. More... | |
MutableArrayRef< Statistic * > | getStatistics () |
![]() | |
Pass (const PassID *passID, Optional< StringRef > opName=llvm::None) | |
detail::PassExecutionState & | getPassState () |
Returns the current pass state. More... | |
MLIRContext & | getContext () |
Return the MLIR context for the current function being transformed. More... | |
virtual void | runOnOperation ()=0 |
The polymorphic API that runs the pass over the currently held operation. More... | |
virtual std::unique_ptr< Pass > | clone () const =0 |
A clone method to create a copy of this pass. More... | |
Operation * | getOperation () |
Return the current operation being transformed. More... | |
AnalysisManager | getAnalysisManager () |
Returns the current analysis manager. More... | |
void | copyOptionValuesFrom (const Pass *other) |
Utility base class for OpPass below to denote an opaque pass operating on a specific operation type.
|
inlinestatic |
Support isa/dyn_cast functionality.