Go to the source code of this file.
Defines | |
| #define | BR 1 |
| #define | BRT 2 |
| #define | BRF 3 |
| #define | CLL 4 |
| #define | LBL 5 |
| #define | EXT 6 |
| #define | LBA 7 |
| #define | BFN 9 |
| #define | TFB 10 |
| #define | TFE 11 |
| #define | PRO 12 |
| #define | ADT 13 |
| #define | ERR 14 |
| #define | BSF 15 |
| #define | LBR 16 |
| #define | DDT 17 |
| #define | FDT 18 |
| #define | MAX_LABEL_OP 19 |
| #define | DCL 20 |
| #define | DCL_ADDR 1 |
| #define | DCL_INT 2 |
| #define | DCL_FLOAT 3 |
| #define | DCL_DBL_FLOAT 4 |
| #define | UDC 21 |
| #define | ALH 22 |
| #define | GAR 23 |
| #define | ALS 24 |
| #define | LDI 25 |
| #define | STI 26 |
| #define | CLI 27 |
| #define | LDN 28 |
| #define | RTN 29 |
| #define | LDL 30 |
| #define | MOV 31 |
| #define | TAR 32 |
| #define | PSH 33 |
| #define | ADP 35 |
| #define | CLC 36 |
| #define | ALA 37 |
| #define | HINT 38 |
| #define | OPT 1 |
| #define | NP 2 |
| #define | AL 3 |
| #define | DEA 4 |
| #define | NSC 5 |
| #define | STSZ 6 |
| #define | PT 7 |
| #define | DEAD 8 |
| #define | GFU 9 |
| #define | LIVE 10 |
| #define | ET 11 |
| #define | ONS 12 |
| #define | ARG 39 |
| #define | ADI 40 |
| #define | SBI 41 |
| #define | MLI 42 |
| #define | DVI 43 |
| #define | NGI 44 |
| #define | IDT 45 |
| #define | EQI 46 |
| #define | LTI 47 |
| #define | GTI 48 |
| #define | NEI 49 |
| #define | LEI 50 |
| #define | GEI 51 |
| #define | SHI 52 |
| #define | ABI 53 |
| #define | TRU 60 |
| #define | FLS 61 |
| #define | AND 62 |
| #define | OR 63 |
| #define | NOT 64 |
| #define | LDS 70 |
| #define | LDC 71 |
| #define | ADF 80 |
| #define | SBF 81 |
| #define | MLF 82 |
| #define | DVF 83 |
| #define | NGF 84 |
| #define | EXF 85 |
| #define | EQF 86 |
| #define | LTF 87 |
| #define | GTF 88 |
| #define | NEF 89 |
| #define | LEF 90 |
| #define | GEF 91 |
| #define | SHF 92 |
| #define | N_OP_CODES 100 |
| #define | AR 1 |
| #define | SP 2 |
| #define | GF 3 |
| #define | UN 4 |
| #define | SK 5 |
| #define | RL 6 |
| #define | RS 0x30000000 |
| #define | TL 8 |
| #define | C0 10 |
| #define | C1 11 |
| #define | C2 12 |
| #define | C3 13 |
| #define | C4 14 |
| #define | T1 RL |
| #define | T2 16 |
| #define | FIRST_AVAIL_LOC 20 |
| #define | AR_SL 0 |
| #define | FO_SIZE 0 |
| #define | FO_EP 1 |
| #define | FO_IP 2 |
| #define ABI 53 |
| #define ADF 80 |
| #define ADI 40 |
| #define ADP 35 |
| #define ADT 13 |
| #define AL 3 |
Definition at line 131 of file op_codes.h.
Referenced by delete(), Gappl(), init_RIC_table(), and main().
| #define ALA 37 |
| #define ALH 22 |
Definition at line 85 of file op_codes.h.
Referenced by compile_stub(), Gappl(), Gexpression(), Gfuncconstructor(), main(), propagate(), set_regs(), and type_constr().
| #define ALS 24 |
| #define AND 62 |
| #define AR 1 |
Definition at line 271 of file op_codes.h.
Referenced by binary_op(), compile_decl(), flush_expr(), Gappl(), Gentry_trace(), Gexpression(), Gfunc_body(), Gfuncconstructor(), GgenerateXcode(), Gident(), Gtraverse(), init_RIC_table(), init_tmps(), main(), nilary_op(), and unary_op().
| #define AR_SL 0 |
Definition at line 322 of file op_codes.h.
| #define ARG 39 |
Definition at line 203 of file op_codes.h.
Referenced by compile_stub(), Gappl(), Gfunc_body(), GgenerateXcode(), Gpush_size(), main(), propagate(), and set_regs().
| #define BFN 9 |
Definition at line 19 of file op_codes.h.
Referenced by Gfunc_body(), Ggeneratepcode(), main(), and set_regs().
| #define BR 1 |
Definition at line 4 of file op_codes.h.
Referenced by compile_while_loop(), Gappl(), Gexpression(), main(), and set_regs().
| #define BRF 3 |
Definition at line 6 of file op_codes.h.
Referenced by compile_while_loop(), Gappl(), Gexpression(), Gident(), main(), and set_regs().
| #define BRT 2 |
Definition at line 5 of file op_codes.h.
Referenced by compile_while_loop(), Gappl(), main(), and set_regs().
| #define BSF 15 |
Definition at line 35 of file op_codes.h.
Referenced by compile_stub(), Gfunc_body(), GgenerateXcode(), main(), and set_regs().
| #define C0 10 |
Definition at line 291 of file op_codes.h.
Referenced by compile_decl(), Gappl(), init_RIC_table(), init_tmps(), main(), and propagate().
| #define C1 11 |
Definition at line 292 of file op_codes.h.
Referenced by Gident(), init_RIC_table(), init_tmps(), main(), and propagate().
| #define C2 12 |
Definition at line 293 of file op_codes.h.
Referenced by Gident(), init_RIC_table(), init_tmps(), main(), and propagate().
| #define C3 13 |
Definition at line 294 of file op_codes.h.
Referenced by Gident(), init_RIC_table(), init_tmps(), main(), and propagate().
| #define C4 14 |
Definition at line 295 of file op_codes.h.
Referenced by init_RIC_table(), init_tmps(), main(), and propagate().
| #define CLC 36 |
Definition at line 111 of file op_codes.h.
Referenced by compile_decl(), Gappl(), Gfunc_body(), GgenerateXcode(), main(), propagate(), and set_regs().
| #define CLI 27 |
Definition at line 96 of file op_codes.h.
Referenced by compile_stub(), Gappl(), main(), and set_regs().
| #define CLL 4 |
Definition at line 7 of file op_codes.h.
Referenced by compile_stub(), Gappl(), main(), and set_regs().
| #define DCL 20 |
Definition at line 64 of file op_codes.h.
Referenced by compile_decl(), compile_stub(), eliminate(), Gappl(), Garg_trace(), get_RIC(), Gexpression(), Gfunc_body(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), Gheap_expression(), Gident(), Gpush_size(), Gtraverse(), main(), only_indirect_ref(), propagate(), set_regs(), and type_constr().
| #define DCL_ADDR 1 |
Definition at line 67 of file op_codes.h.
Referenced by compile_stub(), Gappl(), Garg_trace(), Gexpression(), Ggen_special(), GgenerateXcode(), Gident(), init_RIC_table(), main(), and type_constr().
| #define DCL_DBL_FLOAT 4 |
| #define DCL_FLOAT 3 |
| #define DCL_INT 2 |
Definition at line 68 of file op_codes.h.
Referenced by compile_decl(), compile_stub(), Gappl(), Garg_trace(), Gexpression(), Gfunc_body(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), Gheap_expression(), Gpush_size(), Gtraverse(), init_RIC_table(), main(), and type_constr().
| #define DDT 17 |
| #define DEA 4 |
Definition at line 145 of file op_codes.h.
Referenced by compile_stub(), Gappl(), init_RIC_table(), main(), and set_regs().
| #define DEAD 8 |
Definition at line 168 of file op_codes.h.
Referenced by eliminate(), init_RIC_table(), main(), and set_regs().
| #define DVF 83 |
| #define DVI 43 |
| #define EQF 86 |
| #define EQI 46 |
| #define ERR 14 |
Definition at line 33 of file op_codes.h.
Referenced by Gappl(), Gexpression(), Gident(), main(), and set_regs().
| #define ET 11 |
Definition at line 188 of file op_codes.h.
Referenced by Garg_trace(), Gfunc_body(), GgenerateXcode(), init_RIC_table(), and main().
| #define EXF 85 |
| #define EXT 6 |
Definition at line 12 of file op_codes.h.
Referenced by compile_decl(), compile_stub(), Gappl(), Garg_trace(), Gfunc_body(), Gfuncconstructor(), Ggen_special(), Ggeneratepcode(), GgenerateXcode(), main(), and set_regs().
| #define FDT 18 |
| #define FIRST_AVAIL_LOC 20 |
| #define FLS 61 |
| #define FO_EP 1 |
Definition at line 332 of file op_codes.h.
Referenced by compile_stub(), Gappl(), gen_special(), Gfuncconstructor(), Ggen_special(), Vappl(), and Vfuncconstructor().
| #define FO_IP 2 |
Definition at line 333 of file op_codes.h.
Referenced by compile_stub(), Gappl(), gen_special(), Gfuncconstructor(), Ggen_special(), Vappl(), and Vfuncconstructor().
| #define FO_SIZE 0 |
Definition at line 331 of file op_codes.h.
Referenced by compile_stub(), Gappl(), gen_special(), Gfuncconstructor(), Ggen_special(), and Vfuncconstructor().
| #define GAR 23 |
Definition at line 86 of file op_codes.h.
Referenced by compile_stub(), Gfunc_body(), GgenerateXcode(), Gident(), main(), and set_regs().
| #define GEF 91 |
| #define GEI 51 |
| #define GF 3 |
Definition at line 273 of file op_codes.h.
Referenced by binary_op(), compile_stub(), flush_expr(), Gappl(), Gfunc_body(), GgenerateXcode(), init_RIC_table(), init_tmps(), main(), nilary_op(), and unary_op().
| #define GFU 9 |
Definition at line 171 of file op_codes.h.
Referenced by compile_stub(), Gfunc_body(), GgenerateXcode(), init_RIC_table(), and main().
| #define GTF 88 |
| #define GTI 48 |
| #define HINT 38 |
Definition at line 121 of file op_codes.h.
Referenced by compile_decl(), compile_stub(), delete(), eliminate(), Gappl(), Garg_trace(), Gexpression(), Gfunc_body(), GgenerateXcode(), Gident(), main(), read_instr(), RIC_len(), and set_regs().
| #define IDT 45 |
Definition at line 217 of file op_codes.h.
Referenced by gen_RIC(), Gfunc_body(), GgenerateXcode(), main(), RIC_inst_args(), RIC_inst_rs(), set_regs(), and write_RIC().
| #define LBA 7 |
Definition at line 17 of file op_codes.h.
Referenced by compile_decl(), compile_stub(), delete(), Gappl(), Garg_trace(), Gfunc_body(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), main(), normal_label(), propagate(), and set_regs().
| #define LBL 5 |
Definition at line 11 of file op_codes.h.
Referenced by compile_while_loop(), Gappl(), Gexpression(), Gfunc_body(), Gident(), main(), normal_label(), and set_regs().
| #define LBR 16 |
Definition at line 45 of file op_codes.h.
Referenced by delete(), Gexpression(), main(), and set_regs().
| #define LDC 71 |
| #define LDI 25 |
Definition at line 94 of file op_codes.h.
Referenced by compile_stub(), Gappl(), Garg_trace(), Gexpression(), Gfunc_body(), Gident(), main(), only_indirect_ref(), propagate(), set_regs(), type_constr(), and unindirect().
| #define LDL 30 |
Definition at line 100 of file op_codes.h.
Referenced by compile_stub(), Garg_trace(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), main(), propagate(), and set_regs().
| #define LDN 28 |
Definition at line 98 of file op_codes.h.
Referenced by compile_stub(), Gappl(), gen_RIC(), Gexpression(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), Gident(), Gpush_size(), main(), only_indirect_ref(), propagate(), RIC_inst_args(), RIC_inst_rs(), set_regs(), type_constr(), and write_RIC().
| #define LDS 70 |
| #define LEF 90 |
| #define LEI 50 |
| #define LIVE 10 |
Definition at line 175 of file op_codes.h.
Referenced by Gexpression(), init_RIC_table(), main(), and set_regs().
| #define LTF 87 |
| #define LTI 47 |
| #define MAX_LABEL_OP 19 |
| #define MLF 82 |
| #define MLI 42 |
| #define MOV 31 |
Definition at line 103 of file op_codes.h.
Referenced by compile_decl(), compile_while_loop(), find_equiv_regs(), Gappl(), Gexpression(), Gfunc_body(), GgenerateXcode(), Gident(), main(), only_indirect_ref(), propagate(), set_regs(), type_constr(), and unindirect().
| #define N_OP_CODES 100 |
Definition at line 268 of file op_codes.h.
Referenced by init_RIC_table(), main(), and read_instr().
| #define NEF 89 |
| #define NEI 49 |
| #define NGF 84 |
| #define NGI 44 |
| #define NOT 64 |
| #define NP 2 |
| #define NSC 5 |
Definition at line 154 of file op_codes.h.
Referenced by delete(), Gappl(), init_RIC_table(), and main().
| #define ONS 12 |
| #define OPT 1 |
Definition at line 122 of file op_codes.h.
Referenced by compile_decl(), Gappl(), Gexpression(), Gident(), init_RIC_table(), main(), read_instr(), and RIC_len().
| #define OR 63 |
| #define PRO 12 |
| #define PSH 33 |
| #define PT 7 |
| #define RL 6 |
Definition at line 283 of file op_codes.h.
Referenced by compile_decl(), Gappl(), Gexpression(), Gfunc_body(), Ggeneratepcode(), GgenerateXcode(), init_RIC_table(), init_tmps(), main(), propagate(), and set_regs().
| #define RS 0x30000000 |
Definition at line 285 of file op_codes.h.
Referenced by find_equiv_regs(), get_RIC(), Gfind_inline(), init_RIC_table(), RIC_inst_rs(), and write_RIC().
| #define RTN 29 |
Definition at line 99 of file op_codes.h.
Referenced by compile_stub(), Gfunc_body(), Ggeneratepcode(), GgenerateXcode(), main(), and set_regs().
| #define SBF 81 |
| #define SBI 41 |
| #define SHF 92 |
| #define SHI 52 |
| #define SK 5 |
Definition at line 279 of file op_codes.h.
Referenced by binary_op(), clear_hasht(), compile_while_loop(), eliminate(), find_equiv_regs(), Gappl(), Garg_expression(), Gexpression(), init_RIC_table(), main(), nilary_op(), propagate(), set_regs(), unary_op(), unindirect(), and write_RIC().
| #define SP 2 |
Definition at line 272 of file op_codes.h.
Referenced by Gappl(), Gentry_trace(), init_RIC_table(), init_tmps(), main(), and propagate().
| #define STI 26 |
Definition at line 95 of file op_codes.h.
Referenced by compile_decl(), compile_stub(), Gappl(), Gexpression(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), Gheap_expression(), Gtraverse(), main(), only_indirect_ref(), set_regs(), type_constr(), and unindirect().
| #define STSZ 6 |
Definition at line 160 of file op_codes.h.
Referenced by delete(), init_RIC_table(), main(), and set_regs().
| #define T1 RL |
Definition at line 307 of file op_codes.h.
Referenced by compile_stub(), find_equiv_regs(), GgenerateXcode(), Gident(), init_RIC_table(), and type_constr().
| #define T2 16 |
Definition at line 308 of file op_codes.h.
Referenced by compile_stub(), find_equiv_regs(), GgenerateXcode(), init_RIC_table(), and set_regs().
| #define TAR 32 |
| #define TFB 10 |
| #define TFE 11 |
| #define TL 8 |
Definition at line 289 of file op_codes.h.
Referenced by compile_while_loop(), Gappl(), Gexpression(), Gident(), init_RIC_table(), init_tmps(), main(), propagate(), and set_regs().
| #define TRU 60 |
| #define UDC 21 |
Definition at line 78 of file op_codes.h.
Referenced by clear_hasht(), compile_decl(), compile_stub(), eliminate(), Gappl(), Garg_trace(), Gexpression(), Gfunc_body(), Gfuncconstructor(), Ggen_special(), GgenerateXcode(), Gheap_expression(), Gident(), Gpush_size(), Gtraverse(), main(), only_indirect_ref(), propagate(), set_regs(), and type_constr().
| #define UN 4 |
Definition at line 278 of file op_codes.h.
Referenced by compile_decl(), compile_while_loop(), Gappl(), Gexpression(), Gident(), init_RIC_table(), init_tmps(), and main().
1.5.4