Module const_folding

Module const_folding 

Source

Structs§

ConstFoldingContext
ConstFoldingLibfuncInfo
Holds static information about libfuncs required for the optimization.

Functions§

const_folding
Performs constant folding on the lowered program. The optimization only works when the blocks are topologically sorted.