Searched refs:pdlModule (Results 1 – 6 of 6) sorted by relevance
19 static LogicalResult convertPDLToPDLInterp(ModuleOp pdlModule) { in convertPDLToPDLInterp() argument21 if (llvm::empty(pdlModule.getOps<pdl::PatternOp>())) in convertPDLToPDLInterp()31 pdlModule.getBody()->walk(simplifyFn); in convertPDLToPDLInterp()34 PassManager pdlPipeline(pdlModule.getContext()); in convertPDLToPDLInterp()41 if (failed(pdlPipeline.run(pdlModule))) in convertPDLToPDLInterp()45 pdlModule.getBody()->walk(simplifyFn); in convertPDLToPDLInterp()123 ModuleOp pdlModule = pdlPatterns.getModule(); in FrozenRewritePatternSet() local124 if (!pdlModule) in FrozenRewritePatternSet()126 if (failed(convertPDLToPDLInterp(pdlModule))) in FrozenRewritePatternSet()132 pdlModule, pdlPatterns.takeConstraintFunctions(), in FrozenRewritePatternSet()
158 if (!other.pdlModule) in mergeIn()168 if (!pdlModule) { in mergeIn()169 pdlModule = std::move(other.pdlModule); in mergeIn()174 Block *block = pdlModule->getBody(); in mergeIn()176 other.pdlModule->getBody()->getOperations()); in mergeIn()
76 OwningOpRef<ModuleOp> pdlModule = in processBuffer() local78 if (!pdlModule) in processBuffer()82 pdlModule->print(os, OpPrintingFlags().enableDebugInfo()); in processBuffer()85 codegenPDLLToCPP(**module, *pdlModule, os); in processBuffer()
1266 PDLPatternModule(OwningOpRef<ModuleOp> pdlModule)1267 : pdlModule(std::move(pdlModule)) {}1273 ModuleOp getModule() { return pdlModule.get(); }1355 pdlModule = nullptr;1362 OwningOpRef<ModuleOp> pdlModule;
1364 OwningOpRef<ModuleOp> pdlModule = in getPDLLViewOutput() local1366 if (!pdlModule) in getPDLLViewOutput()1369 pdlModule->print(os, OpPrintingFlags().enableDebugInfo()); in getPDLLViewOutput()1376 codegenPDLLToCPP(**astModule, *pdlModule, os); in getPDLLViewOutput()
81 void registerNativeRewrite(PDLPatternModule &pdlModule) {82 pdlModule.registerRewriteFunction("myNativeFunc", myNativeFunc);