发明名称 TECHNIQUE FOR ALLOCATING REGISTER TO VARIABLE FOR COMPILING PROGRAM
摘要 PROBLEM TO BE SOLVED: To reduce variables not to be allocated to registers, reduce transfer of value between registers, and improve efficiency in executing a program. SOLUTION: A compiler device stores interference information indicating an interference relation between variables, selects a register according to a predetermined procedure from a reference number or more of the registers so that the same register is not allocated to the set of variables having the interference relation, allocates the register to each of the respective variables, substitutes the plurality of variables allocated to the same register with new variables, merges the interference relations for each of the plurality of variables, generates an interference relation for the new variables, updates the interference information according to the interference relation, and allocates a register selected from the reference number or more of registers according to a procedure same as the predetermined procedure to each of the variables in the program that uses the new variables so that the same register is not allocated to a set of certain variables having an interference relation based on the updated interference information. COPYRIGHT: (C)2009,JPO&INPIT
申请公布号 JP2009059001(A) 申请公布日期 2009.03.19
申请号 JP20070223143 申请日期 2007.08.29
申请人 INTERNATL BUSINESS MACH CORP <IBM> 发明人 OHIRA REI;INAGAKI TATSUSHI;NAKAIKE TAKUYA;KOMATSU HIDEAKI
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址