sway_ir::optimize

Module constants

Source
Expand description

Optimization passes for manipulating constant values.

Constants§

CONST_FOLDING_NAME

Functions§

create_const_folding_pass
fold_constants
Find constant expressions which can be reduced to fewer operations.