Invention Grant
- Patent Title: Selecting COBOL perform statements for inlining
-
Application No.: US15884766Application Date: 2018-01-31
-
Publication No.: US10209964B2Publication Date: 2019-02-19
- Inventor: Iain A. Ireland , Allan H. Kielstra , Artur Kink , Muntasir A. Mallick
- 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
- Agent Gilbert Harmon, Jr.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/30 ; G06F8/41

Abstract:
An approach to selecting statements for inlining in a COBOL program involving creating a PERFORM Graph (PG), determining whether the PG is a Directed Acyclic Graph (DAG), responsive to determining the PG is not a DAG, identifying a maximum sub-graph DAG corresponding to the PG, computing one or more infeasible paths associated with a Control Flow Graph (CFG), wherein the infeasible paths are induced by PERFORM range calls associated with a plurality of edges corresponding to the PG or the maximum sub-graph DAG, ordering the plurality of edges corresponding to the PG or the maximum sub-graph DAG in a list, selecting one or more edges, based on traversing the list of the plurality of edges and generating an indicator of the one or more selected edges.
Public/Granted literature
- US20180136915A1 SELECTING COBOL PERFORM STATEMENTS FOR INLINING Public/Granted day:2018-05-17
Information query