MLIR 22.0.0git
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>

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

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

Typedefs

using mlir::ReproducerStreamFactory
 Method type for constructing ReproducerStream.

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.
LogicalResult mlir::applyPassManagerCLOptions (PassManager &pm)
 Apply any values provided to the pass manager options that were registered with 'registerPassManagerOptions'.
void mlir::applyDefaultTimingPassManagerCLOptions (PassManager &pm)
 Apply any values provided to the timing manager options that were registered with registerDefaultTimingManagerOptions.