diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2006-11-03 22:12:37 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2006-11-03 22:12:37 +0000 |
commit | 3fa7d815f0072005581926c855eb1bdb82bbb930 (patch) | |
tree | b81f9de22e415ae2de2e244d323a481b46f0b6db /gcc/coretypes.h | |
parent | ce35728a28beffc803881bbf1ad802989fd78d8c (diff) |
* tree-dump.c (dump_enable_all): Rename local variable
ir_type to avoid name conflicts.
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Check for IR_GIMPLE
instead of using ir_type().
* profile.c (tree_register_profile_hooks): Likewise.
* value-prof.c (tree_register_value_prof_hooks): Likewise.
* basic-block.h (struct edge_def): Likewise.
* config/arm/arm.c (legitimize_pic_address): Likewise.
* coretypes.h (ir_type): New enum of all intermediate languages
used in GCC.
* cfghooks.c (ir_type): Rename to...
(current_ir_type): ...this. Distinguish between cfgrtl and
cfglayout mode when the current IR is RTL. Return enum ir_type.
* cfghooks.h (ir_type): Replace with current_ir_type prototype.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@118465 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coretypes.h')
-rw-r--r-- | gcc/coretypes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/coretypes.h b/gcc/coretypes.h index 6173bd8e8fe..3f0c58a7e06 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -48,6 +48,13 @@ typedef union tree_node *tree; union section; typedef union section section; +/* The major intermediate representations of GCC. */ +enum ir_type { + IR_GIMPLE, + IR_RTL_CFGRTL, + IR_RTL_CFGLAYOUT +}; + /* Provide forward struct declaration so that we don't have to include all of cpplib.h whenever a random prototype includes a pointer. Note that the cpp_reader typedef remains part of cpplib.h. */ |