diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-05-19 07:22:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-05-19 07:22:10 +0000 |
commit | ed951ea4ecc1ccf74df4da33b4352223857e90ca (patch) | |
tree | c0327254b5290c4aa7d81d9cff0ba69b643de1e2 /lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | aa7c2f8c0304eca2a664296a5bfdcaab0c1dbe23 (diff) |
Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp.cvs | 7324 |
1 files changed, 4141 insertions, 3183 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs index e1290c1237..fe737f6111 100644 --- a/lib/AsmParser/llvmAsmParser.cpp.cvs +++ b/lib/AsmParser/llvmAsmParser.cpp.cvs @@ -1,152 +1,348 @@ +/* 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 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" + + +/* 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, + NORETURN = 386, + INREG = 387, + SRET = 388, + NOUNWIND = 389, + DEFAULT = 390, + HIDDEN = 391, + PROTECTED = 392 + }; +#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 NORETURN 386 +#define INREG 387 +#define SRET 388 +#define NOUNWIND 389 +#define DEFAULT 390 +#define HIDDEN 391 +#define PROTECTED 392 + + + + +/* Copy the first part of user declarations. */ +#line 14 "/proj/llvm/llvm-2/lib/AsmParser/llvmAsmParser.y" #include "ParserInternals.h" #include "llvm/CallingConv.h" @@ -1087,8 +1283,28 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { } -#line 955 "/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 955 "/proj/llvm/llvm-2/lib/AsmParser/llvmAsmParser.y" +typedef union YYSTYPE { llvm::Module *ModuleVal; llvm::Function *FunctionVal; llvm::BasicBlock *BasicBlockVal; @@ -1134,1083 +1350,1578 @@ 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 1355 "llvmAsmParser.tab.c" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 #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 -}; +/* 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, - 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 -}; -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 -}; +/* Line 219 of yacc.c. */ +#line 1367 "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, - 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 -}; +#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","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","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, - 151, 151, 151, 151, 151, 151, 151, 151, 151, 152, - 152, 152, 152, 152, 152, 153, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 153, 153, 154, 154, 154, - 154, 154, 154, 154, 154, 154, 154, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 156, 157, 157, 158, 158, 159, 159, - 160, 160, 161, 161, 162, 162, 163, 164, 164, 164, - 164, 164, 165, 165, 165, 166, 166, 166, 166, 167, - 167, 167, 168, 168, 168, 168, 168, 169, 169, 169, - 170, 170, 170, 170, 170, 170, 170, 171, 171, 171, - 171, 172, 172, 173, 173, 173, 174, 174, 175, 175, - 176, 176, 177, 178, 178, 179, 179, 180, 180, 181, - 181, 181, 181, 182, 182, 182, 182, 182, 182, 182, - 182, 182, 182, 182, 182, 182, 183, 184, 184, 185, - 185, 186, 186, 186, 186, 187, 187, 188, 188, 188, - 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, - 188, 188, 188, 188, 188, 188, 188, 189, 189, 189, - 189, 189, 189, 189, 189, 189, 189, 190, 190, 191, - 191, 192, 192, 193, 193, 194, 194, 195, 195, 197, - 196, 198, 196, 196, 196, 196, 199, 196, 200, 196, - 201, 196, 196, 196, 196, 202, 203, 203, 204, 205, - 205, 205, 206, 206, 207, 207, 207, 207, 208, 209, - 209, 210, 211, 211, 212, 213, 214, 214, 215, 215, - 215, 215, 215, 215, 215, 215, 215, 215, 215, 216, - 216, 216, 216, 217, 217, 218, 219, 219, 220, 221, |