Back to search

McGill University

The design and implementation of an accurate array data-flow analyzer in the HPC compiler

Abstract

dc:description.abstract

Parallelizing compilers are increasingly relying on accurate data dependence information to exploit parallelism. This thesis addresses the problem of array data-flow analysis which provides more accurate information than traditional scalar data-flow analysis and array data dependence analysis. We describe the design and implementation of an array data-flow analyzer which has been integrated into our HPC compiler. The HPC compiler automatically parallelizes programs written in the HPC language, an extension of the C language, and generates SPMD codes for distributed memory machines. Two other important parts of the compiler, the automatic data and computation decomposition tool and the SPMD code generator, use the array data-flow information. We introduce the array data-flow representation source tree which allows us to compute array data-flow information more effectively and efficiently. We perform array data-flow computation from the highest dependence level to the lowest dependence level and sequence the writes by lexicographical order in the presence of multiple writes. The check of a source tree against the coverage conditions allows us to avoid any further computation once the sources have been found. We introduce our global array data-flow analysis to compute array data-flow information beyond a single loop nest. This is useful for advanced program transformation and optimizations in the scope of a cluster of loop nests. We have investigated the pragmatic issues of applying Feautrier's method in the HPC compiler framework. We have performed experiments of both local array data-flow analysis and global array data-flow analysis on seven programs of the Perfect Benchmarks, under the platform of the HPC compiler. The experimental results show that our method has acceptable performances for analyzing scientific and engineering applications.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
1995

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wen, Renhua
Advisor dc:contributor.advisor
  • Gao, G. R. (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
897940554
Dc Identifier Other
hyrax:4t64gq31q

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Wen, Renhua. The design and implementation of an accurate array data-flow analyzer in the HPC compiler. McGill University, 1995. https://doi.org/10.82308/8670