aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-04 17:18:47 +0000
committerChris Lattner <sabre@nondot.org>2008-05-04 17:18:47 +0000
commitcc81d156052745ca4d309f87f00a345be65a0f77 (patch)
tree6233487e8e91106c09d8dfe4c748fd00873858a7 /lib/AsmParser/llvmAsmParser.cpp.cvs
parent16c1f44d91211a225497062ea508d58fd25085a9 (diff)
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs2560
1 files changed, 1264 insertions, 1296 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index fe6fb68713..6d924c4a7e 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -139,90 +139,89 @@
X86_STDCALLCC_TOK = 320,
X86_FASTCALLCC_TOK = 321,
DATALAYOUT = 322,
- UNWINDS = 323,
- RET = 324,
- BR = 325,
- SWITCH = 326,
- INVOKE = 327,
- UNWIND = 328,
- UNREACHABLE = 329,
- ADD = 330,
- SUB = 331,
- MUL = 332,
- UDIV = 333,
- SDIV = 334,
- FDIV = 335,
- UREM = 336,
- SREM = 337,
- FREM = 338,
- AND = 339,
- OR = 340,
- XOR = 341,
- SHL = 342,
- LSHR = 343,
- ASHR = 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,
- VAARG = 387,
- EXTRACTELEMENT = 388,
- INSERTELEMENT = 389,
- SHUFFLEVECTOR = 390,
- GETRESULT = 391,
- SIGNEXT = 392,
- ZEROEXT = 393,
- NORETURN = 394,
- INREG = 395,
- SRET = 396,
- NOUNWIND = 397,
- NOALIAS = 398,
- BYVAL = 399,
- NEST = 400,
- READNONE = 401,
- READONLY = 402,
- GC = 403,
- DEFAULT = 404,
- HIDDEN = 405,
- PROTECTED = 406
+ RET = 323,
+ BR = 324,
+ SWITCH = 325,
+ INVOKE = 326,
+ UNWIND = 327,
+ UNREACHABLE = 328,
+ ADD = 329,
+ SUB = 330,
+ MUL = 331,
+ UDIV = 332,
+ SDIV = 333,
+ FDIV = 334,
+ UREM = 335,
+ SREM = 336,
+ FREM = 337,
+ AND = 338,
+ OR = 339,
+ XOR = 340,
+ SHL = 341,
+ LSHR = 342,
+ 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
};
#endif
/* Tokens. */
@@ -291,96 +290,95 @@
#define X86_STDCALLCC_TOK 320
#define X86_FASTCALLCC_TOK 321
#define DATALAYOUT 322
-#define UNWINDS 323
-#define RET 324
-#define BR 325
-#define SWITCH 326
-#define INVOKE 327
-#define UNWIND 328
-#define UNREACHABLE 329
-#define ADD 330
-#define SUB 331
-#define MUL 332
-#define UDIV 333
-#define SDIV 334
-#define FDIV 335
-#define UREM 336
-#define SREM 337
-#define FREM 338
-#define AND 339
-#define OR 340
-#define XOR 341
-#define SHL 342
-#define LSHR 343
-#define ASHR 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 VAARG 387
-#define EXTRACTELEMENT 388
-#define INSERTELEMENT 389
-#define SHUFFLEVECTOR 390
-#define GETRESULT 391
-#define SIGNEXT 392
-#define ZEROEXT 393
-#define NORETURN 394
-#define INREG 395
-#define SRET 396
-#define NOUNWIND 397
-#define NOALIAS 398
-#define BYVAL 399
-#define NEST 400
-#define READNONE 401
-#define READONLY 402
-#define GC 403
-#define DEFAULT 404
-#define HIDDEN 405
-#define PROTECTED 406
+#define RET 323
+#define BR 324
+#define SWITCH 325
+#define INVOKE 326
+#define UNWIND 327
+#define UNREACHABLE 328
+#define ADD 329
+#define SUB 330
+#define MUL 331
+#define UDIV 332
+#define SDIV 333
+#define FDIV 334
+#define UREM 335
+#define SREM 336
+#define FREM 337
+#define AND 338
+#define OR 339
+#define XOR 340
+#define SHL 341
+#define LSHR 342
+#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
/* Copy the first part of user declarations. */
-#line 14 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 14 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -887,7 +885,7 @@ static Value *getVal(const Type *Ty, const ValID &ID) {
/// defineBBVal - This is a definition of a new basic block with the specified
/// identifier which must be the same as CurFun.NextValNum, if its numeric.
-static BasicBlock *defineBBVal(const ValID &ID, BasicBlock *unwindDest) {
+static BasicBlock *defineBBVal(const ValID &ID) {
assert(inFunctionScope() && "Can't get basic block at global scope!");
BasicBlock *BB = 0;
@@ -929,7 +927,6 @@ static BasicBlock *defineBBVal(const ValID &ID, BasicBlock *unwindDest) {
}
ID.destroy();
- BB->setUnwindDest(unwindDest);
return BB;
}
@@ -1337,7 +1334,7 @@ Module *llvm::RunVMAsmParser(llvm::MemoryBuffer *MB) {
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
-#line 950 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 949 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
@@ -1385,7 +1382,7 @@ typedef union YYSTYPE
llvm::FCmpInst::Predicate FPredicate;
}
/* Line 193 of yacc.c. */
-#line 1389 "llvmAsmParser.tab.c"
+#line 1386 "llvmAsmParser.tab.c"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
@@ -1398,7 +1395,7 @@ typedef union YYSTYPE
/* Line 216 of yacc.c. */
-#line 1402 "llvmAsmParser.tab.c"
+#line 1399 "llvmAsmParser.tab.c"
#ifdef short
# undef short
@@ -1613,20 +1610,20 @@ union yyalloc
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 43
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 2015
+#define YYLAST 1978
/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 166
+#define YYNTOKENS 165
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 85
/* YYNRULES -- Number of rules. */
-#define YYNRULES 324
+#define YYNRULES 322
/* YYNRULES -- Number of states. */
-#define YYNSTATES 635
+#define YYNSTATES 629
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 406
+#define YYMAXUTOK 405
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
@@ -1638,15 +1635,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,
- 152, 153, 156, 2, 155, 2, 2, 2, 2, 2,
+ 151, 152, 155, 2, 154, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 161, 154, 162, 2, 2, 2, 2, 2, 2, 2,
+ 160, 153, 161, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 158, 157, 160, 2, 2, 2, 2, 2, 165,
+ 2, 157, 156, 159, 2, 2, 2, 2, 2, 164,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 159, 2, 2, 163, 2, 164, 2, 2, 2, 2,
+ 158, 2, 2, 162, 2, 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, 2, 2, 2, 2, 2, 2,
@@ -1674,7 +1671,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, 151
+ 145, 146, 147, 148, 149, 150
};
#if YYDEBUG
@@ -1709,158 +1706,157 @@ static const yytype_uint16 yyprhs[] =
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, 765, 767, 772, 775,
- 778, 782, 792, 802, 811, 826, 828, 830, 837, 843,
- 846, 853, 861, 866, 871, 878, 885, 886, 887, 891,
- 894, 896, 902, 908, 915, 922, 927, 934, 939, 944,
- 951, 958, 961, 970, 972, 974, 975, 979, 986, 990,
- 997, 1000, 1006, 1014, 1020
+ 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
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
- 212, 0, -1, 75, -1, 76, -1, 77, -1, 78,
- -1, 79, -1, 80, -1, 81, -1, 82, -1, 83,
- -1, 87, -1, 88, -1, 89, -1, 84, -1, 85,
- -1, 86, -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, 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, 26, -1, 27, -1, 11,
+ 211, 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, 12, -1, 13, -1, 16, -1, 15, -1, 14,
- -1, 19, -1, 22, -1, 24, -1, 174, -1, -1,
- 54, 152, 4, 153, -1, -1, 174, 154, -1, -1,
- 20, -1, 23, -1, 180, -1, -1, 178, 154, -1,
+ -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,
42, -1, 44, -1, 43, -1, 45, -1, 47, -1,
- 46, -1, 48, -1, 50, -1, -1, 149, -1, 150,
- -1, 151, -1, -1, 46, -1, 48, -1, -1, 42,
+ 46, -1, 48, -1, 50, -1, -1, 148, -1, 149,
+ -1, 150, -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, 138, -1, 119, -1,
- 137, -1, 120, -1, 140, -1, 141, -1, 143, -1,
- 144, -1, 145, -1, 53, 4, -1, -1, 189, 188,
- -1, 139, -1, 142, -1, 138, -1, 137, -1, 146,
- -1, 147, -1, -1, 191, 190, -1, -1, 148, 22,
- -1, -1, 53, 4, -1, -1, 155, 53, 4, -1,
- 34, 22, -1, -1, 195, -1, -1, 155, 198, 197,
- -1, 195, -1, 53, 4, -1, 11, -1, 12, -1,
+ -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,
13, -1, 16, -1, 15, -1, 14, -1, 17, -1,
- 49, -1, 199, -1, 200, 176, 156, -1, 234, -1,
- 157, 4, -1, 200, 152, 204, 153, 191, -1, 10,
- 152, 204, 153, 191, -1, 158, 4, 159, 200, 160,
- -1, 161, 4, 159, 200, 162, -1, 163, 205, 164,
- -1, 163, 164, -1, 161, 163, 205, 164, 162, -1,
- 161, 163, 164, 162, -1, 200, 189, -1, 200, -1,
- 10, -1, 201, -1, 203, 155, 201, -1, 203, -1,
- 203, 155, 39, -1, 39, -1, -1, 200, -1, 205,
- 155, 200, -1, 200, 158, 208, 160, -1, 200, 158,
- 160, -1, 200, 165, 22, -1, 200, 161, 208, 162,
- -1, 200, 163, 208, 164, -1, 200, 163, 164, -1,
- 200, 161, 163, 208, 164, 162, -1, 200, 161, 163,
- 164, 162, -1, 200, 40, -1, 200, 41, -1, 200,
- 234, -1, 200, 207, -1, 200, 25, -1, 172, 3,
- -1, 172, 5, -1, 172, 4, -1, 172, 6, -1,
- 11, 26, -1, 11, 27, -1, 173, 9, -1, 169,
- 152, 206, 38, 200, 153, -1, 117, 152, 206, 246,
- 153, -1, 131, 152, 206, 155, 206, 155, 206, 153,
- -1, 167, 152, 206, 155, 206, 153, -1, 168, 152,
- 206, 155, 206, 153, -1, 90, 170, 152, 206, 155,
- 206, 153, -1, 91, 171, 152, 206, 155, 206, 153,
- -1, 133, 152, 206, 155, 206, 153, -1, 134, 152,
- 206, 155, 206, 155, 206, 153, -1, 135, 152, 206,
- 155, 206, 155, 206, 153, -1, 208, 155, 206, -1,
- 206, -1, 32, -1, 33, -1, 37, -1, -1, 202,
- 234, -1, 123, 152, 211, 38, 200, 153, -1, 213,
- -1, -1, 214, -1, 213, 214, -1, -1, 31, 215,
- 230, -1, -1, 30, 216, 231, -1, 59, 58, 220,
- -1, 177, 18, 200, -1, 177, 18, 10, -1, -1,
- 179, 183, 210, 209, 206, 176, 217, 197, -1, -1,
- 179, 181, 183, 210, 209, 206, 176, 218, 197, -1,
- -1, 179, 182, 183, 210, 209, 200, 176, 219, 197,
- -1, 179, 183, 35, 186, 211, -1, 51, 221, -1,
- 55, 154, 222, -1, 22, -1, 52, 154, 22, -1,
- 67, 154, 22, -1, 158, 223, 160, -1, 223, 155,
- 22, -1, 22, -1, -1, 224, 155, 200, 189, 175,
- -1, 200, 189, 175, -1, 224, -1, 224, 155, 39,
- -1, 39, -1, -1, 187, 202, 178, 152, 225, 153,
- 191, 196, 193, 192, -1, 28, -1, 163, -1, 185,
- 183, 226, 227, -1, 29, -1, 164, -1, 238, 229,
- -1, 184, 183, 226, -1, -1, 60, -1, 3, -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, 161, 208, 162, -1, 207, -1,
- 58, 232, 22, 155, 22, -1, 7, -1, 8, -1,
- 174, -1, 178, -1, 234, -1, 233, -1, 200, 235,
- -1, 236, -1, 237, 155, 236, -1, 238, 239, -1,
- 228, 239, -1, 240, 177, 241, -1, 240, 243, -1,
- -1, 68, 38, 235, -1, 21, -1, 21, 68, 38,
- 235, -1, 69, 237, -1, 69, 10, -1, 70, 17,
- 235, -1, 70, 11, 235, 155, 17, 235, 155, 17,
- 235, -1, 71, 172, 235, 155, 17, 235, 158, 242,
- 160, -1, 71, 172, 235, 155, 17, 235, 158, 160,
- -1, 72, 187, 202, 235, 152, 245, 153, 191, 38,
- 17, 235, 73, 17, 235, -1, 73, -1, 74, -1,
- 242, 172, 233, 155, 17, 235, -1, 172, 233, 155,
- 17, 235, -1, 177, 248, -1, 200, 158, 235, 155,
- 235, 160, -1, 244, 155, 158, 235, 155, 235, 160,
- -1, 200, 189, 235, 189, -1, 17, 189, 235, 189,
- -1, 245, 155, 200, 189, 235, 189, -1, 245, 155,
- 17, 189, 235, 189, -1, -1, -1, 246, 155, 236,
- -1, 57, 56, -1, 56, -1, 167, 200, 235, 155,
- 235, -1, 168, 200, 235, 155, 235, -1, 90, 170,
- 200, 235, 155, 235, -1, 91, 171, 200, 235, 155,
- 235, -1, 169, 236, 38, 200, -1, 131, 236, 155,
- 236, 155, 236, -1, 132, 236, 155, 200, -1, 133,
- 236, 155, 236, -1, 134, 236, 155, 236, 155, 236,
- -1, 135, 236, 155, 236, 155, 236, -1, 130, 244,
- -1, 247, 187, 202, 235, 152, 245, 153, 191, -1,
- 250, -1, 36, -1, -1, 112, 200, 194, -1, 112,
- 200, 155, 11, 235, 194, -1, 113, 200, 194, -1,
- 113, 200, 155, 11, 235, 194, -1, 114, 236, -1,
- 249, 115, 200, 235, 194, -1, 249, 116, 236, 155,
- 200, 235, 194, -1, 136, 200, 235, 155, 4, -1,
- 117, 200, 235, 246, -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
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
- 0, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112,
- 1112, 1113, 1113, 1113, 1113, 1113, 1113, 1114, 1114, 1114,
- 1114, 1114, 1114, 1115, 1115, 1115, 1115, 1115, 1115, 1118,
- 1118, 1119, 1119, 1120, 1120, 1121, 1121, 1122, 1122, 1126,
- 1126, 1127, 1127, 1128, 1128, 1129, 1129, 1130, 1130, 1131,
- 1131, 1132, 1132, 1133, 1134, 1139, 1140, 1140, 1140, 1140,
- 1140, 1142, 1142, 1142, 1143, 1143, 1145, 1146, 1150, 1154,
- 1159, 1159, 1161, 1162, 1167, 1173, 1174, 1175, 1176, 1177,
- 1181, 1182, 1183, 1187, 1188, 1189, 1190, 1194, 1195, 1196,
- 1200, 1201, 1202, 1203, 1204, 1208, 1209, 1210, 1213, 1214,
- 1215, 1216, 1217, 1218, 1219, 1226, 1227, 1228, 1229, 1230,
- 1231, 1232, 1233, 1234, 1235, 1239, 1240, 1245, 1246, 1247,
- 1248, 1249, 1250, 1253, 1254, 1259, 1260, 1267, 1268, 1274,
- 1275, 1284, 1292, 1293, 1298, 1299, 1300, 1305, 1318, 1318,
- 1318, 1318, 1318, 1318, 1318, 1321, 1325, 1329, 1336, 1341,
- 1349, 1378, 1403, 1408, 1418, 1428, 1432, 1442, 1449, 1458,
- 1465, 1470, 1475, 1482, 1483, 1490, 1497, 1505, 1511, 1523,
- 1551, 1567, 1594, 1622, 1648, 1668, 1694, 1714, 1726, 1733,
- 1799, 1809, 1819, 1825, 1835, 1841, 1851, 1856, 1861, 1874,
- 1886, 1908, 1916, 1922, 1933, 1938, 1943, 1949, 1955, 1964,
- 1968, 1976, 1976, 1979, 1979, 1982, 1994, 2015, 2020, 2028,
- 2029, 2033, 2033, 2037, 2037, 2040, 2043, 2067, 2079, 2078,
- 2090, 2089, 2099, 2098, 2109, 2149, 2152, 2158, 2168, 2172,
- 2177, 2179, 2184, 2189, 2198, 2208, 2219, 2223, 2232, 2241,
- 2246, 2375, 2375, 2377, 2386, 2386, 2388, 2393, 2405, 2409,
- 2414, 2418, 2422, 2426, 2430, 2434, 2438, 2442, 2446, 2471,
- 2475, 2485, 2489, 2493, 2498, 2505, 2505, 2511, 2520, 2525,
- 2530, 2534, 2543, 2552, 2561, 2565, 2569, 2574, 2581, 2588,
- 2592, 2597, 2607, 2626, 2635, 2720, 2724, 2731, 2742, 2755,
- 2765, 2776, 2786, 2797, 2805, 2815, 2822, 2825, 2826, 2833,
- 2837, 2842, 2858, 2875, 2889, 2903, 2915, 2923, 2930, 2936,
- 2942, 2948, 2963, 3053, 3058, 3062, 3069, 3076, 3084, 3091,
- 3099, 3107, 3121, 3138, 3146
+ 0, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111,
+ 1111, 1112, 1112, 1112, 1112, 1112, 1112, 1113, 1113, 1113,
+ 1113, 1113, 1113, 1114, 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, 1139, 1139,
+ 1139, 1141, 1141, 1141, 1142, 1142, 1144, 1145, 1149, 1153,
+ 1158, 1158, 1160, 1161, 1166, 1172, 1173, 1174, 1175, 1176,
+ 1180, 1181, 1182, 1186, 1187, 1188, 1189, 1193, 1194, 1195,
+ 1199, 1200, 1201, 1202, 1203, 1207, 1208, 1209, 1212, 1213,
+ 1214, 1215, 1216, 1217, 1218, 1225, 1226, 1227, 1228, 1229,
+ 1230, 1231, 1232, 1233, 1234, 1238, 1239, 1244, 1245, 1246,
+ 1247, 1248, 1249, 1252, 1253, 1258, 1259, 1266, 1267, 1273,
+ 1274, 1283, 1291, 1292, 1297, 1298, 1299, 1304, 1317, 1317,
+ 1317, 1317, 1317, 1317, 1317, 1320, 1324, 1328, 1335, 1340,
+ 1348, 1377, 1402, 1407, 1417, 1427, 1431, 1441, 1448, 1457,
+ 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
};
#endif
@@ -1881,27 +1877,26 @@ static const char *const yytname[] =
"EXTERNAL", "TARGET", "TRIPLE", "ALIGN", "ADDRSPACE", "DEPLIBS", "CALL",
"TAIL", "ASM_TOK", "MODULE", "SIDEEFFECT", "CC_TOK", "CCC_TOK",
"FASTCC_TOK", "COLDCC_TOK", "X86_STDCALLCC_TOK", "X86_FASTCALLCC_TOK",
- "DATALAYOUT", "UNWINDS", "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",
+ "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",
"GlobalVarAttribute", "PrimType", "Types", "ArgType", "ResultTypes",
"ArgTypeList", "ArgTypeListI", "TypeListI", "ConstVal", "ConstExpr",
"ConstVector", "GlobalType", "ThreadLocal", "AliaseeRef", "Module",
@@ -1936,47 +1931,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, 406, 40, 41, 61, 44, 42, 92, 91, 120,
- 93, 60, 62, 123, 125, 99
+ 405, 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, 166, 167, 167, 167, 167, 167, 167, 167, 167,
- 167, 168, 168, 168, 168, 168, 168, 169, 169, 169,
+ 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, 171,
- 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
- 171, 171, 171, 171, 171, 172, 173, 173, 173, 173,
- 173, 174, 174, 174, 175, 175, 176, 176, 177, 177,
- 178, 178, 179, 179, 180, 181, 181, 181, 181, 181,
- 182, 182, 182, 183, 183, 183, 183, 184, 184, 184,
- 185, 185, 185, 185, 185, 186, 186, 186, 187, 187,
- 187, 187, 187, 187, 187, 188, 188, 188, 188, 188,
- 188, 188, 188, 188, 188, 189, 189, 190, 190, 190,
- 190, 190, 190, 191, 191, 192, 192, 193, 193, 194,
- 194, 195, 196, 196, 197, 197, 198, 198, 199, 199,
- 199, 199, 199, 199, 199, 200, 200, 200, 200, 200,
- 200, 200, 200, 200, 200, 200, 200, 200, 201, 202,
- 202, 203, 203, 204, 204, 204, 204, 205, 205, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
+ 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,