Start teaching the code generator about types.

Remove the concept of "R1" from the code generator API, R1 is used
internally as needed.
1 file changed