发明名称 OPTIMIZATION METHOD FOR COMPILER, OPTIMIZER FOR A COMPILER AND STORAGE MEDIUM STORING OPTIMIZING CODE
摘要 The invention pertains to an optimization method for a compiler, comprising providing a model of inter-operand constraints of physical registers of a target-platform of a compilation; and a) providing an intermediate representation of a source code using virtual registers; b) grouping the virtual registers of the intermediate representation based on the model of inter-operand constraints into two or more groups, each group comprising at least one virtual register; c) if for at least one group at least one interference of virtual registers within the group occurs, amending the intermediate representation to resolve at least one interference and jumping to step b); otherwise d) providing a representation of a group interference graph of interferences between the groups; and e) allocating virtual registers to physical registers using a coloring scheme on the representation of the group interference graph. The invention also refers to a corresponding optimizer for a compiler and a computer-readable storage medium storing optimizing code.
申请公布号 US2013139135(A1) 申请公布日期 2013.05.30
申请号 US201013816595 申请日期 2010.08.26
申请人 DITU BOGDAN F.;BADEA DRAGOS;FREESCALE SEMICONDUCTOR ,INC. 发明人 DITU BOGDAN F.;BADEA DRAGOS
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址