/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-ssa-dce.c | 234 switch (DECL_FUNCTION_CODE (callee)) in mark_stmt_if_obviously_necessary() 601 switch (DECL_FUNCTION_CODE (callee)) in mark_all_reaching_defs_necessary_1() 891 && (DECL_FUNCTION_CODE (def_callee) == BUILT_IN_ALIGNED_ALLOC in propagate_necessity() 892 || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_MALLOC in propagate_necessity() 893 || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_CALLOC)) in propagate_necessity() 960 && (DECL_FUNCTION_CODE (callee) == BUILT_IN_MEMSET in propagate_necessity() 961 || DECL_FUNCTION_CODE (callee) == BUILT_IN_MEMSET_CHK in propagate_necessity() 962 || DECL_FUNCTION_CODE (callee) == BUILT_IN_MALLOC in propagate_necessity() 963 || DECL_FUNCTION_CODE (callee) == BUILT_IN_ALIGNED_ALLOC in propagate_necessity() 964 || DECL_FUNCTION_CODE (callee) == BUILT_IN_CALLOC in propagate_necessity() [all …]
|
H A D | tree-ssa-dse.c | 102 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (stmt))) in initialize_ao_ref_for_dse() 472 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (stmt))) in maybe_trim_memstar_call() 708 && (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET in dse_optimize_redundant_stores() 709 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET_CHK) in dse_optimize_redundant_stores() 1061 switch (DECL_FUNCTION_CODE (fndecl)) in dse_optimize_stmt() 1085 if ((DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET in dse_optimize_stmt() 1086 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET_CHK) in dse_optimize_stmt()
|
H A D | builtins.c | 2204 switch (DECL_FUNCTION_CODE (fndecl)) in associated_internal_fn() 2281 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_ternary() 2354 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_3() 2369 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_3() 2399 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_3() 2444 switch (DECL_FUNCTION_CODE (fndecl)) in interclass_mathfn_icode() 2621 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPIF) in expand_builtin_cexpi() 2623 else if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPI) in expand_builtin_cexpi() 2625 else if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPIL) in expand_builtin_cexpi() 2647 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPIF) in expand_builtin_cexpi() [all …]
|
H A D | tree-ssa-strlen.c | 791 switch (DECL_FUNCTION_CODE (callee)) in get_string_length() 1296 && (DECL_FUNCTION_CODE (gimple_call_fndecl (si->stmt)) 1604 tree decl = builtin_decl_explicit (DECL_FUNCTION_CODE (callee)); in valid_builtin_call() 1610 switch (DECL_FUNCTION_CODE (callee)) in valid_builtin_call() 1728 switch (DECL_FUNCTION_CODE (callee)) in adjust_last_stmt() 2365 tree bound = (DECL_FUNCTION_CODE (callee) == BUILT_IN_STRNLEN in handle_builtin_strlen() 2954 built_in_function code = DECL_FUNCTION_CODE (func); in is_strlen_related_p() 2974 || DECL_FUNCTION_CODE (func) != BUILT_IN_STRLEN) in is_strlen_related_p() 3134 if (DECL_FUNCTION_CODE (func) == BUILT_IN_STPNCPY) in maybe_diag_stxncpy_trunc() 3218 if (DECL_FUNCTION_CODE (func) == BUILT_IN_STRNCAT) in maybe_diag_stxncpy_trunc() [all …]
|
H A D | tree-call-cdce.c | 294 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (call))) in can_test_argument_range() 337 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (call))) in edom_only_function() 778 fnc = DECL_FUNCTION_CODE (fn); in gen_shrink_wrap_conditions()
|
H A D | trans-mem.c | 305 switch (DECL_FUNCTION_CODE (fndecl)) in is_tm_ending_fndecl() 348 && BUILTIN_TM_LOAD_P (DECL_FUNCTION_CODE (fndecl))); in is_tm_load() 365 enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); in is_tm_simple_load() 393 && BUILTIN_TM_STORE_P (DECL_FUNCTION_CODE (fndecl))); in is_tm_store() 411 enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); in is_tm_simple_store() 513 switch (DECL_FUNCTION_CODE (fndecl)) in find_tm_replacement_function() 1998 if ((DECL_FUNCTION_CODE (fn) == BUILT_IN_TM_COMMIT in tm_region_init_1() 1999 || DECL_FUNCTION_CODE (fn) == BUILT_IN_TM_COMMIT_EH) in tm_region_init_1() 2006 if (DECL_FUNCTION_CODE (fn) == BUILT_IN_TM_IRREVOCABLE) in tm_region_init_1() 2532 enum built_in_function code = DECL_FUNCTION_CODE (fn_decl); in expand_call_tm() [all …]
|
H A D | gimple-low.c | 362 if (DECL_FUNCTION_CODE (decl) == BUILT_IN_SETJMP) in lower_stmt() 368 else if (DECL_FUNCTION_CODE (decl) == BUILT_IN_POSIX_MEMALIGN in lower_stmt()
|
H A D | tree-ssa-structalias.c | 4382 switch (DECL_FUNCTION_CODE (fndecl)) in find_func_aliases_for_builtin_call() 4412 tree dest = gimple_call_arg (t, (DECL_FUNCTION_CODE (fndecl) in find_func_aliases_for_builtin_call() 4414 tree src = gimple_call_arg (t, (DECL_FUNCTION_CODE (fndecl) in find_func_aliases_for_builtin_call() 4419 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMPCPY in find_func_aliases_for_builtin_call() 4420 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPCPY in find_func_aliases_for_builtin_call() 4421 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPNCPY in find_func_aliases_for_builtin_call() 4422 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMPCPY_CHK in find_func_aliases_for_builtin_call() 4423 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPCPY_CHK in find_func_aliases_for_builtin_call() 4424 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPNCPY_CHK) in find_func_aliases_for_builtin_call() 4572 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_REALLOC) in find_func_aliases_for_builtin_call() [all …]
|
H A D | tree-ssa-forwprop.c | 1254 switch (DECL_FUNCTION_CODE (callee2)) in simplify_builtin_call() 1290 if (DECL_FUNCTION_CODE (callee1) != BUILT_IN_MEMCPY in simplify_builtin_call() 1291 && DECL_FUNCTION_CODE (callee1) != BUILT_IN_MEMPCPY) in simplify_builtin_call() 1336 if (DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY in simplify_builtin_call() 1361 && DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY in simplify_builtin_call() 1406 if (lhs1 && DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY) in simplify_builtin_call() 1416 if (lhs1 && DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY) in simplify_builtin_call()
|
H A D | tree-ssa-ccp.c | 1948 switch (DECL_FUNCTION_CODE (fndecl)) in evaluate_stmt() 1962 align = (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_ALLOCA in evaluate_stmt() 2681 || ALLOCA_FUNCTION_CODE_P (DECL_FUNCTION_CODE (callee))) in optimize_stack_restore() 2750 switch (DECL_FUNCTION_CODE (callee)) in optimize_stdarg_builtin() 3313 fcode = DECL_FUNCTION_CODE (callee); in execute() 3319 switch (DECL_FUNCTION_CODE (callee)) in execute()
|
H A D | tree-ssa-alias.c | 2436 switch (DECL_FUNCTION_CODE (callee)) in ref_maybe_used_by_call_p_1() 2850 switch (DECL_FUNCTION_CODE (callee)) in call_may_clobber_ref_p_1() 2885 && DECL_FUNCTION_CODE (callee) != BUILT_IN_STRNCAT) in call_may_clobber_ref_p_1() 2910 && DECL_FUNCTION_CODE (callee) != BUILT_IN_STRNCAT_CHK) in call_may_clobber_ref_p_1() 3344 switch (DECL_FUNCTION_CODE (callee)) in stmt_kills_ref_p() 3380 if (DECL_FUNCTION_CODE (callee) == BUILT_IN_CALLOC) in stmt_kills_ref_p()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | tree-ssa-dce.cc | 227 switch (DECL_FUNCTION_CODE (callee)) in mark_stmt_if_obviously_necessary() 596 switch (DECL_FUNCTION_CODE (callee)) in mark_all_reaching_defs_necessary_1() 831 && (DECL_FUNCTION_CODE (def_callee) == BUILT_IN_ALIGNED_ALLOC in propagate_necessity() 832 || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_MALLOC in propagate_necessity() 833 || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_CALLOC in propagate_necessity() 834 || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_GOMP_ALLOC)) in propagate_necessity() 900 && (DECL_FUNCTION_CODE (callee) == BUILT_IN_MEMSET in propagate_necessity() 901 || DECL_FUNCTION_CODE (callee) == BUILT_IN_MEMSET_CHK in propagate_necessity() 902 || DECL_FUNCTION_CODE (callee) == BUILT_IN_MALLOC in propagate_necessity() 903 || DECL_FUNCTION_CODE (callee) == BUILT_IN_ALIGNED_ALLOC in propagate_necessity() [all …]
|
H A D | gimple-warn-recursion.cc | 117 && m_built_in == DECL_FUNCTION_CODE (fndecl)) in find_function_exit() 184 m_built_in = DECL_FUNCTION_CODE (m_func->decl); in execute()
|
H A D | tree-ssa-dse.cc | 111 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (stmt))) in initialize_ao_ref_for_dse() 631 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (stmt))) in maybe_trim_memstar_call() 864 && (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET in dse_optimize_redundant_stores() 865 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET_CHK) in dse_optimize_redundant_stores() 1316 switch (DECL_FUNCTION_CODE (fndecl)) in dse_optimize_stmt() 1340 if ((DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET in dse_optimize_stmt() 1341 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMSET_CHK) in dse_optimize_stmt()
|
H A D | builtins.cc | 2197 return associated_internal_fn (DECL_FUNCTION_CODE (fndecl), in associated_internal_fn() 2265 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_ternary() 2338 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_3() 2353 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_3() 2383 switch (DECL_FUNCTION_CODE (fndecl)) in expand_builtin_mathfn_3() 2428 switch (DECL_FUNCTION_CODE (fndecl)) in interclass_mathfn_icode() 2661 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPIF) in expand_builtin_cexpi() 2663 else if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPI) in expand_builtin_cexpi() 2665 else if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPIL) in expand_builtin_cexpi() 2687 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_CEXPIF) in expand_builtin_cexpi() [all …]
|
H A D | gimple-ssa-warn-access.cc | 402 int fncode = DECL_FUNCTION_CODE (fndecl); in maybe_warn_nonstring_arg() 1557 switch (DECL_FUNCTION_CODE (fndecl)) in fndecl_alloc_p() 1788 switch (DECL_FUNCTION_CODE (alloc_decl)) in matching_alloc_calls_p() 1821 built_in_function dealloc_code = DECL_FUNCTION_CODE (dealloc_decl); in matching_alloc_calls_p() 1838 && dealloc_code == DECL_FUNCTION_CODE (fndecl)) in matching_alloc_calls_p() 1870 switch (DECL_FUNCTION_CODE (alloc)) in matching_alloc_calls_p() 1888 if (DECL_FUNCTION_CODE (alloc) != DECL_FUNCTION_CODE (alloc_decl)) in matching_alloc_calls_p() 1923 built_in_function fncode = DECL_FUNCTION_CODE (adealloc); in matching_alloc_calls_p() 1942 built_in_function fncode = DECL_FUNCTION_CODE (ddealloc); in matching_alloc_calls_p() 2415 switch (DECL_FUNCTION_CODE (fndecl)) in check_alloc_size_call() [all …]
|
H A D | tree-ssa-strlen.cc | 866 switch (DECL_FUNCTION_CODE (callee)) in get_string_length() 1432 && (DECL_FUNCTION_CODE (gimple_call_fndecl (si->stmt)) in maybe_invalidate() 1740 switch (DECL_FUNCTION_CODE (callee)) in valid_builtin_call() 1858 switch (DECL_FUNCTION_CODE (callee)) in adjust_last_stmt() 2249 tree bound = (DECL_FUNCTION_CODE (callee) == BUILT_IN_STRNLEN in handle_builtin_strlen() 2834 built_in_function code = DECL_FUNCTION_CODE (func); in is_strlen_related_p() 2854 || DECL_FUNCTION_CODE (func) != BUILT_IN_STRLEN) in is_strlen_related_p() 3010 if (DECL_FUNCTION_CODE (func) == BUILT_IN_STPNCPY) in maybe_diag_stxncpy_trunc() 3094 if (DECL_FUNCTION_CODE (func) == BUILT_IN_STRNCAT) in maybe_diag_stxncpy_trunc() 3846 enum built_in_function code1 = DECL_FUNCTION_CODE (callee1); in handle_builtin_memset() [all …]
|
H A D | tree-call-cdce.cc | 294 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (call))) in can_test_argument_range() 337 switch (DECL_FUNCTION_CODE (gimple_call_fndecl (call))) in edom_only_function() 778 fnc = DECL_FUNCTION_CODE (fn); in gen_shrink_wrap_conditions()
|
H A D | trans-mem.cc | 308 switch (DECL_FUNCTION_CODE (fndecl)) in is_tm_ending_fndecl() 351 && BUILTIN_TM_LOAD_P (DECL_FUNCTION_CODE (fndecl))); in is_tm_load() 368 enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); in is_tm_simple_load() 396 && BUILTIN_TM_STORE_P (DECL_FUNCTION_CODE (fndecl))); in is_tm_store() 414 enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); in is_tm_simple_store() 516 switch (DECL_FUNCTION_CODE (fndecl)) in find_tm_replacement_function() 2001 if ((DECL_FUNCTION_CODE (fn) == BUILT_IN_TM_COMMIT in tm_region_init_1() 2002 || DECL_FUNCTION_CODE (fn) == BUILT_IN_TM_COMMIT_EH) in tm_region_init_1() 2009 if (DECL_FUNCTION_CODE (fn) == BUILT_IN_TM_IRREVOCABLE) in tm_region_init_1() 2536 enum built_in_function code = DECL_FUNCTION_CODE (fn_decl); in expand_call_tm() [all …]
|
H A D | tree-ssa-uninit.cc | 490 built_in_function fncode = DECL_FUNCTION_CODE (fndecl); in check_defs() 642 const built_in_function fncode = DECL_FUNCTION_CODE (fndecl); in maybe_warn_operand() 774 ? DECL_FUNCTION_CODE (fndecl) : (built_in_function)BUILT_IN_LAST); in maybe_warn_pass_by_reference()
|
H A D | gimple-low.cc | 364 if (DECL_FUNCTION_CODE (decl) == BUILT_IN_SETJMP) in lower_stmt() 370 else if (DECL_FUNCTION_CODE (decl) == BUILT_IN_POSIX_MEMALIGN in lower_stmt()
|
H A D | tree-ssa-forwprop.cc | 1263 switch (DECL_FUNCTION_CODE (callee2)) in simplify_builtin_call() 1299 if (DECL_FUNCTION_CODE (callee1) != BUILT_IN_MEMCPY in simplify_builtin_call() 1300 && DECL_FUNCTION_CODE (callee1) != BUILT_IN_MEMPCPY) in simplify_builtin_call() 1345 if (DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY in simplify_builtin_call() 1370 && DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY in simplify_builtin_call() 1415 if (lhs1 && DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY) in simplify_builtin_call() 1425 if (lhs1 && DECL_FUNCTION_CODE (callee1) == BUILT_IN_MEMPCPY) in simplify_builtin_call() 1469 + (DECL_FUNCTION_CODE (callee2) \ in simplify_builtin_call()
|
H A D | tree-ssa-structalias.cc | 4494 switch (DECL_FUNCTION_CODE (fndecl)) in find_func_aliases_for_builtin_call() 4524 tree dest = gimple_call_arg (t, (DECL_FUNCTION_CODE (fndecl) in find_func_aliases_for_builtin_call() 4526 tree src = gimple_call_arg (t, (DECL_FUNCTION_CODE (fndecl) in find_func_aliases_for_builtin_call() 4531 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMPCPY in find_func_aliases_for_builtin_call() 4532 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPCPY in find_func_aliases_for_builtin_call() 4533 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPNCPY in find_func_aliases_for_builtin_call() 4534 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMPCPY_CHK in find_func_aliases_for_builtin_call() 4535 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPCPY_CHK in find_func_aliases_for_builtin_call() 4536 || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPNCPY_CHK) in find_func_aliases_for_builtin_call() 4685 if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_REALLOC) in find_func_aliases_for_builtin_call() [all …]
|
H A D | coroutine-passes.cc | 84 switch (DECL_FUNCTION_CODE (decl)) in lower_coro_builtin()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/spu/ |
H A D | spu-c.c | 96 int new_fcode, fcode = DECL_FUNCTION_CODE (fndecl); in spu_resolve_overloaded_builtin()
|