aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-05-12 19:01:56 +0000
committerNate Begeman <natebegeman@mac.com>2008-05-12 19:01:56 +0000
commitac80ade1580378e484e24c9f66d2fa5b058e5891 (patch)
tree67b07f1009d7e84478af68b27592195536cda14d /lib/AsmParser/llvmAsmParser.cpp.cvs
parent7c2e4f2fc5a2fdcf4e933a03dd2e89154c946401 (diff)
Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRef
for details. CodeGen support coming in a follow up patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs2607
1 files changed, 1345 insertions, 1262 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 6d924c4a7e..3861ad3c95 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -162,66 +162,68 @@
ASHR = 343,
ICMP = 344,
FCMP = 345,
- EQ = 346,
- NE = 347,
- SLT = 348,
- SGT = 349,
- SLE = 350,
- SGE = 351,
- ULT = 352,
- UGT = 353,
- ULE = 354,
- UGE = 355,
- OEQ = 356,
- ONE = 357,
- OLT = 358,
- OGT = 359,
- OLE = 360,
- OGE = 361,
- ORD = 362,
- UNO = 363,
- UEQ = 364,
- UNE = 365,
- MALLOC = 366,
- ALLOCA = 367,
- FREE = 368,
- LOAD = 369,
- STORE = 370,
- GETELEMENTPTR = 371,
- TRUNC = 372,
- ZEXT = 373,
- SEXT = 374,
- FPTRUNC = 375,
- FPEXT = 376,
- BITCAST = 377,
- UITOFP = 378,
- SITOFP = 379,
- FPTOUI = 380,
- FPTOSI = 381,
- INTTOPTR = 382,
- PTRTOINT = 383,
- PHI_TOK = 384,
- SELECT = 385,
- VAARG = 386,
- EXTRACTELEMENT = 387,
- INSERTELEMENT = 388,
- SHUFFLEVECTOR = 389,
- GETRESULT = 390,
- SIGNEXT = 391,
- ZEROEXT = 392,
- NORETURN = 393,
- INREG = 394,
- SRET = 395,
- NOUNWIND = 396,
- NOALIAS = 397,
- BYVAL = 398,
- NEST = 399,
- READNONE = 400,
- READONLY = 401,
- GC = 402,
- DEFAULT = 403,
- HIDDEN = 404,
- PROTECTED = 405
+ VICMP = 346,
+ VFCMP = 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,
+ VAARG = 388,
+ EXTRACTELEMENT = 389,
+ INSERTELEMENT = 390,
+ SHUFFLEVECTOR = 391,
+ GETRESULT = 392,
+ SIGNEXT = 393,
+ ZEROEXT = 394,
+ NORETURN = 395,
+ INREG = 396,
+ SRET = 397,
+ NOUNWIND = 398,
+ NOALIAS = 399,
+ BYVAL = 400,
+ NEST = 401,
+ READNONE = 402,
+ READONLY = 403,
+ GC = 404,
+ DEFAULT = 405,
+ HIDDEN = 406,
+ PROTECTED = 407
};
#endif
/* Tokens. */
@@ -313,72 +315,74 @@
#define ASHR 343
#define ICMP 344
#define FCMP 345
-#define EQ 346
-#define NE 347
-#define SLT 348
-#define SGT 349
-#define SLE 350
-#define SGE 351
-#define ULT 352
-#define UGT 353
-#define ULE 354
-#define UGE 355
-#define OEQ 356
-#define ONE 357
-#define OLT 358
-#define OGT 359
-#define OLE 360
-#define OGE 361
-#define ORD 362
-#define UNO 363
-#define UEQ 364
-#define UNE 365
-#define MALLOC 366
-#define ALLOCA 367
-#define FREE 368
-#define LOAD 369
-#define STORE 370
-#define GETELEMENTPTR 371
-#define TRUNC 372
-#define ZEXT 373
-#define SEXT 374
-#define FPTRUNC 375
-#define FPEXT 376
-#define BITCAST 377
-#define UITOFP 378
-#define SITOFP 379
-#define FPTOUI 380
-#define FPTOSI 381
-#define INTTOPTR 382
-#define PTRTOINT 383
-#define PHI_TOK 384
-#define SELECT 385
-#define VAARG 386
-#define EXTRACTELEMENT 387
-#define INSERTELEMENT 388
-#define SHUFFLEVECTOR 389
-#define GETRESULT 390
-#define SIGNEXT 391
-#define ZEROEXT 392
-#define NORETURN 393
-#define INREG 394
-#define SRET 395
-#define NOUNWIND 396
-#define NOALIAS 397
-#define BYVAL 398
-#define NEST 399
-#define READNONE 400
-#define READONLY 401
-#define GC 402
-#define DEFAULT 403
-#define HIDDEN 404
-#define PROTECTED 405
+#define VICMP 346
+#define VFCMP 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 VAARG 388
+#define EXTRACTELEMENT 389
+#define INSERTELEMENT 390
+#define SHUFFLEVECTOR 391
+#define GETRESULT 392
+#define SIGNEXT 393
+#define ZEROEXT 394
+#define NORETURN 395
+#define INREG 396
+#define SRET 397
+#define NOUNWIND 398
+#define NOALIAS 399
+#define BYVAL 400
+#define NEST 401
+#define READNONE 402
+#define READONLY 403
+#define GC 404
+#define DEFAULT 405
+#define HIDDEN 406
+#define PROTECTED 407
/* Copy the first part of user declarations. */
-#line 14 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 14 "/llvm/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1334,7 +1338,7 @@ Module *llvm::RunVMAsmParser(llvm::MemoryBuffer *MB) {
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
-#line 949 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 949 "/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
@@ -1382,7 +1386,7 @@ typedef union YYSTYPE
llvm::FCmpInst::Predicate FPredicate;
}
/* Line 193 of yacc.c. */
-#line 1386 "llvmAsmParser.tab.c"
+#line 1390 "llvmAsmParser.tab.c"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
@@ -1395,7 +1399,7 @@ typedef union YYSTYPE
/* Line 216 of yacc.c. */
-#line 1399 "llvmAsmParser.tab.c"
+#line 1403 "llvmAsmParser.tab.c"
#ifdef short
# undef short
@@ -1610,20 +1614,20 @@ union yyalloc
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 43
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 1978
+#define YYLAST 2035
/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 165
+#define YYNTOKENS 167
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 85
/* YYNRULES -- Number of rules. */
-#define YYNRULES 322
+#define YYNRULES 326
/* YYNRULES -- Number of states. */
-#define YYNSTATES 629
+#define YYNSTATES 655
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 405
+#define YYMAXUTOK 407
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
@@ -1635,15 +1639,15 @@ static const yytype_uint8 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,
- 151, 152, 155, 2, 154, 2, 2, 2, 2, 2,
+ 153, 154, 157, 2, 156, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 160, 153, 161, 2, 2, 2, 2, 2, 2, 2,
+ 162, 155, 163, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 157, 156, 159, 2, 2, 2, 2, 2, 164,
+ 2, 159, 158, 161, 2, 2, 2, 2, 2, 166,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 158, 2, 2, 162, 2, 163, 2, 2, 2, 2,
+ 160, 2, 2, 164, 2, 165, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
@@ -1671,7 +1675,7 @@ static const yytype_uint8 yytranslate[] =
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
- 145, 146, 147, 148, 149, 150
+ 145, 146, 147, 148, 149, 150, 151, 152
};
#if YYDEBUG
@@ -1698,127 +1702,130 @@ static const yytype_uint16 yyprhs[] =
350, 352, 354, 358, 360, 364, 366, 367, 369, 373,
378, 382, 386, 391, 396, 400, 407, 413, 416, 419,
422, 425, 428, 431, 434, 437, 440, 443, 446, 449,
- 456, 462, 471, 478, 485, 493, 501, 508, 517, 526,
- 530, 532, 534, 536, 538, 539, 542, 549, 551, 552,
- 554, 557, 558, 562, 563, 567, 571, 575, 579, 580,
- 589, 590, 600, 601, 611, 617, 620, 624, 626, 630,
- 634, 638, 642, 644, 645, 651, 655, 657, 661, 663,
- 664, 675, 677, 679, 684, 686, 688, 691, 695, 696,
- 698, 700, 702, 704, 706, 708, 710, 712, 714, 718,
- 720, 726, 728, 730, 732, 734, 736, 738, 741, 743,
- 747, 750, 753, 757, 760, 761, 763, 766, 769, 773,
- 783, 793, 802, 817, 819, 821, 828, 834, 837, 844,
- 852, 857, 862, 869, 876, 877, 878, 882, 885, 887,
- 893, 899, 906, 913, 918, 925, 930, 935, 942, 949,
- 952, 961, 963, 965, 966, 970, 977, 981, 988, 991,
- 997, 1005, 1011
+ 456, 462, 471, 478, 485, 493, 501, 509, 517, 524,
+ 533, 542, 546, 548, 550, 552, 554, 555, 558, 565,
+ 567, 568, 570, 573, 574, 578, 579, 583, 587, 591,
+ 595, 596, 605, 606, 616, 617, 627, 633, 636, 640,
+ 642, 646, 650, 654, 658, 660, 661, 667, 671, 673,
+ 677, 679, 680, 691, 693, 695, 700, 702, 704, 707,
+ 711, 712, 714, 716, 718, 720, 722, 724, 726, 728,
+ 730, 734, 736, 742, 744, 746, 748, 750, 752, 754,
+ 757, 759, 763, 766, 769, 773, 776, 777, 779, 782,
+ 785, 789, 799, 809, 818, 833, 835, 837, 844, 850,
+ 853, 860, 868, 873, 878, 885, 892, 893, 894, 898,
+ 901, 903, 909, 915, 922, 929, 936, 943, 948, 955,
+ 960, 965, 972, 979, 982, 991, 993, 995, 996, 1000,
+ 1007, 1011, 1018, 1021, 1027, 1035, 1041
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
- 211, 0, -1, 74, -1, 75, -1, 76, -1, 77,
+ 213, 0, -1, 74, -1, 75, -1, 76, -1, 77,
-1, 78, -1, 79, -1, 80, -1, 81, -1, 82,
-1, 86, -1, 87, -1, 88, -1, 83, -1, 84,
- -1, 85, -1, 117, -1, 118, -1, 119, -1, 120,
- -1, 121, -1, 122, -1, 123, -1, 124, -1, 125,
- -1, 126, -1, 127, -1, 128, -1, 91, -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, 97, -1, 98,
- -1, 99, -1, 100, -1, 26, -1, 27, -1, 11,
+ -1, 85, -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, 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, 26, -1, 27, -1, 11,
-1, 12, -1, 13, -1, 16, -1, 15, -1, 14,
- -1, 19, -1, 22, -1, 24, -1, 173, -1, -1,
- 54, 151, 4, 152, -1, -1, 173, 153, -1, -1,
- 20, -1, 23, -1, 179, -1, -1, 177, 153, -1,
+ -1, 19, -1, 22, -1, 24, -1, 175, -1, -1,
+ 54, 153, 4, 154, -1, -1, 175, 155, -1, -1,
+ 20, -1, 23, -1, 181, -1, -1, 179, 155, -1,
42, -1, 44, -1, 43, -1, 45, -1, 47, -1,
- 46, -1, 48, -1, 50, -1, -1, 148, -1, 149,
- -1, 150, -1, -1, 46, -1, 48, -1, -1, 42,
+ 46, -1, 48, -1, 50, -1, -1, 150, -1, 151,
+ -1, 152, -1, -1, 46, -1, 48, -1, -1, 42,
-1, 43, -1, 44, -1, 47, -1, -1, 44, -1,
42, -1, -1, 62, -1, 63, -1, 64, -1, 65,
- -1, 66, -1, 61, 4, -1, 137, -1, 118, -1,
- 136, -1, 119, -1, 139, -1, 140, -1, 142, -1,
- 143, -1, 144, -1, 53, 4, -1, -1, 188, 187,
- -1, 138, -1, 141, -1, 137, -1, 136, -1, 145,
- -1, 146, -1, -1, 190, 189, -1, -1, 147, 22,
- -1, -1, 53, 4, -1, -1, 154, 53, 4, -1,
- 34, 22, -1, -1, 194, -1, -1, 154, 197, 196,
- -1, 194, -1, 53, 4, -1, 11, -1, 12, -1,
+ -1, 66, -1, 61, 4, -1, 139, -1, 120, -1,
+ 138, -1, 121, -1, 141, -1, 142, -1, 144, -1,
+ 145, -1, 146, -1, 53, 4, -1, -1, 190, 189,
+ -1, 140, -1, 143, -1, 139, -1, 138, -1, 147,
+ -1, 148, -1, -1, 192, 191, -1, -1, 149, 22,
+ -1, -1, 53, 4, -1, -1, 156, 53, 4, -1,
+ 34, 22, -1, -1, 196, -1, -1, 156, 199, 198,
+ -1, 196, -1, 53, 4, -1, 11, -1, 12, -1,
13, -1, 16, -1, 15, -1, 14, -1, 17, -1,
- 49, -1, 198, -1, 199, 175, 155, -1, 233, -1,
- 156, 4, -1, 199, 151, 203, 152, 190, -1, 10,
- 151, 203, 152, 190, -1, 157, 4, 158, 199, 159,
- -1, 160, 4, 158, 199, 161, -1, 162, 204, 163,
- -1, 162, 163, -1, 160, 162, 204, 163, 161, -1,
- 160, 162, 163, 161, -1, 199, 188, -1, 199, -1,
- 10, -1, 200, -1, 202, 154, 200, -1, 202, -1,
- 202, 154, 39, -1, 39, -1, -1, 199, -1, 204,
- 154, 199, -1, 199, 157, 207, 159, -1, 199, 157,
- 159, -1, 199, 164, 22, -1, 199, 160, 207, 161,
- -1, 199, 162, 207, 163, -1, 199, 162, 163, -1,
- 199, 160, 162, 207, 163, 161, -1, 199, 160, 162,
- 163, 161, -1, 199, 40, -1, 199, 41, -1, 199,
- 233, -1, 199, 206, -1, 199, 25, -1, 171, 3,
- -1, 171, 5, -1, 171, 4, -1, 171, 6, -1,
- 11, 26, -1, 11, 27, -1, 172, 9, -1, 168,
- 151, 205, 38, 199, 152, -1, 116, 151, 205, 245,
- 152, -1, 130, 151, 205, 154, 205, 154, 205, 152,
- -1, 166, 151, 205, 154, 205, 152, -1, 167, 151,
- 205, 154, 205, 152, -1, 89, 169, 151, 205, 154,
- 205, 152, -1, 90, 170, 151, 205, 154, 205, 152,
- -1, 132, 151, 205, 154, 205, 152, -1, 133, 151,
- 205, 154, 205, 154, 205, 152, -1, 134, 151, 205,
- 154, 205, 154, 205, 152, -1, 207, 154, 205, -1,
- 205, -1, 32, -1, 33, -1, 37, -1, -1, 201,
- 233, -1, 122, 151, 210, 38, 199, 152, -1, 212,
- -1, -1, 213, -1, 212, 213, -1, -1, 31, 214,
- 229, -1, -1, 30, 215, 230, -1, 59, 58, 219,
- -1, 176, 18, 199, -1, 176, 18, 10, -1, -1,
- 178, 182, 209, 208, 205, 175, 216, 196, -1, -1,
- 178, 180, 182, 209, 208, 205, 175, 217, 196, -1,
- -1, 178, 181, 182, 209, 208, 199, 175, 218, 196,
- -1, 178, 182, 35, 185, 210, -1, 51, 220, -1,
- 55, 153, 221, -1, 22, -1, 52, 153, 22, -1,
- 67, 153, 22, -1, 157, 222, 159, -1, 222, 154,
- 22, -1, 22, -1, -1, 223, 154, 199, 188, 174,
- -1, 199, 188, 174, -1, 223, -1, 223, 154, 39,
- -1, 39, -1, -1, 186, 201, 177, 151, 224, 152,
- 190, 195, 192, 191, -1, 28, -1, 162, -1, 184,
- 182, 225, 226, -1, 29, -1, 163, -1, 237, 228,
- -1, 183, 182, 225, -1, -1, 60, -1, 3, -1,
- 4, -1, 9, -1, 26, -1, 27, -1, 40, -1,
- 41, -1, 25, -1, 160, 207, 161, -1, 206, -1,
- 58, 231, 22, 154, 22, -1, 7, -1, 8, -1,
- 173, -1, 177, -1, 233, -1, 232, -1, 199, 234,
- -1, 235, -1, 236, 154, 235, -1, 237, 238, -1,
- 227, 238, -1, 239, 176, 240, -1, 239, 242, -1,
- -1, 21, -1, 68, 236, -1, 68, 10, -1, 69,
- 17, 234, -1, 69, 11, 234, 154, 17, 234, 154,
- 17, 234, -1, 70, 171, 234, 154, 17, 234, 157,
- 241, 159, -1, 70, 171, 234, 154, 17, 234, 157,
- 159, -1, 71, 186, 201, 234, 151, 244, 152, 190,
- 38, 17, 234, 72, 17, 234, -1, 72, -1, 73,
- -1, 241, 171, 232, 154, 17, 234, -1, 171, 232,
- 154, 17, 234, -1, 176, 247, -1, 199, 157, 234,
- 154, 234, 159, -1, 243, 154, 157, 234, 154, 234,
- 159, -1, 199, 188, 234, 188, -1, 17, 188, 234,
- 188, -1, 244, 154, 199, 188, 234, 188, -1, 244,
- 154, 17, 188, 234, 188, -1, -1, -1, 245, 154,
- 235, -1, 57, 56, -1, 56, -1, 166, 199, 234,
- 154, 234, -1, 167, 199, 234, 154, 234, -1, 89,
- 169, 199, 234, 154, 234, -1, 90, 170, 199, 234,
- 154, 234, -1, 168, 235, 38, 199, -1, 130, 235,
- 154, 235, 154, 235, -1, 131, 235, 154, 199, -1,
- 132, 235, 154, 235, -1, 133, 235, 154, 235, 154,
- 235, -1, 134, 235, 154, 235, 154, 235, -1, 129,
- 243, -1, 246, 186, 201, 234, 151, 244, 152, 190,
- -1, 249, -1, 36, -1, -1, 111, 199, 193, -1,
- 111, 199, 154, 11, 234, 193, -1, 112, 199, 193,
- -1, 112, 199, 154, 11, 234, 193, -1, 113, 235,
- -1, 248, 114, 199, 234, 193, -1, 248, 115, 235,
- 154, 199, 234, 193, -1, 135, 199, 234, 154, 4,
- -1, 116, 199, 234, 245, -1
+ 49, -1, 200, -1, 201, 177, 157, -1, 235, -1,
+ 158, 4, -1, 201, 153, 205, 154, 192, -1, 10,
+ 153, 205, 154, 192, -1, 159, 4, 160, 201, 161,
+ -1, 162, 4, 160, 201, 163, -1, 164, 206, 165,
+ -1, 164, 165, -1, 162, 164, 206, 165, 163, -1,
+ 162, 164, 165, 163, -1, 201, 190, -1, 201, -1,
+ 10, -1, 202, -1, 204, 156, 202, -1, 204, -1,
+ 204, 156, 39, -1, 39, -1, -1, 201, -1, 206,
+ 156, 201, -1, 201, 159, 209, 161, -1, 201, 159,
+ 161, -1, 201, 166, 22, -1, 201, 162, 209, 163,
+ -1, 201, 164, 209, 165, -1, 201, 164, 165, -1,
+ 201, 162, 164, 209, 165, 163, -1, 201, 162, 164,
+ 165, 163, -1, 201, 40, -1, 201, 41, -1, 201,
+ 235, -1, 201, 208, -1, 201, 25, -1, 173, 3,
+ -1, 173, 5, -1, 173, 4, -1, 173, 6, -1,
+ 11, 26, -1, 11, 27, -1, 174, 9, -1, 170,
+ 153, 207, 38, 201, 154, -1, 118, 153, 207, 247,
+ 154, -1, 132, 153, 207, 156, 207, 156, 207, 154,
+ -1, 168, 153, 207, 156, 207, 154, -1, 169, 153,
+ 207, 156, 207, 154, -1, 89, 171, 153, 207, 156,
+ 207, 154, -1, 90, 172, 153, 207, 156, 207, 154,
+ -1, 91, 171, 153, 207, 156, 207, 154, -1, 92,
+ 172, 153, 207, 156, 207, 154, -1, 134, 153, 207,
+ 156, 207, 154, -1, 135, 153, 207, 156, 207, 156,
+ 207, 154, -1, 136, 153, 207, 156, 207, 156, 207,
+ 154, -1, 209, 156, 207, -1, 207, -1, 32, -1,
+ 33, -1, 37, -1, -1, 203, 235, -1, 124, 153,
+ 212, 38, 201, 154, -1, 214, -1, -1, 215, -1,
+ 214, 215, -1, -1, 31, 216, 231, -1, -1, 30,
+ 217, 232, -1, 59, 58, 221, -1, 178, 18, 201,
+ -1, 178, 18, 10, -1, -1, 180, 184, 211, 210,
+ 207, 177, 218, 198, -1, -1, 180, 182, 184, 211,
+ 210, 207, 177, 219, 198, -1, -1, 180, 183, 184,
+ 211, 210, 201, 177, 220, 198, -1, 180, 184, 35,
+ 187, 212, -1, 51, 222, -1, 55, 155, 223, -1,
+ 22, -1, 52, 155, 22, -1, 67, 155, 22, -1,
+ 159, 224, 161, -1, 224, 156, 22, -1, 22, -1,
+ -1, 225, 156, 201, 190, 176, -1, 201, 190, 176,
+ -1, 225, -1, 225, 156, 39, -1, 39, -1, -1,
+ 188, 203, 179, 153, 226, 154, 192, 197, 194, 193,
+ -1, 28, -1, 164, -1, 186, 184, 227, 228, -1,
+ 29, -1, 165, -1, 239, 230, -1, 185, 184, 227,
+ -1, -1, 60, -1, 3, -1, 4, -1, 9, -1,
+ 26, -1, 27, -1, 40, -1, 41, -1, 25, -1,
+ 162, 209, 163, -1, 208, -1, 58, 233, 22, 156,
+ 22, -1, 7, -1, 8, -1, 175, -1, 179, -1,
+ 235, -1, 234, -1, 201, 236, -1, 237, -1, 238,
+ 156, 237, -1, 239, 240, -1, 229, 240, -1, 241,
+ 178, 242, -1, 241, 244, -1, -1, 21, -1, 68,
+ 238, -1, 68, 10, -1, 69, 17, 236, -1, 69,
+ 11, 236, 156, 17, 236, 156, 17, 236, -1, 70,
+ 173, 236, 156, 17, 236, 159, 243, 161, -1, 70,
+ 173, 236, 156, 17, 236, 159, 161, -1, 71, 188,
+ 203, 236, 153, 246, 154, 192, 38, 17, 236, 72,
+ 17, 236, -1, 72, -1, 73, -1, 243, 173, 234,
+ 156, 17, 236, -1, 173, 234, 156, 17, 236, -1,
+ 178, 249, -1, 201, 159, 236, 156, 236, 161, -1,
+ 245, 156, 159, 236, 156, 236, 161, -1, 201, 190,
+ 236, 190, -1, 17, 190, 236, 190, -1, 246, 156,
+ 201, 190, 236, 190, -1, 246, 156, 17, 190, 236,
+ 190, -1, -1, -1, 247, 156, 237, -1, 57, 56,
+ -1, 56, -1, 168, 201, 236, 156, 236, -1, 169,
+ 201, 236, 156, 236, -1, 89, 171, 201, 236, 156,
+ 236, -1, 90, 172, 201, 236, 156, 236, -1, 91,
+ 171, 201, 236, 156, 236, -1, 92, 172, 201, 236,
+ 156, 236, -1, 170, 237, 38, 201, -1, 132, 237,
+ 156, 237, 156, 237, -1, 133, 237, 156, 201, -1,
+ 134, 237, 156, 237, -1, 135, 237, 156, 237, 156,
+ 237, -1, 136, 237, 156, 237, 156, 237, -1, 131,
+ 245, -1, 248, 188, 203, 236, 153, 246, 154, 192,
+ -1, 251, -1, 36, -1, -1, 113, 201, 195, -1,
+ 113, 201, 156, 11, 236, 195, -1, 114, 201, 195,
+ -1, 114, 201, 156, 11, 236, 195, -1, 115, 237,
+ -1, 250, 116, 201, 236, 195, -1, 250, 117, 237,
+ 156, 201, 236, 195, -1, 137, 201, 236, 156, 4,
+ -1, 118, 201, 236, 247, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
@@ -1843,20 +1850,20 @@ static const yytype_uint16 yyrline[] =
1464, 1469, 1474, 1481, 1482, 1489, 1496, 1504, 1510, 1522,
1550, 1566, 1593, 1621, 1647, 1667, 1693, 1713, 1725, 1732,
1798, 1808, 1818, 1824, 1834, 1840, 1850, 1855, 1860, 1873,
- 1885, 1907, 1915, 1921, 1932, 1937, 1942, 1948, 1954, 1963,
- 1967, 1975, 1975, 1978, 1978, 1981, 1993, 2014, 2019, 2027,
- 2028, 2032, 2032, 2036, 2036, 2039, 2042, 2066, 2078, 2077,
- 2089, 2088, 2098, 2097, 2108, 2148, 2151, 2157, 2167, 2171,
- 2176, 2178, 2183, 2188, 2197, 2207, 2218, 2222, 2231, 2240,
- 2245, 2374, 2374, 2376, 2385, 2385, 2387, 2392, 2404, 2408,
- 2413, 2417, 2421, 2425, 2429, 2433, 2437, 2441, 2445, 2470,
- 2474, 2484, 2488, 2492, 2497, 2504, 2504, 2510, 2519, 2524,
- 2529, 2533, 2542, 2551, 2560, 2564, 2572, 2579, 2583, 2588,
- 2598, 2617, 2626, 2711, 2715, 2722, 2733, 2746, 2756, 2767,
- 2777, 2788, 2796, 2806, 2813, 2816, 2817, 2824, 2828, 2833,
- 2849, 2866, 2880, 2894, 2906, 2914, 2921, 2927, 2933, 2939,
- 2954, 3044, 3049, 3053, 3060, 3067, 3075, 3082, 3090, 3098,
- 3112, 3129, 3137
+ 1885, 1907, 1915, 1921, 1932, 1937, 1942, 1947, 1952, 1958,
+ 1964, 1973, 1977, 1985, 1985, 1988, 1988, 1991, 2003, 2024,
+ 2029, 2037, 2038, 2042, 2042, 2046, 2046, 2049, 2052, 2076,
+ 2088, 2087, 2099, 2098, 2108, 2107, 2118, 2158, 2161, 2167,
+ 2177, 2181, 2186, 2188, 2193, 2198, 2207, 2217, 2228, 2232,
+ 2241, 2250, 2255, 2384, 2384, 2386, 2395, 2395, 2397, 2402,
+ 2414, 2418, 2423, 2427, 2431, 2435, 2439, 2443, 2447, 2451,
+ 2455, 2480, 2484, 2494, 2498, 2502, 2507, 2514, 2514, 2520,
+ 2529, 2534, 2539, 2543, 2552, 2561, 2570, 2574, 2582, 2589,
+ 2593, 2598, 2608, 2627, 2636, 2721, 2725, 2732, 2743, 2756,
+ 2766, 2777, 2787, 2798, 2806, 2816, 2823, 2826, 2827, 2834,
+ 2838, 2843, 2859, 2876, 2890, 2904, 2918, 2932, 2944, 2952,
+ 2959, 2965, 2971, 2977, 2992, 3082, 3087, 3091, 3098, 3105,
+ 3113, 3120, 3128, 3136, 3150, 3167, 3175
};
#endif
@@ -1879,24 +1886,25 @@ static const char *const yytname[] =
"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", "GETRESULT",
- "SIGNEXT", "ZEROEXT", "NORETURN", "INREG", "SRET", "NOUNWIND", "NOALIAS",
- "BYVAL", "NEST", "READNONE", "READONLY", "GC", "DEFAULT", "HIDDEN",
- "PROTECTED", "'('", "')'", "'='", "','", "'*'", "'\\\\'", "'['", "'x'",
- "']'", "'<'", "'>'", "'{'", "'}'", "'c'", "$accept", "ArithmeticOps",
- "LogicalOps", "CastOps", "IPredicates", "FPredicates", "IntType",
- "FPType", "LocalName", "OptLocalName", "OptAddrSpace", "OptLocalAssign",
- "GlobalName", "OptGlobalAssign", "GlobalAssign", "GVInternalLinkage",
- "GVExternalLinkage", "GVVisibilityStyle", "FunctionDeclareLinkage",
- "FunctionDefineLinkage", "AliasLinkage", "OptCallingConv", "ParamAttr",
- "OptParamAttrs", "FuncAttr", "OptFuncAttrs", "OptGC", "OptAlign",
- "OptCAlign", "SectionString", "OptSection", "GlobalVarAttributes",
+ "AND", "OR", "XOR", "SHL", "LSHR", "ASHR", "ICMP", "FCMP", "VICMP",
+ "VFCMP", "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",
+ "GETRESULT", "SIGNEXT", "ZEROEXT", "NORETURN", "INREG", "SRET",
+ "NOUNWIND", "NOALIAS", "BYVAL", "NEST", "READNONE", "READONLY", "GC",
+ "DEFAULT", "HIDDEN", "PROTECTED", "'('", "')'", "'='", "','", "'*'",
+ "'\\\\'", "'['", "'x'", "']'", "'<'", "'>'", "'{'", "'}'", "'c'",
+ "$accept", "ArithmeticOps", "LogicalOps", "CastOps", "IPredicates",
+ "FPredicates", "IntType", "FPType", "LocalName", "OptLocalName",
+ "OptAddrSpace", "OptLocalAssign", "GlobalName", "OptGlobalAssign",
+ "GlobalAssign", "GVInternalLinkage", "GVExternalLinkage",
+ "GVVisibilityStyle", "FunctionDeclareLinkage", "FunctionDefineLinkage",
+ "AliasLinkage", "OptCallingConv", "ParamAttr", "OptParamAttrs",
+ "FuncAttr", "OptFuncAttrs", "OptGC", "OptAlign", "OptCAlign",
+ "SectionString", "OptSection", "GlobalVarAttributes",
"GlobalVarAttribute", "PrimType", "Types", "ArgType", "ResultTypes",
"ArgTypeList", "ArgTypeListI", "TypeListI", "ConstVal", "ConstExpr",
"ConstVector", "GlobalType", "ThreadLocal", "AliaseeRef", "Module",
@@ -1931,47 +1939,47 @@ static const yytype_uint16 yytoknum[] =
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
- 405, 40, 41, 61, 44, 42, 92, 91, 120, 93,
- 60, 62, 123, 125, 99
+ 405, 406, 407, 40, 41, 61, 44, 42, 92, 91,
+ 120, 93, 60, 62, 123, 125, 99
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint8 yyr1[] =
{
- 0, 165, 166, 166, 166, 166, 166, 166, 166, 166,
- 166, 167, 167, 167, 167, 167, 167, 168, 168, 168,
- 168, 168, 168, 168, 168, 168, 168, 168, 168, 169,
- 169, 169, 169, 169, 169, 169, 169, 169, 169, 170,
- 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
- 170, 170, 170, 170, 170, 171, 172, 172, 172, 172,
- 172, 173, 173, 173, 174, 174, 175, 175, 176, 176,
- 177, 177, 178, 178, 179, 180, 180, 180, 180, 180,
- 181, 181, 181, 182, 182, 182, 182, 183, 183, 183,
- 184, 184, 184, 184, 184, 185, 185, 185, 186, 186,
- 186, 186, 186, 186, 186, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 188, 188, 189, 189, 189,
- 189, 189, 189, 190, 190, 191, 191, 192, 192, 193,
- 193, 194, 195, 195, 196, 196, 197, 197, 198, 198,
- 198, 198, 198, 198, 198, 199, 199, 199, 199, 199,
- 199, 199, 199, 199, 199, 199, 199, 199, 200, 201,
- 201, 202, 202, 203, 203, 203, 203, 204, 204, 205,
- 205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
- 205, 205, 205, 205, 205, 205, 205, 205, 205, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 207,
- 207, 208, 208, 209, 209, 210, 210, 211, 211, 212,
- 212, 214, 213, 215, 213, 213, 213, 213, 216, 213,
- 217, 213, 218, 213, 213, 213, 213, 219, 220, 220,
- 221, 222, 222, 222, 223, 223, 224, 224, 224, 224,
- 225, 226, 226, 227, 228, 228, 229, 230, 231, 231,
- 232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
- 232, 233, 233, 233, 233, 234, 234, 235, 236, 236,
- 237, 237, 238, 239, 239, 239, 240, 240, 240, 240,
- 240, 240, 240, 240, 240, 241, 241, 242, 243, 243,
- 244, 244, 244, 244, 244, 245, 245, 246, 246, 247,
- 247, 247, 247, 247, 247, 247, 247, 247, 247, 247,
- 247, 247, 248, 248, 249, 249, 249, 249, 249, 249,
- 249, 249, 249
+ 0, 167, 168, 168, 168, 168, 168, 168, 168, 168,
+ 168, 169, 169, 169, 169, 169, 169, 170, 170, 170,
+ 170, 170, 170, 170, 170, 170, 170, 170, 170, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 172,
+ 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
+ 172, 172, 172, 172, 172, 173, 174, 174, 174, 174,
+ 174, 175, 175, 175, 176, 176, 177, 177, 178, 178,
+ 179, 179, 180, 180, 181, 182, 182, 182, 182, 182,
+ 183, 183, 183, 184, 184, 184, 184, 185, 185, 185,
+ 186, 186, 186, 186, 186, 187, 187, 187, 188, 188,
+ 188, 188, 188, 188, 188, 189, 189, 189, 189, 189,
+ 189, 189, 189, 189, 189, 190, 190, 191, 191, 191,
+ 191, 191, 191, 192, 192, 193, 193, 194, 194, 195,
+ 195, 196, 197, 197, 198, 198, 199, 199, 200, 200,
+ 200, 200, 200, 200, 200, 201, 201, 201, 201, 201,
+ 201, 201, 201, 201, 201, 201, 201, 201, 202, 203,
+ 203, 204, 204, 205, 205, 205, 205, 206, 206, 207,
+ 207, 207, 207, 207, 207, 207, 207, 207, 207, 207,
+ 207, 207, 207, 207, 207, 207, 207, 207, 207, 208,
+ 208, 208, 208, 208, 208, 208, 208, 208, 208, 208,
+ 208, 209, 209, 210, 210, 211, 211, 212, 212, 213,
+ 213, 214, 214, 216, 215, 217, 215, 215, 215, 215,
+ 218, 215, 219, 215, 220, 215, 215, 215, 215, 221,
+ 222, 222, 223, 224, 224, 224, 225, 225, 226, 226,
+ 226, 226, 227, 228, 228, 229, 230, 230, 231, 232,
+ 233, 233, 234, 234, 234, 234, 234, 234, 234, 234,
+ 234, 234, 234, 235, 235, 235, 235, 236, 236, 237,
+ 238, 238, 239, 239, 240, 241, 241, 241, 242, 242,
+ 242, 242, 242, 242, 242, 242, 242, 243, 243, 244,
+ 245, 245, 246, 246, 246, 246, 246, 247, 247, 248,
+ 248, 249, 249, 249, 249, 249, 249, 249, 249, 249,
+ 249, 249, 249, 249, 249, 249, 250, 250, 251, 251,
+ 251, 251, 251, 251, 251, 251, 251
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
@@ -1996,20 +2004,20 @@ static const yytype_uint8 yyr2[] =
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,
- 1, 1, 1, 1, 0, 2, 6, 1, 0, 1,
- 2, 0, 3, 0, 3, 3, 3, 3, 0, 8,
- 0, 9, 0, 9, 5, 2, 3, 1, 3, 3,
- 3, 3, 1, 0, 5, 3, 1, 3, 1, 0,
- 10, 1, 1, 4, 1, 1, 2, 3, 0, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 3, 1,
- 5, 1, 1, 1, 1, 1, 1, 2, 1, 3,
- 2, 2, 3, 2, 0, 1, 2, 2, 3, 9,
- 9, 8, 14, 1, 1, 6, 5, 2, 6, 7,
- 4, 4, 6, 6, 0, 0, 3, 2, 1, 5,
- 5, 6, 6, 4, 6, 4, 4, 6, 6, 2,
- 8, 1, 1, 0, 3, 6, 3, 6, 2, 5,
- 7, 5, 4
+ 5, 8, 6, 6, 7, 7, 7, 7, 6, 8,
+ 8, 3, 1, 1, 1, 1, 0, 2, 6, 1,
+ 0, 1, 2, 0, 3, 0, 3, 3, 3, 3,
+ 0, 8, 0, 9, 0, 9, 5, 2, 3, 1,
+ 3, 3, 3, 3, 1, 0, 5, 3, 1, 3,
+ 1, 0, 10, 1, 1, 4, 1, 1, 2, 3,
+ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 3, 1, 5, 1, 1, 1, 1, 1, 1, 2,
+ 1, 3, 2, 2, 3, 2, 0, 1, 2, 2,
+ 3, 9, 9, 8, 14, 1, 1, 6, 5, 2,
+ 6, 7, 4, 4, 6, 6, 0, 0, 3, 2,
+ 1, 5, 5, 6, 6, 6, 6, 4, 6, 4,
+ 4, 6, 6, 2, 8, 1, 1, 0, 3, 6,
+ 3, 6, 2, 5, 7, 5, 4
};