Lines Matching defs:module
28 PyPDLPatternModule(MlirPDLPatternModule module) : module(module) {}
30 : module(other.module) {
31 other.module.ptr = nullptr;
34 if (module.ptr != nullptr)
35 mlirPDLPatternModuleDestroy(module);
37 MlirPDLPatternModule get() { return module; }
40 MlirPDLPatternModule module;
86 [](PyPDLPatternModule &self, MlirModule module) {
88 PyPDLPatternModule(mlirPDLPatternModuleFromModule(module));
90 "module"_a, "Create a PDL module from the given module.")
103 [](MlirModule module, MlirFrozenRewritePatternSet set) {
104 auto status = mlirApplyPatternsAndFoldGreedily(module, set, {});
109 "module"_a, "set"_a,
110 "Applys the given patterns to the given module greedily while folding "