Methods and devices for compiler function fusion

    公开(公告)号:US12164892B2

    公开(公告)日:2024-12-10

    申请号:US17674903

    申请日:2022-02-18

    Abstract: 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.

    Method and apparatus for functional unit balancing at program compile time

    公开(公告)号:US11755299B2

    公开(公告)日:2023-09-12

    申请号:US17355737

    申请日:2021-06-23

    CPC classification number: G06F8/4441

    Abstract: There is provided methods and apparatus to improve runtime by computer programs at compilation time. A compiler analyzes code to be translated into machine executable instructions to identify overloaded functional units of the target processor, and replaces instructions scheduled on the overloaded functional unit to an idle unit using functionally equivalent operations on the idle unit. The replacement instructions may be taken from an instruction replacement library comprising function calls that implement functionality of a functional unit of the target processor on another functional unit of the target processor.

    METHOD AND APPARATUS FOR FUNCTIONAL UNIT BALANCING AT PROGRAM COMPILE TIME

    公开(公告)号:US20220413818A1

    公开(公告)日:2022-12-29

    申请号:US17355737

    申请日:2021-06-23

    Abstract: There is provided methods and apparatus to improve runtime by computer programs at compilation time. A compiler analyzes code to be translated into machine executable instructions to identify overloaded functional units of the target processor, and replaces instructions scheduled on the overloaded functional unit to an idle unit using functionally equivalent operations on the idle unit. The replacement instructions may be taken from an instruction replacement library comprising function calls that implement functionality of a functional unit of the target processor on another functional unit of the target processor.

Patent Agency Ranking