X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcoretypes.h;h=20932b8d9f3be1b7c08a494c38b101a0051454fe;hb=54c0191177db8bc27fb599a7d0d7a5866c5046fb;hp=b631d94d85f05af98c06a21c490a834177ba5c7e;hpb=964229b79f27a511c58e7907288a2dbc7c5afef3;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/coretypes.h b/gcc/coretypes.h index b631d94d85f..20932b8d9f3 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -1,5 +1,6 @@ /* GCC core type declarations. - Copyright (C) 2002, 2004, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2007, 2008, 2009, 2010 + Free Software Foundation, Inc. This file is part of GCC. @@ -63,8 +64,14 @@ typedef const union tree_node *const_tree; typedef const union gimple_statement_d *const_gimple; union section; typedef union section section; +struct gcc_options; struct cl_target_option; struct cl_optimization; +struct cl_option; +struct cl_decoded_option; +struct cl_option_handlers; +struct diagnostic_context; +typedef struct diagnostic_context diagnostic_context; struct gimple_seq_d; typedef struct gimple_seq_d *gimple_seq; typedef const struct gimple_seq_d *const_gimple_seq; @@ -104,6 +111,32 @@ enum tls_model { TLS_MODEL_LOCAL_EXEC }; +/* Types of unwind/exception handling info that can be generated. */ + +enum unwind_info_type +{ + UI_NONE, + UI_SJLJ, + UI_DWARF2, + UI_TARGET +}; + +/* Callgraph node profile representation. */ +enum node_frequency { + /* This function most likely won't be executed at all. + (set only when profile feedback is available or via function attribute). */ + NODE_FREQUENCY_UNLIKELY_EXECUTED, + /* For functions that are known to be executed once (i.e. constructors, destructors + and main function. */ + NODE_FREQUENCY_EXECUTED_ONCE, + /* The default value. */ + NODE_FREQUENCY_NORMAL, + /* Optimize this function hard + (set only when profile feedback is available or via function attribute). */ + NODE_FREQUENCY_HOT +}; + + struct edge_def; typedef struct edge_def *edge; typedef const struct edge_def *const_edge;