Definition at line 108 of file Pass.cpp.
◆ OpPassManagerImpl() [1/4]
◆ OpPassManagerImpl() [2/4]
◆ OpPassManagerImpl() [3/4]
◆ OpPassManagerImpl() [4/4]
◆ addPass()
void OpPassManagerImpl::addPass |
( |
std::unique_ptr< Pass > |
pass | ) |
|
Add the given pass to this pass manager.
If this pass has a concrete operation type, it must be the same type as this pass manager.
Definition at line 213 of file Pass.cpp.
References mlir::OpPassManager::Implicit.
◆ canScheduleOn()
◆ clear()
void OpPassManagerImpl::clear |
( |
| ) |
|
Clear the list of passes in this pass manager, other options are preserved.
Definition at line 230 of file Pass.cpp.
◆ finalizePassList()
LogicalResult OpPassManagerImpl::finalizePassList |
( |
MLIRContext * |
ctx | ) |
|
Finalize the pass list in preparation for execution.
This includes coalescing adjacent pass managers when possible, verifying scheduled passes, etc.
Definition at line 232 of file Pass.cpp.
References mlir::emitError(), and mlir::get().
◆ getOpAnchorName()
StringRef mlir::detail::OpPassManagerImpl::getOpAnchorName |
( |
| ) |
const |
|
inline |
◆ getOpName() [1/2]
std::optional<StringRef> mlir::detail::OpPassManagerImpl::getOpName |
( |
| ) |
const |
|
inline |
◆ getOpName() [2/2]
Return the operation name of this pass manager.
Definition at line 158 of file Pass.cpp.
References name, and opName.
◆ mergeInto()
◆ nest() [1/3]
Nest a new operation pass manager for the given operation kind under this pass manager.
Definition at line 133 of file Pass.cpp.
References nesting.
Referenced by nest(), and nestAny().
◆ nest() [2/3]
Nest the given pass manager under this pass manager.
Definition at line 207 of file Pass.cpp.
◆ nest() [3/3]
OpPassManager& mlir::detail::OpPassManagerImpl::nest |
( |
StringRef |
nestedName | ) |
|
|
inline |
◆ nestAny()
◆ initializationGeneration
unsigned mlir::detail::OpPassManagerImpl::initializationGeneration |
The current initialization generation of this pass manager.
This is used to indicate when a pass manager should be reinitialized.
Definition at line 191 of file Pass.cpp.
◆ name
std::string mlir::detail::OpPassManagerImpl::name |
◆ nesting
◆ opName
std::optional<OperationName> mlir::detail::OpPassManagerImpl::opName |
The cached OperationName (internalized in the context) for the name of the operation that passes of this pass manager operate on.
Definition at line 184 of file Pass.cpp.
Referenced by getOpName().
◆ passes
std::vector<std::unique_ptr<Pass> > mlir::detail::OpPassManagerImpl::passes |
The documentation for this struct was generated from the following file: