A set of methods for interprocedural analysis is proposed. First, an ap-proach for interprocedural constant propagation is given. Then the concept of constant propagation is extended so as to meet the needs of data de...A set of methods for interprocedural analysis is proposed. First, an ap-proach for interprocedural constant propagation is given. Then the concept of constant propagation is extended so as to meet the needs of data dependence analysis. Besides certain constant, constant range can also be propagated. The related propagating rules are introduced, and an idea for computing Return function is given. This approach can solve almost all interprocedural constant propagation problems with non-recursive calls. Second, a muItiple-version par-allelizing technique is also proposed for alias problem. The work related to this paper has been implemented on a shared-memory parallel computer.展开更多
Interprocedural analysis and optimization are very important for compilers toexploit parallelism of modern high-performance computer systems. But it is very complicated,easy to make mistakes and difficult to maintain ...Interprocedural analysis and optimization are very important for compilers toexploit parallelism of modern high-performance computer systems. But it is very complicated,easy to make mistakes and difficult to maintain and port. To solve the problem, we construct anautomatic generator of interprocedural analyzers and optimizers - IGEN. In IGEN, first a newmodel to describe the interprocedural data-flow problem is designed. It is fit for all traditionaldata-flow problems and can be used in context-sensitive algorithms. Then, the structure andthe working environment of IGEN are described in detail. Finally, the implementation of IGENand our experimental result are given.展开更多
文摘A set of methods for interprocedural analysis is proposed. First, an ap-proach for interprocedural constant propagation is given. Then the concept of constant propagation is extended so as to meet the needs of data dependence analysis. Besides certain constant, constant range can also be propagated. The related propagating rules are introduced, and an idea for computing Return function is given. This approach can solve almost all interprocedural constant propagation problems with non-recursive calls. Second, a muItiple-version par-allelizing technique is also proposed for alias problem. The work related to this paper has been implemented on a shared-memory parallel computer.
文摘Interprocedural analysis and optimization are very important for compilers toexploit parallelism of modern high-performance computer systems. But it is very complicated,easy to make mistakes and difficult to maintain and port. To solve the problem, we construct anautomatic generator of interprocedural analyzers and optimizers - IGEN. In IGEN, first a newmodel to describe the interprocedural data-flow problem is designed. It is fit for all traditionaldata-flow problems and can be used in context-sensitive algorithms. Then, the structure andthe working environment of IGEN are described in detail. Finally, the implementation of IGENand our experimental result are given.