2024-10-13 18:38:13 +02:00
|
|
|
Search.setIndex({"docnames": ["api/Lib", "api/Lib.Allocator", "api/Lib.CFG", "api/Lib.Errors", "api/Lib.FunctionData", "api/Lib.LinearCode", "api/Lib.Operands", "api/Lib.RiscV", "api/Lib.Statement", "api/Lib.Terminator", "api/modules", "index"], "filenames": ["api/Lib.rst", "api/Lib.Allocator.rst", "api/Lib.CFG.rst", "api/Lib.Errors.rst", "api/Lib.FunctionData.rst", "api/Lib.LinearCode.rst", "api/Lib.Operands.rst", "api/Lib.RiscV.rst", "api/Lib.Statement.rst", "api/Lib.Terminator.rst", "api/modules.rst", "index.rst"], "titles": ["Lib package", "Lib.Allocator module", "Lib.CFG module", "Lib.Errors module", "Lib.FunctionData module", "Lib.LinearCode module", "Lib.Operands module", "Lib.RiscV module", "Lib.Statement module", "Lib.Terminator module", "MiniC", "Welcome to MiniC\u2019s documentation!"], "terms": {"alloc": [0, 5, 6, 10], "prepar": [0, 1, 11], "replac": [0, 1, 2, 5, 6, 8, 9, 11], "rewritecod": [0, 1, 11], "naivealloc": [0, 1, 10, 11], "cfg": [0, 9, 10, 11], "block": [0, 2, 9, 10, 11], "to_dot": [0, 2, 11], "get_bodi": [0, 2, 11], "get_all_stat": [0, 2, 11], "get_body_and_termin": [0, 2, 11], "get_label": [0, 2, 11], "get_in": [0, 2, 11], "get_termin": [0, 2, 11], "set_termin": [0, 2, 11], "get_phi": [0, 2, 11], "add_phi": [0, 2, 11], "set_phi": [0, 2, 11], "remove_all_phi": [0, 2, 11], "iter_stat": [0, 1, 2, 5, 11], "add_instruct": [0, 2, 5, 11], "fdata": [0, 1, 2, 4, 5, 11], "get_start": [0, 2, 11], "set_start": [0, 2, 11], "get_end": [0, 2, 11], "add_block": [0, 2, 11], "get_block": [0, 2, 11], "get_entri": [0, 2, 11], "add_edg": [0, 2, 11], "remove_edg": [0, 2, 11], "out_block": [0, 2, 11], "gather_def": [0, 2, 11], "linearize_na": [0, 2, 11], "print_cod": [0, 2, 5, 11], "print_dot": [0, 2, 5, 11], "error": [0, 10, 11], "minicruntimeerror": [0, 3, 10, 11], "minicinternalerror": [0, 3, 10, 11], "minicunsupportederror": [0, 3, 10, 11], "minictypeerror": [0, 3, 10, 11], "allocationerror": [0, 3, 10, 11], "functiondata": [0, 1, 2, 5, 10, 11], "get_nam": [0, 4, 11], "fresh_tmp": [0, 4, 6, 11], "fresh_offset": [0, 4, 11], "get_offset": [0, 4, 6, 11], "fresh_label": [0, 4, 11], "get_label_div_by_zero": [0, 4, 11], "linearcod": [0, 1, 4, 9, 10, 11], "get_instruct": [0, 5, 11], "add_label": [0, 5, 11], "add_com": [0, 5, 11], "add_instruction_println_int": [0, 5, 11], "operand": [0, 1, 4, 7, 8, 9, 10, 11], "condit": [0, 6, 7, 8, 9, 10, 11], "negat": [0, 6, 11], "function": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11], "dataloc": [0, 5, 6, 10, 11], "regist": [0, 1, 6, 10, 11], "zero": [0, 6, 10, 11], "ra": [0, 6, 10, 11], "sp": [0, 6, 10, 11], "gp": [0, 6, 10, 11], "tp": [0, 6, 10, 11], "A": [0, 2, 6, 8, 9, 10, 11], "": [0, 5, 6, 10], "t": [0, 6, 10, 11], "a0": [0, 6, 10, 11], "a1": [0, 6, 10, 11], "fp": [0, 4, 6, 10, 11], "gp_reg": [0, 6, 10, 11], "offset": [0, 4, 6, 10, 11], "immedi": [0, 6, 7, 10, 11], "temporari": [0, 1, 4, 5, 6, 10], "get_alloced_loc": [0, 6, 11], "temporarypool": [0, 1, 4, 6, 10, 11], "get_all_temp": [0, 6, 11], "add_tmp": [0, 6, 11], "set_temp_alloc": [0, 1, 6, 11], "renam": [0, 6, 8, 9, 10, 11], "fresh": [0, 4, 6, 11], "defin": [0, 1, 4, 6, 7, 8, 11], "copi": [0, 6, 11], "riscv": [0, 2, 4, 5, 6, 8, 10, 11], "call": [0, 1, 5, 6, 7, 8, 9, 10, 11], "jump": [0, 2, 7, 8, 9, 10, 11], "conditional_jump": [0, 7, 10, 11], "add": [0, 1, 2, 5, 6, 7, 10, 11], "mul": [0, 7, 10, 11], "div": [0, 7, 10, 11], "rem": [0, 7, 10, 11], "sub": [0, 7, 10, 11], "land": [0, 7, 10, 11], "lor": [0, 7, 10, 11], "xor": [0, 7, 10, 11], "li": [0, 7, 10, 11], "mv": [0, 7, 10, 11], "ld": [0, 7, 10, 11], "sd": [0, 7, 10, 11], "statement": [0, 2, 9, 10, 11], "regset_to_str": [0, 8, 10, 11], "us": [0, 4, 6, 8, 9, 11], "substitut": [0, 8, 9, 11], "with_arg": [0, 8, 9, 11], "printin": [0, 8, 9, 11], "comment": [0, 2, 5, 8, 10, 11], "label": [0, 2, 4, 5, 7, 8, 9, 10, 11], "name": [0, 2, 4, 5, 6, 8, 11], "instruct": [0, 1, 2, 5, 7, 8, 9, 10, 11], "ins": [0, 8, 11], "is_read_onli": [0, 8, 9, 11], "arg": [0, 8, 9, 11], "instru3a": [0, 2, 5, 7, 8, 10, 11], "absolutejump": [0, 2, 5, 7, 8, 9, 10, 11], "target": [0, 2, 8, 9, 11], "conditionaljump": [0
|