intermediate_code_generator: Add distinction between registers and initial results