CIRCT 22.0.0git
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
Debug.h File Reference
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Debug.h"
Include dependency graph for Debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  circt::ScopedDebugPassLogger
 RAII helper for creating a pass header and footer automatically. More...
 

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 

Macros

#define CIRCT_DEBUG_SCOPED_PASS_LOGGER(PASS)    ScopedDebugPassLogger _scopedDebugPassLogger(PASS)
 

Functions

llvm::raw_ostream & circt::debugHeader (const llvm::Twine &str, unsigned width=80)
 Write a "header"-like string to the debug stream with a certain width.
 
llvm::raw_ostream & circt::debugPassHeader (const mlir::Pass *pass, unsigned width=80)
 Write a boilerplate header for a pass to the debug stream.
 
llvm::raw_ostream & circt::debugFooter (unsigned width=80)
 Write a boilerplate footer to the debug stream to indicate that a pass has ended.
 

Macro Definition Documentation

◆ CIRCT_DEBUG_SCOPED_PASS_LOGGER

#define CIRCT_DEBUG_SCOPED_PASS_LOGGER (   PASS)     ScopedDebugPassLogger _scopedDebugPassLogger(PASS)

Definition at line 70 of file Debug.h.