Halide 19.0.0
Halide compiler and libraries
|
A reference-counted handle to a statement node. More...
#include <Expr.h>
Classes | |
struct | Compare |
This lets you use a Stmt as a key in a map of the form map<Stmt, Foo, Stmt::Compare> More... | |
Public Member Functions | |
Stmt ()=default | |
Stmt (const BaseStmtNode *n) | |
HALIDE_ALWAYS_INLINE const BaseStmtNode * | get () const |
Override get() to return a BaseStmtNode * instead of an IRNode *. | |
Public Member Functions inherited from Halide::Internal::IRHandle | |
HALIDE_ALWAYS_INLINE | IRHandle ()=default |
HALIDE_ALWAYS_INLINE | IRHandle (const IRNode *p) |
void | accept (IRVisitor *v) const |
Dispatch to the correct visitor method for this node. | |
template<typename T > | |
const T * | as () const |
Downcast this ir node to its actual type (e.g. | |
IRNodeType | node_type () const |
Public Member Functions inherited from Halide::Internal::IntrusivePtr< const IRNode > | |
const IRNode * | get () const |
Access the raw pointer in a variety of ways. | |
const IRNode & | operator* () const |
const IRNode * | operator-> () const |
~IntrusivePtr () | |
HALIDE_ALWAYS_INLINE | IntrusivePtr ()=default |
HALIDE_ALWAYS_INLINE | IntrusivePtr (const IRNode *p) |
HALIDE_ALWAYS_INLINE | IntrusivePtr (const IntrusivePtr< const IRNode > &other) noexcept |
HALIDE_ALWAYS_INLINE | IntrusivePtr (IntrusivePtr< const IRNode > &&other) noexcept |
IntrusivePtr< const IRNode > & | operator= (const IntrusivePtr< const IRNode > &other) |
IntrusivePtr< const IRNode > & | operator= (IntrusivePtr< const IRNode > &&other) noexcept |
HALIDE_ALWAYS_INLINE bool | defined () const |
HALIDE_ALWAYS_INLINE bool | same_as (const IntrusivePtr &other) const |
HALIDE_ALWAYS_INLINE bool | operator< (const IntrusivePtr< const IRNode > &other) const |
HALIDE_ALWAYS_INLINE bool | is_sole_reference () const |
Additional Inherited Members | |
Protected Attributes inherited from Halide::Internal::IntrusivePtr< const IRNode > | |
const IRNode * | ptr |
|
default |
|
inline |
|
inline |
Override get() to return a BaseStmtNode * instead of an IRNode *.
Definition at line 435 of file Expr.h.
References Halide::Internal::IntrusivePtr< const IRNode >::ptr.
Referenced by Halide::Internal::VariadicVisitor< T, ExprRet, StmtRet >::dispatch().