Searched refs:matcherFunc (Results 1 – 2 of 2) sorted by relevance
33 PatternLowering(FuncOp matcherFunc, ModuleOp rewriterModule);103 FuncOp matcherFunc; member130 PatternLowering::PatternLowering(FuncOp matcherFunc, ModuleOp rewriterModule) in PatternLowering() argument131 : builder(matcherFunc.getContext()), matcherFunc(matcherFunc), in PatternLowering()143 Block *matcherEntryBlock = matcherFunc.addEntryBlock(); in lower()159 Block *block = matcherFunc.addBlock(); in generateMatcher()166 builder.create<pdl_interp::FinalizeOp>(matcherFunc.getLoc()); in generateMatcher()671 FuncOp matcherFunc = builder.create<FuncOp>( in runOnOperation() local683 PatternLowering generator(matcherFunc, rewriterModule); in runOnOperation()
192 void allocateMemoryIndices(FuncOp matcherFunc, ModuleOp rewriterModule);350 FuncOp matcherFunc = module.lookupSymbol<FuncOp>( in generate() local354 assert(matcherFunc && rewriterModule && "invalid PDL Interpreter module"); in generate()358 allocateMemoryIndices(matcherFunc, rewriterModule); in generate()372 llvm::ReversePostOrderTraversal<Region *> rpot(&matcherFunc.getBody()); in generate()389 void Generator::allocateMemoryIndices(FuncOp matcherFunc, in allocateMemoryIndices() argument412 matcherFunc.getBody().walk([&](Operation *op) { in allocateMemoryIndices()422 BlockArgument rootOpArg = matcherFunc.getArgument(0); in allocateMemoryIndices()426 Liveness matcherLiveness(matcherFunc); in allocateMemoryIndices()427 for (Block &block : matcherFunc.getBody()) { in allocateMemoryIndices()