Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPDLToPDLInterp.cpp409 FuncOp rewriterFunc = in generateRewriter() local
412 rewriterSymbolTable.insert(rewriterFunc); in generateRewriter()
415 builder.setInsertionPointToEnd(rewriterFunc.addEntryBlock()); in generateRewriter()
442 return newValue = rewriterFunc.front().addArgument(oldValue.getType()); in generateRewriter()
467 rewriterFunc.setType(builder.getFunctionType( in generateRewriter()
468 llvm::to_vector<8>(rewriterFunc.front().getArgumentTypes()), in generateRewriter()
474 builder.getSymbolRefAttr(rewriterFunc)); in generateRewriter()
/external/llvm-project/mlir/lib/Rewrite/
DByteCode.cpp362 for (FuncOp rewriterFunc : rewriterModule.getOps<FuncOp>()) { in generate()
363 rewriterToAddr.try_emplace(rewriterFunc.getName(), rewriterByteCode.size()); in generate()
364 for (Operation &op : rewriterFunc.getOps()) in generate()
393 for (FuncOp rewriterFunc : rewriterModule.getOps<FuncOp>()) { in allocateMemoryIndices()
395 for (BlockArgument arg : rewriterFunc.getArguments()) in allocateMemoryIndices()
397 rewriterFunc.getBody().walk([&](Operation *op) { in allocateMemoryIndices()