MLIR 24.0.0git
mlir::detail::PassInstrumentorImpl Struct Reference

Public Member Functions

auto lockInstrumentations ()

Public Attributes

llvm::sys::SmartMutex< true > mutex
 Mutex to keep instrumentation access thread-safe.
bool threadSafe = true
 Dispatch may run concurrently only if every instrumentation opts in.
std::vector< std::unique_ptr< PassInstrumentation > > instrumentations
 Set of registered instrumentations.

Detailed Description

Definition at line 1216 of file Pass.cpp.

Member Function Documentation

◆ lockInstrumentations()

auto mlir::detail::PassInstrumentorImpl::lockInstrumentations ( )
inline

Definition at line 1224 of file Pass.cpp.

References mutex, and threadSafe.

Member Data Documentation

◆ instrumentations

std::vector<std::unique_ptr<PassInstrumentation> > mlir::detail::PassInstrumentorImpl::instrumentations

Set of registered instrumentations.

Definition at line 1232 of file Pass.cpp.

◆ mutex

llvm::sys::SmartMutex<true> mlir::detail::PassInstrumentorImpl::mutex

Mutex to keep instrumentation access thread-safe.

Definition at line 1218 of file Pass.cpp.

Referenced by lockInstrumentations().

◆ threadSafe

bool mlir::detail::PassInstrumentorImpl::threadSafe = true

Dispatch may run concurrently only if every instrumentation opts in.

Registration finishes before the pipeline starts running.

Definition at line 1222 of file Pass.cpp.

Referenced by lockInstrumentations().


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