Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Copy propagation, value numbering, dead code?

También llamado: copy propagation · value numbering · dead code

Definition 8.13 University Computer Science — Year 3 · Capítulo 8 — Program Analysis and Optimisation

Copy propagation replaces a use of xx by yy where the copy x=yx = y is available: on every path to the point, it was executed and neither xx nor yy was written since. Value numbering gives each computed value a number, such that two operations with the same operator on operands with the same numbers get the same number; a computation whose value already has a temporary is replaced by a copy of it. An instruction is dead code if it can never run, or if it has no effect but writing a temporary that is not live after it; dead-code elimination removes it.

Leer en el capítulo →