14 #ifndef MLIR_TRANSFORMS_PASSES_H 15 #define MLIR_TRANSFORMS_PASSES_H 20 #include "llvm/Support/Debug.h" 25 class GreedyRewriteConfig;
45 ArrayRef<std::string> disabledPatterns = llvm::None,
46 ArrayRef<std::string> enabledPatterns = llvm::None);
84 std::function<
void(OpPassManager &)> defaultPipelineBuilder);
109 #define GEN_PASS_REGISTRATION 110 #include "mlir/Transforms/Passes.h.inc" 114 #endif // MLIR_TRANSFORMS_PASSES_H TODO: Remove this file when SCCP and integer range analysis have been ported to the new framework...
std::unique_ptr< Pass > createControlFlowSinkPass()
Creates a pass to perform control-flow sinking.
std::unique_ptr< Pass > createInlinerPass()
Creates a pass which inlines calls and callable operations as defined by the CallGraph.
std::unique_ptr< Pass > createSCCPPass()
Creates a pass which performs sparse conditional constant propagation over nested operations...
std::unique_ptr< Pass > createCSEPass()
Creates a pass to perform common sub expression elimination.
std::unique_ptr< Pass > createSymbolDCEPass()
Creates a pass which delete symbol operations that are unreachable.
std::unique_ptr< Pass > createPrintOpStatsPass(raw_ostream &os=llvm::errs())
Creates a pass which prints the list of ops and the number of occurrences in the module.
std::unique_ptr< Pass > createTopologicalSortPass()
Creates a pass that recursively sorts nested regions without SSA dominance topologically such that...
std::unique_ptr< Pass > createSymbolPrivatizePass(ArrayRef< std::string > excludeSymbols={})
Creates a pass which marks top-level symbol operations as private unless listed in excludeSymbols...
std::unique_ptr< Pass > createStripDebugInfoPass()
Creates a pass to strip debug information from a function.
std::unique_ptr< Pass > createCanonicalizerPass()
Creates an instance of the Canonicalizer pass, configured with default settings (which can be overrid...
std::unique_ptr< Pass > createLoopInvariantCodeMotionPass()
Creates a loop invariant code motion pass that hoists loop invariant instructions out of the loop...