Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Qualify.h
Go to the documentation of this file.
1#ifndef HALIDE_QUALIFY_H
2#define HALIDE_QUALIFY_H
3
4/** \file
5 *
6 * Defines methods for prefixing names in an expression with a prefix string.
7 */
8#include <string>
9
10#include "Expr.h"
11
12namespace Halide {
13namespace Internal {
14
15/** Prefix all variable names in the given expression with the prefix string. */
16Expr qualify(const std::string &prefix, const Expr &value);
17
18} // namespace Internal
19} // namespace Halide
20
21#endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Expr qualify(const std::string &prefix, const Expr &value)
Prefix all variable names in the given expression with the prefix string.
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 fragment of Halide syntax.
Definition Expr.h:258