Loading...
Searching...
No Matches
UniquifyVariableNames.h
Go to the documentation of this file.
#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
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::uniquify_variable_names
Stmt uniquify_variable_names(const Stmt &s)
Modify a statement so that every internally-defined variable name is unique.
Halide::Internal::uniquify_variable_names_test
void uniquify_variable_names_test()
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427