14 #ifndef MLIR_TRANSFORMS_LOCATIONSNAPSHOT_H
15 #define MLIR_TRANSFORMS_LOCATIONSNAPSHOT_H
18 #include "llvm/ADT/StringRef.h"
25 class OpPrintingFlags;
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);
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,...