llvm2py.ir.module module

class Module(funcs: list[Function], global_vars: tuple[GlobalVariable])

Bases: object

Module class coresponds to the llvm module class.

funcs: dict[str, Function]

A dictionary that maps function names to their objects.

global_vars: dict[str, GlobalVariable]

A dictionary that maps global variable names to their objects.