JUST IN TIME COMPILATION USING LINK TIME OPTIMIZATION

    公开(公告)号:US20230281030A1

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

    申请号:US17688797

    申请日:2022-03-07

    IPC分类号: G06F9/455 G06F9/445

    CPC分类号: G06F9/4552 G06F9/44521

    摘要: A first intermediate representation of a first portion of a source code implementing an application and a second intermediate representation of a second portion of the source code is received by a processing device. The first intermediate representation and the second intermediate representation is merged, at run-time, into a merged intermediate representation, wherein the first intermediate representation includes a reference to a function in the second intermediate representation. An execution flow transfer instruction within the merged intermediate representation is identified based on a run-time value of a parameter of the application. The execution flow transfer instruction references the function. A set of executable instructions implementing the function is identified within the merged intermediate representation. The execution flow transfer instruction is replaced with a copy of the set of executable instructions implementing the function.

    PARTIAL PROGRAM SPECIALIZATION AT RUNTIME
    3.
    发明申请
    PARTIAL PROGRAM SPECIALIZATION AT RUNTIME 有权
    运行期间的部分计划专业化

    公开(公告)号:US20150331700A1

    公开(公告)日:2015-11-19

    申请号:US14714054

    申请日:2015-05-15

    IPC分类号: G06F9/455 G06F9/445 G06F9/45

    摘要: A solution is proposed for implementing staging in computer programs and code specialization at runtime. Even when values are not known at compile time, many of the values used as parameters for a code section or a function are constant, and are known prior to starting the computation of the algorithm. Embodiments of the claimed subject matter propagate these values just before execution in the same way a compiler would if they were compile time constant, resulting in improved control flow and significant simplification in the computation involved.

    摘要翻译: 提出了一种解决方案,用于在运行时实现计算机程序中的分段和代码专门化。 即使在编译时不知道值时,用作代码段或函数的参数的许多值是常数,并且在开始计算算法之前已知。 所要求保护的主题的实施例在执行之前传播这些值,就像编译器在编译时间恒定时相同的方式,导致改进的控制流程和涉及的计算的显着简化。

    JUST IN TIME COMPILATION USING LINK TIME OPTIMIZATION

    公开(公告)号:US20240264853A1

    公开(公告)日:2024-08-08

    申请号:US18637355

    申请日:2024-04-16

    IPC分类号: G06F9/455 G06F9/445

    CPC分类号: G06F9/4552 G06F9/44521

    摘要: A first intermediate representation of a first portion of a source code implementing an application and a second intermediate representation of a second portion of the source code is received by a processing device. The first intermediate representation and the second intermediate representation is merged, at run-time, into a merged intermediate representation, wherein the first intermediate representation includes a reference to a function in the second intermediate representation. An execution flow transfer instruction within the merged intermediate representation is identified based on a run-time value of a parameter of the application. The execution flow transfer instruction references the function. A set of executable instructions implementing the function is identified within the merged intermediate representation. The execution flow transfer instruction is replaced with a copy of the set of executable instructions implementing the function.

    Just in time compilation using link time optimization

    公开(公告)号:US11972281B2

    公开(公告)日:2024-04-30

    申请号:US17688797

    申请日:2022-03-07

    IPC分类号: G06F9/445 G06F9/455

    CPC分类号: G06F9/4552 G06F9/44521

    摘要: A first intermediate representation of a first portion of a source code implementing an application and a second intermediate representation of a second portion of the source code is received by a processing device. The first intermediate representation and the second intermediate representation is merged, at run-time, into a merged intermediate representation, wherein the first intermediate representation includes a reference to a function in the second intermediate representation. An execution flow transfer instruction within the merged intermediate representation is identified based on a run-time value of a parameter of the application. The execution flow transfer instruction references the function. A set of executable instructions implementing the function is identified within the merged intermediate representation. The execution flow transfer instruction is replaced with a copy of the set of executable instructions implementing the function.

    Partial program specialization at runtime

    公开(公告)号:US09952843B2

    公开(公告)日:2018-04-24

    申请号:US14714054

    申请日:2015-05-15

    摘要: A solution is proposed for implementing staging in computer programs and code specialization at runtime. Even when values are not known at compile time, many of the values used as parameters for a code section or a function are constant, and are known prior to starting the computation of the algorithm. Embodiments of the claimed subject matter propagate these values just before execution in the same way a compiler would if they were compile time constant, resulting in improved control flow and significant simplification in the computation involved.