MLIR 22.0.0git
LocationSnapshot.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include <memory>
#include "mlir/Transforms/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::LocationSnapshotOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define GEN_PASS_DECL_LOCATIONSNAPSHOT

Functions

std::unique_ptr<::mlir::Passmlir::createLocationSnapshot ()
std::unique_ptr<::mlir::Passmlir::createLocationSnapshot (LocationSnapshotOptions options)
void mlir::generateLocationsFromIR (raw_ostream &os, StringRef fileName, Operation *op, OpPrintingFlags flags)
 This function generates new locations from the given IR by snapshotting the IR to the given stream, and using the printed locations within that stream.
LogicalResult mlir::generateLocationsFromIR (StringRef fileName, Operation *op, OpPrintingFlags flags)
 This function generates new locations from the given IR by snapshotting the IR to the given file, and using the printed locations within that file.
void mlir::generateLocationsFromIR (raw_ostream &os, StringRef fileName, StringRef tag, Operation *op, OpPrintingFlags flags)
 This function generates new locations from the given IR by snapshotting the IR to the given stream, and using the printed locations within that stream.
LogicalResult mlir::generateLocationsFromIR (StringRef fileName, StringRef tag, Operation *op, OpPrintingFlags flags)
 This function generates new locations from the given IR by snapshotting the IR to the given file, and using the printed locations within that file.

Macro Definition Documentation

◆ GEN_PASS_DECL_LOCATIONSNAPSHOT

#define GEN_PASS_DECL_LOCATIONSNAPSHOT

Definition at line 28 of file LocationSnapshot.h.