Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
UniquifyVariableNames.h
Go to the documentation of this file.
1#ifndef HALIDE_UNIQUIFY_VARIABLE_NAMES
2#define HALIDE_UNIQUIFY_VARIABLE_NAMES
3
4/** \file
5 * Defines the lowering pass that renames all variables to have unique names.
6 */
7
8#include "Expr.h"
9
10namespace Halide {
11namespace Internal {
12
13/** Modify a statement so that every internally-defined variable name
14 * is unique. This lets later passes assume syntactic equivalence is
15 * semantic equivalence. */
17
19
20} // namespace Internal
21} // namespace Halide
22
23#endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt uniquify_variable_names(const Stmt &s)
Modify a statement so that every internally-defined variable name is unique.
void uniquify_variable_names_test()
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.
Definition Expr.h:427