Searched refs:matcherFunc (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/ |
| H A D | PDLToPDLInterp.cpp | 35 PatternLowering(pdl_interp::FuncOp matcherFunc, ModuleOp rewriterModule); 114 pdl_interp::FuncOp matcherFunc; member 141 PatternLowering::PatternLowering(pdl_interp::FuncOp matcherFunc, in PatternLowering() argument 143 : builder(matcherFunc.getContext()), matcherFunc(matcherFunc), in PatternLowering() 155 Block *matcherEntryBlock = &matcherFunc.front(); in lower() 161 Block *firstMatcherBlock = generateMatcher(*root, matcherFunc.getBody()); in lower() 179 builder.create<pdl_interp::FinalizeOp>(matcherFunc.getLoc()); in generateMatcher() 925 auto matcherFunc = builder.create<pdl_interp::FuncOp>( in runOnOperation() local 937 PatternLowering generator(matcherFunc, rewriterModule); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/Rewrite/ |
| H A D | ByteCode.cpp | 246 void allocateMemoryIndices(pdl_interp::FuncOp matcherFunc, 489 auto matcherFunc = module.lookupSymbol<pdl_interp::FuncOp>( in generate() local 493 assert(matcherFunc && rewriterModule && "invalid PDL Interpreter module"); in generate() 497 allocateMemoryIndices(matcherFunc, rewriterModule); in generate() 511 generate(&matcherFunc.getBody(), matcherByteCodeWriter); in generate() 521 void Generator::allocateMemoryIndices(pdl_interp::FuncOp matcherFunc, in allocateMemoryIndices() argument 573 walk(matcherFunc); in allocateMemoryIndices() 580 BlockArgument rootOpArg = matcherFunc.getArgument(0); in allocateMemoryIndices() 584 Liveness matcherLiveness(matcherFunc); in allocateMemoryIndices() 585 matcherFunc->walk([&](Block *block) { in allocateMemoryIndices()
|