|
MLIR 22.0.0git
|
#include "Rewrite/ByteCode.h"
Public Member Functions | |
| void | cleanupAfterMatchAndRewrite () |
| Cleanup any allocated state after a full match/rewrite has been completed. | |
| void | updatePatternBenefit (unsigned patternIndex, PatternBenefit benefit) |
| Set the new benefit for a bytecode pattern. | |
Definition at line 233 of file ByteCode.h.
|
inline |
Cleanup any allocated state after a full match/rewrite has been completed.
This method should be called irregardless of whether the match+rewrite was a success or not.
Definition at line 235 of file ByteCode.h.
|
inline |
Set the new benefit for a bytecode pattern.
The patternIndex corresponds to the position of the pattern within the range returned by PDLByteCode::getPatterns.
Definition at line 236 of file ByteCode.h.