https://github.com/halide/Halide
Raw File
Tip revision: b4569042d1bd442b9dcf6817725297f427b9c20b authored by Steven Johnson on 25 June 2019, 22:05:55 UTC
forward-declare halide_buffer_t_accessor
Tip revision: b456904
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