Otawa  0.10
util_fft_parser.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 #ifndef YY_UTIL_FFT_HOME_CASSE_OTAWA_OTAWA_SRC_PROG_UTIL_FFT_PARSER_H_INCLUDED
34 # define YY_UTIL_FFT_HOME_CASSE_OTAWA_OTAWA_SRC_PROG_UTIL_FFT_PARSER_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int util_fft_debug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
47  {
48  INTEGER = 258,
49  STRING = 259,
50  BAD_TOKEN = 260,
51  CHECKSUM = 261,
52  DOT_DOT = 262,
53  KW_ACCESS = 263,
54  KW_CALL = 264,
55  KW_CONTROL = 265,
56  KW_DOINLINE = 266,
57  KW_ENTRY = 267,
58  KW_IGNORE = 268,
60  KW_IGNORESEQ = 270,
61  KW_IN = 271,
64  KW_LIBRARY = 274,
65  KW_MAX = 275,
66  KW_MEMORY = 276,
68  KW_MULTICALL = 278,
69  KW_NO = 279,
70  KW_NOCALL = 280,
71  KW_NOINLINE = 281,
72  KW_PRESERVE = 282,
73  KW_REG = 283,
74  KW_SEQ = 284,
75  KW_TO = 285,
76  KW_TOTAL = 286,
77  LOOP = 287,
78  NORETURN = 288,
79  RETURN = 289,
80  TYPE = 290
81  };
82 #endif
83 
84 /* Value type. */
85 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
86 typedef union YYSTYPE YYSTYPE;
87 union YYSTYPE
88 {
89 #line 49 "util_fft_parser.yy" /* yacc.c:1909 */
90 
91  int _int;
92  elm::String *_str;
93  otawa::Address *addr;
94  const otawa::Type *type;
95  otawa::dfa::Value *value;
96 
97 #line 98 "/home/casse/otawa/otawa/src/prog/util_fft_parser.h" /* yacc.c:1909 */
98 };
99 # define YYSTYPE_IS_TRIVIAL 1
100 # define YYSTYPE_IS_DECLARED 1
101 #endif
102 
103 /* Location type. */
104 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
105 typedef struct YYLTYPE YYLTYPE;
106 struct YYLTYPE
107 {
108  int first_line;
109  int first_column;
110  int last_line;
111  int last_column;
112 };
113 # define YYLTYPE_IS_DECLARED 1
114 # define YYLTYPE_IS_TRIVIAL 1
115 #endif
116 
117 
118 extern YYSTYPE util_fft_lval;
119 extern YYLTYPE util_fft_lloc;
121 
122 #endif /* !YY_UTIL_FFT_HOME_CASSE_OTAWA_OTAWA_SRC_PROG_UTIL_FFT_PARSER_H_INCLUDED */
YYSTYPE util_fft_lval
Definition: util_fft_parser.h:66
yytokentype
Definition: ipet_parser.cpp:120
Definition: util_fft_parser.h:64
Definition: util_fft_parser.h:57
Definition: util_fft_parser.h:58
Definition: util_fft_parser.h:52
Definition: util_fft_parser.h:69
Definition: util_fft_parser.h:59
Definition: util_fft_parser.h:53
Definition: util_fft_parser.h:74
Definition: util_fft_parser.h:76
Definition: util_fft_parser.h:67
Definition: util_fft_parser.h:48
Definition: util_fft_parser.h:73
Definition: util_fft_parser.h:51
Definition: util_fft_parser.h:50
YYLTYPE util_fft_lloc
Definition: util_fft_parser.h:78
Definition: util_fft_parser.h:75
Definition: util_fft_parser.h:65
struct YYLTYPE YYLTYPE
Definition: util_fft_parser.h:105
Definition: util_fft_parser.h:70
Definition: util_fft_parser.h:77
Definition: util_fft_parser.h:62
Definition: util_fft_parser.h:61
The representation of an address in OTAWA.
Definition: base.h:54
Definition: util_fft_parser.h:63
Definition: util_fft_parser.h:60
Definition: util_fft_parser.h:54
Definition: util_fft_parser.h:79
Definition: util_fft_parser.h:56
union YYSTYPE YYSTYPE
Definition: util_fft_parser.h:86
Definition: util_fft_parser.h:71
Definition: util_fft_parser.h:49
int util_fft_parse(otawa::FlowFactLoader *loader)
This class is an abstract class to monitor the load of flow facts.
Definition: FlowFactLoader.h:54
Definition: util_fft_parser.h:68
Definition: util_fft_parser.h:80
const Type & type(void)
Definition: type.h:163
Definition: State.h:37
This class describes the type of the data in the program.
Definition: type.h:39
Definition: util_fft_parser.h:55
Definition: util_fft_parser.h:72