17#ifndef __ONERT_BACKEND_BASIC_KERNEL_GENERATOR_BASE_H__
18#define __ONERT_BACKEND_BASIC_KERNEL_GENERATOR_BASE_H__
45 using OperationVisitor::visit;
47#define OP(InternalName) \
48 void visit(const ir::operation::InternalName &) override \
50 throw std::runtime_error("KernelGenerator: NYI for operation '" #InternalName "'"); \
52#include "ir/Operations.lst"
std::unique_ptr< exec::IFunction > _return_fn
std::unique_ptr< exec::IFunction > releaseFunction()
virtual std::unique_ptr< exec::FunctionSequence > generate(ir::OperationIndex ind)=0
KernelGeneratorBase(const ir::Graph &graph)
virtual ~KernelGeneratorBase()=default