picceler
Loading...
Searching...
No Matches
picceler_ops_to_func_calls_pass.cpp File Reference
#include "passes.h"
#include "spdlog/spdlog.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/SymbolTable.h"
#include "ops.h"
#include "types.h"
#include "piccelerPasses.h.inc"

Classes

struct  picceler::LoadImageToCall
 Pattern to lower LoadImageOp to a function call. More...
struct  picceler::ShowImageToCall
 Pattern to lower ShowImageOp to a function call. More...
struct  picceler::SaveImageToCall
 Pattern to lower SaveImageOp to a function call. More...
struct  picceler::BlurImageToCall
 Pattern to lower BlurOp to a function call. More...
struct  picceler::PiccelerOpsToFuncCallsPass

Namespaces

namespace  picceler

Macros

#define GEN_PASS_DEF_PICCELEROPSTOFUNCCALLS

Functions

mlir::func::FuncOp picceler::ensureRuntimeFunc (mlir::ModuleOp module, mlir::StringRef name, llvm::ArrayRef< mlir::Type > inputs, llvm::ArrayRef< mlir::Type > results, mlir::PatternRewriter &rewriter, mlir::Location loc)
 Ensures that a runtime function is declared in the module. If the function does not exist, it is created.
std::unique_ptr< mlir::Pass > picceler::createPiccelerOpsToFuncCallsPass ()

Macro Definition Documentation

◆ GEN_PASS_DEF_PICCELEROPSTOFUNCCALLS

#define GEN_PASS_DEF_PICCELEROPSTOFUNCCALLS