Context-Sensitive Generation (CSG)
13/43
• Minimization of loading and storing between
  registers and memory:
• General rule: If a value is in a register and
   will be used “soon”, keep it in the register
Information needed :
1) Question: Which variables are needed later in the block and where?
Answer is in the Basic block table (BBT)
2) Q: Which registers are in use and what they hold?
A is in the Register association table (RAT)
3) Q: Where the current value of a variable is to be found?
A is in the Address table (AT)