Module const_folding

Source

Structs§

ConstFoldingLibfuncInfo
Holds static information about libfuncs required for the optimization.

Functions§

const_folding
Performs constant folding on the lowered program. The optimization works better when the blocks are topologically sorted.
priv_const_folding_info
Query implementation of LoweringGroup::priv_const_folding_info.