diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-04 04:01:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-04 04:01:37 +0000 |
commit | 39b2e8b56fa2a836d8e982728c58cfcd3dcfd9ea (patch) | |
tree | 4913bbdb3707f021003d11d859e2ad604319e3f0 /lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | dd3094a2a826f4eee0a4318f772c4cb660a9b650 (diff) |
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp.cvs | 7496 |
1 files changed, 3200 insertions, 4296 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs index 41bf3b2900..e1290c1237 100644 --- a/lib/AsmParser/llvmAsmParser.cpp.cvs +++ b/lib/AsmParser/llvmAsmParser.cpp.cvs @@ -1,356 +1,152 @@ -/* A Bison parser, made by GNU Bison 2.3. */ -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* A Bison parser, made from /Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y + by GNU Bison version 1.28 */ - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. +#define YYBISON 1 /* Identify Bison output. */ - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -/* C LALR(1) parser skeleton written by Richard Stallman, by - simplifying the original so-called "semantic" parser. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -/* Identify Bison output. */ -#define YYBISON 1 - -/* Bison version. */ -#define YYBISON_VERSION "2.3" - -/* Skeleton name. */ -#define YYSKELETON_NAME "yacc.c" - -/* Pure parsers. */ -#define YYPURE 0 - -/* Using locations. */ -#define YYLSP_NEEDED 0 - -/* Substitute the variable and function names. */ #define yyparse llvmAsmparse -#define yylex llvmAsmlex +#define yylex llvmAsmlex #define yyerror llvmAsmerror -#define yylval llvmAsmlval -#define yychar llvmAsmchar +#define yylval llvmAsmlval +#define yychar llvmAsmchar #define yydebug llvmAsmdebug #define yynerrs llvmAsmnerrs - - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - ESINT64VAL = 258, - EUINT64VAL = 259, - ESAPINTVAL = 260, - EUAPINTVAL = 261, - LOCALVAL_ID = 262, - GLOBALVAL_ID = 263, - FPVAL = 264, - VOID = 265, - INTTYPE = 266, - FLOAT = 267, - DOUBLE = 268, - LABEL = 269, - TYPE = 270, - LOCALVAR = 271, - GLOBALVAR = 272, - LABELSTR = 273, - STRINGCONSTANT = 274, - ATSTRINGCONSTANT = 275, - ZEROINITIALIZER = 276, - TRUETOK = 277, - FALSETOK = 278, - BEGINTOK = 279, - ENDTOK = 280, - DECLARE = 281, - DEFINE = 282, - GLOBAL = 283, - CONSTANT = 284, - SECTION = 285, - ALIAS = 286, - VOLATILE = 287, - THREAD_LOCAL = 288, - TO = 289, - DOTDOTDOT = 290, - NULL_TOK = 291, - UNDEF = 292, - INTERNAL = 293, - LINKONCE = 294, - WEAK = 295, - APPENDING = 296, - DLLIMPORT = 297, - DLLEXPORT = 298, - EXTERN_WEAK = 299, - OPAQUE = 300, - EXTERNAL = 301, - TARGET = 302, - TRIPLE = 303, - ALIGN = 304, - DEPLIBS = 305, - CALL = 306, - TAIL = 307, - ASM_TOK = 308, - MODULE = 309, - SIDEEFFECT = 310, - CC_TOK = 311, - CCC_TOK = 312, - FASTCC_TOK = 313, - COLDCC_TOK = 314, - X86_STDCALLCC_TOK = 315, - X86_FASTCALLCC_TOK = 316, - DATALAYOUT = 317, - RET = 318, - BR = 319, - SWITCH = 320, - INVOKE = 321, - UNWIND = 322, - UNREACHABLE = 323, - ADD = 324, - SUB = 325, - MUL = 326, - UDIV = 327, - SDIV = 328, - FDIV = 329, - UREM = 330, - SREM = 331, - FREM = 332, - AND = 333, - OR = 334, - XOR = 335, - SHL = 336, - LSHR = 337, - ASHR = 338, - ICMP = 339, - FCMP = 340, - EQ = 341, - NE = 342, - SLT = 343, - SGT = 344, - SLE = 345, - SGE = 346, - ULT = 347, - UGT = 348, - ULE = 349, - UGE = 350, - OEQ = 351, - ONE = 352, - OLT = 353, - OGT = 354, - OLE = 355, - OGE = 356, - ORD = 357, - UNO = 358, - UEQ = 359, - UNE = 360, - MALLOC = 361, - ALLOCA = 362, - FREE = 363, - LOAD = 364, - STORE = 365, - GETELEMENTPTR = 366, - TRUNC = 367, - ZEXT = 368, - SEXT = 369, - FPTRUNC = 370, - FPEXT = 371, - BITCAST = 372, - UITOFP = 373, - SITOFP = 374, - FPTOUI = 375, - FPTOSI = 376, - INTTOPTR = 377, - PTRTOINT = 378, - PHI_TOK = 379, - SELECT = 380, - VAARG = 381, - EXTRACTELEMENT = 382, - INSERTELEMENT = 383, - SHUFFLEVECTOR = 384, - NORETURN = 385, - INREG = 386, - SRET = 387, - NOUNWIND = 388, - DEFAULT = 389, - HIDDEN = 390, - PROTECTED = 391 - }; -#endif -/* Tokens. */ -#define ESINT64VAL 258 -#define EUINT64VAL 259 -#define ESAPINTVAL 260 -#define EUAPINTVAL 261 -#define LOCALVAL_ID 262 -#define GLOBALVAL_ID 263 -#define FPVAL 264 -#define VOID 265 -#define INTTYPE 266 -#define FLOAT 267 -#define DOUBLE 268 -#define LABEL 269 -#define TYPE 270 -#define LOCALVAR 271 -#define GLOBALVAR 272 -#define LABELSTR 273 -#define STRINGCONSTANT 274 -#define ATSTRINGCONSTANT 275 -#define ZEROINITIALIZER 276 -#define TRUETOK 277 -#define FALSETOK 278 -#define BEGINTOK 279 -#define ENDTOK 280 -#define DECLARE 281 -#define DEFINE 282 -#define GLOBAL 283 -#define CONSTANT 284 -#define SECTION 285 -#define ALIAS 286 -#define VOLATILE 287 -#define THREAD_LOCAL 288 -#define TO 289 -#define DOTDOTDOT 290 -#define NULL_TOK 291 -#define UNDEF 292 -#define INTERNAL 293 -#define LINKONCE 294 -#define WEAK 295 -#define APPENDING 296 -#define DLLIMPORT 297 -#define DLLEXPORT 298 -#define EXTERN_WEAK 299 -#define OPAQUE 300 -#define EXTERNAL 301 -#define TARGET 302 -#define TRIPLE 303 -#define ALIGN 304 -#define DEPLIBS 305 -#define CALL 306 -#define TAIL 307 -#define ASM_TOK 308 -#define MODULE 309 -#define SIDEEFFECT 310 -#define CC_TOK 311 -#define CCC_TOK 312 -#define FASTCC_TOK 313 -#define COLDCC_TOK 314 -#define X86_STDCALLCC_TOK 315 -#define X86_FASTCALLCC_TOK 316 -#define DATALAYOUT 317 -#define RET 318 -#define BR 319 -#define SWITCH 320 -#define INVOKE 321 -#define UNWIND 322 -#define UNREACHABLE 323 -#define ADD 324 -#define SUB 325 -#define MUL 326 -#define UDIV 327 -#define SDIV 328 -#define FDIV 329 -#define UREM 330 -#define SREM 331 -#define FREM 332 -#define AND 333 -#define OR 334 -#define XOR 335 -#define SHL 336 -#define LSHR 337 -#define ASHR 338 -#define ICMP 339 -#define FCMP 340 -#define EQ 341 -#define NE 342 -#define SLT 343 -#define SGT 344 -#define SLE 345 -#define SGE 346 -#define ULT 347 -#define UGT 348 -#define ULE 349 -#define UGE 350 -#define OEQ 351 -#define ONE 352 -#define OLT 353 -#define OGT 354 -#define OLE 355 -#define OGE 356 -#define ORD 357 -#define UNO 358 -#define UEQ 359 -#define UNE 360 -#define MALLOC 361 -#define ALLOCA 362 -#define FREE 363 -#define LOAD 364 -#define STORE 365 -#define GETELEMENTPTR 366 -#define TRUNC 367 -#define ZEXT 368 -#define SEXT 369 -#define FPTRUNC 370 -#define FPEXT 371 -#define BITCAST 372 -#define UITOFP 373 -#define SITOFP 374 -#define FPTOUI 375 -#define FPTOSI 376 -#define INTTOPTR 377 -#define PTRTOINT 378 -#define PHI_TOK 379 -#define SELECT 380 -#define VAARG 381 -#define EXTRACTELEMENT 382 -#define INSERTELEMENT 383 -#define SHUFFLEVECTOR 384 -#define NORETURN 385 -#define INREG 386 -#define SRET 387 -#define NOUNWIND 388 -#define DEFAULT 389 -#define HIDDEN 390 -#define PROTECTED 391 - - - - -/* Copy the first part of user declarations. */ -#line 14 "/home/asl/proj/llvm/src/lib/AsmParser/llvmAsmParser.y" +#define ESINT64VAL 257 +#define EUINT64VAL 258 +#define ESAPINTVAL 259 +#define EUAPINTVAL 260 +#define LOCALVAL_ID 261 +#define GLOBALVAL_ID 262 +#define FPVAL 263 +#define VOID 264 +#define INTTYPE 265 +#define FLOAT 266 +#define DOUBLE 267 +#define LABEL 268 +#define TYPE 269 +#define LOCALVAR 270 +#define GLOBALVAR 271 +#define LABELSTR 272 +#define STRINGCONSTANT 273 +#define ATSTRINGCONSTANT 274 +#define ZEROINITIALIZER 275 +#define TRUETOK 276 +#define FALSETOK 277 +#define BEGINTOK 278 +#define ENDTOK 279 +#define DECLARE 280 +#define DEFINE 281 +#define GLOBAL 282 +#define CONSTANT 283 +#define SECTION 284 +#define ALIAS 285 +#define VOLATILE 286 +#define THREAD_LOCAL 287 +#define TO 288 +#define DOTDOTDOT 289 +#define NULL_TOK 290 +#define UNDEF 291 +#define INTERNAL 292 +#define LINKONCE 293 +#define WEAK 294 +#define APPENDING 295 +#define DLLIMPORT 296 +#define DLLEXPORT 297 +#define EXTERN_WEAK 298 +#define OPAQUE 299 +#define EXTERNAL 300 +#define TARGET 301 +#define TRIPLE 302 +#define ALIGN 303 +#define DEPLIBS 304 +#define CALL 305 +#define TAIL 306 +#define ASM_TOK 307 +#define MODULE 308 +#define SIDEEFFECT 309 +#define CC_TOK 310 +#define CCC_TOK 311 +#define FASTCC_TOK 312 +#define COLDCC_TOK 313 +#define X86_STDCALLCC_TOK 314 +#define X86_FASTCALLCC_TOK 315 +#define DATALAYOUT 316 +#define RET 317 +#define BR 318 +#define SWITCH 319 +#define INVOKE 320 +#define UNWIND 321 +#define UNREACHABLE 322 +#define ADD 323 +#define SUB 324 +#define MUL 325 +#define UDIV 326 +#define SDIV 327 +#define FDIV 328 +#define UREM 329 +#define SREM 330 +#define FREM 331 +#define AND 332 +#define OR 333 +#define XOR 334 +#define SHL 335 +#define LSHR 336 +#define ASHR 337 +#define ICMP 338 +#define FCMP 339 +#define EQ 340 +#define NE 341 +#define SLT 342 +#define SGT 343 +#define SLE 344 +#define SGE 345 +#define ULT 346 +#define UGT 347 +#define ULE 348 +#define UGE 349 +#define OEQ 350 +#define ONE 351 +#define OLT 352 +#define OGT 353 +#define OLE 354 +#define OGE 355 +#define ORD 356 +#define UNO 357 +#define UEQ 358 +#define UNE 359 +#define MALLOC 360 +#define ALLOCA 361 +#define FREE 362 +#define LOAD 363 +#define STORE 364 +#define GETELEMENTPTR 365 +#define TRUNC 366 +#define ZEXT 367 +#define SEXT 368 +#define FPTRUNC 369 +#define FPEXT 370 +#define BITCAST 371 +#define UITOFP 372 +#define SITOFP 373 +#define FPTOUI 374 +#define FPTOSI 375 +#define INTTOPTR 376 +#define PTRTOINT 377 +#define PHI_TOK 378 +#define SELECT 379 +#define VAARG 380 +#define EXTRACTELEMENT 381 +#define INSERTELEMENT 382 +#define SHUFFLEVECTOR 383 +#define NORETURN 384 +#define INREG 385 +#define SRET 386 +#define NOUNWIND 387 +#define DEFAULT 388 +#define HIDDEN 389 +#define PROTECTED 390 + +#line 14 "/Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y" #include "ParserInternals.h" #include "llvm/CallingConv.h" @@ -1291,29 +1087,8 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { } - -/* Enabling traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif - -/* Enabling verbose error messages. */ -#ifdef YYERROR_VERBOSE -# undef YYERROR_VERBOSE -# define YYERROR_VERBOSE 1 -#else -# define YYERROR_VERBOSE 0 -#endif - -/* Enabling the token table. */ -#ifndef YYTOKEN_TABLE -# define YYTOKEN_TABLE 0 -#endif - -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE -#line 955 "/home/asl/proj/llvm/src/lib/AsmParser/llvmAsmParser.y" -{ +#line 955 "/Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y" +typedef union { llvm::Module *ModuleVal; llvm::Function *FunctionVal; llvm::BasicBlock *BasicBlockVal; @@ -1358,1769 +1133,1084 @@ typedef union YYSTYPE llvm::Instruction::OtherOps OtherOpVal; llvm::ICmpInst::Predicate IPredicate; llvm::FCmpInst::Predicate FPredicate; -} -/* Line 187 of yacc.c. */ -#line 1364 "llvmAsmParser.tab.c" - YYSTYPE; -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 -# define YYSTYPE_IS_TRIVIAL 1 -#endif - - - -/* Copy the second part of user declarations. */ - +} YYSTYPE; +#include <stdio.h> -/* Line 216 of yacc.c. */ -#line 1377 "llvmAsmParser.tab.c" - -#ifdef short -# undef short +#ifndef __cplusplus +#ifndef __STDC__ +#define const #endif - -#ifdef YYTYPE_UINT8 -typedef YYTYPE_UINT8 yytype_uint8; -#else -typedef unsigned char yytype_uint8; #endif -#ifdef YYTYPE_INT8 -typedef YYTYPE_INT8 yytype_int8; -#elif (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -typedef signed char yytype_int8; -#else -typedef short int yytype_int8; -#endif -#ifdef YYTYPE_UINT16 -typedef YYTYPE_UINT16 yytype_uint16; -#else -typedef unsigned short int yytype_uint16; -#endif -#ifdef YYTYPE_INT16 -typedef YYTYPE_INT16 yytype_int16; -#else -typedef short int yytype_int16; -#endif +#define YYFINAL 581 +#define YYFLAG -32768 +#define YYNTBASE 151 + +#define YYTRANSLATE(x) ((unsigned)(x) <= 390 ? yytranslate[x] : 232) + +static const short yytranslate[] = { 0, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 141, + 142, 139, 2, 138, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 146, + 137, 147, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 143, 140, 145, 2, 2, 2, 2, 2, 150, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 144, + 2, 2, 148, 2, 149, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 1, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, + 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, + 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, 133, 134, 135, 136 +}; -#ifndef YYSIZE_T -# ifdef __SIZE_TYPE__ -# define YYSIZE_T __SIZE_TYPE__ -# elif defined size_t -# define YYSIZE_T size_t -# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# else -# define YYSIZE_T unsigned int -# endif -#endif +#if YYDEBUG != 0 +static const short yyprhs[] = { 0, + 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, + 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, + 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, + 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, + 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, + 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, + 119, 122, 123, 125, 127, 129, 130, 133, 135, 137, + 139, 141, 143, 145, 147, 149, 150, 152, 154, 156, + 157, 159, 161, 162, 164, 166, 168, 170, 171, 173, + 175, 176, 178, 180, 182, 184, 186, 189, 191, 193, + 195, 197, 198, 201, 203, 205, 207, 208, 211, 212, + 215, 216, 220, 223, 224, 226, 227, 231, 233, 236, + 238, 240, 242, 244, 246, 248, 251, 253, 256, 262, + 268, 274, 280, 284, 287, 293, 298, 301, 303, 305, + 307, 311, 313, 317, 319, 320, 322, 326, 331, 335, + 339, 344, 349, 353, 360, 366, 369, 372, 375, 378, + 381, 384, 387, 390, 393, 396, 399, 402, 409, 415, + 424, 431, 438, 446, 454, 461, 470, 479, 483, 485, + 487, 489, 491, 492, 495, 502, 504, 505, 507, 510, + 511, 515, 516, 520, 524, 528, 532, 533, 541, 542, + 551, 552, 561, 567, 570, 574, 576, 580, 584, 588, + 592, 594, 595, 601, 605, 607, 611, 613, 614, 624, + 626, 628, 633, 635, 637, 640, 644, 645, 647, 649, + 651, 653, 655, 657, 659, 661, 663, 667, 669, 675, + 677, 679, 681, 683, 685, 687, 690, 693, 696, 700, + 703, 704, 706, 709, 712, 716, 726, 736, 745, 760, + 762, 764, 771, 777, 780, 787, 795, 799, 805, 806, + 807, 811, 814, 816, 822, 828, 835, 842, 847, 854, + 859, 864, 871, 878, 881, 890, 892, 894, 895, 899, + 906, 910, 917, 920, 926, 934 +}; -#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) - -#ifndef YY_ -# if YYENABLE_NLS -# if ENABLE_NLS -# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -# define YY_(msgid) dgettext ("bison-runtime", msgid) -# endif -# endif -# ifndef YY_ -# define YY_(msgid) msgid -# endif -#endif +static const short yyrhs[] = { 69, + 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, + 0, 75, 0, 76, 0, 77, 0, 81, 0, 82, + 0, 83, 0, 78, 0, 79, 0, 80, 0, 112, + 0, 113, 0, 114, 0, 115, 0, 116, 0, 117, + 0, 118, 0, 119, 0, 120, 0, 121, 0, 122, + 0, 123, 0, 86, 0, 87, 0, 88, 0, 89, + 0, 90, 0, 91, 0, 92, 0, 93, 0, 94, + 0, 95, 0, 96, 0, 97, 0, 98, 0, 99, + 0, 100, 0, 101, 0, 102, 0, 103, 0, 104, + 0, 105, 0, 92, 0, 93, 0, 94, 0, 95, + 0, 22, 0, 23, 0, 11, 0, 12, 0, 13, + 0, 16, 0, 19, 0, 158, 0, 0, 158, 137, + 0, 0, 17, 0, 20, 0, 163, 0, 0, 161, + 137, 0, 38, 0, 40, 0, 39, 0, 41, 0, + 43, 0, 42, 0, 44, 0, 46, 0, 0, 134, + 0, 135, 0, 136, 0, 0, 42, 0, 44, 0, + 0, 38, 0, 39, 0, 40, 0, 43, 0, 0, + 40, 0, 38, 0, 0, 57, 0, 58, 0, 59, + 0, 60, 0, 61, 0, 56, 4, 0, 113, 0, + 114, 0, 131, 0, 132, 0, 0, 172, 171, 0, + 130, 0, 133, 0, 171, 0, 0, 174, 173, 0, + 0, 49, 4, 0, 0, 138, 49, 4, 0, 30, + 19, 0, 0, 177, 0, 0, 138, 180, 179, 0, + 177, 0, 49, 4, 0, 11, 0, 12, 0, 13, + 0, 14, 0, 45, 0, 181, 0, 182, 139, 0, + 216, 0, 140, 4, 0, 182, 141, 186, 142, 174, + 0, 10, 141, 186, 142, 174, 0, 143, 4, 144, + 182, 145, 0, 146, 4, 144, 182, 147, 0, 148, + 187, 149, 0, 148, 149, 0, 146, 148, 187, 149, + 147, 0, 146, 148, 149, 147, 0, 182, 172, 0, + 182, 0, 10, 0, 183, 0, 185, 138, 183, 0, + 185, 0, 185, 138, 35, 0, 35, 0, 0, 182, + 0, 187, 138, 182, 0, 182, 143, 190, 145, 0, + 182, 143, 145, 0, 182, 150, 19, 0, 182, 146, + 190, 147, 0, 182, 148, 190, 149, 0, 182, 148, + 149, 0, 182, 146, 148, 190, 149, 147, 0, 182, + 146, 148, 149, 147, 0, 182, 36, 0, 182, 37, + 0, 182, 216, 0, 182, 189, 0, 182, 21, 0, + 156, 3, 0, 156, 5, 0, 156, 4, 0, 156, + 6, 0, 11, 22, 0, 11, 23, 0, 157, 9, + 0, 153, 141, 188, 34, 182, 142, 0, 111, 141, + 188, 227, 142, 0, 125, 141, 188, 138, 188, 138, + 188, 142, 0, 151, 141, 188, 138, 188, 142, 0, + 152, 141, 188, 138, 188, 142, 0, 84, 154, 141, + 188, 138, 188, 142, 0, 85, 155, 141, 188, 138, + 188, 142, 0, 127, 141, 188, 138, 188, 142, 0, + 128, 141, 188, 138, 188, 138, 188, 142, 0, 129, + 141, 188, 138, 188, 138, 188, 142, 0, 190, 138, + 188, 0, 188, 0, 28, 0, 29, 0, 33, 0, + 0, 184, 216, 0, 117, 141, 193, 34, 182, 142, + 0, 195, 0, 0, 196, 0, 195, 196, 0, 0, + 27, 197, 212, 0, 0, 26, 198, 213, 0, 54, + 53, 202, 0, 160, 15, 182, 0, 160, 15, 10, + 0, 0, 162, 166, 192, 191, 188, 199, 179, 0, + 0, 162, 164, 166, 192, 191, 188, 200, 179, 0, + 0, 162, 165, 166, 192, 191, 182, 201, 179, 0, + 162, 166, 31, 169, 193, 0, 47, 203, 0, 50, + 137, 204, 0, 19, 0, 48, 137, 19, 0, 62, + 137, 19, 0, 143, 205, 145, 0, 205, 138, 19, + 0, 19, 0, 0, 206, 138, 182, 172, 159, 0, + 182, 172, 159, 0, 206, 0, 206, 138, 35, 0, + 35, 0, 0, 170, 184, 161, 141, 207, 142, 174, + 178, 175, 0, 24, 0, 148, 0, 168, 166, 208, + 209, 0, 25, 0, 149, 0, 219, 211, 0, 167, + 166, 208, 0, 0, 55, 0, 3, 0, 4, 0, + 9, 0, 22, 0, 23, 0, 36, 0, 37, 0, + 21, 0, 146, 190, 147, 0, 189, 0, 53, 214, + 19, 138, 19, 0, 7, 0, 8, 0, 158, 0, + 161, 0, 216, 0, 215, 0, 182, 217, 0, 219, + 220, 0, 210, 220, 0, 221, 160, 222, 0, 221, + 224, 0, 0, 18, 0, 63, 218, 0, 63, 10, + 0, 64, 14, 217, 0, 64, 11, 217, 138, 14, + 217, 138, 14, 217, 0, 65, 156, 217, 138, 14, + 217, 143, 223, 145, 0, 65, 156, 217, 138, 14, + 217, 143, 145, 0, 66, 170, 184, 217, 141, 226, + 142, 174, 34, 14, 217, 67, 14, 217, 0, 67, + 0, 68, 0, 223, 156, 215, 138, 14, 217, 0, + 156, 215, 138, 14, 217, 0, 160, 229, 0, 182, + 143, 217, 138, 217, 145, 0, 225, 138, 143, 217, + 138, 217, 145, 0, 182, 217, 172, 0, 226, 138, + 182, 217, 172, 0, 0, 0, 227, 138, 218, 0, + 52, 51, 0, 51, 0, 151, 182, 217, 138, 217, + 0, 152, 182, 217, 138, 217, 0, 84, 154, 182, + 217, 138, 217, 0, 85, 155, 182, 217, 138, 217, + 0, 153, 218, 34, 182, 0, 125, 218, 138, 218, + 138, 218, 0, 126, 218, 138, 182, 0, 127, 218, + 138, 218, 0, 128, 218, 138, 218, 138, 218, 0, + 129, 218, 138, 218, 138, 218, 0, 124, 225, 0, + 228, 170, 184, 217, 141, 226, 142, 174, 0, 231, + 0, 32, 0, 0, 106, 182, 176, 0, 106, 182, + 138, 11, 217, 176, 0, 107, 182, 176, 0, 107, + 182, 138, 11, 217, 176, 0, 108, 218, 0, 230, + 109, 182, 217, 176, 0, 230, 110, 218, 138, 182, + 217, 176, 0, 111, 182, 217, 227, 0 +}; -/* Suppress unused-variable warnings by "using" E. */ -#if ! defined lint || defined __GNUC__ -# define YYUSE(e) ((void) (e)) -#else -# define YYUSE(e) /* empty */ #endif -/* Identity function, used to suppress warnings about constant conditions. */ -#ifndef lint -# define YYID(n) (n) -#else -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static int -YYID (int i) -#else -static int -YYID (i) - int i; -#endif -{ - return i; -} +#if YYDEBUG != 0 +static const short yyrline[] = { 0, + 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1112, + 1112, 1112, 1112, 1112, 1112, 1113, 1113, 1113, 1113, 1113, + 1113, 1113, 1114, 1114, 1114, 1114, 1114, 1117, 1117, 1118, + 1118, 1119, 1119, 1120, 1120, 1121, 1121, 1125, 1125, 1126, + 1126, 1127, 1127, 1128, 1128, 1129, 1129, 1130, 1130, 1131, + 1131, 1132, 1133, 1138, 1139, 1139, 1141, 1141, 1142, 1142, + 1146, 1150, 1155, 1155, 1157, 1158, 1163, 1169, 1170, 1171, + 1172, 1173, 1177, 1178, 1179, 1183, 1184, 1185, 1186, 1190, + 1191, 1192, 1196, 1197, 1198, 1199, 1200, 1204, 1205, 1206, + 1209, 1209, 1210, 1211, 1212, 1213, 1214, 1222, 1223, 1224, + 1225, 1228, 1229, 1234, 1235, 1236, 1239, 1240, 1247, 1247, + 1254, 1254, 1263, 1271, 1271, 1277, 1277, 1279, 1284, 1297, + 1297, 1297, 1297, 1300, 1304, 1308, 1315, 1320, 1328, 1358, + 1389, 1394, 1406, 1416, 1420, 1430, 1437, 1444, 1451, 1456, + 1461, 1468, 1469, 1476, 1483, 1491, 1497, 1509, 1537, 1553, + 1582, 1610, 1636, 1656, 1682, 1702, 1714, 1721, 1787, 1797, + 1807, 1813, 1823, 1829, 1839, 1844, 1849, 1857, 1869, 1891, + 1899, 1905, 1916, 1921, 1926, 1932, 1938, 1947, 1951, 1959, + 1959, 1962, 1962, 1965, 1976, 1997, 2002, 2010, 2011, 2015, + 2015, 2019, 2019, 2022, 2025, 2049, 2060, 2067, 2070, 2076, + 2079, 2086, 2090, 2105, 2108, 2114, 2127, 2131, 2136, 2138, + 2143, 2148, 2157, 2167, 2178, 2182, 2191, 2200, 2205, 2327, + 2327, 2329, 2338, 2338, 2340, 2345, 2357, 2361, 2366, 2370, + 2374, 2378, 2382, 2386, 2390, 2394, 2398, 2423, 2427, 2441, + 2445, 2449, 2453, 2459, 2459, 2465, 2474, 2478, 2487, 2496, + 2505, 2509, 2514, 2518, 2522, 2527, 2537, 2556, 2565, 2645, + 2649, 2656, 2667, 2680, 2690, 2701, 2711, 2720, 2729, 2732, + 2733, 2740, 2744, 2749, 2770, 2787, 2801, 2815, 2827, 2835, + 2842, 2848, 2854, 2860, 2875, 2960, 2965, 2969, 2976, 2983, + 2991, 2998, 3006, 3014, 3028, 3045 +}; #endif -#if ! defined yyoverflow || YYERROR_VERBOSE - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# ifdef YYSTACK_USE_ALLOCA -# if YYSTACK_USE_ALLOCA -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# elif defined __BUILTIN_VA_ARG_INCR -# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ -# elif defined _AIX -# define YYSTACK_ALLOC __alloca -# elif defined _MSC_VER -# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ -# define alloca _alloca -# else -# define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 -# endif -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) -# ifndef YYSTACK_ALLOC_MAXIMUM - /* The OS might guarantee only one guard page at the bottom of the stack, - and a page size can be as small as 4096 bytes. So we cannot safely - invoke alloca (N) if N exceeds 4096. Use a slightly smaller number - to allow for a few compiler-allocated temporary stack slots. */ -# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ -# endif -# else -# define YYSTACK_ALLOC YYMALLOC -# define YYSTACK_FREE YYFREE -# ifndef YYSTACK_ALLOC_MAXIMUM -# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM -# endif -# if (defined __cplusplus && ! defined _STDLIB_H \ - && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 -# endif -# endif -# ifndef YYMALLOC -# define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# ifndef YYFREE -# define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -void free (void *); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# endif -#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ - - -#if (! defined yyoverflow \ - && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - yytype_int16 yyss; - YYSTYPE yyvs; - }; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAXIMUM) - -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (YYID (0)) +#if YYDEBUG != 0 || defined (YYERROR_VERBOSE) + +static const char * const yytname[] = { "$","error","$undefined.","ESINT64VAL", +"EUINT64VAL","ESAPINTVAL","EUAPINTVAL","LOCALVAL_ID","GLOBALVAL_ID","FPVAL", +"VOID","INTTYPE","FLOAT","DOUBLE","LABEL","TYPE","LOCALVAR","GLOBALVAR","LABELSTR", +"STRINGCONSTANT","ATSTRINGCONSTANT","ZEROINITIALIZER","TRUETOK","FALSETOK","BEGINTOK", +"ENDTOK","DECLARE","DEFINE","GLOBAL","CONSTANT","SECTION","ALIAS","VOLATILE", +"THREAD_LOCAL","TO","DOTDOTDOT","NULL_TOK","UNDEF","INTERNAL","LINKONCE","WEAK", +"APPENDING","DLLIMPORT","DLLEXPORT","EXTERN_WEAK","OPAQUE","EXTERNAL","TARGET", +"TRIPLE","ALIGN","DEPLIBS","CALL","TAIL","ASM_TOK","MODULE","SIDEEFFECT","CC_TOK", +"CCC_TOK","FASTCC_TOK","COLDCC_TOK","X86_STDCALLCC_TOK","X86_FASTCALLCC_TOK", +"DATALAYOUT","RET","BR","SWITCH","INVOKE","UNWIND","UNREACHABLE","ADD","SUB", +"MUL","UDIV","SDIV","FDIV","UREM","SREM","FREM","AND","OR","XOR","SHL","LSHR", +"ASHR","ICMP","FCMP","EQ","NE","SLT","SGT","SLE","SGE","ULT","UGT","ULE","UGE", +"OEQ","ONE","OLT","OGT","OLE","OGE","ORD","UNO","UEQ","UNE","MALLOC","ALLOCA", +"FREE","LOAD","STORE","GETELEMENTPTR","TRUNC","ZEXT","SEXT","FPTRUNC","FPEXT", +"BITCAST","UITOFP","SITOFP","FPTOUI","FPTOSI","INTTOPTR","PTRTOINT","PHI_TOK", +"SELECT","VAARG","EXTRACTELEMENT","INSERTELEMENT","SHUFFLEVECTOR","NORETURN", +"INREG","SRET","NOUNWIND","DEFAULT","HIDDEN","PROTECTED","'='","','","'*'","'\\\\'", +"'('","')'","'['","'x'","']'","'<'","'>'","'{'","'}'","'c'","ArithmeticOps", +"LogicalOps","CastOps","IPredicates","FPredicates","IntType","FPType","LocalName", +"OptLocalName","OptLocalAssign","GlobalName","OptGlobalAss |