diff options
author | Edward Smith-Rowland <3dw4rd@verizon.net> | 2017-07-20 14:54:44 +0000 |
---|---|---|
committer | Edward Smith-Rowland <3dw4rd@verizon.net> | 2017-07-20 14:54:44 +0000 |
commit | 3acaf2e51caf356a9afc763cfd70b91d1ab094b5 (patch) | |
tree | f13b1087143457ae5c053b6ec3b664c2aaeab169 /gcc/target.def | |
parent | c4d46197c5fe4461da59ce027bc68306c43186b0 (diff) |
Merged revisions r232323 through r250392 to the branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tr29124@250393 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gcc/target.def b/gcc/target.def index 6bebfd5b9d6..bbd9c015189 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -2369,7 +2369,7 @@ DEFHOOK DEFHOOK (chkp_bound_mode, "Return mode to be used for bounds.", - enum machine_mode, (void), + machine_mode, (void), default_chkp_bound_mode) DEFHOOK @@ -4370,7 +4370,7 @@ DEFHOOK "Use it to store bounds for anonymous register arguments stored\n\ into the stack. Arguments meaning is similar to\n\ @code{TARGET_SETUP_INCOMING_VARARGS}.", - void, (cumulative_args_t args_so_far, enum machine_mode mode, tree type, + void, (cumulative_args_t args_so_far, machine_mode mode, tree type, int *pretend_args_size, int second_time), default_setup_incoming_vararg_bounds) @@ -5395,6 +5395,18 @@ five otherwise. This is best for most machines.", unsigned int, (void), default_case_values_threshold) +/* Optional callback to advise the target to compute the frame layout. */ +DEFHOOK +(compute_frame_layout, + "This target hook is called once each time the frame layout needs to be\n\ +recalculated. The calculations can be cached by the target and can then\n\ +be used by @code{INITIAL_ELIMINATION_OFFSET} instead of re-computing the\n\ +layout on every invocation of that hook. This is particularly useful\n\ +for targets that have an expensive frame layout function. Implementing\n\ +this callback is optional.", + void, (void), + hook_void_void) + /* Return true if a function must have and use a frame pointer. */ DEFHOOK (frame_pointer_required, |