Revision f7776c87d0eda3f16238595718e5f6422fb3318d authored by Andrew Adams on 06 September 2023, 17:06:20 UTC, committed by Andrew Adams on 06 September 2023, 17:06:20 UTC
2 parent s 013cd2b + 02865e2
Raw File
WrapCalls.h
#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
back to top