Home
last modified time | relevance | path

Searched refs:ret_type (Results 1 – 25 of 96) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/interception/
H A Dinterception.h123 # define DECLARE_WRAPPER(ret_type, func, ...) argument
129 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
130 extern "C" ret_type func(__VA_ARGS__);
131 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument
132 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
140 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
141 extern "C" ret_type func(__VA_ARGS__) \
147 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
148 extern "C" ret_type func(__VA_ARGS__) \
159 # define DECLARE_REAL(ret_type, func, ...) argument
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/interception/
H A Dinterception.h122 # define DECLARE_WRAPPER(ret_type, func, ...) argument
128 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
129 extern "C" ret_type func(__VA_ARGS__);
130 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument
131 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
136 # define DECLARE_WRAPPER(ret_type, func, ...) argument
144 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
145 extern "C" ret_type func(__VA_ARGS__) \
151 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
152 extern "C" ret_type func(__VA_ARGS__) \
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/interception/
H A Dinterception.h124 # define DECLARE_WRAPPER(ret_type, func, ...) argument
130 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
131 extern "C" ret_type func(__VA_ARGS__);
132 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument
133 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
138 # define DECLARE_WRAPPER(ret_type, func, ...) argument
146 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
147 extern "C" ret_type func(__VA_ARGS__) \
153 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
154 extern "C" ret_type func(__VA_ARGS__) \
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DCasting.h170 using ret_type = To &; // Normal case, return Ty&
173 using ret_type = const To &; // Normal case, return Ty&
177 using ret_type = To *; // Pointer arg case, return Ty*
181 using ret_type = const To *; // Constant pointer arg case, return const Ty*
185 using ret_type = const To *; // Constant pointer arg case, return const Ty*
191 using PointerType = typename cast_retty_impl<To, From *>::ret_type;
195 using ret_type = std::unique_ptr<ResultType>;
203 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
209 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
214 using ret_type = typename cast_retty_wrap<
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/VtableTest/
H A Dgen.cc157 int ret_type = 0; in gs() local
159 ret_type = random() % s + 1; in gs()
160 if (!base_present[s][ret_type] in gs()
161 || !base_present[ret_type][ret_types[s][fn]]) in gs()
165 ret_type = ret_types[s][fn]; in gs()
167 ret_type = s; in gs()
170 ret_types[s][fn] = ret_type; in gs()
172 if (ret_type) { in gs()
173 g(" virtual s"); g(ret_type); g("* fun"); in gs()
177 if (ret_type) in gs()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_solaris.cpp46 #define DECLARE__REAL(ret_type, func, ...) \ argument
47 extern "C" ret_type _REAL(func)(__VA_ARGS__)
48 #define DECLARE__REAL_AND_INTERNAL(ret_type, func, ...) \ argument
49 DECLARE__REAL(ret_type, func, __VA_ARGS__); \
50 ret_type internal_ ## func(__VA_ARGS__)
57 #define DECLARE__REAL64(ret_type, func, ...) \ argument
58 extern "C" ret_type _REAL64(func)(__VA_ARGS__)
59 #define DECLARE__REAL_AND_INTERNAL64(ret_type, func, ...) \ argument
60 DECLARE__REAL64(ret_type, func, __VA_ARGS__); \
61 ret_type internal_ ## func(__VA_ARGS__)
H A Dsanitizer_netbsd.cpp89 #define DEFINE__REAL(ret_type, func, ...) \ argument
90 static ret_type (*real_##func)(__VA_ARGS__) = NULL; \
92 real_##func = (ret_type(*)(__VA_ARGS__))GetRealLibcAddress(#func); \
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_solaris.cc45 #define DECLARE__REAL(ret_type, func, ...) \ argument
46 extern "C" ret_type _REAL(func)(__VA_ARGS__)
47 #define DECLARE__REAL_AND_INTERNAL(ret_type, func, ...) \ argument
48 DECLARE__REAL(ret_type, func, __VA_ARGS__); \
49 ret_type internal_ ## func(__VA_ARGS__)
56 #define DECLARE__REAL64(ret_type, func, ...) \ argument
57 extern "C" ret_type _REAL64(func)(__VA_ARGS__)
58 #define DECLARE__REAL_AND_INTERNAL64(ret_type, func, ...) \ argument
59 DECLARE__REAL64(ret_type, func, __VA_ARGS__); \
60 ret_type internal_ ## func(__VA_ARGS__)
H A Dsanitizer_netbsd.cc88 #define DEFINE__REAL(ret_type, func, ...) \ argument
89 static ret_type (*real_##func)(__VA_ARGS__) = NULL; \
91 real_##func = (ret_type(*)(__VA_ARGS__))GetRealLibcAddress(#func); \
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_solaris.cc45 #define DECLARE__REAL(ret_type, func, ...) \ argument
46 extern "C" ret_type _REAL(func)(__VA_ARGS__)
47 #define DECLARE__REAL_AND_INTERNAL(ret_type, func, ...) \ argument
48 DECLARE__REAL(ret_type, func, __VA_ARGS__); \
49 ret_type internal_ ## func(__VA_ARGS__)
56 #define DECLARE__REAL64(ret_type, func, ...) \ argument
57 extern "C" ret_type _REAL64(func)(__VA_ARGS__)
58 #define DECLARE__REAL_AND_INTERNAL64(ret_type, func, ...) \ argument
59 DECLARE__REAL64(ret_type, func, __VA_ARGS__); \
60 ret_type internal_ ## func(__VA_ARGS__)
H A Dsanitizer_netbsd.cc90 #define DEFINE__REAL(ret_type, func, ...) \ argument
91 static ret_type (*real_##func)(__VA_ARGS__) = NULL; \
93 real_##func = (ret_type(*)(__VA_ARGS__))GetRealLibcAddress(#func); \
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_interceptors.cc389 #define INTERCEPTOR_STRTO_BODY(ret_type, func, ...) \ argument
391 ret_type res = REAL(func)(__VA_ARGS__); \
395 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument
396 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \
397 INTERCEPTOR_STRTO_BODY(ret_type, func, nptr, endptr); \
400 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument
401 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
403 INTERCEPTOR_STRTO_BODY(ret_type, func, nptr, endptr, base); \
406 #define INTERCEPTOR_STRTO_LOC(ret_type, func, char_type) \ argument
407 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-tailcall.cc787 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value_with_ops() local
788 tree result = make_temp_ssa_name (ret_type, NULL, label); in adjust_return_value_with_ops()
791 if (POINTER_TYPE_P (ret_type)) in adjust_return_value_with_ops()
807 tree rhs = fold_convert (ret_type, tem); in adjust_return_value_with_ops()
1083 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in create_tailcall_accumulator() local
1084 if (POINTER_TYPE_P (ret_type)) in create_tailcall_accumulator()
1085 ret_type = sizetype; in create_tailcall_accumulator()
1087 tree tmp = make_temp_ssa_name (ret_type, NULL, label); in create_tailcall_accumulator()
1168 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in tree_optimize_tail_calls_1() local
1169 if (POINTER_TYPE_P (ret_type)) in tree_optimize_tail_calls_1()
[all …]
H A Dtree-vect-generic.cc319 bool parallel_p, tree ret_type = NULL_TREE) in expand_vector_piecewise() argument
335 else if (ret_type || !parallel_p) in expand_vector_piecewise()
342 if (!ret_type) in expand_vector_piecewise()
343 ret_type = type; in expand_vector_piecewise()
350 ret_type); in expand_vector_piecewise()
358 return build_vector_from_ctor (ret_type, v); in expand_vector_piecewise()
360 return build_constructor (ret_type, v); in expand_vector_piecewise()
496 tree ret_type = build_nonstandard_integer_type (prec, 1); in expand_vector_comparison() local
500 t = build_zero_cst (ret_type); in expand_vector_comparison()
516 t = gimplify_build3 (gsi, BIT_INSERT_EXPR, ret_type, t, result, in expand_vector_comparison()
[all …]
H A Dfold-const-call.cc649 fold_const_vec_convert (tree ret_type, tree arg) in fold_const_vec_convert() argument
656 gcc_checking_assert (VECTOR_TYPE_P (ret_type) && VECTOR_TYPE_P (arg_type)); in fold_const_vec_convert()
658 if (INTEGRAL_TYPE_P (TREE_TYPE (ret_type)) in fold_const_vec_convert()
662 && SCALAR_FLOAT_TYPE_P (TREE_TYPE (ret_type))) in fold_const_vec_convert()
668 = (INTEGRAL_TYPE_P (TREE_TYPE (ret_type)) in fold_const_vec_convert()
670 && (TYPE_PRECISION (TREE_TYPE (ret_type)) in fold_const_vec_convert()
673 if (!elts.new_unary_operation (ret_type, arg, step_ok_p)) in fold_const_vec_convert()
679 tree elt = fold_unary (code, TREE_TYPE (ret_type), in fold_const_vec_convert()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-vect-generic.c273 tree ret_type = NULL_TREE)
284 if (ret_type
292 if (!ret_type)
293 ret_type = type;
299 ret_type);
304 return build_constructor (ret_type, v);
398 tree ret_type = build_nonstandard_integer_type (prec, 1); in expand_vector_comparison() local
402 t = build_zero_cst (ret_type); in expand_vector_comparison()
416 t = gimplify_build3 (gsi, BIT_INSERT_EXPR, ret_type, t, result, in expand_vector_comparison()
1727 tree ret_type = TREE_TYPE (lhs); in expand_vector_conversion() local
[all …]
H A Dtree-tailcall.c788 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value_with_ops() local
789 tree result = make_temp_ssa_name (ret_type, NULL, label); in adjust_return_value_with_ops()
792 if (POINTER_TYPE_P (ret_type)) in adjust_return_value_with_ops()
808 tree rhs = fold_convert (ret_type, tem); in adjust_return_value_with_ops()
1072 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in create_tailcall_accumulator() local
1073 if (POINTER_TYPE_P (ret_type)) in create_tailcall_accumulator()
1074 ret_type = sizetype; in create_tailcall_accumulator()
1076 tree tmp = make_temp_ssa_name (ret_type, NULL, label); in create_tailcall_accumulator()
1081 add_phi_arg (phi, fold_convert (ret_type, init), single_pred_edge (bb), in create_tailcall_accumulator()
H A Dfold-const-call.c651 fold_const_vec_convert (tree ret_type, tree arg) in fold_const_vec_convert() argument
658 gcc_checking_assert (VECTOR_TYPE_P (ret_type) && VECTOR_TYPE_P (arg_type)); in fold_const_vec_convert()
660 if (INTEGRAL_TYPE_P (TREE_TYPE (ret_type)) in fold_const_vec_convert()
664 && SCALAR_FLOAT_TYPE_P (TREE_TYPE (ret_type))) in fold_const_vec_convert()
670 = (INTEGRAL_TYPE_P (TREE_TYPE (ret_type)) in fold_const_vec_convert()
672 && (TYPE_PRECISION (TREE_TYPE (ret_type)) in fold_const_vec_convert()
675 if (!elts.new_unary_operation (ret_type, arg, step_ok_p)) in fold_const_vec_convert()
681 tree elt = fold_unary (code, TREE_TYPE (ret_type), in fold_const_vec_convert()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-next-runtime-abi-02.c1629 tree ret_type in build_v2_objc_method_fixup_call() local
1633 tree ftype = build_function_type_for_method (ret_type, method_prototype, in build_v2_objc_method_fixup_call()
1674 if (TREE_CODE (ret_type) == RECORD_TYPE in build_v2_objc_method_fixup_call()
1675 || TREE_CODE (ret_type) == UNION_TYPE) in build_v2_objc_method_fixup_call()
1677 ftree = objc_build_constructor (ret_type, NULL); in build_v2_objc_method_fixup_call()
1679 ftree = fold_convert (ret_type, integer_zero_node); in build_v2_objc_method_fixup_call()
1694 ret_val = fold_convert (ret_type, ret_val); in build_v2_objc_method_fixup_call()
1714 tree ret_type in build_v2_build_objc_method_call() local
1718 tree ftype = build_function_type_for_method (ret_type, method_prototype, in build_v2_build_objc_method_call()
1741 if (ret_type && !VOID_TYPE_P (ret_type) in build_v2_build_objc_method_call()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-next-runtime-abi-02.cc1631 tree ret_type in build_v2_objc_method_fixup_call() local
1635 tree ftype = build_function_type_for_method (ret_type, method_prototype, in build_v2_objc_method_fixup_call()
1679 if (TREE_CODE (ret_type) == RECORD_TYPE in build_v2_objc_method_fixup_call()
1680 || TREE_CODE (ret_type) == UNION_TYPE) in build_v2_objc_method_fixup_call()
1682 ftree = objc_build_constructor (ret_type, NULL); in build_v2_objc_method_fixup_call()
1684 ftree = fold_convert (ret_type, integer_zero_node); in build_v2_objc_method_fixup_call()
1699 ret_val = fold_convert (ret_type, ret_val); in build_v2_objc_method_fixup_call()
1719 tree ret_type in build_v2_build_objc_method_call() local
1723 tree ftype = build_function_type_for_method (ret_type, method_prototype, in build_v2_build_objc_method_call()
1746 if (ret_type && !VOID_TYPE_P (ret_type) in build_v2_build_objc_method_call()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-gen-builtins.cc1722 typeinfo *ret_type = &protoptr->rettype; in parse_prototype() local
1728 int success = match_type (ret_type, VOID_OK); in parse_prototype()
1741 ret_type->isvoid, ret_type->isconst, ret_type->isvector, in parse_prototype()
1742 ret_type->issigned, ret_type->isunsigned, ret_type->isbool, in parse_prototype()
1743 ret_type->ispixel, ret_type->ispointer, ret_type->base, in parse_prototype()
1744 ret_type->restr, ret_type->val1, ret_type->val2, pos + 1); in parse_prototype()
H A Drs6000-c.cc860 altivec_build_resolved_builtin (tree *args, int n, tree fntype, tree ret_type, in altivec_build_resolved_builtin() argument
924 return fold_convert (ret_type, call); in altivec_build_resolved_builtin()
1694 tree ret_type = TREE_TYPE (rs6000_instance_info_fntype[inst]); in find_instance() local
1695 return altivec_build_resolved_builtin (args, 2, fntype, ret_type, in find_instance()
1990 tree ret_type = TREE_TYPE (fntype); in altivec_resolve_overloaded_builtin() local
1993 ret_type, bifid, fcode); in altivec_resolve_overloaded_builtin()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/bpf/
H A Dbpf.c227 bpf_function_value (const_tree ret_type, in bpf_function_value() argument
234 mode = TYPE_MODE (ret_type); in bpf_function_value()
235 if (INTEGRAL_TYPE_P (ret_type)) in bpf_function_value()
236 mode = promote_function_mode (ret_type, mode, &unsignedp, in bpf_function_value()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-function-handler.cc183 tree ret_type = void_type_node; in operator ()() local
222 ret_type = TREE_TYPE (ret_value); in operator ()()
261 build_function_type_vec (ret_type, args)); in operator ()()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/bpf/
H A Dbpf.cc346 bpf_function_value (const_tree ret_type, in bpf_function_value() argument
353 mode = TYPE_MODE (ret_type); in bpf_function_value()
354 if (INTEGRAL_TYPE_P (ret_type)) in bpf_function_value()
355 mode = promote_function_mode (ret_type, mode, &unsignedp, in bpf_function_value()

1234