发明名称 REGISTER ALLOCATING METHOD
摘要 PROBLEM TO BE SOLVED: To shorten compilation times by decreasing the number of variables to be allocated by substituting variable which are defined at the same time with another certain variable, regarding the substitutive variable as an object of register allocation. SOLUTION: In a compiler 10, a register allocation part 203 inputs an intermediate code 40 for the generation of a variable information table and generates the variable information table for storing reference point information, etc., on respective variables. To replace variable which are defined at a definition points at the same time with another certain variable, a substitution table is generated. When registers are searched, the variable information table allocates the registers to the generated variables, while checking the reference point information, etc. When a reference point is converted, a variable table substitute the reference by a register for reference by a variable to which the register is allocated for the generated variable. For a variable to which no register is allocated, the reference by the variable is replaced with reference from a memory.
申请公布号 JP2000029716(A) 申请公布日期 2000.01.28
申请号 JP19980195355 申请日期 1998.07.10
申请人 HITACHI LTD 发明人 HASHIMOTO HIROYUKI
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址