Concept Flow - Available expressions analysis
Start: Entry block
Initialize: All expressions not available
For each block
Compute IN set: Intersection of predecessors' OUT sets
Compute OUT set: GEN union (IN - KILL)
Check if IN or OUT changed
Repeat analysis
The analysis starts with no expressions available, then iteratively computes IN and OUT sets for each block until no changes occur, indicating all available expressions are found.