Title :
Computation of interprocedural definition and use dependencies
Author :
Harrold, Mary Jean ; Soffa, Mary Lou
Author_Institution :
Dept. of Comput Sci., Pittsburgh Univ., PA, USA
Abstract :
The detection of various dependencies that exist among the definitions and uses of variables in a program is necessary in many language-processing tools. The computation of definition-use dependencies that reach across procedure boundaries is considered. In particular, efficient techniques for computing interprocedural definition-use and use-definition chains and for incrementally updating the chains when a change is made in a procedure are presented. Intraprocedural definition and use information for each procedure is first abstracted and used to construct an interprocedural flow graph. The intraprocedural information is then propagated in two phases throughout the interprocedural flow graph to obtain the complete set of interprocedural reaching definitions and reachable uses. Interprocedural definition-use and use-definition chains are computed from this reaching information. The technique handles the interprocedural effects of the flow of data caused by both reference parameters and global variables, as well as supports separate compilation even in the presence of recursion. The technique has been implemented using a Sun 3/50 workstation and incorporated into an interprocedural data flow tester
Keywords :
program processors; Sun 3/50 workstation; interprocedural definition; interprocedural flow graph; language-processing tools; use dependencies; Computer science; Data analysis; Data flow computing; Flow graphs; Information analysis; Performance analysis; Performance evaluation; Sun; Testing; Workstations;
Conference_Titel :
Computer Languages, 1990., International Conference on
Conference_Location :
New Orleans, LA
Print_ISBN :
0-8186-2036-6
DOI :
10.1109/ICCL.1990.63786