Back to search

McGill University

A practical interprocedural alias analysis for an optimizing/parallelizing C compiler /

Abstract

dc:description.abstract

Accurate alias analysis is a crucial phase of optimizing/parallelizing compilers for languages which support pointer data structures. The result of the alias analysis is used by most of data-flow analyses and optimizing phases in a compiler to produce efficient code. In this thesis, we introduced a new approach for interprocedural alias analysis which determines the explicit points-to relationships between locations in an abstract stack at each program point. Two variables have a points-to relationship if one of them points, or may point, to the other one. To perform our interprocedural analysis, we have designed a new representation to capture the call-structure of the program, called the invocation graph. This is similar to the traditional call graph, with some additional properties for the recursive function calls. The invocation graph is used to follow the exact sequence of function calls and returns in the program. In this manner, the precise information is propagated to/from a function. This work has been integrated in the McCAT optimizing/parallelizing compiler for the C-language. The analysis handles both scalar variables and aggregate data structures (records and arrays). The results of the points-to analysis provides a base upon which other interprocedural analyses are built. This thesis provides both experimental results and examples to demonstrate the usefulness of the points-to analysis.

Degree

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

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Emami, Maryam
Advisor dc:contributor.advisor
  • Hendren, Laurie (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
893912374
Dc Identifier Other
hyrax:02870w718

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

Emami, Maryam. A practical interprocedural alias analysis for an optimizing/parallelizing C compiler /. McGill University, 1993. https://doi.org/10.82308/26092