Invention Grant
- Patent Title: Method for controlling inlining in a code generator
- Patent Title (中): 用于控制代码生成器中的内联的方法
-
Application No.: US14014571Application Date: 2013-08-30
-
Publication No.: US09304748B2Publication Date: 2016-04-05
- Inventor: Christopher A. Vick , Andres Valencia
- Applicant: QUALCOMM Incorporated
- Applicant Address: US CA San Diego
- Assignee: QUALCOMM Incorporated
- Current Assignee: QUALCOMM Incorporated
- Current Assignee Address: US CA San Diego
- Agency: The Marbury Law Group, PLLC
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/455 ; G06F11/34

Abstract:
The various aspects leverage the novel observation that the number of call sites in code is directly correlated with the code's compile time and provide methods implemented by a compiler operating on a computing device (e.g., a smartphone) for performing inline throttling based on a projected number of call sites in the code that would exist after performing inline expansion. The various aspects enable the compiler to improve the performance of the generated code by aggressive inlining while carefully managing increases in compile time, thereby decreasing the power required to compile the code while increasing performance of the computing device. Thus, by inlining enough call sites to reduce the costs of handling calls while accounting for the costs of inlining, the various aspects provide for an effective balance of short compile times and effective code performance.
Public/Granted literature
- US20150046912A1 Method for Controlling Inlining in a Code Generator Public/Granted day:2015-02-12
Information query