Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 53) sorted by relevance

123

/openbsd/src/gnu/llvm/lldb/examples/python/
Dstacks.py34 frame_size = 0
40 frame_size = frame.fp - frame.sp
53 frame_size = frame.fp - last_frame.fp
54 print("<%#7x> %s" % (frame_size, frame))
55 if frame_size > 0:
58 frame_info[name] = frame_size
60 frame_info[name] += frame_size
/openbsd/src/gnu/gcc/gcc/config/fr30/
Dfr30.c111 unsigned int frame_size; /* # Bytes in current frame. */ member
212 current_frame_info.frame_size = args_size + var_size; in fr30_compute_frame_size()
285 if (current_frame_info.frame_size < ((1 << 10) - UNITS_PER_WORD)) in fr30_expand_prologue()
287 int enter_size = current_frame_info.frame_size + UNITS_PER_WORD; in fr30_expand_prologue()
333 if (current_frame_info.frame_size == 0) in fr30_expand_prologue()
336 && current_frame_info.frame_size < ((1 << 10) - UNITS_PER_WORD)) in fr30_expand_prologue()
338 else if (current_frame_info.frame_size <= 512) in fr30_expand_prologue()
340 insn = emit_insn (gen_add_to_stack (GEN_INT (- current_frame_info.frame_size))); in fr30_expand_prologue()
346 insn = emit_insn (gen_movsi (tmp, GEN_INT (current_frame_info.frame_size))); in fr30_expand_prologue()
375 if (current_frame_info.frame_size > 0) in fr30_expand_epilogue()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/config/fr30/
Dfr30.c107 unsigned int frame_size; /* # Bytes in current frame. */ member
194 current_frame_info.frame_size = args_size + var_size;
269 if (current_frame_info.frame_size < ((1 << 10) - UNITS_PER_WORD)) in fr30_expand_prologue()
271 int enter_size = current_frame_info.frame_size + UNITS_PER_WORD; in fr30_expand_prologue()
317 if (current_frame_info.frame_size == 0) in fr30_expand_prologue()
320 && current_frame_info.frame_size < ((1 << 10) - UNITS_PER_WORD)) in fr30_expand_prologue()
322 else if (current_frame_info.frame_size <= 512) in fr30_expand_prologue()
324 insn = emit_insn (gen_add_to_stack (GEN_INT (- current_frame_info.frame_size))); in fr30_expand_prologue()
330 insn = emit_insn (gen_movsi (tmp, GEN_INT (current_frame_info.frame_size))); in fr30_expand_prologue()
360 if (current_frame_info.frame_size > 0) in fr30_expand_epilogue()
[all …]
/openbsd/src/gnu/gcc/gcc/config/mt/
Dmt.c328 fprintf (stderr, "\tframe_size = %d\n", info->frame_size); in mt_debug_stack()
866 unsigned int frame_size; in mt_compute_frame_size() local
899 frame_size = total_size; in mt_compute_frame_size()
906 current_frame_info.frame_size = args_size + var_size; in mt_compute_frame_size()
1064 unsigned int frame_size; in mt_expand_prologue() local
1079 frame_size = current_frame_info.total_size; in mt_expand_prologue()
1083 if (CONST_OK_FOR_LETTER_P(frame_size, 'O')) in mt_expand_prologue()
1084 size_rtx = GEN_INT (frame_size); in mt_expand_prologue()
1091 insn = emit_move_insn (size_rtx, GEN_INT (frame_size & 0xffff0000)); in mt_expand_prologue()
1093 GEN_INT (frame_size & 0x0000ffff))); in mt_expand_prologue()
[all …]
/openbsd/src/gnu/usr.bin/perl/dist/threads/t/
Dstack_env.t40 my $frame_size;
53 $frame_size = 4096;
55 $size = $frames * $frame_size;
Dstack.t12 my $frame_size;
21 $frame_size = 4096;
23 $size = $frames * $frame_size;
/openbsd/src/gnu/usr.bin/gcc/gcc/config/alpha/
Dalpha.c7048 HOST_WIDE_INT frame_size; in alpha_expand_prologue() local
7056 frame_size = get_frame_size (); in alpha_expand_prologue()
7058 frame_size = ALPHA_ROUND (sa_size in alpha_expand_prologue()
7060 + frame_size in alpha_expand_prologue()
7064 frame_size = ALPHA_ROUND (sa_size in alpha_expand_prologue()
7066 + ALPHA_ROUND (frame_size in alpha_expand_prologue()
7069 frame_size = (ALPHA_ROUND (current_function_outgoing_args_size) in alpha_expand_prologue()
7071 + ALPHA_ROUND (frame_size in alpha_expand_prologue()
7074 if (warn_stack_larger_than && frame_size > stack_larger_than_size) in alpha_expand_prologue()
7075 warning ("stack usage is %d bytes", frame_size); in alpha_expand_prologue()
[all …]
/openbsd/src/gnu/gcc/gcc/config/alpha/
Dalpha.c7563 HOST_WIDE_INT frame_size; in alpha_expand_prologue() local
7571 frame_size = get_frame_size (); in alpha_expand_prologue()
7573 frame_size = ALPHA_ROUND (sa_size in alpha_expand_prologue()
7575 + frame_size in alpha_expand_prologue()
7579 frame_size = ALPHA_ROUND (sa_size in alpha_expand_prologue()
7581 + ALPHA_ROUND (frame_size in alpha_expand_prologue()
7584 frame_size = (ALPHA_ROUND (current_function_outgoing_args_size) in alpha_expand_prologue()
7586 + ALPHA_ROUND (frame_size in alpha_expand_prologue()
7589 if (warn_stack_larger_than && frame_size > stack_larger_than_size) in alpha_expand_prologue()
7590 warning (0, "stack usage is %d bytes", frame_size); in alpha_expand_prologue()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/config/arc/
Darc.c1251 unsigned int frame_size = size - pretend_size; local
1267 sp_str, fp_str, frame_size, ASM_COMMENT_START);
1281 UNITS_PER_WORD + (frame_pointer_needed ? 0 : frame_size));
1303 || !SMALL_INT (frame_size)
1308 fprintf (file, "\tld.a %s,[%s,%d]\n", fp_str, sp_str, frame_size);
1309 restored += frame_size;
1316 fprintf (file, "\tadd %s,%s,%d\n", sp_str, sp_str, frame_size);
1317 restored += frame_size;
1355 if (!SMALL_INT (frame_size))
1358 fprintf (file, "\tld.a %s,[%s,%d]\n", fp_str, sp_str, frame_size);
/openbsd/src/gnu/gcc/gcc/config/arc/
Darc.c1282 unsigned int frame_size = size - pretend_size; in arc_output_function_epilogue() local
1297 sp_str, fp_str, frame_size, ASM_COMMENT_START); in arc_output_function_epilogue()
1311 UNITS_PER_WORD + (frame_pointer_needed ? 0 : frame_size)); in arc_output_function_epilogue()
1333 || !SMALL_INT (frame_size) in arc_output_function_epilogue()
1338 fprintf (file, "\tld.a %s,[%s,%d]\n", fp_str, sp_str, frame_size); in arc_output_function_epilogue()
1339 restored += frame_size; in arc_output_function_epilogue()
1346 fprintf (file, "\tadd %s,%s,%d\n", sp_str, sp_str, frame_size); in arc_output_function_epilogue()
1347 restored += frame_size; in arc_output_function_epilogue()
1388 gcc_assert (SMALL_INT (frame_size)); in arc_output_function_epilogue()
1390 fprintf (file, "\tld.a %s,[%s,%d]\n", fp_str, sp_str, frame_size); in arc_output_function_epilogue()
/openbsd/src/gnu/llvm/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cpp51 uptr frame_size = FakeStack::BytesInSizeClass(class_id); in TEST() local
52 uptr num_flags = stack_size / frame_size; in TEST()
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dhppa-tdep.c1563 long frame_size; in hppa_frame_cache() local
1646 frame_size = 0; in hppa_frame_cache()
1651 || frame_size < (u->Total_frame_size << 3)) in hppa_frame_cache()
1661 frame_size += prologue_inst_adjust_sp (inst); in hppa_frame_cache()
1831 cache->base = this_sp - frame_size; in hppa_frame_cache()
1943 unsigned int frame_size; in hppa_fallback_frame_cache() local
1957 frame_size = 0; in hppa_fallback_frame_cache()
1978 frame_size += prologue_inst_adjust_sp (insn); in hppa_fallback_frame_cache()
1996 frame_size, found_rp); in hppa_fallback_frame_cache()
1998 cache->base = frame_unwind_register_unsigned (next_frame, HPPA_SP_REGNUM) - frame_size; in hppa_fallback_frame_cache()
Dalpha-tdep.c978 int frame_reg, frame_size, return_reg, reg; in alpha_heuristic_frame_unwind_cache() local
993 frame_size = 0; in alpha_heuristic_frame_unwind_cache()
1013 if (frame_size == 0) in alpha_heuristic_frame_unwind_cache()
1014 frame_size = (-word) & 0xffff; in alpha_heuristic_frame_unwind_cache()
1123 info->vfp = val + frame_size; in alpha_heuristic_frame_unwind_cache()
/openbsd/src/gnu/gcc/gcc/config/m32r/
Dm32r.c1275 unsigned int reg_size, frame_size; in m32r_compute_frame_size() local
1317 frame_size = total_size - (pretend_size + reg_size); in m32r_compute_frame_size()
1377 int frame_size; in m32r_expand_prologue() local
1421 frame_size = (current_frame_info.total_size in m32r_expand_prologue()
1425 if (frame_size == 0) in m32r_expand_prologue()
1427 else if (frame_size <= 32768) in m32r_expand_prologue()
1429 GEN_INT (-frame_size))); in m32r_expand_prologue()
1434 emit_insn (gen_movsi (tmp, GEN_INT (frame_size))); in m32r_expand_prologue()
1450 (current_function_profile ? 0 : frame_size)); in m32r_expand_prologue()
/openbsd/src/gnu/gcc/gcc/config/bfin/
Dbfin.c616 emit_link_insn (rtx spreg, HOST_WIDE_INT frame_size) in emit_link_insn() argument
618 HOST_WIDE_INT link_size = frame_size; in emit_link_insn()
637 frame_size -= link_size; in emit_link_insn()
639 if (frame_size > 0) in emit_link_insn()
644 frame_related_constant_load (tmpreg, -frame_size, TRUE); in emit_link_insn()
671 do_link (rtx spreg, HOST_WIDE_INT frame_size, bool all) in do_link() argument
673 frame_size += arg_area_size (); in do_link()
677 emit_link_insn (spreg, frame_size); in do_link()
696 add_to_sp (spreg, -frame_size, 1); in do_link()
703 do_unlink (rtx spreg, HOST_WIDE_INT frame_size, bool all) in do_unlink() argument
[all …]
/openbsd/src/gnu/gcc/gcc/config/s390/
Ds390.c283 HOST_WIDE_INT frame_size; member
6611 cfun_frame_layout.frame_size = get_frame_size (); in s390_frame_info()
6612 if (!TARGET_64BIT && cfun_frame_layout.frame_size > 0x7fff0000) in s390_frame_info()
6673 && cfun_frame_layout.frame_size == 0 in s390_frame_info()
6680 cfun_frame_layout.frame_size += (STACK_POINTER_OFFSET in s390_frame_info()
6686 cfun_frame_layout.frame_size += UNITS_PER_WORD; in s390_frame_info()
6695 cfun_frame_layout.frame_size += cfun_frame_layout.high_fprs * 8; in s390_frame_info()
6699 cfun_frame_layout.frame_size += 8; in s390_frame_info()
6701 cfun_frame_layout.frame_size += cfun_gprs_save_area_size; in s390_frame_info()
6705 cfun_frame_layout.frame_size = ((cfun_frame_layout.frame_size + in s390_frame_info()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/config/i370/
Di370.c1472 i370_output_function_prologue (f, frame_size) in i370_output_function_prologue() argument
1474 HOST_WIDE_INT frame_size;
1485 STACK_POINTER_OFFSET + current_function_outgoing_args_size + frame_size;
1490 current_function_outgoing_args_size, frame_size, aligned_size);
/openbsd/src/gnu/usr.bin/gcc/gcc/config/m32r/
Dm32r.c1897 unsigned int reg_size, frame_size; local
1937 frame_size = total_size - (pretend_size + reg_size);
1972 int frame_size; in m32r_expand_prologue() local
2016 frame_size = (current_frame_info.total_size in m32r_expand_prologue()
2020 if (frame_size == 0) in m32r_expand_prologue()
2022 else if (frame_size <= 32768) in m32r_expand_prologue()
2024 GEN_INT (-frame_size))); in m32r_expand_prologue()
2028 emit_insn (gen_movsi (tmp, GEN_INT (frame_size))); in m32r_expand_prologue()
/openbsd/src/sys/dev/usb/
Duvideo.c2179 int len, i, frame_size; in uvideo_vs_cb() local
2198 frame_size = ixfer->size[i]; in uvideo_vs_cb()
2200 if (frame_size == 0) in uvideo_vs_cb()
2204 error = sc->sc_decode_stream_header(sc, frame, frame_size); in uvideo_vs_cb()
2215 int frame_size) in uvideo_vs_decode_stream_header() argument
2221 if (frame_size < UVIDEO_SH_MIN_LEN) in uvideo_vs_decode_stream_header()
2229 if (sh->bLength > frame_size || sh->bLength < UVIDEO_SH_MIN_LEN) in uvideo_vs_decode_stream_header()
2233 DPRINTF(2, "%s: frame_size = %d\n", DEVNAME(sc), frame_size); in uvideo_vs_decode_stream_header()
2270 sample_len = frame_size - sh->bLength; in uvideo_vs_decode_stream_header()
2338 int frame_size) in uvideo_vs_decode_stream_header_isight() argument
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/config/stormy16/
Dstormy16.c854 int frame_size; member
887 layout.frame_size = (layout.locals_size in xstormy16_compute_stack_layout()
893 if (layout.frame_size + INCOMING_FRAME_SP_OFFSET in xstormy16_compute_stack_layout()
895 layout.fp_minus_ap = layout.frame_size + INCOMING_FRAME_SP_OFFSET; in xstormy16_compute_stack_layout()
903 layout.sp_minus_fp = (layout.frame_size + INCOMING_FRAME_SP_OFFSET in xstormy16_compute_stack_layout()
1040 && xstormy16_compute_stack_layout ().frame_size == 0); in direct_return()
/openbsd/src/gnu/usr.bin/gcc/gcc/config/s390/
Ds390.c156 HOST_WIDE_INT frame_size; member
4663 regs_ever_live[STACK_POINTER_REGNUM] = cfun->machine->frame_size > 0;
4834 off = GEN_INT (cfun->machine->frame_size + REGNO (return_reg) * UNITS_PER_WORD);
5005 cfun->machine->frame_size = fsize + cfun->machine->save_fprs_p * 64; in s390_frame_info()
5010 || cfun->machine->frame_size > 0 in s390_frame_info()
5013 cfun->machine->frame_size += STARTING_FRAME_OFFSET; in s390_frame_info()
5030 gprs_ever_live[STACK_POINTER_REGNUM] = cfun->machine->frame_size > 0; in s390_frame_info()
5307 if (cfun->machine->frame_size > 0) in s390_emit_prologue()
5309 rtx frame_off = GEN_INT (-cfun->machine->frame_size); in s390_emit_prologue()
5320 frame_off = GEN_INT (-cfun->machine->frame_size); in s390_emit_prologue()
[all …]
/openbsd/src/lib/libcrypto/aes/asm/
Daesni-x86_64.pl1019 my $frame_size = 0x20+($win64?160:0);
1032 sub \$$frame_size,%rsp
1314 my $frame_size = 0x60 + ($win64?160:0);
1324 sub \$$frame_size,%rsp
1719 sub \$$frame_size,%rsp
2148 my $frame_size = 0x10 + ($win64?0x40:0); # used in decrypt
2207 sub \$$frame_size,%rsp
/openbsd/src/gnu/gcc/gcc/config/m32c/
Dm32c.c3760 int frame_size, extra_frame_size = 0, reg_save_size; in m32c_emit_prologue() local
3775 frame_size = in m32c_emit_prologue()
3777 if (frame_size == 0 in m32c_emit_prologue()
3782 if (frame_size > 254) in m32c_emit_prologue()
3784 extra_frame_size = frame_size - 254; in m32c_emit_prologue()
3785 frame_size = 254; in m32c_emit_prologue()
3790 ? gen_prologue_enter_16 (GEN_INT (frame_size)) in m32c_emit_prologue()
3791 : gen_prologue_enter_24 (GEN_INT (frame_size))))); in m32c_emit_prologue()
/openbsd/src/sys/dev/ic/
Dbt8xx.h178 int frame_size; /* row*columns*depth */ member
/openbsd/src/gnu/gcc/gcc/config/stormy16/
Dstormy16.c996 int frame_size; member
1030 layout.frame_size = (layout.locals_size in xstormy16_compute_stack_layout()
1036 if (layout.frame_size + INCOMING_FRAME_SP_OFFSET in xstormy16_compute_stack_layout()
1038 layout.fp_minus_ap = layout.frame_size + INCOMING_FRAME_SP_OFFSET; in xstormy16_compute_stack_layout()
1046 layout.sp_minus_fp = (layout.frame_size + INCOMING_FRAME_SP_OFFSET in xstormy16_compute_stack_layout()
1195 && xstormy16_compute_stack_layout ().frame_size == 0); in direct_return()

123