Lines Matching +defs:label +defs:offset
283 /* Maximum constant offset that can be added/subtracted from SP in a
656 /* FIXME: the max offset is related to mode size, the following is
658 QImode, and should the min offset be defined? */
781 /* The maximum offset into the code that this entry can be placed. While
791 /* The offset from the start of the minipool. */
792 HOST_WIDE_INT offset;
1081 /* It will always be better to place the table before the label, rather
1116 rtx_code_label *label = gen_label_rtx ();
1168 from = emit_jump_insn_after (gen_jump (label), selected);
1169 JUMP_LABEL (from) = label;
1171 emit_label_after (label, barrier);
1256 minipool. ADDRESS is the offset of the insn since the start of the
1319 HOST_WIDE_INT offset = 0;
1326 mp->offset = offset;
1329 offset += mp->fix_size;
1359 (unsigned) mp->offset, (unsigned long) mp->min_address,
1576 this_fix->minipool->offset);
1682 /* We need a temporary reg to hold the offset for adjusting the SP
1748 Define the offset between two registers, one to be eliminated, and
1754 int offset;
1758 /* Set OFFSET to the offset to the initial stack pointer. */
1762 offset = cfun->machine->reg_offset;
1766 offset = cfun->machine->arg_offset;
1773 /* If we are asked for the offset to the frame pointer instead,
1777 offset -= cfun->machine->reg_offset;
1778 return offset;
2015 /* Load the offset and add it to this_rtx */
2726 rtx label, labelno, unspec, tmp;
2732 label = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, labelno), UNSPEC_TLS_LABEL);
2734 gen_rtvec (3, x, GEN_INT (reloc), label),
2738 emit_move_insn (tmp, label);
2754 rtx dest, tp, label, labelno, unspec, ret, eqv, addend, tmp;
2787 label = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, labelno), UNSPEC_TLS_LABEL);
2789 gen_rtvec (3, x, GEN_INT (TLS_IE32), label),
2793 emit_move_insn (tmp, label);
2830 HOST_WIDE_INT offset = INTVAL (xop1);
2832 /* Try to replace ld32 rx,(ry, offset), to addi16 rz, oimm8
2836 && offset > CSKY_LD16_MAX_OFFSET (mode)
2837 && offset <= (CSKY_ADDI16_MAX_IMM
2841 = offset & CSKY_LD16_OFFSET_MASK (mode);
2844 offset - new_ld_offset),
2848 else if (offset < 0 && offset >= (-CSKY_SUBI16_MAX_IMM))
2850 else if (offset > CSKY_LD16_MAX_OFFSET (mode)
2851 || offset < 0)
3117 rtx base, index, symbol, label, disp;
3129 out->base = out->index = out->symbol = out->label = out->disp = NULL_RTX;
3140 out->label = addr;
3156 out->label = addends[0];
3280 /* Output the constpool label according to the rtx expression X. */
3311 if (addr.label && addr.disp && GET_CODE (addr.disp) == CONST_INT)
3314 csky_output_constpool_label (stream, addr.label);
3317 else if (addr.label)
3320 csky_output_constpool_label (stream, addr.label);
3975 else if (op1.label)
4097 if (op1.label)
4706 /* Return true if X is an address form involving a symbol or label ref. */
4967 expand_csky_stack_adjust (int offset)
4971 int size = (offset > 0 ? offset : -offset);
4973 if (offset == 0)
5002 if (offset > 0)
5009 plus_constant (Pmode, stack_pointer_rtx, offset));
5024 if (offset > 0)
5238 int offset = cfun->machine->arg_size;
5239 expand_csky_stack_adjust (- offset);
5248 for (offset -= 4; offset >= 0; offset -= 4, rn--)
5253 offset));
5277 int offset = reg_size - 4;
5285 offset));
5289 if (offset == stm_size)
5291 offset -= 4;
5410 int offset = reg_size - 4;
5418 offset));
5423 if (offset == ldm_size)
5425 offset -= 4;
5741 rtx base, offset;
5757 offset = csky_legitimize_pic_address (XEXP (XEXP (orig, 0), 1),
5760 if (GET_CODE (offset) == CONST_INT)
5761 return plus_constant (Pmode, base, INTVAL (offset));
5763 return gen_rtx_PLUS (Pmode, base, offset);
6747 For C-SKY, (register) and (register + offset) have the same cost.