Halide 22.0.0 Halide compiler and libraries

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. */
16 Expr qualify(const std::string &prefix, const Expr &value);
17
18} // namespace Internal
19} // namespace Halide
20
21#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::qualify
Expr qualify(const std::string &prefix, const Expr &value)
Prefix all variable names in the given expression with the prefix string.
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::Expr
A fragment of Halide syntax.
Definition: Expr.h:258