Invention Grant
- Patent Title: Selecting COBOL perform statements for inlining
-
Application No.: US15264936Application Date: 2016-09-14
-
Publication No.: US10025563B2Publication Date: 2018-07-17
- 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/445
- IPC: G06F9/445 ; 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
- US20180074794A1 SELECTING COBOL PERFORM STATEMENTS FOR INLINING Public/Granted day:2018-03-15
Information query