| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | qsort.c | 101 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk in med3() argument 107 return CMP(thunk, a, b) < 0 ? in med3() 108 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) in med3() 109 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); in med3() 114 rk_qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) in rk_qsort_r() argument 116 #define thunk NULL in rk_qsort_r() 131 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; in rk_qsort_r() 142 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); in rk_qsort_r() 143 pm = med3(pm - d, pm, pm + d, cmp, thunk); in rk_qsort_r() 144 pn = med3(pn - 2 * d, pn - d, pn, cmp, thunk); in rk_qsort_r() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| H A D | winnt-cxx.c | 125 tree thunk; in i386_pe_adjust_class_at_definition() local 129 for (thunk = DECL_THUNKS (member); thunk; in i386_pe_adjust_class_at_definition() 130 thunk = TREE_CHAIN (thunk)) in i386_pe_adjust_class_at_definition() 131 maybe_add_dllexport (thunk); in i386_pe_adjust_class_at_definition() 157 tree thunk; in i386_pe_adjust_class_at_definition() local 161 for (thunk = DECL_THUNKS (member); thunk; in i386_pe_adjust_class_at_definition() 162 thunk = DECL_CHAIN (thunk)) in i386_pe_adjust_class_at_definition() 163 maybe_add_dllimport (thunk); in i386_pe_adjust_class_at_definition()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/ |
| H A D | winnt-cxx.cc | 125 tree thunk; in i386_pe_adjust_class_at_definition() local 129 for (thunk = DECL_THUNKS (member); thunk; in i386_pe_adjust_class_at_definition() 130 thunk = TREE_CHAIN (thunk)) in i386_pe_adjust_class_at_definition() 131 maybe_add_dllexport (thunk); in i386_pe_adjust_class_at_definition() 157 tree thunk; in i386_pe_adjust_class_at_definition() local 161 for (thunk = DECL_THUNKS (member); thunk; in i386_pe_adjust_class_at_definition() 162 thunk = DECL_CHAIN (thunk)) in i386_pe_adjust_class_at_definition() 163 maybe_add_dllimport (thunk); in i386_pe_adjust_class_at_definition()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | cgraphclones.c | 181 duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) in duplicate_thunk_for_node() argument 184 thunk_of = thunk->callees->callee->ultimate_alias_target (); in duplicate_thunk_for_node() 186 if (thunk_of->thunk.thunk_p) in duplicate_thunk_for_node() 189 if (!DECL_ARGUMENTS (thunk->decl)) in duplicate_thunk_for_node() 190 thunk->get_untransformed_body (); in duplicate_thunk_for_node() 194 if (cs->caller->thunk.thunk_p in duplicate_thunk_for_node() 195 && cs->caller->thunk.fixed_offset == thunk->thunk.fixed_offset in duplicate_thunk_for_node() 196 && cs->caller->thunk.virtual_value == thunk->thunk.virtual_value in duplicate_thunk_for_node() 197 && cs->caller->thunk.indirect_offset == thunk->thunk.indirect_offset in duplicate_thunk_for_node() 198 && cs->caller->thunk.this_adjusting == thunk->thunk.this_adjusting in duplicate_thunk_for_node() [all …]
|
| H A D | cgraph.c | 636 node->thunk.fixed_offset = fixed_offset; in create_thunk() 637 node->thunk.virtual_value = virtual_value; in create_thunk() 638 node->thunk.indirect_offset = indirect_offset; in create_thunk() 639 node->thunk.alias = real_alias; in create_thunk() 640 node->thunk.this_adjusting = this_adjusting; in create_thunk() 641 node->thunk.virtual_offset_p = virtual_offset != NULL; in create_thunk() 642 node->thunk.thunk_p = true; in create_thunk() 923 edge->in_polymorphic_cdtor = caller->thunk.thunk_p; in create_edge() 2186 if (thunk.thunk_p) in dump() 2189 if (thunk.alias) in dump() [all …]
|
| H A D | cgraphunit.c | 621 if (thunk.thunk_p) in analyze() 623 cgraph_node *t = cgraph_node::get (thunk.alias); in analyze() 638 thunk.alias = NULL; in analyze() 1221 && !cnode->thunk.thunk_p in analyze_functions() 1376 && !cnode->thunk.thunk_p) in analyze_functions() 1379 gcc_assert (!cnode->definition || cnode->thunk.thunk_p in analyze_functions() 1609 && !node->thunk.thunk_p in mark_functions_to_output() 1622 if (!next->thunk.thunk_p && !next->alias in mark_functions_to_output() 1880 bool this_adjusting = thunk.this_adjusting; in expand_thunk() 1881 HOST_WIDE_INT fixed_offset = thunk.fixed_offset; in expand_thunk() [all …]
|
| H A D | lto-cgraph.c | 264 gcc_checking_assert (uid || edge->caller->thunk.thunk_p); in lto_output_edge() 396 || (node->thunk.thunk_p && !node->inlined_to))) in lto_output_node() 536 bp_pack_value (&bp, node->thunk.thunk_p, 1); in lto_output_node() 555 1 + (node->thunk.this_adjusting != 0) * 2 in lto_output_node() 556 + (node->thunk.virtual_offset_p != 0) * 4); in lto_output_node() 557 streamer_write_uhwi_stream (ob->main_stream, node->thunk.fixed_offset); in lto_output_node() 558 streamer_write_uhwi_stream (ob->main_stream, node->thunk.virtual_value); in lto_output_node() 559 streamer_write_uhwi_stream (ob->main_stream, node->thunk.indirect_offset); in lto_output_node() 932 && cnode->thunk.thunk_p && !cnode->inlined_to) in compute_ltrans_boundary() 988 && ((node->thunk.thunk_p && !node->inlined_to) in output_symtab() [all …]
|
| H A D | tree-profile.c | 728 bool thunk = false; in tree_profiling() local 729 if (!gimple_has_body_p (node->decl) && !node->thunk.thunk_p) in tree_profiling() 750 if (node->thunk.thunk_p) in tree_profiling() 755 thunk = true; in tree_profiling() 779 branch_prob (thunk); in tree_profiling() 786 && !thunk in tree_profiling()
|
| H A D | ipa-icf.c | 533 if (cnode->thunk.thunk_p != cnode2->thunk.thunk_p) in equals_wpa() 536 if (cnode->thunk.thunk_p) in equals_wpa() 538 if (cnode->thunk.fixed_offset != cnode2->thunk.fixed_offset) in equals_wpa() 540 if (cnode->thunk.virtual_value != cnode2->thunk.virtual_value) in equals_wpa() 542 if (cnode->thunk.indirect_offset != cnode2->thunk.indirect_offset) in equals_wpa() 544 if (cnode->thunk.this_adjusting != cnode2->thunk.this_adjusting) in equals_wpa() 546 if (cnode->thunk.virtual_offset_p != cnode2->thunk.virtual_offset_p) in equals_wpa() 971 if (!e->caller->thunk.thunk_p) in redirect_all_callers() 1365 if (!cnode->thunk.thunk_p) in init() 1411 hstate.add_hwi (cnode->thunk.fixed_offset); in init() [all …]
|
| H A D | ipa-inline-transform.c | 354 if (to->thunk.thunk_p) in inline_call() 562 if (first_clone->thunk.thunk_p) in save_inline_function_body() 564 while (first_clone->thunk.thunk_p) in save_inline_function_body() 671 gcc_assert (!node->alias && !node->thunk.thunk_p); in preserve_function_body_p() 675 if (!node->thunk.thunk_p) in preserve_function_body_p()
|
| /netbsd-src/sys/arch/usermode/conf/ |
| H A D | Makefile.usermode | 48 CPPFLAGS.thunk.c+= ${USERMODE_CPPFLAGS} 58 MD_OBJS= thunk.o 59 MD_CFILES= ${USERMODE}/usermode/thunk.c 97 thunk.d: ${USERMODE}/usermode/thunk.c 99 ${CPPFLAGS.thunk.c} ${USERMODE}/usermode/thunk.c 101 thunk.o: ${USERMODE}/usermode/thunk.c 102 ${CC} ${COPTS} ${CPPFLAGS.thunk.c} -c -o $@ ${USERMODE}/usermode/thunk.c
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cgraphclones.cc | 184 duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) in duplicate_thunk_for_node() argument 187 thunk_of = thunk->callees->callee->ultimate_alias_target (); in duplicate_thunk_for_node() 189 if (thunk_of->thunk) in duplicate_thunk_for_node() 192 if (!DECL_ARGUMENTS (thunk->decl)) in duplicate_thunk_for_node() 193 thunk->get_untransformed_body (); in duplicate_thunk_for_node() 195 thunk_info *i = thunk_info::get (thunk); in duplicate_thunk_for_node() 198 if (cs->caller->thunk) in duplicate_thunk_for_node() 215 new_decl = copy_node (thunk->decl); in duplicate_thunk_for_node() 222 new_decl = copy_node (thunk->decl); in duplicate_thunk_for_node() 238 DECL_NAME (new_decl) = clone_function_name_numbered (thunk->decl, in duplicate_thunk_for_node() [all …]
|
| H A D | cgraphunit.cc | 626 if (thunk) in analyze() 1233 && !cnode->thunk in analyze_functions() 1388 && !cnode->thunk) in analyze_functions() 1391 gcc_assert (!cnode->definition || cnode->thunk in analyze_functions() 1621 && !node->thunk in mark_functions_to_output() 1634 if (!next->thunk && !next->alias in mark_functions_to_output() 1752 if (e->caller->thunk in assemble_thunks_and_aliases() 1755 cgraph_node *thunk = e->caller; in assemble_thunks_and_aliases() local 1758 expand_thunk (thunk, !rtl_dump_and_exit, false); in assemble_thunks_and_aliases() 1759 thunk->assemble_thunks_and_aliases (); in assemble_thunks_and_aliases() [all …]
|
| H A D | tree-profile.cc | 737 bool thunk = false; in tree_profiling() local 738 if (!gimple_has_body_p (node->decl) && !node->thunk) in tree_profiling() 759 if (node->thunk) in tree_profiling() 764 thunk = true; in tree_profiling() 788 branch_prob (thunk); in tree_profiling() 795 && !thunk in tree_profiling()
|
| H A D | ipa-inline-transform.cc | 363 if (to->thunk) in inline_call() 578 if (first_clone->thunk) in save_inline_function_body() 580 while (first_clone->thunk) in save_inline_function_body() 690 gcc_assert (!node->alias && !node->thunk); in preserve_function_body_p() 694 if (!node->thunk) in preserve_function_body_p()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | method.c | 62 tree thunk; in make_thunk() local 82 for (thunk = DECL_THUNKS (function); thunk; thunk = DECL_CHAIN (thunk)) in make_thunk() 83 if (DECL_THIS_THUNK_P (thunk) == this_adjusting in make_thunk() 84 && THUNK_FIXED_OFFSET (thunk) == d in make_thunk() 85 && !virtual_offset == !THUNK_VIRTUAL_OFFSET (thunk) in make_thunk() 88 ? tree_int_cst_equal (THUNK_VIRTUAL_OFFSET (thunk), in make_thunk() 90 : THUNK_VIRTUAL_OFFSET (thunk) == virtual_offset))) in make_thunk() 91 return thunk; in make_thunk() 102 thunk = build_decl (DECL_SOURCE_LOCATION (function), in make_thunk() 104 DECL_LANG_SPECIFIC (thunk) = DECL_LANG_SPECIFIC (function); in make_thunk() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | decl.cc | 1865 finish_thunk (tree thunk, tree function) in finish_thunk() argument 1868 int fixed_offset = -THUNK_LANG_OFFSET (thunk); in finish_thunk() 1879 DECL_EXTERNAL (thunk) = 0; in finish_thunk() 1883 TREE_ASM_WRITTEN (thunk) = 1; in finish_thunk() 1904 resolve_unique_section (thunk, 0, flag_function_sections); in finish_thunk() 1907 set_decl_section_name (thunk, fn); in finish_thunk() 1908 symtab_node::get (thunk)->implicit_section in finish_thunk() 1919 DECL_CONTEXT (x) = thunk; in finish_thunk() 1925 DECL_ARGUMENTS (thunk) = nreverse (t); in finish_thunk() 1926 TREE_ASM_WRITTEN (thunk) = 1; in finish_thunk() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | method.cc | 62 tree thunk; in make_thunk() local 82 for (thunk = DECL_THUNKS (function); thunk; thunk = DECL_CHAIN (thunk)) in make_thunk() 83 if (DECL_THIS_THUNK_P (thunk) == this_adjusting in make_thunk() 84 && THUNK_FIXED_OFFSET (thunk) == d in make_thunk() 85 && !virtual_offset == !THUNK_VIRTUAL_OFFSET (thunk) in make_thunk() 88 ? tree_int_cst_equal (THUNK_VIRTUAL_OFFSET (thunk), in make_thunk() 90 : THUNK_VIRTUAL_OFFSET (thunk) == virtual_offset))) in make_thunk() 91 return thunk; in make_thunk() 102 thunk = build_decl (DECL_SOURCE_LOCATION (function), in make_thunk() 104 DECL_LANG_SPECIFIC (thunk) = DECL_LANG_SPECIFIC (function); in make_thunk() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | decl.cc | 1678 finish_thunk (tree thunk, tree function) in finish_thunk() argument 1681 int fixed_offset = -THUNK_LANG_OFFSET (thunk); in finish_thunk() 1695 TREE_ASM_WRITTEN (thunk) = 1; in finish_thunk() 1716 resolve_unique_section (thunk, 0, flag_function_sections); in finish_thunk() 1719 set_decl_section_name (thunk, DECL_SECTION_NAME (fn)); in finish_thunk() 1720 symtab_node::get (thunk)->implicit_section in finish_thunk() 1731 DECL_CONTEXT (x) = thunk; in finish_thunk() 1737 DECL_ARGUMENTS (thunk) = nreverse (t); in finish_thunk() 1738 TREE_ASM_WRITTEN (thunk) = 1; in finish_thunk() 1744 thunk_node = funcn->create_thunk (thunk, thunk, this_adjusting, in finish_thunk() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libctf/ |
| H A D | ctf-decls.h | 57 struct ctf_qsort_arg thunk = { compar, arg }; in ctf_qsort_r() local 58 qsort_r (base, nmemb, size, &thunk, ctf_qsort_compar_thunk); in ctf_qsort_r()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
| H A D | ctf-decls.h | 57 struct ctf_qsort_arg thunk = { compar, arg }; in ctf_qsort_r() local 58 qsort_r (base, nmemb, size, &thunk, ctf_qsort_compar_thunk); in ctf_qsort_r()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
| H A D | qsort.d | 66 … extern (C) void qsort_r(scope void *base, size_t nmemb, size_t size, scope void *thunk, Cmp cmp); in version() 81 … extern (C) void qsort_r(scope void *base, size_t nmemb, size_t size, scope void *thunk, Cmp cmp); in version() 96 … extern (C) void qsort_r(scope void *base, size_t nmemb, size_t size, scope void *thunk, Cmp cmp); in version()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/ |
| H A D | qsort.d | 60 … extern (C) void qsort_r(scope void *base, size_t nmemb, size_t size, scope void *thunk, Cmp cmp); in version() 75 … extern (C) void qsort_r(scope void *base, size_t nmemb, size_t size, scope void *thunk, Cmp cmp); in version() 90 … extern (C) void qsort_r(scope void *base, size_t nmemb, size_t size, scope void *thunk, Cmp cmp); in version()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/ |
| H A D | s390.opt | 243 disable branch prediction. Using thunk or thunk-extern with this 246 exceptions) is required please use thunk-inline instead. 277 Enum(indirect_branch) String(thunk) Value(indirect_branch_thunk) 280 Enum(indirect_branch) String(thunk-inline) Value(indirect_branch_thunk_inline) 283 Enum(indirect_branch) String(thunk-extern) Value(indirect_branch_thunk_extern)
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/ |
| H A D | s390.opt | 249 disable branch prediction. Using thunk or thunk-extern with this 252 exceptions) is required please use thunk-inline instead. 283 Enum(indirect_branch) String(thunk) Value(indirect_branch_thunk) 286 Enum(indirect_branch) String(thunk-inline) Value(indirect_branch_thunk_inline) 289 Enum(indirect_branch) String(thunk-extern) Value(indirect_branch_thunk_extern)
|