Loading...
Searching...
No Matches
Qualify.h
Go to the documentation of this file.
#ifndef HALIDE_QUALIFY_H
#define HALIDE_QUALIFY_H
/** \file
*
* Defines methods for prefixing names in an expression with a prefix string.
*/
#include <string>
#include "Expr.h"
namespace Halide {
namespace Internal {
/** Prefix all variable names in the given expression with the prefix string. */
Expr qualify(const std::string &prefix, const Expr &value);
} // 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::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::Expr
A fragment of Halide syntax.
Definition Expr.h:258