Halide 22.0.0 Halide compiler and libraries

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
Halide::Internal::ArgInfoKind::Function
@ Function
Halide::Internal::wrap_func_calls
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...
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AbstractGenerator.h:19
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.