14#ifndef MLIR_TRANSFORMS_LOCATIONSNAPSHOT_H
15#define MLIR_TRANSFORMS_LOCATIONSNAPSHOT_H
18#include "llvm/ADT/StringRef.h"
28#define GEN_PASS_DECL_LOCATIONSNAPSHOT
29#include "mlir/Transforms/Passes.h.inc"
35 OpPrintingFlags flags);
40 OpPrintingFlags flags);
47 Operation *op, OpPrintingFlags flags);
52 Operation *op, OpPrintingFlags flags);
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
Set of flags used to control the behavior of the various IR print methods (e.g.
Operation is the basic unit of execution within MLIR.
The abstract base pass class.
Include the generated interface declarations.
void 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,...