Halide 21.0.0
Halide compiler and libraries
|
A visitor/mutator capable of passing arbitrary arguments to the visit methods using CRTP and returning any types from them. More...
#include <IRVisitor.h>
Public Member Functions | |
template<typename... Args> | |
HALIDE_ALWAYS_INLINE StmtRet | dispatch (const Stmt &s, Args &&...args) |
template<typename... Args> | |
HALIDE_ALWAYS_INLINE StmtRet | dispatch (Stmt &&s, Args &&...args) |
template<typename... Args> | |
HALIDE_ALWAYS_INLINE ExprRet | dispatch (const Expr &e, Args &&...args) |
template<typename... Args> | |
HALIDE_ALWAYS_INLINE ExprRet | dispatch (Expr &&e, Args &&...args) |
A visitor/mutator capable of passing arbitrary arguments to the visit methods using CRTP and returning any types from them.
All Expr visitors must have the same signature, and all Stmt visitors must have the same signature. Does not have default implementations of the visit methods.
Definition at line 163 of file IRVisitor.h.
|
inline |
Definition at line 337 of file IRVisitor.h.
|
inline |
Definition at line 342 of file IRVisitor.h.
|
inline |
Definition at line 347 of file IRVisitor.h.
|
inline |
Definition at line 352 of file IRVisitor.h.