Halide::Internal::StringImm Struct Reference

String constants. More...

#include <Expr.h>

Inherits Halide::Internal::ExprNode< StringImm >.

Static Public Member Functions

static const StringImmmake (const std::string &val)

Public Attributes

std::string value
- 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. More...
IRNodeType node_type
 Each IR node subclass has a unique identifier. More...

Static Public Attributes

static const IRNodeType _node_type = IRNodeType::StringImm

Additional Inherited Members

- Public Member Functions inherited from Halide::Internal::ExprNode< StringImm >
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. More...
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

Detailed Description

String constants.

Definition at line 243 of file Expr.h.

Member Function Documentation

◆ make()

static const StringImm* Halide::Internal::StringImm::make ( const std::string &  val)

Member Data Documentation

◆ value

std::string Halide::Internal::StringImm::value

Definition at line 244 of file Expr.h.

◆ _node_type

const IRNodeType Halide::Internal::StringImm::_node_type = IRNodeType::StringImm

Definition at line 248 of file Expr.h.

The documentation for this struct was generated from the following file: