https://github.com/halide/Halide
Raw File
Tip revision: fcf50649117c99e4ddd6588e0f732c26c4ab940c authored by Steven Johnson on 10 November 2020, 21:34:49 UTC
tickle
Tip revision: fcf5064
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