Lesson 9--Liveness Analysis Flashcards
1
Q
in[I]
A
Live variables at program point before I.
2
Q
out[I]
A
Live variables at program point after I
3
Q
in[B]
A
Live variables at the beginning of B
4
Q
out[B]
A
Live variables at the end of B
5
Q
Uses of I
A
All variables that I uses are live before I
6
Q
Defs of I
A
All variables live after I are also live before I, unless I writes to them.
7
Q
Liveness mathematically
A
in[I] = ( out[I] - def[I] ) U use[I] out[B] = U in[B']