Skip to main content

Module constant_prop

Module constant_prop 

Source

Structsยง

ConstEval
Evaluates expressions where both operands are constant and replaces them with simple constant assignments. This can often be applied as a result of assignment merging or constant operand simplification.
ConstOperandSimplify
Simplifies certain expressions where one operand is constant. For example: out = x * 1 to out = x