Halide 14.0.0
Halide compiler and libraries
MatlabWrapper.h
Go to the documentation of this file.
1#ifndef HALIDE_MATLAB_OUTPUT_H
2#define HALIDE_MATLAB_OUTPUT_H
3
4/** \file
5 *
6 * Provides an output function to generate a Matlab mex API compatible object file.
7 */
8
9namespace llvm {
10class Module;
11class Function;
12class Value;
13} // namespace llvm
14
15namespace Halide {
16namespace Internal {
17
18/** Add a mexFunction wrapper definition to the module, calling the
19 * function with the name pipeline_name. Returns the mexFunction
20 * definition. */
21llvm::Function *define_matlab_wrapper(llvm::Module *module,
22 llvm::Function *pipeline_argv_wrapper,
23 llvm::Function *metadata_getter);
24
25} // namespace Internal
26} // namespace Halide
27
28#endif
llvm::Function * define_matlab_wrapper(llvm::Module *module, llvm::Function *pipeline_argv_wrapper, llvm::Function *metadata_getter)
Add a mexFunction wrapper definition to the module, calling the function with the name pipeline_name.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.