Lesson 9--Liveness Analysis Flashcards

1
Q

in[I]

A

Live variables at program point before I.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

out[I]

A

Live variables at program point after I

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

in[B]

A

Live variables at the beginning of B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

out[B]

A

Live variables at the end of B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Uses of I

A

All variables that I uses are live before I

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Defs of I

A

All variables live after I are also live before I, unless I writes to them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Liveness mathematically

A
in[I] = ( out[I] - def[I] ) U use[I]
out[B] = U in[B']
How well did you know this?
1
Not at all
2
3
4
5
Perfectly