Automatic compiler restructuring of COBOL programs into a proc p

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395709, G06F 945

Patent

active

057782326

ABSTRACT:
A compiler for compiling and optimizing a COBOL program. The invention is embodied in a front end that reads the COBOL program and generates an intermediate representation that can be optimized by later stages of the compiler. After reading the COBOL program, the compiler first coalesces the paragraphs into procedures. If a paragraph's preceding paragraph is not a potential exit point, then the paragraphs are coalesced. Next, the basic block counts of the procedures are estimated. If a basic block count exceeds a predetermined limit, then basic blocks are sliced from the procedure, placed into a new procedure, and a call to the new procedure is inserted into the sliced procedure. Finally, the compiler generates a super-procedure from the sliced procedures. The super-procedure implements the control flow of the original COBOL program. Because the resulting program behavior resembles that of a C, C++, or Fortran program, the compiler can use C, C++, or Fortran compiler technology to optimize the COBOL program.

REFERENCES:
patent: 4567574 (1986-01-01), Saade et al.
patent: 4649480 (1987-03-01), Ohki et al.
patent: 5193190 (1993-03-01), Janczya et al.
patent: 5428793 (1995-06-01), Odnert et al.
patent: 5535394 (1996-07-01), Burke et al.
patent: 5577253 (1996-11-01), Blickstein
"Incremental Global Optimization for Faster Recoupilations", Pollock L.L. et al., Int'l Comference on Computer Languages, pp. 281-290, Mar. 1990.
"The Influence of Language Semantics on Program Slicing", Hwang J. C. et al., Proc. Int'l Conference on Comp. Languages, pp. 120-127, Oct. 1988.
"Region -Based Compilation: An Introduction and Motivation", Hank R. E. et al., Proceedings of the MICRO-28, pp. 158-168, Dec. 1995.
"Object -Oriented COBOL Recycling", Sneed H. M., Proceedings of the WCRE '96, pp. 169-178, Nov. 1996.
"Interprocedural Analysis vs. Procedure Integration", Richardson S. et al., Information Processing Letters, v32, n3, pp. 137-142, Aug. 1989.
"Using Profile Information to Assist Classic Code Optimizations", Chang P. P. et al., Soft-Practice and Experience, v21 n 12, pp. 1301-1321, Dec. 1991.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Automatic compiler restructuring of COBOL programs into a proc p does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Automatic compiler restructuring of COBOL programs into a proc p, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Automatic compiler restructuring of COBOL programs into a proc p will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1216790

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.