Halide 22.0.0 Halide compiler and libraries

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
10 namespace Halide {
11 namespace 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. */
16 Stmt uniquify_variable_names(const Stmt &s);
17
18 void uniquify_variable_names_test();
19
20} // namespace Internal
21} // namespace Halide
22
23#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition: Expr.h:427