Krzysztof Parzyszek f0471bca0b
[flang][Evaluate] Implement rewriting framework for evaluate::Expr (#153037)
The structure of evaluate::Expr is highly customized for the specific
operation or entity that it represents. The different cases are
expressed with different types, which makes the traversal and
modifications somewhat complicated. There exists a framework for
read-only traversal (traverse.h), but there is nothing that helps with
modifying evaluate::Expr.

It's rare that evaluate::Expr needs to be modified, but for the cases
where it needs to be, this code will make it easier.

---------

Co-authored-by: Tom Eccles <tom.eccles@arm.com>
2025-08-11 13:55:25 -05:00
..