|
Halide 22.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 342 of file IRVisitor.h.
|
inline |
Definition at line 516 of file IRVisitor.h.
References Halide::Internal::Stmt::get().
|
inline |
Definition at line 521 of file IRVisitor.h.
|
inline |
Definition at line 526 of file IRVisitor.h.
References Halide::Expr::get().
|
inline |
Definition at line 531 of file IRVisitor.h.