Internal::Stmt#

struct Stmt : public Halide::Internal::IRHandle#

A reference-counted handle to a statement node.

Public Functions

inline const BaseStmtNode *get() const#

Override get() to return a BaseStmtNode * instead of an IRNode *.

struct Compare#

This lets you use a Stmt as a key in a map of the form map<Stmt, Foo, Stmt::Compare>.