13 #ifndef CIRCT_SUPPORT_DEBUG_H
14 #define CIRCT_SUPPORT_DEBUG_H
16 #include "mlir/Pass/Pass.h"
17 #include "llvm/ADT/Twine.h"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
llvm::raw_ostream & debugHeader(llvm::StringRef str, int width=80)
Write a "header"-like string to the debug stream with a certain width.
llvm::raw_ostream & debugPassHeader(const mlir::Pass *pass, int width=80)
Write a boilerplate header for a pass to the debug stream.
llvm::raw_ostream & debugFooter(int width=80)
Write a boilerplate footer to the debug stream to indicate that a pass has ended.