Invention Grant
- Patent Title: Compiler for restructuring code using iteration-point algebraic difference analysis
-
Application No.: US15918334Application Date: 2018-03-12
-
Publication No.: US10558441B2Publication Date: 2020-02-11
- Inventor: Ettore Tiotto , Jose N. Amaral , Artem Chikin , Taylor Lloyd
- 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: Cantor Colburn LLP
- Agent Noah Sharkan
- Main IPC: G06F8/41
- IPC: G06F8/41

Abstract:
Embodiments of the present invention facilitate pruning a dependence graph for a loop in a computer program. An example computer-implemented method includes determining, by a compiler, a source and a sink of a dependence in the dependence graph. The method further includes determining, by the compiler, a source symbolic expression for the source, and a sink symbolic expression for the sink. The method further includes constructing, by the compiler, a difference expression using the source symbolic expression and the sink symbolic expression. The method further includes checking, by the compiler, if the difference expression is indicative of a memory overlap between the source and the sink. The method further includes, in response to the difference expression being indicative of no overlap, removing the dependence from the dependence graph, and generating object code for the computer program based on the dependence graph.
Public/Granted literature
- US20190278575A1 COMPILER FOR RESTRUCTURING CODE USING ITERATION-POINT ALGEBRAIC DIFFERENCE ANALYSIS Public/Granted day:2019-09-12
Information query