Commit TP4b

This commit is contained in:
Rémi Di Guardia
2022-10-11 17:07:00 +02:00
parent 93b241c32a
commit 49092057f8
44 changed files with 2480 additions and 329 deletions
+7
View File
@@ -0,0 +1,7 @@
Lib.CFG module
==============
.. automodule:: Lib.CFG
:members:
:undoc-members:
:show-inheritance:
+7
View File
@@ -0,0 +1,7 @@
Lib.Terminator module
=====================
.. automodule:: Lib.Terminator
:members:
:undoc-members:
:show-inheritance:
+2
View File
@@ -8,12 +8,14 @@ Submodules
:maxdepth: 4
Lib.Allocator
Lib.CFG
Lib.Errors
Lib.FunctionData
Lib.LinearCode
Lib.Operands
Lib.RiscV
Lib.Statement
Lib.Terminator
Module contents
---------------
+8
View File
@@ -17,6 +17,8 @@ Welcome to MiniC's documentation!
Base library - Function data <api/Lib.FunctionData>
Linear intermediate representation <api/Lib.LinearCode>
Temporary allocation <api/Lib.Allocator>
Control Flow Graph - CFG and Basic blocks <api/Lib.CFG>
Control Flow Graph - Terminators <api/Lib.Terminator>
These pages document the various Python sources in the Lib/
folder of MiniC. You should not have to edit them *at all*.
@@ -46,6 +48,12 @@ Temporary allocation
Before implementing the all-in-memory allocator of lab 4a,
you should understand the naive allocator in the :doc:`api/Lib.Allocator`.
Control Flow Graph Intermediate representation
----------------------------------------------
The classes for the CFG and its basic blocks are in the :doc:`api/Lib.CFG`.
Each block ends with a terminator, as documented in the :doc:`api/Lib.Terminator`.
Indices and tables
==================