MLIR  18.0.0git
Macros | Functions
PatternApplicator.cpp File Reference
#include "mlir/Rewrite/PatternApplicator.h"
#include "ByteCode.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.


#define DEBUG_TYPE   "pattern-application"


static void logImpossibleToMatch (const Pattern &pattern)
 Log a message for a pattern that is impossible to match. More...
static OperationgetDumpRootOp (Operation *op)
 Log IR after pattern application. More...
static void logSucessfulPatternApplication (Operation *op)

Macro Definition Documentation


#define DEBUG_TYPE   "pattern-application"

Definition at line 18 of file PatternApplicator.cpp.

Function Documentation

◆ getDumpRootOp()

static Operation* getDumpRootOp ( Operation op)

Log IR after pattern application.

Definition at line 42 of file PatternApplicator.cpp.

◆ logImpossibleToMatch()

static void logImpossibleToMatch ( const Pattern pattern)

Log a message for a pattern that is impossible to match.

Definition at line 35 of file PatternApplicator.cpp.

References mlir::Pattern::getRootKind().

Referenced by mlir::PatternApplicator::applyCostModel().

◆ logSucessfulPatternApplication()

static void logSucessfulPatternApplication ( Operation op)

Definition at line 45 of file PatternApplicator.cpp.