aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-29 20:35:03 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-29 20:35:03 +0000
commit6fd36abf5e94cd8323ec3d0d5871c25147a8cc6d (patch)
treebe831be56f2df1dfe91e1a7c9a6dbebab94d33f4 /lib/AsmParser/llvmAsmParser.cpp.cvs
parenta9d7e89fa91997c580067a07f0a751e10c0b3acb (diff)
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs2745
1 files changed, 1378 insertions, 1367 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 50f7a82126..b45143323a 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -81,8 +81,8 @@
ULONG = 272,
FLOAT = 273,
DOUBLE = 274,
- TYPE = 275,
- LABEL = 276,
+ LABEL = 275,
+ TYPE = 276,
VAR_ID = 277,
LABELSTR = 278,
STRINGCONSTANT = 279,
@@ -93,113 +93,114 @@
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,
- UDIV = 336,
- SDIV = 337,
- FDIV = 338,
- UREM = 339,
- SREM = 340,
- FREM = 341,
- AND = 342,
- OR = 343,
- XOR = 344,
- ICMP = 345,
- FCMP = 346,
- EQ = 347,
- NE = 348,
- SLT = 349,
- SGT = 350,
- SLE = 351,
- SGE = 352,
- ULT = 353,
- UGT = 354,
- ULE = 355,
- UGE = 356,
- OEQ = 357,
- ONE = 358,
- OLT = 359,
- OGT = 360,
- OLE = 361,
- OGE = 362,
- ORD = 363,
- UNO = 364,
- UEQ = 365,
- UNE = 366,
- MALLOC = 367,
- ALLOCA = 368,
- FREE = 369,
- LOAD = 370,
- STORE = 371,
- GETELEMENTPTR = 372,
- TRUNC = 373,
- ZEXT = 374,
- SEXT = 375,
- FPTRUNC = 376,
- FPEXT = 377,
- BITCAST = 378,
- UITOFP = 379,
- SITOFP = 380,
- FPTOUI = 381,
- FPTOSI = 382,
- INTTOPTR = 383,
- PTRTOINT = 384,
- PHI_TOK = 385,
- SELECT = 386,
- SHL = 387,
- LSHR = 388,
- ASHR = 389,
- VAARG = 390,
- EXTRACTELEMENT = 391,
- INSERTELEMENT = 392,
- SHUFFLEVECTOR = 393
+ DEFINE = 287,
+ GLOBAL = 288,
+ CONSTANT = 289,
+ SECTION = 290,
+ VOLATILE = 291,
+ TO = 292,
+ DOTDOTDOT = 293,
+ NULL_TOK = 294,
+ UNDEF = 295,
+ CONST = 296,
+ INTERNAL = 297,
+ LINKONCE = 298,
+ WEAK = 299,
+ APPENDING = 300,
+ DLLIMPORT = 301,
+ DLLEXPORT = 302,
+ EXTERN_WEAK = 303,
+ OPAQUE = 304,
+ NOT = 305,
+ EXTERNAL = 306,
+ TARGET = 307,
+ TRIPLE = 308,
+ ENDIAN = 309,
+ POINTERSIZE = 310,
+ LITTLE = 311,
+ BIG = 312,
+ ALIGN = 313,
+ DEPLIBS = 314,
+ CALL = 315,
+ TAIL = 316,
+ ASM_TOK = 317,
+ MODULE = 318,
+ SIDEEFFECT = 319,
+ CC_TOK = 320,
+ CCC_TOK = 321,
+ CSRETCC_TOK = 322,
+ FASTCC_TOK = 323,
+ COLDCC_TOK = 324,
+ X86_STDCALLCC_TOK = 325,
+ X86_FASTCALLCC_TOK = 326,
+ DATALAYOUT = 327,
+ RET = 328,
+ BR = 329,
+ SWITCH = 330,
+ INVOKE = 331,
+ UNWIND = 332,
+ UNREACHABLE = 333,
+ ADD = 334,
+ SUB = 335,
+ MUL = 336,
+ UDIV = 337,
+ SDIV = 338,
+ FDIV = 339,
+ UREM = 340,
+ SREM = 341,
+ FREM = 342,
+ AND = 343,
+ OR = 344,
+ XOR = 345,
+ ICMP = 346,
+ FCMP = 347,
+ EQ = 348,
+ NE = 349,
+ SLT = 350,
+ SGT = 351,
+ SLE = 352,
+ SGE = 353,
+ ULT = 354,
+ UGT = 355,
+ ULE = 356,
+ UGE = 357,
+ OEQ = 358,
+ ONE = 359,
+ OLT = 360,
+ OGT = 361,
+ OLE = 362,
+ OGE = 363,
+ ORD = 364,
+ UNO = 365,
+ UEQ = 366,
+ UNE = 367,
+ MALLOC = 368,
+ ALLOCA = 369,
+ FREE = 370,
+ LOAD = 371,
+ STORE = 372,
+ GETELEMENTPTR = 373,
+ TRUNC = 374,
+ ZEXT = 375,
+ SEXT = 376,
+ FPTRUNC = 377,
+ FPEXT = 378,
+ BITCAST = 379,
+ UITOFP = 380,
+ SITOFP = 381,
+ FPTOUI = 382,
+ FPTOSI = 383,
+ INTTOPTR = 384,
+ PTRTOINT = 385,
+ PHI_TOK = 386,
+ SELECT = 387,
+ SHL = 388,
+ LSHR = 389,
+ ASHR = 390,
+ VAARG = 391,
+ EXTRACTELEMENT = 392,
+ INSERTELEMENT = 393,
+ SHUFFLEVECTOR = 394
};
#endif
/* Tokens. */
@@ -220,8 +221,8 @@
#define ULONG 272
#define FLOAT 273
#define DOUBLE 274
-#define TYPE 275
-#define LABEL 276
+#define LABEL 275
+#define TYPE 276
#define VAR_ID 277
#define LABELSTR 278
#define STRINGCONSTANT 279
@@ -232,119 +233,120 @@
#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 UDIV 336
-#define SDIV 337
-#define FDIV 338
-#define UREM 339
-#define SREM 340
-#define FREM 341
-#define AND 342
-#define OR 343
-#define XOR 344
-#define ICMP 345
-#define FCMP 346
-#define EQ 347
-#define NE 348
-#define SLT 349
-#define SGT 350
-#define SLE 351
-#define SGE 352
-#define ULT 353
-#define UGT 354
-#define ULE 355
-#define UGE 356
-#define OEQ 357
-#define ONE 358
-#define OLT 359
-#define OGT 360
-#define OLE 361
-#define OGE 362
-#define ORD 363
-#define UNO 364
-#define UEQ 365
-#define UNE 366
-#define MALLOC 367
-#define ALLOCA 368
-#define FREE 369
-#define LOAD 370
-#define STORE 371
-#define GETELEMENTPTR 372
-#define TRUNC 373
-#define ZEXT 374
-#define SEXT 375
-#define FPTRUNC 376
-#define FPEXT 377
-#define BITCAST 378
-#define UITOFP 379
-#define SITOFP 380
-#define FPTOUI 381
-#define FPTOSI 382
-#define INTTOPTR 383
-#define PTRTOINT 384
-#define PHI_TOK 385
-#define SELECT 386
-#define SHL 387
-#define LSHR 388
-#define ASHR 389
-#define VAARG 390
-#define EXTRACTELEMENT 391
-#define INSERTELEMENT 392
-#define SHUFFLEVECTOR 393
+#define DEFINE 287
+#define GLOBAL 288
+#define CONSTANT 289
+#define SECTION 290
+#define VOLATILE 291
+#define TO 292
+#define DOTDOTDOT 293
+#define NULL_TOK 294
+#define UNDEF 295
+#define CONST 296
+#define INTERNAL 297
+#define LINKONCE 298
+#define WEAK 299
+#define APPENDING 300
+#define DLLIMPORT 301
+#define DLLEXPORT 302
+#define EXTERN_WEAK 303
+#define OPAQUE 304
+#define NOT 305
+#define EXTERNAL 306
+#define TARGET 307
+#define TRIPLE 308
+#define ENDIAN 309
+#define POINTERSIZE 310
+#define LITTLE 311
+#define BIG 312
+#define ALIGN 313
+#define DEPLIBS 314
+#define CALL 315
+#define TAIL 316
+#define ASM_TOK 317
+#define MODULE 318
+#define SIDEEFFECT 319
+#define CC_TOK 320
+#define CCC_TOK 321
+#define CSRETCC_TOK 322
+#define FASTCC_TOK 323
+#define COLDCC_TOK 324
+#define X86_STDCALLCC_TOK 325
+#define X86_FASTCALLCC_TOK 326
+#define DATALAYOUT 327
+#define RET 328
+#define BR 329
+#define SWITCH 330
+#define INVOKE 331
+#define UNWIND 332
+#define UNREACHABLE 333
+#define ADD 334
+#define SUB 335
+#define MUL 336
+#define UDIV 337
+#define SDIV 338
+#define FDIV 339
+#define UREM 340
+#define SREM 341
+#define FREM 342
+#define AND 343
+#define OR 344
+#define XOR 345
+#define ICMP 346
+#define FCMP 347
+#define EQ 348
+#define NE 349
+#define SLT 350
+#define SGT 351
+#define SLE 352
+#define SGE 353
+#define ULT 354
+#define UGT 355
+#define ULE 356
+#define UGE 357
+#define OEQ 358
+#define ONE 359
+#define OLT 360
+#define OGT 361
+#define OLE 362
+#define OGE 363
+#define ORD 364
+#define UNO 365
+#define UEQ 366
+#define UNE 367
+#define MALLOC 368
+#define ALLOCA 369
+#define FREE 370
+#define LOAD 371
+#define STORE 372
+#define GETELEMENTPTR 373
+#define TRUNC 374
+#define ZEXT 375
+#define SEXT 376
+#define FPTRUNC 377
+#define FPEXT 378
+#define BITCAST 379
+#define UITOFP 380
+#define SITOFP 381
+#define FPTOUI 382
+#define FPTOSI 383
+#define INTTOPTR 384
+#define PTRTOINT 385
+#define PHI_TOK 386
+#define SELECT 387
+#define SHL 388
+#define LSHR 389
+#define ASHR 390
+#define VAARG 391
+#define EXTRACTELEMENT 392
+#define INSERTELEMENT 393
+#define SHUFFLEVECTOR 394
/* Copy the first part of user declarations. */
-#line 14 "/proj/llvm/llvm-3/lib/AsmParser/llvmAsmParser.y"
+#line 14 "/proj/llvm/llvm-1/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1205,7 +1207,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
#endif
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
-#line 855 "/proj/llvm/llvm-3/lib/AsmParser/llvmAsmParser.y"
+#line 855 "/proj/llvm/llvm-1/lib/AsmParser/llvmAsmParser.y"
typedef union YYSTYPE {
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
@@ -1249,7 +1251,7 @@ typedef union YYSTYPE {
llvm::FCmpInst::Predicate FPredicate;
} YYSTYPE;
/* Line 196 of yacc.c. */
-#line 1253 "llvmAsmParser.tab.c"
+#line 1255 "llvmAsmParser.tab.c"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
@@ -1261,7 +1263,7 @@ typedef union YYSTYPE {
/* Line 219 of yacc.c. */
-#line 1265 "llvmAsmParser.tab.c"
+#line 1267 "llvmAsmParser.tab.c"
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
# define YYSIZE_T __SIZE_TYPE__
@@ -1410,22 +1412,22 @@ union yyalloc
#endif
/* YYFINAL -- State number of the termination state. */
-#define YYFINAL 4
+#define YYFINAL 37
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 1390
+#define YYLAST 1478
/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 153
+#define YYNTOKENS 154
/* YYNNTS -- Number of nonterminals. */
-#define YYNNTS 76
+#define YYNNTS 78
/* YYNRULES -- Number of rules. */
-#define YYNRULES 291
+#define YYNRULES 293
/* YYNRULES -- Number of states. */
-#define YYNSTATES 567
+#define YYNSTATES 564
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 393
+#define YYMAXUTOK 394
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
@@ -1437,15 +1439,15 @@ static const unsigned char yytranslate[] =
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 142, 143, 151, 2, 140, 2, 2, 2, 2, 2,
+ 143, 144, 152, 2, 141, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 147, 139, 148, 2, 2, 2, 2, 2, 2, 2,
+ 148, 140, 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, 144, 141, 146, 2, 2, 2, 2, 2, 152,
+ 2, 145, 142, 147, 2, 2, 2, 2, 2, 153,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 145, 2, 2, 149, 2, 150, 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,
@@ -1472,7 +1474,7 @@ static const unsigned char yytranslate[] =
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
+ 135, 136, 137, 138, 139
};
#if YYDEBUG
@@ -1487,161 +1489,159 @@ static const unsigned short int yyprhs[] =
79, 81, 83, 85, 87, 89, 91, 93, 95, 97,
99, 101, 103, 105, 107, 109, 111, 113, 115, 117,
119, 121, 123, 125, 127, 129, 131, 133, 135, 137,
- 140, 141, 143, 145, 147, 149, 151, 153, 155, 156,
- 157, 159, 161, 163, 165, 167, 169, 172, 173, 176,
- 177, 181, 184, 185, 187, 188, 192, 194, 197, 199,
- 201, 203, 205, 207, 209, 211, 213, 215, 217, 219,
- 221, 223, 225, 227, 229, 231, 233, 235, 237, 239,
- 242, 247, 253, 259, 263, 266, 272, 277, 280, 282,
- 286, 288, 292, 294, 295, 300, 304, 308, 313, 318,
- 322, 325, 328, 331, 334, 337, 340, 343, 346, 349,
- 352, 355, 358, 365, 371, 380, 387, 394, 402, 410,
- 417, 424, 433, 442, 446, 448, 450, 452, 454, 457,
- 460, 465, 468, 470, 475, 478, 483, 484, 492, 493,
- 501, 502, 510, 511, 519, 523, 528, 529, 531, 533,
- 535, 539, 543, 547, 551, 555, 559, 561, 562, 564,
- 566, 568, 569, 572, 576, 578, 580, 584, 586, 587,
- 596, 598, 600, 604, 606, 608, 611, 612, 614, 616,
- 617, 622, 623, 625, 627, 629, 631, 633, 635, 637,
- 639, 641, 645, 647, 653, 655, 657, 659, 661, 664,
- 667, 670, 674, 677, 678, 680, 683, 686, 690, 700,
- 710, 719, 733, 735, 737, 744, 750, 753, 760, 768,
- 770, 774, 776, 777, 780, 782, 788, 794, 801, 808,
- 811, 816, 821, 828, 833, 838, 845, 852, 855, 863,
- 865, 868, 869, 871, 872, 876, 883, 887, 894, 897,
- 902, 909
+ 140, 141, 143, 145, 147, 149, 151, 153, 155, 157,
+ 158, 160, 162, 164, 166, 168, 170, 171, 172, 174,
+ 176, 178, 180, 182, 184, 187, 188, 191, 192, 196,
+ 199, 200, 202, 203, 207, 209, 212, 214, 216, 218,
+ 220, 222, 224, 226, 228, 230, 232, 234, 236, 238,
+ 240, 242, 244, 246, 248, 250, 252, 255, 260, 266,
+ 272, 276, 279, 285, 290, 293, 295, 299, 301, 305,
+ 307, 308, 313, 317, 321, 326, 331, 335, 338, 341,
+ 344, 347, 350, 353, 356, 359, 362, 365, 368, 371,
+ 378, 384, 393, 400, 407, 415, 423, 430, 437, 446,
+ 455, 459, 461, 463, 465, 467, 468, 470, 473, 474,
+ 478, 479, 483, 487, 489, 493, 494, 500, 501, 508,
+ 509, 516, 519, 523, 525, 527, 529, 533, 537, 541,
+ 545, 549, 553, 555, 556, 558, 560, 562, 563, 566,
+ 570, 572, 574, 578, 580, 581, 590, 592, 594, 598,
+ 600, 602, 605, 608, 609, 611, 613, 615, 617, 619,
+ 621, 623, 625, 627, 631, 633, 639, 641, 643, 645,
+ 647, 650, 653, 656, 660, 663, 664, 666, 669, 672,
+ 676, 686, 696, 705, 719, 721, 723, 730, 736, 739,
+ 746, 754, 756, 760, 762, 763, 766, 768, 774, 780,
+ 787, 794, 797, 802, 807, 814, 819, 824, 831, 838,
+ 841, 849, 851, 854, 855, 857, 858, 862, 869, 873,
+ 880, 883, 888, 895
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const short int yyrhs[] =
{
- 185, 0, -1, 5, -1, 6, -1, 78, -1, 79,
- -1, 80, -1, 81, -1, 82, -1, 83, -1, 84,
- -1, 85, -1, 86, -1, 87, -1, 88, -1, 89,
- -1, 118, -1, 119, -1, 120, -1, 121, -1, 122,
- -1, 123, -1, 124, -1, 125, -1, 126, -1, 127,
- -1, 128, -1, 129, -1, 132, -1, 133, -1, 134,
- -1, 92, -1, 93, -1, 94, -1, 95, -1, 96,
- -1, 97, -1, 98, -1, 99, -1, 100, -1, 101,
- -1, 102, -1, 103, -1, 104, -1, 105, -1, 106,
- -1, 107, -1, 108, -1, 109, -1, 110, -1, 111,
- -1, 98, -1, 99, -1, 100, -1, 101, -1, 27,
+ 189, 0, -1, 5, -1, 6, -1, 79, -1, 80,
+ -1, 81, -1, 82, -1, 83, -1, 84, -1, 85,
+ -1, 86, -1, 87, -1, 88, -1, 89, -1, 90,
+ -1, 119, -1, 120, -1, 121, -1, 122, -1, 123,
+ -1, 124, -1, 125, -1, 126, -1, 127, -1, 128,
+ -1, 129, -1, 130, -1, 133, -1, 134, -1, 135,
+ -1, 93, -1, 94, -1, 95, -1, 96, -1, 97,
+ -1, 98, -1, 99, -1, 100, -1, 101, -1, 102,
+ -1, 103, -1, 104, -1, 105, -1, 106, -1, 107,
+ -1, 108, -1, 109, -1, 110, -1, 111, -1, 112,
+ -1, 99, -1, 100, -1, 101, -1, 102, -1, 27,
-1, 28, -1, 16, -1, 14, -1, 12, -1, 10,
- -1, 17, -1, 15, -1, 13, -1, 11, -1, 161,
- -1, 162, -1, 18, -1, 19, -1, 197, 139, -1,
- -1, 41, -1, 42, -1, 43, -1, 44, -1, 45,
- -1, 46, -1, 47, -1, -1, -1, 65, -1, 66,
- -1, 67, -1, 68, -1, 69, -1, 70, -1, 64,
- 4, -1, -1, 57, 4, -1, -1, 140, 57, 4,
- -1, 34, 24, -1, -1, 170, -1, -1, 140, 173,
- 172, -1, 170, -1, 57, 4, -1, 176, -1, 8,
- -1, 178, -1, 8, -1, 178, -1, 9, -1, 10,
- -1, 11, -1, 12, -1, 13, -1, 14, -1, 15,
- -1, 16, -1, 17, -1, 18, -1, 19, -1, 20,
- -1, 21, -1, 48, -1, 177, -1, 212, -1, 141,
- 4, -1, 175, 142, 180, 143, -1, 144, 4, 145,
- 178, 146, -1, 147, 4, 145, 178, 148, -1, 149,
- 179, 150, -1, 149, 150, -1, 147, 149, 179, 150,
- 148, -1, 147, 149, 150, 148, -1, 178, 151, -1,
- 178, -1, 179, 140, 178, -1, 179, -1, 179, 140,
- 37, -1, 37, -1, -1, 176, 144, 183, 146, -1,
- 176, 144, 146, -1, 176, 152, 24, -1, 176, 147,
- 183, 148, -1, 176, 149, 183, 150, -1, 176, 149,
- 150, -1, 176, 38, -1, 176, 39, -1, 176, 212,
- -1, 176, 182, -1, 176, 26, -1, 161, 3, -1,
- 161, 4, -1, 162, 4, -1, 162, 3, -1, 9,
- 27, -1, 9, 28, -1, 164, 7, -1, 157, 142,
- 181, 36, 176, 143, -1, 117, 142, 181, 226, 143,
- -1, 131, 142, 181, 140, 181, 140, 181, 143, -1,
- 155, 142, 181, 140, 181, 143, -1, 156, 142, 181,
- 140, 181, 143, -1, 90, 159, 142, 181, 140, 181,
- 143, -1, 91, 160, 142, 181, 140, 181, 143, -1,
- 158, 142, 181, 140, 181, 143, -1, 136, 142, 181,
- 140, 181, 143, -1, 137, 142, 181, 140, 181, 140,
- 181, 143, -1, 138, 142, 181, 140, 181, 140, 181,
- 143, -1, 183, 140, 181, -1, 181, -1, 32, -1,
- 33, -1, 186, -1, 186, 206, -1, 186, 208, -1,
- 186, 62, 61, 192, -1, 186, 25, -1, 187, -1,
- 187, 165, 20, 174, -1, 187, 208, -1, 187, 62,
- 61, 192, -1, -1, 187, 165, 166, 184, 181, 188,
- 172, -1, -1, 187, 165, 50, 184, 176, 189, 172,
- -1, -1, 187, 165, 45, 184, 176, 190, 172, -1,
- -1, 187, 165, 47, 184, 176, 191, 172, -1, 187,
- 51, 194, -1, 187, 58, 139, 195, -1, -1, 24,
- -1, 56, -1, 55, -1, 53, 139, 193, -1, 54,
- 139, 4, -1, 52, 139, 24, -1, 71, 139, 24,
- -1, 144, 196, 146, -1, 196, 140, 24, -1, 24,
- -1, -1, 22, -1, 24, -1, 197, -1, -1, 176,
- 198, -1, 200, 140, 199, -1, 199, -1, 200, -1,
- 200, 140, 37, -1, 37, -1, -1, 167, 174, 197,
- 142, 201, 143, 171, 168, -1, 29, -1, 149, -1,
- 166, 202, 203, -1, 30, -1, 150, -1, 215, 205,
- -1, -1, 45, -1, 47, -1, -1, 31, 209, 207,
- 202, -1, -1, 63, -1, 3, -1, 4, -1, 7,
- -1, 27, -1, 28, -1, 38, -1, 39, -1, 26,
- -1, 147, 183, 148, -1, 182, -1, 61, 210, 24,
- 140, 24, -1, 154, -1, 197, -1, 212, -1, 211,
- -1, 176, 213, -1, 215, 216, -1, 204, 216, -1,
- 217, 165, 218, -1, 217, 220, -1, -1, 23, -1,
- 72, 214, -1, 72, 8, -1, 73, 21, 213, -1,
- 73, 9, 213, 140, 21, 213, 140, 21, 213, -1,
- 74, 163, 213, 140, 21, 213, 144, 219, 146, -1,
- 74, 163, 213, 140, 21, 213, 144, 146, -1, 75,
- 167, 174, 213, 142, 223, 143, 36, 21, 213, 76,
- 21, 213, -1, 76, -1, 77, -1, 219, 163, 211,
- 140, 21, 213, -1, 163, 211, 140, 21, 213, -1,
- 165, 225, -1, 176, 144, 213, 140, 213, 146, -1,
- 221, 140, 144, 213, 140, 213, 146, -1, 214, -1,
- 222, 140, 214, -1, 222, -1, -1, 60, 59, -1,
- 59, -1, 155, 176, 213, 140, 213, -1, 156, 176,
- 213, 140, 213, -1, 90, 159, 176, 213, 140, 213,
- -1, 91, 160, 176, 213, 140, 213, -1, 49, 214,
- -1, 158, 214, 140, 214, -1, 157, 214, 36, 176,
- -1, 131, 214, 140, 214, 140, 214, -1, 135, 214,
- 140, 176, -1, 136, 214, 140, 214, -1, 137, 214,
- 140, 214, 140, 214, -1, 138, 214, 140, 214, 140,
- 214, -1, 130, 221, -1, 224, 167, 174, 213, 142,
- 223, 143, -1, 228, -1, 140, 222, -1, -1, 35,
- -1, -1, 112, 176, 169, -1, 112, 176, 140, 15,
- 213, 169, -1, 113, 176, 169, -1, 113, 176, 140,
- 15, 213, 169, -1, 114, 214, -1, 227, 115, 176,
- 213, -1, 227, 116, 214, 140, 176, 213, -1, 117,
- 176, 213, 226, -1
+ -1, 17, -1, 15, -1, 13, -1, 11, -1, 162,
+ -1, 163, -1, 18, -1, 19, -1, 202, 140, -1,
+ -1, 42, -1, 44, -1, 43, -1, 45, -1, 47,
+ -1, 46, -1, 48, -1, 51, -1, -1, 46, -1,
+ 48, -1, 42, -1, 43, -1, 44, -1, 47, -1,
+ -1, -1, 66, -1, 67, -1, 68, -1, 69, -1,
+ 70, -1, 71, -1, 65, 4, -1, -1, 58, 4,
+ -1, -1, 141, 58, 4, -1, 35, 24, -1, -1,
+ 174, -1, -1, 141, 177, 176, -1, 174, -1, 58,
+ 4, -1, 180, -1, 8, -1, 182, -1, 8, -1,
+ 182, -1, 9, -1, 10, -1, 11, -1, 12, -1,
+ 13, -1, 14, -1, 15, -1, 16, -1, 17, -1,
+ 18, -1, 19, -1, 20, -1, 49, -1, 181, -1,
+ 215, -1, 142, 4, -1, 179, 143, 184, 144, -1,
+ 145, 4, 146, 182, 147, -1, 148, 4, 146, 182,
+ 149, -1, 150, 183, 151, -1, 150, 151, -1, 148,
+ 150, 183, 151, 149, -1, 148, 150, 151, 149, -1,
+ 182, 152, -1, 182, -1, 183, 141, 182, -1, 183,
+ -1, 183, 141, 38, -1, 38, -1, -1, 180, 145,
+ 187, 147, -1, 180, 145, 147, -1, 180, 153, 24,
+ -1, 180, 148, 187, 149, -1, 180, 150, 187, 151,
+ -1, 180, 150, 151, -1, 180, 39, -1, 180, 40,
+ -1, 180, 215, -1, 180, 186, -1, 180, 26, -1,
+ 162, 3, -1, 162, 4, -1, 163, 4, -1, 163,
+ 3, -1, 9, 27, -1, 9, 28, -1, 165, 7,
+ -1, 158, 143, 185, 37, 180, 144, -1, 118, 143,
+ 185, 229, 144, -1, 132, 143, 185, 141, 185, 141,
+ 185, 144, -1, 156, 143, 185, 141, 185, 144, -1,
+ 157, 143, 185, 141, 185, 144, -1, 91, 160, 143,
+ 185, 141, 185, 144, -1, 92, 161, 143, 185, 141,
+ 185, 144, -1, 159, 143, 185, 141, 185, 144, -1,
+ 137, 143, 185, 141, 185, 144, -1, 138, 143, 185,
+ 141, 185, 141, 185, 144, -1, 139, 143, 185, 141,
+ 185, 141, 185, 144, -1, 187, 141, 185, -1, 185,
+ -1, 33, -1, 34, -1, 190, -1, -1, 191, -1,
+ 190, 191, -1, -1, 32, 192, 211, -1, -1, 31,
+ 193, 212, -1, 63, 62, 197, -1, 25, -1, 166,
+ 21, 178, -1, -1, 166, 188, 185, 194, 176, -1,
+ -1, 166, 167, 188, 185, 195, 176, -1, -1, 166,
+ 168, 188, 180, 196, 176, -1, 52, 199, -1, 59,
+ 140, 200, -1, 24, -1, 57, -1, 56, -1, 54,
+ 140, 198, -1, 55, 140, 4, -1, 53, 140, 24,
+ -1, 72, 140, 24, -1, 145, 201, 147, -1, 201,
+ 141, 24, -1, 24, -1, -1, 22, -1, 24, -1,
+ 202, -1, -1, 180, 203, -1, 205, 141, 204, -1,
+ 204, -1, 205, -1, 205, 141, 38, -1, 38, -1,
+ -1, 171, 178, 202, 143, 206, 144, 175, 172, -1,
+ 29, -1, 150, -1, 170, 207, 208, -1, 30, -1,
+ 151, -1, 218, 210, -1, 169, 207, -1, -1, 64,
+ -1, 3, -1, 4, -1, 7, -1, 27, -1, 28,
+ -1, 39, -1, 40, -1, 26, -1, 148, 187, 149,
+ -1, 186, -1, 62, 213, 24, 141, 24, -1, 155,
+ -1, 202, -1, 215, -1, 214, -1, 180, 216, -1,
+ 218, 219, -1, 209, 219, -1, 220, 166, 221, -1,
+ 220, 223, -1, -1, 23, -1, 73, 217, -1, 73,
+ 8, -1, 74, 20, 216, -1, 74, 9, 216, 141,
+ 20, 216, 141, 20, 216, -1, 75, 164, 216, 141,
+ 20, 216, 145, 222, 147, -1, 75, 164, 216, 141,
+ 20, 216, 145, 147, -1, 76, 171, 178, 216, 143,
+ 226, 144, 37, 20, 216, 77, 20, 216, -1, 77,
+ -1, 78, -1, 222, 164, 214, 141, 20, 216, -1,
+ 164, 214, 141, 20, 216, -1, 166, 228, -1, 180,
+ 145, 216, 141, 216, 147, -1, 224, 141, 145, 216,
+ 141, 216, 147, -1, 217, -1, 225, 141, 217, -1,
+ 225, -1, -1, 61, 60, -1, 60, -1, 156, 180,
+ 216, 141, 216, -1, 157, 180, 216, 141, 216, -1,
+ 91, 160, 180, 216, 141, 216, -1, 92, 161, 180,
+ 216, 141, 216, -1, 50, 217, -1, 159, 217, 141,
+ 217, -1, 158, 217, 37, 180, -1, 132, 217, 141,
+ 217, 141, 217, -1, 136, 217, 141, 180, -1, 137,
+ 217, 141, 217, -1, 138, 217, 141, 217, 141, 217,
+ -1, 139, 217, 141, 217, 141, 217, -1, 131, 224,
+ -1, 227, 171, 178, 216, 143, 226, 144, -1, 231,
+ -1, 141, 225, -1, -1, 36, -1, -1, 113, 180,
+ 173, -1, 113, 180, 141, 15, 216, 173, -1, 114,
+ 180, 173, -1, 114, 180, 141, 15, 216, 173, -1,
+ 115, 217, -1, 230, 116, 180, 216, -1, 230, 117,
+ 217, 141, 180, 216, -1, 118, 180, 216, 229, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const unsigned short int yyrline[] =
{
- 0, 988, 988, 989, 999, 999, 999, 999, 999, 999,
- 999, 999, 999, 1000, 1000, 1000, 1001, 1001, 1001, 1001,
- 1001, 1001, 1002, 1002, 1002, 1002, 1002, 1002, 1003, 1003,
- 1003, 1005, 1005, 1006, 1006, 1007, 1007, 1008, 1008, 1009,
- 1009, 1013, 1013, 1014, 1014, 1015, 1015, 1016, 1016, 1017,
- 1017, 1018, 1018, 1019, 1019, 1020, 1021, 1026, 1026, 1026,
- 1026, 1027, 1027, 1027, 1027, 1028, 1028, 1029, 1029, 1032,
- 1036, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1050,
- 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1066, 1067, 1073,
- 1074, 1082, 1090, 1091, 1096, 1097, 1098, 1103, 1117, 1117,
- 1118, 1118, 1120, 1130, 1130, 1130, 1130, 1130, 1130, 1130,
- 1131, 1131, 1131, 1131, 1131, 1131, 1132, 1136, 1140, 1148,
- 1156, 1169, 1174, 1186, 1196, 1200, 1210, 1214, 1225, 1230,
- 1236, 1237, 1241, 1245, 1256, 1282, 1296, 1326, 1352, 1373,
- 1386, 1396, 1401, 1462, 1469, 1477, 1483, 1489, 1495, 1501,
- 1505, 1509, 1517, 1529, 1550, 1558, 1564, 1575, 1580, 1585,
- 1594, 1600, 1606, 1615, 1619, 1627, 1627, 1637, 1645, 1650,
- 1654, 1658, 1662, 1677, 1699, 1702, 1705, 1705, 1713, 1713,
- 1721, 1721, 1729, 1729, 1738, 1741, 1744, 1748, 1761, 1762,
- 1764, 1768, 1777, 1781, 1786, 1788, 1793, 1798, 1807, 1807,
- 1808, 1808, 1810, 1817, 1823, 1830, 1834, 1840, 1845, 1850,
- 1945, 1945, 1947, 1955, 1955, 1957, 1962, 1963, 1964, 1966,
- 1966, 1976, 1980, 1985, 1989, 1993, 1997, 2001, 2005, 2009,
- 2013, 2017, 2042, 2046, 2060, 2064, 2070, 2070, 2076, 2081,
- 2085, 2094, 2105, 2114, 2126, 2139, 2143, 2147, 2152, 2161,
- 2180, 2189, 2245, 2249, 2256, 2267, 2280, 2289, 2298, 2308,
- 2312, 2319, 2319, 2321, 2325, 2330, 2349, 2364, 2375, 2386,
- 2399, 2408, 2419, 2427, 2432, 2438, 2444, 2450, 2465, 2524,
- 2531, 2534, 2539, 2543, 2550, 2555, 2561, 2566, 2572, 2580,
- 2592, 2607
+ 0, 989, 989, 990, 1000, 1000, 1000, 1000, 1000, 1000,
+ 1000, 1000, 1000, 1001, 1001, 1001, 1002, 1002, 1002, 1002,
+ 1002, 1002, 1003, 1003, 1003, 1003, 1003, 1003, 1004, 1004,
+ 1004, 1006, 1006, 1007, 1007, 1008, 1008, 1009, 1009, 1010,
+ 1010, 1014, 1014, 1015, 1015, 1016, 1016, 1017, 1017, 1018,
+ 1018, 1019, 1019, 1020, 1020, 1021, 1022, 1027, 1027, 1027,
+ 1027, 1028, 1028, 1028, 1028, 1029, 1029, 1030, 1030, 1033,
+ 1037, 1043, 1044, 1045, 1046, 1047, 1051, 1052, 1053, 1057,
+ 1058, 1059, 1063, 1064, 1065, 1066, 1067, 1070, 1071, 1072,
+ 1073, 1074, 1075, 1076, 1077, 1086, 1087, 1093, 1094, 1102,
+ 1110, 1111, 1116, 1117, 1118, 1123, 1137, 1137, 1138, 1138,
+ 1140, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1151, 1151,
+ 1151, 1151, 1151, 1152, 1156, 1160, 1168, 1176, 1189, 1194,
+ 1206, 1216, 1220, 1230, 1234, 1245, 1250, 1256, 1257, 1261,
+ 1265, 1276, 1302, 1316, 1346, 1372, 1393, 1406, 1416, 1421,
+ 1482, 1489, 1497, 1503, 1509, 1515, 1521, 1525, 1529, 1537,
+ 1549, 1570, 1578, 1584, 1595, 1600, 1605, 1614, 1620, 1626,
+ 1635, 1639, 1647, 1647, 1658, 1663, 1671, 1672, 1676, 1676,
+ 1680, 1680, 1683, 1686, 1698, 1720, 1720, 1729, 1729, 1737,
+ 1737, 1745, 1748, 1754, 1767, 1768, 1770, 1774, 1783, 1787,
+ 1792, 1794, 1799, 1804, 1813, 1813, 1814, 1814, 1816, 1823,
+ 1829, 1836, 1840, 1846, 1851, 1856, 1951, 1951, 1953, 1961,
+ 1961, 1963, 1968, 1978, 1982, 1987, 1991, 1995, 1999, 2003,
+ 2007, 2011, 2015, 2019, 2044, 2048, 2062, 2066, 2072, 2072,
+ 2078, 2083, 2087, 2096, 2107, 2116, 2128, 2141, 2145, 2149,
+ 2154, 2163, 2182, 2191, 2247, 2251, 2258, 2269, 2282, 2291,
+ 2300, 2310, 2314, 2321, 2321, 2323, 2327, 2332, 2351, 2366,
+ 2377, 2388, 2401, 2410, 2421, 2429, 2434, 2440, 2446, 2452,
+ 2467, 2526, 2533, 2536, 2541, 2545, 2552, 2557, 2563, 2568,
+ 2574, 2582, 2594, 2609
};
#endif
@@ -1652,10 +1652,10 @@ static const char *const yytname[] =
{
"$end", "error", "$undefined", "ESINT64VAL", "EUINT64VAL", "SINTVAL",
"UINTVAL", "FPVAL", "VOID", "BOOL", "SBYTE", "UBYTE", "SHORT", "USHORT",
- "INT", "UINT", "LONG", "ULONG", "FLOAT", "DOUBLE", "TYPE", "LABEL",
+ "INT", "UINT", "LONG", "ULONG", "FLOAT", "DOUBLE", "LABEL", "TYPE",
"VAR_ID", "LABELSTR", "STRINGCONSTANT", "IMPLEMENTATION",
"ZEROINITIALIZER", "TRUETOK", "FALSETOK", "BEGINTOK", "ENDTOK",
- "DECLARE", "GLOBAL", "CONSTANT", "SECTION", "VOLATILE", "TO",
+ "DECLARE", "DEFINE", "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",
@@ -1674,20 +1674,20 @@ static const char *const yytname[] =
"'['", "'x'", "']'", "'<'", "'>'", "'{'", "'}'", "'*'", "'c'", "$accept",
"INTVAL", "ArithmeticOps", "LogicalOps", "CastOps", "ShiftOps",
"IPredicates", "FPredicates", "SIntType", "UIntType", "IntType",
- "FPType", "OptAssign", "OptLinkage", "OptCallingConv", "OptAlign",
+ "FPType", "OptAssign", "GVInternalLinkage", "GVExternalLinkage",
+ "FnDeclareLinkage", "FunctionLinkage", "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", 0
+ "ConstVector", "GlobalType", "Module", "DefinitionList", "Definition",
+ "@1", "@2", "@3", "@4", "@5", "AsmBlock", "BigOrLittle",
+ "TargetDefinition", "LibrariesDefinition", "LibList", "Name", "OptName",
+ "ArgVal", "ArgListH", "ArgList", "FunctionHeaderH", "BEGIN",
+ "FunctionHeader", "END", "Function", "FunctionProto", "OptSideEffect",
+ "ConstValueRef", "SymbolicValueRef", "ValueRef", "ResolvedVal",
+ "BasicBlockList", "BasicBlock", "InstructionList", "BBTerminatorInst",
+ "JumpTable", "Inst", "PHIList", "ValueRefList", "ValueRefListE",
+ "OptTailCall", "InstVal", "IndexList", "OptVolatile", "MemoryInst", 0
};
#endif
@@ -1709,45 +1709,45 @@ static const unsigned short int yytoknum[] =
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
- 385, 386, 387, 388, 389, 390, 391, 392, 393, 61,
- 44, 92, 40, 41, 91, 120, 93, 60, 62, 123,
- 125, 42, 99
+ 385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
+ 61, 44, 92, 40,