Loading...
Searching...
No Matches
WrapCalls.h
Go to the documentation of this file.
#ifndef HALIDE_WRAP_CALLS_H
#define HALIDE_WRAP_CALLS_H
/** \file
*
* Defines pass to replace calls to wrapped Functions with their wrappers.
*/
#include <map>
#include <string>
namespace Halide {
namespace Internal {
class Function;
/** Replace every call to wrapped Functions in the Functions' definitions with
* call to their wrapper functions. */
std::map<std::string, Function> wrap_func_calls(const std::map<std::string, Function> &env);
} // namespace Internal
} // namespace Halide
#endif
Halide::Internal::Function
A reference-counted handle to Halide's internal representation of a function.
Definition Function.h:39
Halide::Internal
Definition AbstractGenerator.h:24
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