Back to results

McGill University

A practical array dependence analysis for anoptimizingparallelizing C compiler

Abstract

dc:description.abstract

Accurate and efficient array dependence analysis is a crucial phase of optimizing/parallelizing compilers. The results of array dependence analysis are required for many automatic parallelism detection analyses and transformations. This thesis is concerned with the development of a dependence analysis for a certain class of loopnests in the imperative programming language C. In particular, this thesis addresses the problems of incorporating such a framework in a language that supports pointers. We propose a practical and efficient dependence testing framework built upon previously existing methods. To perform any dependence testing, a support analysis is required in order to establish a suitable environment. This support analysis has three major functions. First, it filters certain loopnests that are amenable for analysis. Second, it exposes array subscripts in terms of affine functions of loop indices. The last function is the collection of array subscript pairs in loopnests. The support analysis incorporates analysis information such as points-to information, constant propagation information and reaching definition information to yield more accurate dependence tests. An important contribution of this thesis is a statistical profiler which is used to collect information for experiments. The statistical profiler has several flags that an be set "ON" or "OFF" to support different research scenarios. Different flag settings are used for observing the effects of loop normalization, points-to analysis, constant propagation, nonperfect loopnests, delinearization and linearization on the results of the dependence testing. This thesis includes experimental results from running some benchmarks under five different scenarios. This work has been integrated into the McCAT optimizing/parallelizing C compiler. The tool is called McADT (The McCAT-Array Dependence Tester).

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
  • Justiani, J., 1962-
Advisor dc:contributor.advisor
  • Hendren, Laurie J. (Advisor)

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
897941025
Dc Identifier Other
hyrax:pg15bh14m

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

Justiani, J., 1962-. A practical array dependence analysis for anoptimizingparallelizing C compiler. McGill University, 1995. https://doi.org/10.82308/5685