#ifndef HALIDE_MATLAB_OUTPUT_H #define HALIDE_MATLAB_OUTPUT_H /** \file * * Provides an output function to generate a Matlab mex API compatible object file. */ namespace llvm { class Module; class Function; class Value; } // namespace llvm namespace Halide { namespace Internal { /** Add a mexFunction wrapper definition to the module, calling the * function with the name pipeline_name. Returns the mexFunction * definition. */ llvm::Function *define_matlab_wrapper(llvm::Module *module, llvm::Function *pipeline_argv_wrapper, llvm::Function *metadata_getter); } // namespace Internal } // namespace Halide #endif