//===- ActionLogging.h - Logging Actions *- C++ -*-==========================// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef MLIR_TRACING_OBSERVERS_ACTIONLOGGING_H #define MLIR_TRACING_OBSERVERS_ACTIONLOGGING_H #include "mlir/Debug/BreakpointManager.h" #include "mlir/Debug/ExecutionContext.h" #include "mlir/IR/Action.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/raw_ostream.h" namespace mlir { namespace tracing { /// This class defines an observer that print Actions before and after execution /// on the provided stream. struct ActionLogger : public ExecutionContext::Observer { … }; } // namespace tracing } // namespace mlir #endif // MLIR_TRACING_OBSERVERS_ACTIONLOGGING_H