MLIR  20.0.0git
Classes | Namespaces | Typedefs | Enumerations | Functions
PassManager.h File Reference
#include "mlir/IR/Dialect.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/Support/Timing.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/iterator.h"
#include "llvm/Support/raw_ostream.h"
#include <functional>
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

class  mlir::OpPassManager
 This class represents a pass manager that runs passes on either a specific operation type, or any isolated operation. More...
 
struct  mlir::ReproducerStream
 Streams on which to output crash reproducer. More...
 
class  mlir::PassManager
 The main pass manager and pipeline builder. More...
 
class  mlir::PassManager::IRPrinterConfig
 A configuration struct provided to the IR printer instrumentation. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 AttrTypeReplacer.
 

Typedefs

using mlir::ReproducerStreamFactory = std::function< std::unique_ptr< ReproducerStream >(std::string &error)>
 Method type for constructing ReproducerStream. More...
 

Enumerations

enum class  mlir::PassDisplayMode { mlir::List , mlir::Pipeline }
 An enum describing the different display modes for the information within the pass manager. More...
 

Functions

std::string mlir::makeReproducer (StringRef anchorName, const llvm::iterator_range< OpPassManager::pass_iterator > &passes, Operation *op, StringRef outputFile, bool disableThreads=false, bool verifyPasses=false)
 
void mlir::registerPassManagerCLOptions ()
 Register a set of useful command-line options that can be used to configure a pass manager. More...
 
LogicalResult mlir::applyPassManagerCLOptions (PassManager &pm)
 Apply any values provided to the pass manager options that were registered with 'registerPassManagerOptions'. More...
 
void mlir::applyDefaultTimingPassManagerCLOptions (PassManager &pm)
 Apply any values provided to the timing manager options that were registered with registerDefaultTimingManagerOptions. More...