Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Static single assignment, phi-function?

Também chamado de: static single assignment · phi-function

Definition 8.7 University Computer Science — Year 3 · Capítulo 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.

Ler no capítulo →