Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Static single assignment, phi-function?

Ook bekend als: static single assignment · phi-function

Definition 8.7 University Computer Science — Year 3 · Hoofdstuk 8 — Program Analysis and Optimisation

A function is in static single assignment form if every temporary has exactly one definition in its text. Where definitions of one variable from different paths meet, at the start of a block, a ϕ\phi-function x3=ϕ(B1: x1,B2: x2)x_3 = \phi(B_1{:}\,x_1, B_2{:}\,x_2) defines a new name whose value is x1x_1 if control came from B1B_1 and x2x_2 if it came from B2B_2.

Lees in het hoofdstuk →