OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
phase.h
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
4 
5  This program is free software; you can redistribute it and/or modify it
6  under the terms of version 2 of the GNU General Public License as
7  published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it would be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13  Further, this software is distributed without any warranty that it is
14  free of the rightful claim of any third person regarding infringement
15  or the like. Any license provided herein, whether implied or
16  otherwise, applies only to this software file. Patent licenses, if
17  any, provided herein do not apply to combinations of this program with
18  other software, or any other product whatsoever.
19 
20  You should have received a copy of the GNU General Public License along
21  with this program; if not, write the Free Software Foundation, Inc., 59
22  Temple Place - Suite 330, Boston MA 02111-1307, USA.
23 
24  Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky,
25  Mountain View, CA 94043, or:
26 
27  http://www.sgi.com
28 
29  For further information regarding this notice, see:
30 
31  http://oss.sgi.com/projects/GenInfo/NoticeExplan
32 
33 */
34 
35 
36 /* ====================================================================
37  * ====================================================================
38  *
39  *
40  * Revision history:
41  * 17-Feb-95 - Original Version
42  *
43  * Description:
44  * Phase-specific functions and data structures that the common driver
45  * need to know.
46  *
47  * ====================================================================
48  * ====================================================================
49  */
50 
51 #ifndef phase_INCLUDED
52 #define phase_INCLUDED
53 
54 typedef enum {
55  PHASE_COMMON, /* non-phase specific */
56  PHASE_LNO, /* loop-nest optimizer */
57  PHASE_WOPT, /* global optimizer */
58  PHASE_CG, /* code generator */
59  PHASE_W2C, /* whirl2c */
60  PHASE_W2F, /* whirl2f */
61  PHASE_PURPLE, /* purple instrumenter */
62  PHASE_IPL, /* ipl */
63  PHASE_PROMPF, /* writing a prompf analysis file */
65 } BE_PHASES;
66 
67 typedef struct {
68  char *group_name; /* option group name */
69  INT group_name_length; /* string length of group_name */
70  BE_PHASES phase; /* the phase where this group belongs */
72 
74 
75 #endif /* phase_INCLUDED */