swh:1:snp:2c68c8bd649bf1bd2cf3bf7bd4f98d247b82b5dc
Raw File
Tip revision: 7701abe7c6b7f4aaf27185973ab461d6b1956f5b authored by Z Stern on 27 August 2018, 09:04:43 UTC
Fix cases where halide_buffer_copy could copy to/from a host pointer
Tip revision: 7701abe
UniquifyVariableNames.h
#ifndef HALIDE_UNIQUIFY_VARIABLE_NAMES
#define HALIDE_UNIQUIFY_VARIABLE_NAMES

/** \file
 * Defines the lowering pass that renames all variables to have unique names.
 */

#include "IR.h"

namespace Halide {
namespace Internal {

/** Modify a statement so that every internally-defined variable name
 * is unique. This lets later passes assume syntactic equivalence is
 * semantic equivalence. */
Stmt uniquify_variable_names(Stmt s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top