MLIR
22.0.0git
|
#include "mlir/Rewrite/PatternApplicator.h"
#include "ByteCode.h"
#include "llvm/Support/DebugLog.h"
#include "llvm/ADT/ScopeExit.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "pattern-application" |
Functions | |
static void | logImpossibleToMatch (const Pattern &pattern) |
Log a message for a pattern that is impossible to match. More... | |
static Operation * | getDumpRootOp (Operation *op) |
Log IR after pattern application. More... | |
static void | logSucessfulPatternApplication (Operation *op) |
#define DEBUG_TYPE "pattern-application" |
Definition at line 22 of file PatternApplicator.cpp.
Log IR after pattern application.
Definition at line 46 of file PatternApplicator.cpp.
References mlir::Operation::getParentWithTrait().
Referenced by mlir::PatternApplicator::matchAndRewrite().
|
static |
Log a message for a pattern that is impossible to match.
Definition at line 39 of file PatternApplicator.cpp.
References mlir::Pattern::getRootKind().
Referenced by mlir::PatternApplicator::applyCostModel().
|
static |
Definition at line 53 of file PatternApplicator.cpp.
Referenced by mlir::PatternApplicator::matchAndRewrite().