blob: a36a75357473701dae5372f94bb2e0216bc80cc5 [file] [log] [blame]
Owen Anderson1dc69692006-10-18 02:21:48 +00001#define yy_create_buffer llvmAsm_create_buffer
2#define yy_delete_buffer llvmAsm_delete_buffer
3#define yy_scan_buffer llvmAsm_scan_buffer
4#define yy_scan_string llvmAsm_scan_string
5#define yy_scan_bytes llvmAsm_scan_bytes
6#define yy_flex_debug llvmAsm_flex_debug
7#define yy_init_buffer llvmAsm_init_buffer
8#define yy_flush_buffer llvmAsm_flush_buffer
9#define yy_load_buffer_state llvmAsm_load_buffer_state
10#define yy_switch_to_buffer llvmAsm_switch_to_buffer
11#define yyin llvmAsmin
12#define yyleng llvmAsmleng
13#define yylex llvmAsmlex
14#define yyout llvmAsmout
15#define yyrestart llvmAsmrestart
16#define yytext llvmAsmtext
17#define yylineno llvmAsmlineno
Reid Spencer68a24bd2005-08-27 18:50:39 +000018
Owen Anderson1dc69692006-10-18 02:21:48 +000019#line 20 "Lexer.cpp"
Reid Spencer3da59db2006-11-27 01:05:10 +000020/* A lexical scanner generated by flex*/
Reid Spencer68a24bd2005-08-27 18:50:39 +000021
Owen Anderson1dc69692006-10-18 02:21:48 +000022/* Scanner skeleton version:
23 * $Header$
24 */
25
Reid Spencer68a24bd2005-08-27 18:50:39 +000026#define FLEX_SCANNER
27#define YY_FLEX_MAJOR_VERSION 2
28#define YY_FLEX_MINOR_VERSION 5
29
30#include <stdio.h>
Reid Spencer3da59db2006-11-27 01:05:10 +000031#include <unistd.h>
Reid Spencer68a24bd2005-08-27 18:50:39 +000032
33
Owen Anderson1dc69692006-10-18 02:21:48 +000034/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
35#ifdef c_plusplus
36#ifndef __cplusplus
37#define __cplusplus
38#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +000039#endif
40
41
42#ifdef __cplusplus
43
Owen Anderson1dc69692006-10-18 02:21:48 +000044#include <stdlib.h>
Owen Anderson1dc69692006-10-18 02:21:48 +000045
46/* Use prototypes in function declarations. */
47#define YY_USE_PROTOS
48
Reid Spencer68a24bd2005-08-27 18:50:39 +000049/* The "const" storage-class-modifier is valid. */
50#define YY_USE_CONST
51
52#else /* ! __cplusplus */
53
54#if __STDC__
55
Owen Anderson1dc69692006-10-18 02:21:48 +000056#define YY_USE_PROTOS
Reid Spencer68a24bd2005-08-27 18:50:39 +000057#define YY_USE_CONST
58
59#endif /* __STDC__ */
60#endif /* ! __cplusplus */
61
Owen Anderson1dc69692006-10-18 02:21:48 +000062#ifdef __TURBOC__
63 #pragma warn -rch
64 #pragma warn -use
65#include <io.h>
66#include <stdlib.h>
67#define YY_USE_CONST
68#define YY_USE_PROTOS
69#endif
70
Reid Spencer68a24bd2005-08-27 18:50:39 +000071#ifdef YY_USE_CONST
72#define yyconst const
73#else
74#define yyconst
75#endif
76
Owen Anderson1dc69692006-10-18 02:21:48 +000077
78#ifdef YY_USE_PROTOS
79#define YY_PROTO(proto) proto
80#else
81#define YY_PROTO(proto) ()
82#endif
83
Reid Spencer68a24bd2005-08-27 18:50:39 +000084/* Returned upon end-of-file. */
85#define YY_NULL 0
86
87/* Promotes a possibly negative, possibly signed char to an unsigned
88 * integer for use as an array index. If the signed char is negative,
89 * we want to instead treat it as an 8-bit unsigned char, hence the
90 * double cast.
91 */
92#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
93
94/* Enter a start condition. This macro really ought to take a parameter,
95 * but we do it the disgusting crufty way forced on us by the ()-less
96 * definition of BEGIN.
97 */
Owen Anderson1dc69692006-10-18 02:21:48 +000098#define BEGIN yy_start = 1 + 2 *
Reid Spencer68a24bd2005-08-27 18:50:39 +000099
100/* Translate the current start state into a value that can be later handed
101 * to BEGIN to return to the state. The YYSTATE alias is for lex
102 * compatibility.
103 */
Owen Anderson1dc69692006-10-18 02:21:48 +0000104#define YY_START ((yy_start - 1) / 2)
Reid Spencer68a24bd2005-08-27 18:50:39 +0000105#define YYSTATE YY_START
106
107/* Action number for EOF rule of a given start state. */
108#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
109
110/* Special action meaning "start processing a new file". */
Owen Anderson1dc69692006-10-18 02:21:48 +0000111#define YY_NEW_FILE yyrestart( yyin )
Reid Spencer68a24bd2005-08-27 18:50:39 +0000112
113#define YY_END_OF_BUFFER_CHAR 0
114
115/* Size of default input buffer. */
116#define YY_BUF_SIZE (16384*64)
117
118typedef struct yy_buffer_state *YY_BUFFER_STATE;
119
Owen Anderson1dc69692006-10-18 02:21:48 +0000120extern int yyleng;
121extern FILE *yyin, *yyout;
Reid Spencer68a24bd2005-08-27 18:50:39 +0000122
123#define EOB_ACT_CONTINUE_SCAN 0
124#define EOB_ACT_END_OF_FILE 1
125#define EOB_ACT_LAST_MATCH 2
126
Owen Anderson1dc69692006-10-18 02:21:48 +0000127/* The funky do-while in the following #define is used to turn the definition
128 * int a single C statement (which needs a semi-colon terminator). This
129 * avoids problems with code like:
130 *
131 * if ( condition_holds )
132 * yyless( 5 );
133 * else
134 * do_something_else();
135 *
136 * Prior to using the do-while the compiler would get upset at the
137 * "else" because it interpreted the "if" statement as being all
138 * done when it reached the ';' after the yyless() call.
139 */
140
141/* Return all but the first 'n' matched characters back to the input stream. */
142
Reid Spencer68a24bd2005-08-27 18:50:39 +0000143#define yyless(n) \
144 do \
145 { \
Owen Anderson1dc69692006-10-18 02:21:48 +0000146 /* Undo effects of setting up yytext. */ \
147 *yy_cp = yy_hold_char; \
Reid Spencer68a24bd2005-08-27 18:50:39 +0000148 YY_RESTORE_YY_MORE_OFFSET \
Owen Anderson1dc69692006-10-18 02:21:48 +0000149 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
150 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
Reid Spencer68a24bd2005-08-27 18:50:39 +0000151 } \
152 while ( 0 )
153
Owen Anderson1dc69692006-10-18 02:21:48 +0000154#define unput(c) yyunput( c, yytext_ptr )
Reid Spencer68a24bd2005-08-27 18:50:39 +0000155
Reid Spencer3da59db2006-11-27 01:05:10 +0000156/* Some routines like yy_flex_realloc() are emitted as static but are
157 not called by all lexers. This generates warnings in some compilers,
158 notably GCC. Arrange to suppress these. */
159#ifdef __GNUC__
160#define YY_MAY_BE_UNUSED __attribute__((unused))
161#else
162#define YY_MAY_BE_UNUSED
163#endif
164
Reid Spencer68a24bd2005-08-27 18:50:39 +0000165/* The following is because we cannot portably get our hands on size_t
166 * (without autoconf's help, which isn't available because we want
167 * flex-generated scanners to compile on their own).
168 */
169typedef unsigned int yy_size_t;
170
Owen Anderson1dc69692006-10-18 02:21:48 +0000171
Reid Spencer68a24bd2005-08-27 18:50:39 +0000172struct yy_buffer_state
173 {
174 FILE *yy_input_file;
175
176 char *yy_ch_buf; /* input buffer */
177 char *yy_buf_pos; /* current position in input buffer */
178
179 /* Size of input buffer in bytes, not including room for EOB
180 * characters.
181 */
182 yy_size_t yy_buf_size;
183
184 /* Number of characters read into yy_ch_buf, not including EOB
185 * characters.
186 */
187 int yy_n_chars;
188
189 /* Whether we "own" the buffer - i.e., we know we created it,
190 * and can realloc() it to grow it, and should free() it to
191 * delete it.
192 */
193 int yy_is_our_buffer;
194
195 /* Whether this is an "interactive" input source; if so, and
196 * if we're using stdio for input, then we want to use getc()
197 * instead of fread(), to make sure we stop fetching input after
198 * each newline.
199 */
200 int yy_is_interactive;
201
202 /* Whether we're considered to be at the beginning of a line.
203 * If so, '^' rules will be active on the next match, otherwise
204 * not.
205 */
206 int yy_at_bol;
207
208 /* Whether to try to fill the input buffer when we reach the
209 * end of it.
210 */
211 int yy_fill_buffer;
212
213 int yy_buffer_status;
214#define YY_BUFFER_NEW 0
215#define YY_BUFFER_NORMAL 1
216 /* When an EOF's been seen but there's still some text to process
217 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
218 * shouldn't try reading from the input source any more. We might
219 * still have a bunch of tokens to match, though, because of
220 * possible backing-up.
221 *
222 * When we actually see the EOF, we change the status to "new"
Owen Anderson1dc69692006-10-18 02:21:48 +0000223 * (via yyrestart()), so that the user can continue scanning by
224 * just pointing yyin at a new input file.
Reid Spencer68a24bd2005-08-27 18:50:39 +0000225 */
226#define YY_BUFFER_EOF_PENDING 2
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +0000227 };
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +0000228
Owen Anderson1dc69692006-10-18 02:21:48 +0000229static YY_BUFFER_STATE yy_current_buffer = 0;
Reid Spencer68a24bd2005-08-27 18:50:39 +0000230
231/* We provide macros for accessing buffer states in case in the
232 * future we want to put the buffer states in a more general
233 * "scanner state".
234 */
Owen Anderson1dc69692006-10-18 02:21:48 +0000235#define YY_CURRENT_BUFFER yy_current_buffer
Reid Spencer68a24bd2005-08-27 18:50:39 +0000236
237
Owen Anderson1dc69692006-10-18 02:21:48 +0000238/* yy_hold_char holds the character lost when yytext is formed. */
Reid Spencer68a24bd2005-08-27 18:50:39 +0000239static char yy_hold_char;
Owen Anderson1dc69692006-10-18 02:21:48 +0000240
Reid Spencer68a24bd2005-08-27 18:50:39 +0000241static int yy_n_chars; /* number of characters read into yy_ch_buf */
Owen Anderson1dc69692006-10-18 02:21:48 +0000242
243
244int yyleng;
Reid Spencer68a24bd2005-08-27 18:50:39 +0000245
246/* Points to current character in buffer. */
247static char *yy_c_buf_p = (char *) 0;
Owen Anderson1dc69692006-10-18 02:21:48 +0000248static int yy_init = 1; /* whether we need to initialize */
Reid Spencer68a24bd2005-08-27 18:50:39 +0000249static int yy_start = 0; /* start state number */
250
Owen Anderson1dc69692006-10-18 02:21:48 +0000251/* Flag which is used to allow yywrap()'s to do buffer switches
252 * instead of setting up a fresh yyin. A bit of a hack ...
Reid Spencer68a24bd2005-08-27 18:50:39 +0000253 */
254static int yy_did_buffer_switch_on_eof;
255
Owen Anderson1dc69692006-10-18 02:21:48 +0000256void yyrestart YY_PROTO(( FILE *input_file ));
Reid Spencer68a24bd2005-08-27 18:50:39 +0000257
Owen Anderson1dc69692006-10-18 02:21:48 +0000258void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
259void yy_load_buffer_state YY_PROTO(( void ));
260YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
261void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
262void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
263void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
264#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
Reid Spencer68a24bd2005-08-27 18:50:39 +0000265
Owen Anderson1dc69692006-10-18 02:21:48 +0000266YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
267YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
268YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
Reid Spencer68a24bd2005-08-27 18:50:39 +0000269
Owen Anderson1dc69692006-10-18 02:21:48 +0000270static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
Reid Spencer3da59db2006-11-27 01:05:10 +0000271static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) YY_MAY_BE_UNUSED;
Owen Anderson1dc69692006-10-18 02:21:48 +0000272static void yy_flex_free YY_PROTO(( void * ));
Reid Spencer68a24bd2005-08-27 18:50:39 +0000273
Owen Anderson1dc69692006-10-18 02:21:48 +0000274#define yy_new_buffer yy_create_buffer
Reid Spencer68a24bd2005-08-27 18:50:39 +0000275
276#define yy_set_interactive(is_interactive) \
277 { \
Owen Anderson1dc69692006-10-18 02:21:48 +0000278 if ( ! yy_current_buffer ) \
279 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
280 yy_current_buffer->yy_is_interactive = is_interactive; \
Reid Spencer68a24bd2005-08-27 18:50:39 +0000281 }
282
283#define yy_set_bol(at_bol) \
284 { \
Owen Anderson1dc69692006-10-18 02:21:48 +0000285 if ( ! yy_current_buffer ) \
286 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
287 yy_current_buffer->yy_at_bol = at_bol; \
Reid Spencer68a24bd2005-08-27 18:50:39 +0000288 }
289
Owen Anderson1dc69692006-10-18 02:21:48 +0000290#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
Reid Spencer68a24bd2005-08-27 18:50:39 +0000291
292
Owen Anderson1dc69692006-10-18 02:21:48 +0000293#define YY_USES_REJECT
294
295#define yywrap() 1
Reid Spencer68a24bd2005-08-27 18:50:39 +0000296#define YY_SKIP_YYWRAP
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +0000297typedef unsigned char YY_CHAR;
Owen Anderson1dc69692006-10-18 02:21:48 +0000298FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +0000299typedef int yy_state_type;
Owen Anderson1dc69692006-10-18 02:21:48 +0000300extern int yylineno;
301int yylineno = 1;
302extern char *yytext;
303#define yytext_ptr yytext
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +0000304
Owen Anderson1dc69692006-10-18 02:21:48 +0000305static yy_state_type yy_get_previous_state YY_PROTO(( void ));
306static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
307static int yy_get_next_buffer YY_PROTO(( void ));
308static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
Reid Spencer68a24bd2005-08-27 18:50:39 +0000309
310/* Done after the current pattern has been matched and before the
Owen Anderson1dc69692006-10-18 02:21:48 +0000311 * corresponding action - sets up yytext.
Reid Spencer68a24bd2005-08-27 18:50:39 +0000312 */
313#define YY_DO_BEFORE_ACTION \
Owen Anderson1dc69692006-10-18 02:21:48 +0000314 yytext_ptr = yy_bp; \
315 yyleng = (int) (yy_cp - yy_bp); \
316 yy_hold_char = *yy_cp; \
Reid Spencer68a24bd2005-08-27 18:50:39 +0000317 *yy_cp = '\0'; \
Owen Anderson1dc69692006-10-18 02:21:48 +0000318 yy_c_buf_p = yy_cp;
Reid Spencer68a24bd2005-08-27 18:50:39 +0000319
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000320#define YY_NUM_RULES 147
321#define YY_END_OF_BUFFER 148
322static yyconst short int yy_acclist[225] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000323 { 0,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000324 148, 146, 147, 145, 146, 147, 145, 147, 146, 147,
325 146, 147, 146, 147, 146, 147, 146, 147, 146, 147,
326 138, 146, 147, 138, 146, 147, 1, 146, 147, 146,
327 147, 146, 147, 146, 147, 146, 147, 146, 147, 146,
328 147, 146, 147, 146, 147, 146, 147, 146, 147, 146,
329 147, 146, 147, 146, 147, 146, 147, 146, 147, 146,
330 147, 146, 147, 146, 147, 146, 147, 146, 147, 146,
331 147, 137, 135, 134, 134, 141, 139, 143, 138, 1,
332 120, 38, 80, 81, 70, 22, 137, 134, 134, 142,
333 143, 19, 143, 144, 60, 69, 36, 31, 39, 3,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000334
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000335 51, 62, 90, 95, 93, 94, 92, 91, 96, 100,
336 119, 85, 83, 115, 84, 82, 61, 98, 89, 87,
337 88, 86, 99, 97, 71, 136, 143, 143, 117, 46,
338 101, 79, 65, 127, 68, 78, 128, 53, 116, 21,
339 140, 64, 104, 67, 23, 4, 58, 63, 52, 66,
340 45, 11, 103, 143, 33, 2, 5, 55, 106, 57,
341 47, 73, 77, 75, 76, 74, 72, 49, 129, 102,
342 48, 54, 20, 126, 42, 56, 27, 41, 110, 109,
343 7, 122, 30, 125, 35, 59, 114, 108, 121, 24,
344 25, 107, 123, 50, 118, 113, 40, 6, 26, 105,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000345
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000346 34, 8, 16, 9, 111, 10, 112, 32, 12, 14,
347 13, 29, 37, 15, 28, 124, 130, 132, 133, 43,
348 131, 17, 44, 18
Reid Spencer68a24bd2005-08-27 18:50:39 +0000349 } ;
350
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000351static yyconst short int yy_accept[581] =
Owen Anderson1dc69692006-10-18 02:21:48 +0000352 { 0,
353 1, 1, 1, 2, 4, 7, 9, 11, 13, 15,
354 17, 19, 21, 24, 27, 30, 32, 34, 36, 38,
355 40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
356 60, 62, 64, 66, 68, 70, 72, 72, 73, 73,
357 74, 75, 76, 77, 77, 78, 78, 79, 80, 80,
358 81, 81, 81, 81, 81, 81, 81, 81, 81, 82,
Reid Spencera132e042006-12-03 05:46:11 +0000359 82, 83, 83, 83, 83, 83, 83, 83, 83, 84,
Owen Anderson1dc69692006-10-18 02:21:48 +0000360 84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
Reid Spencera132e042006-12-03 05:46:11 +0000361 84, 84, 84, 84, 84, 84, 84, 84, 84, 85,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000362 85, 85, 85, 85, 85, 85, 86, 86, 86, 86,
Owen Anderson1dc69692006-10-18 02:21:48 +0000363
Reid Spencera132e042006-12-03 05:46:11 +0000364 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000365 86, 86, 86, 86, 87, 87, 87, 87, 87, 87,
Reid Spencera132e042006-12-03 05:46:11 +0000366 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000367 87, 87, 88, 89, 91, 92, 93, 94, 94, 95,
368 96, 96, 96, 97, 97, 97, 98, 98, 99, 99,
369 99, 99, 100, 100, 100, 100, 100, 100, 100, 100,
370 100, 101, 101, 101, 101, 101, 101, 101, 101, 101,
371 101, 101, 101, 101, 101, 101, 102, 102, 102, 102,
372 102, 102, 102, 102, 102, 102, 103, 103, 104, 105,
373 106, 107, 108, 109, 109, 110, 111, 111, 111, 112,
Reid Spencer3da59db2006-11-27 01:05:10 +0000374
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000375 112, 112, 112, 112, 112, 112, 112, 113, 114, 115,
376 115, 115, 115, 115, 116, 117, 117, 117, 118, 118,
377 118, 118, 118, 118, 118, 118, 118, 119, 120, 121,
378 121, 121, 122, 122, 123, 123, 124, 125, 125, 125,
379 125, 125, 125, 125, 125, 125, 125, 126, 126, 126,
380 127, 128, 128, 128, 128, 129, 129, 129, 129, 130,
381 130, 130, 131, 132, 132, 132, 132, 132, 132, 132,
382 132, 132, 132, 132, 132, 132, 132, 132, 133, 134,
383 134, 134, 134, 134, 135, 136, 136, 136, 137, 137,
384 137, 137, 137, 137, 137, 137, 137, 138, 139, 140,
Owen Anderson1dc69692006-10-18 02:21:48 +0000385
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000386 140, 140, 141, 141, 141, 141, 142, 142, 143, 143,
387 143, 143, 143, 143, 143, 144, 144, 144, 144, 144,
388 145, 145, 145, 146, 146, 146, 147, 147, 148, 148,
389 149, 150, 150, 150, 150, 150, 150, 151, 151, 151,
390 152, 152, 153, 153, 153, 154, 155, 156, 156, 156,
391 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
392 157, 157, 157, 157, 158, 158, 159, 160, 160, 160,
393 160, 160, 160, 160, 160, 160, 160, 160, 161, 161,
394 161, 161, 161, 161, 161, 161, 162, 162, 162, 163,
395 164, 165, 166, 167, 168, 169, 169, 169, 169, 170,
Owen Anderson1dc69692006-10-18 02:21:48 +0000396
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000397 170, 170, 170, 171, 172, 172, 173, 174, 174, 174,
398 174, 174, 174, 174, 174, 174, 175, 175, 175, 176,
399 176, 176, 176, 176, 176, 176, 176, 177, 178, 178,
400 178, 179, 180, 181, 181, 181, 182, 182, 182, 182,
401 182, 183, 183, 184, 185, 186, 187, 187, 187, 187,
402 188, 188, 188, 189, 190, 191, 192, 193, 193, 194,
403 195, 196, 196, 196, 196, 196, 196, 197, 197, 198,
404 198, 199, 200, 200, 200, 200, 200, 200, 201, 201,
405 201, 201, 201, 201, 201, 201, 201, 202, 202, 202,
406 202, 202, 202, 202, 202, 202, 203, 203, 203, 203,
Owen Anderson1dc69692006-10-18 02:21:48 +0000407
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000408 203, 204, 204, 204, 204, 204, 205, 206, 207, 207,
409 208, 208, 208, 208, 209, 209, 209, 209, 210, 210,
410 211, 212, 212, 212, 212, 212, 212, 212, 212, 212,
411 212, 212, 212, 212, 213, 213, 213, 213, 213, 213,
412 213, 213, 214, 214, 214, 214, 214, 215, 215, 215,
413 215, 215, 216, 216, 217, 217, 217, 217, 217, 217,
414 217, 217, 217, 217, 217, 217, 217, 218, 218, 219,
415 220, 220, 221, 221, 222, 223, 224, 224, 225, 225
Owen Anderson1dc69692006-10-18 02:21:48 +0000416 } ;
417
418static yyconst int yy_ec[256] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000419 { 0,
420 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
421 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
422 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
423 1, 2, 1, 4, 1, 5, 6, 1, 1, 1,
424 1, 1, 7, 1, 8, 9, 1, 10, 11, 11,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000425 11, 11, 11, 12, 11, 13, 11, 14, 15, 1,
426 1, 1, 1, 1, 16, 16, 16, 16, 17, 16,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000427 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
428 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000429 1, 1, 1, 1, 18, 1, 19, 20, 21, 22,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000430
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000431 23, 24, 25, 26, 27, 5, 28, 29, 30, 31,
432 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
433 42, 43, 1, 1, 1, 1, 1, 1, 1, 1,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000434 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
435 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
436 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
437 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
438 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
439 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
440 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
441
442 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
443 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
444 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
445 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
446 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
447 1, 1, 1, 1, 1
448 } ;
449
Owen Anderson1dc69692006-10-18 02:21:48 +0000450static yyconst int yy_meta[44] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000451 { 0,
452 1, 1, 2, 1, 3, 1, 1, 3, 3, 3,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000453 3, 3, 3, 4, 1, 3, 3, 3, 3, 3,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000454 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
455 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000456 3, 3, 3
Reid Spencer68a24bd2005-08-27 18:50:39 +0000457 } ;
458
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000459static yyconst short int yy_base[585] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000460 { 0,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000461 0, 0, 1248, 1249, 1249, 1249, 1243, 1232, 36, 40,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000462 44, 50, 56, 62, 0, 63, 66, 81, 89, 47,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000463 108, 91, 95, 92, 72, 109, 134, 119, 117, 160,
464 120, 191, 139, 121, 136, 150, 1241, 1249, 1230, 1249,
465 0, 165, 180, 197, 219, 70, 224, 239, 244, 0,
466 68, 152, 93, 128, 158, 190, 245, 31, 1229, 188,
467 182, 211, 48, 207, 248, 210, 122, 124, 1228, 209,
468 257, 258, 185, 259, 260, 261, 262, 263, 264, 265,
469 266, 276, 273, 287, 286, 278, 294, 295, 1227, 297,
470 299, 300, 305, 306, 303, 313, 307, 311, 301, 316,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000471
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000472 46, 317, 318, 325, 326, 329, 333, 327, 334, 337,
473 351, 346, 354, 1226, 358, 342, 338, 360, 363, 365,
474 362, 368, 372, 369, 364, 271, 384, 387, 231, 389,
475 394, 1225, 0, 404, 408, 1224, 426, 443, 0, 1223,
476 408, 395, 1222, 409, 412, 1221, 414, 1220, 431, 430,
477 432, 1219, 420, 434, 444, 446, 448, 449, 452, 454,
478 455, 450, 457, 458, 466, 180, 462, 469, 470, 473,
479 474, 472, 475, 477, 484, 486, 480, 490, 487, 497,
480 500, 502, 503, 504, 505, 1218, 506, 1217, 1216, 1215,
481 1214, 1213, 1212, 396, 1211, 1210, 510, 507, 1209, 535,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000482
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000483 512, 511, 516, 514, 546, 525, 1208, 1207, 1206, 526,
484 518, 549, 550, 1205, 1204, 551, 552, 1203, 553, 554,
485 559, 556, 562, 565, 560, 564, 1202, 1201, 1200, 572,
486 566, 1199, 577, 1198, 578, 1197, 1196, 581, 580, 582,
487 585, 517, 588, 586, 592, 597, 1195, 599, 600, 1249,
488 611, 628, 632, 636, 641, 602, 604, 642, 1194, 643,
489 613, 1193, 1192, 605, 644, 645, 646, 647, 649, 648,
490 650, 654, 651, 653, 658, 655, 665, 1191, 1190, 657,
491 670, 673, 676, 1189, 1188, 671, 677, 1187, 678, 681,
492 683, 685, 684, 679, 688, 690, 1186, 1185, 1184, 689,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000493
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000494 696, 1183, 691, 699, 692, 0, 708, 1182, 701, 709,
495 712, 718, 719, 720, 1181, 713, 721, 724, 725, 1180,
496 730, 737, 1179, 734, 723, 1178, 740, 1177, 745, 1176,
497 1175, 746, 748, 750, 752, 749, 1174, 751, 753, 1173,
498 755, 1172, 758, 762, 1171, 785, 1170, 764, 763, 1169,
499 765, 770, 785, 779, 788, 773, 761, 776, 789, 791,
500 792, 796, 797, 1168, 798, 1167, 1166, 799, 801, 802,
501 806, 803, 807, 810, 811, 816, 817, 1165, 820, 821,
502 822, 825, 827, 831, 832, 1164, 824, 838, 1163, 1162,
503 1161, 1160, 1159, 1158, 1157, 839, 841, 843, 1156, 844,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000504
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000505 846, 848, 1155, 1154, 847, 1153, 1152, 852, 850, 849,
506 853, 855, 860, 863, 867, 1151, 870, 871, 1150, 873,
507 874, 875, 876, 877, 878, 879, 1149, 1148, 887, 882,
508 1147, 1146, 1145, 888, 893, 1144, 880, 898, 901, 900,
509 1143, 904, 1142, 1141, 1140, 1139, 908, 902, 910, 1138,
510 912, 914, 1137, 1136, 1135, 1134, 1133, 913, 1132, 1131,
511 1130, 915, 916, 918, 920, 917, 1129, 922, 1128, 928,
512 1127, 1126, 931, 932, 935, 936, 939, 1125, 940, 937,
513 941, 942, 943, 950, 944, 947, 1124, 955, 958, 960,
514 962, 963, 968, 969, 972, 1123, 973, 976, 977, 978,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000515
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000516 1122, 974, 979, 981, 982, 1121, 1118, 1108, 985, 1107,
517 984, 988, 1001, 1106, 1002, 1003, 1005, 1105, 990, 1103,
518 1102, 1006, 1010, 994, 1015, 1012, 1014, 1016, 1021, 1022,
519 1024, 1025, 1026, 1101, 1027, 1030, 1032, 1033, 1036, 1038,
520 1034, 1100, 1039, 1035, 1049, 1052, 1098, 1053, 1042, 1055,
521 1054, 1097, 1058, 1093, 1059, 1063, 1060, 1061, 1066, 1072,
522 1069, 1075, 1077, 1079, 1080, 1081, 1091, 1082, 1083, 726,
523 1088, 616, 1085, 615, 515, 476, 1089, 370, 1249, 1124,
524 1126, 341, 1130, 151
Reid Spencer68a24bd2005-08-27 18:50:39 +0000525 } ;
526
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000527static yyconst short int yy_def[585] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000528 { 0,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000529 579, 1, 579, 579, 579, 579, 580, 581, 582, 579,
530 581, 581, 581, 581, 583, 581, 581, 581, 581, 581,
531 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
532 581, 581, 581, 581, 581, 581, 580, 579, 581, 579,
533 584, 584, 579, 579, 581, 581, 581, 581, 581, 583,
534 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
535 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
536 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
537 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
538 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000539
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000540 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
541 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
542 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
543 581, 579, 584, 584, 579, 581, 581, 581, 49, 581,
544 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
545 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
546 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
547 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
548 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
549 581, 581, 581, 581, 581, 581, 581, 581, 581, 49,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000550
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000551 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
552 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
553 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
554 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
555 581, 581, 581, 581, 581, 581, 581, 581, 581, 579,
556 579, 579, 579, 581, 581, 581, 581, 581, 581, 581,
557 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
558 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
559 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
560 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000561
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000562 581, 581, 581, 581, 581, 200, 581, 581, 581, 581,
563 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
564 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
565 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
566 581, 581, 581, 581, 581, 579, 581, 581, 581, 581,
567 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
568 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
569 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
570 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
571 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000572
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000573 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
574 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
575 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
576 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
577 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
578 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
579 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
580 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
581 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
582 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000583
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000584 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
585 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
586 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
587 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
588 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
589 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
590 581, 581, 581, 581, 581, 581, 581, 581, 581, 581,
591 581, 581, 581, 581, 581, 581, 581, 581, 0, 579,
592 579, 579, 579, 579
Reid Spencer68a24bd2005-08-27 18:50:39 +0000593 } ;
594
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000595static yyconst short int yy_nxt[1293] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000596 { 0,
597 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000598 14, 14, 14, 4, 15, 8, 8, 8, 16, 17,
599 18, 19, 20, 21, 22, 8, 23, 8, 24, 25,
600 26, 27, 28, 8, 29, 30, 31, 32, 33, 34,
601 35, 8, 36, 42, 40, 43, 43, 43, 43, 44,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000602 44, 44, 44, 45, 45, 45, 45, 40, 46, 40,
603 40, 40, 150, 40, 47, 48, 48, 48, 48, 40,
604 47, 48, 48, 48, 48, 40, 40, 68, 136, 40,
605 69, 40, 155, 40, 51, 40, 200, 70, 56, 140,
Reid Spencera132e042006-12-03 05:46:11 +0000606 86, 52, 57, 53, 40, 54, 49, 58, 55, 60,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000607
Reid Spencera132e042006-12-03 05:46:11 +0000608 59, 61, 40, 87, 40, 40, 40, 64, 40, 88,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000609 82, 65, 62, 77, 143, 79, 63, 66, 83, 78,
Reid Spencera132e042006-12-03 05:46:11 +0000610 67, 40, 40, 84, 80, 81, 71, 85, 72, 73,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000611 40, 89, 40, 40, 40, 40, 74, 40, 113, 100,
612 75, 40, 76, 128, 97, 161, 90, 40, 129, 40,
613 98, 114, 40, 133, 115, 99, 91, 126, 92, 160,
614 144, 116, 93, 40, 94, 40, 95, 130, 96, 101,
615 127, 40, 131, 40, 134, 134, 134, 134, 141, 102,
616 142, 103, 104, 145, 105, 106, 107, 146, 108, 43,
617 43, 43, 43, 40, 109, 40, 110, 111, 40, 112,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000618
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000619 101, 40, 152, 40, 40, 135, 44, 44, 44, 44,
620 117, 166, 118, 119, 147, 120, 151, 121, 279, 122,
621 40, 123, 40, 40, 40, 124, 125, 47, 45, 45,
622 45, 45, 40, 137, 137, 137, 137, 40, 159, 153,
623 138, 154, 246, 156, 40, 162, 138, 47, 48, 48,
624 48, 48, 40, 139, 139, 139, 139, 40, 40, 139,
625 139, 40, 139, 139, 139, 139, 139, 139, 157, 148,
626 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
627 158, 149, 168, 170, 40, 163, 40, 165, 242, 40,
628 167, 40, 164, 173, 172, 178, 169, 174, 171, 40,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000629
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000630 40, 175, 176, 179, 177, 181, 184, 40, 40, 180,
631 40, 183, 40, 40, 40, 185, 40, 182, 40, 40,
632 40, 194, 189, 186, 40, 187, 40, 191, 193, 40,
633 40, 40, 188, 196, 195, 198, 190, 197, 40, 40,
634 40, 192, 40, 41, 202, 203, 40, 40, 207, 214,
635 40, 40, 199, 204, 212, 40, 216, 209, 201, 40,
636 210, 205, 208, 215, 40, 206, 211, 40, 217, 213,
637 218, 40, 219, 40, 224, 40, 40, 40, 40, 225,
638 220, 40, 40, 40, 222, 40, 226, 228, 221, 241,
639 232, 240, 230, 235, 236, 223, 227, 40, 231, 233,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000640
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000641 40, 229, 40, 237, 234, 245, 238, 40, 40, 40,
642 243, 239, 244, 134, 134, 134, 134, 251, 251, 251,
643 251, 40, 40, 247, 252, 40, 257, 40, 248, 303,
644 252, 258, 256, 40, 249, 137, 137, 137, 137, 40,
645 260, 264, 138, 40, 40, 40, 259, 40, 138, 253,
646 254, 261, 255, 255, 255, 255, 40, 40, 262, 40,
647 263, 40, 40, 40, 267, 40, 266, 40, 40, 265,
648 40, 40, 274, 272, 270, 40, 268, 269, 271, 40,
649 280, 273, 40, 40, 275, 40, 40, 40, 40, 40,
650 40, 287, 276, 40, 277, 284, 286, 40, 278, 40,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000651
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000652 40, 282, 285, 40, 283, 289, 290, 288, 291, 281,
653 40, 293, 294, 40, 295, 40, 40, 40, 40, 40,
654 40, 297, 292, 40, 40, 40, 298, 40, 40, 40,
655 40, 40, 300, 296, 302, 339, 310, 299, 40, 40,
656 304, 317, 301, 305, 306, 306, 306, 306, 307, 308,
657 306, 306, 309, 306, 306, 306, 306, 306, 306, 40,
658 316, 315, 40, 40, 40, 40, 40, 40, 311, 40,
659 312, 318, 40, 40, 313, 40, 314, 40, 40, 40,
660 320, 319, 323, 324, 326, 40, 321, 328, 325, 322,
661 40, 40, 327, 40, 40, 40, 329, 332, 40, 40,
Reid Spencer3da59db2006-11-27 01:05:10 +0000662
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000663 334, 40, 330, 335, 341, 40, 336, 333, 331, 340,
664 40, 337, 40, 40, 343, 40, 338, 40, 40, 342,
665 251, 251, 251, 251, 348, 352, 40, 252, 40, 40,
666 344, 351, 347, 252, 253, 253, 345, 346, 346, 346,
667 346, 346, 346, 346, 346, 255, 255, 255, 255, 40,
668 255, 255, 255, 255, 40, 40, 40, 40, 40, 40,
669 40, 40, 40, 40, 40, 356, 40, 40, 40, 361,
670 40, 40, 349, 350, 355, 357, 363, 364, 40, 359,
671 353, 354, 360, 40, 40, 365, 40, 362, 358, 40,
672 40, 40, 40, 366, 40, 372, 40, 40, 40, 371,
Reid Spencer3da59db2006-11-27 01:05:10 +0000673
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000674 373, 40, 40, 40, 40, 40, 367, 378, 368, 40,
675 369, 377, 40, 370, 40, 374, 376, 375, 380, 379,
676 381, 40, 40, 385, 382, 40, 40, 387, 383, 388,
677 386, 40, 40, 40, 40, 384, 40, 40, 40, 40,
678 390, 392, 394, 40, 396, 389, 397, 40, 398, 395,
679 40, 402, 399, 40, 391, 393, 401, 400, 40, 40,
680 403, 40, 40, 40, 40, 40, 40, 404, 40, 405,
681 408, 40, 406, 407, 40, 40, 40, 40, 40, 409,
682 424, 413, 416, 40, 417, 410, 40, 411, 415, 40,
683 419, 412, 40, 414, 346, 346, 346, 346, 40, 421,
Reid Spencer3da59db2006-11-27 01:05:10 +0000684
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000685 418, 40, 40, 420, 40, 40, 422, 423, 425, 40,
686 40, 40, 40, 427, 40, 40, 40, 430, 431, 40,
687 40, 426, 428, 40, 40, 432, 429, 433, 435, 40,
688 40, 436, 434, 40, 40, 40, 437, 40, 40, 441,
689 40, 439, 444, 443, 40, 40, 438, 445, 440, 446,
690 442, 40, 40, 447, 40, 449, 40, 40, 448, 40,
691 40, 40, 40, 40, 452, 40, 40, 451, 40, 454,
692 456, 459, 458, 40, 450, 453, 40, 461, 463, 457,
693 40, 462, 455, 40, 40, 460, 40, 40, 40, 40,
694 40, 40, 40, 40, 469, 40, 466, 465, 471, 464,
Reid Spencer3da59db2006-11-27 01:05:10 +0000695
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000696 40, 40, 480, 468, 475, 476, 40, 467, 478, 473,
697 474, 40, 472, 40, 40, 40, 470, 40, 477, 482,
698 481, 40, 479, 40, 484, 40, 40, 40, 40, 40,
699 40, 40, 486, 40, 488, 40, 483, 489, 490, 493,
700 487, 40, 485, 491, 40, 40, 494, 495, 40, 40,
701 40, 492, 40, 40, 40, 40, 40, 40, 496, 497,
702 40, 502, 503, 40, 501, 498, 499, 504, 40, 505,
703 506, 40, 508, 40, 500, 40, 40, 507, 513, 509,
704 512, 40, 40, 510, 514, 40, 40, 40, 516, 40,
705 40, 40, 40, 511, 40, 40, 518, 40, 40, 515,
Reid Spencer3da59db2006-11-27 01:05:10 +0000706
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000707 522, 40, 523, 40, 526, 517, 528, 40, 529, 524,
708 519, 527, 520, 521, 40, 40, 40, 525, 40, 40,
709 530, 532, 531, 40, 535, 40, 534, 40, 40, 40,
710 537, 533, 536, 538, 40, 40, 541, 40, 40, 40,
711 40, 539, 544, 40, 546, 40, 40, 40, 40, 40,
712 543, 40, 40, 545, 547, 40, 540, 542, 551, 548,
713 552, 554, 40, 555, 549, 40, 40, 40, 40, 550,
714 553, 40, 40, 40, 40, 558, 40, 556, 559, 40,
715 557, 560, 40, 564, 561, 40, 565, 563, 40, 562,
716 40, 566, 40, 40, 40, 40, 40, 571, 40, 572,
Reid Spencer3da59db2006-11-27 01:05:10 +0000717
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000718 567, 40, 40, 568, 40, 569, 40, 577, 576, 570,
719 40, 40, 575, 40, 40, 40, 40, 574, 40, 40,
720 40, 40, 573, 578, 37, 37, 37, 37, 39, 39,
721 50, 40, 50, 50, 40, 40, 40, 40, 40, 40,
722 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencer3da59db2006-11-27 01:05:10 +0000723 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Chris Lattner0e9c3762006-01-25 22:27:16 +0000724 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Chris Lattnerd5efe842006-04-08 01:18:56 +0000725 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
726 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Chris Lattner75466192006-05-19 21:28:53 +0000727 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Chris Lattner75466192006-05-19 21:28:53 +0000728
Reid Spencer3ed469c2006-11-02 20:25:50 +0000729 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
730 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
731 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000732 40, 40, 40, 40, 40, 40, 40, 40, 250, 40,
733 40, 40, 40, 40, 132, 40, 38, 579, 3, 579,
734 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
735 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
736 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
737 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
738 579, 579
Reid Spencera132e042006-12-03 05:46:11 +0000739
Reid Spencer68a24bd2005-08-27 18:50:39 +0000740 } ;
741
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000742static yyconst short int yy_chk[1293] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000743 { 0,
744 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
745 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
746 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
747 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000748 1, 1, 1, 9, 58, 9, 9, 9, 9, 10,
749 10, 10, 10, 11, 11, 11, 11, 11, 12, 101,
750 20, 63, 58, 12, 13, 13, 13, 13, 13, 13,
751 14, 14, 14, 14, 14, 14, 16, 20, 46, 17,
752 20, 51, 63, 46, 16, 25, 101, 20, 17, 51,
Reid Spencera132e042006-12-03 05:46:11 +0000753 25, 16, 17, 16, 18, 16, 13, 17, 16, 18,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000754
Reid Spencera132e042006-12-03 05:46:11 +0000755 17, 18, 19, 25, 22, 24, 53, 19, 23, 25,
756 24, 19, 18, 22, 53, 23, 18, 19, 24, 22,
757 19, 21, 26, 24, 23, 23, 21, 24, 21, 21,
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000758 29, 26, 28, 31, 34, 67, 21, 68, 31, 29,
759 21, 54, 21, 34, 28, 68, 26, 27, 35, 35,
760 28, 31, 33, 584, 31, 28, 27, 33, 27, 67,
761 54, 31, 27, 36, 27, 52, 27, 35, 27, 30,
762 33, 55, 36, 30, 42, 42, 42, 42, 52, 30,
763 52, 30, 30, 55, 30, 30, 30, 55, 30, 43,
764 43, 43, 43, 166, 30, 61, 30, 30, 73, 30,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000765
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000766 32, 60, 61, 56, 32, 44, 44, 44, 44, 44,
767 32, 73, 32, 32, 56, 32, 60, 32, 166, 32,
768 64, 32, 70, 66, 62, 32, 32, 45, 45, 45,
769 45, 45, 45, 47, 47, 47, 47, 47, 66, 62,
770 47, 62, 129, 64, 129, 70, 47, 48, 48, 48,
771 48, 48, 48, 49, 49, 49, 49, 49, 57, 49,
772 49, 65, 49, 49, 49, 49, 49, 49, 65, 57,
773 71, 72, 74, 75, 76, 77, 78, 79, 80, 81,
774 65, 57, 75, 76, 126, 71, 83, 72, 126, 82,
775 74, 86, 71, 79, 78, 82, 75, 80, 77, 85,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000776
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000777 84, 81, 81, 83, 81, 84, 86, 87, 88, 83,
778 90, 85, 91, 92, 99, 87, 95, 84, 93, 94,
779 97, 95, 92, 88, 98, 90, 96, 93, 94, 100,
780 102, 103, 91, 97, 96, 99, 92, 98, 104, 105,
781 108, 93, 106, 582, 103, 104, 107, 109, 105, 108,
782 110, 117, 100, 104, 107, 116, 109, 106, 102, 112,
783 106, 104, 105, 108, 111, 104, 106, 113, 110, 107,
784 111, 115, 112, 118, 116, 121, 119, 125, 120, 117,
785 113, 122, 124, 578, 115, 123, 118, 120, 113, 125,
786 122, 124, 121, 123, 123, 115, 119, 127, 121, 122,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000787
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000788 128, 120, 130, 123, 122, 128, 123, 131, 142, 194,
789 127, 123, 127, 134, 134, 134, 134, 135, 135, 135,
790 135, 141, 144, 130, 135, 145, 142, 147, 131, 194,
791 135, 144, 141, 153, 131, 137, 137, 137, 137, 137,
792 147, 153, 137, 150, 149, 151, 145, 154, 137, 138,
793 138, 149, 138, 138, 138, 138, 138, 155, 150, 156,
794 151, 157, 158, 162, 156, 159, 155, 160, 161, 154,
795 163, 164, 162, 160, 159, 167, 157, 158, 159, 165,
796 167, 161, 168, 169, 162, 172, 170, 171, 173, 576,
797 174, 172, 163, 177, 164, 170, 171, 175, 165, 176,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000798
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000799 179, 169, 170, 178, 169, 174, 175, 173, 176, 168,
800 180, 177, 178, 181, 179, 182, 183, 184, 185, 187,
801 198, 181, 176, 197, 202, 201, 182, 204, 575, 203,
802 242, 211, 184, 180, 187, 242, 204, 183, 206, 210,
803 197, 211, 185, 198, 200, 200, 200, 200, 201, 202,
804 200, 200, 203, 200, 200, 200, 200, 200, 200, 205,
805 210, 206, 212, 213, 216, 217, 219, 220, 205, 222,
806 205, 212, 221, 225, 205, 223, 205, 226, 224, 231,
807 216, 213, 220, 221, 223, 230, 217, 224, 222, 219,
808 233, 235, 223, 239, 238, 240, 225, 231, 241, 244,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000809
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000810 235, 243, 226, 238, 244, 245, 239, 233, 230, 243,
811 246, 240, 248, 249, 246, 256, 241, 257, 264, 245,
812 251, 251, 251, 251, 257, 264, 261, 251, 574, 572,
813 248, 261, 256, 251, 252, 252, 249, 252, 252, 252,
814 252, 253, 253, 253, 253, 254, 254, 254, 254, 254,
815 255, 255, 255, 255, 255, 258, 260, 265, 266, 267,
816 268, 270, 269, 271, 273, 268, 274, 272, 276, 273,
817 280, 275, 258, 260, 267, 269, 275, 276, 277, 271,
818 265, 266, 272, 281, 286, 277, 282, 274, 270, 283,
819 287, 289, 294, 280, 290, 287, 291, 293, 292, 286,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000820
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000821 289, 295, 300, 296, 303, 305, 281, 294, 282, 301,
822 282, 293, 304, 283, 309, 290, 292, 291, 296, 295,
823 300, 307, 310, 305, 301, 311, 316, 309, 303, 310,
824 307, 312, 313, 314, 317, 304, 325, 318, 319, 570,
825 312, 313, 314, 321, 317, 311, 318, 324, 319, 316,
826 322, 325, 321, 327, 312, 313, 324, 322, 329, 332,
827 327, 333, 336, 334, 338, 335, 339, 329, 341, 332,
828 335, 343, 333, 334, 357, 344, 349, 348, 351, 336,
829 357, 343, 348, 352, 349, 338, 356, 339, 344, 358,
830 352, 341, 354, 343, 346, 346, 346, 346, 353, 354,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000831
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000832 351, 355, 359, 353, 360, 361, 355, 356, 358, 362,
833 363, 365, 368, 360, 369, 370, 372, 363, 365, 371,
834 373, 359, 361, 374, 375, 368, 362, 369, 371, 376,
835 377, 372, 370, 379, 380, 381, 373, 387, 382, 377,
836 383, 375, 381, 380, 384, 385, 374, 382, 376, 383,
837 379, 388, 396, 384, 397, 387, 398, 400, 385, 401,
838 405, 402, 410, 409, 397, 408, 411, 396, 412, 400,
839 402, 409, 408, 413, 388, 398, 414, 411, 413, 405,
840 415, 412, 401, 417, 418, 410, 420, 421, 422, 423,
841 424, 425, 426, 437, 421, 430, 417, 415, 423, 414,
Chris Lattnere869eef2005-11-12 00:11:49 +0000842
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000843 429, 434, 437, 420, 429, 429, 435, 418, 434, 425,
844 426, 438, 424, 440, 439, 448, 422, 442, 430, 439,
845 438, 447, 435, 449, 442, 451, 458, 452, 462, 463,
846 466, 464, 448, 465, 451, 468, 440, 452, 458, 464,
847 449, 470, 447, 462, 473, 474, 465, 466, 475, 476,
848 480, 463, 477, 479, 481, 482, 483, 485, 468, 470,
849 486, 477, 479, 484, 476, 473, 474, 480, 488, 481,
850 482, 489, 484, 490, 475, 491, 492, 483, 490, 485,
851 489, 493, 494, 486, 491, 495, 497, 502, 493, 498,
852 499, 500, 503, 488, 504, 505, 495, 511, 509, 492,
Chris Lattner75466192006-05-19 21:28:53 +0000853
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000854 500, 512, 502, 519, 505, 494, 511, 524, 512, 503,
855 497, 509, 498, 499, 513, 515, 516, 504, 517, 522,
856 513, 516, 515, 523, 522, 526, 519, 527, 525, 528,
857 524, 517, 523, 525, 529, 530, 528, 531, 532, 533,
858 535, 526, 531, 536, 533, 537, 538, 541, 544, 539,
859 530, 540, 543, 532, 535, 549, 527, 529, 539, 536,
860 540, 543, 545, 544, 537, 546, 548, 551, 550, 538,
861 541, 553, 555, 557, 558, 548, 556, 545, 549, 559,
862 546, 550, 561, 556, 551, 560, 557, 555, 562, 553,
863 563, 558, 564, 565, 566, 568, 569, 563, 573, 564,
Anton Korobeynikovbcb97702006-09-17 20:25:45 +0000864
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000865 559, 571, 577, 560, 567, 561, 554, 573, 571, 562,
866 552, 547, 568, 542, 534, 521, 520, 566, 518, 514,
867 510, 508, 565, 577, 580, 580, 580, 580, 581, 581,
868 583, 507, 583, 583, 506, 501, 496, 487, 478, 472,
869 471, 469, 467, 461, 460, 459, 457, 456, 455, 454,
870 453, 450, 446, 445, 444, 443, 441, 436, 433, 432,
871 431, 428, 427, 419, 416, 407, 406, 404, 403, 399,
872 395, 394, 393, 392, 391, 390, 389, 386, 378, 367,
873 366, 364, 350, 347, 345, 342, 340, 337, 331, 330,
874 328, 326, 323, 320, 315, 308, 302, 299, 298, 297,
Reid Spencer3da59db2006-11-27 01:05:10 +0000875
Reid Spencer6e18b7d2006-12-03 06:59:29 +0000876 288, 285, 284, 279, 278, 263, 262, 259, 247, 237,
877 236, 234, 232, 229, 228, 227, 218, 215, 214, 209,
878 208, 207, 199, 196, 195, 193, 192, 191, 190, 189,
879 188, 186, 152, 148, 146, 143, 140, 136, 132, 114,
880 89, 69, 59, 39, 37, 8, 7, 3, 579, 579,
881 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
882 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
883 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
884 579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
885 579, 579
Reid Spencera132e042006-12-03 05:46:11 +0000886
Reid Spencer68a24bd2005-08-27 18:50:39 +0000887 } ;
888
Owen Anderson1dc69692006-10-18 02:21:48 +0000889static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
890static char *yy_full_match;
891static int yy_lp;
892#define REJECT \
893{ \
894*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
895yy_cp = yy_full_match; /* restore poss. backed-over text */ \
896++yy_lp; \
897goto find_rule; \
898}
Reid Spencer68a24bd2005-08-27 18:50:39 +0000899#define yymore() yymore_used_but_not_detected
900#define YY_MORE_ADJ 0
901#define YY_RESTORE_YY_MORE_OFFSET
Owen Anderson1dc69692006-10-18 02:21:48 +0000902char *yytext;
Reid Spencer481169e2006-12-01 00:33:46 +0000903#line 1 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +0000904#define INITIAL 0
Reid Spencer68a24bd2005-08-27 18:50:39 +0000905/*===-- Lexer.l - Scanner for llvm assembly files --------------*- C++ -*--===//
906//
907// The LLVM Compiler Infrastructure
908//
909// This file was developed by the LLVM research group and is distributed under
910// the University of Illinois Open Source License. See LICENSE.TXT for details.
911//
912//===----------------------------------------------------------------------===//
913//
914// This file implements the flex scanner for LLVM assembly languages files.
915//
916//===----------------------------------------------------------------------===*/
Owen Anderson1dc69692006-10-18 02:21:48 +0000917#define YY_NEVER_INTERACTIVE 1
Reid Spencer481169e2006-12-01 00:33:46 +0000918#line 28 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +0000919#include "ParserInternals.h"
920#include "llvm/Module.h"
921#include <list>
922#include "llvmAsmParser.h"
923#include <cctype>
924#include <cstdlib>
925
926void set_scan_file(FILE * F){
Owen Anderson1dc69692006-10-18 02:21:48 +0000927 yy_switch_to_buffer(yy_create_buffer( F, YY_BUF_SIZE ) );
Reid Spencer68a24bd2005-08-27 18:50:39 +0000928}
929void set_scan_string (const char * str) {
Owen Anderson1dc69692006-10-18 02:21:48 +0000930 yy_scan_string (str);
Reid Spencer68a24bd2005-08-27 18:50:39 +0000931}
932
Reid Spencer3ed469c2006-11-02 20:25:50 +0000933// Construct a token value for a non-obsolete token
Reid Spencer68a24bd2005-08-27 18:50:39 +0000934#define RET_TOK(type, Enum, sym) \
Reid Spencera132e042006-12-03 05:46:11 +0000935 llvmAsmlval.type = Instruction::Enum; \
936 return sym
937
Reid Spencer3ed469c2006-11-02 20:25:50 +0000938// Construct a token value for an obsolete token
Reid Spencera132e042006-12-03 05:46:11 +0000939#define RET_TY(CTYPE, SYM) \
940 llvmAsmlval.PrimType = CTYPE;\
Reid Spencer481169e2006-12-01 00:33:46 +0000941 return SYM
Reid Spencer68a24bd2005-08-27 18:50:39 +0000942
943namespace llvm {
944
945// TODO: All of the static identifiers are figured out by the lexer,
946// these should be hashed to reduce the lexer size
947
948
949// atoull - Convert an ascii string of decimal digits into the unsigned long
950// long representation... this does not have to do input error checking,
951// because we know that the input will be matched by a suitable regex...
952//
953static uint64_t atoull(const char *Buffer) {
954 uint64_t Result = 0;
955 for (; *Buffer; Buffer++) {
956 uint64_t OldRes = Result;
957 Result *= 10;
958 Result += *Buffer-'0';
959 if (Result < OldRes) // Uh, oh, overflow detected!!!
Reid Spencer61c83e02006-08-18 08:43:06 +0000960 GenerateError("constant bigger than 64 bits detected!");
Reid Spencer68a24bd2005-08-27 18:50:39 +0000961 }
962 return Result;
963}
964
965static uint64_t HexIntToVal(const char *Buffer) {
966 uint64_t Result = 0;
967 for (; *Buffer; ++Buffer) {
968 uint64_t OldRes = Result;
969 Result *= 16;
970 char C = *Buffer;
971 if (C >= '0' && C <= '9')
972 Result += C-'0';
973 else if (C >= 'A' && C <= 'F')
974 Result += C-'A'+10;
975 else if (C >= 'a' && C <= 'f')
976 Result += C-'a'+10;
977
978 if (Result < OldRes) // Uh, oh, overflow detected!!!
Reid Spencer61c83e02006-08-18 08:43:06 +0000979 GenerateError("constant bigger than 64 bits detected!");
Reid Spencer68a24bd2005-08-27 18:50:39 +0000980 }
981 return Result;
982}
983
984
985// HexToFP - Convert the ascii string in hexidecimal format to the floating
986// point representation of it.
987//
988static double HexToFP(const char *Buffer) {
989 // Behave nicely in the face of C TBAA rules... see:
990 // http://www.nullstone.com/htmls/category/aliastyp.htm
991 union {
992 uint64_t UI;
993 double FP;
994 } UIntToFP;
995 UIntToFP.UI = HexIntToVal(Buffer);
996
997 assert(sizeof(double) == sizeof(uint64_t) &&
998 "Data sizes incompatible on this target!");
999 return UIntToFP.FP; // Cast Hex constant to double
1000}
1001
1002
1003// UnEscapeLexed - Run through the specified buffer and change \xx codes to the
1004// appropriate character. If AllowNull is set to false, a \00 value will cause
1005// an exception to be thrown.
1006//
1007// If AllowNull is set to true, the return value of the function points to the
1008// last character of the string in memory.
1009//
1010char *UnEscapeLexed(char *Buffer, bool AllowNull) {
1011 char *BOut = Buffer;
1012 for (char *BIn = Buffer; *BIn; ) {
1013 if (BIn[0] == '\\' && isxdigit(BIn[1]) && isxdigit(BIn[2])) {
1014 char Tmp = BIn[3]; BIn[3] = 0; // Terminate string
1015 *BOut = (char)strtol(BIn+1, 0, 16); // Convert to number
1016 if (!AllowNull && !*BOut)
Reid Spencer61c83e02006-08-18 08:43:06 +00001017 GenerateError("String literal cannot accept \\00 escape!");
Reid Spencer68a24bd2005-08-27 18:50:39 +00001018
1019 BIn[3] = Tmp; // Restore character
1020 BIn += 3; // Skip over handled chars
1021 ++BOut;
1022 } else {
1023 *BOut++ = *BIn++;
1024 }
1025 }
1026
1027 return BOut;
1028}
1029
1030} // End llvm namespace
1031
1032using namespace llvm;
1033
1034#define YY_NEVER_INTERACTIVE 1
1035/* Comments start with a ; and go till end of line */
1036/* Variable(Value) identifiers start with a % sign */
1037/* Label identifiers end with a colon */
1038/* Quoted names can contain any character except " and \ */
1039/* [PN]Integer: match positive and negative literal integer values that
1040 * are preceeded by a '%' character. These represent unnamed variable slots.
1041 */
1042/* E[PN]Integer: match positive and negative literal integer values */
1043/* FPConstant - A Floating point constant.
1044 */
1045/* HexFPConstant - Floating point constant represented in IEEE format as a
1046 * hexadecimal number for when exponential notation is not precise enough.
1047 */
1048/* HexIntConstant - Hexadecimal constant generated by the CFE to avoid forcing
1049 * it to deal with 64 bit numbers.
1050 */
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001051#line 1052 "Lexer.cpp"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001052
1053/* Macros after this point can all be overridden by user definitions in
1054 * section 1.
1055 */
1056
1057#ifndef YY_SKIP_YYWRAP
1058#ifdef __cplusplus
Owen Anderson1dc69692006-10-18 02:21:48 +00001059extern "C" int yywrap YY_PROTO(( void ));
Reid Spencer68a24bd2005-08-27 18:50:39 +00001060#else
Owen Anderson1dc69692006-10-18 02:21:48 +00001061extern int yywrap YY_PROTO(( void ));
Reid Spencer68a24bd2005-08-27 18:50:39 +00001062#endif
1063#endif
1064
Owen Anderson1dc69692006-10-18 02:21:48 +00001065#ifndef YY_NO_UNPUT
1066static inline void yyunput YY_PROTO(( int c, char *buf_ptr ));
1067#endif
1068
Reid Spencer68a24bd2005-08-27 18:50:39 +00001069#ifndef yytext_ptr
Owen Anderson1dc69692006-10-18 02:21:48 +00001070static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
Reid Spencer68a24bd2005-08-27 18:50:39 +00001071#endif
1072
1073#ifdef YY_NEED_STRLEN
Owen Anderson1dc69692006-10-18 02:21:48 +00001074static int yy_flex_strlen YY_PROTO(( yyconst char * ));
Reid Spencer68a24bd2005-08-27 18:50:39 +00001075#endif
1076
1077#ifndef YY_NO_INPUT
1078#ifdef __cplusplus
Owen Anderson1dc69692006-10-18 02:21:48 +00001079static int yyinput YY_PROTO(( void ));
Reid Spencer68a24bd2005-08-27 18:50:39 +00001080#else
Owen Anderson1dc69692006-10-18 02:21:48 +00001081static int input YY_PROTO(( void ));
1082#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00001083#endif
1084
Owen Anderson1dc69692006-10-18 02:21:48 +00001085#if YY_STACK_USED
1086static int yy_start_stack_ptr = 0;
1087static int yy_start_stack_depth = 0;
1088static int *yy_start_stack = 0;
1089#ifndef YY_NO_PUSH_STATE
1090static void yy_push_state YY_PROTO(( int new_state ));
1091#endif
1092#ifndef YY_NO_POP_STATE
1093static void yy_pop_state YY_PROTO(( void ));
1094#endif
1095#ifndef YY_NO_TOP_STATE
1096static int yy_top_state YY_PROTO(( void ));
1097#endif
1098
1099#else
1100#define YY_NO_PUSH_STATE 1
1101#define YY_NO_POP_STATE 1
1102#define YY_NO_TOP_STATE 1
1103#endif
1104
1105#ifdef YY_MALLOC_DECL
1106YY_MALLOC_DECL
1107#else
1108#if __STDC__
1109#ifndef __cplusplus
1110#include <stdlib.h>
1111#endif
1112#else
1113/* Just try to get by without declaring the routines. This will fail
1114 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1115 * or sizeof(void*) != sizeof(int).
1116 */
1117#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00001118#endif
1119
1120/* Amount of stuff to slurp up with each read. */
1121#ifndef YY_READ_BUF_SIZE
1122#define YY_READ_BUF_SIZE 8192
1123#endif
1124
1125/* Copy whatever the last rule matched to the standard output. */
Owen Anderson1dc69692006-10-18 02:21:48 +00001126
Reid Spencer68a24bd2005-08-27 18:50:39 +00001127#ifndef ECHO
1128/* This used to be an fputs(), but since the string might contain NUL's,
1129 * we now use fwrite().
1130 */
Owen Anderson1dc69692006-10-18 02:21:48 +00001131#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
Reid Spencer68a24bd2005-08-27 18:50:39 +00001132#endif
1133
1134/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1135 * is returned in "result".
1136 */
1137#ifndef YY_INPUT
1138#define YY_INPUT(buf,result,max_size) \
Owen Anderson1dc69692006-10-18 02:21:48 +00001139 if ( yy_current_buffer->yy_is_interactive ) \
Reid Spencer68a24bd2005-08-27 18:50:39 +00001140 { \
Owen Anderson1dc69692006-10-18 02:21:48 +00001141 int c = '*', n; \
Reid Spencer68a24bd2005-08-27 18:50:39 +00001142 for ( n = 0; n < max_size && \
Owen Anderson1dc69692006-10-18 02:21:48 +00001143 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
Reid Spencer68a24bd2005-08-27 18:50:39 +00001144 buf[n] = (char) c; \
1145 if ( c == '\n' ) \
1146 buf[n++] = (char) c; \
Owen Anderson1dc69692006-10-18 02:21:48 +00001147 if ( c == EOF && ferror( yyin ) ) \
Reid Spencer68a24bd2005-08-27 18:50:39 +00001148 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1149 result = n; \
1150 } \
Owen Anderson1dc69692006-10-18 02:21:48 +00001151 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1152 && ferror( yyin ) ) \
1153 YY_FATAL_ERROR( "input in flex scanner failed" );
Reid Spencer68a24bd2005-08-27 18:50:39 +00001154#endif
1155
1156/* No semi-colon after return; correct usage is to write "yyterminate();" -
1157 * we don't want an extra ';' after the "return" because that will cause
1158 * some compilers to complain about unreachable statements.
1159 */
1160#ifndef yyterminate
1161#define yyterminate() return YY_NULL
1162#endif
1163
1164/* Number of entries by which start-condition stack grows. */
1165#ifndef YY_START_STACK_INCR
1166#define YY_START_STACK_INCR 25
1167#endif
1168
1169/* Report a fatal error. */
1170#ifndef YY_FATAL_ERROR
1171#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1172#endif
1173
1174/* Default declaration of generated scanner - a define so the user can
1175 * easily add parameters.
1176 */
1177#ifndef YY_DECL
Owen Anderson1dc69692006-10-18 02:21:48 +00001178#define YY_DECL int yylex YY_PROTO(( void ))
1179#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00001180
Owen Anderson1dc69692006-10-18 02:21:48 +00001181/* Code executed at the beginning of each rule, after yytext and yyleng
Reid Spencer68a24bd2005-08-27 18:50:39 +00001182 * have been set up.
1183 */
1184#ifndef YY_USER_ACTION
1185#define YY_USER_ACTION
1186#endif
1187
1188/* Code executed at the end of each rule. */
1189#ifndef YY_BREAK
1190#define YY_BREAK break;
1191#endif
1192
1193#define YY_RULE_SETUP \
1194 YY_USER_ACTION
1195
1196YY_DECL
Owen Anderson1dc69692006-10-18 02:21:48 +00001197 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00001198 register yy_state_type yy_current_state;
Reid Spencer3da59db2006-11-27 01:05:10 +00001199 register char *yy_cp = NULL, *yy_bp = NULL;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001200 register int yy_act;
Owen Anderson1dc69692006-10-18 02:21:48 +00001201
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001202#line 186 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001203
1204
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001205#line 1206 "Lexer.cpp"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001206
Owen Anderson1dc69692006-10-18 02:21:48 +00001207 if ( yy_init )
Reid Spencer68a24bd2005-08-27 18:50:39 +00001208 {
Owen Anderson1dc69692006-10-18 02:21:48 +00001209 yy_init = 0;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001210
1211#ifdef YY_USER_INIT
1212 YY_USER_INIT;
1213#endif
1214
Owen Anderson1dc69692006-10-18 02:21:48 +00001215 if ( ! yy_start )
1216 yy_start = 1; /* first start state */
Reid Spencer68a24bd2005-08-27 18:50:39 +00001217
Owen Anderson1dc69692006-10-18 02:21:48 +00001218 if ( ! yyin )
1219 yyin = stdin;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001220
Owen Anderson1dc69692006-10-18 02:21:48 +00001221 if ( ! yyout )
1222 yyout = stdout;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001223
Owen Anderson1dc69692006-10-18 02:21:48 +00001224 if ( ! yy_current_buffer )
1225 yy_current_buffer =
1226 yy_create_buffer( yyin, YY_BUF_SIZE );
Reid Spencer68a24bd2005-08-27 18:50:39 +00001227
Owen Anderson1dc69692006-10-18 02:21:48 +00001228 yy_load_buffer_state();
Reid Spencer68a24bd2005-08-27 18:50:39 +00001229 }
1230
1231 while ( 1 ) /* loops until end-of-file is reached */
1232 {
Owen Anderson1dc69692006-10-18 02:21:48 +00001233 yy_cp = yy_c_buf_p;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001234
Owen Anderson1dc69692006-10-18 02:21:48 +00001235 /* Support of yytext. */
1236 *yy_cp = yy_hold_char;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001237
1238 /* yy_bp points to the position in yy_ch_buf of the start of
1239 * the current run.
1240 */
1241 yy_bp = yy_cp;
1242
Owen Anderson1dc69692006-10-18 02:21:48 +00001243 yy_current_state = yy_start;
1244 yy_state_ptr = yy_state_buf;
1245 *yy_state_ptr++ = yy_current_state;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001246yy_match:
1247 do
1248 {
1249 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1250 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1251 {
1252 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001253 if ( yy_current_state >= 580 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00001254 yy_c = yy_meta[(unsigned int) yy_c];
1255 }
1256 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Owen Anderson1dc69692006-10-18 02:21:48 +00001257 *yy_state_ptr++ = yy_current_state;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001258 ++yy_cp;
1259 }
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001260 while ( yy_current_state != 579 );
Reid Spencer68a24bd2005-08-27 18:50:39 +00001261
1262yy_find_action:
Owen Anderson1dc69692006-10-18 02:21:48 +00001263 yy_current_state = *--yy_state_ptr;
1264 yy_lp = yy_accept[yy_current_state];
1265find_rule: /* we branch to this label when backing up */
1266 for ( ; ; ) /* until we find what rule we matched */
1267 {
1268 if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
1269 {
1270 yy_act = yy_acclist[yy_lp];
1271 {
1272 yy_full_match = yy_cp;
1273 break;
1274 }
1275 }
1276 --yy_cp;
1277 yy_current_state = *--yy_state_ptr;
1278 yy_lp = yy_accept[yy_current_state];
1279 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001280
1281 YY_DO_BEFORE_ACTION;
1282
Owen Anderson1dc69692006-10-18 02:21:48 +00001283 if ( yy_act != YY_END_OF_BUFFER )
Reid Spencer68a24bd2005-08-27 18:50:39 +00001284 {
1285 int yyl;
Owen Anderson1dc69692006-10-18 02:21:48 +00001286 for ( yyl = 0; yyl < yyleng; ++yyl )
1287 if ( yytext[yyl] == '\n' )
1288 ++yylineno;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001289 }
1290
1291do_action: /* This label is used only to access EOF actions. */
1292
Owen Anderson1dc69692006-10-18 02:21:48 +00001293
Reid Spencer68a24bd2005-08-27 18:50:39 +00001294 switch ( yy_act )
1295 { /* beginning of action switch */
1296case 1:
1297YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001298#line 188 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001299{ /* Ignore comments for now */ }
1300 YY_BREAK
1301case 2:
1302YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001303#line 190 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001304{ return BEGINTOK; }
1305 YY_BREAK
1306case 3:
1307YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001308#line 191 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001309{ return ENDTOK; }
1310 YY_BREAK
1311case 4:
1312YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001313#line 192 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001314{ return TRUETOK; }
1315 YY_BREAK
1316case 5:
1317YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001318#line 193 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001319{ return FALSETOK; }
1320 YY_BREAK
1321case 6:
1322YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001323#line 194 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001324{ return DECLARE; }
1325 YY_BREAK
1326case 7:
1327YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001328#line 195 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001329{ return GLOBAL; }
1330 YY_BREAK
1331case 8:
1332YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001333#line 196 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001334{ return CONSTANT; }
1335 YY_BREAK
1336case 9:
1337YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001338#line 197 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001339{ return INTERNAL; }
1340 YY_BREAK
1341case 10:
1342YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001343#line 198 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001344{ return LINKONCE; }
1345 YY_BREAK
1346case 11:
1347YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001348#line 199 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001349{ return WEAK; }
1350 YY_BREAK
1351case 12:
1352YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001353#line 200 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001354{ return APPENDING; }
1355 YY_BREAK
1356case 13:
1357YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001358#line 201 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001359{ return DLLIMPORT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001360 YY_BREAK
1361case 14:
1362YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001363#line 202 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001364{ return DLLEXPORT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001365 YY_BREAK
1366case 15:
1367YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001368#line 203 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001369{ return EXTERN_WEAK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001370 YY_BREAK
1371case 16:
1372YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001373#line 204 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001374{ return EXTERNAL; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001375 YY_BREAK
1376case 17:
1377YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001378#line 205 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001379{ return IMPLEMENTATION; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001380 YY_BREAK
1381case 18:
1382YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001383#line 206 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001384{ return ZEROINITIALIZER; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001385 YY_BREAK
1386case 19:
1387YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001388#line 207 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001389{ return DOTDOTDOT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001390 YY_BREAK
1391case 20:
1392YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001393#line 208 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001394{ return UNDEF; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001395 YY_BREAK
1396case 21:
1397YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001398#line 209 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001399{ return NULL_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001400 YY_BREAK
1401case 22:
1402YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001403#line 210 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001404{ return TO; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001405 YY_BREAK
1406case 23:
1407YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001408#line 211 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001409{ return TAIL; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001410 YY_BREAK
1411case 24:
1412YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001413#line 212 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001414{ return TARGET; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001415 YY_BREAK
1416case 25:
1417YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001418#line 213 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001419{ return TRIPLE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001420 YY_BREAK
1421case 26:
1422YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001423#line 214 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001424{ return DEPLIBS; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001425 YY_BREAK
1426case 27:
1427YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001428#line 215 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001429{ return ENDIAN; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001430 YY_BREAK
1431case 28:
1432YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001433#line 216 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001434{ return POINTERSIZE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001435 YY_BREAK
1436case 29:
1437YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001438#line 217 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001439{ return DATALAYOUT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001440 YY_BREAK
1441case 30:
1442YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001443#line 218 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001444{ return LITTLE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001445 YY_BREAK
1446case 31:
1447YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001448#line 219 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001449{ return BIG; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001450 YY_BREAK
1451case 32:
1452YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001453#line 220 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001454{ return VOLATILE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001455 YY_BREAK
1456case 33:
1457YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001458#line 221 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001459{ return ALIGN; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001460 YY_BREAK
1461case 34:
1462YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001463#line 222 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001464{ return SECTION; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001465 YY_BREAK
1466case 35:
1467YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001468#line 223 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001469{ return MODULE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001470 YY_BREAK
1471case 36:
1472YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001473#line 224 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001474{ return ASM_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001475 YY_BREAK
1476case 37:
1477YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001478#line 225 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001479{ return SIDEEFFECT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001480 YY_BREAK
1481case 38:
1482YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001483#line 227 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001484{ return CC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001485 YY_BREAK
1486case 39:
1487YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001488#line 228 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001489{ return CCC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001490 YY_BREAK
1491case 40:
1492YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001493#line 229 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001494{ return CSRETCC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001495 YY_BREAK
1496case 41:
1497YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001498#line 230 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001499{ return FASTCC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001500 YY_BREAK
1501case 42:
1502YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001503#line 231 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001504{ return COLDCC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001505 YY_BREAK
1506case 43:
1507YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001508#line 232 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001509{ return X86_STDCALLCC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001510 YY_BREAK
1511case 44:
1512YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001513#line 233 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001514{ return X86_FASTCALLCC_TOK; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001515 YY_BREAK
1516case 45:
1517YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001518#line 235 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001519{ RET_TY(Type::VoidTy, VOID); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001520 YY_BREAK
1521case 46:
1522YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001523#line 236 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001524{ RET_TY(Type::BoolTy, BOOL); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001525 YY_BREAK
1526case 47:
1527YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001528#line 237 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001529{ RET_TY(Type::SByteTy, SBYTE); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001530 YY_BREAK
1531case 48:
1532YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001533#line 238 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001534{ RET_TY(Type::UByteTy, UBYTE); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001535 YY_BREAK
1536case 49:
1537YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001538#line 239 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001539{ RET_TY(Type::ShortTy, SHORT); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001540 YY_BREAK
1541case 50:
1542YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001543#line 240 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001544{ RET_TY(Type::UShortTy,USHORT);}
Reid Spencer68a24bd2005-08-27 18:50:39 +00001545 YY_BREAK
1546case 51:
1547YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001548#line 241 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001549{ RET_TY(Type::IntTy, INT); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001550 YY_BREAK
1551case 52:
1552YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001553#line 242 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001554{ RET_TY(Type::UIntTy, UINT); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001555 YY_BREAK
1556case 53:
1557YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001558#line 243 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001559{ RET_TY(Type::LongTy, LONG); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001560 YY_BREAK
1561case 54:
1562YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001563#line 244 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001564{ RET_TY(Type::ULongTy, ULONG); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001565 YY_BREAK
1566case 55:
1567YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001568#line 245 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001569{ RET_TY(Type::FloatTy, FLOAT); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001570 YY_BREAK
1571case 56:
1572YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001573#line 246 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001574{ RET_TY(Type::DoubleTy,DOUBLE);}
Reid Spencer68a24bd2005-08-27 18:50:39 +00001575 YY_BREAK
1576case 57:
1577YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001578#line 247 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001579{ RET_TY(Type::LabelTy, LABEL); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001580 YY_BREAK
1581case 58:
1582YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001583#line 248 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001584{ return TYPE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001585 YY_BREAK
1586case 59:
1587YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001588#line 249 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001589{ return OPAQUE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001590 YY_BREAK
1591case 60:
1592YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001593#line 251 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001594{ RET_TOK(BinaryOpVal, Add, ADD); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001595 YY_BREAK
1596case 61:
1597YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001598#line 252 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001599{ RET_TOK(BinaryOpVal, Sub, SUB); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001600 YY_BREAK
1601case 62:
1602YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001603#line 253 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001604{ RET_TOK(BinaryOpVal, Mul, MUL); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001605 YY_BREAK
1606case 63:
1607YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001608#line 254 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001609{ RET_TOK(BinaryOpVal, UDiv, UDIV); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001610 YY_BREAK
1611case 64:
1612YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001613#line 255 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001614{ RET_TOK(BinaryOpVal, SDiv, SDIV); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001615 YY_BREAK
1616case 65:
1617YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001618#line 256 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001619{ RET_TOK(BinaryOpVal, FDiv, FDIV); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001620 YY_BREAK
1621case 66:
1622YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001623#line 257 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001624{ RET_TOK(BinaryOpVal, URem, UREM); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001625 YY_BREAK
1626case 67:
1627YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001628#line 258 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001629{ RET_TOK(BinaryOpVal, SRem, SREM); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001630 YY_BREAK
1631case 68:
1632YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001633#line 259 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001634{ RET_TOK(BinaryOpVal, FRem, FREM); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001635 YY_BREAK
1636case 69:
1637YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001638#line 260 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001639{ RET_TOK(BinaryOpVal, And, AND); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001640 YY_BREAK
1641case 70:
1642YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001643#line 261 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001644{ RET_TOK(BinaryOpVal, Or , OR ); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001645 YY_BREAK
1646case 71:
1647YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001648#line 262 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001649{ RET_TOK(BinaryOpVal, Xor, XOR); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001650 YY_BREAK
1651case 72:
1652YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001653#line 263 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001654{ RET_TOK(BinaryOpVal, SetNE, SETNE); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001655 YY_BREAK
1656case 73:
1657YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001658#line 264 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001659{ RET_TOK(BinaryOpVal, SetEQ, SETEQ); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001660 YY_BREAK
1661case 74:
1662YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001663#line 265 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001664{ RET_TOK(BinaryOpVal, SetLT, SETLT); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001665 YY_BREAK
1666case 75:
1667YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001668#line 266 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001669{ RET_TOK(BinaryOpVal, SetGT, SETGT); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001670 YY_BREAK
1671case 76:
1672YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001673#line 267 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001674{ RET_TOK(BinaryOpVal, SetLE, SETLE); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001675 YY_BREAK
1676case 77:
1677YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001678#line 268 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001679{ RET_TOK(BinaryOpVal, SetGE, SETGE); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001680 YY_BREAK
1681case 78:
1682YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001683#line 269 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001684{ RET_TOK(OtherOpVal, ICmp, ICMP); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001685 YY_BREAK
1686case 79:
1687YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001688#line 270 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencera132e042006-12-03 05:46:11 +00001689{ RET_TOK(OtherOpVal, FCmp, FCMP); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001690 YY_BREAK
1691case 80:
1692YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001693#line 271 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1694{ return EQ; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001695 YY_BREAK
1696case 81:
1697YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001698#line 272 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1699{ return NE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001700 YY_BREAK
1701case 82:
1702YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001703#line 273 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1704{ return SLT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001705 YY_BREAK
1706case 83:
1707YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001708#line 274 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1709{ return SGT; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001710 YY_BREAK
1711case 84:
1712YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001713#line 275 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1714{ return SLE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001715 YY_BREAK
1716case 85:
1717YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001718#line 276 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1719{ return SGE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001720 YY_BREAK
1721case 86:
1722YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001723#line 277 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1724{ return ULT; }
Nate Begeman14b05292005-11-05 09:21:28 +00001725 YY_BREAK
1726case 87:
1727YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001728#line 278 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1729{ return UGT; }
Chris Lattnere869eef2005-11-12 00:11:49 +00001730 YY_BREAK
1731case 88:
1732YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001733#line 279 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1734{ return ULE; }
Robert Bocchino9c62b562006-01-10 19:04:32 +00001735 YY_BREAK
1736case 89:
1737YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001738#line 280 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1739{ return UGE; }
Robert Bocchino2def1b32006-01-17 20:06:25 +00001740 YY_BREAK
1741case 90:
1742YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001743#line 281 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1744{ return OEQ; }
Chris Lattner8335e842006-01-23 23:05:42 +00001745 YY_BREAK
1746case 91:
1747YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001748#line 282 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1749{ return ONE; }
Chris Lattner66316012006-01-24 04:14:29 +00001750 YY_BREAK
1751case 92:
1752YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001753#line 283 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1754{ return OLT; }
Chris Lattner0e9c3762006-01-25 22:27:16 +00001755 YY_BREAK
1756case 93:
1757YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001758#line 284 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1759{ return OGT; }
Chris Lattnerd5efe842006-04-08 01:18:56 +00001760 YY_BREAK
1761case 94:
1762YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001763#line 285 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1764{ return OLE; }
Chris Lattner75466192006-05-19 21:28:53 +00001765 YY_BREAK
1766case 95:
1767YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001768#line 286 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1769{ return OGE; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001770 YY_BREAK
Chris Lattner75466192006-05-19 21:28:53 +00001771case 96:
Reid Spencer68a24bd2005-08-27 18:50:39 +00001772YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001773#line 287 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1774{ return ORD; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001775 YY_BREAK
Chris Lattner75466192006-05-19 21:28:53 +00001776case 97:
Reid Spencer68a24bd2005-08-27 18:50:39 +00001777YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001778#line 288 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1779{ return UNO; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001780 YY_BREAK
Chris Lattner75466192006-05-19 21:28:53 +00001781case 98:
Reid Spencer68a24bd2005-08-27 18:50:39 +00001782YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001783#line 289 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1784{ return UEQ; }
Anton Korobeynikovbcb97702006-09-17 20:25:45 +00001785 YY_BREAK
1786case 99:
1787YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001788#line 290 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1789{ return UNE; }
Anton Korobeynikovbcb97702006-09-17 20:25:45 +00001790 YY_BREAK
1791case 100:
1792YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001793#line 292 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1794{ RET_TOK(OtherOpVal, PHI, PHI_TOK); }
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001795 YY_BREAK
Anton Korobeynikovbcb97702006-09-17 20:25:45 +00001796case 101:
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001797YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001798#line 293 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1799{ RET_TOK(OtherOpVal, Call, CALL); }
Reid Spencer3ed469c2006-11-02 20:25:50 +00001800 YY_BREAK
1801case 102:
1802YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001803#line 294 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1804{ RET_TOK(CastOpVal, Trunc, TRUNC); }
Reid Spencer3ed469c2006-11-02 20:25:50 +00001805 YY_BREAK
1806case 103:
1807YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001808#line 295 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1809{ RET_TOK(CastOpVal, ZExt, ZEXT); }
Reid Spencer3ed469c2006-11-02 20:25:50 +00001810 YY_BREAK
1811case 104:
1812YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001813#line 296 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1814{ RET_TOK(CastOpVal, SExt, SEXT); }
Reid Spencer3ed469c2006-11-02 20:25:50 +00001815 YY_BREAK
1816case 105:
1817YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001818#line 297 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1819{ RET_TOK(CastOpVal, FPTrunc, FPTRUNC); }
Reid Spencer3ed469c2006-11-02 20:25:50 +00001820 YY_BREAK
1821case 106:
1822YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001823#line 298 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1824{ RET_TOK(CastOpVal, FPExt, FPEXT); }
Reid Spencer3ed469c2006-11-02 20:25:50 +00001825 YY_BREAK
1826case 107:
1827YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001828#line 299 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1829{ RET_TOK(CastOpVal, UIToFP, UITOFP); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001830 YY_BREAK
1831case 108:
1832YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001833#line 300 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1834{ RET_TOK(CastOpVal, SIToFP, SITOFP); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001835 YY_BREAK
1836case 109:
1837YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001838#line 301 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1839{ RET_TOK(CastOpVal, FPToUI, FPTOUI); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001840 YY_BREAK
1841case 110:
1842YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001843#line 302 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1844{ RET_TOK(CastOpVal, FPToSI, FPTOSI); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001845 YY_BREAK
1846case 111:
1847YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001848#line 303 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1849{ RET_TOK(CastOpVal, IntToPtr, INTTOPTR); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001850 YY_BREAK
1851case 112:
1852YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001853#line 304 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1854{ RET_TOK(CastOpVal, PtrToInt, PTRTOINT); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001855 YY_BREAK
1856case 113:
1857YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001858#line 305 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1859{ RET_TOK(CastOpVal, BitCast, BITCAST); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001860 YY_BREAK
1861case 114:
1862YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001863#line 306 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1864{ RET_TOK(OtherOpVal, Select, SELECT); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001865 YY_BREAK
1866case 115:
1867YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001868#line 307 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1869{ RET_TOK(OtherOpVal, Shl, SHL); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001870 YY_BREAK
1871case 116:
1872YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001873#line 308 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1874{ RET_TOK(OtherOpVal, LShr, LSHR); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001875 YY_BREAK
1876case 117:
1877YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001878#line 309 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1879{ RET_TOK(OtherOpVal, AShr, ASHR); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001880 YY_BREAK
1881case 118:
1882YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001883#line 310 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1884{ RET_TOK(OtherOpVal, VAArg , VAARG); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001885 YY_BREAK
1886case 119:
1887YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001888#line 311 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1889{ RET_TOK(TermOpVal, Ret, RET); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001890 YY_BREAK
1891case 120:
1892YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001893#line 312 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1894{ RET_TOK(TermOpVal, Br, BR); }
Reid Spencer3da59db2006-11-27 01:05:10 +00001895 YY_BREAK
1896case 121:
1897YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001898#line 313 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1899{ RET_TOK(TermOpVal, Switch, SWITCH); }
Reid Spencera132e042006-12-03 05:46:11 +00001900 YY_BREAK
1901case 122:
1902YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001903#line 314 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1904{ RET_TOK(TermOpVal, Invoke, INVOKE); }
Reid Spencera132e042006-12-03 05:46:11 +00001905 YY_BREAK
1906case 123:
1907YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001908#line 315 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1909{ RET_TOK(TermOpVal, Unwind, UNWIND); }
Reid Spencera132e042006-12-03 05:46:11 +00001910 YY_BREAK
1911case 124:
1912YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001913#line 316 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1914{ RET_TOK(TermOpVal, Unreachable, UNREACHABLE); }
Reid Spencera132e042006-12-03 05:46:11 +00001915 YY_BREAK
1916case 125:
1917YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001918#line 318 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1919{ RET_TOK(MemOpVal, Malloc, MALLOC); }
Reid Spencera132e042006-12-03 05:46:11 +00001920 YY_BREAK
1921case 126:
1922YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001923#line 319 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1924{ RET_TOK(MemOpVal, Alloca, ALLOCA); }
Reid Spencera132e042006-12-03 05:46:11 +00001925 YY_BREAK
1926case 127:
1927YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001928#line 320 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1929{ RET_TOK(MemOpVal, Free, FREE); }
Reid Spencera132e042006-12-03 05:46:11 +00001930 YY_BREAK
1931case 128:
1932YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001933#line 321 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1934{ RET_TOK(MemOpVal, Load, LOAD); }
Reid Spencera132e042006-12-03 05:46:11 +00001935 YY_BREAK
1936case 129:
1937YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001938#line 322 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1939{ RET_TOK(MemOpVal, Store, STORE); }
Reid Spencera132e042006-12-03 05:46:11 +00001940 YY_BREAK
1941case 130:
1942YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001943#line 323 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1944{ RET_TOK(MemOpVal, GetElementPtr, GETELEMENTPTR); }
Reid Spencera132e042006-12-03 05:46:11 +00001945 YY_BREAK
1946case 131:
1947YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001948#line 325 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1949{ RET_TOK(OtherOpVal, ExtractElement, EXTRACTELEMENT); }
Reid Spencera132e042006-12-03 05:46:11 +00001950 YY_BREAK
1951case 132:
1952YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001953#line 326 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1954{ RET_TOK(OtherOpVal, InsertElement, INSERTELEMENT); }
Reid Spencera132e042006-12-03 05:46:11 +00001955 YY_BREAK
1956case 133:
1957YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001958#line 327 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
1959{ RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); }
Reid Spencera132e042006-12-03 05:46:11 +00001960 YY_BREAK
1961case 134:
1962YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001963#line 330 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001964{
Owen Anderson1dc69692006-10-18 02:21:48 +00001965 UnEscapeLexed(yytext+1);
1966 llvmAsmlval.StrVal = strdup(yytext+1); // Skip %
1967 return VAR_ID;
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001968 }
1969 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001970case 135:
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001971YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001972#line 335 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001973{
Owen Anderson1dc69692006-10-18 02:21:48 +00001974 yytext[strlen(yytext)-1] = 0; // nuke colon
1975 UnEscapeLexed(yytext);
1976 llvmAsmlval.StrVal = strdup(yytext);
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001977 return LABELSTR;
1978 }
1979 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001980case 136:
Anton Korobeynikov43e3aad2006-09-14 18:25:26 +00001981YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001982#line 341 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00001983{
1984 yytext[strlen(yytext)-2] = 0; // nuke colon, end quote
1985 UnEscapeLexed(yytext+1);
1986 llvmAsmlval.StrVal = strdup(yytext+1);
1987 return LABELSTR;
1988 }
1989 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001990case 137:
Owen Anderson1dc69692006-10-18 02:21:48 +00001991YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00001992#line 348 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001993{ // Note that we cannot unescape a string constant here! The
1994 // string constant might contain a \00 which would not be
1995 // understood by the string stuff. It is valid to make a
1996 // [sbyte] c"Hello World\00" constant, for example.
1997 //
Owen Anderson1dc69692006-10-18 02:21:48 +00001998 yytext[strlen(yytext)-1] = 0; // nuke end quote
1999 llvmAsmlval.StrVal = strdup(yytext+1); // Nuke start quote
Reid Spencer68a24bd2005-08-27 18:50:39 +00002000 return STRINGCONSTANT;
2001 }
2002 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002003case 138:
Chris Lattner75466192006-05-19 21:28:53 +00002004YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002005#line 359 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00002006{ llvmAsmlval.UInt64Val = atoull(yytext); return EUINT64VAL; }
2007 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002008case 139:
Owen Anderson1dc69692006-10-18 02:21:48 +00002009YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002010#line 360 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002011{
Owen Anderson1dc69692006-10-18 02:21:48 +00002012 uint64_t Val = atoull(yytext+1);
Reid Spencer68a24bd2005-08-27 18:50:39 +00002013 // +1: we have bigger negative range
2014 if (Val > (uint64_t)INT64_MAX+1)
Reid Spencer61c83e02006-08-18 08:43:06 +00002015 GenerateError("Constant too large for signed 64 bits!");
Reid Spencer68a24bd2005-08-27 18:50:39 +00002016 llvmAsmlval.SInt64Val = -Val;
2017 return ESINT64VAL;
2018 }
2019 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002020case 140:
Reid Spencer68a24bd2005-08-27 18:50:39 +00002021YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002022#line 368 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002023{
Owen Anderson1dc69692006-10-18 02:21:48 +00002024 llvmAsmlval.UInt64Val = HexIntToVal(yytext+3);
2025 return yytext[0] == 's' ? ESINT64VAL : EUINT64VAL;
2026 }
2027 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002028case 141:
Owen Anderson1dc69692006-10-18 02:21:48 +00002029YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002030#line 373 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00002031{
2032 uint64_t Val = atoull(yytext+1);
Reid Spencer68a24bd2005-08-27 18:50:39 +00002033 if ((unsigned)Val != Val)
Reid Spencer61c83e02006-08-18 08:43:06 +00002034 GenerateError("Invalid value number (too large)!");
Reid Spencer68a24bd2005-08-27 18:50:39 +00002035 llvmAsmlval.UIntVal = unsigned(Val);
2036 return UINTVAL;
2037 }
2038 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002039case 142:
Reid Spencer68a24bd2005-08-27 18:50:39 +00002040YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002041#line 380 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002042{
Owen Anderson1dc69692006-10-18 02:21:48 +00002043 uint64_t Val = atoull(yytext+2);
Reid Spencer68a24bd2005-08-27 18:50:39 +00002044 // +1: we have bigger negative range
2045 if (Val > (uint64_t)INT32_MAX+1)
Reid Spencer61c83e02006-08-18 08:43:06 +00002046 GenerateError("Constant too large for signed 32 bits!");
Reid Spencer68a24bd2005-08-27 18:50:39 +00002047 llvmAsmlval.SIntVal = (int)-Val;
2048 return SINTVAL;
2049 }
2050 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002051case 143:
Chris Lattner75466192006-05-19 21:28:53 +00002052YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002053#line 389 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00002054{ llvmAsmlval.FPVal = atof(yytext); return FPVAL; }
2055 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002056case 144:
Owen Anderson1dc69692006-10-18 02:21:48 +00002057YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002058#line 390 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00002059{ llvmAsmlval.FPVal = HexToFP(yytext); return FPVAL; }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002060 YY_BREAK
2061case YY_STATE_EOF(INITIAL):
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002062#line 392 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002063{
2064 /* Make sure to free the internal buffers for flex when we are
2065 * done reading our input!
2066 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002067 yy_delete_buffer(YY_CURRENT_BUFFER);
Reid Spencer68a24bd2005-08-27 18:50:39 +00002068 return EOF;
2069 }
2070 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002071case 145:
Chris Lattner75466192006-05-19 21:28:53 +00002072YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002073#line 400 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00002074{ /* Ignore whitespace */ }
Anton Korobeynikovbcb97702006-09-17 20:25:45 +00002075 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002076case 146:
Anton Korobeynikovbcb97702006-09-17 20:25:45 +00002077YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002078#line 401 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Owen Anderson1dc69692006-10-18 02:21:48 +00002079{ return yytext[0]; }
2080 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002081case 147:
Owen Anderson1dc69692006-10-18 02:21:48 +00002082YY_RULE_SETUP
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002083#line 403 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002084YY_FATAL_ERROR( "flex scanner jammed" );
2085 YY_BREAK
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002086#line 2087 "Lexer.cpp"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002087
2088 case YY_END_OF_BUFFER:
2089 {
2090 /* Amount of text matched not including the EOB char. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002091 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002092
2093 /* Undo the effects of YY_DO_BEFORE_ACTION. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002094 *yy_cp = yy_hold_char;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002095 YY_RESTORE_YY_MORE_OFFSET
2096
Owen Anderson1dc69692006-10-18 02:21:48 +00002097 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002098 {
2099 /* We're scanning a new file or input source. It's
2100 * possible that this happened because the user
Owen Anderson1dc69692006-10-18 02:21:48 +00002101 * just pointed yyin at a new source and called
2102 * yylex(). If so, then we have to assure
2103 * consistency between yy_current_buffer and our
Reid Spencer68a24bd2005-08-27 18:50:39 +00002104 * globals. Here is the right place to do so, because
2105 * this is the first action (other than possibly a
2106 * back-up) that will match for the new input source.
2107 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002108 yy_n_chars = yy_current_buffer->yy_n_chars;
2109 yy_current_buffer->yy_input_file = yyin;
2110 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002111 }
2112
2113 /* Note that here we test for yy_c_buf_p "<=" to the position
2114 * of the first EOB in the buffer, since yy_c_buf_p will
2115 * already have been incremented past the NUL character
2116 * (since all states make transitions on EOB to the
2117 * end-of-buffer state). Contrast this with the test
2118 * in input().
2119 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002120 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002121 { /* This was really a NUL. */
2122 yy_state_type yy_next_state;
2123
Owen Anderson1dc69692006-10-18 02:21:48 +00002124 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002125
Owen Anderson1dc69692006-10-18 02:21:48 +00002126 yy_current_state = yy_get_previous_state();
Reid Spencer68a24bd2005-08-27 18:50:39 +00002127
2128 /* Okay, we're now positioned to make the NUL
2129 * transition. We couldn't have
2130 * yy_get_previous_state() go ahead and do it
2131 * for us because it doesn't know how to deal
2132 * with the possibility of jamming (and we don't
2133 * want to build jamming into it because then it
2134 * will run more slowly).
2135 */
2136
2137 yy_next_state = yy_try_NUL_trans( yy_current_state );
2138
Owen Anderson1dc69692006-10-18 02:21:48 +00002139 yy_bp = yytext_ptr + YY_MORE_ADJ;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002140
2141 if ( yy_next_state )
2142 {
2143 /* Consume the NUL. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002144 yy_cp = ++yy_c_buf_p;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002145 yy_current_state = yy_next_state;
2146 goto yy_match;
2147 }
2148
2149 else
2150 {
Owen Anderson1dc69692006-10-18 02:21:48 +00002151 yy_cp = yy_c_buf_p;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002152 goto yy_find_action;
2153 }
2154 }
2155
Owen Anderson1dc69692006-10-18 02:21:48 +00002156 else switch ( yy_get_next_buffer() )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002157 {
2158 case EOB_ACT_END_OF_FILE:
2159 {
Owen Anderson1dc69692006-10-18 02:21:48 +00002160 yy_did_buffer_switch_on_eof = 0;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002161
Owen Anderson1dc69692006-10-18 02:21:48 +00002162 if ( yywrap() )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002163 {
2164 /* Note: because we've taken care in
2165 * yy_get_next_buffer() to have set up
Owen Anderson1dc69692006-10-18 02:21:48 +00002166 * yytext, we can now set up
Reid Spencer68a24bd2005-08-27 18:50:39 +00002167 * yy_c_buf_p so that if some total
2168 * hoser (like flex itself) wants to
2169 * call the scanner after we return the
2170 * YY_NULL, it'll still work - another
2171 * YY_NULL will get returned.
2172 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002173 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002174
2175 yy_act = YY_STATE_EOF(YY_START);
2176 goto do_action;
2177 }
2178
2179 else
2180 {
Owen Anderson1dc69692006-10-18 02:21:48 +00002181 if ( ! yy_did_buffer_switch_on_eof )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002182 YY_NEW_FILE;
2183 }
2184 break;
2185 }
2186
2187 case EOB_ACT_CONTINUE_SCAN:
Owen Anderson1dc69692006-10-18 02:21:48 +00002188 yy_c_buf_p =
2189 yytext_ptr + yy_amount_of_matched_text;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002190
Owen Anderson1dc69692006-10-18 02:21:48 +00002191 yy_current_state = yy_get_previous_state();
Reid Spencer68a24bd2005-08-27 18:50:39 +00002192
Owen Anderson1dc69692006-10-18 02:21:48 +00002193 yy_cp = yy_c_buf_p;
2194 yy_bp = yytext_ptr + YY_MORE_ADJ;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002195 goto yy_match;
2196
2197 case EOB_ACT_LAST_MATCH:
Owen Anderson1dc69692006-10-18 02:21:48 +00002198 yy_c_buf_p =
2199 &yy_current_buffer->yy_ch_buf[yy_n_chars];
Reid Spencer68a24bd2005-08-27 18:50:39 +00002200
Owen Anderson1dc69692006-10-18 02:21:48 +00002201 yy_current_state = yy_get_previous_state();
Reid Spencer68a24bd2005-08-27 18:50:39 +00002202
Owen Anderson1dc69692006-10-18 02:21:48 +00002203 yy_cp = yy_c_buf_p;
2204 yy_bp = yytext_ptr + YY_MORE_ADJ;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002205 goto yy_find_action;
2206 }
2207 break;
2208 }
2209
2210 default:
2211 YY_FATAL_ERROR(
2212 "fatal flex scanner internal error--no action found" );
2213 } /* end of action switch */
2214 } /* end of scanning one token */
Owen Anderson1dc69692006-10-18 02:21:48 +00002215 } /* end of yylex */
2216
Reid Spencer68a24bd2005-08-27 18:50:39 +00002217
2218/* yy_get_next_buffer - try to read in a new buffer
2219 *
2220 * Returns a code representing an action:
2221 * EOB_ACT_LAST_MATCH -
2222 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2223 * EOB_ACT_END_OF_FILE - end of file
2224 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002225
2226static int yy_get_next_buffer()
2227 {
2228 register char *dest = yy_current_buffer->yy_ch_buf;
2229 register char *source = yytext_ptr;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002230 register int number_to_move, i;
2231 int ret_val;
2232
Owen Anderson1dc69692006-10-18 02:21:48 +00002233 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002234 YY_FATAL_ERROR(
2235 "fatal flex scanner internal error--end of buffer missed" );
2236
Owen Anderson1dc69692006-10-18 02:21:48 +00002237 if ( yy_current_buffer->yy_fill_buffer == 0 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002238 { /* Don't try to fill the buffer, so this is an EOF. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002239 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002240 {
2241 /* We matched a single character, the EOB, so
2242 * treat this as a final EOF.
2243 */
2244 return EOB_ACT_END_OF_FILE;
2245 }
2246
2247 else
2248 {
2249 /* We matched some text prior to the EOB, first
2250 * process it.
2251 */
2252 return EOB_ACT_LAST_MATCH;
2253 }
2254 }
2255
2256 /* Try to read more data. */
2257
2258 /* First move last chars to start of buffer. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002259 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002260
2261 for ( i = 0; i < number_to_move; ++i )
2262 *(dest++) = *(source++);
2263
Owen Anderson1dc69692006-10-18 02:21:48 +00002264 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002265 /* don't do the read, it's not guaranteed to return an EOF,
2266 * just force an EOF
2267 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002268 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002269
2270 else
2271 {
Owen Anderson1dc69692006-10-18 02:21:48 +00002272 int num_to_read =
2273 yy_current_buffer->yy_buf_size - number_to_move - 1;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002274
2275 while ( num_to_read <= 0 )
2276 { /* Not enough room in the buffer - grow it. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002277#ifdef YY_USES_REJECT
2278 YY_FATAL_ERROR(
2279"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2280#else
Reid Spencer68a24bd2005-08-27 18:50:39 +00002281
2282 /* just a shorter name for the current buffer */
Owen Anderson1dc69692006-10-18 02:21:48 +00002283 YY_BUFFER_STATE b = yy_current_buffer;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002284
2285 int yy_c_buf_p_offset =
Owen Anderson1dc69692006-10-18 02:21:48 +00002286 (int) (yy_c_buf_p - b->yy_ch_buf);
Reid Spencer68a24bd2005-08-27 18:50:39 +00002287
2288 if ( b->yy_is_our_buffer )
2289 {
2290 int new_size = b->yy_buf_size * 2;
2291
2292 if ( new_size <= 0 )
2293 b->yy_buf_size += b->yy_buf_size / 8;
2294 else
2295 b->yy_buf_size *= 2;
2296
2297 b->yy_ch_buf = (char *)
2298 /* Include room in for 2 EOB chars. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002299 yy_flex_realloc( (void *) b->yy_ch_buf,
2300 b->yy_buf_size + 2 );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002301 }
2302 else
2303 /* Can't grow it, we don't own it. */
2304 b->yy_ch_buf = 0;
2305
2306 if ( ! b->yy_ch_buf )
2307 YY_FATAL_ERROR(
2308 "fatal error - scanner input buffer overflow" );
2309
Owen Anderson1dc69692006-10-18 02:21:48 +00002310 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
Reid Spencer68a24bd2005-08-27 18:50:39 +00002311
Owen Anderson1dc69692006-10-18 02:21:48 +00002312 num_to_read = yy_current_buffer->yy_buf_size -
Reid Spencer68a24bd2005-08-27 18:50:39 +00002313 number_to_move - 1;
Owen Anderson1dc69692006-10-18 02:21:48 +00002314#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00002315 }
2316
2317 if ( num_to_read > YY_READ_BUF_SIZE )
2318 num_to_read = YY_READ_BUF_SIZE;
2319
2320 /* Read in more data. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002321 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2322 yy_n_chars, num_to_read );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002323
Owen Anderson1dc69692006-10-18 02:21:48 +00002324 yy_current_buffer->yy_n_chars = yy_n_chars;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002325 }
2326
Owen Anderson1dc69692006-10-18 02:21:48 +00002327 if ( yy_n_chars == 0 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002328 {
2329 if ( number_to_move == YY_MORE_ADJ )
2330 {
2331 ret_val = EOB_ACT_END_OF_FILE;
Owen Anderson1dc69692006-10-18 02:21:48 +00002332 yyrestart( yyin );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002333 }
2334
2335 else
2336 {
2337 ret_val = EOB_ACT_LAST_MATCH;
Owen Anderson1dc69692006-10-18 02:21:48 +00002338 yy_current_buffer->yy_buffer_status =
Reid Spencer68a24bd2005-08-27 18:50:39 +00002339 YY_BUFFER_EOF_PENDING;
2340 }
2341 }
2342
2343 else
2344 ret_val = EOB_ACT_CONTINUE_SCAN;
2345
Owen Anderson1dc69692006-10-18 02:21:48 +00002346 yy_n_chars += number_to_move;
2347 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2348 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002349
Owen Anderson1dc69692006-10-18 02:21:48 +00002350 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
Reid Spencer68a24bd2005-08-27 18:50:39 +00002351
2352 return ret_val;
Owen Anderson1dc69692006-10-18 02:21:48 +00002353 }
2354
Reid Spencer68a24bd2005-08-27 18:50:39 +00002355
2356/* yy_get_previous_state - get the state just before the EOB char was reached */
2357
Owen Anderson1dc69692006-10-18 02:21:48 +00002358static yy_state_type yy_get_previous_state()
2359 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002360 register yy_state_type yy_current_state;
2361 register char *yy_cp;
2362
Owen Anderson1dc69692006-10-18 02:21:48 +00002363 yy_current_state = yy_start;
2364 yy_state_ptr = yy_state_buf;
2365 *yy_state_ptr++ = yy_current_state;
2366
2367 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002368 {
2369 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2370 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2371 {
2372 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002373 if ( yy_current_state >= 580 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002374 yy_c = yy_meta[(unsigned int) yy_c];
2375 }
2376 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Owen Anderson1dc69692006-10-18 02:21:48 +00002377 *yy_state_ptr++ = yy_current_state;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002378 }
2379
2380 return yy_current_state;
Owen Anderson1dc69692006-10-18 02:21:48 +00002381 }
2382
Reid Spencer68a24bd2005-08-27 18:50:39 +00002383
2384/* yy_try_NUL_trans - try to make a transition on the NUL character
2385 *
2386 * synopsis
2387 * next_state = yy_try_NUL_trans( current_state );
2388 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002389
2390#ifdef YY_USE_PROTOS
2391static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
2392#else
2393static yy_state_type yy_try_NUL_trans( yy_current_state )
2394yy_state_type yy_current_state;
2395#endif
2396 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002397 register int yy_is_jam;
2398
2399 register YY_CHAR yy_c = 1;
2400 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2401 {
2402 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002403 if ( yy_current_state >= 580 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002404 yy_c = yy_meta[(unsigned int) yy_c];
2405 }
2406 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002407 yy_is_jam = (yy_current_state == 579);
Owen Anderson1dc69692006-10-18 02:21:48 +00002408 if ( ! yy_is_jam )
2409 *yy_state_ptr++ = yy_current_state;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002410
2411 return yy_is_jam ? 0 : yy_current_state;
Owen Anderson1dc69692006-10-18 02:21:48 +00002412 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002413
2414
Owen Anderson1dc69692006-10-18 02:21:48 +00002415#ifndef YY_NO_UNPUT
2416#ifdef YY_USE_PROTOS
2417static inline void yyunput( int c, register char *yy_bp )
2418#else
2419static inline void yyunput( c, yy_bp )
2420int c;
2421register char *yy_bp;
2422#endif
2423 {
2424 register char *yy_cp = yy_c_buf_p;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002425
Owen Anderson1dc69692006-10-18 02:21:48 +00002426 /* undo effects of setting up yytext */
2427 *yy_cp = yy_hold_char;
2428
2429 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002430 { /* need to shift things up to make room */
2431 /* +2 for EOB chars. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002432 register int number_to_move = yy_n_chars + 2;
2433 register char *dest = &yy_current_buffer->yy_ch_buf[
2434 yy_current_buffer->yy_buf_size + 2];
Reid Spencer68a24bd2005-08-27 18:50:39 +00002435 register char *source =
Owen Anderson1dc69692006-10-18 02:21:48 +00002436 &yy_current_buffer->yy_ch_buf[number_to_move];
Reid Spencer68a24bd2005-08-27 18:50:39 +00002437
Owen Anderson1dc69692006-10-18 02:21:48 +00002438 while ( source > yy_current_buffer->yy_ch_buf )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002439 *--dest = *--source;
2440
2441 yy_cp += (int) (dest - source);
2442 yy_bp += (int) (dest - source);
Owen Anderson1dc69692006-10-18 02:21:48 +00002443 yy_current_buffer->yy_n_chars =
2444 yy_n_chars = yy_current_buffer->yy_buf_size;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002445
Owen Anderson1dc69692006-10-18 02:21:48 +00002446 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002447 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2448 }
2449
2450 *--yy_cp = (char) c;
2451
Owen Anderson1dc69692006-10-18 02:21:48 +00002452 if ( c == '\n' )
2453 --yylineno;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002454
Owen Anderson1dc69692006-10-18 02:21:48 +00002455 yytext_ptr = yy_bp;
2456 yy_hold_char = *yy_cp;
2457 yy_c_buf_p = yy_cp;
2458 }
2459#endif /* ifndef YY_NO_UNPUT */
Reid Spencer68a24bd2005-08-27 18:50:39 +00002460
Owen Anderson1dc69692006-10-18 02:21:48 +00002461
Reid Spencer3da59db2006-11-27 01:05:10 +00002462#ifndef YY_NO_INPUT
Reid Spencer68a24bd2005-08-27 18:50:39 +00002463#ifdef __cplusplus
Owen Anderson1dc69692006-10-18 02:21:48 +00002464static int yyinput()
Reid Spencer68a24bd2005-08-27 18:50:39 +00002465#else
Owen Anderson1dc69692006-10-18 02:21:48 +00002466static int input()
Reid Spencer68a24bd2005-08-27 18:50:39 +00002467#endif
Owen Anderson1dc69692006-10-18 02:21:48 +00002468 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002469 int c;
2470
Owen Anderson1dc69692006-10-18 02:21:48 +00002471 *yy_c_buf_p = yy_hold_char;
2472
2473 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002474 {
2475 /* yy_c_buf_p now points to the character we want to return.
2476 * If this occurs *before* the EOB characters, then it's a
2477 * valid NUL; if not, then we've hit the end of the buffer.
2478 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002479 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002480 /* This was really a NUL. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002481 *yy_c_buf_p = '\0';
Reid Spencer68a24bd2005-08-27 18:50:39 +00002482
2483 else
2484 { /* need more input */
Owen Anderson1dc69692006-10-18 02:21:48 +00002485 int offset = yy_c_buf_p - yytext_ptr;
2486 ++yy_c_buf_p;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002487
Owen Anderson1dc69692006-10-18 02:21:48 +00002488 switch ( yy_get_next_buffer() )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002489 {
2490 case EOB_ACT_LAST_MATCH:
2491 /* This happens because yy_g_n_b()
2492 * sees that we've accumulated a
2493 * token and flags that we need to
2494 * try matching the token before
2495 * proceeding. But for input(),
2496 * there's no matching to consider.
2497 * So convert the EOB_ACT_LAST_MATCH
2498 * to EOB_ACT_END_OF_FILE.
2499 */
2500
2501 /* Reset buffer status. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002502 yyrestart( yyin );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002503
Owen Anderson1dc69692006-10-18 02:21:48 +00002504 /* fall through */
Reid Spencer68a24bd2005-08-27 18:50:39 +00002505
2506 case EOB_ACT_END_OF_FILE:
2507 {
Owen Anderson1dc69692006-10-18 02:21:48 +00002508 if ( yywrap() )
Reid Spencer61c83e02006-08-18 08:43:06 +00002509 return EOF;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002510
Owen Anderson1dc69692006-10-18 02:21:48 +00002511 if ( ! yy_did_buffer_switch_on_eof )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002512 YY_NEW_FILE;
2513#ifdef __cplusplus
2514 return yyinput();
2515#else
2516 return input();
2517#endif
2518 }
2519
2520 case EOB_ACT_CONTINUE_SCAN:
Owen Anderson1dc69692006-10-18 02:21:48 +00002521 yy_c_buf_p = yytext_ptr + offset;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002522 break;
2523 }
2524 }
2525 }
2526
Owen Anderson1dc69692006-10-18 02:21:48 +00002527 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
2528 *yy_c_buf_p = '\0'; /* preserve yytext */
2529 yy_hold_char = *++yy_c_buf_p;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002530
2531 if ( c == '\n' )
Owen Anderson1dc69692006-10-18 02:21:48 +00002532 ++yylineno;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002533
2534 return c;
2535 }
Reid Spencer3da59db2006-11-27 01:05:10 +00002536#endif /* YY_NO_INPUT */
Reid Spencer68a24bd2005-08-27 18:50:39 +00002537
Owen Anderson1dc69692006-10-18 02:21:48 +00002538#ifdef YY_USE_PROTOS
2539void yyrestart( FILE *input_file )
2540#else
2541void yyrestart( input_file )
2542FILE *input_file;
2543#endif
2544 {
2545 if ( ! yy_current_buffer )
2546 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
2547
2548 yy_init_buffer( yy_current_buffer, input_file );
2549 yy_load_buffer_state();
2550 }
2551
2552
2553#ifdef YY_USE_PROTOS
2554void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
2555#else
2556void yy_switch_to_buffer( new_buffer )
2557YY_BUFFER_STATE new_buffer;
2558#endif
2559 {
2560 if ( yy_current_buffer == new_buffer )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002561 return;
2562
Owen Anderson1dc69692006-10-18 02:21:48 +00002563 if ( yy_current_buffer )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002564 {
2565 /* Flush out information for old buffer. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002566 *yy_c_buf_p = yy_hold_char;
2567 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
2568 yy_current_buffer->yy_n_chars = yy_n_chars;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002569 }
2570
Owen Anderson1dc69692006-10-18 02:21:48 +00002571 yy_current_buffer = new_buffer;
2572 yy_load_buffer_state();
Reid Spencer68a24bd2005-08-27 18:50:39 +00002573
2574 /* We don't actually know whether we did this switch during
Owen Anderson1dc69692006-10-18 02:21:48 +00002575 * EOF (yywrap()) processing, but the only time this flag
2576 * is looked at is after yywrap() is called, so it's safe
Reid Spencer68a24bd2005-08-27 18:50:39 +00002577 * to go ahead and always set it.
2578 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002579 yy_did_buffer_switch_on_eof = 1;
2580 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002581
2582
Owen Anderson1dc69692006-10-18 02:21:48 +00002583#ifdef YY_USE_PROTOS
2584void yy_load_buffer_state( void )
2585#else
2586void yy_load_buffer_state()
2587#endif
2588 {
2589 yy_n_chars = yy_current_buffer->yy_n_chars;
2590 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
2591 yyin = yy_current_buffer->yy_input_file;
2592 yy_hold_char = *yy_c_buf_p;
2593 }
2594
2595
2596#ifdef YY_USE_PROTOS
2597YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
2598#else
2599YY_BUFFER_STATE yy_create_buffer( file, size )
2600FILE *file;
2601int size;
2602#endif
2603 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002604 YY_BUFFER_STATE b;
Owen Anderson1dc69692006-10-18 02:21:48 +00002605
2606 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002607 if ( ! b )
Owen Anderson1dc69692006-10-18 02:21:48 +00002608 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002609
2610 b->yy_buf_size = size;
2611
2612 /* yy_ch_buf has to be 2 characters longer than the size given because
2613 * we need to put in 2 end-of-buffer characters.
2614 */
Owen Anderson1dc69692006-10-18 02:21:48 +00002615 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002616 if ( ! b->yy_ch_buf )
Owen Anderson1dc69692006-10-18 02:21:48 +00002617 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002618
2619 b->yy_is_our_buffer = 1;
2620
Owen Anderson1dc69692006-10-18 02:21:48 +00002621 yy_init_buffer( b, file );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002622
2623 return b;
Owen Anderson1dc69692006-10-18 02:21:48 +00002624 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002625
Owen Anderson1dc69692006-10-18 02:21:48 +00002626
2627#ifdef YY_USE_PROTOS
2628void yy_delete_buffer( YY_BUFFER_STATE b )
2629#else
2630void yy_delete_buffer( b )
2631YY_BUFFER_STATE b;
2632#endif
2633 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002634 if ( ! b )
2635 return;
2636
Owen Anderson1dc69692006-10-18 02:21:48 +00002637 if ( b == yy_current_buffer )
2638 yy_current_buffer = (YY_BUFFER_STATE) 0;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002639
2640 if ( b->yy_is_our_buffer )
Owen Anderson1dc69692006-10-18 02:21:48 +00002641 yy_flex_free( (void *) b->yy_ch_buf );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002642
Owen Anderson1dc69692006-10-18 02:21:48 +00002643 yy_flex_free( (void *) b );
2644 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002645
2646
Owen Anderson1dc69692006-10-18 02:21:48 +00002647
2648#ifdef YY_USE_PROTOS
2649void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
2650#else
2651void yy_init_buffer( b, file )
2652YY_BUFFER_STATE b;
2653FILE *file;
2654#endif
2655
2656
2657 {
2658 yy_flush_buffer( b );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002659
2660 b->yy_input_file = file;
2661 b->yy_fill_buffer = 1;
2662
Owen Anderson1dc69692006-10-18 02:21:48 +00002663#if YY_ALWAYS_INTERACTIVE
2664 b->yy_is_interactive = 1;
2665#else
2666#if YY_NEVER_INTERACTIVE
2667 b->yy_is_interactive = 0;
2668#else
2669 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2670#endif
2671#endif
2672 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002673
2674
Owen Anderson1dc69692006-10-18 02:21:48 +00002675#ifdef YY_USE_PROTOS
2676void yy_flush_buffer( YY_BUFFER_STATE b )
2677#else
2678void yy_flush_buffer( b )
2679YY_BUFFER_STATE b;
2680#endif
2681
2682 {
2683 if ( ! b )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002684 return;
2685
2686 b->yy_n_chars = 0;
2687
2688 /* We always need two end-of-buffer characters. The first causes
2689 * a transition to the end-of-buffer state. The second causes
2690 * a jam in that state.
2691 */
2692 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2693 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2694
2695 b->yy_buf_pos = &b->yy_ch_buf[0];
2696
2697 b->yy_at_bol = 1;
2698 b->yy_buffer_status = YY_BUFFER_NEW;
2699
Owen Anderson1dc69692006-10-18 02:21:48 +00002700 if ( b == yy_current_buffer )
2701 yy_load_buffer_state();
Reid Spencer68a24bd2005-08-27 18:50:39 +00002702 }
2703
2704
Owen Anderson1dc69692006-10-18 02:21:48 +00002705#ifndef YY_NO_SCAN_BUFFER
2706#ifdef YY_USE_PROTOS
2707YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
2708#else
2709YY_BUFFER_STATE yy_scan_buffer( base, size )
2710char *base;
2711yy_size_t size;
2712#endif
2713 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002714 YY_BUFFER_STATE b;
Owen Anderson1dc69692006-10-18 02:21:48 +00002715
Reid Spencer68a24bd2005-08-27 18:50:39 +00002716 if ( size < 2 ||
2717 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2718 base[size-1] != YY_END_OF_BUFFER_CHAR )
2719 /* They forgot to leave room for the EOB's. */
2720 return 0;
2721
Owen Anderson1dc69692006-10-18 02:21:48 +00002722 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002723 if ( ! b )
Owen Anderson1dc69692006-10-18 02:21:48 +00002724 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002725
2726 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2727 b->yy_buf_pos = b->yy_ch_buf = base;
2728 b->yy_is_our_buffer = 0;
2729 b->yy_input_file = 0;
2730 b->yy_n_chars = b->yy_buf_size;
2731 b->yy_is_interactive = 0;
2732 b->yy_at_bol = 1;
2733 b->yy_fill_buffer = 0;
2734 b->yy_buffer_status = YY_BUFFER_NEW;
2735
Owen Anderson1dc69692006-10-18 02:21:48 +00002736 yy_switch_to_buffer( b );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002737
2738 return b;
Owen Anderson1dc69692006-10-18 02:21:48 +00002739 }
2740#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00002741
2742
Owen Anderson1dc69692006-10-18 02:21:48 +00002743#ifndef YY_NO_SCAN_STRING
2744#ifdef YY_USE_PROTOS
2745YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
2746#else
2747YY_BUFFER_STATE yy_scan_string( yy_str )
2748yyconst char *yy_str;
2749#endif
2750 {
2751 int len;
2752 for ( len = 0; yy_str[len]; ++len )
2753 ;
2754
2755 return yy_scan_bytes( yy_str, len );
2756 }
2757#endif
2758
2759
2760#ifndef YY_NO_SCAN_BYTES
2761#ifdef YY_USE_PROTOS
2762YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
2763#else
2764YY_BUFFER_STATE yy_scan_bytes( bytes, len )
2765yyconst char *bytes;
2766int len;
2767#endif
2768 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002769 YY_BUFFER_STATE b;
2770 char *buf;
2771 yy_size_t n;
2772 int i;
Owen Anderson1dc69692006-10-18 02:21:48 +00002773
Reid Spencer68a24bd2005-08-27 18:50:39 +00002774 /* Get memory for full buffer, including space for trailing EOB's. */
Owen Anderson1dc69692006-10-18 02:21:48 +00002775 n = len + 2;
2776 buf = (char *) yy_flex_alloc( n );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002777 if ( ! buf )
Owen Anderson1dc69692006-10-18 02:21:48 +00002778 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002779
Owen Anderson1dc69692006-10-18 02:21:48 +00002780 for ( i = 0; i < len; ++i )
2781 buf[i] = bytes[i];
Reid Spencer68a24bd2005-08-27 18:50:39 +00002782
Owen Anderson1dc69692006-10-18 02:21:48 +00002783 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
Reid Spencer68a24bd2005-08-27 18:50:39 +00002784
Owen Anderson1dc69692006-10-18 02:21:48 +00002785 b = yy_scan_buffer( buf, n );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002786 if ( ! b )
Owen Anderson1dc69692006-10-18 02:21:48 +00002787 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002788
2789 /* It's okay to grow etc. this buffer, and we should throw it
2790 * away when we're done.
2791 */
2792 b->yy_is_our_buffer = 1;
2793
2794 return b;
Owen Anderson1dc69692006-10-18 02:21:48 +00002795 }
2796#endif
2797
2798
2799#ifndef YY_NO_PUSH_STATE
2800#ifdef YY_USE_PROTOS
2801static void yy_push_state( int new_state )
2802#else
2803static void yy_push_state( new_state )
2804int new_state;
2805#endif
2806 {
2807 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2808 {
2809 yy_size_t new_size;
2810
2811 yy_start_stack_depth += YY_START_STACK_INCR;
2812 new_size = yy_start_stack_depth * sizeof( int );
2813
2814 if ( ! yy_start_stack )
2815 yy_start_stack = (int *) yy_flex_alloc( new_size );
2816
2817 else
2818 yy_start_stack = (int *) yy_flex_realloc(
2819 (void *) yy_start_stack, new_size );
2820
2821 if ( ! yy_start_stack )
2822 YY_FATAL_ERROR(
2823 "out of memory expanding start-condition stack" );
2824 }
2825
2826 yy_start_stack[yy_start_stack_ptr++] = YY_START;
2827
2828 BEGIN(new_state);
2829 }
2830#endif
2831
2832
2833#ifndef YY_NO_POP_STATE
2834static void yy_pop_state()
2835 {
2836 if ( --yy_start_stack_ptr < 0 )
2837 YY_FATAL_ERROR( "start-condition stack underflow" );
2838
2839 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2840 }
2841#endif
2842
2843
2844#ifndef YY_NO_TOP_STATE
2845static int yy_top_state()
2846 {
2847 return yy_start_stack[yy_start_stack_ptr - 1];
2848 }
2849#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00002850
2851#ifndef YY_EXIT_FAILURE
2852#define YY_EXIT_FAILURE 2
2853#endif
2854
Owen Anderson1dc69692006-10-18 02:21:48 +00002855#ifdef YY_USE_PROTOS
2856static void yy_fatal_error( yyconst char msg[] )
2857#else
2858static void yy_fatal_error( msg )
2859char msg[];
2860#endif
2861 {
2862 (void) fprintf( stderr, "%s\n", msg );
Reid Spencer68a24bd2005-08-27 18:50:39 +00002863 exit( YY_EXIT_FAILURE );
Owen Anderson1dc69692006-10-18 02:21:48 +00002864 }
2865
2866
Reid Spencer68a24bd2005-08-27 18:50:39 +00002867
2868/* Redefine yyless() so it works in section 3 code. */
2869
2870#undef yyless
2871#define yyless(n) \
2872 do \
2873 { \
Owen Anderson1dc69692006-10-18 02:21:48 +00002874 /* Undo effects of setting up yytext. */ \
2875 yytext[yyleng] = yy_hold_char; \
2876 yy_c_buf_p = yytext + n; \
2877 yy_hold_char = *yy_c_buf_p; \
2878 *yy_c_buf_p = '\0'; \
2879 yyleng = n; \
Reid Spencer68a24bd2005-08-27 18:50:39 +00002880 } \
2881 while ( 0 )
2882
2883
Owen Anderson1dc69692006-10-18 02:21:48 +00002884/* Internal utility routines. */
Reid Spencer68a24bd2005-08-27 18:50:39 +00002885
2886#ifndef yytext_ptr
Owen Anderson1dc69692006-10-18 02:21:48 +00002887#ifdef YY_USE_PROTOS
2888static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
2889#else
2890static void yy_flex_strncpy( s1, s2, n )
2891char *s1;
2892yyconst char *s2;
2893int n;
2894#endif
2895 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002896 register int i;
2897 for ( i = 0; i < n; ++i )
2898 s1[i] = s2[i];
Owen Anderson1dc69692006-10-18 02:21:48 +00002899 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002900#endif
2901
2902#ifdef YY_NEED_STRLEN
Owen Anderson1dc69692006-10-18 02:21:48 +00002903#ifdef YY_USE_PROTOS
2904static int yy_flex_strlen( yyconst char *s )
2905#else
2906static int yy_flex_strlen( s )
2907yyconst char *s;
2908#endif
2909 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002910 register int n;
2911 for ( n = 0; s[n]; ++n )
2912 ;
2913
2914 return n;
Owen Anderson1dc69692006-10-18 02:21:48 +00002915 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002916#endif
2917
Reid Spencer68a24bd2005-08-27 18:50:39 +00002918
Owen Anderson1dc69692006-10-18 02:21:48 +00002919#ifdef YY_USE_PROTOS
2920static void *yy_flex_alloc( yy_size_t size )
2921#else
2922static void *yy_flex_alloc( size )
2923yy_size_t size;
2924#endif
2925 {
2926 return (void *) malloc( size );
2927 }
2928
2929#ifdef YY_USE_PROTOS
2930static inline void *yy_flex_realloc( void *ptr, yy_size_t size )
2931#else
2932static inline void *yy_flex_realloc( ptr, size )
2933void *ptr;
2934yy_size_t size;
2935#endif
2936 {
Reid Spencer68a24bd2005-08-27 18:50:39 +00002937 /* The cast to (char *) in the following accommodates both
2938 * implementations that use char* generic pointers, and those
2939 * that use void* generic pointers. It works with the latter
2940 * because both ANSI C and C++ allow castless assignment from
2941 * any pointer type to void*, and deal with argument conversions
2942 * as though doing an assignment.
2943 */
2944 return (void *) realloc( (char *) ptr, size );
Owen Anderson1dc69692006-10-18 02:21:48 +00002945 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002946
Owen Anderson1dc69692006-10-18 02:21:48 +00002947#ifdef YY_USE_PROTOS
2948static void yy_flex_free( void *ptr )
2949#else
2950static void yy_flex_free( ptr )
2951void *ptr;
2952#endif
2953 {
2954 free( ptr );
2955 }
Reid Spencer68a24bd2005-08-27 18:50:39 +00002956
Owen Anderson1dc69692006-10-18 02:21:48 +00002957#if YY_MAIN
2958int main()
2959 {
2960 yylex();
2961 return 0;
2962 }
2963#endif
Reid Spencer6e18b7d2006-12-03 06:59:29 +00002964#line 403 "/proj/llvm/llvm-4/lib/AsmParser/Lexer.l"
Chris Lattner2fecc0f2006-02-15 07:02:59 +00002965