Compiling optimized entry points for local-use-only function pointers
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generate program code for an application module at least partially defining an indirect function call configuration, comprising: loading a first address of a function by using a first symbolic reference; determining that an employed value of the first symbolic reference is used solely to perform the indirect function call in the application module; and indicating, in the generated program code, that the first symbolic reference can be resolved using a local entry point address of the function; and using a relocation record associated with the first symbolic reference in the genera
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Bartlett; Assembly Language for Power Architecture, Part 4: Function Calls and the PowerPC 64-Bit ABI, Feb. 28, 2007, http://www.ibm.com/developerworks/library/l-powasm4/.
- Christopher League et al., "Typed Compilation Against Non-Manifest Base Classes", [Online], Year 2005, pp. 1-41, [Retrieved from Internet on Oct. 24, 2019], <https://contrapunctus.net/league/research/talks/cassis05.pdf>.
- Debray et al., "Compiler Techniques for Code Compaction," Transactions on Programming Languages and Systems, vol. 22, No. 2, Mar. 2000, pp. 378-415.
- Ho et al., Optimizing the Performance of Dynamically-Linked Programs, Silicon Graphics, Inc., USENIX, 1995.
- Jose et al., Cause Clue Clauses: Error Localization using Maximum Satisfiability, University of California, Los Angeles, 2011, pp. 1-10.