|
Halide 21.0.0
Halide compiler and libraries
|
A named variable. More...
#include <IR.h>
Static Public Member Functions | |
| static Expr | make (Type type, const std::string &name) |
| static Expr | make (Type type, const std::string &name, Parameter param) |
| static Expr | make (Type type, const std::string &name, const Buffer<> &image) |
| static Expr | make (Type type, const std::string &name, ReductionDomain reduction_domain) |
| static Expr | make (Type type, const std::string &name, Buffer<> image, Parameter param, ReductionDomain reduction_domain) |
Public Attributes | |
| std::string | name |
| Parameter | param |
| References to scalar parameters, or to the dimensions of buffer parameters hang onto those expressions. | |
| Buffer | image |
| References to properties of literal image parameters. | |
| ReductionDomain | reduction_domain |
| Reduction variables hang onto their domains. | |
| Public Attributes inherited from Halide::Internal::BaseExprNode | |
| Type | type |
| Public Attributes inherited from Halide::Internal::IRNode | |
| RefCount | ref_count |
| These classes are all managed with intrusive reference counting, so we also track a reference count. | |
| IRNodeType | node_type |
| Each IR node subclass has a unique identifier. | |
Static Public Attributes | |
| static const IRNodeType | _node_type = IRNodeType::Variable |
Additional Inherited Members | |
| Public Member Functions inherited from Halide::Internal::ExprNode< Variable > | |
| void | accept (IRVisitor *v) const override |
| We use the visitor pattern to traverse IR nodes throughout the compiler, so we have a virtual accept method which accepts visitors. | |
| Expr | mutate_expr (IRMutator *v) const override |
| ExprNode () | |
| ~ExprNode () override=default | |
| Public Member Functions inherited from Halide::Internal::BaseExprNode | |
| BaseExprNode (IRNodeType t) | |
| Public Member Functions inherited from Halide::Internal::IRNode | |
| IRNode (IRNodeType t) | |
| virtual | ~IRNode ()=default |
A named variable.
Might be a loop variable, function argument, parameter, reduction variable, or something defined by a Let or LetStmt node.
Definition at line 814 of file IR.h.
References make(), name, Halide::Internal::Type, and Halide::Internal::BaseExprNode::type.
Referenced by make(), make(), make(), make(), Halide::Param< T >::operator Expr(), and Halide::user_context_value().
|
inlinestatic |
Definition at line 818 of file IR.h.
References make(), name, param, Halide::Internal::Type, and Halide::Internal::BaseExprNode::type.
|
inlinestatic |
Definition at line 822 of file IR.h.
References image, make(), name, Halide::Internal::Type, and Halide::Internal::BaseExprNode::type.
|
inlinestatic |
Definition at line 826 of file IR.h.
References make(), name, reduction_domain, Halide::Internal::Type, and Halide::Internal::BaseExprNode::type.
|
static |
References image, name, param, reduction_domain, Halide::Internal::Type, and Halide::Internal::BaseExprNode::type.
| std::string Halide::Internal::Variable::name |
| Parameter Halide::Internal::Variable::param |
| Buffer Halide::Internal::Variable::image |
| ReductionDomain Halide::Internal::Variable::reduction_domain |
|
static |