This patch serializes the definitions of the virtual registers.
The virtual registers are serialized using a YAML sequence of YAML inline mappings. Each mapping has the id of the virtual register and the register class. Example:
registers: - { id: 0, class: gr32 } - { id: 1, class: gr32 }
The virtual register references will be serialized in the upcoming patch. They will use the ids specified in the definitions and will have the following syntax:
%<id>