Home
last modified time | relevance | path

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

/llvm-project/mlir/lib/Rewrite/
H A DPatternApplicator.cpp27 mutableByteCodeState = std::make_unique<PDLByteCodeMutableState>(); in PatternApplicator()
28 bytecode->initializeMutableState(*mutableByteCodeState); in PatternApplicator()
61 mutableByteCodeState->updatePatternBenefit(it.index(), model(it.value())); in applyCostModel()
141 bytecode->match(op, rewriter, pdlMatches, *mutableByteCodeState); in matchAndRewrite()
205 bytecode->rewrite(rewriter, *pdlMatch, *mutableByteCodeState); in matchAndRewrite()
237 if (mutableByteCodeState) in matchAndRewrite()
238 mutableByteCodeState->cleanupAfterMatchAndRewrite(); in matchAndRewrite()
/llvm-project/mlir/include/mlir/Rewrite/
H A DPatternApplicator.h96 std::unique_ptr<detail::PDLByteCodeMutableState> mutableByteCodeState; variable