Open In App

ISRO | ISRO CS 2018 | Question 30

Like Article
Like
Save
Share
Report

DU-chains(Definition-Use) in compiler design
(A) consist of a definition of a variable and all its uses, reachable from that definition
(B) are created using a form of static code analysis
(C) are prerequisite for many compiler optimization including constant propagation and common sub-expression elimination
(D) All of the above


Answer: (D)

Explanation: A definition use chain (DU-Chain) is data structure. It consists a definition of a variable and all its uses that are reachable from that definition of variable. A definition use chain generally means the assignment of some value to a variable.

The main purpose of DU-chains is making the use-define or define-use chains is a step in liveness analysis, so that logical representations of all the variables can be identified and tracked through the code.

DU-chains (Definition-Use) in compiler design are created using a form of static code analysis. DU-chains(Definition-Use) in compiler design are prerequisite for many compiler optimization including constant propagation and common sub-expression elimination.

Option (D) is correct.

Quiz of this Question


Last Updated : 15 Oct, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads