tqchen opened a new pull request, #20327: URL: https://github.com/apache/tvm/pull/20327
Prefer StructuralMap for common rewriting and StructuralWalk or StructuralVisit for common traversal. This PR adds a signature-based ExprFunctor and native Object and Expr visitors and mutators with virtual hooks for per-kind customization. Native visitors and mutators use structural fallback for objects without exact hooks. The public interfaces are grouped in object_functor.h and expr_functor.h. Concrete expression visitor and mutator defaults and table initialization live in the compiler library, while generic functor and downstream extension registration remain available in the headers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
