MLIR
23.0.0git
include
mlir
Transforms
ViewOpGraph.h
Go to the documentation of this file.
1
//===- ViewOpGraph.h - View/write op graphviz graphs ------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// Defines interface to produce Graphviz outputs of MLIR op within block.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef MLIR_TRANSFORMS_VIEWOPGRAPH_H_
14
#define MLIR_TRANSFORMS_VIEWOPGRAPH_H_
15
16
#include "
mlir/Support/LLVM.h
"
17
#include "llvm/Support/raw_ostream.h"
18
19
namespace
mlir
{
20
class
Pass
;
21
22
#define GEN_PASS_DECL_VIEWOPGRAPHPASS
23
#include "mlir/Transforms/Passes.h.inc"
24
25
/// Creates a pass to print op graphs with the specified output stream.
26
std::unique_ptr<Pass>
createViewOpGraphPass
(
raw_ostream
&os);
27
28
}
// namespace mlir
29
30
#endif
// MLIR_TRANSFORMS_VIEWOPGRAPH_H_
mlir::Pass
The abstract base pass class.
Definition
Pass.h:52
raw_ostream
LLVM.h
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:29
mlir::createViewOpGraphPass
std::unique_ptr< Pass > createViewOpGraphPass(raw_ostream &os)
Creates a pass to print op graphs with the specified output stream.
Definition
ViewOpGraph.cpp:466
Generated on
for MLIR by
1.14.0