

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about homework 3 for the cs 553 compiler construction course, which focuses on parallelization and alias analysis. The assignment includes exercises from the book and a program for which students are required to perform flow-sensitive, context-sensitive (fscs) and flow-insensitive, context-sensitive (fics) alias analysis. The deadline for submission is december 7, 2007, and the total points for the assignment are 100, representing 5% of the course grade.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


CS 553 Compiler Construction — Fall 2007 Homework # Parallelization and Interprocedural Analysis Due December 7, 2007
but they must be readable. Due at the beginning of class. Total points: 100, 5% of course grade^ Homework assignments are to be completed individually.^ Hand-written submissions are fine,
int g; main() {int **a, **b, *c, *d, e, f, *r, *s; S1 c = &e; S2 d = &f; S3 a = &c; S4 b = &d; S5 r = bar( a ); S6 s = bar( &d ); }
int* bar(int **z) {int *q; S7 q = *z; S8 q = &g; S9 return q; } For the above program, perform flow-sensitive, context-sensitive alias analysis (FSCS) andflow-insensitive, context-sensitive alias analysis (FICS). Showing you work will help in the assignment of partial credit. (a) For FSCS, what is the points-to set for variables r and s after statement S6? (b) For FICS, what is the points-to set for variables r and s in the main function?