diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-25 22:27:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-25 22:27:16 +0000 |
commit | 0e9c376761e2704d4a18dc9228d9e6fa7ddf307c (patch) | |
tree | 46dbddcaeeb18d4c468e8472964876ffa33f6f3e /lib/AsmParser/llvmAsmParser.cpp | |
parent | aa2c85376611f7c458232845585912b541bdc680 (diff) |
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp | 1496 |
1 files changed, 760 insertions, 736 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp b/lib/AsmParser/llvmAsmParser.cpp index 6f814b4cc3..f7e57fe878 100644 --- a/lib/AsmParser/llvmAsmParser.cpp +++ b/lib/AsmParser/llvmAsmParser.cpp @@ -1,5 +1,5 @@ -/* A Bison parser, made from /Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y +/* A Bison parser, made from /Volumes/ProjectsDisk/cvs/llvm/lib/AsmParser/llvmAsmParser.y by GNU Bison version 1.28 */ #define YYBISON 1 /* Identify Bison output. */ @@ -68,51 +68,53 @@ #define TAIL 311 #define ASM_TOK 312 #define MODULE 313 -#define CC_TOK 314 -#define CCC_TOK 315 -#define FASTCC_TOK 316 -#define COLDCC_TOK 317 -#define RET 318 -#define BR 319 -#define SWITCH 320 -#define INVOKE 321 -#define UNWIND 322 -#define UNREACHABLE 323 -#define ADD 324 -#define SUB 325 -#define MUL 326 -#define DIV 327 -#define REM 328 -#define AND 329 -#define OR 330 -#define XOR 331 -#define SETLE 332 -#define SETGE 333 -#define SETLT 334 -#define SETGT 335 -#define SETEQ 336 -#define SETNE 337 -#define MALLOC 338 -#define ALLOCA 339 -#define FREE 340 -#define LOAD 341 -#define STORE 342 -#define GETELEMENTPTR 343 -#define PHI_TOK 344 -#define CAST 345 -#define SELECT 346 -#define SHL 347 -#define SHR 348 -#define VAARG 349 -#define EXTRACTELEMENT 350 -#define INSERTELEMENT 351 -#define VAARG_old 352 -#define VANEXT_old 353 - -#line 14 "/Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y" +#define SIDEEFFECT 314 +#define CC_TOK 315 +#define CCC_TOK 316 +#define FASTCC_TOK 317 +#define COLDCC_TOK 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 DIV 328 +#define REM 329 +#define AND 330 +#define OR 331 +#define XOR 332 +#define SETLE 333 +#define SETGE 334 +#define SETLT 335 +#define SETGT 336 +#define SETEQ 337 +#define SETNE 338 +#define MALLOC 339 +#define ALLOCA 340 +#define FREE 341 +#define LOAD 342 +#define STORE 343 +#define GETELEMENTPTR 344 +#define PHI_TOK 345 +#define CAST 346 +#define SELECT 347 +#define SHL 348 +#define SHR 349 +#define VAARG 350 +#define EXTRACTELEMENT 351 +#define INSERTELEMENT 352 +#define VAARG_old 353 +#define VANEXT_old 354 + +#line 14 "/Volumes/ProjectsDisk/cvs/llvm/lib/AsmParser/llvmAsmParser.y" #include "ParserInternals.h" #include "llvm/CallingConv.h" +#include "llvm/InlineAsm.h" #include "llvm/Instructions.h" #include "llvm/Module.h" #include "llvm/SymbolTable.h" @@ -415,6 +417,17 @@ static Value *getValNonImprovising(const Type *Ty, const ValID &D) { ThrowException("Constant expression type different from required type!"); return D.ConstantValue; + case ValID::InlineAsmVal: { // Inline asm expression + const PointerType *PTy = dyn_cast<PointerType>(Ty); + const FunctionType *FTy = + PTy ? dyn_cast<FunctionType>(PTy->getElementType()) : 0; + if (!FTy || !InlineAsm::Verify(FTy, D.IAD->Constraints)) + ThrowException("Invalid type for asm constraint string!"); + InlineAsm *IA = InlineAsm::get(FTy, D.IAD->AsmString, D.IAD->Constraints, + D.IAD->HasSideEffects); + D.destroy(); // Free InlineAsmDescriptor. + return IA; + } default: assert(0 && "Unhandled case!"); return 0; @@ -973,7 +986,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { } -#line 878 "/Users/sabre/cvs/llvm/lib/AsmParser/llvmAsmParser.y" +#line 890 "/Volumes/ProjectsDisk/cvs/llvm/lib/AsmParser/llvmAsmParser.y" typedef union { llvm::Module *ModuleVal; llvm::Function *FunctionVal; @@ -1023,26 +1036,26 @@ typedef union { -#define YYFINAL 467 +#define YYFINAL 473 #define YYFLAG -32768 -#define YYNTBASE 114 +#define YYNTBASE 115 -#define YYTRANSLATE(x) ((unsigned)(x) <= 353 ? yytranslate[x] : 184) +#define YYTRANSLATE(x) ((unsigned)(x) <= 354 ? yytranslate[x] : 186) static const char 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, 103, - 104, 112, 2, 101, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 108, - 100, 109, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 104, + 105, 113, 2, 102, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 109, + 101, 110, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 105, 102, 107, 2, 2, 2, 2, 2, 113, 2, + 106, 103, 108, 2, 2, 2, 2, 2, 114, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 106, - 2, 2, 110, 2, 111, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 107, + 2, 2, 111, 2, 112, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -1065,7 +1078,7 @@ static const char yytranslate[] = { 0, 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 + 97, 98, 99, 100 }; #if YYDEBUG != 0 @@ -1086,122 +1099,123 @@ static const short yyprhs[] = { 0, 372, 376, 381, 382, 384, 386, 388, 392, 396, 400, 404, 408, 410, 411, 413, 415, 417, 418, 421, 425, 427, 429, 433, 435, 436, 445, 447, 449, 453, 455, - 457, 460, 461, 465, 467, 469, 471, 473, 475, 477, - 479, 481, 485, 487, 489, 491, 493, 495, 498, 501, - 504, 508, 511, 512, 514, 517, 520, 524, 534, 544, - 553, 567, 569, 571, 578, 584, 587, 594, 602, 604, - 608, 610, 611, 614, 616, 622, 628, 634, 637, 642, - 647, 654, 659, 664, 669, 674, 681, 684, 692, 694, - 697, 698, 700, 701, 705, 712, 716, 723, 726, 731, - 738 + 457, 460, 461, 465, 466, 468, 470, 472, 474, 476, + 478, 480, 482, 484, 488, 490, 496, 498, 500, 502, + 504, 507, 510, 513, 517, 520, 521, 523, 526, 529, + 533, 543, 553, 562, 576, 578, 580, 587, 593, 596, + 603, 611, 613, 617, 619, 620, 623, 625, 631, 637, + 643, 646, 651, 656, 663, 668, 673, 678, 683, 690, + 693, 701, 703, 706, 707, 709, 710, 714, 721, 725, + 732, 735, 740, 747 }; static const short yyrhs[] = { 5, - 0, 6, 0, 3, 0, 4, 0, 70, 0, 71, - 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, - 0, 77, 0, 78, 0, 79, 0, 80, 0, 81, - 0, 82, 0, 83, 0, 93, 0, 94, 0, 16, + 0, 6, 0, 3, 0, 4, 0, 71, 0, 72, + 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, + 0, 78, 0, 79, 0, 80, 0, 81, 0, 82, + 0, 83, 0, 84, 0, 94, 0, 95, 0, 16, 0, 14, 0, 12, 0, 10, 0, 17, 0, 15, - 0, 13, 0, 11, 0, 120, 0, 121, 0, 18, - 0, 19, 0, 154, 100, 0, 0, 41, 0, 42, - 0, 43, 0, 44, 0, 0, 0, 61, 0, 62, - 0, 63, 0, 60, 4, 0, 0, 54, 4, 0, - 0, 101, 54, 4, 0, 34, 24, 0, 0, 129, - 0, 0, 101, 132, 131, 0, 129, 0, 54, 4, - 0, 135, 0, 8, 0, 137, 0, 8, 0, 137, + 0, 13, 0, 11, 0, 121, 0, 122, 0, 18, + 0, 19, 0, 155, 101, 0, 0, 41, 0, 42, + 0, 43, 0, 44, 0, 0, 0, 62, 0, 63, + 0, 64, 0, 61, 4, 0, 0, 54, 4, 0, + 0, 102, 54, 4, 0, 34, 24, 0, 0, 130, + 0, 0, 102, 133, 132, 0, 130, 0, 54, 4, + 0, 136, 0, 8, 0, 138, 0, 8, 0, 138, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, - 0, 19, 0, 20, 0, 21, 0, 45, 0, 136, - 0, 167, 0, 102, 4, 0, 134, 103, 139, 104, - 0, 105, 4, 106, 137, 107, 0, 108, 4, 106, - 137, 109, 0, 110, 138, 111, 0, 110, 111, 0, - 137, 112, 0, 137, 0, 138, 101, 137, 0, 138, - 0, 138, 101, 37, 0, 37, 0, 0, 135, 105, - 142, 107, 0, 135, 105, 107, 0, 135, 113, 24, - 0, 135, 108, 142, 109, 0, 135, 110, 142, 111, - 0, 135, 110, 111, 0, 135, 38, 0, 135, 39, - 0, 135, 167, 0, 135, 141, 0, 135, 26, 0, - 120, 115, 0, 121, 4, 0, 9, 27, 0, 9, - 28, 0, 123, 7, 0, 91, 103, 140, 36, 135, - 104, 0, 89, 103, 140, 181, 104, 0, 92, 103, - 140, 101, 140, 101, 140, 104, 0, 116, 103, 140, - 101, 140, 104, 0, 117, 103, 140, 101, 140, 104, - 0, 118, 103, 140, 101, 140, 104, 0, 119, 103, - 140, 101, 140, 104, 0, 96, 103, 140, 101, 140, - 104, 0, 142, 101, 140, 0, 140, 0, 32, 0, - 33, 0, 145, 0, 145, 163, 0, 145, 164, 0, - 145, 59, 58, 149, 0, 145, 25, 0, 146, 0, - 146, 124, 20, 133, 0, 146, 164, 0, 146, 59, - 58, 149, 0, 0, 146, 124, 125, 143, 140, 147, - 131, 0, 0, 146, 124, 47, 143, 135, 148, 131, - 0, 146, 48, 151, 0, 146, 55, 100, 152, 0, - 0, 24, 0, 53, 0, 52, 0, 50, 100, 150, - 0, 51, 100, 4, 0, 49, 100, 24, 0, 105, - 153, 107, 0, 153, 101, 24, 0, 24, 0, 0, - 22, 0, 24, 0, 154, 0, 0, 135, 155, 0, - 157, 101, 156, 0, 156, 0, 157, 0, 157, 101, - 37, 0, 37, 0, 0, 126, 133, 154, 103, 158, - 104, 130, 127, 0, 29, 0, 110, 0, 125, 159, - 160, 0, 30, 0, 111, 0, 170, 162, 0, 0, - 31, 165, 159, 0, 3, 0, 4, 0, 7, 0, - 27, 0, 28, 0, 38, 0, 39, 0, 26, 0, - 108, 142, 109, 0, 141, 0, 114, 0, 154, 0, - 167, 0, 166, 0, 135, 168, 0, 170, 171, 0, - 161, 171, 0, 172, 124, 173, 0, 172, 175, 0, - 0, 23, 0, 64, 169, 0, 64, 8, 0, 65, - 21, 168, 0, 65, 9, 168, 101, 21, 168, 101, - 21, 168, 0, 66, 122, 168, 101, 21, 168, 105, - 174, 107, 0, 66, 122, 168, 101, 21, 168, 105, - 107, 0, 67, 126, 133, 168, 103, 178, 104, 36, - 21, 168, 68, 21, 168, 0, 68, 0, 69, 0, - 174, 122, 166, 101, 21, 168, 0, 122, 166, 101, - 21, 168, 0, 124, 180, 0, 135, 105, 168, 101, - 168, 107, 0, 176, 101, 105, 168, 101, 168, 107, - 0, 169, 0, 177, 101, 169, 0, 177, 0, 0, - 57, 56, 0, 56, 0, 116, 135, 168, 101, 168, - 0, 117, 135, 168, 101, 168, 0, 118, 135, 168, - 101, 168, 0, 46, 169, 0, 119, 169, 101, 169, - 0, 91, 169, 36, 135, 0, 92, 169, 101, 169, - 101, 169, 0, 95, 169, 101, 135, 0, 98, 169, - 101, 135, 0, 99, 169, 101, 135, 0, 96, 169, - 101, 169, 0, 97, 169, 101, 169, 101, 169, 0, - 90, 176, 0, 179, 126, 133, 168, 103, 178, 104, - 0, 183, 0, 101, 177, 0, 0, 35, 0, 0, - 84, 135, 128, 0, 84, 135, 101, 15, 168, 128, - 0, 85, 135, 128, 0, 85, 135, 101, 15, 168, - 128, 0, 86, 169, 0, 182, 87, 135, 168, 0, - 182, 88, 169, 101, 135, 168, 0, 89, 135, 168, - 181, 0 + 0, 19, 0, 20, 0, 21, 0, 45, 0, 137, + 0, 169, 0, 103, 4, 0, 135, 104, 140, 105, + 0, 106, 4, 107, 138, 108, 0, 109, 4, 107, + 138, 110, 0, 111, 139, 112, 0, 111, 112, 0, + 138, 113, 0, 138, 0, 139, 102, 138, 0, 139, + 0, 139, 102, 37, 0, 37, 0, 0, 136, 106, + 143, 108, 0, 136, 106, 108, 0, 136, 114, 24, + 0, 136, 109, 143, 110, 0, 136, 111, 143, 112, + 0, 136, 111, 112, 0, 136, 38, 0, 136, 39, + 0, 136, 169, 0, 136, 142, 0, 136, 26, 0, + 121, 116, 0, 122, 4, 0, 9, 27, 0, 9, + 28, 0, 124, 7, 0, 92, 104, 141, 36, 136, + 105, 0, 90, 104, 141, 183, 105, 0, 93, 104, + 141, 102, 141, 102, 141, 105, 0, 117, 104, 141, + 102, 141, 105, 0, 118, 104, 141, 102, 141, 105, + 0, 119, 104, 141, 102, 141, 105, 0, 120, 104, + 141, 102, 141, 105, 0, 97, 104, 141, 102, 141, + 105, 0, 143, 102, 141, 0, 141, 0, 32, 0, + 33, 0, 146, 0, 146, 164, 0, 146, 165, 0, + 146, 59, 58, 150, 0, 146, 25, 0, 147, 0, + 147, 125, 20, 134, 0, 147, 165, 0, 147, 59, + 58, 150, 0, 0, 147, 125, 126, 144, 141, 148, + 132, 0, 0, 147, 125, 47, 144, 136, 149, 132, + 0, 147, 48, 152, 0, 147, 55, 101, 153, 0, + 0, 24, 0, 53, 0, 52, 0, 50, 101, 151, + 0, 51, 101, 4, 0, 49, 101, 24, 0, 106, + 154, 108, 0, 154, 102, 24, 0, 24, 0, 0, + 22, 0, 24, 0, 155, 0, 0, 136, 156, 0, + 158, 102, 157, 0, 157, 0, 158, 0, 158, 102, + 37, 0, 37, 0, 0, 127, 134, 155, 104, 159, + 105, 131, 128, 0, 29, 0, 111, 0, 126, 160, + 161, 0, 30, 0, 112, 0, 172, 163, 0, 0, + 31, 166, 160, 0, 0, 60, 0, 3, 0, 4, + 0, 7, 0, 27, 0, 28, 0, 38, 0, 39, + 0, 26, 0, 109, 143, 110, 0, 142, 0, 58, + 167, 24, 102, 24, 0, 115, 0, 155, 0, 169, + 0, 168, 0, 136, 170, 0, 172, 173, 0, 162, + 173, 0, 174, 125, 175, 0, 174, 177, 0, 0, + 23, 0, 65, 171, 0, 65, 8, 0, 66, 21, + 170, 0, 66, 9, 170, 102, 21, 170, 102, 21, + 170, 0, 67, 123, 170, 102, 21, 170, 106, 176, + 108, 0, 67, 123, 170, 102, 21, 170, 106, 108, + 0, 68, 127, 134, 170, 104, 180, 105, 36, 21, + 170, 69, 21, 170, 0, 69, 0, 70, 0, 176, + 123, 168, 102, 21, 170, 0, 123, 168, 102, 21, + 170, 0, 125, 182, 0, 136, 106, 170, 102, 170, + 108, 0, 178, 102, 106, 170, 102, 170, 108, 0, + 171, 0, 179, 102, 171, 0, 179, 0, 0, 57, + 56, 0, 56, 0, 117, 136, 170, 102, 170, 0, + 118, 136, 170, 102, 170, 0, 119, 136, 170, 102, + 170, 0, 46, 171, 0, 120, 171, 102, 171, 0, + 92, 171, 36, 136, 0, 93, 171, 102, 171, 102, + 171, 0, 96, 171, 102, 136, 0, 99, 171, 102, + 136, 0, 100, 171, 102, 136, 0, 97, 171, 102, + 171, 0, 98, 171, 102, 171, 102, 171, 0, 91, + 178, 0, 181, 127, 134, 170, 104, 180, 105, 0, + 185, 0, 102, 179, 0, 0, 35, 0, 0, 85, + 136, 129, 0, 85, 136, 102, 15, 170, 129, 0, + 86, 136, 129, 0, 86, 136, 102, 15, 170, 129, + 0, 87, 171, 0, 184, 88, 136, 170, 0, 184, + 89, 171, 102, 136, 170, 0, 90, 136, 170, 183, + 0 }; #endif #if YYDEBUG != 0 static const short yyrline[] = { 0, - 997, 998, 1005, 1006, 1015, 1015, 1015, 1015, 1015, 1016, - 1016, 1016, 1017, 1017, 1017, 1017, 1017, 1017, 1019, 1019, - 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1025, 1025, - 1026, 1026, 1029, 1032, 1036, 1036, 1037, 1038, 1039, 1042, - 1042, 1043, 1044, 1045, 1054, 1054, 1060, 1060, 1068, 1075, - 1075, 1081, 1081, 1083, 1087, 1100, 1100, 1101, 1101, 1103, - 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1113, 1113, 1113, - 1113, 1113, 1113, 1114, 1117, 1120, 1126, 1133, 1145, 1149, - 1160, 1169, 1172, 1180, 1184, 1189, 1190, 1193, 1196, 1206, - 1231, 1244, 1273, 1298, 1318, 1330, 1339, 1343, 1402, 1408, - 1416, 1421, 1426, 1429, 1432, 1439, 1449, 1480, 1487, 1508, - 1518, 1523, 1530, 1540, 1543, 1550, 1550, 1560, 1567, 1571, - 1574, 1577, 1580, 1593, 1613, 1615, 1617, 1620, 1623, 1627, - 1630, 1632, 1634, 1638, 1650, 1651, 1653, 1656, 1664, 1669, - 1671, 1675, 1679, 1687, 1687, 1688, 1688, 1690, 1696, 1701, - 1707, 1710, 1715, 1719, 1723, 1809, 1809, 1811, 1819, 1819, - 1821, 1825, 1825, 1834, 1837, 1840, 1843, 1846, 1849, 1852, - 1855, 1858, 1882, 1889, 1892, 1897, 1897, 1903, 1907, 1910, - 1918, 1927, 1931, 1941, 1952, 1955, 1958, 1961, 1964, 1978, - 1982, 2035, 2038, 2044, 2052, 2062, 2069, 2074, 2081, 2085, - 2091, 2091, 2093, 2096, 2102, 2114, 2125, 2135, 2147, 2154, - 2161, 2168, 2173, 2192, 2214, 2222, 2234, 2248, 2305, 2311, - 2313, 2317, 2320, 2326, 2330, 2334, 2338, 2342, 2349, 2359, - 2372 + 1010, 1011, 1018, 1019, 1028, 1028, 1028, 1028, 1028, 1029, + 1029, 1029, 1030, 1030, 1030, 1030, 1030, 1030, 1032, 1032, + 1036, 1036, 1036, 1036, 1037, 1037, 1037, 1037, 1038, 1038, + 1039, 1039, 1042, 1045, 1049, 1049, 1050, 1051, 1052, 1055, + 1055, 1056, 1057, 1058, 1067, 1067, 1073, 1073, 1081, 1088, + 1088, 1094, 1094, 1096, 1100, 1113, 1113, 1114, 1114, 1116, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1126, 1126, 1126, + 1126, 1126, 1126, 1127, 1130, 1133, 1139, 1146, 1158, 1162, + 1173, 1182, 1185, 1193, 1197, 1202, 1203, 1206, 1209, 1219, + 1244, 1257, 1286, 1311, 1331, 1343, 1352, 1356, 1415, 1421, + 1429, 1434, 1439, 1442, 1445, 1452, 1462, 1493, 1500, 1521, + 1531, 1536, 1543, 1553, 1556, 1563, 1563, 1573, 1580, 1584, + 1587, 1590, 1593, 1606, 1626, 1628, 1630, 1633, 1636, 1640, + 1643, 1645, 1647, 1651, 1663, 1664, 1666, 1669, 1677, 1682, + 1684, 1688, 1692, 1700, 1700, 1701, 1701, 1703, 1709, 1714, + 1720, 1723, 1728, 1732, 1736, 1822, 1822, 1824, 1832, 1832, + 1834, 1838, 1838, 1847, 1850, 1854, 1857, 1860, 1863, 1866, + 1869, 1872, 1875, 1878, 1902, 1905, 1918, 1921, 1926, 1926, + 1932, 1936, 1939, 1947, 1956, 1960, 1970, 1981, 1984, 1987, + 1990, 1993, 2007, 2011, 2064, 2067, 2073, 2081, 2091, 2098, + 2103, 2110, 2114, 2120, 2120, 2122, 2125, 2131, 2143, 2154, + 2164, 2176, 2183, 2190, 2197, 2202, 2221, 2243, 2251, 2263, + 2277, 2334, 2340, 2342, 2346, 2349, 2355, 2359, 2363, 2367, + 2371, 2378, 2388, 2401 }; #endif @@ -1215,8 +1229,8 @@ static const char * const yytname[] = { "$","error","$undefined.","ESINT64VAL" "BEGINTOK","ENDTOK","DECLARE","GLOBAL","CONSTANT","SECTION","VOLATILE","TO", "DOTDOTDOT","NULL_TOK","UNDEF","CONST","INTERNAL","LINKONCE","WEAK","APPENDING", "OPAQUE","NOT","EXTERNAL","TARGET","TRIPLE","ENDIAN","POINTERSIZE","LITTLE", -"BIG","ALIGN","DEPLIBS","CALL","TAIL","ASM_TOK","MODULE","CC_TOK","CCC_TOK", -"FASTCC_TOK","COLDCC_TOK","RET","BR","SWITCH","INVOKE","UNWIND","UNREACHABLE", +"BIG","ALIGN","DEPLIBS","CALL","TAIL","ASM_TOK","MODULE","SIDEEFFECT","CC_TOK", +"CCC_TOK","FASTCC_TOK","COLDCC_TOK","RET","BR","SWITCH","INVOKE","UNWIND","UNREACHABLE", "ADD","SUB","MUL","DIV","REM","AND","OR","XOR","SETLE","SETGE","SETLT","SETGT", "SETEQ","SETNE","MALLOC","ALLOCA","FREE","LOAD","STORE","GETELEMENTPTR","PHI_TOK", "CAST","SELECT","SHL","SHR","VAARG","EXTRACTELEMENT","INSERTELEMENT","VAARG_old", @@ -1228,38 +1242,38 @@ static const char * const yytname[] = { "$","error","$undefined.","ESINT64VAL" "ArgTypeListI","ConstVal","ConstExpr","ConstVector","GlobalType","Module","FunctionList", "ConstPool","@1","@2","AsmBlock","BigOrLittle","TargetDefinition","LibrariesDefinition", "LibList","Name","OptName","ArgVal","ArgListH","ArgList","FunctionHeaderH","BEGIN", -"FunctionHeader","END","Function","FunctionProto","@3","ConstValueRef","SymbolicValueRef", -"ValueRef","ResolvedVal","BasicBlockList","BasicBlock","InstructionList","BBTerminatorInst", -"JumpTable","Inst","PHIList","ValueRefList","ValueRefListE","OptTailCall","InstVal", -"IndexList","OptVolatile","MemoryInst", NULL +"FunctionHeader","END","Function","FunctionProto","@3","OptSideEffect","ConstValueRef", +"SymbolicValueRef","ValueRef","ResolvedVal","BasicBlockList","BasicBlock","InstructionList", +"BBTerminatorInst","JumpTable","Inst","PHIList","ValueRefList","ValueRefListE", +"OptTailCall","InstVal","IndexList","OptVolatile","MemoryInst", NULL }; #endif static const short yyr1[] = { 0, - 114, 114, 115, 115, 116, 116, 116, 116, 116, 117, - 117, 117, 118, 118, 118, 118, 118, 118, 119, 119, - 120, 120, 120, 120, 121, 121, 121, 121, 122, 122, - 123, 123, 124, 124, 125, 125, 125, 125, 125, 126, - 126, 126, 126, 126, 127, 127, 128, 128, 129, 130, - 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 137, 137, 137, 137, 137, 137, 137, - 137, 137, 137, 138, 138, 139, 139, 139, 139, 140, - 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 140, 140, 141, 141, 141, 141, 141, - 141, 141, 141, 142, 142, 143, 143, 144, 145, 145, - 145, 145, 145, 146, 146, 146, 147, 146, 148, 146, - 146, 146, 146, 149, 150, 150, 151, 151, 151, 152, - 153, 153, 153, 154, 154, 155, 155, 156, 157, 157, - 158, 158, 158, 158, 159, 160, 160, 161, 162, 162, - 163, 165, 164, 166, 166, 166, 166, 166, 166, 166, - 166, 166, 166, 167, 167, 168, 168, 169, 170, 170, - 171, 172, 172, 172, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 174, 174, 175, 176, 176, 177, 177, - 178, 178, 179, 179, 180, 180, 180, 180, 180, 180, - 180, 180, 180, 180, 180, 180, 180, 180, 180, 181, - 181, 182, 182, 183, 183, 183, 183, 183, 183, 183, - 183 + 115, 115, 116, 116, 117, 117, 117, 117, 117, 118, + 118, 118, 119, 119, 119, 119, 119, 119, 120, 120, + 121, 121, 121, 121, 122, 122, 122, 122, 123, 123, + 124, 124, 125, 125, 126, 126, 126, 126, 126, 127, + 127, 127, 127, 127, 128, 128, 129, 129, 130, 131, + 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 138, 138, 138, 138, 138, 138, 138, + 138, 138, 138, 139, 139, 140, 140, 140, 140, 141, + 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, + 141, 141, 141, 141, 141, 142, 142, 142, 142, 142, + 142, 142, 142, 143, 143, 144, 144, 145, 146, 146, + 146, 146, 146, 147, 147, 147, 148, 147, 149, 147, + 147, 147, 147, 150, 151, 151, 152, 152, 152, 153, + 154, 154, 154, 155, 155, 156, 156, 157, 158, 158, + 159, 159, 159, 159, 160, 161, 161, 162, 163, 163, + 164, 166, 165, 167, 167, 168, 168, 168, 168, 168, + 168, 168, 168, 168, 168, 168, 169, 169, 170, 170, + 171, 172, 172, 173, 174, 174, 174, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 176, 176, 177, 178, + 178, 179, 179, 180, 180, 181, 181, 182, 182, 182, + 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, + 182, 182, 183, 183, 184, 184, 185, 185, 185, 185, + 185, 185, 185, 185 }; static const short yyr2[] = { 0, @@ -1279,229 +1293,223 @@ static const short yyr2[] = { 0, 3, 4, 0, 1, 1, 1, 3, 3, 3, 3, 3, 1, 0, 1, 1, 1, 0, 2, 3, 1, 1, 3, 1, 0, 8, 1, 1, 3, 1, 1, - 2, 0, 3, 1, 1, 1, 1, 1, 1, 1, - 1, 3, 1, 1, 1, 1, 1, 2, 2, 2, - 3, 2, 0, 1, 2, 2, 3, 9, 9, 8, - 13, 1, 1, 6, 5, 2, 6, 7, 1, 3, - 1, 0, 2, 1, 5, 5, 5, 2, 4, 4, - 6, 4, 4, 4, 4, 6, 2, 7, 1, 2, - 0, 1, 0, 3, 6, 3, 6, 2, 4, 6, - 4 + 2, 0, 3, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 3, 1, 5, 1, 1, 1, 1, + 2, 2, 2, 3, 2, 0, 1, 2, 2, 3, + 9, 9, 8, 13, 1, 1, 6, 5, 2, 6, + 7, 1, 3, 1, 0, 2, 1, 5, 5, 5, + 2, 4, 4, 6, 4, 4, 4, 4, 6, 2, + 7, 1, 2, 0, 1, 0, 3, 6, 3, 6, + 2, 4, 6, 4 }; static const short yydefact[] = { 133, 39, 123, 122, 162, 35, 36, 37, 38, 0, 40, - 183, 119, 120, 183, 144, 145, 0, 0, 0, 39, + 186, 119, 120, 186, 144, 145, 0, 0, 0, 39, 0, 125, 40, 0, 0, 41, 42, 43, 0, 0, - 184, 180, 34, 159, 160, 161, 179, 0, 0, 0, + 187, 183, 34, 159, 160, 161, 182, 0, 0, 0, 131, 0, 0, 0, 0, 0, 33, 163, 134, 121, 44, 1, 2, 57, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 0, 0, - 0, 0, 174, 0, 0, 56, 75, 60, 175, 76, - 156, 157, 158, 223, 182, 0, 0, 0, 143, 132, + 0, 0, 177, 0, 0, 56, 75, 60, 178, 76, + 156, 157, 158, 226, 185, 0, 0, 0, 143, 132, 126, 124, 116, 117, 0, 0, 77, 0, 0, 59, - 82, 84, 0, 0, 89, 83, 222, 0, 204, 0, - 0, 0, 0, 40, 192, 193, 5, 6, 7, 8, + 82, 84, 0, 0, 89, 83, 225, 0, 207, 0, + 0, 0, 0, 40, 195, 196, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 181, 40, - 196, 0, 219, 139, 136, 135, 137, 138, 142, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 184, 40, + 199, 0, 222, 139, 136, 135, 137, 138, 142, 0, 129, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 0, 0, 0, 0, 127, 0, 0, 0, - 81, 154, 88, 86, 0, 0, 208, 203, 186, 185, + 81, 154, 88, 86, 0, 0, 211, 206, 189, 188, 0, 0, 24, 28, 23, 27, 22, 26, 21, 25, - 29, 30, 0, 0, 47, 47, 228, 0, 0, 217, + 29, 30, 0, 0, 47, 47, 231, 0, 0, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 140, 52, 103, 104, 3, 4, 101, 102, 105, 100, 96, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 99, 98, 52, 58, 58, 85, 153, 147, 150, 151, 0, - 0, 78, 164, 165, 166, 171, 167, 168, 169, 170, - 0, 173, 177, 176, 178, 0, 187, 0, 0, 0, - 224, 0, 226, 221, 0, 0, 0, 0, 0, 0, + 0, 78, 166, 167, 168, 173, 169, 170, 171, 172, + 164, 0, 175, 180, 179, 181, 0, 190, 0, 0, + 0, 227, 0, 229, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 141, 0, 130, 0, 0, 0, 0, 91, 115, 0, - 0, 95, 0, 92, 0, 0, 0, 0, 128, 79, - 80, 146, 148, 0, 50, 87, 0, 0, 0, 0, - 0, 0, 0, 0, 231, 0, 0, 210, 0, 212, - 215, 0, 213, 214, 0, 0, 0, 209, 0, 229, - 0, 0, 0, 54, 52, 221, 0, 0, 0, 0, - 90, 93, 94, 0, 0, 0, 0, 152, 149, 51, - 45, 172, 0, 0, 202, 47, 48, 47, 199, 220, - 0, 0, 0, 0, 205, 206, 207, 202, 0, 49, - 55, 53, 0, 0, 0, 0, 114, 0, 0, 0, - 0, 0, 155, 0, 0, 201, 0, 0, 225, 227, - 0, 0, 0, 211, 216, 0, 230, 107, 0, 0, - 0, 0, 0, 0, 0, 46, 0, 0, 0, 200, - 197, 0, 218, 106, 0, 113, 109, 110, 111, 112, - 0, 190, 0, 0, 0, 198, 0, 188, 0, 189, - 0, 0, 108, 0, 0, 0, 0, 0, 0, 195, - 0, 0, 194, 191, 0, 0, 0 + 0, 141, 0, 130, 0, 0, 0, 0, 91, 115, + 0, 0, 95, 0, 92, 0, 0, 0, 0, 128, + 79, 80, 146, 148, 0, 50, 87, 165, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 234, 0, 0, + 213, 0, 215, 218, 0, 216, 217, 0, 0, 0, + 212, 0, 232, 0, 0, 0, 54, 52, 224, 0, + 0, 0, 0, 90, 93, 94, 0, 0, 0, 0, + 152, 149, 51, 45, 0, 174, 0, 0, 205, 47, + 48, 47, 202, 223, 0, 0, 0, 0, 208, 209, + 210, 205, 0, 49, 55, 53, 0, 0, 0, 0, + 114, 0, 0, 0, 0, 0, 155, 0, 0, 0, + 204, 0, 0, 228, 230, 0, 0, 0, 214, 219, + 0, 233, 107, 0, 0, 0, 0, 0, 0, 0, + 46, 176, 0, 0, 0, 203, 200, 0, 221, 106, + 0, 113, 109, 110, 111, 112, 0, 193, 0, 0, + 0, 201, 0, 191, 0, 192, 0, 0, 108, 0, + 0, 0, 0, 0, 0, 198, 0, 0, 197, 194, + 0, 0, 0 }; static const short yydefgoto[] = { 73, 232, 246, 247, 248, 249, 173, 174, 203, 175, 20, - 10, 29, 403, 281, 354, 371, 303, 355, 74, 75, - 186, 77, 78, 103, 185, 309, 272, 310, 95, 465, + 10, 29, 407, 282, 357, 374, 304, 358, 74, 75, + 186, 77, 78, 103, 185, 310, 273, 311, 95, 471, 1, 2, 252, 227, 50, 157, 41, 90, 160, 79, - 323, 258, 259, 260, 30, 83, 11, 36, 12, 13, - 23, 273, 80, 275, 379, 14, 32, 33, 149, 444, - 85, 210, 406, 407, 150, 151, 335, 152, 153 + 324, 258, 259, 260, 30, 83, 11, 36, 12, 13, + 23, 329, 274, 80, 276, 383, 14, 32, 33, 149, + 450, 85, 210, 411, 412, 150, 151, 338, 152, 153 }; static const short yypact[] = {-32768, - 37, 361,-32768,-32768,-32768,-32768,-32768,-32768, -44, 49, - 38,-32768,-32768, 3,-32768,-32768, 70, -2, 42, 50, - 4,-32768, 49, 89, 125,-32768,-32768,-32768, 1054, -21, --32768,-32768, 64,-32768,-32768,-32768,-32768, 26, 45, 47, --32768, 69, 89, 1054, 117, 117,-32768,-32768,-32768,-32768, --32768,-32768,-32768, 73,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 174, 179, - 180, 122,-32768, 64, 82,-32768,-32768, -27,-32768,-32768, --32768,-32768,-32768, 1215,-32768, 163, -25, 186, 168,-32768, --32768,-32768,-32768,-32768, 1092, 1130,-32768, 85, 90,-32768, --32768, -27, -38, 94, 864,-32768,-32768, 1092,-32768, 142, - 1168, 23, 144, 49,-32768,-32768,-32768,-32768,-32768,-32768, + 30, 99,-32768,-32768,-32768,-32768,-32768,-32768, -47, 46, + 33,-32768,-32768, -13,-32768,-32768, 75, -32, 26, 21, + -3,-32768, 46, 63, 100,-32768,-32768,-32768, 974, -21, +-32768,-32768, 105,-32768,-32768,-32768,-32768, 10, 27, 32, +-32768, 38, 63, 974, 103, 103,-32768,-32768,-32768,-32768, +-32768,-32768,-32768, 18,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 135, 148, + 155, 490,-32768, 105, 67,-32768,-32768, -64,-32768,-32768, +-32768,-32768,-32768, 1136,-32768, 149, 85, 172, 154,-32768, +-32768,-32768,-32768,-32768, 1012, 1050,-32768, 73, 76,-32768, +-32768, -64, -17, 80, 784,-32768,-32768, 1012,-32768, 129, + 1088, 23, 221, 46,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - 1092, 1092, 1092, 1092, 1092, 1092, 1092,-32768,-32768, 1092, - 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092,-32768, 49, --32768, 75,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -36, --32768, 124, 162, 195, 165, 196, 167, 197, 169, 198, - 200, 201, 177, 199, 209, 531,-32768, 1092, 1092, 1092, --32768, 902,-32768, 103, 101, 680,-32768,-32768, 73,-32768, - 680, 680,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768, 680, 1054, 116, 118,-32768, 680, 113, 127, - 189, 130, 133, 134, 135, 136, 137, 680, 680, 680, - 139, 1054, 1092, 1092, 202,-32768, 140,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768, 143, 145, 146, - 147, 940, 1130, 637, 219, 148, 149, 150, 151,-32768, --32768, 140, -35, -64, -27,-32768, 64,-32768, 154, 153, - 978,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - 1130,-32768,-32768,-32768,-32768, 158,-32768, 161, 680, -5, --32768, 15,-32768, 173, 680, 164, 1092, 1092, 1092, 1092, - 1092, 1092, 1092, 178, 182, 183, 1092, 680, 680, 184, --32768, -18,-32768, 1130, 1130, 1130, 1130,-32768,-32768, -6, - -26,-32768, -37,-32768, 1130, 1130, 1130, 1130,-32768,-32768, --32768,-32768,-32768, 1016, 213,-32768, -19, 245, 247, 187, - 680, 266, 680, 1092,-32768, 190, 680,-32768, 191,-32768, --32768, 192,-32768,-32768, 680, 680, 680,-32768, 193,-32768, - 1092, 256, 290,-32768, 140, 173, 261, 206, 207, 1130, --32768,-32768,-32768, 210, 211, 212, 214,-32768,-32768,-32768, - 244,-32768, 680, 680, 1092, 215,-32768, 215,-32768, 218, - 680, 220, 1092, 1092,-32768,-32768,-32768, 1092, 680,-32768, --32768,-32768, 216, 1092, 1130, 1130,-32768, 1130, 1130, 1130, - 1130, 295,-32768, 222, 205, 218, 221, 248,-32768,-32768, - 1092, 217, 680,-32768,-32768, 223,-32768,-32768, 224, 225, - 231, 232, 233, 235, 238,-32768, 293, 8, 307,-32768, --32768, 237,-32768,-32768, 1130,-32768,-32768,-32768,-32768,-32768, - 680,-32768, 763, 41, 324,-32768, 243,-32768, 249,-32768, - 763, 680,-32768, 327, 252, 281, 680, 333, 334,-32768, - 680, 680,-32768,-32768, 359, 360,-32768 + 1012, 1012, 1012, 1012, 1012, 1012, 1012,-32768,-32768, 1012, + 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012,-32768, 46, +-32768, 60,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -14, +-32768, 123, 153, 182, 159, 186, 162, 187, 164, 188, + 189, 190, 166, 194, 193, 372,-32768, 1012, 1012, 1012, +-32768, 822,-32768, 101, 102, 622,-32768,-32768, 18,-32768, + 622, 622,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768, 622, 974, 104, 107,-32768, 622, 98, 108, + 169, 109, 110, 118, 119, 120, 121, 622, 622, 622, + 122, 974, 1012, 1012, 201,-32768, 124,-32768,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768, 136, 137, 138, + 141, 860, 1050, 531, 215, 142, 143, 144, 146,-32768, +-32768, 124, -75, -53, -64,-32768, 105,-32768, 150, 139, + 898,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, + 191, 1050,-32768,-32768,-32768,-32768, 151,-32768, 152, 622, + 5,-32768, 16,-32768, 158, 622, 156, 1012, 1012, 1012, + 1012, 1012, 1012, 1012, 161, 165, 168, 1012, 622, 622, + 170,-32768, -18,-32768, 1050, 1050, 1050, 1050,-32768,-32768, + -11, -65,-32768, -16,-32768, 1050, 1050, 1050, 1050,-32768, +-32768,-32768,-32768,-32768, 936, 222,-32768,-32768, 233, -10, + 245, 250, 171, 622, 269, 622, 1012,-32768, 178, 622, +-32768, 179,-32768,-32768, 180,-32768,-32768, 622, 622, 622, +-32768, 181,-32768, 1012, 259, 280,-32768, 124, 158, 255, + 184, 192, 1050,-32768,-32768,-32768, 197, 198, 199, 200, +-32768,-32768,-32768, 238, 202,-32768, 622, 622, 1012, 204, +-32768, 204,-32768, 205, 622, 206, 1012, 1012,-32768,-32768, +-32768, 1012, 622,-32768,-32768,-32768, 207, 1012, 1050, 1050, +-32768, 1050, 1050, 1050, 1050, 289,-32768, 271, 218, 223, + 205, 216, 270,-32768,-32768, 1012, 219, 622,-32768,-32768, + 225,-32768,-32768, 228, 226, 230, 231, 232, 235, 236, +-32768,-32768, 321, 12, 308,-32768,-32768, 237,-32768,-32768, + 1050,-32768,-32768,-32768,-32768,-32768, 622,-32768, 682, 66, + 328,-32768, 246,-32768, 248,-32768, 682, 622,-32768, 332, + 253, 287, 622, 336, 340,-32768, 622, 622,-32768,-32768, + 363, 364,-32768 }; static const short yypgoto[] = {-32768, --32768, 277, 278, 279, 2 |