MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
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. More...
 
bool localReproducer = false
 Flag indicating if reproducer generation should be localized to the failing pass. More...
 
SmallVector< std::unique_ptr< RecoveryReproducerContext > > activeContexts
 A record of all of the currently active reproducer contexts. More...
 
SetVector< std::pair< Pass *, Operation * > > runningPasses
 The set of all currently running passes. More...
 
bool pmFlagVerifyPasses = false
 Various pass manager flags that get emitted when generating a reproducer. More...
 

Detailed Description

Definition at line 185 of file PassCrashRecovery.cpp.

Constructor & Destructor Documentation

◆ Impl()

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

Definition at line 186 of file PassCrashRecovery.cpp.

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 197 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 194 of file PassCrashRecovery.cpp.

◆ pmFlagVerifyPasses

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

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

Definition at line 204 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 201 of file PassCrashRecovery.cpp.

◆ streamFactory

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

The factory to use when generating a crash reproducer.

Definition at line 190 of file PassCrashRecovery.cpp.


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