Halide 22.0.0 Halide compiler and libraries

Classes | Namespaces | Functions
ExprUsesVar.h File Reference

Defines a method to determine if an expression depends on some variables. More...

`#include "IR.h"`
`#include "IRVisitor.h"`
`#include "Scope.h"`

Go to the source code of this file.

## Classes
class | Halide::Internal::ExprUsesVars< T >

## Namespaces
namespace | Halide
| This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
namespace | Halide::Internal

## Functions
template<typename StmtOrExpr , typename T >
bool | Halide::Internal::stmt_or_expr_uses_vars (const StmtOrExpr &e, const Scope< T > &v, const Scope< Expr > &s=Scope< Expr >::empty_scope())
| Test if a statement or expression references or defines any of the variables in a scope, additionally considering variables bound to Expr's in the scope provided in the final argument. More...
template<typename StmtOrExpr >
bool | Halide::Internal::stmt_or_expr_uses_var (const StmtOrExpr &e, const std::string &v, const Scope< Expr > &s=Scope< Expr >::empty_scope())
| Test if a statement or expression references or defines the given variable, additionally considering variables bound to Expr's in the scope provided in the final argument. More...
bool | Halide::Internal::expr_uses_var (const Expr &e, const std::string &v, const Scope< Expr > &s=Scope< Expr >::empty_scope())
| Test if an expression references or defines the given variable, additionally considering variables bound to Expr's in the scope provided in the final argument. More...
bool | Halide::Internal::stmt_uses_var (const Stmt &stmt, const std::string &v, const Scope< Expr > &s=Scope< Expr >::empty_scope())
| Test if a statement references or defines the given variable, additionally considering variables bound to Expr's in the scope provided in the final argument. More...
template<typename T >
bool | Halide::Internal::expr_uses_vars (const Expr &e, const Scope< T > &v, const Scope< Expr > &s=Scope< Expr >::empty_scope())
| Test if an expression references or defines any of the variables in a scope, additionally considering variables bound to Expr's in the scope provided in the final argument. More...
template<typename T >
bool | Halide::Internal::stmt_uses_vars (const Stmt &stmt, const Scope< T > &v, const Scope< Expr > &s=Scope< Expr >::empty_scope())
| Test if a statement references or defines any of the variables in a scope, additionally considering variables bound to Expr's in the scope provided in the final argument. More...

## Detailed Description

Defines a method to determine if an expression depends on some variables.

Definition in file ExprUsesVar.h.