MLIR  20.0.0git
Public Member Functions | List of all members
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. More...
 
void runAfterPipeline (std::optional< OperationName > name, const PassInstrumentation::PipelineParentInfo &parentInfo)
 See PassInstrumentation::runAfterPipeline for details. More...
 
void runBeforePass (Pass *pass, Operation *op)
 See PassInstrumentation::runBeforePass for details. More...
 
void runAfterPass (Pass *pass, Operation *op)
 See PassInstrumentation::runAfterPass for details. More...
 
void runAfterPassFailed (Pass *pass, Operation *op)
 See PassInstrumentation::runAfterPassFailed for details. More...
 
void runBeforeAnalysis (StringRef name, TypeID id, Operation *op)
 See PassInstrumentation::runBeforeAnalysis for details. More...
 
void runAfterAnalysis (StringRef name, TypeID id, Operation *op)
 See PassInstrumentation::runAfterAnalysis for details. More...
 
void addInstrumentation (std::unique_ptr< PassInstrumentation > pi)
 Add the given instrumentation to the collection. More...
 

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 1005 of file Pass.cpp.

◆ PassInstrumentor() [2/3]

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

◆ PassInstrumentor() [3/3]

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

◆ ~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 1064 of file Pass.cpp.

Referenced by mlir::PassManager::addInstrumentation().

◆ runAfterAnalysis()

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

See PassInstrumentation::runAfterAnalysis for details.

Definition at line 1056 of file Pass.cpp.

◆ runAfterPass()

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

See PassInstrumentation::runAfterPass for details.

Definition at line 1034 of file Pass.cpp.

◆ runAfterPassFailed()

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

See PassInstrumentation::runAfterPassFailed for details.

Definition at line 1041 of file Pass.cpp.

◆ runAfterPipeline()

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

See PassInstrumentation::runAfterPipeline for details.

Definition at line 1018 of file Pass.cpp.

◆ runBeforeAnalysis()

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

See PassInstrumentation::runBeforeAnalysis for details.

Definition at line 1048 of file Pass.cpp.

◆ runBeforePass()

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

See PassInstrumentation::runBeforePass for details.

Definition at line 1027 of file Pass.cpp.

◆ runBeforePipeline()

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

See PassInstrumentation::runBeforePipeline for details.

Definition at line 1009 of file Pass.cpp.


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