Lines Matching defs:bb_state
134 struct bb_state {
169 static const char *show_op(struct bb_state *state, struct operand *op)
235 static void FORMAT_ATTR(2) output_line(struct bb_state *state, const char *fmt, ...)
244 static void FORMAT_ATTR(2) output_label(struct bb_state *state, const char *fmt, ...)
256 static void FORMAT_ATTR(2) output_insn(struct bb_state *state, const char *fmt, ...)
271 static void FORMAT_ATTR(2) output_comment(struct bb_state *state, const char *fmt, ...)
313 static void alloc_stack(struct bb_state *state, struct storage *storage)
326 static int can_regenerate(struct bb_state *state, pseudo_t pseudo)
346 static void flush_one_pseudo(struct bb_state *state, struct hardreg *hardreg, pseudo_t pseudo)
382 static void flush_reg(struct bb_state *state, struct hardreg *reg)
402 static struct storage_hash *find_pseudo_storage(struct bb_state *state, pseudo_t pseudo, struct hardreg *reg)
441 static void mark_reg_dead(struct bb_state *state, pseudo_t pseudo, struct hardreg *reg)
456 static void add_pseudo_reg(struct bb_state *state, pseudo_t pseudo, struct hardreg *reg)
462 static struct hardreg *preferred_reg(struct bb_state *state, pseudo_t target)
475 static struct hardreg *empty_reg(struct bb_state *state)
487 static struct hardreg *target_reg(struct bb_state *state, pseudo_t pseudo, pseudo_t target)
521 static struct hardreg *find_in_reg(struct bb_state *state, pseudo_t pseudo)
541 static void flush_pseudo(struct bb_state *state, pseudo_t pseudo, struct storage *storage)
549 static void flush_cc_cache_to_reg(struct bb_state *state, pseudo_t pseudo, struct hardreg *reg)
558 static void flush_cc_cache(struct bb_state *state)
574 static void add_cc_cache(struct bb_state *state, int opcode, pseudo_t pseudo)
584 static struct hardreg *fill_reg(struct bb_state *state, struct hardreg *hardreg, pseudo_t pseudo)
641 static struct hardreg *getreg(struct bb_state *state, pseudo_t pseudo, pseudo_t target)
652 static void move_reg(struct bb_state *state, struct hardreg *src, struct hardreg *dst)
657 static struct hardreg *copy_reg(struct bb_state *state, struct hardreg *src, pseudo_t target)
690 static void put_operand(struct bb_state *state, struct operand *op)
715 static struct operand *get_register_operand(struct bb_state *state, pseudo_t pseudo, pseudo_t target)
724 static int get_sym_frame_offset(struct bb_state *state, pseudo_t pseudo)
734 static struct operand *get_generic_operand(struct bb_state *state, pseudo_t pseudo)
796 static const char *generic(struct bb_state *state, pseudo_t pseudo)
826 static struct operand *get_address_operand(struct bb_state *state, struct instruction *memop)
847 static const char *address(struct bb_state *state, struct instruction *memop)
855 static const char *reg_or_imm(struct bb_state *state, pseudo_t pseudo)
881 static struct hardreg *target_copy_reg(struct bb_state *state, struct hardreg *src, pseudo_t target)
887 static void do_binop(struct bb_state *state, struct instruction *insn, pseudo_t val1, pseudo_t val2)
901 static void generate_binop(struct bb_state *state, struct instruction *insn)
907 static int is_dead_reg(struct bb_state *state, pseudo_t pseudo, struct hardreg *reg)
922 static void generate_commutative_binop(struct bb_state *state, struct instruction *insn)
957 static void mark_pseudo_dead(struct bb_state *state, pseudo_t pseudo)
971 static void kill_dead_pseudos(struct bb_state *state)
980 static void generate_store(struct instruction *insn, struct bb_state *state)
985 static void generate_load(struct instruction *insn, struct bb_state *state)
995 static void kill_pseudo(struct bb_state *state, pseudo_t pseudo)
1018 static void generate_copy(struct bb_state *state, struct instruction *insn)
1025 static void generate_cast(struct bb_state *state, struct instruction *insn)
1054 static void generate_output_storage(struct bb_state *state);
1070 static void generate_branch(struct bb_state *state, struct instruction *br)
1094 static void generate_switch(struct bb_state *state, struct instruction *insn)
1103 static void generate_ret(struct bb_state *state, struct instruction *ret)
1117 static void generate_call(struct bb_state *state, struct instruction *insn)
1136 static void generate_select(struct bb_state *state, struct instruction *insn)
1252 static struct asm_arg *generate_asm_inputs(struct bb_state *state, struct asm_constraint_list *list, struct asm_arg *arg)
1294 static struct asm_arg *generate_asm_outputs(struct bb_state *state, struct asm_constraint_list *list, struct asm_arg *arg)
1327 static void generate_asm(struct bb_state *state, struct instruction *insn)
1341 static void generate_compare(struct bb_state *state, struct instruction *insn)
1362 static void generate_one_insn(struct instruction *insn, struct bb_state *state)
1466 static void write_reg_to_storage(struct bb_state *state, struct hardreg *reg, pseudo_t pseudo, struct storage *storage)
1507 static void write_val_to_storage(struct bb_state *state, pseudo_t src, struct storage *storage)
1523 static void fill_output(struct bb_state *state, pseudo_t pseudo, struct storage *out)
1583 static int final_pseudo_flush(struct bb_state *state, pseudo_t pseudo, struct hardreg *reg)
1644 static void generate_output_storage(struct bb_state *state)
1683 static void generate(struct basic_block *bb, struct bb_state *state)
1748 static void mark_used_registers(struct basic_block *bb, struct bb_state *state)
1768 struct bb_state state;