|
MLIR 22.0.0git
|
#include "mlir/Pass/PassOptions.h"#include "mlir/Support/TypeID.h"#include <functional>#include <utility>#include <optional>Go to the source code of this file.
Classes | |
| class | mlir::PassRegistryEntry |
| Structure to group information about a passes and pass pipelines (argument to invoke via mlir-opt, description, pass pipeline builder). More... | |
| class | mlir::PassPipelineInfo |
| A structure to represent the information of a registered pass pipeline. More... | |
| class | mlir::PassInfo |
| A structure to represent the information for a derived pass class. More... | |
| struct | mlir::PassRegistration< ConcretePass > |
| PassRegistration provides a global initializer that registers a Pass allocation routine for a concrete pass instance. More... | |
| struct | mlir::PassPipelineRegistration< Options > |
| PassPipelineRegistration provides a global initializer that registers a Pass pipeline builder routine. More... | |
| struct | mlir::PassPipelineRegistration< EmptyPipelineOptions > |
| Convenience specialization of PassPipelineRegistration for EmptyPassOptions that does not pass an empty options struct to the pass builder function. More... | |
| class | mlir::PassPipelineCLParser |
| This class implements a command-line parser for MLIR passes. More... | |
| class | mlir::PassNameCLParser |
| This class implements a command-line parser specifically for MLIR pass names. More... | |
| struct | mlir::PassReproducerOptions |
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::detail |
| AttrTypeReplacer. | |
Typedefs | |
| using | mlir::PassRegistryFunction |
| A registry function that adds passes to the given pass manager. | |
| using | mlir::PassAllocatorFunction = std::function<std::unique_ptr<Pass>()> |
Functions | |
| void | mlir::printRegisteredPasses () |
| Prints the passes that were previously registered and stored in passRegistry. | |
| void | mlir::registerPassPipeline (StringRef arg, StringRef description, const PassRegistryFunction &function, std::function< void(function_ref< void(const detail::PassOptions &)>)> optHandler) |
| Register a specific dialect pipeline registry function with the system, typically used through the PassPipelineRegistration template. | |
| void | mlir::registerPass (const PassAllocatorFunction &function) |
| Register a specific dialect pass allocator function with the system, typically used through the PassRegistration template. | |
| LogicalResult | mlir::parsePassPipeline (StringRef pipeline, OpPassManager &pm, raw_ostream &errorStream=llvm::errs()) |
| Parse the textual representation of a pass pipeline, adding the result to 'pm' on success. | |
| FailureOr< OpPassManager > | mlir::parsePassPipeline (StringRef pipeline, raw_ostream &errorStream=llvm::errs()) |
| Parse the given textual representation of a pass pipeline, and return the parsed pipeline on success. | |