Halide
|
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 159 of file IRVisitor.h.
|
inline |
Definition at line 330 of file IRVisitor.h.
|
inline |
Definition at line 335 of file IRVisitor.h.
|
inline |
Definition at line 340 of file IRVisitor.h.
|
inline |
Definition at line 345 of file IRVisitor.h.