diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 02:48:45 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 02:48:45 +0000 |
commit | b0fcf8fe8fbb7d79fc8c2f0c5554862fa35f7646 (patch) | |
tree | 038c7011645473276dc2ebabae22436b1741183f /lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | 93947c3985ebfd3ee574e02101a75f924641006b (diff) |
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp.cvs | 7057 |
1 files changed, 3976 insertions, 3081 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs index 1d3a05d0d7..1719f0650e 100644 --- a/lib/AsmParser/llvmAsmParser.cpp.cvs +++ b/lib/AsmParser/llvmAsmParser.cpp.cvs @@ -1,148 +1,338 @@ +/* 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 INTTYPE 263 -#define FLOAT 264 -#define DOUBLE 265 -#define LABEL 266 -#define TYPE 267 -#define VAR_ID 268 -#define LABELSTR 269 -#define STRINGCONSTANT 270 -#define IMPLEMENTATION 271 -#define ZEROINITIALIZER 272 -#define TRUETOK 273 -#define FALSETOK 274 -#define BEGINTOK 275 -#define ENDTOK 276 -#define DECLARE 277 -#define DEFINE 278 -#define GLOBAL 279 -#define CONSTANT 280 -#define SECTION 281 -#define VOLATILE 282 -#define TO 283 -#define DOTDOTDOT 284 -#define NULL_TOK 285 -#define UNDEF 286 -#define INTERNAL 287 -#define LINKONCE 288 -#define WEAK 289 -#define APPENDING 290 -#define DLLIMPORT 291 -#define DLLEXPORT 292 -#define EXTERN_WEAK 293 -#define OPAQUE 294 -#define EXTERNAL 295 -#define TARGET 296 -#define TRIPLE 297 -#define ENDIAN 298 -#define POINTERSIZE 299 -#define LITTLE 300 -#define BIG 301 -#define ALIGN 302 -#define DEPLIBS 303 -#define CALL 304 -#define TAIL 305 -#define ASM_TOK 306 -#define MODULE 307 -#define SIDEEFFECT 308 -#define CC_TOK 309 -#define CCC_TOK 310 -#define CSRETCC_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 ICMP 335 -#define FCMP 336 -#define EQ 337 -#define NE 338 -#define SLT 339 -#define SGT 340 -#define SLE 341 -#define SGE 342 -#define ULT 343 -#define UGT 344 -#define ULE 345 -#define UGE 346 -#define OEQ 347 -#define ONE 348 -#define OLT 349 -#define OGT 350 -#define OLE 351 -#define OGE 352 -#define ORD 353 -#define UNO 354 -#define UEQ 355 -#define UNE 356 -#define MALLOC 357 -#define ALLOCA 358 -#define FREE 359 -#define LOAD 360 -#define STORE 361 -#define GETELEMENTPTR 362 -#define TRUNC 363 -#define ZEXT 364 -#define SEXT 365 -#define FPTRUNC 366 -#define FPEXT 367 -#define BITCAST 368 -#define UITOFP 369 -#define SITOFP 370 -#define FPTOUI 371 -#define FPTOSI 372 -#define INTTOPTR 373 -#define PTRTOINT 374 -#define PHI_TOK 375 -#define SELECT 376 -#define SHL 377 -#define LSHR 378 -#define ASHR 379 -#define VAARG 380 -#define EXTRACTELEMENT 381 -#define INSERTELEMENT 382 -#define SHUFFLEVECTOR 383 -#define NORETURN 384 -#define DEFAULT 385 -#define HIDDEN 386 - -#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, + INTTYPE = 264, + FLOAT = 265, + DOUBLE = 266, + LABEL = 267, + TYPE = 268, + VAR_ID = 269, + LABELSTR = 270, + STRINGCONSTANT = 271, + IMPLEMENTATION = 272, + ZEROINITIALIZER = 273, + TRUETOK = 274, + FALSETOK = 275, + BEGINTOK = 276, + ENDTOK = 277, + DECLARE = 278, + DEFINE = 279, + GLOBAL = 280, + CONSTANT = 281, + SECTION = 282, + VOLATILE = 283, + TO = 284, + DOTDOTDOT = 285, + NULL_TOK = 286, + UNDEF = 287, + INTERNAL = 288, + LINKONCE = 289, + WEAK = 290, + APPENDING = 291, + DLLIMPORT = 292, + DLLEXPORT = 293, + EXTERN_WEAK = 294, + OPAQUE = 295, + EXTERNAL = 296, + TARGET = 297, + TRIPLE = 298, + ENDIAN = 299, + POINTERSIZE = 300, + LITTLE = 301, + BIG = 302, + ALIGN = 303, + DEPLIBS = 304, + CALL = 305, + TAIL = 306, + ASM_TOK = 307, + MODULE = 308, + SIDEEFFECT = 309, + CC_TOK = 310, + CCC_TOK = 311, + CSRETCC_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, + ICMP = 336, + FCMP = 337, + EQ = 338, + NE = 339, + SLT = 340, + SGT = 341, + SLE = 342, + SGE = 343, + ULT = 344, + UGT = 345, + ULE = 346, + UGE = 347, + OEQ = 348, + ONE = 349, + OLT = 350, + OGT = 351, + OLE = 352, + OGE = 353, + ORD = 354, + UNO = 355, + UEQ = 356, + UNE = 357, + MALLOC = 358, + ALLOCA = 359, + FREE = 360, + LOAD = 361, + STORE = 362, + GETELEMENTPTR = 363, + TRUNC = 364, + ZEXT = 365, + SEXT = 366, + FPTRUNC = 367, + FPEXT = 368, + BITCAST = 369, + UITOFP = 370, + SITOFP = 371, + FPTOUI = 372, + FPTOSI = 373, + INTTOPTR = 374, + PTRTOINT = 375, + PHI_TOK = 376, + SELECT = 377, + SHL = 378, + LSHR = 379, + ASHR = 380, + VAARG = 381, + EXTRACTELEMENT = 382, + INSERTELEMENT = 383, + SHUFFLEVECTOR = 384, + NORETURN = 385, + DEFAULT = 386, + HIDDEN = 387 + }; +#endif +/* Tokens. */ +#define ESINT64VAL 258 +#define EUINT64VAL 259 +#define SINTVAL 260 +#define UINTVAL 261 +#define FPVAL 262 +#define VOID 263 +#define INTTYPE 264 +#define FLOAT 265 +#define DOUBLE 266 +#define LABEL 267 +#define TYPE 268 +#define VAR_ID 269 +#define LABELSTR 270 +#define STRINGCONSTANT 271 +#define IMPLEMENTATION 272 +#define ZEROINITIALIZER 273 +#define TRUETOK 274 +#define FALSETOK 275 +#define BEGINTOK 276 +#define ENDTOK 277 +#define DECLARE 278 +#define DEFINE 279 +#define GLOBAL 280 +#define CONSTANT 281 +#define SECTION 282 +#define VOLATILE 283 +#define TO 284 +#define DOTDOTDOT 285 +#define NULL_TOK 286 +#define UNDEF 287 +#define INTERNAL 288 +#define LINKONCE 289 +#define WEAK 290 +#define APPENDING 291 +#define DLLIMPORT 292 +#define DLLEXPORT 293 +#define EXTERN_WEAK 294 +#define OPAQUE 295 +#define EXTERNAL 296 +#define TARGET 297 +#define TRIPLE 298 +#define ENDIAN 299 +#define POINTERSIZE 300 +#define LITTLE 301 +#define BIG 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 CSRETCC_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 ICMP 336 +#define FCMP 337 +#define EQ 338 +#define NE 339 +#define SLT 340 +#define SGT 341 +#define SLE 342 +#define SGE 343 +#define ULT 344 +#define UGT 345 +#define ULE 346 +#define UGE 347 +#define OEQ 348 +#define ONE 349 +#define OLT 350 +#define OGT 351 +#define OLE 352 +#define OGE 353 +#define ORD 354 +#define UNO 355 +#define UEQ 356 +#define UNE 357 +#define MALLOC 358 +#define ALLOCA 359 +#define FREE 360 +#define LOAD 361 +#define STORE 362 +#define GETELEMENTPTR 363 +#define TRUNC 364 +#define ZEXT 365 +#define SEXT 366 +#define FPTRUNC 367 +#define FPEXT 368 +#define BITCAST 369 +#define UITOFP 370 +#define SITOFP 371 +#define FPTOUI 372 +#define FPTOSI 373 +#define INTTOPTR 374 +#define PTRTOINT 375 +#define PHI_TOK 376 +#define SELECT 377 +#define SHL 378 +#define LSHR 379 +#define ASHR 380 +#define VAARG 381 +#define EXTRACTELEMENT 382 +#define INSERTELEMENT 383 +#define SHUFFLEVECTOR 384 +#define NORETURN 385 +#define DEFAULT 386 +#define HIDDEN 387 + + + + +/* Copy the first part of user declarations. */ +#line 14 "/proj/llvm/llvm-4/lib/AsmParser/llvmAsmParser.y" #include "ParserInternals.h" #include "llvm/CallingConv.h" @@ -1011,8 +1201,28 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { } -#line 883 "/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 883 "/proj/llvm/llvm-4/lib/AsmParser/llvmAsmParser.y" +typedef union YYSTYPE { llvm::Module *ModuleVal; llvm::Function *FunctionVal; llvm::BasicBlock *BasicBlockVal; @@ -1058,1055 +1268,1506 @@ 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 1273 "llvmAsmParser.tab.c" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 #endif -#define YYFINAL 569 -#define YYFLAG -32768 -#define YYNTBASE 147 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 386 ? yytranslate[x] : 225) - -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, 137, - 138, 135, 2, 134, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 142, - 133, 143, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 139, 136, 141, 2, 2, 2, 2, 2, 146, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 140, - 2, 2, 144, 2, 145, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 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 -}; +/* 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, 119, - 120, 122, 124, 126, 128, 130, 132, 134, 136, 137, - 139, 140, 142, 144, 145, 147, 149, 151, 153, 154, - 156, 158, 160, 162, 164, 166, 169, 171, 173, 174, - 177, 179, 181, 182, 185, 186, 189, 190, 194, 197, - 198, 200, 201, 205, 207, 210, 212, 214, 216, 218, - 220, 222, 225, 227, 230, 236, 242, 248, 254, 258, - 261, 267, 272, 275, 277, 279, 281, 285, 287, 291, - 293, 294, 296, 300, 305, 309, 313, 318, 323, 327, - 334, 340, 343, 346, 349, 352, 355, 358, 361, 364, - 367, 370, 377, 383, 392, 399, 406, 414, 422, 429, - 436, 445, 454, 458, 460, 462, 464, 466, 467, 469, - 472, 473, 477, 478, 482, 486, 488, 492, 496, 497, - 504, 505, 513, 514, 522, 525, 529, 531, 533, 535, - 539, 543, 547, 551, 555, 559, 561, 562, 564, 566, - 568, 569, 575, 579, 581, 585, 587, 588, 598, 600, - 602, 607, 609, 611, 614, 618, 619, 621, 623, 625, - 627, 629, 631, 633, 635, 637, 641, 643, 649, 651, - 653, 655, 657, 660, 663, 666, 670, 673, 674, 676, - 679, 682, 686, 696, 706, 715, 730, 732, 734, 741, - 747, 750, 757, 765, 769, 775, 776, 777, 781, 784, - 786, 792, 798, 805, 812, 817, 822, 829, 834, 839, - 846, 853, 856, 865, 867, 869, 870, 874, 881, 885, - 892, 895, 900, 907 -}; -static const short yyrhs[] = { 5, - 0, 6, 0, 69, 0, 70, 0, 71, 0, 72, - 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, - 0, 78, 0, 79, 0, 80, 0, 109, 0, 110, - 0, 111, 0, 112, 0, 113, 0, 114, 0, 115, - 0, 116, 0, 117, 0, 118, 0, 119, 0, 120, - 0, 123, 0, 124, 0, 125, 0, 83, 0, 84, - 0, 85, 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, 89, 0, 90, - 0, 91, 0, 92, 0, 19, 0, 20, 0, 9, - 0, 10, 0, 11, 0, 197, 133, 0, 0, 33, - 0, 35, 0, 34, 0, 36, 0, 38, 0, 37, - 0, 39, 0, 41, 0, 0, 132, 0, 0, 37, - 0, 39, 0, 0, 33, 0, 34, 0, 35, 0, - 38, 0, 0, 56, 0, 57, 0, 58, 0, 59, - 0, 60, 0, 61, 0, 55, 4, 0, 110, 0, - 111, 0, 0, 164, 163, 0, 130, 0, 163, 0, - 0, 166, 165, 0, 0, 48, 4, 0, 0, 134, - 48, 4, 0, 27, 16, 0, 0, 169, 0, 0, - 134, 172, 171, 0, 169, 0, 48, 4, 0, 9, - 0, 10, 0, 11, 0, 12, 0, 40, 0, 173, - 0, 174, 135, 0, 209, 0, 136, 4, 0, 174, - 137, 178, 138, 166, 0, 8, 137, 178, 138, 166, - 0, 139, 4, 140, 174, 141, 0, 142, 4, 140, - 174, 143, 0, 144, 179, 145, 0, 144, 145, 0, - 142, 144, 179, 145, 143, 0, 142, 144, 145, 143, - 0, 174, 164, 0, 174, 0, 8, 0, 175, 0, - 177, 134, 175, 0, 177, 0, 177, 134, 30, 0, - 30, 0, 0, 174, 0, 179, 134, 174, 0, 174, - 139, 182, 141, 0, 174, 139, 141, 0, 174, 146, - 16, 0, 174, 142, 182, 143, 0, 174, 144, 182, - 145, 0, 174, 144, 145, 0, 174, 142, 144, 182, - 145, 143, 0, 174, 142, 144, 145, 143, 0, 174, - 31, 0, 174, 32, 0, 174, 209, 0, 174, 181, - 0, 174, 18, 0, 154, 3, 0, 154, 4, 0, - 9, 19, 0, 9, 20, 0, 155, 7, 0, 150, - 137, 180, 29, 174, 138, 0, 108, 137, 180, 220, - 138, 0, 122, 137, 180, 134, 180, 134, 180, 138, - 0, 148, 137, 180, 134, 180, 138, 0, 149, 137, - 180, 134, 180, 138, 0, 81, 152, 137, 180, 134, - 180, 138, 0, 82, 153, 137, 180, 134, 180, 138, - 0, 151, 137, 180, 134, 180, 138, 0, 127, 137, - 180, 134, 180, 138, 0, 128, 137, 180, 134, 180, - 134, 180, 138, 0, 129, 137, 180, 134, 180, 134, - 180, 138, 0, 182, 134, 180, 0, 180, 0, 25, - 0, 26, 0, 185, 0, 0, 186, 0, 185, 186, - 0, 0, 24, 187, 205, 0, 0, 23, 188, 206, - 0, 53, 52, 192, 0, 17, 0, 156, 13, 174, - 0, 156, 13, 8, 0, 0, 156, 159, 183, 180, - 189, 171, 0, 0, 156, 157, 159, 183, 180, 190, - 171, 0, 0, 156, 158, 159, 183, 174, 191, 171, - 0, 42, 194, 0, 49, 133, 195, 0, 16, 0, - 47, 0, 46, 0, 44, 133, 193, 0, 45, 133, - 4, 0, 43, 133, 16, 0, 62, 133, 16, 0, - 139, 196, 141, 0, 196, 134, 16, 0, 16, 0, - 0, 14, 0, 16, 0, 197, 0, 0, 199, 134, - 174, 164, 198, 0, 174, 164, 198, 0, 199, 0, - 199, 134, 30, 0, 30, 0, 0, 162, 176, 197, - 137, 200, 138, 166, 170, 167, 0, 21, 0, 144, - 0, 161, 159, 201, 202, 0, 22, 0, 145, 0, - 212, 204, 0, 160, 159, 201, 0, 0, 54, 0, - 3, 0, 4, 0, 7, 0, 19, 0, 20, 0, - 31, 0, 32, 0, 18, 0, 142, 182, 143, 0, - 181, 0, 52, 207, 16, 134, 16, 0, 147, 0, - 197, 0, 209, 0, 208, 0, 174, 210, 0, 212, - 213, 0, 203, 213, 0, 214, 156, 215, 0, 214, - 217, 0, 0, 15, 0, 63, 211, 0, 63, 8, - 0, 64, 12, 210, 0, 64, 9, 210, 134, 12, - 210, 134, 12, 210, 0, 65, 154, 210, 134, 12, - 210, 139, 216, 141, 0, 65, 154, 210, 134, 12, - 210, 139, 141, 0, 66, 162, 176, 210, 137, 219, - 138, 166, 29, 12, 210, 67, 12, 210, 0, 67, - 0, 68, 0, 216, 154, 208, 134, 12, 210, 0, - 154, 208, 134, 12, 210, 0, 156, 222, 0, 174, - 139, 210, 134, 210, 141, 0, 218, 134, 139, 210, - 134, 210, 141, 0, 174, 210, 164, 0, 219, 134, - 174, 210, 164, 0, 0, 0, 220, 134, 211, 0, - 51, 50, 0, 50, 0, 148, 174, 210, 134, 210, - 0, 149, 174, 210, 134, 210, 0, 81, 152, 174, - 210, 134, 210, 0, 82, 153, 174, 210, 134, 210, - 0, 151, 211, 134, 211, 0, 150, 211, 29, 174, - 0, 122, 211, 134, 211, 134, 211, 0, 126, 211, - 134, 174, 0, 127, 211, 134, 211, 0, 128, 211, - 134, 211, 134, 211, 0, 129, 211, 134, 211, 134, - 211, 0, 121, 218, 0, 221, 162, 176, 210, 137, - 219, 138, 166, 0, 224, 0, 28, 0, 0, 103, - 174, 168, 0, 103, 174, 134, 9, 210, 168, 0, - 104, 174, 168, 0, 104, 174, 134, 9, 210, 168, - 0, 105, 211, 0, 223, 106, 174, 210, 0, 223, - 107, 211, 134, 174, 210, 0, 108, 174, 210, 220, - 0 -}; +/* Line 219 of yacc.c. */ +#line 1285 "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, - 1031, 1032, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, - 1042, 1043, 1043, 1043, 1044, 1044, 1044, 1044, 1044, 1044, - 1044, 1045, 1045, 1045, 1045, 1045, 1046, 1046, 1046, 1048, - 1048, 1049, 1049, 1050, 1050, 1051, 1051, 1052, 1052, 1056, - 1056, 1057, 1057, 1058, 1058, 1059, 1059, 1060, 1060, 1061, - 1061, 1062, 1062, 1063, 1064, 1069, 1070, 1070, 1073, 1077, - 1083, 1084, 1085, 1086, 1087, 1091, 1092, 1093, 1097, 1098, - 1102, 1103, 1104, 1108, 1109, 1110, 1111, 1112, 1115, 1115, - 1116, 1117, 1118, 1119, 1120, 1121, 1129, 1130, 1133, 1134, - 1139, 1140, 1143, 1144, 1151, 1151, 1158, 1158, 1167, 1175, - 1175, 1181, 1181, 1183, 1188, 1201, 1201, 1201, 1201, 1204, - 1208, 1212, 1219, 1224, 1232, 1250, 1268, 1273, 1285, 1295, - 1299, 1309, 1316, 1323, 1330, 1335, 1340, 1347, 1348, 1355, - 1362, 1370, 1375, 1386, 1414, 1430, 1459, 1487, 1512, 1531, - 1556, 1575, 1587, 1594, 1657, 1667, 1677, 1683, 1689, 1694, - 1699, 1707, 1721, 1742, 1750, 1756, 1767, 1772, 1777, 1786, - 1792, 1798, 1807, 1811, 1819, 1819, 1830, 1835, 1843, 1844, - 1848, 1848, 1852, 1852, 1855, 1858, 1870, 1894, 1905, 1911, - 1914, 1919, 1922, 1928, 1932, 1935, 1941, 1954, 1955, 1957, - 1961, 1970, 1974, 1979, 1981, 1986, 1991, 2000, 2000, 2001, - 2001, 2003, 2013, 2024, 2028, 2037, 2046, 2051, 2157, 2157, - 2159, 2168, 2168, 2170, 2175, 2187, 2191, 2196, 2200, 2204, - 2208, 2212, 2216, 2220, 2224, 2228, 2253, 2257, 2271, 2275, - 2281, 2281, 2287, 2296, 2300, 2309, 2320, 2329, 2341, 2354, - 2358, 2362, 2367, 2377, 2396, 2405, 2472, 2476, 2483, 2494, - 2507, 2516, 2527, 2537, 2545, 2553, 2556, 2557, 2564, 2568, - 2573, 2594, 2611, 2624, 2637, 2646, 2659, 2667, 2674, 2680, - 2686, 2692, 2707, 2770, 2775, 2779, 2786, 2793, 2801, 2808, - 2816, 2824, 2838, 2855 -}; +#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","INTTYPE","FLOAT","DOUBLE","LABEL", -"TYPE","VAR_ID","LABELSTR","STRINGCONSTANT","IMPLEMENTATION","ZEROINITIALIZER", -"TRUETOK","FALSETOK","BEGINTOK","ENDTOK","DECLARE","DEFINE","GLOBAL","CONSTANT", -"SECTION","VOLATILE","TO","DOTDOTDOT","NULL_TOK","UNDEF","INTERNAL","LINKONCE", -"WEAK","APPENDING","DLLIMPORT","DLLEXPORT","EXTERN_WEAK","OPAQUE","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","UDIV","SDIV","FDIV", -"UREM","SREM","FREM","AND","OR","XOR","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","SHL","LSHR","ASHR","VAARG","EXTRACTELEMENT", -"INSERTELEMENT","SHUFFLEVECTOR","NORETURN","DEFAULT","HIDDEN","'='","','","'*'", -"'\\\\'","'('","')'","'['","'x'","']'","'<'","'>'","'{'","'}'","'c'","INTVAL", -"ArithmeticOps","LogicalOps","CastOps","ShiftOps","IPredicates","FPredicates", -"IntType","FPType","OptAssign","GVInternalLinkage","GVExternalLinkage","GVVisibilityStyle", -"FunctionDeclareLinkage","FunctionDefineLinkage","OptCallingConv","ParamAttr", -"OptParamAttrs","FuncAttr","OptFuncAttrs","OptAlign","OptCAlign","SectionString", -"OptSection","GlobalVarAttributes","GlobalVarAttribute","PrimType","Types","ArgType", -"ResultTypes","ArgTypeList","ArgTypeListI","TypeListI","ConstVal","ConstExpr", -"ConstVector","GlobalType","Module","DefinitionList","Definition","@1","@2", -"@3","@4","@5","AsmBlock","BigOrLittle","TargetDefinition","LibrariesDefinition", -"LibList","Name","OptName","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, - 147, 147, 148, 148, 148, 148, 148, 148, 148, 148, - 148, 149, 149, 149, 150, 150, 150, 150, 150, 150, - 150, 150, 150, 150, 150, 150, 151, 151, 151, 152, - 152, 152, 152, 152, 152, 152, 152, 152, 152, 153, - 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 154, 155, 155, 156, 156, - 157, 157, 157, 157, 157, 158, 158, 158, 159, 159, - 160, 160, 160, 161, 161, 161, 161, 161, 162, 162, - 162, 162, 162, 162, 162, 162, 163, 163, 164, 164, - 165, 165, 166, 166, 167, 167, 168, 168, 169, 170, - 170, 171, 171, 172, 172, 173, 173, 173, 173, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 175, 176, 176, 177, 177, 178, 178, 178, - 178, 179, 179, 180, 180, 180, 180, 180, 180, 180, - 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, - 180, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, - 187, 186, 188, 186, 186, 186, 186, 186, 189, 186, - 190, 186, 191, 186, 186, 186, 192, 193, 193, 194, - 194, 194, 194, 195, 196, 196, 196, 197, 197, 198, - 198, 199, 199, 200, 200, 200, 200, 201, 202, 202, - 203, 204, 204, 205, 206, 207, 207, 208, 208, 208, - 208, 208, 208, 208, 208, 208, 208, 208, 209, 209, - 210, 210, 211, 212, 212, 213, 214, 214, 214, 215, - 215, 215, 215, 215, 215, 215, 215, 215, 216, 216, - 217, 218, 218, 219, 219, 219, 220, 220, 221, 221, - 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, - 222, 222, 222, 222, 223, 223, 224, 224, 224, 224, - 224, 224, 224, 224 -}; +#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, 2, 0, - 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, - 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, - 1, 1, 1, 1, 1, 2, 1, 1, 0, 2, - 1, 1, 0, 2, 0, 2, 0, 3, 2, 0, - 1, 0, 3, 1, 2, 1, 1, 1, 1, 1, |