My Project
|
#include <PassDetail.h>
Public Member Functions | |
OpToOpPassAdaptor (OpPassManager &&mgr) | |
void | runOnOperation () override |
Run the held pipeline over all operations. More... | |
![]() | |
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... | |
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 () |
![]() | |
OpToOpPassAdaptorBase (OpPassManager &&mgr) | |
OpToOpPassAdaptorBase (const OpToOpPassAdaptorBase &rhs)=default | |
void | mergeInto (OpToOpPassAdaptorBase &rhs) |
Merge the current pass adaptor into given 'rhs'. More... | |
MutableArrayRef< OpPassManager > | getPassManagers () |
Returns the pass managers held by this adaptor. More... | |
std::string | getName () |
Returns the adaptor pass name. More... | |
Additional Inherited Members | |
![]() | |
static bool | classof (const Pass *pass) |
Support isa/dyn_cast functionality for the derived pass class. More... | |
![]() | |
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 () |
![]() | |
OperationPass () | |
void | getOperation () |
Return the current operation being transformed. More... | |
![]() | |
PassModel (Optional< StringRef > opName=llvm::None) | |
void | signalPassFailure () |
AnalysisT & | getAnalysis () |
Query an analysis for the current ir unit. More... | |
Optional< std::reference_wrapper< AnalysisT > > | getCachedAnalysis () |
void | markAllAnalysesPreserved () |
Mark all analyses as preserved. More... | |
void | markAnalysesPreserved () |
Mark the provided analyses as preserved. More... | |
void | markAnalysesPreserved (const AnalysisID *id) |
StringRef | getName () override |
Returns the derived pass name. More... | |
std::unique_ptr< Pass > | clone () const override |
A clone method to create a copy of this pass. More... | |
Optional< std::reference_wrapper< AnalysisT > > | getCachedParentAnalysis (Operation *parent) |
Returns the analysis for the parent operation if it exists. More... | |
Optional< std::reference_wrapper< AnalysisT > > | getCachedParentAnalysis () |
Optional< std::reference_wrapper< AnalysisT > > | getCachedChildAnalysis (Operation *child) |
Returns the analysis for the given child operation if it exists. More... | |
AnalysisT & | getChildAnalysis (Operation *child) |
![]() | |
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... | |
Operation * | getOperation () |
Return the current operation being transformed. More... | |
AnalysisManager | getAnalysisManager () |
Returns the current analysis manager. More... | |
void | copyOptionValuesFrom (const Pass *other) |
![]() | |
SmallVector< OpPassManager, 1 > | mgrs |
An adaptor pass used to run operation passes over nested operations synchronously on a single thread.
OpToOpPassAdaptor::OpToOpPassAdaptor | ( | OpPassManager && | mgr | ) |
|
overridevirtual |
Run the held pipeline over all operations.
Run the held pipeline over all nested operations.
Implements mlir::Pass.