My Project
Public Member Functions | List of all members
mlir::PassInstrumentor Class Reference

#include <PassInstrumentation.h>

Public Member Functions

 PassInstrumentor ()
 
 PassInstrumentor (PassInstrumentor &&)=delete
 
 PassInstrumentor (const PassInstrumentor &)=delete
 
 ~PassInstrumentor ()
 
void runBeforePipeline (const OperationName &name, const PassInstrumentation::PipelineParentInfo &parentInfo)
 See PassInstrumentation::runBeforePipeline for details. More...
 
void runAfterPipeline (const 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, AnalysisID *id, Operation *op)
 See PassInstrumentation::runBeforeAnalysis for details. More...
 
void runAfterAnalysis (StringRef name, AnalysisID *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.

Constructor & Destructor Documentation

◆ PassInstrumentor() [1/3]

PassInstrumentor::PassInstrumentor ( )

◆ PassInstrumentor() [2/3]

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

◆ PassInstrumentor() [3/3]

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

◆ ~PassInstrumentor()

PassInstrumentor::~PassInstrumentor ( )

Member Function Documentation

◆ addInstrumentation()

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

Add the given instrumentation to the collection.

◆ runAfterAnalysis()

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

◆ runAfterPass()

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

◆ runAfterPassFailed()

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

◆ runAfterPipeline()

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

◆ runBeforeAnalysis()

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

◆ runBeforePass()

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

◆ runBeforePipeline()

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

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