aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorIlya Enkovich <ilya.enkovich@intel.com>2013-10-30 08:57:50 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2013-10-30 08:57:50 +0000
commitf481a2ce85ddb000d25003d318389926d84159c4 (patch)
tree6025b41883c8fc53b3bdf5a16961a1683c154b59 /gcc/targhooks.h
parent5d2a9da9a7f7c19761dfe93849ac60fdb25cf7be (diff)
downloadgcc-f481a2ce85ddb000d25003d318389926d84159c4.zip
gcc-f481a2ce85ddb000d25003d318389926d84159c4.tar.gz
gcc-f481a2ce85ddb000d25003d318389926d84159c4.tar.bz2
target.def (builtin_chkp_function): New.
* target.def (builtin_chkp_function): New. (chkp_bound_type): New. (chkp_bound_mode): New. (fn_abi_va_list_bounds_size): New. (load_bounds_for_arg): New. (store_bounds_for_arg): New. * targhooks.h (default_load_bounds_for_arg): New. (default_store_bounds_for_arg): New. (default_fn_abi_va_list_bounds_size): New. (default_chkp_bound_type): New. (default_chkp_bound_mode): New. (default_builtin_chkp_function): New. * targhooks.c (default_load_bounds_for_arg): New. (default_store_bounds_for_arg): New. (default_fn_abi_va_list_bounds_size): New. (default_chkp_bound_type): New. (default_chkp_bound_mode); New. (default_builtin_chkp_function): New. * doc/tm.texi.in (TARGET_FN_ABI_VA_LIST_BOUNDS_SIZE): New. (TARGET_LOAD_BOUNDS_FOR_ARG): New. (TARGET_STORE_BOUNDS_FOR_ARG): New. (TARGET_BUILTIN_CHKP_FUNCTION): New. (TARGET_CHKP_BOUND_TYPE): New. (TARGET_CHKP_BOUND_MODE): New. * doc/tm.texi: Regenerated. * langhooks.h (lang_hooks): Add chkp_supported field. * langhooks-def.h (LANG_HOOKS_CHKP_SUPPORTED): New. (LANG_HOOKS_INITIALIZER); Add LANG_HOOKS_CHKP_SUPPORTED. From-SVN: r204195
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 48de2a8..c810998 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -204,3 +204,10 @@ extern enum machine_mode default_cstore_mode (enum insn_code);
extern bool default_member_type_forces_blk (const_tree, enum machine_mode);
extern tree build_va_arg_indirect_ref (tree);
extern tree std_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
+
+extern rtx default_load_bounds_for_arg (rtx, rtx, rtx);
+extern void default_store_bounds_for_arg (rtx, rtx, rtx, rtx);
+extern tree default_fn_abi_va_list_bounds_size (tree);
+extern tree default_chkp_bound_type (void);
+extern enum machine_mode default_chkp_bound_mode (void);
+extern tree default_builtin_chkp_function (unsigned int);