MLIR  16.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 (Optional< OperationName > name, const PassInstrumentation::PipelineParentInfo &parentInfo)
 See PassInstrumentation::runBeforePipeline for details. More...
 
void runAfterPipeline (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 86 of file PassInstrumentation.h.

Constructor & Destructor Documentation

◆ PassInstrumentor() [1/3]

PassInstrumentor::PassInstrumentor ( )

Definition at line 939 of file Pass.cpp.

References ~PassInstrumentor().

◆ PassInstrumentor() [2/3]

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

◆ PassInstrumentor() [3/3]

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

◆ ~PassInstrumentor()

PassInstrumentor::~PassInstrumentor ( )
default

Referenced by PassInstrumentor().

Member Function Documentation

◆ addInstrumentation()

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

Add the given instrumentation to the collection.

Definition at line 998 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 990 of file Pass.cpp.

Referenced by mlir::detail::AnalysisMap::invalidate().

◆ runAfterPass()

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

See PassInstrumentation::runAfterPass for details.

Definition at line 968 of file Pass.cpp.

Referenced by mlir::OpPassManager::getNesting().

◆ runAfterPassFailed()

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

See PassInstrumentation::runAfterPassFailed for details.

Definition at line 975 of file Pass.cpp.

Referenced by mlir::OpPassManager::getNesting().

◆ runAfterPipeline()

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

See PassInstrumentation::runAfterPipeline for details.

Definition at line 952 of file Pass.cpp.

Referenced by mlir::OpPassManager::getNesting().

◆ runBeforeAnalysis()

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

See PassInstrumentation::runBeforeAnalysis for details.

Definition at line 982 of file Pass.cpp.

Referenced by mlir::detail::AnalysisMap::invalidate().

◆ runBeforePass()

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

See PassInstrumentation::runBeforePass for details.

Definition at line 961 of file Pass.cpp.

Referenced by mlir::OpPassManager::getNesting().

◆ runBeforePipeline()

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

See PassInstrumentation::runBeforePipeline for details.

Definition at line 943 of file Pass.cpp.

Referenced by mlir::OpPassManager::getNesting().


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