aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs7383
1 files changed, 4180 insertions, 3203 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 2396252b22..cce94e01f6 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -1,154 +1,358 @@
+/* A Bison parser, made by GNU Bison 2.1. */
-/* A Bison parser, made from /Volumes/ProjectsDisk/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 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 PCTSTRINGCONSTANT 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 NOALIAS 389
-#define DEFAULT 390
-#define HIDDEN 391
-#define PROTECTED 392
-
-#line 14 "/Volumes/ProjectsDisk/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,
+ 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,
+ PCTSTRINGCONSTANT = 276,
+ ZEROINITIALIZER = 277,
+ TRUETOK = 278,
+ FALSETOK = 279,
+ BEGINTOK = 280,
+ ENDTOK = 281,
+ DECLARE = 282,
+ DEFINE = 283,
+ GLOBAL = 284,
+ CONSTANT = 285,
+ SECTION = 286,
+ ALIAS = 287,
+ VOLATILE = 288,
+ THREAD_LOCAL = 289,
+ TO = 290,
+ DOTDOTDOT = 291,
+ NULL_TOK = 292,
+ UNDEF = 293,
+ INTERNAL = 294,
+ LINKONCE = 295,
+ WEAK = 296,
+ APPENDING = 297,
+ DLLIMPORT = 298,
+ DLLEXPORT = 299,
+ EXTERN_WEAK = 300,
+ OPAQUE = 301,
+ EXTERNAL = 302,
+ TARGET = 303,
+ TRIPLE = 304,
+ ALIGN = 305,
+ DEPLIBS = 306,
+ CALL = 307,
+ TAIL = 308,
+ ASM_TOK = 309,
+ MODULE = 310,
+ SIDEEFFECT = 311,
+ CC_TOK = 312,
+ CCC_TOK = 313,
+ FASTCC_TOK = 314,
+ COLDCC_TOK = 315,
+ X86_STDCALLCC_TOK = 316,
+ X86_FASTCALLCC_TOK = 317,
+ DATALAYOUT = 318,
+ RET = 319,
+ BR = 320,
+ SWITCH = 321,
+ INVOKE = 322,
+ UNWIND = 323,
+ UNREACHABLE = 324,
+ ADD = 325,
+ SUB = 326,
+ MUL = 327,
+ UDIV = 328,
+ SDIV = 329,
+ FDIV = 330,
+ UREM = 331,
+ SREM = 332,
+ FREM = 333,
+ AND = 334,
+ OR = 335,
+ XOR = 336,
+ SHL = 337,
+ LSHR = 338,
+ ASHR = 339,
+ ICMP = 340,
+ FCMP = 341,
+ EQ = 342,
+ NE = 343,
+ SLT = 344,
+ SGT = 345,
+ SLE = 346,
+ SGE = 347,
+ ULT = 348,
+ UGT = 349,
+ ULE = 350,
+ UGE = 351,
+ OEQ = 352,
+ ONE = 353,
+ OLT = 354,
+ OGT = 355,
+ OLE = 356,
+ OGE = 357,
+ ORD = 358,
+ UNO = 359,
+ UEQ = 360,
+ UNE = 361,
+ MALLOC = 362,
+ ALLOCA = 363,
+ FREE = 364,
+ LOAD = 365,
+ STORE = 366,
+ GETELEMENTPTR = 367,
+ TRUNC = 368,
+ ZEXT = 369,
+ SEXT = 370,
+ FPTRUNC = 371,
+ FPEXT = 372,
+ BITCAST = 373,
+ UITOFP = 374,
+ SITOFP = 375,
+ FPTOUI = 376,
+ FPTOSI = 377,
+ INTTOPTR = 378,
+ PTRTOINT = 379,
+ PHI_TOK = 380,
+ SELECT = 381,
+ VAARG = 382,
+ EXTRACTELEMENT = 383,
+ INSERTELEMENT = 384,
+ SHUFFLEVECTOR = 385,
+ SIGNEXT = 386,
+ ZEROEXT = 387,
+ NORETURN = 388,
+ INREG = 389,
+ SRET = 390,
+ NOUNWIND = 391,
+ NOALIAS = 392,
+ BYVAL = 393,
+ NEST = 394,
+ DEFAULT = 395,
+ HIDDEN = 396,
+ PROTECTED = 397
+ };
+#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 PCTSTRINGCONSTANT 276
+#define ZEROINITIALIZER 277
+#define TRUETOK 278
+#define FALSETOK 279
+#define BEGINTOK 280
+#define ENDTOK 281
+#define DECLARE 282
+#define DEFINE 283
+#define GLOBAL 284
+#define CONSTANT 285
+#define SECTION 286
+#define ALIAS 287
+#define VOLATILE 288
+#define THREAD_LOCAL 289
+#define TO 290
+#define DOTDOTDOT 291
+#define NULL_TOK 292
+#define UNDEF 293
+#define INTERNAL 294
+#define LINKONCE 295
+#define WEAK 296
+#define APPENDING 297
+#define DLLIMPORT 298
+#define DLLEXPORT 299
+#define EXTERN_WEAK 300
+#define OPAQUE 301
+#define EXTERNAL 302
+#define TARGET 303
+#define TRIPLE 304
+#define ALIGN 305
+#define DEPLIBS 306
+#define CALL 307
+#define TAIL 308
+#define ASM_TOK 309
+#define MODULE 310
+#define SIDEEFFECT 311
+#define CC_TOK 312
+#define CCC_TOK 313
+#define FASTCC_TOK 314
+#define COLDCC_TOK 315
+#define X86_STDCALLCC_TOK 316
+#define X86_FASTCALLCC_TOK 317
+#define DATALAYOUT 318
+#define RET 319
+#define BR 320
+#define SWITCH 321
+#define INVOKE 322
+#define UNWIND 323
+#define UNREACHABLE 324
+#define ADD 325
+#define SUB 326
+#define MUL 327
+#define UDIV 328
+#define SDIV 329
+#define FDIV 330
+#define UREM 331
+#define SREM 332
+#define FREM 333
+#define AND 334
+#define OR 335
+#define XOR 336
+#define SHL 337
+#define LSHR 338
+#define ASHR 339
+#define ICMP 340
+#define FCMP 341
+#define EQ 342
+#define NE 343
+#define SLT 344
+#define SGT 345
+#define SLE 346
+#define SGE 347
+#define ULT 348
+#define UGT 349
+#define ULE 350
+#define UGE 351
+#define OEQ 352
+#define ONE 353
+#define OLT 354
+#define OGT 355
+#define OLE 356
+#define OGE 357
+#define ORD 358
+#define UNO 359
+#define UEQ 360
+#define UNE 361
+#define MALLOC 362
+#define ALLOCA 363
+#define FREE 364
+#define LOAD 365
+#define STORE 366
+#define GETELEMENTPTR 367
+#define TRUNC 368
+#define ZEXT 369
+#define SEXT 370
+#define FPTRUNC 371
+#define FPEXT 372
+#define BITCAST 373
+#define UITOFP 374
+#define SITOFP 375
+#define FPTOUI 376
+#define FPTOSI 377
+#define INTTOPTR 378
+#define PTRTOINT 379
+#define PHI_TOK 380
+#define SELECT 381
+#define VAARG 382
+#define EXTRACTELEMENT 383
+#define INSERTELEMENT 384
+#define SHUFFLEVECTOR 385
+#define SIGNEXT 386
+#define ZEROEXT 387
+#define NORETURN 388
+#define INREG 389
+#define SRET 390
+#define NOUNWIND 391
+#define NOALIAS 392
+#define BYVAL 393
+#define NEST 394
+#define DEFAULT 395
+#define HIDDEN 396
+#define PROTECTED 397
+
+
+
+
+/* Copy the first part of user declarations. */
+#line 14 "/proj/llvm/head/llvm/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1091,8 +1295,28 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
}
-#line 957 "/Volumes/ProjectsDisk/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 957 "/proj/llvm/head/llvm/lib/AsmParser/llvmAsmParser.y"
+typedef union YYSTYPE {
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
llvm::BasicBlock *BasicBlockVal;
@@ -1138,1097 +1362,1572 @@ typedef union {
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
} YYSTYPE;
-#include <stdio.h>
-
-#ifndef __cplusplus
-#ifndef __STDC__
-#define const
-#endif
+/* Line 196 of yacc.c. */
+#line 1367 "llvmAsmParser.tab.c"
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
#endif
-#define YYFINAL 583
-#define YYFLAG -32768
-#define YYNTBASE 153
-
-#define YYTRANSLATE(x) ((unsigned)(x) <= 392 ? yytranslate[x] : 234)
-
-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, 143,
- 144, 141, 2, 140, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 148,
- 139, 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,
- 145, 142, 147, 2, 2, 2, 2, 2, 152, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 146,
- 2, 2, 150, 2, 151, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 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,
- 137, 138
-};
+/* 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, 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,
- 120, 121, 124, 125, 127, 129, 131, 132, 135, 137,
- 139, 141, 143, 145, 147, 149, 151, 152, 154, 156,
- 158, 159, 161, 163, 164, 166, 168, 170, 172, 173,
- 175, 177, 178, 180, 182, 184, 186, 188, 191, 193,
- 195, 197, 199, 201, 202, 205, 207, 209, 211, 212,
- 215, 216, 219, 220, 224, 227, 228, 230, 231, 235,
- 237, 240, 242, 244, 246, 248, 250, 252, 255, 257,
- 260, 266, 272, 278, 284, 288, 291, 297, 302, 305,
- 307, 309, 311, 315, 317, 321, 323, 324, 326, 330,
- 335, 339, 343, 348, 353, 357, 364, 370, 373, 376,
- 379, 382, 385, 388, 391, 394, 397, 400, 403, 406,
- 413, 419, 428, 435, 442, 450, 458, 465, 474, 483,
- 487, 489, 491, 493, 495, 496, 499, 506, 508, 509,
- 511, 514, 515, 519, 520, 524, 528, 532, 536, 537,
- 545, 546, 555, 556, 565, 571, 574, 578, 580, 584,
- 588, 592, 596, 598, 599, 605, 609, 611, 615, 617,
- 618, 628, 630, 632, 637, 639, 641, 644, 648, 649,
- 651, 653, 655, 657, 659, 661, 663, 665, 667, 671,
- 673, 679, 681, 683, 685, 687, 689, 691, 694, 697,
- 700, 704, 707, 708, 710, 713, 716, 720, 730, 740,
- 749, 764, 766, 768, 775, 781, 784, 791, 799, 803,
- 809, 810, 811, 815, 818, 820, 826, 832, 839, 846,
- 851, 858, 863, 868, 875, 882, 885, 894, 896, 898,
- 899, 903, 910, 914, 921, 924, 930, 938
-};
-static const short yyrhs[] = { 70,
- 0, 71, 0, 72, 0, 73, 0, 74, 0, 75,
- 0, 76, 0, 77, 0, 78, 0, 82, 0, 83,
- 0, 84, 0, 79, 0, 80, 0, 81, 0, 113,
- 0, 114, 0, 115, 0, 116, 0, 117, 0, 118,
- 0, 119, 0, 120, 0, 121, 0, 122, 0, 123,
- 0, 124, 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, 106, 0, 93, 0, 94, 0, 95, 0, 96,
- 0, 23, 0, 24, 0, 11, 0, 12, 0, 13,
- 0, 16, 0, 19, 0, 21, 0, 160, 0, 0,
- 160, 139, 0, 0, 17, 0, 20, 0, 165, 0,
- 0, 163, 139, 0, 39, 0, 41, 0, 40, 0,
- 42, 0, 44, 0, 43, 0, 45, 0, 47, 0,
- 0, 136, 0, 137, 0, 138, 0, 0, 43, 0,
- 45, 0, 0, 39, 0, 40, 0, 41, 0, 44,
- 0, 0, 41, 0, 39, 0, 0, 58, 0, 59,
- 0, 60, 0, 61, 0, 62, 0, 57, 4, 0,
- 114, 0, 115, 0, 132, 0, 133, 0, 135, 0,
- 0, 174, 173, 0, 131, 0, 134, 0, 173, 0,
- 0, 176, 175, 0, 0, 50, 4, 0, 0, 140,
- 50, 4, 0, 31, 19, 0, 0, 179, 0, 0,
- 140, 182, 181, 0, 179, 0, 50, 4, 0, 11,
- 0, 12, 0, 13, 0, 14, 0, 46, 0, 183,
- 0, 184, 141, 0, 218, 0, 142, 4, 0, 184,
- 143, 188, 144, 176, 0, 10, 143, 188, 144, 176,
- 0, 145, 4, 146, 184, 147, 0, 148, 4, 146,
- 184, 149, 0, 150, 189, 151, 0, 150, 151, 0,
- 148, 150, 189, 151, 149, 0, 148, 150, 151, 149,
- 0, 184, 174, 0, 184, 0, 10, 0, 185, 0,
- 187, 140, 185, 0, 187, 0, 187, 140, 36, 0,
- 36, 0, 0, 184, 0, 189, 140, 184, 0, 184,
- 145, 192, 147, 0, 184, 145, 147, 0, 184, 152,
- 19, 0, 184, 148, 192, 149, 0, 184, 150, 192,
- 151, 0, 184, 150, 151, 0, 184, 148, 150, 192,
- 151, 149, 0, 184, 148, 150, 151, 149, 0, 184,
- 37, 0, 184, 38, 0, 184, 218, 0, 184, 191,
- 0, 184, 22, 0, 158, 3, 0, 158, 5, 0,
- 158, 4, 0, 158, 6, 0, 11, 23, 0, 11,
- 24, 0, 159, 9, 0, 155, 143, 190, 35, 184,
- 144, 0, 112, 143, 190, 229, 144, 0, 126, 143,
- 190, 140, 190, 140, 190, 144, 0, 153, 143, 190,
- 140, 190, 144, 0, 154, 143, 190, 140, 190, 144,
- 0, 85, 156, 143, 190, 140, 190, 144, 0, 86,
- 157, 143, 190, 140, 190, 144, 0, 128, 143, 190,
- 140, 190, 144, 0, 129, 143, 190, 140, 190, 140,
- 190, 144, 0, 130, 143, 190, 140, 190, 140, 190,
- 144, 0, 192, 140, 190, 0, 190, 0, 29, 0,
- 30, 0, 34, 0, 0, 186, 218, 0, 118, 143,
- 195, 35, 184, 144, 0, 197, 0, 0, 198, 0,
- 197, 198, 0, 0, 28, 199, 214, 0, 0, 27,
- 200, 215, 0, 55, 54, 204, 0, 162, 15, 184,
- 0, 162, 15, 10, 0, 0, 164, 168, 194, 193,
- 190, 201, 181, 0, 0, 164, 166, 168, 194, 193,
- 190, 202, 181, 0, 0, 164, 167, 168, 194, 193,
- 184, 203, 181, 0, 164, 168, 32, 171, 195, 0,
- 48, 205, 0, 51, 139, 206, 0, 19, 0, 49,
- 139, 19, 0, 63, 139, 19, 0, 145, 207, 147,
- 0, 207, 140, 19, 0, 19, 0, 0, 208, 140,
- 184, 174, 161, 0, 184, 174, 161, 0, 208, 0,
- 208, 140, 36, 0, 36, 0, 0, 172, 186, 163,
- 143, 209, 144, 176, 180, 177, 0, 25, 0, 150,
- 0, 170, 168, 210, 211, 0, 26, 0, 151, 0,
- 221, 213, 0, 169, 168, 210, 0, 0, 56, 0,
- 3, 0, 4, 0, 9, 0, 23, 0, 24, 0,
- 37, 0, 38, 0, 22, 0, 148, 192, 149, 0,
- 191, 0, 54, 216, 19, 140, 19, 0, 7, 0,
- 8, 0, 160, 0, 163, 0, 218, 0, 217, 0,
- 184, 219, 0, 221, 222, 0, 212, 222, 0, 223,
- 162, 224, 0, 223, 226, 0, 0, 18, 0, 64,
- 220, 0, 64, 10, 0, 65, 14, 219, 0, 65,
- 11, 219, 140, 14, 219, 140, 14, 219, 0, 66,
- 158, 219, 140, 14, 219, 145, 225, 147, 0, 66,
- 158, 219, 140, 14, 219, 145, 147, 0, 67, 172,
- 186, 219, 143, 228, 144, 176, 35, 14, 219, 68,
- 14, 219, 0, 68, 0, 69, 0, 225, 158, 217,
- 140, 14, 219, 0, 158, 217, 140, 14, 219, 0,
- 162, 231, 0, 184, 145, 219, 140, 219, 147, 0,
- 227, 140, 145, 219, 140, 219, 147, 0, 184, 219,
- 174, 0, 228, 140, 184, 219, 174, 0, 0, 0,
- 229, 140, 220, 0, 53, 52, 0, 52, 0, 153,
- 184, 219, 140, 219, 0, 154, 184, 219, 140, 219,
- 0, 85, 156, 184, 219, 140, 219, 0, 86, 157,
- 184, 219, 140, 219, 0, 155, 220, 35, 184, 0,
- 126, 220, 140, 220, 140, 220, 0, 127, 220, 140,
- 184, 0, 128, 220, 140, 220, 0, 129, 220, 140,
- 220, 140, 220, 0, 130, 220, 140, 220, 140, 220,
- 0, 125, 227, 0, 230, 172, 186, 219, 143, 228,
- 144, 176, 0, 233, 0, 33, 0, 0, 107, 184,
- 178, 0, 107, 184, 140, 11, 219, 178, 0, 108,
- 184, 178, 0, 108, 184, 140, 11, 219, 178, 0,
- 109, 220, 0, 232, 110, 184, 219, 178, 0, 232,
- 111, 220, 140, 184, 219, 178, 0, 112, 184, 219,
- 229, 0
-};
+/* Line 219 of yacc.c. */
+#line 1379 "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,
- 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1117,
- 1117, 1117, 1117, 1117, 1117, 1118, 1118, 1118, 1118, 1118,
- 1118, 1118, 1119, 1119, 1119, 1119, 1119, 1122, 1122, 1123,
- 1123, 1124, 1124, 1125, 1125, 1126, 1126, 1130, 1130, 1131,
- 1131, 1132, 1132, 1133, 1133, 1134, 1134, 1135, 1135, 1136,
- 1136, 1137, 1138, 1143, 1144, 1144, 1146, 1146, 1146, 1147,
- 1147, 1151, 1155, 1160, 1160, 1162, 1163, 1168, 1174, 1175,
- 1176, 1177, 1178, 1182, 1183, 1184, 1188, 1189, 1190, 1191,
- 1195, 1196, 1197, 1201, 1202, 1203, 1204, 1205, 1209, 1210,
- 1211, 1214, 1214, 1215, 1216, 1217, 1218, 1219, 1227, 1228,
- 1229, 1230, 1231, 1234, 1235, 1240, 1241, 1242, 1245, 1246,
- 1253, 1253, 1260, 1260, 1269, 1277, 1277, 1283, 1283, 1285,
- 1290, 1303, 1303, 1303, 1303, 1306, 1310, 1314, 1321, 1326,
- 1334, 1364, 1395, 1400, 1412, 1422, 1426, 1436, 1443, 1450,
- 1457, 1462, 1467, 1474, 1475, 1482, 1489, 1497, 1503, 1515,
- 1543, 1559, 1586, 1614, 1640, 1660, 1686, 1706, 1718, 1725,
- 1791, 1801, 1811, 1817, 1827, 1833, 1843, 1848, 1853, 1861,
- 1873, 1895, 1903, 1909, 1920, 1925, 1930, 1936, 1942, 1951,
- 1955, 1963, 1963, 1966, 1966, 1969, 1980, 2001, 2006, 2014,
- 2015, 2019, 2019, 2023, 2023, 2026, 2029, 2053, 2064, 2071,
- 2074, 2080, 2083, 2090, 2094, 2113, 2116, 2122, 2132, 2136,
- 2141, 2143, 2148, 2153, 2162, 2172, 2183, 2187, 2196, 2205,
- 2210, 2331, 2331, 2333, 2342, 2342, 2344, 2349, 2361, 2365,
- 2370, 2374, 2378, 2382, 2386, 2390, 2394, 2398, 2402, 2427,
- 2431, 2441, 2445, 2449, 2454, 2461, 2461, 2467, 2476, 2480,
- 2489, 2498, 2507, 2511, 2518, 2522, 2526, 2531, 2541, 2560,
- 2569, 2649, 2653, 2660, 2671, 2684, 2694, 2705, 2715, 2724,
- 2733, 2736, 2737, 2744, 2748, 2753, 2774, 2791, 2805, 2819,
- 2831, 2839, 2846, 2852, 2858, 2864, 2879, 2964, 2969, 2973,
- 2980, 2987, 2995, 3002, 3010, 3018, 3032, 3049
-};
+#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","ESAPINTVAL","EUAPINTVAL","LOCALVAL_ID","GLOBALVAL_ID","FPVAL",
-"VOID","INTTYPE","FLOAT","DOUBLE","LABEL","TYPE","LOCALVAR","GLOBALVAR","LABELSTR",
-"STRINGCONSTANT","ATSTRINGCONSTANT","PCTSTRINGCONSTANT","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","NOALIAS","DEFAULT","HIDDEN","PROTECTED",
-"'='","','","'*'","'\\\\'","'('","')'","'['","'x'","']'","'<'","'>'","'{'","'}'",
-"'c'","ArithmeticOps","LogicalOps","CastOps","IPredicates","FPredicates","IntType",
-"FPType","LocalName","OptLocalName","OptLocalAssign","GlobalName","OptGlobalAssign",
-"GlobalAssign","GVInternalLinkage","GVExternalLinkage","GVVisibilityStyle","FunctionDeclareLinkage",
-"FunctionDefineLinkage","AliasLinkage","OptCallingConv","ParamAttr","OptParamAttrs",
-"FuncAttr","OptFuncAttrs","OptAlign","OptCAlign","SectionString","OptSection",
-"GlobalVarAttributes","GlobalVarAttribute","PrimType","Types","ArgType","ResultTypes",
-"ArgTypeList","ArgTypeListI","TypeListI","ConstVal","ConstExpr","ConstVector",
-"GlobalType","ThreadLocal","AliaseeRef","Module","DefinitionList","Definition",
-"@1","@2","@3","@4","@5","AsmBlock","TargetDefinition","LibrariesDefinition",
-"LibList","ArgListH","ArgList","FunctionHeaderH","BEGIN","FunctionHeader","END",
-"Function","FunctionProto","OptSideEffect","ConstValueRef","SymbolicValueRef",
-"ValueRef","ResolvedVal","BasicBlockList","BasicBlock","InstructionList","BBTerminatorInst",
-"JumpTable","Inst","PHIList","ValueRefList","IndexList","OptTailCall","InstVal",
-"OptVolatile","MemoryInst", NULL
-};
#endif
-static const short yyr1[] = { 0,
- 153, 153, 153, 153, 153, 153, 153, 153, 153, 154,
- 154, 154, 154, 154, 154, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 156, 156, 156,
- 156, 156, 156, 156, 156, 156, 156, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 158, 159, 159, 160, 160, 160, 161,
- 161, 162, 162, 163, 163, 164, 164, 165, 166, 166,
- 166, 166, 166, 167, 167, 167, 168, 168, 168, 168,
- 169, 169, 169, 170, 170, 170, 170, 170, 171, 171,
- 171, 172, 172, 172, 172, 172, 172, 172, 173, 173,
- 173, 173, 173, 174, 174, 175, 175, 175, 176, 176,
- 177, 177, 178, 178, 179, 180, 180, 181, 181, 182,
- 182, 183, 183, 183, 183, 184, 184, 184, 184, 184,
- 184, 184, 184, 184, 184, 184, 184, 184, 185, 186,
- 186, 187, 187, 188, 188, 188, 188, 189, 189, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 191,
- 191, 191, 191, 191, 191, 191, 191, 191, 191, 192,
- 192, 193, 193, 194, 194, 195, 195, 196, 196, 197,
- 197, 199, 198, 200, 198, 198, 198, 198, 201, 198,
- 202, 198, 203, 198, 198, 198, 198, 204, 205, 205,
- 206, 207, 207, 207, 208, 208, 209, 209, 209, 209,
- 210, 211, 211, 212, 213, 213, 214, 215, 216, 216,
- 217, 217, 217, 217, 217, 217, 217, 217, 217, 217,
- 217, 218, 218, 218, 218, 219, 219, 220, 221, 221,
- 222, 223, 223, 223, 224, 224, 224, 224, 224, 224,
- 224, 224, 224, 225, 225, 226, 227, 227, 228, 228,
- 228, 229, 229, 230, 230, 231, 231, 231, 231, 231,
- 231, 231, 231, 231, 231, 231, 231, 231, 232, 232,
- 233, 233, 233, 233, 233, 233, 233, 233
-};
+#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, 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,
- 0, 2, 0, 1, 1, 1, 0, 2, 1, 1,
- 1, 1, 1, 1, 1, 1, 0, 1, 1, 1,
- 0, 1, 1, 0, 1, 1, 1, 1, 0, 1,
- 1, 0, 1, 1, 1, 1, 1, 2, 1, 1,
- 1, 1, 1, 0, 2, 1, 1, 1, 0, 2,
- 0, 2, 0, 3, 2, 0, 1, 0, 3, 1,
- 2, 1, 1, 1, 1, 1, 1, 2, 1, 2,
- 5, 5, 5, 5, 3, 2, 5, 4, 2, 1,
- 1, 1, 3, 1, 3, 1, 0, 1, 3, 4,
- 3, 3, 4, 4, 3, 6, 5, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 6,
- 5, 8, 6, 6, 7, 7, 6, 8, 8, 3,