MLIR
15.0.0git
|
#include "mlir/Transforms/ViewOpGraph.h"
#include "PassDetail.h"
#include "mlir/IR/Block.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Operation.h"
#include "mlir/Support/IndentedOstream.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/GraphWriter.h"
#include <utility>
Go to the source code of this file.
Typedefs | |
using | AttributeMap = llvm::StringMap< std::string > |
Functions | |
static int64_t | getLargeAttributeSizeLimit () |
Return the size limits for eliding large attributes. More... | |
static std::string | strFromOs (function_ref< void(raw_ostream &)> func) |
Return all values printed onto a stream as a string. More... | |
static std::string | escapeString (std::string str) |
Escape special characters such as ' ' and quotation marks. More... | |
static std::string | quoteString (const std::string &str) |
Put quotation marks around a given string. More... | |
static void | llvmViewGraph (Region ®ion, const Twine &name) |
Generate a CFG for a region and show it in a window. More... | |
Variables | |
static const StringRef | kLineStyleControlFlow = "dashed" |
static const StringRef | kLineStyleDataFlow = "solid" |
static const StringRef | kShapeNode = "ellipse" |
static const StringRef | kShapeNone = "plain" |
using AttributeMap = llvm::StringMap<std::string> |
Definition at line 52 of file ViewOpGraph.cpp.
|
static |
Escape special characters such as '
' and quotation marks.
Definition at line 43 of file ViewOpGraph.cpp.
References strFromOs().
|
static |
Return the size limits for eliding large attributes.
Definition at line 27 of file ViewOpGraph.cpp.
Generate a CFG for a region and show it in a window.
Definition at line 323 of file ViewOpGraph.cpp.
Referenced by mlir::Region::viewGraph().
|
static |
Put quotation marks around a given string.
Definition at line 48 of file ViewOpGraph.cpp.
|
static |
Return all values printed onto a stream as a string.
Definition at line 35 of file ViewOpGraph.cpp.
Referenced by escapeString().
|
static |
Definition at line 21 of file ViewOpGraph.cpp.
|
static |
Definition at line 22 of file ViewOpGraph.cpp.
|
static |
Definition at line 23 of file ViewOpGraph.cpp.
|
static |
Definition at line 24 of file ViewOpGraph.cpp.