Module transforms

Source

Structsยง

ConstantPropagation
This pass performs constant propagation on a Program, replacing all uses of a constant with the constant itself, converting accesses into constant aggregates with the accessed value, replacing local variables bound to constants with the constant value, and folding constant expressions into constant values.
Inlining
This pass performs the following transformations on a Program: