picceler
A compiled DSL for image processing, built on MLIR
Loading...
Searching...
No Matches
passes.h File Reference
#include <memory>
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/Func/Transforms/FuncConversions.h"
#include "mlir/Transforms/DialectConversion.h"
#include "piccelerPasses.h.inc"

Go to the source code of this file.

Classes

struct  picceler::GenericTypeUpdatePattern
 A generic pattern that updates the types of operations based on a provided type converter. Used in KernelToMemref and OpsToFuncCalls passes to ensure that operations have the correct types after type conversion. More...

Namespaces

namespace  picceler

Macros

#define GEN_PASS_DECL
#define GEN_PASS_REGISTRATION

Functions

The following functions create instances of the various passes used in the compilation process.

Each function corresponds to a specific pass that transforms the IR in a particular way.

std::unique_ptr< mlir::Pass > picceler::createPiccelerKernelToMemrefPass ()
std::unique_ptr< mlir::Pass > picceler::createPiccelerOpsToFuncCallsPass ()
std::unique_ptr< mlir::Pass > picceler::createPiccelerToAffinePass ()
std::unique_ptr< mlir::Pass > picceler::createPiccelerToLLVMIRPass ()
std::unique_ptr< mlir::Pass > picceler::createPiccelerFiltersToConvPass ()
std::unique_ptr< mlir::Pass > picceler::createPiccelerAddProfilingPass ()

Macro Definition Documentation

◆ GEN_PASS_DECL

#define GEN_PASS_DECL

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION