CIRCT 22.0.0git
|
RAII helper for creating a pass header and footer automatically. More...
#include <Debug.h>
Public Member Functions | |
ScopedDebugPassLogger (const mlir::Pass *pass, unsigned width=80) | |
~ScopedDebugPassLogger () | |
Private Attributes | |
const mlir::Pass * | pass |
unsigned | width |
RAII helper for creating a pass header and footer automatically.
The heaer is printed on construction and the footer on destruction.
|
inline |
Definition at line 52 of file Debug.h.
References circt::debugPassHeader(), pass, and width.
|
inline |
Definition at line 59 of file Debug.h.
References circt::debugFooter(), pass, and width.
|
private |
Definition at line 66 of file Debug.h.
Referenced by ScopedDebugPassLogger(), and ~ScopedDebugPassLogger().
|
private |
Definition at line 67 of file Debug.h.
Referenced by ScopedDebugPassLogger(), and ~ScopedDebugPassLogger().