MLIR 22.0.0git
mlir::detail::PassCrashReproducerGenerator::Impl Struct Reference

Public Member Functions

 Impl (ReproducerStreamFactory &streamFactory, bool localReproducer)

Public Attributes

ReproducerStreamFactory streamFactory
 The factory to use when generating a crash reproducer.
bool localReproducer = false
 Flag indicating if reproducer generation should be localized to the failing pass.
SmallVector< std::unique_ptr< RecoveryReproducerContext > > activeContexts
 A record of all of the currently active reproducer contexts.
SetVector< std::pair< Pass *, Operation * > > runningPasses
 The set of all currently running passes.
bool pmFlagVerifyPasses = false
 Various pass manager flags that get emitted when generating a reproducer.

Detailed Description

Definition at line 182 of file PassCrashRecovery.cpp.

Constructor & Destructor Documentation

◆ Impl()

mlir::detail::PassCrashReproducerGenerator::Impl::Impl ( ReproducerStreamFactory & streamFactory,
bool localReproducer )
inline

Definition at line 183 of file PassCrashRecovery.cpp.

References localReproducer, and streamFactory.

Member Data Documentation

◆ activeContexts

SmallVector<std::unique_ptr<RecoveryReproducerContext> > mlir::detail::PassCrashReproducerGenerator::Impl::activeContexts

A record of all of the currently active reproducer contexts.

Definition at line 194 of file PassCrashRecovery.cpp.

◆ localReproducer

bool mlir::detail::PassCrashReproducerGenerator::Impl::localReproducer = false

Flag indicating if reproducer generation should be localized to the failing pass.

Definition at line 191 of file PassCrashRecovery.cpp.

Referenced by Impl().

◆ pmFlagVerifyPasses

bool mlir::detail::PassCrashReproducerGenerator::Impl::pmFlagVerifyPasses = false

Various pass manager flags that get emitted when generating a reproducer.

Definition at line 201 of file PassCrashRecovery.cpp.

◆ runningPasses

SetVector<std::pair<Pass *, Operation *> > mlir::detail::PassCrashReproducerGenerator::Impl::runningPasses

The set of all currently running passes.

Note: This is not populated when localReproducer is true, as each pass will get its own recovery context.

Definition at line 198 of file PassCrashRecovery.cpp.

◆ streamFactory

ReproducerStreamFactory mlir::detail::PassCrashReproducerGenerator::Impl::streamFactory

The factory to use when generating a crash reproducer.

Definition at line 187 of file PassCrashRecovery.cpp.

Referenced by Impl().


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