Methods and devices for compiler function fusion
AssigneeHuawei Technologies Co., Ltd.
InventorsMehrnoosh HEIDARPOUR, Henry KAO, Ehsan AMIRI, Congzhe CAO
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsMehrnoosh HEIDARPOUR, Henry KAO, Ehsan AMIRI, Congzhe CAO
Estimating the term…
A method for fusing functions of a software program is provided. The method includes processing an intermediate representation (IR) of the software program and determining one or more function call candidates capable of fusion based on the processed IR. The method further includes determining similarities between the function call candidates and generating a merged function of the function call candidates based on the determined similarities. The method further includes generating at least one interleaved version of the merged function and determining an optimized function version from among the merged function and the at least one interleaved version. The method further includes generating a fused function based on the determined optimized function version. In addition, a device is provided which includes a processor, and non-transitory computer readable memory having stored thereon machine-readable instructions which when executed by the processor configure the device to execute the methods disclosed herein.
A method, in an electronic device, for fusing functions of a software program, the method comprising:
A device comprising:
Dependencies are inferred from the claim text.