Invention Grant
- Patent Title: Simulation-based code duplication
-
Application No.: US15927852Application Date: 2018-03-21
-
Publication No.: US10338903B2Publication Date: 2019-07-02
- Inventor: David Leopoldseder , Thomas Wuerthinger , Lukas Stadler
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Agency: Ferguson Braswell Fraser Kubasta PC
- Main IPC: G06F8/41
- IPC: G06F8/41

Abstract:
A method for analyzing a program may include generating an initial control flow graph (CFG) for the program, identifying merge blocks of the initial CFG, identifying predecessor-merge pairs based on identifying predecessor blocks for each merge block, simulating a duplication of each predecessor-merge pair, determining whether the duplication satisfies a precondition of each of a collection of optimizations, applying, in response to satisfying the precondition, the optimization to the duplication, and generating a simulation result for the predecessor-merge pair corresponding to the duplication. The simulation result may include the optimization and a benefit of applying the optimization to the duplication. The method may further include duplicating, in the initial CFG, a predecessor-merge pair based on the simulation result corresponding to the predecessor-merge pair.
Public/Granted literature
- US20190012154A1 SIMULATION-BASED CODE DUPLICATION Public/Granted day:2019-01-10
Information query