Module src.optimizer
Expand source code
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
Sub-modules
src.optimizer.IRLine
-
This module abstracts the necessary lines for the linear IR to allow for easier optimization methods like constant propagation, constant folding, …
src.optimizer.IR_Lv1_Builder
-
This module serves to construct the first linear intermediate representation in the compiler.
src.optimizer.import_ir
-
This module handles ir input from a file
src.optimizer.optimizer
-
This module serves as the main interface to the optimization process in order to streamline the compiler.