IT lexicon › Programming › Very busy expressions

Very busy expressions

Programming På svenska → Updated: 2026-11-06

The data-flow analysis that decides whether an expression is guaranteed to be computed on every path forward from a given point.

An expression like a + b is very busy at a point if every path leaving it evaluates the expression before a or b is reassigned. The analysis runs backward over the control-flow graph and merges paths by intersection, so a single path that gets by without the expression disqualifies it. It is the mirror image of available expressions: that one looks at what has already happened, this one at what is certain to happen.

The textbook use is code hoisting. The expression can be computed once before a branch instead of once in each arm, saving code size without slowing any path down. Under the name anticipability it is also one half of partial redundancy elimination; Knoop, Rüthing and Steffen's lazy code motion from 1992 is built on it.

← Back to the lexicon