https://github.com/halide/Halide
Raw File
Tip revision: 541480b6d42bf6768e9065bc832f5bc48a642cba authored by Alex Reinking on 26 October 2021, 18:36:33 UTC
Remove SDE script since CMAKE_CROSSCOMPILING_EMULATOR does what we need.
Tip revision: 541480b
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 "Expr.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(const Stmt &s);

void uniquify_variable_names_test();

}  // namespace Internal
}  // namespace Halide

#endif
back to top