MLIR 22.0.0git
mlir::PassInstrumentor Class Reference

This class holds a collection of PassInstrumentation objects, and invokes their respective call backs. More...

#include "mlir/Pass/PassInstrumentation.h"

Public Member Functions

 PassInstrumentor ()
 PassInstrumentor (PassInstrumentor &&)=delete
 PassInstrumentor (const PassInstrumentor &)=delete
 ~PassInstrumentor ()
void runBeforePipeline (std::optional< OperationName > name, const PassInstrumentation::PipelineParentInfo &parentInfo)
 See PassInstrumentation::runBeforePipeline for details.
void runAfterPipeline (std::optional< OperationName > name, const PassInstrumentation::PipelineParentInfo &parentInfo)
 See PassInstrumentation::runAfterPipeline for details.
void runBeforePass (Pass *pass, Operation *op)
 See PassInstrumentation::runBeforePass for details.
void runAfterPass (Pass *pass, Operation *op)
 See PassInstrumentation::runAfterPass for details.
void runAfterPassFailed (Pass *pass, Operation *op)
 See PassInstrumentation::runAfterPassFailed for details.
void runBeforeAnalysis (StringRef name, TypeID id, Operation *op)
 See PassInstrumentation::runBeforeAnalysis for details.
void runAfterAnalysis (StringRef name, TypeID id, Operation *op)
 See PassInstrumentation::runAfterAnalysis for details.
void addInstrumentation (std::unique_ptr< PassInstrumentation > pi)
 Add the given instrumentation to the collection.

Detailed Description

This class holds a collection of PassInstrumentation objects, and invokes their respective call backs.

Definition at line 87 of file PassInstrumentation.h.

Constructor & Destructor Documentation

◆ PassInstrumentor() [1/3]

PassInstrumentor::PassInstrumentor ( )

Definition at line 1217 of file Pass.cpp.

Referenced by PassInstrumentor(), and PassInstrumentor().

◆ PassInstrumentor() [2/3]

mlir::PassInstrumentor::PassInstrumentor ( PassInstrumentor && )
delete

References PassInstrumentor().

◆ PassInstrumentor() [3/3]

mlir::PassInstrumentor::PassInstrumentor ( const PassInstrumentor & )
delete

References PassInstrumentor().

◆ ~PassInstrumentor()

PassInstrumentor::~PassInstrumentor ( )
default

Member Function Documentation

◆ addInstrumentation()

void PassInstrumentor::addInstrumentation ( std::unique_ptr< PassInstrumentation > pi)

Add the given instrumentation to the collection.

Definition at line 1276 of file Pass.cpp.

◆ runAfterAnalysis()

void PassInstrumentor::runAfterAnalysis ( StringRef name,
TypeID id,
Operation * op )

See PassInstrumentation::runAfterAnalysis for details.

Definition at line 1268 of file Pass.cpp.

◆ runAfterPass()

void PassInstrumentor::runAfterPass ( Pass * pass,
Operation * op )

See PassInstrumentation::runAfterPass for details.

Definition at line 1246 of file Pass.cpp.

◆ runAfterPassFailed()

void PassInstrumentor::runAfterPassFailed ( Pass * pass,
Operation * op )

See PassInstrumentation::runAfterPassFailed for details.

Definition at line 1253 of file Pass.cpp.

◆ runAfterPipeline()

void PassInstrumentor::runAfterPipeline ( std::optional< OperationName > name,
const PassInstrumentation::PipelineParentInfo & parentInfo )

See PassInstrumentation::runAfterPipeline for details.

Definition at line 1230 of file Pass.cpp.

◆ runBeforeAnalysis()

void PassInstrumentor::runBeforeAnalysis ( StringRef name,
TypeID id,
Operation * op )

See PassInstrumentation::runBeforeAnalysis for details.

Definition at line 1260 of file Pass.cpp.

◆ runBeforePass()

void PassInstrumentor::runBeforePass ( Pass * pass,
Operation * op )

See PassInstrumentation::runBeforePass for details.

Definition at line 1239 of file Pass.cpp.

◆ runBeforePipeline()

void PassInstrumentor::runBeforePipeline ( std::optional< OperationName > name,
const PassInstrumentation::PipelineParentInfo & parentInfo )

See PassInstrumentation::runBeforePipeline for details.

Definition at line 1221 of file Pass.cpp.


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