retagged by
8,804 views

4 Answers

4 votes
4 votes

Machine Independent optimization: Loop optimization, Redundancy elimination, folding, Strength reduction, Deadlock elimination.

Machine Dependent optimization: Register allocation, Use of addressing modes, Peephole optimization.

0 votes
0 votes
option D

machine independent optimization examples are 1 loop optimization

2 constant folding

3 loop unrolling

4 loop jamming

5 redundancy elemination

6 code motion or frequency reduction

7 strength reduction
Answer:

Related questions

1 votes
1 votes
1 answer
1
admin asked Mar 30, 2020
1,740 views
The optimization phase in a compiler generallyReduces the space of the codeOptimizes the code to reduce execution timeBoth (A) and (B)Neither (A) nor (B)
0 votes
0 votes
1 answer
2
admin asked Mar 30, 2020
1,220 views
The grammar $S\rightarrow aSb\mid bSa\mid SS\mid \varepsilon $ is:Unambiguous CFGAmbiguous CFGNot a CFGDeterministic CFG
2 votes
2 votes
1 answer
3
admin asked Mar 30, 2020
2,792 views
Which of the following statements is/are false?$S1$: $LR(0)$ grammar and $SLR(1)$ grammar are equivalent$S2$: $LR(1)$ grammar are subset of $LALR(1)$ grammars$S1$ only$S1...