picceler
Loading...
Searching...
No Matches
picceler_kernel_to_memref_pass.cpp File Reference
#include "passes.h"
#include "spdlog/spdlog.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Transforms/DialectConversion.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/IR/Builders.h"
#include "mlir/Pass/Pass.h"
#include "mlir/IR/BuiltinOps.h"
#include "ops.h"
#include "types.h"
#include "piccelerPasses.h.inc"

Classes

struct  picceler::KernelToMemref
struct  picceler::PiccelerKernelToMemrefPass
 A pass that converts KernelConstOp operations, which represent constant convolution kernels, into MemRef operations that allocate memory for the kernel and store the constant values into it. More...

Namespaces

namespace  picceler

Macros

#define GEN_PASS_DEF_PICCELERKERNELTOMEMREF

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 ()

Macro Definition Documentation

◆ GEN_PASS_DEF_PICCELERKERNELTOMEMREF

#define GEN_PASS_DEF_PICCELERKERNELTOMEMREF