Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Basic block, leader » ?

Aussi appelé : basic block · leader

Definition 7.4 University Computer Science — Year 3 · Chapitre 7 — Intermediate Code and Code Generation

A basic block is a maximal sequence of consecutive instructions that control can enter only at the first and leave only at the last. A leader is the first instruction of a block: the first instruction of the function, every label, and every instruction that follows a jump, a branch or a return.

The control-flow graph of fib, from . The dashed blocks B3 and B6 have no predecessor: they are the jump that follows the then branch and the return added at the end of every function, and both follow a return, so no path from the entry reaches them.
The control-flow graph of fib, from Output 7.3. The dashed blocks B3 and B6 have no predecessor: they are the jump that follows the then branch and the return added at the end of every function, and both follow a return, so no path from the entry reaches them.
Lire dans le chapitre →