#include "mlir/Pass/Pass.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Transforms/CompositePass.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/Transforms/LocationSnapshot.h"
#include "mlir/Transforms/ViewOpGraph.h"
#include "llvm/Support/Debug.h"
#include <limits>
#include <memory>
#include "mlir/Transforms/Passes.h.inc"
Go to the source code of this file.
|
| namespace | mlir |
| | Include the generated interface declarations.
|
|
| std::unique_ptr< Pass > | mlir::createCanonicalizerPass (const GreedyRewriteConfig &config, ArrayRef< std::string > disabledPatterns={}, ArrayRef< std::string > enabledPatterns={}) |
| | Creates an instance of the Canonicalizer pass with the specified config.
|
| std::unique_ptr< Pass > | mlir::createInlinerPass (llvm::StringMap< OpPassManager > opPipelines) |
| | Creates an instance of the inliner pass, and use the provided pass managers when optimizing callable operations with names matching the key type.
|
| std::unique_ptr< Pass > | mlir::createInlinerPass (llvm::StringMap< OpPassManager > opPipelines, std::function< void(OpPassManager &)> defaultPipelineBuilder) |
| | Creates an instance of the inliner pass, and use the provided pass managers when optimizing callable operations with names matching the key type.
|
| std::unique_ptr< Pass > | mlir::createPrintOpStatsPass (raw_ostream &os) |
| | Creates a pass which prints the list of ops and the number of occurrences in the module.
|
| std::unique_ptr< Pass > | mlir::createPrintOpStatsPass (raw_ostream &os, bool printAsJSON) |
| | Creates a pass which prints the list of ops and the number of occurrences in the module with the output format option.
|
| std::unique_ptr< Pass > | mlir::createCompositeFixedPointPass (std::string name, llvm::function_ref< void(OpPassManager &)> populateFunc, int maxIterations=10, ConvergenceFailureAction convergenceFailureAction=ConvergenceFailureAction::Warn) |
| | Create composite pass, which runs provided set of passes until fixed point or maximum number of iterations reached.
|
◆ GEN_PASS_DECL_BUBBLEDOWNMEMORYSPACECASTS
| #define GEN_PASS_DECL_BUBBLEDOWNMEMORYSPACECASTS |
◆ GEN_PASS_DECL_CANONICALIZERPASS
| #define GEN_PASS_DECL_CANONICALIZERPASS |
◆ GEN_PASS_DECL_COMPOSITEFIXEDPOINTPASS
| #define GEN_PASS_DECL_COMPOSITEFIXEDPOINTPASS |
◆ GEN_PASS_DECL_CONTROLFLOWSINKPASS
| #define GEN_PASS_DECL_CONTROLFLOWSINKPASS |
◆ GEN_PASS_DECL_CSEPASS
| #define GEN_PASS_DECL_CSEPASS |
◆ GEN_PASS_DECL_GENERATERUNTIMEVERIFICATIONPASS
| #define GEN_PASS_DECL_GENERATERUNTIMEVERIFICATIONPASS |
◆ GEN_PASS_DECL_INLINERPASS
| #define GEN_PASS_DECL_INLINERPASS |
◆ GEN_PASS_DECL_LOOPINVARIANTCODEMOTIONPASS
| #define GEN_PASS_DECL_LOOPINVARIANTCODEMOTIONPASS |
◆ GEN_PASS_DECL_LOOPINVARIANTSUBSETHOISTINGPASS
| #define GEN_PASS_DECL_LOOPINVARIANTSUBSETHOISTINGPASS |
◆ GEN_PASS_DECL_MEM2REG
| #define GEN_PASS_DECL_MEM2REG |
◆ GEN_PASS_DECL_PRINTIRPASS
| #define GEN_PASS_DECL_PRINTIRPASS |
◆ GEN_PASS_DECL_PRINTOPSTATSPASS
| #define GEN_PASS_DECL_PRINTOPSTATSPASS |
◆ GEN_PASS_DECL_REMOVEDEADVALUESPASS
| #define GEN_PASS_DECL_REMOVEDEADVALUESPASS |
◆ GEN_PASS_DECL_SCCPPASS
| #define GEN_PASS_DECL_SCCPPASS |
◆ GEN_PASS_DECL_SROA
| #define GEN_PASS_DECL_SROA |
◆ GEN_PASS_DECL_STRIPDEBUGINFOPASS
| #define GEN_PASS_DECL_STRIPDEBUGINFOPASS |
◆ GEN_PASS_DECL_SYMBOLDCEPASS
| #define GEN_PASS_DECL_SYMBOLDCEPASS |
◆ GEN_PASS_DECL_SYMBOLPRIVATIZEPASS
| #define GEN_PASS_DECL_SYMBOLPRIVATIZEPASS |
◆ GEN_PASS_DECL_TOPOLOGICALSORTPASS
| #define GEN_PASS_DECL_TOPOLOGICALSORTPASS |
◆ GEN_PASS_DECL_TRIVIALDEADCODEELIMINATIONPASS
| #define GEN_PASS_DECL_TRIVIALDEADCODEELIMINATIONPASS |
◆ GEN_PASS_REGISTRATION
| #define GEN_PASS_REGISTRATION |
Generate the code for registering passes.
Definition at line 105 of file Passes.h.