Home
last modified time | relevance | path

Searched refs:matcherFunc (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPDLToPDLInterp.cpp33 PatternLowering(FuncOp matcherFunc, ModuleOp rewriterModule);
103 FuncOp matcherFunc; member
130 PatternLowering::PatternLowering(FuncOp matcherFunc, ModuleOp rewriterModule) in PatternLowering() argument
131 : 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() local
683 PatternLowering generator(matcherFunc, rewriterModule); in runOnOperation()
/external/llvm-project/mlir/lib/Rewrite/
DByteCode.cpp192 void allocateMemoryIndices(FuncOp matcherFunc, ModuleOp rewriterModule);
350 FuncOp matcherFunc = module.lookupSymbol<FuncOp>( in generate() local
354 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() argument
412 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()