|
Halide 22.0.0
Halide compiler and libraries
|
A lambda-based IR mutator that accepts multiple lambdas for overloading the base mutate() method. More...
#include <IRMutator.h>
Public Member Functions | |
| LambdaMutatorGeneric (Lambdas... lambdas) | |
| template<typename T > | |
| auto | mutate_base (const T &op) |
| Public helper to call the base mutator from lambdas. | |
| Expr | mutate (const Expr &e) override |
| This is the main interface for using a mutator. | |
| Stmt | mutate (const Stmt &e) override |
Public Member Functions inherited from Halide::Internal::IRMutator | |
| IRMutator ()=default | |
| virtual | ~IRMutator ()=default |
| std::pair< std::vector< Expr >, bool > | mutate_with_changes (const std::vector< Expr > &) |
| std::vector< Expr > | mutate (const std::vector< Expr > &exprs) |
A lambda-based IR mutator that accepts multiple lambdas for overloading the base mutate() method.
Definition at line 296 of file IRMutator.h.
|
inlineexplicit |
Definition at line 297 of file IRMutator.h.
|
inline |
Public helper to call the base mutator from lambdas.
Definition at line 306 of file IRMutator.h.
References Halide::Internal::IRMutator::mutate().
Referenced by Halide::Internal::LambdaMutatorGeneric< Lambdas >::mutate(), and Halide::Internal::LambdaMutatorGeneric< Lambdas >::mutate().
|
inlineoverridevirtual |
This is the main interface for using a mutator.
Also call these in your subclass to mutate sub-expressions and sub-statements.
Reimplemented from Halide::Internal::IRMutator.
Definition at line 310 of file IRMutator.h.
References Halide::Internal::LambdaMutatorGeneric< Lambdas >::mutate_base().
Referenced by Halide::Internal::mutate_with().
|
inlineoverridevirtual |
Reimplemented from Halide::Internal::IRMutator.
Definition at line 318 of file IRMutator.h.
References Halide::Internal::LambdaMutatorGeneric< Lambdas >::mutate_base().