MLIR 22.0.0git
WalkPatternRewriteDriver.cpp File Reference
#include "mlir/Transforms/WalkPatternRewriteDriver.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/Verifier.h"
#include "mlir/IR/Visitors.h"
#include "mlir/Rewrite/PatternApplicator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/DebugLog.h"
#include "llvm/Support/ErrorHandling.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define DEBUG_TYPE   "walk-rewriter"

Functions

static void mlir::findReachableBlocks (Region &region, DenseSet< Block * > &reachableBlocks)
void mlir::walkAndApplyPatterns (Operation *op, const FrozenRewritePatternSet &patterns, RewriterBase::Listener *listener=nullptr)
 A fast walk-based pattern rewrite driver.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "walk-rewriter"

Definition at line 26 of file WalkPatternRewriteDriver.cpp.