arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Keith D. Cooper

80 papers · 1978–2018

1978: 11979: 01980: 11981: 01982: 01983: 01984: 11985: 21986: 21987: 11988: 21989: 11990: 01991: 11992: 51993: 11994: 41995: 21996: 01997: 41998: 41999: 22000: 02001: 52002: 52003: 12004: 92005: 32006: 42007: 12008: 72009: 42010: 12011: 12012: 02013: 12014: 12015: 02016: 12017: 02018: 2
1978peak 9 in 20042018

Frequent co-authors

Papers

showing 1–25 of 80 RSS

Improvements to graph coloring register allocation

Preston Briggs, Keith D. Cooper, Linda Torczon

Hardware and Architecture · ACM Transactions on Programming Languages and Systems · · cited 387× · DOI ↗ · more like this ·

We describe two improvements to Chaitin-style graph coloring register allocators. The first, optimistic coloring , uses a stronger heuristic to find a k -coloring for the interference graph. The second extends Chaitin's treatment of rematerialization to handle a larger class of values. These techniques are complementary. Optimistic coloring decreases the number of procedures that require spill code and reduces the amount of spill code when spilling is unavoidable. Rematerialization lowers the cost of spilling some values. This paper describes both of the techniques and our experience building and using register allocators that incorporate them. It provides a detailed description of optimistic coloring and rematerialization. It presents experimental data to show the performance of several versions of the register allocator on a suite of FORTRAN programs. It discusses several insights…

The GrADS Project: Software Support for High-Level Grid Application Development

Francine Berman, Andrew A. Chien, Keith D. Cooper +9 more

Computer Networks and Communications · The International Journal of High Performance Computing Applications · · cited 321× · DOI ↗ · more like this ·

Advances in networking technologies will soon make it possible to use the global information infrastructure in a qualitatively different way—as a computational as well as an information resource. As described in the recent book The Grid: Blueprint for a New Computing Infrastructure, this Grid will connect the nation’s computers, databases, instruments, and people in a seamless web of computing and distributed intelligence, which can be used in an on-demand fashion as a problem-solving resource in many fields of human endeavor—and, in particular, science and engineering. The availability of grid resources will give rise to dramatically new classes of applications, in which computing resources are no longer localized but, rather, distributed, heterogeneous, and dynamic; computation is increasingly sophisticated and multidisciplinary; and computation is integrated into our daily lives and…

Optimizing for reduced code space using genetic algorithms

Keith D. Cooper, Philip J. Schielke, Devika Subramanian

Hardware and Architecture · · cited 321× · DOI ↗ · more like this ·

Code space is a critical issue facing designers of software for embedded systems. Many traditional compiler optimizations are designed to reduce the execution time of compiled code, but not necessarily the size of the compiled code. Further, different results can be achieved by running some optimizations more than once and changing the order in which optimizations are applied. Register allocation only complicates matters, as the interactions between different optimizations can cause more spill code to be generated. The compiler for embedded systems, then, must take care to use the best sequence of optimizations to minimize code space.Since much of the code for embedded systems is compiled once and then burned into ROM, the software designer will often tolerate much longer compile times in the hope of reducing the size of the compiled code. We take advantage of this by using a genetic…

Combining analyses, combining optimizations

Cliff Click, Keith D. Cooper

Software · ACM Transactions on Programming Languages and Systems · · cited 175× · DOI ↗ · more like this ·

Modern optimizing compilers use several passes over a program's intermediate representation to generate good code. Many of these optimizations exhibit a phase-ordering problem. Getting the best code may require iterating optimizations until a fixed point is reached. Combining these phases can lead to the discovery of more facts about the program, exposing more opportunities for optimization. This article presents a framework for describing optimizations. It shows how to combine two such frameworks and how to reason about the properties of the resulting framework. The structure of the frame work provides insight into when a combination yields better results. To make the ideas more concrete, this article presents a framework for combining constant propagation, value numbering, and unreachable-code elimination. It is an open question as to what other frameworks can be combined in this way.

Finding effective compilation sequences

Lior Almagor, Keith D. Cooper, Alexander Grosul +5 more

Hardware and Architecture · · cited 173× · DOI ↗ · more like this ·

Most modern compilers operate by applying a fixed, program-independent sequence of optimizations to all programs. Compiler writers choose a single "compilation sequence", or perhaps a couple of compilation sequences. In choosing a sequence, they may consider performance of benchmarks or other important codes. These sequences are intended as general-purpose tools, accessible through command-line flags such as -O2 and -O3.Specific compilation sequences make a significant difference in the quality of the generated code, whether compiling for speed, for space, or for other metrics. A single universal compilation sequence does not produce the best results over all programs [8, 10, 29, 32]. Finding an optimal program-specific compilation sequence is difficult because the space of potential sequences is huge and the interactions between optimizations are poorly understood. Moreover, there is…

Coloring heuristics for register allocation

Preston Briggs, Keith D. Cooper, Ken Kennedy +1 more

Computational Theory and Mathematics · ACM SIGPLAN Notices · · cited 157× · DOI ↗ · more like this ·

We describe an improvement to a heuristic introduced by Chaitin for use in graph coloring register allocation. Our modified heuristic produces better colorings, with less spill code. It has similar compile-time and implementation requirements. We present experimental data to compare the two methods.

Interprocedural side-effect analysis in linear time

Keith D. Cooper, Ken Kennedy

Artificial Intelligence · ACM SIGPLAN Notices · · cited 149× · DOI ↗ · more like this ·

We present a new method for solving Banning's alias-free flow-insensitive side-effect analysis problem. The algorithm employs a new data structure, called the binding multi-graph , along with depth-first search to achieve a running time that is linear in the size of the call multi-graph of the program. This method can be extended to produce fast algorithms for data-flow problems with more complex lattice structures.

Enhanced code compression for embedded RISC processors

Keith D. Cooper, Nathaniel McIntosh

Hardware and Architecture · · cited 149× · DOI ↗ · more like this ·

This paper explores compiler techniques for reducing the memory needed to load and run program executables. In embedded systems, where economic incentives to reduce both ram and rom are strong, the size of compiled code is increasingly important. Similarly, in mobile and network computing, the need to transmit an executable before running it places a premium on code size. Our work focuses on reducing the size of a program's code segment, using pattern-matching techniques to identify and coalesce together repeated instruction sequences. In contrast to other methods, our framework preserves the ability to run program executables directly, without an intervening decompression stage. Our compression framework is integrated into an industrial-strength optimizing compiler, which allows us to explore the interaction between code compression and classical code optimization techniques…

Interprocedural constant propagation

David Callahan, Keith D. Cooper, Ken Kennedy +1 more

Software · ACM SIGPLAN Notices · · cited 143× · DOI ↗ · more like this ·

In a compiling system that attempts to improve code for a whole program by optimizing across procedures, the compiler can generate better code for a specific procedure if it knows which variables will have constant values, and what those values will be, when the procedure is invoked. This paper presents a general algorithm for determining for each procedure in a given program the set of inputs that will have known constant values at run time. The precision of the answers provided by this method are dependent on the precision of the local analysis of individual procedures in the program. Since the algorithm is intended for use in a sophisticated software development environment in which local analysis would be provided by the source editor, the quality of the answers will depend on the amount of work the editor performs. Several reasonable strategies for local analysis with different…

The ParaScope parallel programming environment

Keith D. Cooper, Mary Hall, Robert Hood +5 more

Hardware and Architecture · Proceedings of the IEEE · · cited 134× · DOI ↗ · more like this ·

The ParaScope parallel programming environment, developed to support scientific programming of shared-memory multiprocessors, is described. It includes a collection of tools that use global program analysis to help users develop and debug parallel programs. The focus is on ParaScope's compilation system. The compilation system extends the traditional single-procedure compiler by providing a mechanism for managing the compilation of complete programs. The ParaScope editor brings both compiler analysis and user expertise to bear on program parallelization. The debugging system detects and reports timing-dependent errors, called data races, in execution of parallel programs. A project aimed at extending ParaScope to support programming in FORTRAN D, a machine-independent parallel programming language for use with both distributed-memory and shared-memory parallel computers, is described.<…

Effective partial redundancy elimination

Preston Briggs, Keith D. Cooper

Software · · cited 130× · DOI ↗ · more like this ·

Partial redundancy elimination is a code optimization with a long history of literature and implementation. In practice, its effectiveness depends on issues of naming and code shape. This paper shows that a combination of global reassociation and global value numbering can increase the effectiveness of partial redundancy elimination. By imposing a discipline on the choice of names and the shape of expressions, we are able to expose more redundancies.

Practical improvements to the construction and destruction of static single assignment form

Preston Briggs, Keith D. Cooper, Timothy J. Harvey +1 more

Hardware and Architecture · Software Practice and Experience · · cited 123× · DOI ↗ · more like this ·

Static Single Assignment (SSA) form is a program representation that is becoming increasingly popular for compiler-based code optimization. In this paper, we address three problems that have arisen in our use of SSA form. Two are variations to the SSA construction algorithms presented by Cytron et al.1 The first variation is a version of SSA form that we call ‘semi-pruned’ SSA. It offers an attractive trade-off between the cost of global data-flow analysis required to build ‘pruned’ SSA and the large number of unused ϕ-functions found in minimal SSA. The second variation speeds up the program renaming process by efficiently manipulating the stacks of names used during renaming. Our improvement reduces the number of pushes performed, in addition to more efficiently locating the stacks that should be popped. To convert code in SSA form back into an executable form, the compiler must use…

New grid scheduling and rescheduling methods in the GrADS project

Keith D. Cooper, Anshuman Dasgupta, Ken Kennedy +9 more

Computer Networks and Communications · Research Explorer (The University of Manchester) · · cited 120× · DOI ↗ · more like this ·

Summary form only given. The goal of the Grid Application Development Software (GrADS) project is to provide programming tools and an execution environment to ease program development for the grid. We present recent extensions to the GrADS software framework: 1. A new approach to scheduling workflow computations, applied to a 3D image reconstruction application; 2. A simple stop/migrate/restart approach to rescheduling grid applications, applied to a QR 3. A process-swapping approach to rescheduling, applied to an N-body simulation. Experiments validating these methods were carried out on both the GrADS MacroGrid (a small but functional grid) and the MicroGrid (a controlled emulation of the grid) and the results were demonstrated at the SC2003 conference.

Toward a framework for preparing and executing adaptive grid programs

Ken Kennedy, M. Mazina, John Mellor‐Crummey +9 more

Computer Networks and Communications · Research Explorer (The University of Manchester) · · cited 115× · DOI ↗ · more like this ·

This paper describes the program execution framework being developed by the Grid Application Development Software (GrADS) Project. The goal of this framework is to provide good resource allocation for Grid applications and to support adaptive reallocation if performance degrades because of changes in the availability of Grid resources. At the heart of this strategy is the notion of a configurable object program, which contains, in addition to application code, strategies for mapping the application to different collections of resources and a resource selection model that provides an estimate of the performance of the application on a specific collection of Grid resources. This model must be accurate enough to distinguish collections of resources that will deliver good performance from those that will not. The GrADS execution framework also provides a contract monitoring mechanism for…

Fast interprocedual alias analysis

Keith D. Cooper, Ken Kennedy

Software · · cited 115× · DOI ↗ · more like this ·

We present a new algorithm for computing interprocedural aliases due to passing parameters by reference. This algorithm runs in O(N2+NE) time and, when combined with algorithms for alias-free, flow-insensitive data-flow problems, yields algorithms for solution of the general flow-insensitive problems that also run in O(N2+NE) time.

Efficient computation of flow insensitive interprocedural summary information

Keith D. Cooper, Ken Kennedy

Computer Networks and Communications · · cited 106× · DOI ↗ · more like this ·

article Efficient computation of flow insensitive interprocedural summary information Share on Authors: Keith D. Cooper Rice University, Houston, Texas Rice University, Houston, TexasView Profile , Ken Kennedy Rice University, Houston, Texas Rice University, Houston, TexasView Profile Authors Info & Claims ACM SIGPLAN NoticesVolume 19Issue 6June 1984 pp 247–258https://doi.org/10.1145/502949.502898Online:01 June 1984Publication History 97citation347DownloadsMetricsTotal Citations97Total Downloads347Last 12 Months7Last 6 weeks2 Get Citation AlertsNew Citation Alert added!This alert has been successfully added and will be sent to:You will be notified whenever a record that you have chosen has been cited.To manage your alert preferences, click on the button below.Manage my AlertsNew Citation Alert!Please log in to your account Save to BinderSave to BinderCreate a New…

The impact of interprocedural analysis and optimization in the R <sup>n</sup> programming environment

Keith D. Cooper, Ken Kennedy, Linda Torczon

Hardware and Architecture · ACM Transactions on Programming Languages and Systems · · cited 104× · DOI ↗ · more like this ·

In spite of substantial progress in the theory of interprocedural data flow analysis, few practical compiling systems can afford to apply it to produce more efficient object programs. To perform interprocedural analysis, a compiler needs not only the source code of the module being compiled, but also information about the side effects of every procedure in the program containing that module, even separately compiled procedures. In a conventional batch compiler system, the increase in compilation time required to gather this information would make the whole process impractical. In an integrated programming environment, however, other tools can cooperate with the compiler to compute the necessary interprocedural information incrementally . as the program is being developed, decreasing both the overall cost of the analysis and the cost of individual compilations. A central goal of the R n…

AS imple, Fast Dominance Algorithm

Keith D. Cooper, Timothy J. Harvey, Ken Kennedy

Computer Networks and Communications · · cited 96× · OpenAlex ↗ · more like this ·

Th ep roblem of finding the dominators in a control-flow graph has a long history in the literature. The original algorithms suffered from a large asymptotic complexity but were easy to understand. Subsequent work improved the time bound, but generally sacrificed both simplicity and ease of implementation. This paper returns to a simple formulation of dominance as a global data-flow problem. Some insights into the natur eo f dominance lead to an implementation of an O(N 2 )a lgorithm that runs faster, in practice, than the classic Lengauer-Tarjan algorithm, which has a timebound of O(E ∗ log(N )). We compare the algorithm to Lengauer-Tarjan because it is the best known and most widely used of the fast algorithms for dominance. Working from the same implementatio ni nsights, we also rederive (from earlier work on control dependence by Ferrante, et al. )a method for calculating dominance…

ACME

Keith D. Cooper, Alexander Grosul, Timothy J. Harvey +4 more

Hardware and Architecture · · cited 95× · DOI ↗ · more like this ·

Research over the past five years has shown significant performance improvements using a technique called adaptive compilation. An adaptive compiler uses a compile-execute-analyze feedback loop to find the combination of optimizations and parameters that minimizes some performance goal, such as code size or execution time.Despite its ability to improve performance, adaptive compilation has not seen widespread use because of two obstacles: the large amounts of time that such systems have used to perform the many compilations and executions prohibits most users from adopting these systems, and the complexity inherent in a feedback-driven adaptive system has made it difficult to build and hard to use.A significant portion of the adaptive compilation process is devoted to multiple executions of the code being compiled. We have developed a technique called virtual execution to address this…

Procedure cloning

Keith D. Cooper, Mary Hall, Ken Kennedy

Hardware and Architecture · · cited 95× · DOI ↗ · more like this ·

Procedure cloning is an interprocedural optimization where the compiler creates specialized copies of procedure bodies. The authors examine the problem of procedure cloning and describe an experiment where cloning was required to make other transformations possible. They present a three-phase algorithm for deciding how to clone a program and analyze the algorithm's complexity. The algorithm finds potential improvements in forward interprocedural data-flow solutions and clones those procedures that lead to sharper information. A set of assumptions that bound both the running time of the algorithm and the expansion in code size is presented.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">&gt;</ETX>

Analyzing aliases of reference formal parameters

Keith D. Cooper

Artificial Intelligence · · cited 86× · DOI ↗ · more like this ·

Compilers for languages with call-by-reference formal parameters must deal with aliases arising from the renaming effects at call sites. This paper presents a set of techniques for analyzing aliasing patterns. The analysis is divided into detecting the introduction of aliases and tracking their propagation. The algorithm for introduction analysis is simple enough to be performed in a structured editor or parser. A data flow analysis framework is given for the propagation problem, making it possible to solve using standard algorithms from global data flow analysis. Several optimizations are shown which can shrink the size of the problem, and extensions are given to handle ALGOL-style name scoping. Finally, this technique is compared to an alternative implementation strategy and an approximate technique.

Value Numbering

Preston Briggs, Keith D. Cooper, L. Taylor Simpson

Artificial Intelligence · Software Practice and Experience · · cited 85× · DOI ↗ · more like this ·

Value numbering is a compiler-based program analysis method that allows redundant computations to be removed. This paper compares hash-based approaches derived from the classic local algorithm1 with partitioning approaches based on the work of Alpern, Wegman and Zadeck.2 Historically, the hash-based algorithm has been applied to single basic blocks or extended basic blocks. We have improved the technique to operate over the routine's dominator tree. The partitioning approach partitions the values in the routine into congruence classes and removes computations when one congruent value dominates another. We have extended this technique to remove computations that define a value in the set of available expressions (AVAIL).3 Also, we are able to apply a version of Morel and Renvoise's partial redundancy elimination4 to remove even more redundancies. The paper presents a series of hash-based…

Parascope:a Parallel Programming Environment

Conor Callahan, Keith D. Cooper, Robert Hood +2 more

Hardware and Architecture · The International Journal of Supercomputing Applications · · cited 83× · DOI ↗ · more like this ·

The ParaScope programming environment, under de velopment at Rice University, has been designed to as sist in the formulation, implementation, and debugging of parallel Fortran programs. In its implementation, ParaScope merges the technologies of automatic paral lelism detection and integrated programming environ ments. This paper discusses the issues that underlie the design of ParaScope's editor, compiler, and debugger. The editor includes mechanisms for viewing and manip ulating the program's dependence structure. The compi lation system uses information from the various tools in the programming environment to optimize entire pro grams for specific parallel architectures. The debugging system includes facilities for remote debugging on par allel machines, using information from the editor and compiler to help isolate schedule-dependent errors.

Compiler-controlled memory

Keith D. Cooper, Timothy J. Harvey

Hardware and Architecture · · cited 82× · DOI ↗ · more like this ·

Optimizations aimed at reducing the impact of memory operations on execution speed have long concentrated on improving cache performance. These efforts achieve a. reasonable level of success. The primary limit on the compiler’s ability to improve memory behavior is its im-perfect knowledge about the run-time behavior of the program. The compiler cannot completely predict run-time access patterns. There is an exception to this rule. During the reg-ister allocation phase, the compiler often must insert substantial amount,s of spill code; that is, instructions that move values from registers to memory and back again. Because the compiler itself inserts these memory instructions, it has more knowledge about them than other memory operations in the program. Spill-code operations are disjoint from the memory manipulations required by the semantics of the program being compiled, and, indeed…

Register promotion in C programs

John Lu, Keith D. Cooper

Hardware and Architecture · · cited 81× · DOI ↗ · more like this ·

The combination of pointers and pointer arithmetic in C makes the task of improving C programs somewhat more difficult than improving programs written in simpler languages like Fortran. While much work has been published that focuses on the analysis of pointers, little has appeared that uses the results of such analysis to improve the code compiled for C. This paper examines the problem of register promotion in C and presents experimental results showing that it can have dramatic effects on memory traffic.