Invention Grant
- Patent Title: Simulation-based code duplication
-
Application No.: US16413807Application Date: 2019-05-16
-
Publication No.: US10732946B2Publication Date: 2020-08-04
- 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
- US20190272160A1 SIMULATION-BASED CODE DUPLICATION Public/Granted day:2019-09-05
Information query