MLIR
20.0.0git
|
#include "PassDetail.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/IR/Verifier.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/CrashRecoveryContext.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/ToolOutputFile.h"
Go to the source code of this file.
Classes | |
struct | mlir::detail::RecoveryReproducerContext |
This class contains all of the context for generating a recovery reproducer. More... | |
struct | mlir::detail::PassCrashReproducerGenerator::Impl |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::detail | |
AttrTypeReplacer. | |
Functions | |
static void | appendReproducer (std::string &description, Operation *op, const ReproducerStreamFactory &factory, const std::string &pipelineElements, bool disableThreads, bool verifyPasses) |
static void | formatPassOpReproducerMessage (Diagnostic &os, std::pair< Pass *, Operation * > passOpPair) |
static ReproducerStreamFactory | makeReproducerStreamFactory (StringRef outputFile) |
void | printAsTextualPipeline (raw_ostream &os, StringRef anchorName, const llvm::iterator_range< OpPassManager::pass_iterator > &passes) |
Prints out the passes of the pass manager as the textual representation of pipelines. More... | |
|
static |
Definition at line 110 of file PassCrashRecovery.cpp.
References mlir::Operation::getName(), and mlir::OperationName::getStringRef().
Referenced by mlir::detail::RecoveryReproducerContext::generate(), and mlir::makeReproducer().
|
static |
Definition at line 230 of file PassCrashRecovery.cpp.
Referenced by mlir::detail::PassCrashReproducerGenerator::finalize().
|
static |
Definition at line 429 of file PassCrashRecovery.cpp.
References mlir::openOutputFile().
Referenced by mlir::PassManager::enableCrashReproducerGeneration(), and mlir::makeReproducer().
void printAsTextualPipeline | ( | raw_ostream & | os, |
StringRef | anchorName, | ||
const llvm::iterator_range< OpPassManager::pass_iterator > & | passes | ||
) |
Prints out the passes of the pass manager as the textual representation of pipelines.
Definition at line 392 of file Pass.cpp.
References mlir::Pass::printAsTextualPipeline().
Referenced by mlir::makeReproducer().