Lib.FunctionData module
This file defines the base class FunctionData
,
containing metadata on a RiscV function, as well as utility
functions common to the different intermediate representations.
- class Lib.FunctionData.FunctionData(name: str)[source]
Bases:
object
Stores some metadata on a RiscV function: name of the function, label names, temporary variables (using
Lib.Operands.TemporaryPool
), and div_by_zero label.This class is usually used indirectly through the different intermediate representations we work with, such as
Lib.LinearCode.LinearCode.fdata
.