CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::VerbosePassInstrumentation< LoggedOpTypes > Class Template Reference

#include <Passes.h>

Inheritance diagram for circt::VerbosePassInstrumentation< LoggedOpTypes >:
Collaboration diagram for circt::VerbosePassInstrumentation< LoggedOpTypes >:

Public Member Functions

 VerbosePassInstrumentation (const char *toolName)
void runBeforePass (Pass *pass, Operation *op) override
void runAfterPass (Pass *pass, Operation *op) override

Private Types

using TimePoint = llvm::sys::TimePoint<>

Private Attributes

llvm::SmallVector< TimePoint > timePoints
int level = 0
const char * toolName

Detailed Description

template<class... LoggedOpTypes>
class circt::VerbosePassInstrumentation< LoggedOpTypes >

Definition at line 24 of file Passes.h.

Member Typedef Documentation

◆ TimePoint

template<class... LoggedOpTypes>
using circt::VerbosePassInstrumentation< LoggedOpTypes >::TimePoint = llvm::sys::TimePoint<>
private

Definition at line 26 of file Passes.h.

Constructor & Destructor Documentation

◆ VerbosePassInstrumentation()

template<class... LoggedOpTypes>
circt::VerbosePassInstrumentation< LoggedOpTypes >::VerbosePassInstrumentation ( const char * toolName)
inline

Definition at line 32 of file Passes.h.

References toolName.

Member Function Documentation

◆ runAfterPass()

template<class... LoggedOpTypes>
void circt::VerbosePassInstrumentation< LoggedOpTypes >::runAfterPass ( Pass * pass,
Operation * op )
inlineoverride

Definition at line 45 of file Passes.h.

References level, timePoints, and toolName.

◆ runBeforePass()

template<class... LoggedOpTypes>
void circt::VerbosePassInstrumentation< LoggedOpTypes >::runBeforePass ( Pass * pass,
Operation * op )
inlineoverride

Definition at line 33 of file Passes.h.

References level, timePoints, and toolName.

Member Data Documentation

◆ level

template<class... LoggedOpTypes>
int circt::VerbosePassInstrumentation< LoggedOpTypes >::level = 0
private

Definition at line 28 of file Passes.h.

Referenced by runAfterPass(), and runBeforePass().

◆ timePoints

template<class... LoggedOpTypes>
llvm::SmallVector<TimePoint> circt::VerbosePassInstrumentation< LoggedOpTypes >::timePoints
private

Definition at line 27 of file Passes.h.

Referenced by runAfterPass(), and runBeforePass().

◆ toolName

template<class... LoggedOpTypes>
const char* circt::VerbosePassInstrumentation< LoggedOpTypes >::toolName
private

Definition at line 29 of file Passes.h.

Referenced by runAfterPass(), runBeforePass(), and VerbosePassInstrumentation().


The documentation for this class was generated from the following file: