swh:1:snp:70f530b74f5be73cfb71c212c9e3317ce44c1ebc
Raw File
Tip revision: b2e3cc34434b48098be7301fd567f561af550221 authored by Andrew Adams on 04 October 2023, 19:22:12 UTC
Merge branch 'abadams/fix_riscv_vx_vi' into abadams/fix_7871
Tip revision: b2e3cc3
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