New shape analysis and interprocedural techniques for automatic parallelization of C codes

被引:4
|
作者
Corbera, F [1 ]
Asenjo, R [1 ]
Zapata, E [1 ]
机构
[1] Univ Malaga, Comp Architecture Dept, E-29080 Malaga, Spain
关键词
parallelizing compiler; shape analysis; pointers; recursive data structures; shape graphs;
D O I
10.1023/A:1013224504467
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Automatic parallelization of codes with complex data structures is becoming very important. These complex, and often recursive, data structures are widely used in scientific computing. Shape analysis is one of the key steps in the automatic parallelization of such codes. In this paper we extend the Static Shape Graph (SSG) method to enable the successful and accurate detection of complex doubly-linked structures. We have also included an interprocedural analysis in our framework. These techniques have been implemented in a compiler, which has been validated for several C codes. In particular, we present the results the compiler achieves for the C sparse LU factorization algorithm and for a recursive code generating a tree data structure. The output SSG perfectly describes the complex data structure used in these codes.
引用
收藏
页码:37 / 64
页数:28
相关论文
共 25 条