For a statement \(S\) in a program, in the context of liveness analysis, the…
PYQ GATE 2021
For a statement in a program, in the context of liveness analysis, the following sets are defined:
: the set of variables used in
: the set of variables that are live at the entry of
: the set of variables that are live at the exit of
Consider a basic block that consists of two statements, followed by . Which one of the following statements is correct?
- A.
\(\text{OUT(\(S_1\))} = \text{IN ()}\) - B.
\(\text{OUT (\(S_1\))} = \text{IN ()} \cup \text{ USE ()}\) - C.
\(\text{OUT (\(S_1\))} = \text{IN () }\cup \text{ OUT ()}\) - D.
\(\text{OUT (\(S_1\))} = \text{USE ()} \cup \text{IN ()}\)
Attempted by 225 students.
Sign up free to check your answer
Sign up freeLoading lesson…

