Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
WrapCalls.h
Go to the documentation of this file.
1#ifndef HALIDE_WRAP_CALLS_H
2#define HALIDE_WRAP_CALLS_H
3
4/** \file
5 *
6 * Defines pass to replace calls to wrapped Functions with their wrappers.
7 */
8
9#include <map>
10#include <string>
11
12namespace Halide {
13namespace Internal {
14
15class Function;
16
17/** Replace every call to wrapped Functions in the Functions' definitions with
18 * call to their wrapper functions. */
19std::map<std::string, Function> wrap_func_calls(const std::map<std::string, Function> &env);
20
21} // namespace Internal
22} // namespace Halide
23
24#endif
std::map< std::string, Function > wrap_func_calls(const std::map< std::string, Function > &env)
Replace every call to wrapped Functions in the Functions' definitions with call to their wrapper func...
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.