MLIR  20.0.0git
Namespaces | Macros | Functions
TosaToLinalg.h File Reference
#include "mlir/Dialect/Tosa/Transforms/Passes.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::tosa
 

Macros

#define GEN_PASS_DECL_TOSATOLINALG
 
#define GEN_PASS_DECL_TOSATOLINALGNAMED
 

Functions

std::unique_ptr< Passmlir::tosa::createTosaToLinalg ()
 
std::unique_ptr< Passmlir::tosa::createTosaToLinalgNamed (const TosaToLinalgNamedOptions &options=TosaToLinalgNamedOptions())
 
void mlir::tosa::addTosaToLinalgPasses (OpPassManager &pm, const TosaToLinalgOptions &options, const TosaToLinalgNamedOptions &tosaToLinalgNamedOptions=TosaToLinalgNamedOptions(), std::optional< tosa::TosaValidationOptions > validationOptions=tosa::TosaValidationOptions{ {"none"}, false, tosa::TosaLevelEnum::None})
 Populates passes to convert from TOSA to Linalg on buffers. More...
 
void mlir::tosa::registerTosaToLinalgPipelines ()
 Populates TOSA to linalg pipelines Currently, this includes only the "tosa-to-linalg-pipeline". More...
 
void mlir::tosa::populateTosaToLinalgConversionPatterns (const TypeConverter &converter, RewritePatternSet *patterns)
 Populates conversion passes from TOSA dialect to Linalg dialect. More...
 
void mlir::tosa::populateTosaToLinalgNamedConversionPatterns (RewritePatternSet *patterns, const TosaToLinalgNamedOptions &options)
 Populates conversion passes from TOSA dialect to Linalg named operations. More...
 

Macro Definition Documentation

◆ GEN_PASS_DECL_TOSATOLINALG

#define GEN_PASS_DECL_TOSATOLINALG

Definition at line 22 of file TosaToLinalg.h.

◆ GEN_PASS_DECL_TOSATOLINALGNAMED

#define GEN_PASS_DECL_TOSATOLINALGNAMED

Definition at line 23 of file TosaToLinalg.h.