Skip to content
Related Articles
Open in App
Not now

Related Articles

ISRO | ISRO CS 2018 | Question 30

Improve Article
Save Article
Like Article
  • Last Updated : 15 Oct, 2020
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!