Invention Grant
- Patent Title: Optimized entry points and local function call tailoring for function pointers
-
Application No.: US15332713Application Date: 2016-10-24
-
Publication No.: US10534593B2Publication Date: 2020-01-14
- Inventor: Michael Karl Gschwind , Ulrich Weigand
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Lieberman & Brandsdorfer, LLC
- Main IPC: G06F8/41
- IPC: G06F8/41

Abstract:
Embodiments relate to optimizing an indirect call function. More specifically, an indirect call function configuration comprises a first application module having a target function of the indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate an indirect function call. A compiler is provided to identify potential target functions and indicate the potential target functions in the program code. Additionally, the compiler determines and indicates in the program code that the function pointer value resulting from a non-call reference of a function symbol is solely used to perform indirect calls in the same module. A linker can read the indication the compiler made in the program code and optimize the indirect call function.
Public/Granted literature
- US20180113690A1 Optimized Entry Points and Local Function Call Tailoring for Function Pointers Public/Granted day:2018-04-26
Information query