| # Originally imported via: |
| # stubgen {...} -m mlir._mlir_libs._mlir.passmanager |
| # Local modifications: |
| # * Relative imports for cross-module references. |
| # * Add __all__ |
| |
| from typing import Any |
| |
| from . import ir as _ir |
| |
| __all__ = [ |
| "PassManager", |
| ] |
| |
| class PassManager: |
| def __init__(self, context: _ir.Context = ...) -> None: ... |
| def _CAPICreate(self) -> object: ... |
| def _testing_release(self) -> None: ... |
| def enable_ir_printing(self) -> None: ... |
| def enable_verifier(self, enable: bool) -> None: ... |
| def parse(self, *args, **kwargs) -> Any: ... |
| def run(self, module: _ir.Module) -> None: ... |
| @property |
| def _CAPIPtr(self) -> object: ... |