2080 6

CSC376 · 2080 · 5 marks

How do you recognize basic block? Discuss about the factors that affect code generator.

How do you recognize basic block? Discuss about the factors that affect code generator. [5]

Compiler Design and ConstructionChapter 4: Intermediate Code Generation, Code Generation and OptimizationBasic blocks and flow graphs

--- A basic block is a sequence of consecutive statements in which flow of control enters at the beginning and leaves at the end without any halt or possibility of branching except at the end. First, we identify leaders (the first statement of a basic block) using the following rules: 1. Rule 1: ...