aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-10-22 07:03:43 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-10-22 07:03:43 +0000
commit21be86535baf98d495b6a1565d487073da7827ca (patch)
treef10351692a8aa003660f6f8e7e848ba790734201 /lib/AsmParser/llvmAsmParser.cpp.cvs
parentfd6131b5a8b7f5f43f14be525d4aeffac1290b76 (diff)
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs6383
1 files changed, 3608 insertions, 2775 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 392761f6b4..2a873eeba5 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -1,124 +1,290 @@
+/* A Bison parser, made by GNU Bison 2.1. */
-/* A Bison parser, made from /Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y
- by GNU Bison version 1.28 */
+/* Skeleton parser for Yacc-like parsing with Bison,
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 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, when this file is copied by Bison into a
+ Bison output file, you may use that output file without restriction.
+ This special exception was added by the Free Software Foundation
+ in version 1.24 of Bison. */
+
+/* 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.1"
+
+/* 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
-#define ESINT64VAL 257
-#define EUINT64VAL 258
-#define SINTVAL 259
-#define UINTVAL 260
-#define FPVAL 261
-#define VOID 262
-#define BOOL 263
-#define SBYTE 264
-#define UBYTE 265
-#define SHORT 266
-#define USHORT 267
-#define INT 268
-#define UINT 269
-#define LONG 270
-#define ULONG 271
-#define FLOAT 272
-#define DOUBLE 273
-#define TYPE 274
-#define LABEL 275
-#define VAR_ID 276
-#define LABELSTR 277
-#define STRINGCONSTANT 278
-#define IMPLEMENTATION 279
-#define ZEROINITIALIZER 280
-#define TRUETOK 281
-#define FALSETOK 282
-#define BEGINTOK 283
-#define ENDTOK 284
-#define DECLARE 285
-#define GLOBAL 286
-#define CONSTANT 287
-#define SECTION 288
-#define VOLATILE 289
-#define TO 290
-#define DOTDOTDOT 291
-#define NULL_TOK 292
-#define UNDEF 293
-#define CONST 294
-#define INTERNAL 295
-#define LINKONCE 296
-#define WEAK 297
-#define APPENDING 298
-#define DLLIMPORT 299
-#define DLLEXPORT 300
-#define EXTERN_WEAK 301
-#define OPAQUE 302
-#define NOT 303
-#define EXTERNAL 304
-#define TARGET 305
-#define TRIPLE 306
-#define ENDIAN 307
-#define POINTERSIZE 308
-#define LITTLE 309
-#define BIG 310
-#define ALIGN 311
-#define DEPLIBS 312
-#define CALL 313
-#define TAIL 314
-#define ASM_TOK 315
-#define MODULE 316
-#define SIDEEFFECT 317
-#define CC_TOK 318
-#define CCC_TOK 319
-#define CSRETCC_TOK 320
-#define FASTCC_TOK 321
-#define COLDCC_TOK 322
-#define X86_STDCALLCC_TOK 323
-#define X86_FASTCALLCC_TOK 324
-#define DATALAYOUT 325
-#define RET 326
-#define BR 327
-#define SWITCH 328
-#define INVOKE 329
-#define UNWIND 330
-#define UNREACHABLE 331
-#define ADD 332
-#define SUB 333
-#define MUL 334
-#define DIV 335
-#define REM 336
-#define AND 337
-#define OR 338
-#define XOR 339
-#define SETLE 340
-#define SETGE 341
-#define SETLT 342
-#define SETGT 343
-#define SETEQ 344
-#define SETNE 345
-#define MALLOC 346
-#define ALLOCA 347
-#define FREE 348
-#define LOAD 349
-#define STORE 350
-#define GETELEMENTPTR 351
-#define PHI_TOK 352
-#define CAST 353
-#define SELECT 354
-#define SHL 355
-#define SHR 356
-#define VAARG 357
-#define EXTRACTELEMENT 358
-#define INSERTELEMENT 359
-#define SHUFFLEVECTOR 360
-#define VAARG_old 361
-#define VANEXT_old 362
-
-#line 14 "/Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
+
+
+/* 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,
+ SINTVAL = 260,
+ UINTVAL = 261,
+ FPVAL = 262,
+ VOID = 263,
+ BOOL = 264,
+ SBYTE = 265,
+ UBYTE = 266,
+ SHORT = 267,
+ USHORT = 268,
+ INT = 269,
+ UINT = 270,
+ LONG = 271,
+ ULONG = 272,
+ FLOAT = 273,
+ DOUBLE = 274,
+ TYPE = 275,
+ LABEL = 276,
+ VAR_ID = 277,
+ LABELSTR = 278,
+ STRINGCONSTANT = 279,
+ IMPLEMENTATION = 280,
+ ZEROINITIALIZER = 281,
+ TRUETOK = 282,
+ FALSETOK = 283,
+ BEGINTOK = 284,
+ ENDTOK = 285,
+ DECLARE = 286,
+ GLOBAL = 287,
+ CONSTANT = 288,
+ SECTION = 289,
+ VOLATILE = 290,
+ TO = 291,
+ DOTDOTDOT = 292,
+ NULL_TOK = 293,
+ UNDEF = 294,
+ CONST = 295,
+ INTERNAL = 296,
+ LINKONCE = 297,
+ WEAK = 298,
+ APPENDING = 299,
+ DLLIMPORT = 300,
+ DLLEXPORT = 301,
+ EXTERN_WEAK = 302,
+ OPAQUE = 303,
+ NOT = 304,
+ EXTERNAL = 305,
+ TARGET = 306,
+ TRIPLE = 307,
+ ENDIAN = 308,
+ POINTERSIZE = 309,
+ LITTLE = 310,
+ BIG = 311,
+ ALIGN = 312,
+ DEPLIBS = 313,
+ CALL = 314,
+ TAIL = 315,
+ ASM_TOK = 316,
+ MODULE = 317,
+ SIDEEFFECT = 318,
+ CC_TOK = 319,
+ CCC_TOK = 320,
+ CSRETCC_TOK = 321,
+ FASTCC_TOK = 322,
+ COLDCC_TOK = 323,
+ X86_STDCALLCC_TOK = 324,
+ X86_FASTCALLCC_TOK = 325,
+ DATALAYOUT = 326,
+ RET = 327,
+ BR = 328,
+ SWITCH = 329,
+ INVOKE = 330,
+ UNWIND = 331,
+ UNREACHABLE = 332,
+ ADD = 333,
+ SUB = 334,
+ MUL = 335,
+ DIV = 336,
+ REM = 337,
+ AND = 338,
+ OR = 339,
+ XOR = 340,
+ SETLE = 341,
+ SETGE = 342,
+ SETLT = 343,
+ SETGT = 344,
+ SETEQ = 345,
+ SETNE = 346,
+ MALLOC = 347,
+ ALLOCA = 348,
+ FREE = 349,
+ LOAD = 350,
+ STORE = 351,
+ GETELEMENTPTR = 352,
+ PHI_TOK = 353,
+ CAST = 354,
+ SELECT = 355,
+ SHL = 356,
+ SHR = 357,
+ VAARG = 358,
+ EXTRACTELEMENT = 359,
+ INSERTELEMENT = 360,
+ SHUFFLEVECTOR = 361,
+ VAARG_old = 362,
+ VANEXT_old = 363
+ };
+#endif
+/* Tokens. */
+#define ESINT64VAL 258
+#define EUINT64VAL 259
+#define SINTVAL 260
+#define UINTVAL 261
+#define FPVAL 262
+#define VOID 263
+#define BOOL 264
+#define SBYTE 265
+#define UBYTE 266
+#define SHORT 267
+#define USHORT 268
+#define INT 269
+#define UINT 270
+#define LONG 271
+#define ULONG 272
+#define FLOAT 273
+#define DOUBLE 274
+#define TYPE 275
+#define LABEL 276
+#define VAR_ID 277
+#define LABELSTR 278
+#define STRINGCONSTANT 279
+#define IMPLEMENTATION 280
+#define ZEROINITIALIZER 281
+#define TRUETOK 282
+#define FALSETOK 283
+#define BEGINTOK 284
+#define ENDTOK 285
+#define DECLARE 286
+#define GLOBAL 287
+#define CONSTANT 288
+#define SECTION 289
+#define VOLATILE 290
+#define TO 291
+#define DOTDOTDOT 292
+#define NULL_TOK 293
+#define UNDEF 294
+#define CONST 295
+#define INTERNAL 296
+#define LINKONCE 297
+#define WEAK 298
+#define APPENDING 299
+#define DLLIMPORT 300
+#define DLLEXPORT 301
+#define EXTERN_WEAK 302
+#define OPAQUE 303
+#define NOT 304
+#define EXTERNAL 305
+#define TARGET 306
+#define TRIPLE 307
+#define ENDIAN 308
+#define POINTERSIZE 309
+#define LITTLE 310
+#define BIG 311
+#define ALIGN 312
+#define DEPLIBS 313
+#define CALL 314
+#define TAIL 315
+#define ASM_TOK 316
+#define MODULE 317
+#define SIDEEFFECT 318
+#define CC_TOK 319
+#define CCC_TOK 320
+#define CSRETCC_TOK 321
+#define FASTCC_TOK 322
+#define COLDCC_TOK 323
+#define X86_STDCALLCC_TOK 324
+#define X86_FASTCALLCC_TOK 325
+#define DATALAYOUT 326
+#define RET 327
+#define BR 328
+#define SWITCH 329
+#define INVOKE 330
+#define UNWIND 331
+#define UNREACHABLE 332
+#define ADD 333
+#define SUB 334
+#define MUL 335
+#define DIV 336
+#define REM 337
+#define AND 338
+#define OR 339
+#define XOR 340
+#define SETLE 341
+#define SETGE 342
+#define SETLT 343
+#define SETGT 344
+#define SETEQ 345
+#define SETNE 346
+#define MALLOC 347
+#define ALLOCA 348
+#define FREE 349
+#define LOAD 350
+#define STORE 351
+#define GETELEMENTPTR 352
+#define PHI_TOK 353
+#define CAST 354
+#define SELECT 355
+#define SHL 356
+#define SHR 357
+#define VAARG 358
+#define EXTRACTELEMENT 359
+#define INSERTELEMENT 360
+#define SHUFFLEVECTOR 361
+#define VAARG_old 362
+#define VANEXT_old 363
+
+
+
+
+/* Copy the first part of user declarations. */
+#line 14 "/proj/llvm/llvm_nc/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1078,8 +1244,28 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
}
-#line 974 "/Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
-typedef union {
+
+/* 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)
+#line 974 "/proj/llvm/llvm_nc/lib/AsmParser/llvmAsmParser.y"
+typedef union YYSTYPE {
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
std::pair<llvm::PATypeHolder*, char*> *ArgVal;
@@ -1118,1003 +1304,1457 @@ typedef union {
llvm::Instruction::OtherOps OtherOpVal;
llvm::Module::Endianness Endianness;
} YYSTYPE;
-#include <stdio.h>
-
-#ifndef __cplusplus
-#ifndef __STDC__
-#define const
-#endif
+/* Line 196 of yacc.c. */
+#line 1309 "llvmAsmParser.tab.c"
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
#endif
-#define YYFINAL 517
-#define YYFLAG -32768
-#define YYNTBASE 123
-
-#define YYTRANSLATE(x) ((unsigned)(x) <= 362 ? yytranslate[x] : 197)
-
-static const char 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, 112,
- 113, 121, 2, 110, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 117,
- 109, 118, 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,
- 114, 111, 116, 2, 2, 2, 2, 2, 122, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 115,
- 2, 2, 119, 2, 120, 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
-};
+/* Copy the second part of user declarations. */
-#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, 67, 68, 70, 72, 74, 76, 78,
- 80, 82, 83, 84, 86, 88, 90, 92, 94, 96,
- 99, 100, 103, 104, 108, 111, 112, 114, 115, 119,
- 121, 124, 126, 128, 130, 132, 134, 136, 138, 140,
- 142, 144, 146, 148, 150, 152, 154, 156, 158, 160,
- 162, 164, 166, 169, 174, 180, 186, 190, 193, 196,
- 198, 202, 204, 208, 210, 211, 216, 220, 224, 229,
- 234, 238, 241, 244, 247, 250, 253, 256, 259, 262,
- 265, 268, 275, 281, 290, 297, 304, 311, 318, 325,
- 334, 343, 347, 349, 351, 353, 355, 358, 361, 366,
- 369, 371, 376, 379, 384, 385, 393, 394, 402, 403,
- 411, 412, 420, 424, 429, 430, 432, 434, 436, 440,
- 444, 448, 452, 456, 460, 462, 463, 465, 467, 469,
- 470, 473, 477, 479, 481, 485, 487, 488, 497, 499,
- 501, 505, 507, 509, 512, 513, 515, 517, 518, 523,
- 524, 526, 528, 530, 532, 534, 536, 538, 540, 542,
- 546, 548, 554, 556, 558, 560, 562, 565, 568, 571,
- 575, 578, 579, 581, 584, 587, 591, 601, 611, 620,
- 634, 636, 638, 645, 651, 654, 661, 669, 671, 675,
- 677, 678, 681, 683, 689, 695, 701, 704, 709, 714,
- 721, 726, 731, 736, 741, 748, 755, 758, 766, 768,
- 771, 772, 774, 775, 779, 786, 790, 797, 800, 805,
- 812
-};
-static const short yyrhs[] = { 5,
- 0, 6, 0, 3, 0, 4, 0, 78, 0, 79,
- 0, 80, 0, 81, 0, 82, 0, 83, 0, 84,
- 0, 85, 0, 86, 0, 87, 0, 88, 0, 89,
- 0, 90, 0, 91, 0, 101, 0, 102, 0, 16,
- 0, 14, 0, 12, 0, 10, 0, 17, 0, 15,
- 0, 13, 0, 11, 0, 129, 0, 130, 0, 18,
- 0, 19, 0, 165, 109, 0, 0, 41, 0, 42,
- 0, 43, 0, 44, 0, 45, 0, 46, 0, 47,
- 0, 0, 0, 65, 0, 66, 0, 67, 0, 68,
- 0, 69, 0, 70, 0, 64, 4, 0, 0, 57,
- 4, 0, 0, 110, 57, 4, 0, 34, 24, 0,
- 0, 138, 0, 0, 110, 141, 140, 0, 138, 0,
- 57, 4, 0, 144, 0, 8, 0, 146, 0, 8,
- 0, 146, 0, 9, 0, 10, 0, 11, 0, 12,
- 0, 13, 0, 14, 0, 15, 0, 16, 0, 17,
- 0, 18, 0, 19, 0, 20, 0, 21, 0, 48,
- 0, 145, 0, 180, 0, 111, 4, 0, 143, 112,
- 148, 113, 0, 114, 4, 115, 146, 116, 0, 117,
- 4, 115, 146, 118, 0, 119, 147, 120, 0, 119,
- 120, 0, 146, 121, 0, 146, 0, 147, 110, 146,
- 0, 147, 0, 147, 110, 37, 0, 37, 0, 0,
- 144, 114, 151, 116, 0, 144, 114, 116, 0, 144,
- 122, 24, 0, 144, 117, 151, 118, 0, 144, 119,
- 151, 120, 0, 144, 119, 120, 0, 144, 38, 0,
- 144, 39, 0, 144, 180, 0, 144, 150, 0, 144,
- 26, 0, 129, 124, 0, 130, 4, 0, 9, 27,
- 0, 9, 28, 0, 132, 7, 0, 99, 112, 149,
- 36, 144, 113, 0, 97, 112, 149, 194, 113, 0,
- 100, 112, 149, 110, 149, 110, 149, 113, 0, 125,
- 112, 149, 110, 149, 113, 0, 126, 112, 149, 110,
- 149, 113, 0, 127, 112, 149, 110, 149, 113, 0,
- 128, 112, 149, 110, 149, 113, 0, 104, 112, 149,
- 110, 149, 113, 0, 105, 112, 149, 110, 149, 110,
- 149, 113, 0, 106, 112, 149, 110, 149, 110, 149,
- 113, 0, 151, 110, 149, 0, 149, 0, 32, 0,
- 33, 0, 154, 0, 154, 174, 0, 154, 176, 0,
- 154, 62, 61, 160, 0, 154, 25, 0, 155, 0,
- 155, 133, 20, 142, 0, 155, 176, 0, 155, 62,
- 61, 160, 0, 0, 155, 133, 134, 152, 149, 156,
- 140, 0, 0, 155, 133, 50, 152, 144, 157, 140,
- 0, 0, 155, 133, 45, 152, 144, 158, 140, 0,
- 0, 155, 133, 47, 152, 144, 159, 140, 0, 155,
- 51, 162, 0, 155, 58, 109, 163, 0, 0, 24,
- 0, 56, 0, 55, 0, 53, 109, 161, 0, 54,
- 109, 4, 0, 52, 109, 24, 0, 71, 109, 24,
- 0, 114, 164, 116, 0, 164, 110, 24, 0, 24,
- 0, 0, 22, 0, 24, 0, 165, 0, 0, 144,
- 166, 0, 168, 110, 167, 0, 167, 0, 168, 0,
- 168, 110, 37, 0, 37, 0, 0, 135, 142, 165,
- 112, 169, 113, 139, 136, 0, 29, 0, 119, 0,
- 134, 170, 171, 0, 30, 0, 120, 0, 183, 173,
- 0, 0, 45, 0, 47, 0, 0, 31, 177, 175,
- 170, 0, 0, 63, 0, 3, 0, 4, 0, 7,
- 0, 27, 0, 28, 0, 38, 0, 39, 0, 26,
- 0, 117, 151, 118, 0, 150, 0, 61, 178, 24,
- 110, 24, 0, 123, 0, 165, 0, 180, 0, 179,
- 0, 144, 181, 0, 183, 184, 0, 172, 184, 0,
- 185, 133, 186, 0, 185, 188, 0, 0, 23, 0,
- 72, 182, 0, 72, 8, 0, 73, 21, 181, 0,
- 73, 9, 181, 110, 21, 181, 110, 21, 181, 0,
- 74, 131, 181, 110, 21, 181, 114, 187, 116, 0,
- 74, 131, 181, 110, 21, 181, 114, 116, 0, 75,
- 135, 142, 181, 112, 191, 113, 36, 21, 181, 76,
- 21, 181, 0, 76, 0, 77, 0, 187, 131, 179,
- 110, 21, 181, 0, 131, 179, 110, 21, 181, 0,
- 133, 193, 0, 144, 114, 181, 110, 181, 116, 0,
- 189, 110, 114, 181, 110, 181, 116, 0, 182, 0,
- 190, 110, 182, 0, 190, 0, 0, 60, 59, 0,
- 59, 0, 125, 144, 181, 110, 181, 0, 126, 144,
- 181, 110, 181, 0, 127, 144, 181, 110, 181, 0,
- 49, 182, 0, 128, 182, 110, 182, 0, 99, 182,
- 36, 144, 0, 100, 182, 110, 182, 110, 182, 0,
- 103, 182, 110, 144, 0, 107, 182, 110, 144, 0,
- 108, 182, 110, 144, 0, 104, 182, 110, 182, 0,
- 105, 182, 110, 182, 110, 182, 0, 106, 182, 110,
- 182, 110, 182, 0, 98, 189, 0, 192, 135, 142,
- 181, 112, 191, 113, 0, 196, 0, 110, 190, 0,
- 0, 35, 0, 0, 92, 144, 137, 0, 92, 144,
- 110, 15, 181, 137, 0, 93, 144, 137, 0, 93,
- 144, 110, 15, 181, 137, 0, 94, 182, 0, 195,
- 95, 144, 181, 0, 195, 96, 182, 110, 144, 181,
- 0, 97, 144, 181, 194, 0
-};
+/* Line 219 of yacc.c. */
+#line 1321 "llvmAsmParser.tab.c"
+#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
+# define YYSIZE_T __SIZE_TYPE__
+#endif
+#if ! defined (YYSIZE_T) && defined (size_t)
+# define YYSIZE_T size_t
+#endif
+#if ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus))
+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+# define YYSIZE_T size_t
+#endif
+#if ! defined (YYSIZE_T)
+# define YYSIZE_T unsigned int
#endif
-#if YYDEBUG != 0
-static const short yyrline[] = { 0,
- 1097, 1098, 1106, 1107, 1117, 1117, 1117, 1117, 1117, 1118,
- 1118, 1118, 1119, 1119, 1119, 1119, 1119, 1119, 1121, 1121,
- 1125, 1125, 1125, 1125, 1126, 1126, 1126, 1126, 1127, 1127,
- 1128, 1128, 1131, 1135, 1140, 1140, 1141, 1142, 1143, 1144,
- 1145, 1146, 1149, 1149, 1150, 1151, 1152, 1153, 1154, 1155,
- 1165, 1165, 1172, 1172, 1181, 1189, 1189, 1195, 1195, 1197,
- 1202, 1216, 1216, 1217, 1217, 1219, 1229, 1229, 1229, 1229,
- 1229, 1229, 1229, 1230, 1230, 1230, 1230, 1230, 1230, 1231,
- 1235, 1239, 1247, 1255, 1268, 1273, 1285, 1295, 1299, 1310,
- 1315, 1321, 1322, 1326, 1330, 1341, 1367, 1381, 1411, 1437,
- 1458, 1471, 1481, 1486, 1547, 1554, 1563, 1569, 1575, 1579,
- 1583, 1591, 1602, 1634, 1642, 1664, 1675, 1681, 1689, 1695,
- 1701, 1710, 1714, 1722, 1722, 1732, 1740, 1745, 1749, 1753,
- 1757, 1772, 1794, 1797, 1800, 1805, 1808, 1812, 1816, 1820,
- 1824, 1829, 1833, 1836, 1839, 1843, 1856, 1857, 1859, 1863,
- 1872, 1877, 1883, 1885, 1890, 1895, 1904, 1904, 1905, 1905,
- 1907, 1914, 1920, 1927, 1931, 1937, 1942, 1947, 2042, 2042,
- 2044, 2052, 2052, 2054, 2059, 2059, 2060, 2063, 2063, 2073,
- 2077, 2082, 2086, 2090, 2094, 2098, 2102, 2106, 2110, 2114,
- 2139, 2143, 2157, 2161, 2167, 2167, 2173, 2178, 2182, 2191,
- 2202, 2207, 2219, 2232, 2236, 2240, 2245, 2254, 2273, 2282,
- 2338, 2342, 2349, 2360, 2373, 2382, 2391, 2401, 2405, 2412,
- 2412, 2414, 2418, 2423, 2439, 2454, 2468, 2481, 2489, 2497,
- 2505, 2511, 2531, 2554, 2560, 2566, 2572, 2587, 2646, 2653,
- 2656, 2661, 2665, 2672, 2677, 2683, 2688, 2694, 2702, 2714,
- 2729
-};
+#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
+#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
+# else
+# define YYSTACK_ALLOC alloca
+# if defined (__STDC__) || defined (__cplusplus)
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+# define YYINCLUDED_STDLIB_H
+# endif
+# endif
+# endif
+# endif
+
+# ifdef YYSTACK_ALLOC
+ /* Pacify GCC's `empty if-body' warning. */
+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (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 2005 */
+# endif
+# else
+# define YYSTACK_ALLOC YYMALLOC
+# define YYSTACK_FREE YYFREE
+# ifndef YYSTACK_ALLOC_MAXIMUM
+# define YYSTACK_ALLOC_MAXIMUM ((YYSIZE_T) -1)
+# endif
+# ifdef __cplusplus
+extern "C" {
+# endif
+# ifndef YYMALLOC
+# define YYMALLOC malloc
+# if (! defined (malloc) && ! defined (YYINCLUDED_STDLIB_H) \
+ && (defined (__STDC__) || defined (__cplusplus)))
+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# ifndef YYFREE
+# define YYFREE free
+# if (! defined (free) && ! defined (YYINCLUDED_STDLIB_H) \
+ && (defined (__STDC__) || defined (__cplusplus)))
+void free (void *); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# ifdef __cplusplus
+}
+# 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
+{
+ short int 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 (short int) + 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 (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 (0)
-#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
-
-static const char * const yytname[] = { "$","error","$undefined.","ESINT64VAL",
-"EUINT64VAL","SINTVAL","UINTVAL","FPVAL","VOID","BOOL","SBYTE","UBYTE","SHORT",
-"USHORT","INT","UINT","LONG","ULONG","FLOAT","DOUBLE","TYPE","LABEL","VAR_ID",
-"LABELSTR","STRINGCONSTANT","IMPLEMENTATION","ZEROINITIALIZER","TRUETOK","FALSETOK",
-"BEGINTOK","ENDTOK","DECLARE","GLOBAL","CONSTANT","SECTION","VOLATILE","TO",
-"DOTDOTDOT","NULL_TOK","UNDEF","CONST","INTERNAL","LINKONCE","WEAK","APPENDING",
-"DLLIMPORT","DLLEXPORT","EXTERN_WEAK","OPAQUE","NOT","EXTERNAL","TARGET","TRIPLE",
-"ENDIAN","POINTERSIZE","LITTLE","BIG","ALIGN","DEPLIBS","CALL","TAIL","ASM_TOK",
-"MODULE","SIDEEFFECT","CC_TOK","CCC_TOK","CSRETCC_TOK","FASTCC_TOK","COLDCC_TOK",
-"X86_STDCALLCC_TOK","X86_FASTCALLCC_TOK","DATALAYOUT","RET","BR","SWITCH","INVOKE",
-"UNWIND","UNREACHABLE","ADD","SUB","MUL","DIV","REM","AND","OR","XOR","SETLE",
-"SETGE","SETLT","SETGT","SETEQ","SETNE","MALLOC","ALLOCA","FREE","LOAD","STORE",
-"GETELEMENTPTR","PHI_TOK","CAST","SELECT","SHL","SHR","VAARG","EXTRACTELEMENT",
-"INSERTELEMENT","SHUFFLEVECTOR","VAARG_old","VANEXT_old","'='","','","'\\\\'",
-"'('","')'","'['","'x'","']'","'<'","'>'","'{'","'}'","'*'","'c'","INTVAL","EINT64VAL",
-"ArithmeticOps","LogicalOps","SetCondOps","ShiftOps","SIntType","UIntType","IntType",
-"FPType","OptAssign","OptLinkage","OptCallingConv","OptAlign","OptCAlign","SectionString",
-"OptSection","GlobalVarAttributes","GlobalVarAttribute","TypesV","UpRTypesV",
-"Types","PrimType","UpRTypes","TypeListI","ArgTypeListI","ConstVal","ConstExpr",
-"ConstVector","GlobalType","Module","FunctionList","ConstPool","@1","@2","@3",
-"@4","AsmBlock","BigOrLittle","TargetDefinition","LibrariesDefinition","LibList",
-"Name","OptName","ArgVal","ArgListH","ArgList","FunctionHeaderH","BEGIN","FunctionHeader",
-"END","Function","FnDeclareLinkage","FunctionProto","@5","OptSideEffect","ConstValueRef",
-"SymbolicValueRef","ValueRef","ResolvedVal","BasicBlockList","BasicBlock","InstructionList",
-"BBTerminatorInst","JumpTable","Inst","PHIList","ValueRefList","ValueRefListE",
-"OptTailCall","InstVal","IndexList","OptVolatile","MemoryInst", NULL
-};
#endif
-static const short yyr1[] = { 0,
- 123, 123, 124, 124, 125, 125, 125, 125, 125, 126,
- 126, 126, 127, 127, 127, 127, 127, 127, 128, 128,
- 129, 129, 129, 129, 130, 130, 130, 130, 131, 131,
- 132, 132, 133, 133, 134, 134, 134, 134, 134, 134,
- 134, 134, 135, 135, 135, 135, 135, 135, 135, 135,
- 136, 136, 137, 137, 138, 139, 139, 140, 140, 141,
- 141, 142, 142, 143, 143, 144, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 146,
- 146, 146, 146, 146, 146, 146, 146, 146, 146, 147,
- 147, 148, 148, 148, 148, 149, 149, 149, 149, 149,
- 149, 149, 149, 149, 149, 149, 149, 149, 149, 149,
- 149, 150, 150, 150, 150, 150, 150, 150, 150, 150,
- 150, 151, 151, 152, 152, 153, 154, 154, 154, 154,
- 154, 155, 155, 155, 156, 155, 157, 155, 158, 155,
- 159, 155, 155, 155, 155, 160, 161, 161, 162, 162,
- 162, 162, 163, 164, 164, 164, 165, 165, 166, 166,
- 167, 168, 168, 169, 169, 169, 169, 170, 171, 171,
- 172, 173, 173, 174, 175, 175, 175, 177, 176, 178,
- 178, 179, 179, 179, 179, 179, 179, 179, 179, 179,
- 179, 179, 180, 180, 181, 181, 182, 183, 183, 184,
- 185, 185, 185, 186, 186, 186, 186, 186, 186, 186,
- 186, 186, 187, 187, 188, 189, 189, 190, 190, 191,
- 191, 192, 192, 193, 193, 193, 193, 193, 193, 193,
- 193, 193, 193, 193, 193, 193, 193, 193, 193, 194,
- 194, 195, 195, 196, 196, 196, 196, 196, 196, 196,
- 196
-};
+#if defined (__STDC__) || defined (__cplusplus)
+ typedef signed char yysigned_char;
+#else
+ typedef short int yysigned_char;
+#endif
-static const short yyr2[] = { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 2, 0, 1, 1, 1, 1, 1, 1,
- 1, 0, 0, 1, 1, 1, 1, 1, 1, 2,
- 0, 2, 0, 3, 2, 0, 1, 0, 3, 1,
- 2, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 2, 4, 5, 5, 3, 2, 2, 1,
- 3, 1, 3, 1, 0, 4, 3, 3, 4, 4,
- 3, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 6, 5, 8, 6, 6, 6, 6, 6, 8,
- 8, 3, 1, 1, 1, 1, 2, 2, 4, 2,
- 1, 4, 2, 4, 0, 7, 0, 7, 0, 7,
- 0, 7, 3, 4, 0, 1, 1, 1, 3, 3,
- 3, 3, 3, 3, 1, 0, 1, 1, 1, 0,
- 2, 3, 1, 1, 3, 1, 0, 8, 1, 1,
- 3, 1, 1, 2, 0, 1, 1, 0, 4, 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 3,
- 1, 5, 1, 1, 1, 1, 2, 2, 2, 3,
- 2, 0, 1, 2, 2, 3, 9, 9, 8, 13,
- 1, 1, 6, 5, 2, 6, 7, 1, 3, 1,
- 0, 2, 1, 5, 5, 5, 2, 4, 4, 6,
- 4, 4, 4, 4, 6, 6, 2, 7, 1, 2,
- 0, 1, 0, 3, 6, 3, 6, 2, 4, 6,
- 4
+/* YYFINAL -- State number of the termination state. */
+#define YYFINAL 4
+/* YYLAST -- Last index in YYTABLE. */
+#define YYLAST 1339
+
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 123
+/* YYNNTS -- Number of nonterminals. */
+#define YYNNTS 75
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 252
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 517
+
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
+#define YYUNDEFTOK 2
+#define YYMAXUTOK 363
+
+#define YYTRANSLATE(YYX) \
+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
+
+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
+static const unsigned char 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,
+ 112, 113, 121, 2, 110, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 117, 109, 118, 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, 114, 111, 116, 2, 2, 2, 2, 2, 122,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 115, 2, 2, 119, 2, 120, 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, 2, 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
};
-static const short yydefact[] = { 145,
- 42, 131, 130, 178, 35, 36, 37, 38, 39, 40,
- 41, 0, 43, 202, 127, 128, 202, 157, 158, 0,
- 0, 0, 42, 0, 133, 175, 0,