Halide
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
12
namespace
Halide
{
13
namespace
Internal
{
14
15
class
Function
;
16
17
/** Replace every call to wrapped Functions in the Functions' definitions with
18
* call to their wrapper functions. */
19
std::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
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.
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...
src
WrapCalls.h
Generated by
1.8.17