Lesson 11--Optimizations for Code Size Flashcards
1
Q
Dead register
A
A register that contains a value that was live, but now is dead.
2
Q
Unused register
A
A register that is carrying a live value for a long live range, but for much of the live range the value is unused.
3
Q
Postpass Optimization
A
--dead/unused register identification --hot region identification --spill identification --weighted bipartite graph matching --compensation code cost analysis --unused register allocation
4
Q
Compensation code starts by considering 3 regions
A
Current
Predecessor
Successor
5
Q
Current Region
A
Basic blocks corresponding to the edges in an analysis unit extension
6
Q
Predecessor Region
A
Basic blocks not in the current region, and their predecessors in current region
7
Q
Successor Region
A
Basic blocks not in the current region and their successors in the current region