#include <stdio.h>
#include "../parm.h"
#include "op_codes.h"
#include "codegen.h"
#include "datatypes/consnodes.h"
Go to the source code of this file.
Functions | |
static boolean | is_this_arg (unsigned reg) |
void | clear_equiv_regs () |
boolean | find_equiv_regs (struct RIC_instr *code, int n) |
boolean | only_indirect_ref (struct RIC_instr *code, int n) |
struct RIC_instr * | unindirect (struct RIC_instr *code, int n, long m) |
Variables | |
static ConsNode * | equiv_regs |
void clear_equiv_regs | ( | ) |
Definition at line 32 of file var_in_reg.c.
References cn_del_hd(), and NIL.
Referenced by only_indirect_ref(), and unindirect().
Definition at line 49 of file var_in_reg.c.
References RIC_instr::arg, ARG_BIT, cn_cons(), dbgmsg, FALSE, FIRST_AVAIL_LOC, is_this_arg(), MOV, RIC_instr::next_instr, NIL, RIC_instr::op_code, RIC_nil, RS, SK, T1, T2, and TRUE.
Referenced by only_indirect_ref(), and unindirect().
static boolean is_this_arg | ( | unsigned | reg | ) | [static] |
Definition at line 17 of file var_in_reg.c.
References cn_head, cn_tail, FALSE, NIL, and TRUE.
Referenced by find_equiv_regs(), only_indirect_ref(), and unindirect().
Definition at line 91 of file var_in_reg.c.
References RIC_instr::arg, clear_equiv_regs(), DCL, FALSE, find_equiv_regs(), is_this_arg(), RIC_instr::label_arg, LDI, LDN, MOV, RIC_instr::next_instr, RIC_instr::op_code, RIC_nil, STI, TRUE, and UDC.
Referenced by accessible().
Definition at line 146 of file var_in_reg.c.
References RIC_instr::arg, ARG_BIT, clear_equiv_regs(), copy_RIC(), dbgmsg, find_equiv_regs(), is_this_arg(), RIC_instr::label_arg, LDI, MOV, n_args, RIC_instr::next_instr, RIC_instr::op_code, op_code_table, RIC_nil, SK, and STI.
ConsNode* equiv_regs [static] |
Definition at line 12 of file var_in_reg.c.