Lines Matching refs:curr
53 memcpy (rs, &sr->curr, sizeof (*rs)); in push()
54 sr->curr.next = rs; in push()
60 struct ia64_reg_state *rs = sr->curr.next; in pop()
67 memcpy (&sr->curr, rs, sizeof (*rs)); in pop()
210 reg = sr->curr.reg + unw.save_order[i]; in finish_prologue()
232 regs[0] = sr->curr.reg + IA64_REG_F2; in finish_prologue()
233 regs[1] = sr->curr.reg + IA64_REG_R4; in finish_prologue()
234 regs[2] = sr->curr.reg + IA64_REG_B1; in finish_prologue()
242 spill_next_when (®s[kind - 1], sr->curr.reg + limit[kind - 1], in finish_prologue()
252 alloc_spill_area (&off, 16, sr->curr.reg + IA64_REG_F2, in finish_prologue()
253 sr->curr.reg + IA64_REG_F31); in finish_prologue()
254 alloc_spill_area (&off, 8, sr->curr.reg + IA64_REG_B1, in finish_prologue()
255 sr->curr.reg + IA64_REG_B5); in finish_prologue()
256 alloc_spill_area (&off, 8, sr->curr.reg + IA64_REG_R4, in finish_prologue()
257 sr->curr.reg + IA64_REG_R7); in finish_prologue()
299 set_reg (sr->curr.reg + unw.save_order[i], IA64_WHERE_GR, in desc_prologue()
328 set_reg (sr->curr.reg + IA64_REG_B1 + i, IA64_WHERE_GR, in desc_br_gr()
343 set_reg (sr->curr.reg + IA64_REG_B1 + i, IA64_WHERE_SPILL_HOME, in desc_br_mem()
361 set_reg (sr->curr.reg + IA64_REG_R4 + i, IA64_WHERE_SPILL_HOME, in desc_frgr_mem()
372 set_reg (sr->curr.reg + base + i, IA64_WHERE_SPILL_HOME, in desc_frgr_mem()
389 set_reg (sr->curr.reg + IA64_REG_F2 + i, IA64_WHERE_SPILL_HOME, in desc_fr_mem()
406 set_reg (sr->curr.reg + IA64_REG_R4 + i, IA64_WHERE_GR, in desc_gr_gr()
421 set_reg (sr->curr.reg + IA64_REG_R4 + i, IA64_WHERE_SPILL_HOME, in desc_gr_mem()
432 set_reg (sr->curr.reg + IA64_REG_PSP, IA64_WHERE_NONE, in desc_mem_stack_f()
439 sr->curr.reg[IA64_REG_PSP].when = in desc_mem_stack_v()
447 set_reg (sr->curr.reg + reg, IA64_WHERE_GR, in desc_reg_gr()
455 set_reg (sr->curr.reg + reg, IA64_WHERE_PSPREL, in desc_reg_psprel()
463 set_reg (sr->curr.reg + reg, IA64_WHERE_SPREL, in desc_reg_sprel()
476 struct ia64_reg_info *reg = sr->curr.reg + regnum; in desc_reg_when()
514 free_state_stack (&sr->curr); in desc_copy_state()
515 memcpy (&sr->curr, &ls->saved_state, sizeof (sr->curr)); in desc_copy_state()
516 sr->curr.next = dup_state_stack (ls->saved_state.next); in desc_copy_state()
535 memcpy (&ls->saved_state, &sr->curr, sizeof (ls->saved_state)); in desc_label_state()
536 ls->saved_state.next = dup_state_stack (sr->curr.next); in desc_label_state()
568 r = sr->curr.reg + decode_abreg (abreg, 0); in desc_restore_p()
590 r = sr->curr.reg + decode_abreg (abreg, 0); in desc_spill_reg_p()
605 r = sr->curr.reg + decode_abreg (abreg, 1); in desc_spill_psprel_p()
620 r = sr->curr.reg + decode_abreg (abreg, 1); in desc_spill_sprel_p()
741 return sr->curr.reg + preg; in lookup_preg()
778 if (sr->curr.reg[i].when != IA64_WHEN_NEVER) in desc_alias()
779 sr->curr.reg[i].when = op->when + MIN (sr->curr.reg[i].when, rlen); in desc_alias()
783 sr->curr.next = orig_sr.curr.next; in desc_alias()
968 for (r = sr->curr.reg; r < sr->curr.reg + IA64_NUM_PREGS; ++r) in create_state_record_for()
979 sr->curr.reg[IA64_REG_IP].where = IA64_WHERE_BR; in create_state_record_for()
980 sr->curr.reg[IA64_REG_IP].when = -1; in create_state_record_for()
981 sr->curr.reg[IA64_REG_IP].val = 0; in create_state_record_for()
1016 sr->curr.reg[IA64_REG_PSP].val = 0; in create_state_record_for()
1017 sr->curr.reg[IA64_REG_PSP].where = IA64_WHERE_NONE; in create_state_record_for()
1018 sr->curr.reg[IA64_REG_PSP].when = IA64_WHEN_NEVER; in create_state_record_for()
1019 for (r = sr->curr.reg; r < sr->curr.reg + IA64_NUM_PREGS; ++r) in create_state_record_for()
1031 if (sr->curr.reg[IA64_REG_IP].when >= sr->when_target) in create_state_record_for()
1033 sr->curr.reg[IA64_REG_IP].where = IA64_WHERE_BR; in create_state_record_for()
1034 sr->curr.reg[IA64_REG_IP].when = -1; in create_state_record_for()
1035 sr->curr.reg[IA64_REG_IP].val = sr->return_link_reg; in create_state_record_for()
1038 if (sr->when_target > sr->curr.reg[IA64_REG_BSP].when in create_state_record_for()
1039 && sr->when_target > sr->curr.reg[IA64_REG_BSPSTORE].when in create_state_record_for()
1040 && sr->when_target > sr->curr.reg[IA64_REG_RNAT].when) in create_state_record_for()
1053 for (r = sr->curr.reg; r < sr->curr.reg + IA64_NUM_PREGS; ++r) in create_state_record_for()
1057 Dprintf (" %s <- ", unw.preg_name[r - sr->curr.reg]); in create_state_record_for()
1077 unw.preg_name[r - sr->curr.reg], (long) r->val); in create_state_record_for()
1112 free_state_stack (&sr->curr); in ia64_free_state_record()