![]() Leaf nodes represent identifiers, names or constants. ![]() DAG provides easy transformation on basic blocks. Directed Acyclic GraphÄirected Acyclic Graph (DAG) is a tool that depicts the structure of basic blocks, helps to see the flow of values flowing among the basic blocks, and offers optimization too. We will now see how the intermediate code is transformed into target object code (assembly code, in this case). It should be efficient in terms of CPU usage and memory management.It should carry the exact meaning of the source code. ![]() We have seen that the source code written in a higher-level language is transformed into a lower-level language that results in a lower-level object code, which should have the following minimum properties: The code generated by the compiler is an object code of some lower-level programming language, for example, assembly language. ![]() Through post code generation, optimization process can be applied on the code, but that can be seen as a part of code generation phase itself. Code generation can be considered as the final phase of compilation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |