All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Register allocation, interference graph?

Also known as: register allocation · interference graph

Definition 8.15 University Computer Science — Year 3 · Chapter 8 — Program Analysis and Optimisation

Register allocation decides, for each temporary, whether it lives in a register, and which, or in memory. Two temporaries interfere if one is written at a point where the other is live and may hold a different value; the interference graph has the temporaries as vertices and an edge between each pair that interferes.

Read in context →