|
MLIR 23.0.0git
|
Owning Wrapper around a GreedyRewriteDriverConfig. More...
Public Member Functions | |
| PyGreedyRewriteConfig () | |
| PyGreedyRewriteConfig (PyGreedyRewriteConfig &&other) noexcept | |
| PyGreedyRewriteConfig (const PyGreedyRewriteConfig &other) noexcept | |
| MlirGreedyRewriteDriverConfig | get () |
| void | setMaxIterations (int64_t maxIterations) |
| void | setMaxNumRewrites (int64_t maxNumRewrites) |
| void | setUseTopDownTraversal (bool useTopDownTraversal) |
| void | enableFolding (bool enable) |
| void | setStrictness (PyGreedyRewriteStrictness strictness) |
| void | setRegionSimplificationLevel (PyGreedySimplifyRegionLevel level) |
| void | enableConstantCSE (bool enable) |
| int64_t | getMaxIterations () |
| int64_t | getMaxNumRewrites () |
| bool | getUseTopDownTraversal () |
| bool | isFoldingEnabled () |
| PyGreedyRewriteStrictness | getStrictness () |
| PyGreedySimplifyRegionLevel | getRegionSimplificationLevel () |
| bool | isConstantCSEEnabled () |
Owning Wrapper around a GreedyRewriteDriverConfig.
Definition at line 416 of file Rewrite.cpp.
|
inline |
Definition at line 418 of file Rewrite.cpp.
Referenced by setUseTopDownTraversal().
|
inlinenoexcept |
Definition at line 421 of file Rewrite.cpp.
|
inlinenoexcept |
Definition at line 423 of file Rewrite.cpp.
|
inline |
Definition at line 457 of file Rewrite.cpp.
References mlir::get(), mlirGreedyRewriteDriverConfigSetMaxNumRewrites(), and setMaxNumRewrites().
|
inline |
Definition at line 443 of file Rewrite.cpp.
Referenced by getMaxNumRewrites().
|
inline |
Definition at line 426 of file Rewrite.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::ANY_OP, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::EXISTING_AND_NEW_OPS, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::EXISTING_OPS, MLIR_GREEDY_REWRITE_STRICTNESS_ANY_OP, MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_AND_NEW_OPS, and MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_OPS.
|
inline |
Definition at line 461 of file Rewrite.cpp.
References mlir::get(), mlirGreedyRewriteDriverConfigSetUseTopDownTraversal(), and setUseTopDownTraversal().
|
inline |
Definition at line 465 of file Rewrite.cpp.
References enableFolding(), mlir::get(), and mlirGreedyRewriteDriverConfigEnableFolding().
Referenced by isConstantCSEEnabled().
|
inline |
Definition at line 482 of file Rewrite.cpp.
|
inline |
Definition at line 477 of file Rewrite.cpp.
|
inline |
Definition at line 469 of file Rewrite.cpp.
References mlir::get(), mlirGreedyRewriteDriverConfigSetStrictness(), and setStrictness().
|
inline |
Definition at line 487 of file Rewrite.cpp.
References mlir::get(), getMaxNumRewrites(), and mlirGreedyRewriteDriverConfigGetMaxNumRewrites().
|
inline |
Definition at line 473 of file Rewrite.cpp.
|
inline |
Definition at line 430 of file Rewrite.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::DISABLED, and MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_DISABLED.
Referenced by setRegionSimplificationLevel().
|
inline |
Definition at line 434 of file Rewrite.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::AGGRESSIVE, MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_AGGRESSIVE, MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_NORMAL, and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::NORMAL.
Referenced by enableConstantCSE().
|
inline |
Definition at line 452 of file Rewrite.cpp.
References mlir::get(), mlirGreedyRewriteDriverConfigSetMaxIterations(), and setMaxIterations().
|
inline |
Definition at line 447 of file Rewrite.cpp.
Referenced by getUseTopDownTraversal().
|
inline |
Definition at line 438 of file Rewrite.cpp.
References mlirGreedyRewriteDriverConfigCreate(), and PyGreedyRewriteConfig().
Referenced by getMaxIterations().