Invention Grant
- Patent Title: Compiling optimized entry points for local-use-only function pointers
-
Application No.: US16029854Application Date: 2018-07-09
-
Publication No.: US10585652B2Publication Date: 2020-03-10
- 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 ; G06F9/445

Abstract:
Embodiments relate to using a local entry point with an indirect call function. A compiler is provided to determine and indicate 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, e.g. local-use-only. The compiler loads an address of a function through use of a symbolic reference. When the compiler determines that the value employed by the symbolic reference is used exclusively to perform an indirect function call, the compiler proceeds to resolve a local entry point address of the function, thereby reducing a quantity of operations to be executed.
Public/Granted literature
- US20180314504A1 Compiling Optimized Entry Points for Local-Use-Only Function Pointers Public/Granted day:2018-11-01
Information query