(a) Describe what you understand by quadruple, triplets and indirect…

Previous year question for Compiler Design.

Question

(a) Describe what you understand by quadruple, triplets and indirect triplets. Write the quadruple, triplets and indirect triplets for the expression :

$(x+y)*(y+z)-(x+y+z)$ [10]

(b) Discuss common code optimization techniques used in compiler. Also illustrate the DAG Construction Algorithm and give the application of DAG. [10]

Related pages

More PYQs on Three Address Code - Quadruples and Triples

Open on CachedInfo