


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



CS 5363, Fall 2007, Dr. Jeffery von Ronne
Objectives to be covered on the final by topic
v. be able to recognize loops in control flow graphs vi. be able to identify, if statements in control flow graphs vii. know what the dominator relationship signifies viii. given a simple control flow graph, be able to identify a node’s successors, predecessors, dom- inators, proper dominators, and immediate dominator ix. given a simple control flow graph, be able to derive its dominator tree x. given a control flow graph, be able write a program that has that control flow graph xi. given a dominator tree, be able to identify a node’s dominators, proper dominators, and im- mediate dominator (b) iterative dataflow analysis i. know what iterative dataflow analysis is ii. given a program along with control and transfer functions describing an iterative data flow analysis, be able to manually perform the analysis iii. be able to recognize and give examples of common analyses: (live variables, available expressions, very busy expressions, and constant propagation) (c) static single assignment form (SSA) i. know what static single assignment form is ii. understand how having SSA’s single assignment property makes dataflow problems and optimizations simpler (avoids fixed-point algorithms, has less redundancy) iii. know what φ -functions are:
(a) general i. know that optimizations are transformations (or algorithms for transformations) that preserve semantics but hopefully improve performance ii. know that optimizations usually aim to improve execution time but may also aim to improve performance with respect to other characteristics, such as reduce memory usage or power consumption iii. know the general categories of machine-independent optimizations found in Cooper’s taxonomy (Eliminate Useless/Unreachable Code, Code Motion, Specialize, Enable Other Optimizations, Eliminate Redundancy):
vi. know what live range splitting is vii. know what live range spilling is viii. know what coalescing is (d) Chaitin-Briggs bottom-up graph coloring i. be able to manually partition the definitions and uses of a variable (or virtual register) into minimally-sized live ranges ii. given a program in ILOC, be able draw an interference graph (assuming each virtual register represents a single live range) iii. know what the ‘colors’ in the interference graph represent iv. know what kinds of spill cost metrics can be used and to incorporate into the register allocation problem v. given an interference graph, be able to manually simulate the Chaitin-Briggs coloring algorithm vi. understand the trade-off involved in reserving or not reserving spill registers
bold denotes most important objective, expected to be satisfied italics denotes objectives, expected of ‘A’ students normal font denotes tertiary objectives that are less important but also desirable