Commit 23b6da10 by Richard Henderson Committed by Richard Henderson

function.h (struct function): Move function_frequency and max_jumptable_ents…

function.h (struct function): Move function_frequency and max_jumptable_ents before start of bit field members.

        * function.h (struct function): Move function_frequency and
        max_jumptable_ents before start of bit field members.

From-SVN: r70928
parent 2d3359eb
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
2003-08-29 Richard Henderson <rth@redhat.com> 2003-08-29 Richard Henderson <rth@redhat.com>
* function.h (struct function): Move function_frequency and
max_jumptable_ents before start of bit field members.
2003-08-29 Richard Henderson <rth@redhat.com>
* builtins.c (expand_builtin_constant_p): Check cse_not_expected here, * builtins.c (expand_builtin_constant_p): Check cse_not_expected here,
(fold_builtin_constant_p) ... not here. (fold_builtin_constant_p) ... not here.
......
...@@ -389,6 +389,23 @@ struct function GTY(()) ...@@ -389,6 +389,23 @@ struct function GTY(())
delay list for them is recorded here. */ delay list for them is recorded here. */
rtx epilogue_delay_list; rtx epilogue_delay_list;
/* How commonly executed the function is. Initialized during branch
probabilities pass. */
enum function_frequency {
/* This function most likely won't be executed at all.
(set only when profile feedback is available). */
FUNCTION_FREQUENCY_UNLIKELY_EXECUTED,
/* The default value. */
FUNCTION_FREQUENCY_NORMAL,
/* Optimize this function hard
(set only when profile feedback is available). */
FUNCTION_FREQUENCY_HOT
} function_frequency;
/* Maximal number of entities in the single jumptable. Used to estimate
final flowgraph size. */
int max_jumptable_ents;
/* Collected bit flags. */ /* Collected bit flags. */
/* Nonzero if function being compiled needs to be given an address /* Nonzero if function being compiled needs to be given an address
...@@ -487,23 +504,6 @@ struct function GTY(()) ...@@ -487,23 +504,6 @@ struct function GTY(())
/* Nonzero if code to initialize arg_pointer_save_area has been emitted. */ /* Nonzero if code to initialize arg_pointer_save_area has been emitted. */
unsigned int arg_pointer_save_area_init : 1; unsigned int arg_pointer_save_area_init : 1;
/* How commonly executed the function is. Initialized during branch
probabilities pass. */
enum function_frequency {
/* This function most likely won't be executed at all.
(set only when profile feedback is available). */
FUNCTION_FREQUENCY_UNLIKELY_EXECUTED,
/* The default value. */
FUNCTION_FREQUENCY_NORMAL,
/* Optimize this function hard
(set only when profile feedback is available). */
FUNCTION_FREQUENCY_HOT
} function_frequency;
/* Maximal number of entities in the single jumptable. Used to estimate
final flowgraph size. */
int max_jumptable_ents;
}; };
/* The function currently being compiled. */ /* The function currently being compiled. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment