DLLIMPORT = 301,
DLLEXPORT = 302,
EXTERN_WEAK = 303,
- OPAQUE = 304,
- EXTERNAL = 305,
- TARGET = 306,
- TRIPLE = 307,
- ALIGN = 308,
- ADDRSPACE = 309,
- DEPLIBS = 310,
- CALL = 311,
- TAIL = 312,
- ASM_TOK = 313,
- MODULE = 314,
- SIDEEFFECT = 315,
- CC_TOK = 316,
- CCC_TOK = 317,
- FASTCC_TOK = 318,
- COLDCC_TOK = 319,
- X86_STDCALLCC_TOK = 320,
- X86_FASTCALLCC_TOK = 321,
- DATALAYOUT = 322,
- 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
+ COMMON = 304,
+ OPAQUE = 305,
+ EXTERNAL = 306,
+ TARGET = 307,
+ TRIPLE = 308,
+ ALIGN = 309,
+ ADDRSPACE = 310,
+ DEPLIBS = 311,
+ CALL = 312,
+ TAIL = 313,
+ ASM_TOK = 314,
+ MODULE = 315,
+ SIDEEFFECT = 316,
+ CC_TOK = 317,
+ CCC_TOK = 318,
+ FASTCC_TOK = 319,
+ COLDCC_TOK = 320,
+ X86_STDCALLCC_TOK = 321,
+ X86_FASTCALLCC_TOK = 322,
+ DATALAYOUT = 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,
+ VICMP = 347,
+ VFCMP = 348,
+ EQ = 349,
+ NE = 350,
+ SLT = 351,
+ SGT = 352,
+ SLE = 353,
+ SGE = 354,
+ ULT = 355,
+ UGT = 356,
+ ULE = 357,
+ UGE = 358,
+ OEQ = 359,
+ ONE = 360,
+ OLT = 361,
+ OGT = 362,
+ OLE = 363,
+ OGE = 364,
+ ORD = 365,
+ UNO = 366,
+ UEQ = 367,
+ UNE = 368,
+ MALLOC = 369,
+ ALLOCA = 370,
+ FREE = 371,
+ LOAD = 372,
+ STORE = 373,
+ GETELEMENTPTR = 374,
+ TRUNC = 375,
+ ZEXT = 376,
+ SEXT = 377,
+ FPTRUNC = 378,
+ FPEXT = 379,
+ BITCAST = 380,
+ UITOFP = 381,
+ SITOFP = 382,
+ FPTOUI = 383,
+ FPTOSI = 384,
+ INTTOPTR = 385,
+ PTRTOINT = 386,
+ PHI_TOK = 387,
+ SELECT = 388,
+ VAARG = 389,
+ EXTRACTELEMENT = 390,
+ INSERTELEMENT = 391,
+ SHUFFLEVECTOR = 392,
+ GETRESULT = 393,
+ EXTRACTVALUE = 394,
+ INSERTVALUE = 395,
+ SIGNEXT = 396,
+ ZEROEXT = 397,
+ NORETURN = 398,
+ INREG = 399,
+ SRET = 400,
+ NOUNWIND = 401,
+ NOALIAS = 402,
+ BYVAL = 403,
+ NEST = 404,
+ READNONE = 405,
+ READONLY = 406,
+ GC = 407,
+ DEFAULT = 408,
+ HIDDEN = 409,
+ PROTECTED = 410
};
#endif
/* Tokens. */
#define DLLIMPORT 301
#define DLLEXPORT 302
#define EXTERN_WEAK 303
-#define OPAQUE 304
-#define EXTERNAL 305
-#define TARGET 306
-#define TRIPLE 307
-#define ALIGN 308
-#define ADDRSPACE 309
-#define DEPLIBS 310
-#define CALL 311
-#define TAIL 312
-#define ASM_TOK 313
-#define MODULE 314
-#define SIDEEFFECT 315
-#define CC_TOK 316
-#define CCC_TOK 317
-#define FASTCC_TOK 318
-#define COLDCC_TOK 319
-#define X86_STDCALLCC_TOK 320
-#define X86_FASTCALLCC_TOK 321
-#define DATALAYOUT 322
-#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
+#define COMMON 304
+#define OPAQUE 305
+#define EXTERNAL 306
+#define TARGET 307
+#define TRIPLE 308
+#define ALIGN 309
+#define ADDRSPACE 310
+#define DEPLIBS 311
+#define CALL 312
+#define TAIL 313
+#define ASM_TOK 314
+#define MODULE 315
+#define SIDEEFFECT 316
+#define CC_TOK 317
+#define CCC_TOK 318
+#define FASTCC_TOK 319
+#define COLDCC_TOK 320
+#define X86_STDCALLCC_TOK 321
+#define X86_FASTCALLCC_TOK 322
+#define DATALAYOUT 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 VICMP 347
+#define VFCMP 348
+#define EQ 349
+#define NE 350
+#define SLT 351
+#define SGT 352
+#define SLE 353
+#define SGE 354
+#define ULT 355
+#define UGT 356
+#define ULE 357
+#define UGE 358
+#define OEQ 359
+#define ONE 360
+#define OLT 361
+#define OGT 362
+#define OLE 363
+#define OGE 364
+#define ORD 365
+#define UNO 366
+#define UEQ 367
+#define UNE 368
+#define MALLOC 369
+#define ALLOCA 370
+#define FREE 371
+#define LOAD 372
+#define STORE 373
+#define GETELEMENTPTR 374
+#define TRUNC 375
+#define ZEXT 376
+#define SEXT 377
+#define FPTRUNC 378
+#define FPEXT 379
+#define BITCAST 380
+#define UITOFP 381
+#define SITOFP 382
+#define FPTOUI 383
+#define FPTOSI 384
+#define INTTOPTR 385
+#define PTRTOINT 386
+#define PHI_TOK 387
+#define SELECT 388
+#define VAARG 389
+#define EXTRACTELEMENT 390
+#define INSERTELEMENT 391
+#define SHUFFLEVECTOR 392
+#define GETRESULT 393
+#define EXTRACTVALUE 394
+#define INSERTVALUE 395
+#define SIGNEXT 396
+#define ZEROEXT 397
+#define NORETURN 398
+#define INREG 399
+#define SRET 400
+#define NOUNWIND 401
+#define NOALIAS 402
+#define BYVAL 403
+#define NEST 404
+#define READNONE 405
+#define READONLY 406
+#define GC 407
+#define DEFAULT 408
+#define HIDDEN 409
+#define PROTECTED 410
/* Copy the first part of user declarations. */
-#line 14 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 14 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
GenerateError("FP constant invalid for type");
return 0;
}
- // Lexer has no type info, so builds all float and double FP constants
+ // Lexer has no type info, so builds all float and double FP constants
// as double. Fix this here. Long double does not need this.
if (&D.ConstPoolFP->getSemantics() == &APFloat::IEEEdouble &&
Ty==Type::FloatTy)
D.ConstPoolFP->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
- return ConstantFP::get(Ty, *D.ConstPoolFP);
+ return ConstantFP::get(*D.ConstPoolFP);
case ValID::ConstNullVal: // Is it a null value?
if (!isa<PointerType>(Ty)) {
if (TriggerError) return 0;
if (!Ty->isFirstClassType() && !isa<OpaqueType>(Ty)) {
- GenerateError("Invalid use of a composite type");
+ GenerateError("Invalid use of a non-first-class type");
return 0;
}
}
const Type* ElTy = PTy->getElementType();
if (const FunctionType *FTy = dyn_cast<FunctionType>(ElTy))
- V = new Function(FTy, GlobalValue::ExternalLinkage);
+ V = Function::Create(FTy, GlobalValue::ExternalLinkage);
else
V = new GlobalVariable(ElTy, false, GlobalValue::ExternalLinkage, 0, "",
(Module*)0, false, PTy->getAddressSpace());
assert(ID.Num == CurFun.NextValNum && "Invalid new block number");
InsertValue(BB);
}
-
- ID.destroy();
- return BB;
- }
-
- // We haven't seen this BB before and its first mention is a definition.
- // Just create it and return it.
- std::string Name (ID.Type == ValID::LocalName ? ID.getName() : "");
- BB = new BasicBlock(Name, CurFun.CurrentFunction);
- if (ID.Type == ValID::LocalID) {
- assert(ID.Num == CurFun.NextValNum && "Invalid new block number");
- InsertValue(BB);
+ } else {
+ // We haven't seen this BB before and its first mention is a definition.
+ // Just create it and return it.
+ std::string Name (ID.Type == ValID::LocalName ? ID.getName() : "");
+ BB = BasicBlock::Create(Name, CurFun.CurrentFunction);
+ if (ID.Type == ValID::LocalID) {
+ assert(ID.Num == CurFun.NextValNum && "Invalid new block number");
+ InsertValue(BB);
+ }
}
- ID.destroy(); // Free strdup'd memory
+ ID.destroy();
return BB;
}
} if (ID.Type == ValID::LocalName) {
std::string Name = ID.getName();
Value *N = CurFun.CurrentFunction->getValueSymbolTable().lookup(Name);
- if (N)
+ if (N) {
if (N->getType()->getTypeID() == Type::LabelTyID)
BB = cast<BasicBlock>(N);
else
GenerateError("Reference to label '" + Name + "' is actually of type '"+
N->getType()->getDescription() + "'");
+ }
} else if (ID.Type == ValID::LocalID) {
if (ID.Num < CurFun.NextValNum && ID.Num < CurFun.Values.size()) {
if (CurFun.Values[ID.Num]->getType()->getTypeID() == Type::LabelTyID)
std::string Name;
if (ID.Type == ValID::LocalName)
Name = ID.getName();
- BB = new BasicBlock(Name, CurFun.CurrentFunction);
+ BB = BasicBlock::Create(Name, CurFun.CurrentFunction);
// Insert it in the forward refs map.
CurFun.BBForwardRefs[ID] = BB;
GenerateError("Cannot declare global vars of function type");
return 0;
}
+ if (Ty == Type::LabelTy) {
+ GenerateError("Cannot declare global vars of label type");
+ return 0;
+ }
const PointerType *PTy = PointerType::get(Ty, AddressSpace);
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
-#line 951 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 953 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
llvm::PATypeHolder *TypeVal;
llvm::Value *ValueVal;
std::vector<llvm::Value*> *ValueList;
+ std::vector<unsigned> *ConstantList;
llvm::ArgListType *ArgList;
llvm::TypeWithAttrs TypeWithAttrs;
llvm::TypeWithAttrsList *TypeWithAttrsList;
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
}
-/* Line 193 of yacc.c. */
-#line 1388 "llvmAsmParser.tab.c"
+/* Line 187 of yacc.c. */
+#line 1401 "llvmAsmParser.tab.c"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
/* Line 216 of yacc.c. */
-#line 1401 "llvmAsmParser.tab.c"
+#line 1414 "llvmAsmParser.tab.c"
#ifdef short
# undef short
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#ifndef YY_
-# if defined YYENABLE_NLS && YYENABLE_NLS
+# if YYENABLE_NLS
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
#endif
/* YYFINAL -- State number of the termination state. */
-#define YYFINAL 43
+#define YYFINAL 44
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 1955
+#define YYLAST 2339
/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 165
+#define YYNTOKENS 170
/* YYNNTS -- Number of nonterminals. */
-#define YYNNTS 84
+#define YYNNTS 86
/* YYNRULES -- Number of rules. */
-#define YYNRULES 319
+#define YYNRULES 340
/* YYNRULES -- Number of states. */
-#define YYNSTATES 624
+#define YYNSTATES 699
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 405
+#define YYMAXUTOK 410
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
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,
+ 156, 157, 160, 2, 159, 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,
+ 165, 158, 166, 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, 162, 161, 164, 2, 2, 2, 2, 2, 169,
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,
+ 163, 2, 2, 167, 2, 168, 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,
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, 153, 154,
+ 155
};
#if YYDEBUG
99, 101, 103, 105, 107, 109, 111, 113, 115, 117,
119, 121, 123, 125, 127, 129, 130, 135, 136, 139,
140, 142, 144, 146, 147, 150, 152, 154, 156, 158,
- 160, 162, 164, 166, 167, 169, 171, 173, 174, 176,
- 178, 179, 181, 183, 185, 187, 188, 190, 192, 193,
- 195, 197, 199, 201, 203, 206, 208, 210, 212, 214,
- 216, 218, 220, 222, 224, 225, 228, 230, 232, 234,
- 236, 238, 240, 241, 244, 245, 248, 249, 252, 253,
- 257, 260, 261, 263, 264, 268, 270, 273, 275, 277,
- 279, 281, 283, 285, 287, 289, 291, 295, 297, 300,
- 306, 312, 318, 324, 328, 331, 337, 342, 345, 347,
- 349, 351, 355, 357, 361, 363, 364, 366, 370, 375,
- 379, 383, 388, 393, 397, 404, 410, 413, 416, 419,
- 422, 425, 428, 431, 434, 437, 440, 443, 446, 453,
- 459, 468, 475, 482, 490, 498, 505, 514, 523, 527,
- 529, 531, 533, 535, 536, 539, 546, 548, 549, 551,
- 554, 555, 559, 560, 564, 568, 572, 576, 577, 586,
- 587, 597, 598, 608, 614, 617, 621, 623, 627, 631,
- 635, 639, 641, 642, 648, 652, 654, 658, 660, 661,
- 672, 674, 676, 681, 683, 685, 688, 692, 693, 695,
- 697, 699, 701, 703, 705, 707, 709, 711, 715, 717,
- 723, 725, 727, 729, 731, 733, 735, 738, 741, 744,
- 748, 751, 752, 754, 757, 760, 764, 774, 784, 793,
- 808, 810, 812, 819, 825, 828, 835, 843, 848, 853,
- 860, 867, 868, 869, 873, 876, 878, 884, 890, 897,
- 904, 909, 916, 921, 926, 933, 940, 943, 952, 954,
- 956, 957, 961, 968, 972, 979, 982, 988, 996, 1002
+ 160, 162, 164, 166, 168, 169, 171, 173, 175, 176,
+ 178, 180, 181, 183, 185, 187, 189, 190, 192, 194,
+ 195, 197, 199, 201, 203, 205, 208, 210, 212, 214,
+ 216, 218, 220, 222, 224, 226, 229, 230, 233, 235,
+ 237, 239, 241, 243, 245, 246, 249, 250, 253, 254,
+ 257, 258, 262, 265, 266, 268, 269, 273, 275, 278,
+ 280, 282, 284, 286, 288, 290, 292, 294, 296, 300,
+ 302, 305, 311, 317, 323, 329, 333, 336, 342, 347,
+ 350, 352, 354, 356, 360, 362, 366, 368, 369, 371,
+ 375, 380, 384, 388, 393, 398, 402, 409, 415, 418,
+ 421, 424, 427, 430, 433, 436, 439, 442, 445, 448,
+ 451, 458, 464, 473, 480, 487, 495, 503, 511, 519,
+ 526, 535, 544, 550, 558, 562, 564, 566, 568, 570,
+ 571, 574, 581, 583, 584, 586, 589, 590, 594, 595,
+ 599, 603, 607, 611, 612, 621, 622, 632, 633, 643,
+ 649, 652, 656, 658, 662, 666, 670, 674, 676, 677,
+ 683, 687, 689, 693, 695, 696, 707, 709, 711, 716,
+ 718, 720, 723, 727, 728, 730, 732, 734, 736, 738,
+ 740, 742, 744, 746, 750, 754, 757, 760, 764, 767,
+ 773, 778, 780, 786, 788, 790, 792, 794, 796, 798,
+ 801, 803, 807, 810, 813, 817, 820, 821, 823, 826,
+ 829, 833, 843, 853, 862, 877, 879, 881, 888, 894,
+ 897, 904, 912, 917, 922, 929, 936, 937, 938, 942,
+ 945, 949, 952, 954, 960, 966, 973, 980, 987, 994,
+ 999, 1006, 1011, 1016, 1023, 1030, 1033, 1042, 1044, 1046,
+ 1047, 1051, 1058, 1062, 1069, 1072, 1078, 1086, 1092, 1097,
+ 1102
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
- 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,
+ 216, 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, 120, -1, 121, -1, 122, -1, 123,
+ -1, 124, -1, 125, -1, 126, -1, 127, -1, 128,
+ -1, 129, -1, 130, -1, 131, -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, 113, -1, 100, -1, 101,
+ -1, 102, -1, 103, -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, 178, -1, -1,
+ 55, 156, 4, 157, -1, -1, 178, 158, -1, -1,
+ 20, -1, 23, -1, 184, -1, -1, 182, 158, -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,
- -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, -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, 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, 244, 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, 236, 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, 236, 237,
- -1, 227, 237, -1, 238, 176, 239, -1, 238, 241,
- -1, -1, 21, -1, 68, 235, -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, 240, 159, -1, 70, 171, 234, 154, 17, 234,
- 157, 159, -1, 71, 186, 201, 234, 151, 243, 152,
- 190, 38, 17, 234, 72, 17, 234, -1, 72, -1,
- 73, -1, 240, 171, 232, 154, 17, 234, -1, 171,
- 232, 154, 17, 234, -1, 176, 246, -1, 199, 157,
- 234, 154, 234, 159, -1, 242, 154, 157, 234, 154,
- 234, 159, -1, 199, 188, 234, 188, -1, 17, 188,
- 234, 188, -1, 243, 154, 199, 188, 234, 188, -1,
- 243, 154, 17, 188, 234, 188, -1, -1, -1, 244,
- 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, 242, -1, 245, 186, 201, 234, 151, 243, 152,
- 190, -1, 248, -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, 247, 114, 199, 234, 193, -1, 247, 115,
- 235, 154, 199, 234, 193, -1, 135, 199, 173, 154,
- 205, -1, 116, 199, 234, 244, -1
+ 49, -1, 46, -1, 48, -1, 51, -1, -1, 153,
+ -1, 154, -1, 155, -1, -1, 46, -1, 48, -1,
+ -1, 42, -1, 43, -1, 44, -1, 47, -1, -1,
+ 44, -1, 42, -1, -1, 63, -1, 64, -1, 65,
+ -1, 66, -1, 67, -1, 62, 4, -1, 142, -1,
+ 121, -1, 141, -1, 122, -1, 144, -1, 145, -1,
+ 147, -1, 148, -1, 149, -1, 54, 4, -1, -1,
+ 193, 192, -1, 143, -1, 146, -1, 142, -1, 141,
+ -1, 150, -1, 151, -1, -1, 195, 194, -1, -1,
+ 152, 22, -1, -1, 54, 4, -1, -1, 159, 54,
+ 4, -1, 34, 22, -1, -1, 199, -1, -1, 159,
+ 202, 201, -1, 199, -1, 54, 4, -1, 11, -1,
+ 12, -1, 13, -1, 16, -1, 15, -1, 14, -1,
+ 17, -1, 50, -1, 203, -1, 204, 180, 160, -1,
+ 238, -1, 161, 4, -1, 204, 156, 208, 157, 195,
+ -1, 10, 156, 208, 157, 195, -1, 162, 4, 163,
+ 204, 164, -1, 165, 4, 163, 204, 166, -1, 167,
+ 209, 168, -1, 167, 168, -1, 165, 167, 209, 168,
+ 166, -1, 165, 167, 168, 166, -1, 204, 193, -1,
+ 204, -1, 10, -1, 205, -1, 207, 159, 205, -1,
+ 207, -1, 207, 159, 39, -1, 39, -1, -1, 204,
+ -1, 209, 159, 204, -1, 204, 162, 212, 164, -1,
+ 204, 162, 164, -1, 204, 169, 22, -1, 204, 165,
+ 212, 166, -1, 204, 167, 212, 168, -1, 204, 167,
+ 168, -1, 204, 165, 167, 212, 168, 166, -1, 204,
+ 165, 167, 168, 166, -1, 204, 40, -1, 204, 41,
+ -1, 204, 238, -1, 204, 211, -1, 204, 25, -1,
+ 176, 3, -1, 176, 5, -1, 176, 4, -1, 176,
+ 6, -1, 11, 26, -1, 11, 27, -1, 177, 9,
+ -1, 173, 156, 210, 38, 204, 157, -1, 119, 156,
+ 210, 250, 157, -1, 133, 156, 210, 159, 210, 159,
+ 210, 157, -1, 171, 156, 210, 159, 210, 157, -1,
+ 172, 156, 210, 159, 210, 157, -1, 90, 174, 156,
+ 210, 159, 210, 157, -1, 91, 175, 156, 210, 159,
+ 210, 157, -1, 92, 174, 156, 210, 159, 210, 157,
+ -1, 93, 175, 156, 210, 159, 210, 157, -1, 135,
+ 156, 210, 159, 210, 157, -1, 136, 156, 210, 159,
+ 210, 159, 210, 157, -1, 137, 156, 210, 159, 210,
+ 159, 210, 157, -1, 139, 156, 210, 251, 157, -1,
+ 140, 156, 210, 159, 210, 251, 157, -1, 212, 159,
+ 210, -1, 210, -1, 32, -1, 33, -1, 37, -1,
+ -1, 206, 238, -1, 125, 156, 215, 38, 204, 157,
+ -1, 217, -1, -1, 218, -1, 217, 218, -1, -1,
+ 31, 219, 234, -1, -1, 30, 220, 235, -1, 60,
+ 59, 224, -1, 181, 18, 204, -1, 181, 18, 10,
+ -1, -1, 183, 187, 214, 213, 210, 180, 221, 201,
+ -1, -1, 183, 185, 187, 214, 213, 210, 180, 222,
+ 201, -1, -1, 183, 186, 187, 214, 213, 204, 180,
+ 223, 201, -1, 183, 187, 35, 190, 215, -1, 52,
+ 225, -1, 56, 158, 226, -1, 22, -1, 53, 158,
+ 22, -1, 68, 158, 22, -1, 162, 227, 164, -1,
+ 227, 159, 22, -1, 22, -1, -1, 228, 159, 204,
+ 193, 179, -1, 204, 193, 179, -1, 228, -1, 228,
+ 159, 39, -1, 39, -1, -1, 191, 206, 182, 156,
+ 229, 157, 195, 200, 197, 196, -1, 28, -1, 167,
+ -1, 189, 187, 230, 231, -1, 29, -1, 168, -1,
+ 242, 233, -1, 188, 187, 230, -1, -1, 61, -1,
+ 3, -1, 4, -1, 9, -1, 26, -1, 27, -1,
+ 40, -1, 41, -1, 25, -1, 165, 212, 166, -1,
+ 162, 212, 164, -1, 162, 164, -1, 169, 22, -1,
+ 167, 212, 168, -1, 167, 168, -1, 165, 167, 212,
+ 168, 166, -1, 165, 167, 168, 166, -1, 211, -1,
+ 59, 236, 22, 159, 22, -1, 7, -1, 8, -1,
+ 178, -1, 182, -1, 238, -1, 237, -1, 204, 239,
+ -1, 240, -1, 241, 159, 240, -1, 242, 243, -1,
+ 232, 243, -1, 244, 181, 245, -1, 244, 247, -1,
+ -1, 21, -1, 69, 241, -1, 69, 10, -1, 70,
+ 17, 239, -1, 70, 11, 239, 159, 17, 239, 159,
+ 17, 239, -1, 71, 176, 239, 159, 17, 239, 162,
+ 246, 164, -1, 71, 176, 239, 159, 17, 239, 162,
+ 164, -1, 72, 191, 206, 239, 156, 249, 157, 195,
+ 38, 17, 239, 73, 17, 239, -1, 73, -1, 74,
+ -1, 246, 176, 237, 159, 17, 239, -1, 176, 237,
+ 159, 17, 239, -1, 181, 253, -1, 204, 162, 239,
+ 159, 239, 164, -1, 248, 159, 162, 239, 159, 239,
+ 164, -1, 204, 193, 239, 193, -1, 17, 193, 239,
+ 193, -1, 249, 159, 204, 193, 239, 193, -1, 249,
+ 159, 17, 193, 239, 193, -1, -1, -1, 250, 159,
+ 240, -1, 159, 4, -1, 251, 159, 4, -1, 58,
+ 57, -1, 57, -1, 171, 204, 239, 159, 239, -1,
+ 172, 204, 239, 159, 239, -1, 90, 174, 204, 239,
+ 159, 239, -1, 91, 175, 204, 239, 159, 239, -1,
+ 92, 174, 204, 239, 159, 239, -1, 93, 175, 204,
+ 239, 159, 239, -1, 173, 240, 38, 204, -1, 133,
+ 240, 159, 240, 159, 240, -1, 134, 240, 159, 204,
+ -1, 135, 240, 159, 240, -1, 136, 240, 159, 240,
+ 159, 240, -1, 137, 240, 159, 240, 159, 240, -1,
+ 132, 248, -1, 252, 191, 206, 239, 156, 249, 157,
+ 195, -1, 255, -1, 36, -1, -1, 114, 204, 198,
+ -1, 114, 204, 159, 11, 239, 198, -1, 115, 204,
+ 198, -1, 115, 204, 159, 11, 239, 198, -1, 116,
+ 240, -1, 254, 117, 204, 239, 198, -1, 254, 118,
+ 240, 159, 204, 239, 198, -1, 138, 204, 239, 159,
+ 4, -1, 119, 204, 239, 250, -1, 139, 204, 239,
+ 251, -1, 140, 204, 239, 159, 204, 239, 251, -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, 1237, 1238, 1243, 1244, 1245, 1246,
- 1247, 1248, 1251, 1252, 1257, 1258, 1265, 1266, 1272, 1273,
- 1282, 1290, 1291, 1296, 1297, 1298, 1303, 1316, 1316, 1316,
- 1316, 1316, 1316, 1316, 1319, 1323, 1327, 1334, 1339, 1347,
- 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,
- 2379, 2379, 2381, 2390, 2390, 2392, 2397, 2409, 2413, 2418,
- 2422, 2426, 2430, 2434, 2438, 2442, 2446, 2450, 2475, 2479,
- 2489, 2493, 2497, 2502, 2509, 2509, 2515, 2524, 2528, 2537,
- 2546, 2555, 2559, 2566, 2570, 2574, 2579, 2589, 2608, 2617,
- 2708, 2712, 2719, 2730, 2743, 2753, 2764, 2774, 2785, 2793,
- 2803, 2810, 2813, 2814, 2821, 2825, 2830, 2846, 2863, 2877,
- 2891, 2903, 2911, 2918, 2924, 2930, 2936, 2951, 3049, 3054,
- 3058, 3065, 3072, 3080, 3087, 3095, 3103, 3117, 3134, 3142
+ 0, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118,
+ 1118, 1119, 1119, 1119, 1119, 1119, 1119, 1120, 1120, 1120,
+ 1120, 1120, 1120, 1121, 1121, 1121, 1121, 1121, 1121, 1124,
+ 1124, 1125, 1125, 1126, 1126, 1127, 1127, 1128, 1128, 1132,
+ 1132, 1133, 1133, 1134, 1134, 1135, 1135, 1136, 1136, 1137,
+ 1137, 1138, 1138, 1139, 1140, 1145, 1146, 1146, 1146, 1146,
+ 1146, 1148, 1148, 1148, 1149, 1149, 1151, 1152, 1156, 1160,
+ 1165, 1165, 1167, 1168, 1173, 1179, 1180, 1181, 1182, 1183,
+ 1184, 1188, 1189, 1190, 1194, 1195, 1196, 1197, 1201, 1202,
+ 1203, 1207, 1208, 1209, 1210, 1211, 1215, 1216, 1217, 1220,
+ 1221, 1222, 1223, 1224, 1225, 1226, 1233, 1234, 1235, 1236,
+ 1237, 1238, 1239, 1240, 1241, 1242, 1246, 1247, 1252, 1253,
+ 1254, 1255, 1256, 1257, 1260, 1261, 1266, 1267, 1274, 1275,
+ 1281, 1282, 1291, 1299, 1300, 1305, 1306, 1307, 1312, 1325,
+ 1325, 1325, 1325, 1325, 1325, 1325, 1328, 1332, 1336, 1343,
+ 1348, 1356, 1385, 1410, 1415, 1425, 1435, 1439, 1449, 1456,
+ 1465, 1472, 1477, 1482, 1489, 1490, 1497, 1504, 1512, 1518,
+ 1530, 1558, 1574, 1601, 1629, 1655, 1675, 1701, 1721, 1733,
+ 1740, 1806, 1816, 1826, 1832, 1842, 1848, 1858, 1864, 1870,
+ 1883, 1895, 1916, 1924, 1930, 1941, 1946, 1951, 1956, 1961,
+ 1967, 1973, 1979, 1987, 1998, 2002, 2010, 2010, 2013, 2013,
+ 2016, 2028, 2049, 2054, 2062, 2063, 2067, 2067, 2071, 2071,
+ 2074, 2077, 2101, 2113, 2112, 2124, 2123, 2133, 2132, 2143,
+ 2183, 2186, 2192, 2202, 2206, 2211, 2213, 2218, 2223, 2232,
+ 2242, 2253, 2257, 2266, 2275, 2280, 2409, 2409, 2411, 2420,
+ 2420, 2422, 2427, 2439, 2443, 2448, 2452, 2456, 2460, 2464,
+ 2468, 2472, 2476, 2480, 2502, 2524, 2528, 2541, 2553, 2558,
+ 2570, 2576, 2580, 2590, 2594, 2598, 2603, 2610, 2610, 2616,
+ 2625, 2630, 2635, 2639, 2648, 2657, 2666, 2670, 2678, 2685,
+ 2689, 2694, 2705, 2724, 2733, 2819, 2823, 2830, 2841, 2854,
+ 2864, 2875, 2885, 2896, 2904, 2914, 2921, 2924, 2925, 2933,
+ 2939, 2948, 2952, 2957, 2973, 2990, 3004, 3018, 3032, 3046,
+ 3058, 3066, 3073, 3079, 3085, 3091, 3106, 3196, 3201, 3205,
+ 3212, 3219, 3229, 3236, 3246, 3254, 3268, 3285, 3293, 3308,
+ 3323
};
#endif
"FALSETOK", "BEGINTOK", "ENDTOK", "DECLARE", "DEFINE", "GLOBAL",
"CONSTANT", "SECTION", "ALIAS", "VOLATILE", "THREAD_LOCAL", "TO",
"DOTDOTDOT", "NULL_TOK", "UNDEF", "INTERNAL", "LINKONCE", "WEAK",
- "APPENDING", "DLLIMPORT", "DLLEXPORT", "EXTERN_WEAK", "OPAQUE",
+ "APPENDING", "DLLIMPORT", "DLLEXPORT", "EXTERN_WEAK", "COMMON", "OPAQUE",
"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", "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",
+ "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", "EXTRACTVALUE", "INSERTVALUE", "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",
"TargetDefinition", "LibrariesDefinition", "LibList", "ArgListH",
"ArgList", "FunctionHeaderH", "BEGIN", "FunctionHeader", "END",
"Function", "FunctionProto", "OptSideEffect", "ConstValueRef",
- "SymbolicValueRef", "ValueRef", "ResolvedVal", "BasicBlockList",
- "BasicBlock", "InstructionList", "BBTerminatorInst", "JumpTable", "Inst",
- "PHIList", "ParamList", "IndexList", "OptTailCall", "InstVal",
- "OptVolatile", "MemoryInst", 0
+ "SymbolicValueRef", "ValueRef", "ResolvedVal", "ReturnedVal",
+ "BasicBlockList", "BasicBlock", "InstructionList", "BBTerminatorInst",
+ "JumpTable", "Inst", "PHIList", "ParamList", "IndexList",
+ "ConstantIndexList", "OptTailCall", "InstVal", "OptVolatile",
+ "MemoryInst", 0
};
#endif
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, 408, 409, 410, 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, 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,
- 238, 238, 238, 239, 239, 239, 239, 239, 239, 239,
- 239, 239, 240, 240, 241, 242, 242, 243, 243, 243,
- 243, 243, 244, 244, 245, 245, 246, 246, 246, 246,
- 246, 246, 246, 246, 246, 246, 246, 246, 246, 247,
- 247, 248, 248, 248, 248, 248, 248, 248, 248, 248
+ 0, 170, 171, 171, 171, 171, 171, 171, 171, 171,
+ 171, 172, 172, 172, 172, 172, 172, 173, 173, 173,
+ 173, 173, 173, 173, 173, 173, 173, 173, 173, 174,
+ 174, 174, 174, 174, 174, 174, 174, 174, 174, 175,
+ 175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
+ 175, 175, 175, 175, 175, 176, 177, 177, 177, 177,
+ 177, 178, 178, 178, 179, 179, 180, 180, 181, 181,
+ 182, 182, 183, 183, 184, 185, 185, 185, 185, 185,
+ 185, 186, 186, 186, 187, 187, 187, 187, 188, 188,
+ 188, 189, 189, 189, 189, 189, 190, 190, 190, 191,
+ 191, 191, 191, 191, 191, 191, 192, 192, 192, 192,
+ 192, 192, 192, 192, 192, 192, 193, 193, 194, 194,
+ 194, 194, 194, 194, 195, 195, 196, 196, 197, 197,
+ 198, 198, 199, 200, 200, 201, 201, 202, 202, 203,
+ 203, 203, 203, 203, 203, 203, 204, 204, 204, 204,
+ 204, 204, 204, 204, 204, 204, 204, 204, 204, 205,
+ 206, 206, 207, 207, 208, 208, 208, 208, 209, 209,
+ 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
+ 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
+ 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
+ 211, 211, 211, 211, 212, 212, 213, 213, 214, 214,
+ 215, 215, 216, 216, 217, 217, 219, 218, 220, 218,
+ 218, 218, 218, 221, 218, 222, 218, 223, 218, 218,
+ 218, 218, 224, 225, 225, 226, 227, 227, 227, 228,
+ 228, 229, 229, 229, 229, 230, 231, 231, 232, 233,
+ 233, 234, 235, 236, 236, 237, 237, 237, 237, 237,
+ 237, 237, 237, 237, 237, 237, 237, 237, 237, 237,
+ 237, 237, 237, 238, 238, 238, 238, 239, 239, 240,
+ 241, 241, 242, 242, 243, 244, 244, 244, 245, 245,
+ 245, 245, 245, 245, 245, 245, 245, 246, 246, 247,
+ 248, 248, 249, 249, 249, 249, 249, 250, 250, 251,
+ 251, 252, 252, 253, 253, 253, 253, 253, 253, 253,
+ 253, 253, 253, 253, 253, 253, 253, 253, 254, 254,
+ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
+ 255
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 0, 4, 0, 2, 0,
1, 1, 1, 0, 2, 1, 1, 1, 1, 1,
- 1, 1, 1, 0, 1, 1, 1, 0, 1, 1,
- 0, 1, 1, 1, 1, 0, 1, 1, 0, 1,
- 1, 1, 1, 1, 2, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 0, 2, 1, 1, 1, 1,
- 1, 1, 0, 2, 0, 2, 0, 2, 0, 3,
- 2, 0, 1, 0, 3, 1, 2, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 3, 1, 2, 5,
- 5, 5, 5, 3, 2, 5, 4, 2, 1, 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, 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
+ 1, 1, 1, 1, 0, 1, 1, 1, 0, 1,
+ 1, 0, 1, 1, 1, 1, 0, 1, 1, 0,
+ 1, 1, 1, 1, 1, 2, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 2, 0, 2, 1, 1,
+ 1, 1, 1, 1, 0, 2, 0, 2, 0, 2,
+ 0, 3, 2, 0, 1, 0, 3, 1, 2, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 3, 1,
+ 2, 5, 5, 5, 5, 3, 2, 5, 4, 2,
+ 1, 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, 7, 7, 6,
+ 8, 8, 5, 7, 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, 3, 2, 2, 3, 2, 5,
+ 4, 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,
+ 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, 4,
+ 7
};
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
means the default is an error. */
static const yytype_uint16 yydefact[] =
{
- 73, 61, 70, 62, 71, 63, 212, 210, 0, 0,
- 0, 0, 0, 0, 83, 72, 0, 73, 208, 87,
- 90, 0, 0, 224, 0, 0, 68, 0, 74, 75,
- 77, 76, 78, 80, 79, 81, 82, 84, 85, 86,
- 83, 83, 203, 1, 209, 88, 89, 83, 213, 91,
- 92, 93, 94, 83, 271, 211, 271, 0, 0, 232,
- 225, 226, 214, 260, 261, 216, 137, 138, 139, 142,
- 141, 140, 143, 144, 0, 0, 0, 0, 262, 263,
- 145, 215, 147, 203, 203, 95, 202, 0, 98, 98,
- 272, 268, 69, 243, 244, 245, 267, 227, 228, 231,
- 0, 165, 148, 0, 0, 0, 0, 154, 166, 0,
- 0, 165, 0, 0, 0, 97, 96, 0, 200, 201,
- 0, 0, 99, 100, 101, 102, 103, 0, 246, 0,
- 310, 270, 0, 229, 164, 114, 160, 162, 0, 0,
- 0, 0, 0, 0, 153, 0, 0, 146, 0, 0,
- 159, 0, 158, 0, 223, 137, 138, 139, 142, 141,
- 140, 0, 0, 67, 67, 104, 0, 240, 241, 242,
- 309, 295, 0, 0, 0, 0, 98, 280, 281, 2,
- 3, 4, 5, 6, 7, 8, 9, 10, 14, 15,
- 16, 11, 12, 13, 0, 0, 0, 0, 0, 0,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 28, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 269, 98, 284, 0, 308, 230, 157, 0,
- 122, 67, 67, 156, 0, 167, 0, 122, 67, 67,
- 0, 204, 185, 186, 181, 183, 182, 184, 187, 180,
- 176, 177, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 179, 178, 217, 0,
- 294, 274, 67, 273, 0, 0, 55, 0, 0, 29,
+ 73, 61, 70, 62, 71, 63, 218, 216, 0, 0,
+ 0, 0, 0, 0, 84, 72, 0, 73, 214, 88,
+ 91, 0, 0, 230, 0, 0, 68, 0, 74, 75,
+ 77, 76, 78, 81, 79, 82, 80, 83, 85, 86,
+ 87, 84, 84, 209, 1, 215, 89, 90, 84, 219,
+ 92, 93, 94, 95, 84, 286, 217, 286, 0, 0,
+ 238, 231, 232, 220, 273, 274, 222, 139, 140, 141,
+ 144, 143, 142, 145, 146, 0, 0, 0, 0, 275,
+ 276, 147, 221, 149, 209, 209, 96, 208, 0, 99,
+ 99, 287, 283, 69, 249, 250, 251, 282, 233, 234,
+ 237, 0, 167, 150, 0, 0, 0, 0, 156, 168,
+ 0, 0, 167, 0, 0, 0, 98, 97, 0, 206,
+ 207, 0, 0, 100, 101, 102, 103, 104, 0, 252,
+ 0, 329, 285, 0, 235, 166, 116, 162, 164, 0,
+ 0, 0, 0, 0, 0, 155, 0, 0, 148, 0,
+ 0, 161, 0, 160, 0, 229, 139, 140, 141, 144,
+ 143, 142, 0, 0, 67, 67, 105, 0, 246, 247,
+ 248, 328, 312, 0, 0, 0, 0, 99, 295, 296,
+ 2, 3, 4, 5, 6, 7, 8, 9, 10, 14,
+ 15, 16, 11, 12, 13, 0, 0, 0, 0, 0,
+ 0, 0, 0, 17, 18, 19, 20, 21, 22, 23,
+ 24, 25, 26, 27, 28, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 284, 99, 299,
+ 0, 327, 236, 159, 0, 124, 67, 67, 158, 0,
+ 169, 0, 124, 67, 67, 0, 210, 187, 188, 183,
+ 185, 184, 186, 189, 182, 178, 179, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 181, 180, 223, 0, 311,
+ 289, 67, 280, 288, 0, 0, 55, 0, 0, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 0,
53, 54, 49, 50, 51, 52, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 128, 128, 315,
- 67, 67, 306, 0, 0, 0, 0, 0, 67, 67,
- 67, 0, 0, 0, 0, 106, 108, 107, 105, 109,
- 110, 111, 112, 113, 115, 163, 161, 150, 151, 152,
- 155, 66, 149, 219, 221, 0, 0, 0, 0, 0,
- 0, 0, 0, 169, 199, 0, 0, 0, 173, 0,
- 170, 0, 0, 0, 133, 238, 249, 250, 251, 256,
- 252, 253, 254, 255, 247, 0, 258, 265, 264, 266,
- 0, 275, 0, 0, 67, 67, 0, 311, 0, 313,
- 292, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 67, 0, 119, 118, 116, 117, 120,
- 121, 123, 133, 133, 0, 0, 0, 292, 0, 0,
- 0, 0, 0, 168, 154, 166, 0, 171, 172, 0,
- 0, 0, 0, 218, 237, 114, 235, 0, 248, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 319,
- 0, 0, 0, 302, 303, 0, 0, 0, 0, 0,
- 300, 0, 128, 0, 220, 222, 67, 0, 0, 0,
- 0, 0, 0, 0, 198, 175, 0, 0, 0, 0,
- 0, 0, 135, 133, 65, 0, 122, 0, 257, 0,
- 0, 291, 0, 0, 128, 129, 128, 0, 0, 0,
- 0, 0, 0, 318, 296, 297, 291, 0, 316, 67,
- 205, 0, 0, 189, 0, 0, 0, 0, 174, 0,
- 0, 67, 130, 136, 134, 64, 234, 236, 114, 131,
- 0, 0, 0, 114, 114, 0, 298, 299, 312, 314,
- 293, 0, 0, 301, 304, 305, 0, 128, 0, 0,
- 0, 195, 0, 0, 191, 192, 188, 65, 132, 126,
- 259, 0, 0, 0, 0, 122, 0, 285, 0, 122,
- 317, 193, 194, 0, 0, 0, 233, 0, 124, 0,
- 278, 0, 0, 106, 108, 114, 114, 0, 114, 114,
- 286, 307, 190, 196, 197, 127, 0, 239, 276, 0,
- 277, 0, 288, 287, 0, 0, 0, 125, 0, 0,
- 0, 114, 114, 0, 0, 0, 290, 289, 283, 0,
- 0, 282, 0, 279
+ 43, 44, 45, 46, 47, 48, 0, 0, 0, 130,
+ 130, 334, 67, 67, 325, 0, 0, 0, 0, 0,
+ 67, 67, 67, 67, 67, 0, 0, 0, 0, 0,
+ 107, 109, 108, 106, 110, 111, 112, 113, 114, 117,
+ 165, 163, 152, 153, 154, 157, 66, 151, 225, 227,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 171, 205, 0, 0, 0, 175, 0, 172,
+ 0, 0, 0, 135, 244, 255, 256, 257, 262, 258,
+ 259, 260, 261, 253, 0, 0, 0, 0, 271, 278,
+ 277, 279, 0, 0, 290, 0, 0, 67, 67, 67,
+ 67, 0, 330, 0, 332, 307, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 67, 0, 115, 121, 120, 118, 119, 122, 123, 125,
+ 135, 135, 0, 0, 0, 0, 0, 307, 0, 0,
+ 0, 0, 0, 0, 0, 170, 156, 168, 0, 173,
+ 174, 0, 0, 0, 0, 224, 243, 116, 241, 0,
+ 254, 0, 265, 0, 0, 0, 268, 0, 266, 281,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 338, 0, 0, 0, 321, 322, 0, 0, 0, 0,
+ 339, 0, 0, 0, 319, 0, 130, 0, 226, 228,
+ 67, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 204, 177, 0, 0, 0, 0, 0, 0,
+ 137, 135, 65, 0, 124, 0, 264, 156, 0, 263,
+ 267, 0, 0, 306, 0, 0, 0, 0, 130, 131,
+ 130, 0, 0, 0, 0, 0, 0, 337, 309, 0,
+ 67, 313, 314, 306, 0, 335, 67, 211, 0, 0,
+ 0, 0, 191, 0, 0, 0, 0, 202, 0, 176,
+ 0, 0, 67, 132, 138, 136, 64, 240, 242, 116,
+ 133, 0, 270, 0, 0, 0, 116, 116, 0, 315,
+ 316, 317, 318, 331, 333, 308, 0, 0, 320, 323,
+ 324, 310, 0, 0, 130, 0, 0, 0, 0, 0,
+ 199, 0, 0, 0, 193, 194, 190, 65, 134, 128,
+ 272, 269, 0, 0, 0, 0, 124, 0, 300, 0,
+ 340, 124, 336, 195, 196, 197, 198, 0, 0, 0,
+ 203, 239, 0, 126, 0, 293, 0, 0, 107, 109,
+ 116, 116, 0, 116, 116, 301, 326, 192, 200, 201,
+ 129, 0, 245, 291, 0, 292, 0, 303, 302, 0,
+ 0, 0, 127, 0, 0, 0, 116, 116, 0, 0,
+ 0, 305, 304, 298, 0, 0, 297, 0, 294
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
- -1, 263, 264, 265, 289, 306, 161, 162, 78, 526,
- 112, 12, 79, 14, 15, 40, 41, 42, 47, 53,
- 117, 127, 334, 228, 411, 337, 597, 578, 387, 482,
- 559, 433, 483, 80, 163, 136, 153, 137, 138, 109,
- 354, 376, 355, 120, 87, 154, 16, 17, 18, 20,
- 19, 364, 412, 413, 62, 23, 60, 100, 436, 437,
- 128, 169, 54, 95, 55, 48, 439, 377, 82, 379,
- 273, 56, 91, 92, 222, 582, 131, 312, 535, 449,
- 223, 224, 225, 226
+ -1, 272, 273, 274, 299, 316, 162, 163, 79, 587,
+ 113, 12, 80, 14, 15, 41, 42, 43, 48, 54,
+ 118, 128, 349, 233, 439, 352, 672, 653, 412, 530,
+ 629, 465, 531, 81, 164, 137, 154, 138, 139, 110,
+ 373, 398, 374, 121, 88, 155, 16, 17, 18, 20,
+ 19, 383, 440, 441, 63, 23, 61, 101, 468, 469,
+ 129, 170, 55, 96, 56, 49, 471, 399, 83, 401,
+ 282, 283, 57, 92, 93, 227, 657, 132, 324, 598,
+ 490, 500, 228, 229, 230, 231
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
-#define YYPACT_NINF -566
+#define YYPACT_NINF -622
static const yytype_int16 yypact[] =
{
- 331, -566, -566, -566, -566, -566, -566, -566, -9, -100,
- 18, -71, 93, 30, 60, -566, 155, 403, -566, 193,
- 186, 62, 87, -566, 120, 228, -566, 1521, -566, -566,
- -566, -566, -566, -566, -566, -566, -566, -566, -566, -566,
- 63, 63, 223, -566, -566, -566, -566, 63, -566, -566,
- -566, -566, -566, 63, 258, -566, -11, 259, 260, 263,
- -566, -566, -566, -566, -566, 136, -566, -566, -566, -566,
- -566, -566, -566, -566, 284, 287, 1, 710, -566, -566,
- -566, -31, -566, 255, 255, 217, -566, 57, 34, 34,
- -566, -566, 177, -566, -566, -566, -566, -566, -566, -566,
- -88, 1304, -566, 135, 137, 750, 136, -566, -31, -102,
- 143, 1304, 144, 57, 57, -566, -566, 1347, -566, -566,
- 1579, 296, -566, -566, -566, -566, -566, 1619, -566, -17,
- 1790, -566, 281, -566, -566, -31, -566, 150, 153, 1637,
- 1637, 145, -99, 1637, -566, 303, 164, -566, 1579, 1637,
- 136, 166, -31, 302, -566, 240, 311, 314, 318, 325,
- 328, 251, 332, 1074, 286, -566, 128, -566, -566, -566,
- -566, -566, 288, 1677, 20, 336, 34, -566, -566, -566,
- -566, -566, -566, -566, -566, -566, -566, -566, -566, -566,
- -566, -566, -566, -566, 349, 1159, 1637, 1637, 1637, 1637,
- -566, -566, -566, -566, -566, -566, -566, -566, -566, -566,
- -566, -566, 1637, 1637, 1637, 1637, 1637, 1637, 1637, 1637,
- 1637, 1637, -566, 34, -566, 53, -566, -566, -56, 1365,
- -566, -22, -39, -566, 181, -31, 196, -566, 286, -21,
- 1347, -566, -566, -566, -566, -566, -566, -566, -566, -566,
- -566, -566, 349, 1159, 201, 209, 214, 215, 221, 1405,
- 1695, 973, 351, 227, 230, 232, -566, -566, -566, 233,
- -566, 136, 661, -566, 800, 800, -566, 800, 1619, -566,
- -566, -566, -566, -566, -566, -566, -566, -566, -566, 1637,
- -566, -566, -566, -566, -566, -566, -566, -566, -566, -566,
- -566, -566, -566, -566, -566, -566, 1637, -13, -5, -566,
- 661, -32, 220, 237, 241, 245, 247, 248, 5, 661,
- 661, 366, 1619, 1637, 1637, -566, -566, -566, -566, -566,
- -566, -566, -566, -566, -566, -566, -566, 86, -566, -566,
- -566, -566, 86, -566, 144, 367, 236, 256, 1579, 1579,
- 1579, 1579, 1579, -566, -566, 6, 1016, -119, -566, -89,
- -566, 1579, 1579, 1579, 252, 1423, -566, -566, -566, -566,
- -566, -566, -566, -566, 348, 1579, -566, -566, -566, -566,
- 262, -566, 270, 800, 661, 661, 15, -566, 19, -566,
- -566, 800, 253, 1637, 1637, 1637, 1637, 1637, 274, 276,
- 277, 1637, 800, 661, 278, -566, -566, -566, -566, -566,
- -566, -566, 252, 252, 1637, 1579, 1579, -566, 298, 307,
- 309, 310, 1579, -566, 295, 928, -85, -566, -566, 315,
- 316, 375, 4, -566, -566, -31, 319, 265, -566, 392,
- -84, 418, 455, 326, 324, 327, 800, 475, 800, 329,
- 333, 800, 334, -31, -566, 335, 337, 1579, 800, 800,
- -31, 339, 340, 1637, -566, -566, -8, 341, 342, 110,
- 1579, 1579, 1579, 1579, -566, -566, 321, 1579, 1579, 1637,
- 463, 482, -566, 252, 556, 1463, -566, 350, -566, 800,
- 800, 1735, 800, 800, 340, -566, 340, 1637, 800, 354,
- 1637, 1637, 1637, -566, -566, -566, 1735, 450, -566, 661,
- -566, 1579, 1579, -566, 356, 353, 357, 358, -566, 361,
- 362, 2, -566, -566, -566, -566, -566, -566, -31, 39,
- 493, 363, 359, -15, -31, 121, -566, -566, -566, -566,
- -566, 360, 800, -566, -566, -566, 122, 340, 368, 369,
- 1579, -566, 1579, 1579, -566, -566, -566, 556, -566, 471,
- -566, 508, -2, 519, 519, -566, 1793, -566, 370, -566,
- -566, -566, -566, 378, 379, 380, -566, 529, 387, 800,
- -566, 1214, 10, 384, 385, -566, -566, 80, -15, -31,
- -566, 86, -566, -566, -566, -566, 515, -566, -566, 393,
- -566, 1214, -56, -56, 531, 519, 519, -566, 532, 396,
- 800, -566, -566, 800, 535, 481, -56, -56, -566, 800,
- 537, -566, 800, -566
+ 805, -622, -622, -622, -622, -622, -622, -622, -6, -112,
+ 23, -97, 91, -94, 24, -622, 126, 1385, -622, 135,
+ 257, 48, 77, -622, 3, 216, -622, 1807, -622, -622,
+ -622, -622, -622, -622, -622, -622, -622, -622, -622, -622,
+ -622, 49, 49, 187, -622, -622, -622, -622, 49, -622,
+ -622, -622, -622, -622, 49, 218, -622, 16, 220, 239,
+ 243, -622, -622, -622, -622, -622, 110, -622, -622, -622,
+ -622, -622, -622, -622, -622, 267, 271, 1, 691, -622,
+ -622, -622, -28, -622, 246, 246, 206, -622, 46, 215,
+ 215, -622, -622, 343, -622, -622, -622, -622, -622, -622,
+ -622, -59, 1537, -622, 121, 130, 880, 110, -622, -28,
+ -110, 138, 1537, 142, 46, 46, -622, -622, 1555, -622,
+ -622, 1830, 302, -622, -622, -622, -622, -622, 1848, -622,
+ -14, 2199, -622, 293, -622, -622, -28, -622, 160, 165,
+ 1877, 1877, 168, -103, 1877, -622, 334, 189, -622, 1830,
+ 1877, 110, 191, -28, 221, -622, 85, 341, 342, 345,
+ 354, 355, 323, 360, 1373, 315, -622, 28, -622, -622,
+ -622, -622, -622, 316, 1921, 42, 361, 215, -622, -622,
+ -622, -622, -622, -622, -622, -622, -622, -622, -622, -622,
+ -622, -622, -622, -622, -622, 393, 529, 393, 529, 1877,
+ 1877, 1877, 1877, -622, -622, -622, -622, -622, -622, -622,
+ -622, -622, -622, -622, -622, 1877, 1877, 1877, 1877, 1877,
+ 1877, 1877, 1877, 1877, 1877, 1877, 1877, -622, 215, -622,
+ 70, -622, -622, 176, 1578, -622, -39, -46, -622, 208,
+ -28, 223, -622, 315, 5, 1555, -622, -622, -622, -622,
+ -622, -622, -622, -622, -622, -622, -622, 393, 529, 393,
+ 529, 219, 227, 228, 234, 235, 241, 242, 1596, 2009,
+ 993, 356, 244, 245, 251, -622, -622, -622, 254, -622,
+ 110, 792, -622, 240, 943, 943, -622, 943, 1848, -622,
+ -622, -622, -622, -622, -622, -622, -622, -622, -622, 1877,
+ -622, -622, -622, -622, -622, -622, -622, -622, -622, -622,
+ -622, -622, -622, -622, -622, -622, 1877, 1877, 1877, 26,
+ 58, -622, 792, -35, 252, 256, 258, 259, 260, 263,
+ 792, 792, 792, 792, 792, 389, 1848, 1877, 1877, 375,
+ -622, -622, -622, -622, -622, -622, -622, -622, -622, -622,
+ -622, -622, 202, -622, -622, -622, -622, 202, -622, 142,
+ 390, 273, 274, 276, 277, 1830, 1830, 1830, 1830, 1830,
+ 1830, 1830, -622, -622, 57, 1268, -82, -622, -64, -622,
+ 1830, 1830, 1830, 275, 1628, -622, -622, -622, -622, -622,
+ -622, -622, -622, 374, 1757, 2041, 1313, 414, -622, -622,
+ -622, -622, 1877, 278, -622, 279, 943, 792, 792, 792,
+ 792, 31, -622, 33, -622, -622, 943, 280, 1877, 1877,
+ 1877, 1877, 1877, 281, 282, 284, 285, 287, 1877, 943,
+ 792, 288, -622, -622, -622, -622, -622, -622, -622, -622,
+ 275, 275, 1877, 1830, 1830, 1830, 1830, -622, 290, 291,
+ 292, 294, 282, 295, 1830, -622, 286, 1222, -62, -622,
+ -622, 301, 307, 429, 20, -622, -622, -28, 309, 312,
+ -622, 448, -622, 87, 1508, -10, -622, -61, -622, -622,
+ 455, 456, 318, 317, 319, 320, 321, 943, 473, 943,
+ 338, 339, 943, 340, -28, -622, 344, 346, 478, 496,
+ 351, 1877, 943, 943, -28, 348, 352, 1877, -622, -622,
+ -5, 353, 357, 359, 362, 115, 1830, 1830, 1830, 1830,
+ 146, 1830, -622, -622, 336, 1830, 1830, 1877, 493, 515,
+ -622, 275, 530, 1789, -622, 363, -622, 358, -60, -622,
+ -622, 943, 943, 2082, 943, 943, 943, 943, 352, -622,
+ 352, 1877, 943, 364, 1877, 1877, 1877, -622, -622, 516,
+ 792, -622, -622, 2082, 472, -622, 792, -622, 1830, 1830,
+ 1830, 1830, -622, 368, 377, 372, 376, -622, 282, -622,
+ 379, 381, 2, -622, -622, -622, -622, -622, -622, -28,
+ 4, 517, -622, 380, 382, 378, -16, -28, 157, -622,
+ -622, -622, -622, -622, -622, -622, 384, 943, -622, -622,
+ -622, -622, 282, 178, 352, 386, 388, 394, 396, 1830,
+ -622, 1830, 1830, 198, -622, -622, -622, 530, -622, 507,
+ -622, -622, 533, -7, 641, 641, -622, 2100, -622, 398,
+ 351, -622, -622, -622, -622, -622, -622, 406, 408, 409,
+ -622, -622, 564, 417, 943, -622, 1088, 7, 415, 416,
+ -622, -622, -12, -16, -28, -622, 202, -622, -622, -622,
+ -622, 548, -622, -622, 418, -622, 1088, 176, 176, 557,
+ 641, 641, -622, 558, 419, 943, -622, -622, 943, 562,
+ 508, 176, 176, -622, 943, 563, -622, 943, -622
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] =
{
- -566, 425, 426, 428, 312, 308, -173, -566, 0, 11,
- -145, 470, 8, -566, -566, -566, -566, 7, -566, -566,
- -566, -156, -566, -407, -566, -233, -566, -566, -296, 36,
- -566, -368, -566, -566, -26, 338, -120, -566, 452, 461,
- -114, -160, -247, 106, 185, 330, -566, -566, 552, -566,
- -566, -566, -566, -566, -566, -566, -566, -566, -566, -566,
- 485, -566, -566, -566, -566, -566, -566, -565, -113, 9,
- -82, -566, 520, -566, -566, -566, -566, -566, 65, 162,
- -566, -566, -566, -566
+ -622, 451, 452, 454, -163, -157, -174, -622, 0, -41,
+ -102, 494, 13, -622, -622, -622, -622, 222, -622, -622,
+ -622, -145, -622, -427, -622, -227, -622, -622, -301, -2,
+ -622, -412, -622, -622, -26, 369, -116, -622, 477, 484,
+ -113, -161, -259, 8, 147, 347, -622, -622, 574, -622,
+ -622, -622, -622, -622, -622, -622, -622, -622, -622, -622,
+ 503, -622, -622, -622, -622, -622, -622, -621, -121, 55,
+ -195, -622, -622, 537, -622, -622, -622, -622, -622, 32,
+ 151, -445, -622, -622, -622, -622
};
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
number is the opposite. If zero, do what YYDEFACT says.
If YYTABLE_NINF, syntax error. */
-#define YYTABLE_NINF -208
+#define YYTABLE_NINF -214
static const yytype_int16 yytable[] =
{
- 11, 81, 277, 266, 342, 104, 164, 166, 13, 276,
- 90, 167, 389, 357, 359, 110, 599, 11, 93, 268,
- 278, 276, 110, 110, 1, 13, 446, 3, 484, 5,
- 448, 274, 110, 110, 238, 422, 609, 275, 480, -143,
- 241, 110, 427, 21, 464, 465, 110, 83, 84, 110,
- 267, 108, 143, 24, 88, 143, 110, 481, 22, 110,
- 89, 144, 325, 326, 234, 422, 132, 322, 447, 422,
- 422, 133, 447, 480, 428, 135, 25, 488, 476, 108,
- 327, 328, 26, 329, 330, 135, 331, 332, 333, 118,
- 119, 152, 11, 343, 344, 121, 122, 123, 124, 125,
- 126, 152, 29, 30, 31, 32, 33, 34, 35, 426,
- 36, 27, 111, 231, 232, 524, 309, 235, 604, 111,
- 111, 557, 339, 239, -67, 391, 563, 564, 440, 111,
- 111, 313, 314, 315, 316, 317, -143, 338, 111, 321,
- -143, 386, -67, 111, 510, 168, 111, 272, 2, 388,
- -67, 4, 94, 111, 556, 43, 111, 580, 383, 378,
- 422, 378, 378, 105, 378, 423, 508, 323, 324, 600,
- 307, 308, 272, 310, 269, 405, 406, 407, 602, 603,
- 408, 605, 606, 28, 409, 410, 311, 272, 272, 272,
- 272, 272, 318, 319, 320, 272, 1, 378, 538, 3,
- 539, 5, 402, 135, 616, 617, 378, 378, 37, 38,
- 39, 37, 38, 39, 152, 57, 405, 406, 407, 148,
- 149, 408, 405, 406, 407, 409, 410, 408, 49, 50,
- 51, 409, 410, 52, 417, 418, 419, 420, 421, 45,
- 58, 46, 404, -55, -55, -55, -55, 429, 430, 431,
- 61, 570, 152, 529, 244, 245, 246, 247, 85, 115,
- 86, 116, 513, 384, 497, 266, 242, 243, 113, 114,
- 378, 378, 378, 565, 569, 566, 566, 59, 378, 90,
- 385, 97, 98, 380, 381, 99, 382, 101, 102, 378,
- 378, 103, 86, 139, 145, 140, 152, 403, 272, 147,
- 165, 467, 468, 227, 229, 230, 233, 236, 474, 63,
- 64, 452, 267, 454, 455, 456, 237, 240, 398, 390,
- -56, 1, 2, -57, 3, 4, 5, -60, 399, 400,
- 425, -207, 587, 378, -59, 378, 591, -58, 378, 435,
- 110, 248, 340, 503, 270, 378, 378, 276, 341, -69,
- 1, 2, 348, 3, 4, 5, 514, 515, 516, 517,
- 349, 6, 7, 519, 520, 350, 351, 272, 453, 272,
- 272, 272, 352, 360, 392, 460, 378, 378, 361, 378,
- 378, 362, 8, 363, 365, 378, 9, 415, 466, 581,
- 10, 393, 443, 444, 445, 394, 378, 548, 549, 395,
- 450, 396, 397, -206, 401, 414, 432, 416, 438, 601,
- 451, 461, 462, 479, 487, 540, 441, 486, 543, 544,
- 545, -69, 1, 2, 442, 3, 4, 5, 457, 378,
- 458, 459, 463, 6, 7, 489, 573, 509, 574, 575,
- 279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
- 378, 378, 470, 521, 8, 494, 475, 496, 9, 528,
- 499, 471, 10, 472, 473, 534, 378, 504, 505, 477,
- 478, 272, 490, 485, 272, 272, 272, 491, 492, 495,
- 534, 493, 518, 497, 525, 522, 523, 498, 500, 501,
- 506, 502, 378, 378, 507, 511, 512, 378, 531, 532,
- 378, 536, 537, 447, 530, 551, 378, 541, 542, 378,
- 550, 552, 553, 554, 555, 560, 562, 561, 547, 567,
- 571, 572, 366, 367, 577, 579, 63, 64, 368, 590,
- 592, 593, 594, 595, 596, -18, -19, 607, 1, 2,
- 589, 3, 4, 5, 369, 370, 371, 608, 610, 613,
- 614, 568, 619, 620, 622, 219, 220, 525, 221, 372,
- 373, 347, 130, 146, 346, 558, 142, 336, 576, 44,
- 345, 546, 585, 586, 129, 1, 96, 374, 3, 469,
- 5, 0, 0, 0, 0, 0, 0, 0, 598, 0,
- 0, 0, 0, 179, 180, 181, 182, 183, 184, 185,
- 186, 187, 188, 189, 190, 191, 192, 193, 252, 253,
- 0, 0, 0, 0, 611, 612, 0, 0, 0, 615,
- 0, 0, 618, 0, 0, 0, 0, 0, 621, 0,
- 0, 623, 0, 0, 0, 254, 200, 583, 584, 203,
- 204, 205, 206, 207, 208, 209, 210, 211, 0, 255,
- 0, 256, 257, 258, 0, 327, 328, 0, 329, 330,
- 0, 331, 332, 333, 366, 367, 0, 0, 63, 64,
- 368, 0, 0, 0, 325, 326, 0, 0, 0, 375,
- 1, 2, 0, 3, 4, 5, 369, 370, 371, 0,
- 0, 0, 327, 328, 0, 329, 330, 0, 331, 332,
- 333, 372, 373, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 110, 0, 63, 64, 374,
- 106, 66, 67, 68, 69, 70, 71, 72, 0, 1,
- 2, 0, 3, 4, 5, 179, 180, 181, 182, 183,
+ 11, 82, 287, 275, 286, 105, 321, 520, 165, 111,
+ 376, 378, 167, 13, 168, 357, 111, 11, 286, 414,
+ 111, 325, 326, 327, 328, 329, 679, 111, 508, 509,
+ 13, 335, 288, 246, 317, 674, 243, 91, 528, -145,
+ 532, 318, 487, 276, 489, 94, 24, 21, 2, 144,
+ 111, 4, 109, 284, 528, 684, 144, 111, 145, 285,
+ 111, 26, 22, 277, 28, 239, 29, 30, 31, 32,
+ 33, 34, 35, 36, 529, 37, 136, 454, 119, 120,
+ 109, 111, 25, 336, 459, 488, 136, 488, -55, -55,
+ -55, -55, 153, 11, 361, 454, 363, 454, 454, 454,
+ 133, 362, 153, 364, 460, 134, 524, 540, 593, 27,
+ 112, 247, 248, 111, 236, 237, 458, 112, 240, 585,
+ 354, 112, 149, 150, 244, 353, 44, 416, 112, 433,
+ 434, 435, -67, 623, 436, 473, 475, 477, 437, 438,
+ -145, 358, 359, 431, -145, 433, 434, 435, 281, 454,
+ 436, 112, 567, 169, 437, 438, 539, 655, 112, 626,
+ 400, 112, 627, 400, 400, 60, 400, 640, 106, 634,
+ 635, 675, 406, 319, 320, 281, 322, 38, 39, 40,
+ 278, 46, 112, 47, 95, 411, -67, 337, 338, 323,
+ 281, 281, 281, 281, 281, 330, 331, 332, 333, 334,
+ 281, 400, 38, 39, 40, 565, 58, 479, 136, 400,
+ 400, 400, 400, 400, 112, 538, 454, 413, -67, 153,
+ 429, 455, 86, 493, 87, 495, 496, 497, 64, 65,
+ 339, 114, 115, 677, 678, 59, 680, 681, 62, 91,
+ 1, 2, 98, 3, 4, 5, 454, 603, 116, 604,
+ 117, 536, 447, 448, 449, 450, 451, 452, 453, 691,
+ 692, 99, 153, 84, 85, 100, 102, 461, 462, 463,
+ 89, 103, 572, 407, 551, 104, 90, 122, 123, 124,
+ 125, 126, 127, 87, 140, 400, 400, 400, 400, 400,
+ 408, 409, 410, 141, 146, 400, 275, 340, 341, 50,
+ 51, 52, 148, 577, 53, 559, 166, 590, 400, 400,
+ 153, 430, 281, 642, 636, 232, 637, 342, 343, 234,
+ 344, 345, 235, 346, 347, 348, 249, 250, 251, 252,
+ 511, 512, 513, 514, 238, 641, 276, 637, 241, 403,
+ 404, 522, 405, 433, 434, 435, 242, 245, 436, 457,
+ -56, -57, 437, 438, -60, 650, 605, 559, 467, 608,
+ 609, 610, 1, -59, -58, 3, 400, 5, 400, 253,
+ 111, 400, 286, 279, 355, 365, 281, 415, 379, 432,
+ 356, 400, 400, 366, 367, 423, 424, 425, 426, 427,
+ 368, 369, 281, 494, 281, 281, 281, 370, 371, 402,
+ 380, 381, 504, 573, 574, 575, 576, 382, 578, 662,
+ 384, 417, 580, 581, 666, 418, 510, 419, 420, 421,
+ 400, 400, 422, 400, 400, 400, 400, 428, 442, 443,
+ 444, 400, 445, 446, 464, 470, 478, 480, 481, 400,
+ 498, 499, 492, 501, 502, 400, 503, 507, 457, 516,
+ 517, 518, 523, 519, 521, 615, 616, 617, 618, 656,
+ 525, 482, 483, 484, 485, 486, 526, 527, 533, 534,
+ 535, 491, 541, 542, 543, 560, 544, 549, 545, 546,
+ 547, 566, 557, 676, 505, 506, 400, 289, 290, 291,
+ 292, 293, 294, 295, 296, 297, 298, 551, 552, 554,
+ 558, 582, 579, 555, 563, 556, 647, 589, 648, 649,
+ 559, 564, 568, 400, 400, 583, 569, 597, 570, 584,
+ 611, 571, 591, 607, 592, 281, 488, 619, 281, 281,
+ 281, 621, 586, 400, 620, 622, 624, 597, 625, 630,
+ 633, 632, 548, 643, 550, 644, 631, 553, 638, 1,
+ 654, 645, 3, 646, 5, 300, 301, 561, 562, 400,
+ 400, 652, 665, 667, 400, 668, 669, 400, 670, 671,
+ 682, -18, -19, 400, 685, 688, 400, 683, 689, 694,
+ 697, 695, 224, 225, 339, 226, 651, 131, 628, 147,
+ 143, 45, 360, 130, 97, 613, 594, 595, 515, 599,
+ 600, 601, 602, 351, 0, 0, 0, 606, 0, 0,
+ 0, 664, 0, 0, 0, 612, 0, 0, 0, 0,
+ 0, 614, 0, 0, 0, 0, 0, 586, 0, 302,
+ 303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
+ 313, 314, 315, 0, 385, 386, 0, 0, 64, 65,
+ 387, 340, 341, 0, 0, 0, 0, 0, 0, 0,
+ 1, 2, 639, 3, 4, 5, 388, 389, 390, 0,
+ 0, 342, 343, 0, 344, 345, 0, 346, 347, 348,
+ 0, 391, 392, 0, 0, 0, 0, 0, 0, 660,
+ 661, 0, 0, 0, 0, 339, 0, 0, 64, 65,
+ 393, 107, 67, 68, 69, 70, 71, 72, 73, 673,
+ 1, 2, 0, 3, 4, 5, 180, 181, 182, 183,
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
- 252, 253, 0, 0, 0, 0, 0, 63, 64, 73,
- 106, 66, 67, 68, 69, 70, 71, 72, 0, 1,
- 2, 0, 3, 4, 5, 0, 0, 254, 200, 201,
- 202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
- 0, 255, 0, 256, 257, 258, 0, 0, 0, 73,
- 0, 0, 0, 366, 367, 0, 0, 63, 64, 368,
- 0, 0, 111, 0, 0, 0, 0, 0, 0, 1,
- 2, 375, 3, 4, 5, 369, 370, 371, 0, 0,
+ 194, 257, 258, 259, 260, 686, 687, 0, 0, 0,
+ 690, 74, 0, 693, 0, 0, 0, 0, 0, 696,
+ 0, 0, 698, 0, 0, 0, 0, 0, 0, 0,
+ 261, 203, 658, 659, 206, 207, 208, 209, 210, 211,
+ 212, 213, 214, 0, 262, 0, 263, 264, 265, 0,
+ 266, 267, 342, 343, 0, 344, 345, 0, 346, 347,
+ 348, 0, 0, 0, 0, 385, 386, 0, 0, 64,
+ 65, 387, 0, 394, 0, -213, 395, 0, 396, 0,
+ 397, 1, 2, 0, 3, 4, 5, 388, 389, 390,
+ 0, 0, 0, -69, 1, 2, 0, 3, 4, 5,
+ 0, 0, 391, 392, 0, 6, 7, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 111, 0, 0,
+ 0, 393, 75, 76, 0, 0, 77, 8, 78, 108,
+ 0, 9, 0, 0, 0, 10, 0, 180, 181, 182,
+ 183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
+ 193, 194, 257, 258, 259, 260, 0, 64, 65, 0,
+ 107, 67, 68, 69, 70, 71, 72, 73, 0, 1,
+ 2, 0, 3, 4, 5, 0, 0, 0, 0, 0,
+ 0, 261, 203, 204, 205, 206, 207, 208, 209, 210,
+ 211, 212, 213, 214, 0, 262, 0, 263, 264, 265,
+ 74, 266, 267, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 385, 386, 112, 0,
+ 64, 65, 387, 0, 394, 0, 0, 395, 0, 396,
+ 0, 397, 1, 2, 0, 3, 4, 5, 388, 389,
+ 390, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 391, 392, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 64, 65, 393, 107, 156, 157, 158, 159, 160, 161,
+ 73, 0, 1, 2, 0, 3, 4, 5, 180, 181,
+ 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
+ 192, 193, 194, 257, 258, 259, 260, 0, 0, 0,
+ 0, 75, 76, 74, 0, 77, 0, 78, 142, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 372, 373, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 374, 0,
- 0, 0, 0, 0, 0, 0, 74, 75, 0, 0,
- 76, 0, 77, 107, 179, 180, 181, 182, 183, 184,
- 185, 186, 187, 188, 189, 190, 191, 192, 193, 252,
- 253, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 74, 75, 0, 0,
- 76, 0, 77, 141, 0, 0, 254, 200, 201, 202,
- 203, 204, 205, 206, 207, 208, 209, 210, 211, 0,
- 255, 0, 256, 257, 258, 63, 64, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 1, 2, 0,
- 3, 4, 5, 249, 0, 0, 0, 0, 0, 0,
- 375, 0, 0, 0, 0, 0, 0, 0, 250, 251,
+ 0, 0, 261, 203, 204, 205, 206, 207, 208, 209,
+ 210, 211, 212, 213, 214, 0, 262, 0, 263, 264,
+ 265, 0, 266, 267, 0, 0, 0, 0, 0, 0,
+ 0, 385, 386, 0, 0, 0, 0, 387, 0, 0,
+ 0, 0, 0, 0, 0, 394, 0, 0, 395, 0,
+ 396, 0, 397, 388, 389, 390, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 391, 392,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 63, 64, 110, 106, 155, 156, 157, 158, 159, 160,
- 72, 0, 1, 2, 0, 3, 4, 5, 0, 0,
- 0, 0, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 252, 253, 0,
- 0, 0, 73, 63, 64, 0, 106, 155, 156, 157,
- 158, 159, 160, 72, 0, 1, 2, 0, 3, 4,
- 5, 0, 0, 0, 254, 200, 201, 202, 203, 204,
- 205, 206, 207, 208, 209, 210, 211, 0, 255, 0,
- 256, 257, 258, 0, 0, 73, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 111,
- 0, 63, 64, -67, 0, 259, 0, 0, 260, 0,
- 261, 0, 262, 1, 2, 0, 3, 4, 5, 249,
+ 0, 0, 0, 0, 0, 0, 0, 393, 0, 0,
+ 0, 0, 0, 0, 75, 76, 0, 0, 77, 0,
+ 78, 377, 0, 180, 181, 182, 183, 184, 185, 186,
+ 187, 188, 189, 190, 191, 192, 193, 194, 257, 258,
+ 259, 260, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 110, 74,
- 75, 0, 0, 76, 0, 77, 358, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 179, 180,
- 181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
- 191, 192, 193, 252, 253, 0, 0, 0, 0, 0,
- 0, 0, 74, 75, 0, 0, 76, 0, 77, 424,
- 0, 0, 0, 0, 0, 290, 291, 0, 0, 0,
- 254, 200, 201, 202, 203, 204, 205, 206, 207, 208,
- 209, 210, 211, 0, 255, 0, 256, 257, 258, 0,
- 0, 0, 0, 0, 0, 0, 0, 366, 367, 0,
- 0, 0, 0, 368, 0, 111, 0, 0, 0, 0,
- 0, 259, 0, 0, 260, 0, 261, 0, 262, 369,
- 370, 371, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 372, 373, 292, 293, 294, 295,
- 296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
- 0, 0, 374, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 179, 180,
- 181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
- 191, 192, 193, 252, 253, 0, 0, 0, 0, 0,
- 0, 63, 64, 0, 106, 66, 67, 68, 69, 70,
- 71, 72, 0, 1, 2, 0, 3, 4, 5, 0,
- 254, 200, 201, 202, 203, 204, 205, 206, 207, 208,
- 209, 210, 211, 134, 255, 0, 256, 257, 258, 0,
- 0, 0, 0, 73, 63, 64, 0, 150, 66, 67,
- 68, 69, 70, 71, 72, 0, 1, 2, 0, 3,
- 4, 5, 63, 64, 375, 106, 66, 67, 68, 69,
- 70, 71, 72, 0, 1, 2, 0, 3, 4, 5,
- 0, 0, 0, 0, 0, 0, 73, 0, 0, 0,
- 0, 0, 0, 0, 335, 0, 0, 0, 0, 0,
- 0, 0, 63, 64, 73, 106, 155, 156, 157, 158,
- 159, 160, 72, 0, 1, 2, 0, 3, 4, 5,
- 63, 64, 0, 106, 66, 67, 68, 69, 70, 71,
- 72, 0, 1, 2, 0, 3, 4, 5, 0, 0,
- 0, 0, 0, 0, 73, 0, 0, 0, 0, 0,
- 74, 75, 434, 0, 76, 0, 77, 0, 0, 151,
- 63, 64, 73, 106, 66, 67, 68, 69, 70, 71,
- 72, 0, 1, 2, 0, 3, 4, 5, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 261, 203, 204,
+ 205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
+ 0, 262, 0, 263, 264, 265, 0, 266, 267, 64,
+ 65, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1, 2, 0, 3, 4, 5, 254, 0, 0,
+ 394, 0, 0, 395, 0, 396, 0, 397, 0, 0,
+ 0, 0, 255, 256, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 64, 65, 111, 107, 156,
+ 157, 158, 159, 160, 161, 73, 0, 1, 2, 0,
+ 3, 4, 5, 0, 0, 0, 0, 180, 181, 182,
+ 183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
+ 193, 194, 257, 258, 259, 260, 0, 0, 74, 0,
+ 64, 65, 0, 107, 156, 157, 158, 159, 160, 161,
+ 73, 0, 1, 2, 0, 3, 4, 5, 0, 0,
+ 0, 261, 203, 204, 205, 206, 207, 208, 209, 210,
+ 211, 212, 213, 214, 0, 262, 0, 263, 264, 265,
+ 0, 266, 267, 74, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 112, 0,
+ 64, 65, -67, 0, 268, -212, 0, 269, 0, 270,
+ 0, 271, 1, 2, 0, 3, 4, 5, 254, 0,
+ 0, 0, 0, -69, 1, 2, 0, 3, 4, 5,
+ 0, 0, 0, 255, 256, 6, 7, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 111, 75,
+ 76, 0, 0, 77, 0, 78, 456, 8, 0, 0,
+ 0, 9, 0, 0, 0, 10, 0, 0, 180, 181,
+ 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
+ 192, 193, 194, 257, 258, 259, 260, 0, 0, 0,
+ 0, 0, 0, 0, 75, 76, 0, 0, 77, 0,
+ 78, 476, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 261, 203, 204, 205, 206, 207, 208, 209,
+ 210, 211, 212, 213, 214, 0, 262, 0, 263, 264,
+ 265, 0, 266, 267, 0, 64, 65, 0, 107, 156,
+ 157, 158, 159, 160, 161, 73, 0, 1, 2, 112,
+ 3, 4, 5, 0, 0, 268, 0, 0, 269, 0,
+ 270, 0, 271, 0, 64, 65, 0, 107, 67, 68,
+ 69, 70, 71, 72, 73, 0, 1, 2, 74, 3,
+ 4, 5, 64, 65, 0, 151, 67, 68, 69, 70,
+ 71, 72, 73, 0, 1, 2, 135, 3, 4, 5,
+ 0, 0, 0, 0, 0, 64, 65, 74, 107, 67,
+ 68, 69, 70, 71, 72, 73, 0, 1, 2, 0,
+ 3, 4, 5, 64, 65, 74, 107, 156, 157, 158,
+ 159, 160, 161, 73, 0, 1, 2, 350, 3, 4,
+ 5, 0, 0, 0, 0, 0, 0, 0, 74, 0,
+ 0, 0, 0, 0, 0, 64, 65, 0, 107, 67,
+ 68, 69, 70, 71, 72, 73, 74, 1, 2, 0,
+ 3, 4, 5, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 466, 0, 75,
+ 76, 0, 0, 77, 0, 78, 537, 0, 74, 0,
+ 152, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 75, 76,
+ 0, 0, 77, 0, 78, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 75, 76, 0, 0,
+ 77, 0, 78, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 75,
+ 76, 0, 0, 77, 0, 78, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 75, 76, 0,
+ 372, 77, 0, 78, 64, 65, 0, 107, 156, 157,
+ 158, 159, 160, 161, 73, 0, 1, 2, 0, 3,
+ 4, 5, 0, 0, 0, 0, 0, 0, 0, 75,
+ 76, 0, 0, 77, 0, 78, 64, 65, 0, 107,
+ 67, 68, 69, 70, 71, 72, 73, 74, 1, 2,
+ 0, 3, 4, 5, 64, 65, 0, 66, 67, 68,
+ 69, 70, 71, 72, 73, 0, 1, 2, 588, 3,
+ 4, 5, 0, 0, 0, 0, 0, 64, 65, 74,
+ 107, 156, 157, 158, 159, 160, 161, 73, 0, 1,
+ 2, 0, 3, 4, 5, 64, 65, 74, 151, 67,
+ 68, 69, 70, 71, 72, 73, 0, 1, 2, 0,
+ 3, 4, 5, 0, 0, 0, 0, 0, 0, 0,
+ 74, 0, 0, 0, 64, 65, 0, 107, 67, 68,
+ 69, 70, 71, 72, 73, 0, 1, 2, 74, 3,
+ 4, 5, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 75, 76,
+ 0, 472, 77, 0, 78, 0, 0, 74, 64, 65,
+ 0, 280, 67, 68, 69, 70, 71, 72, 73, 0,
+ 1, 2, 0, 3, 4, 5, 0, 0, 0, 0,
+ 75, 76, 0, 0, 77, 0, 78, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 75, 76,
+ 0, 74, 77, 0, 78, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 527, 74, 75, 0, 0, 76, 0, 77,
- 0, 0, 73, 0, 0, 0, 0, 0, 0, 0,
- 0, 74, 75, 0, 0, 76, 0, 77, 63, 64,
- 0, 65, 66, 67, 68, 69, 70, 71, 72, 0,
+ 0, 75, 76, 0, 0, 77, 0, 78, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 75,
+ 76, 0, 0, 77, 0, 78, 64, 65, 0, 107,
+ 156, 157, 158, 159, 160, 161, 73, 0, 1, 2,
+ 0, 3, 4, 5, 0, 0, 0, 0, 75, 76,
+ 0, 0, 77, 0, 78, 0, 0, 0, 64, 65,
+ 0, 107, 156, 157, 158, 159, 160, 161, 73, 74,
1, 2, 0, 3, 4, 5, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 74, 75, 0, 353, 76, 0, 77, 0, 0,
- 73, 0, 0, 0, 0, 0, 0, 0, 0, 74,
- 75, 0, 0, 76, 0, 77, 63, 64, 0, 106,
- 155, 156, 157, 158, 159, 160, 72, 0, 1, 2,
- 0, 3, 4, 5, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 74,
- 75, 0, 0, 76, 0, 77, 63, 64, 73, 150,
- 66, 67, 68, 69, 70, 71, 72, 0, 1, 2,
- 0, 3, 4, 5, 63, 64, 0, 106, 66, 67,
- 68, 69, 70, 71, 72, 0, 1, 2, 0, 3,
- 4, 5, 0, 0, 0, 0, 0, 0, 73, 0,
- 0, 0, 0, 0, 0, 0, 0, 74, 75, 0,
- 0, 76, 0, 77, 63, 64, 73, 271, 66, 67,
- 68, 69, 70, 71, 72, 0, 1, 2, 0, 3,
- 4, 5, 63, 64, 0, 106, 155, 156, 157, 158,
- 159, 160, 72, 0, 1, 2, 0, 3, 4, 5,
- 0, 0, 0, 0, 0, 0, 73, 0, 0, 0,
- 0, 0, 0, 0, 0, 74, 75, 0, 0, 76,
- 0, 77, 63, 64, 73, 106, 66, 67, 68, 69,
- 70, 71, 533, 0, 1, 2, 0, 3, 4, 5,
+ 0, 0, 75, 76, 0, 0, 77, 0, 78, 64,
+ 65, 74, 107, 67, 68, 69, 70, 71, 72, 596,
+ 0, 1, 2, 0, 3, 4, 5, 64, 65, 0,
+ 107, 67, 68, 69, 70, 71, 72, 663, 0, 1,
+ 2, 0, 3, 4, 5, 0, 0, 0, 0, 0,
+ 0, 0, 74, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 74, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 74, 75, 0, 0, 76,
- 0, 77, 0, 0, 73, 0, 0, 0, 0, 0,
- 0, 0, 0, 74, 75, 0, 0, 76, 0, 77,
- 63, 64, 0, 106, 66, 67, 68, 69, 70, 71,
- 588, 0, 1, 2, 0, 3, 4, 5, 0, 0,
- 0, 0, 0, 0, 0, 0, 170, 0, 0, 0,
- 0, 0, 0, 74, 75, 0, 0, 76, 0, 77,
- 0, 0, 73, 0, 0, 0, 171, 172, 0, 0,
- 0, 74, 75, 0, 0, 76, 0, 356, 173, 174,
- 175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
- 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 74, 75, 0, 0, 76, 0, 77, 0, 0,
- 0, 196, 197, 198, 0, 0, 199, 200, 201, 202,
- 203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
- 213, 214, 215, 216, 217, 218, 0, 0, 0, 0,
+ 75, 76, 0, 0, 77, 0, 375, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 74,
- 75, 0, 0, 76, 0, 77
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 75, 76, 0, 0, 77, 0, 474, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 171, 0, 0, 0, 0,
+ 0, 0, 0, 75, 76, 0, 0, 77, 0, 78,
+ 0, 0, 0, 0, 0, 0, 172, 173, 0, 0,
+ 0, 75, 76, 0, 0, 77, 0, 78, 174, 175,
+ 176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
+ 186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
+ 196, 197, 198, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 199, 200, 201, 0, 0, 202, 203,
+ 204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
+ 214, 215, 216, 217, 218, 219, 220, 221, 222, 223
};
static const yytype_int16 yycheck[] =
{
- 0, 27, 175, 163, 237, 4, 120, 127, 0, 11,
- 21, 28, 308, 260, 261, 54, 581, 17, 29, 164,
- 176, 11, 54, 54, 19, 17, 11, 22, 435, 24,
- 11, 11, 54, 54, 148, 154, 601, 17, 34, 54,
- 153, 54, 161, 52, 412, 413, 54, 40, 41, 54,
- 163, 77, 154, 153, 47, 154, 54, 53, 67, 54,
- 53, 163, 118, 119, 163, 154, 154, 223, 53, 154,
- 154, 159, 53, 34, 163, 101, 58, 161, 163, 105,
- 136, 137, 153, 139, 140, 111, 142, 143, 144, 32,
- 33, 117, 92, 238, 239, 61, 62, 63, 64, 65,
- 66, 127, 42, 43, 44, 45, 46, 47, 48, 356,
- 50, 18, 151, 139, 140, 483, 198, 143, 38, 151,
- 151, 528, 161, 149, 155, 157, 533, 534, 375, 151,
- 151, 213, 214, 215, 216, 217, 151, 159, 151, 221,
- 155, 154, 155, 151, 152, 162, 151, 173, 20, 154,
- 155, 23, 163, 151, 152, 0, 151, 159, 278, 272,
- 154, 274, 275, 162, 277, 159, 462, 114, 115, 159,
- 196, 197, 198, 199, 166, 136, 137, 138, 585, 586,
- 141, 588, 589, 153, 145, 146, 212, 213, 214, 215,
- 216, 217, 218, 219, 220, 221, 19, 310, 494, 22,
- 496, 24, 322, 229, 611, 612, 319, 320, 148, 149,
- 150, 148, 149, 150, 240, 153, 136, 137, 138, 113,
- 114, 141, 136, 137, 138, 145, 146, 141, 42, 43,
- 44, 145, 146, 47, 348, 349, 350, 351, 352, 46,
- 153, 48, 324, 3, 4, 5, 6, 361, 362, 363,
- 22, 547, 278, 486, 3, 4, 5, 6, 35, 42,
- 37, 44, 152, 289, 154, 425, 26, 27, 83, 84,
- 383, 384, 385, 152, 152, 154, 154, 157, 391, 21,
- 306, 22, 22, 274, 275, 22, 277, 151, 4, 402,
- 403, 4, 37, 158, 151, 158, 322, 323, 324, 155,
- 4, 415, 416, 22, 154, 152, 161, 4, 422, 7,
- 8, 393, 425, 395, 396, 397, 152, 151, 318, 310,
- 9, 19, 20, 9, 22, 23, 24, 9, 319, 320,
- 356, 0, 565, 446, 9, 448, 569, 9, 451, 365,
- 54, 9, 161, 457, 56, 458, 459, 11, 152, 18,
- 19, 20, 151, 22, 23, 24, 470, 471, 472, 473,
- 151, 30, 31, 477, 478, 151, 151, 393, 394, 395,
- 396, 397, 151, 22, 154, 401, 489, 490, 151, 492,
- 493, 151, 51, 151, 151, 498, 55, 151, 414, 562,
- 59, 154, 383, 384, 385, 154, 509, 511, 512, 154,
- 391, 154, 154, 0, 38, 38, 154, 151, 60, 582,
- 157, 402, 403, 38, 22, 497, 154, 152, 500, 501,
- 502, 18, 19, 20, 154, 22, 23, 24, 154, 542,
- 154, 154, 154, 30, 31, 17, 550, 463, 552, 553,
- 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
- 563, 564, 154, 479, 51, 446, 161, 448, 55, 485,
- 451, 154, 59, 154, 154, 491, 579, 458, 459, 154,
- 154, 497, 17, 154, 500, 501, 502, 151, 154, 4,
- 506, 154, 161, 154, 484, 22, 4, 154, 154, 154,
- 151, 154, 605, 606, 154, 154, 154, 610, 489, 490,
- 613, 492, 493, 53, 154, 152, 619, 498, 154, 622,
- 154, 154, 154, 152, 152, 22, 157, 154, 509, 159,
- 152, 152, 3, 4, 53, 17, 7, 8, 9, 159,
- 152, 152, 152, 4, 147, 151, 151, 22, 19, 20,
- 566, 22, 23, 24, 25, 26, 27, 154, 17, 17,
- 154, 542, 17, 72, 17, 130, 130, 557, 130, 40,
- 41, 253, 92, 111, 252, 529, 105, 229, 557, 17,
- 240, 506, 563, 564, 89, 19, 56, 58, 22, 417,
- 24, -1, -1, -1, -1, -1, -1, -1, 579, -1,
- -1, -1, -1, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
- -1, -1, -1, -1, 605, 606, -1, -1, -1, 610,
- -1, -1, 613, -1, -1, -1, -1, -1, 619, -1,
- -1, 622, -1, -1, -1, 116, 117, 118, 119, 120,
- 121, 122, 123, 124, 125, 126, 127, 128, -1, 130,
- -1, 132, 133, 134, -1, 136, 137, -1, 139, 140,
- -1, 142, 143, 144, 3, 4, -1, -1, 7, 8,
- 9, -1, -1, -1, 118, 119, -1, -1, -1, 160,
- 19, 20, -1, 22, 23, 24, 25, 26, 27, -1,
- -1, -1, 136, 137, -1, 139, 140, -1, 142, 143,
- 144, 40, 41, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 54, -1, 7, 8, 58,
- 10, 11, 12, 13, 14, 15, 16, 17, -1, 19,
- 20, -1, 22, 23, 24, 74, 75, 76, 77, 78,
+ 0, 27, 176, 164, 11, 4, 201, 452, 121, 55,
+ 269, 270, 128, 0, 28, 242, 55, 17, 11, 320,
+ 55, 216, 217, 218, 219, 220, 38, 55, 440, 441,
+ 17, 226, 177, 154, 197, 656, 149, 21, 34, 55,
+ 467, 198, 11, 164, 11, 29, 158, 53, 20, 159,
+ 55, 23, 78, 11, 34, 676, 159, 55, 168, 17,
+ 55, 158, 68, 165, 158, 168, 42, 43, 44, 45,
+ 46, 47, 48, 49, 54, 51, 102, 159, 32, 33,
+ 106, 55, 59, 228, 166, 54, 112, 54, 3, 4,
+ 5, 6, 118, 93, 257, 159, 259, 159, 159, 159,
+ 159, 258, 128, 260, 168, 164, 168, 168, 168, 18,
+ 156, 26, 27, 55, 140, 141, 375, 156, 144, 531,
+ 166, 156, 114, 115, 150, 164, 0, 162, 156, 141,
+ 142, 143, 160, 578, 146, 394, 395, 396, 150, 151,
+ 156, 243, 244, 338, 160, 141, 142, 143, 174, 159,
+ 146, 156, 157, 167, 150, 151, 166, 164, 156, 157,
+ 281, 156, 589, 284, 285, 162, 287, 612, 167, 596,
+ 597, 164, 288, 199, 200, 201, 202, 153, 154, 155,
+ 167, 46, 156, 48, 168, 159, 160, 117, 118, 215,
+ 216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
+ 226, 322, 153, 154, 155, 506, 158, 402, 234, 330,
+ 331, 332, 333, 334, 156, 474, 159, 159, 160, 245,
+ 336, 164, 35, 418, 37, 420, 421, 422, 7, 8,
+ 54, 84, 85, 660, 661, 158, 663, 664, 22, 21,
+ 19, 20, 22, 22, 23, 24, 159, 548, 42, 550,
+ 44, 164, 365, 366, 367, 368, 369, 370, 371, 686,
+ 687, 22, 288, 41, 42, 22, 156, 380, 381, 382,
+ 48, 4, 157, 299, 159, 4, 54, 62, 63, 64,
+ 65, 66, 67, 37, 163, 406, 407, 408, 409, 410,
+ 316, 317, 318, 163, 156, 416, 457, 121, 122, 42,
+ 43, 44, 160, 157, 47, 159, 4, 534, 429, 430,
+ 336, 337, 338, 614, 157, 22, 159, 141, 142, 159,
+ 144, 145, 157, 147, 148, 149, 3, 4, 5, 6,
+ 443, 444, 445, 446, 166, 157, 457, 159, 4, 284,
+ 285, 454, 287, 141, 142, 143, 157, 156, 146, 375,
+ 9, 9, 150, 151, 9, 157, 551, 159, 384, 554,
+ 555, 556, 19, 9, 9, 22, 487, 24, 489, 9,
+ 55, 492, 11, 57, 166, 156, 402, 322, 22, 4,
+ 157, 502, 503, 156, 156, 330, 331, 332, 333, 334,
+ 156, 156, 418, 419, 420, 421, 422, 156, 156, 159,
+ 156, 156, 428, 516, 517, 518, 519, 156, 521, 636,
+ 156, 159, 525, 526, 641, 159, 442, 159, 159, 159,
+ 541, 542, 159, 544, 545, 546, 547, 38, 38, 156,
+ 156, 552, 156, 156, 159, 61, 22, 159, 159, 560,
+ 159, 159, 162, 159, 159, 566, 159, 159, 474, 159,
+ 159, 159, 166, 159, 159, 568, 569, 570, 571, 633,
+ 159, 406, 407, 408, 409, 410, 159, 38, 159, 157,
+ 22, 416, 17, 17, 156, 501, 159, 4, 159, 159,
+ 159, 507, 4, 657, 429, 430, 607, 94, 95, 96,
+ 97, 98, 99, 100, 101, 102, 103, 159, 159, 159,
+ 4, 527, 166, 159, 156, 159, 619, 533, 621, 622,
+ 159, 159, 159, 634, 635, 22, 159, 543, 159, 4,
+ 4, 159, 159, 159, 166, 551, 54, 159, 554, 555,
+ 556, 159, 532, 654, 157, 159, 157, 563, 157, 22,
+ 162, 159, 487, 157, 489, 157, 166, 492, 164, 19,
+ 17, 157, 22, 157, 24, 26, 27, 502, 503, 680,
+ 681, 54, 164, 157, 685, 157, 157, 688, 4, 152,
+ 22, 156, 156, 694, 17, 17, 697, 159, 159, 17,
+ 17, 73, 131, 131, 54, 131, 627, 93, 590, 112,
+ 106, 17, 245, 90, 57, 563, 541, 542, 447, 544,
+ 545, 546, 547, 234, -1, -1, -1, 552, -1, -1,
+ -1, 637, -1, -1, -1, 560, -1, -1, -1, -1,
+ -1, 566, -1, -1, -1, -1, -1, 627, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, -1, 3, 4, -1, -1, 7, 8,
+ 9, 121, 122, -1, -1, -1, -1, -1, -1, -1,
+ 19, 20, 607, 22, 23, 24, 25, 26, 27, -1,
+ -1, 141, 142, -1, 144, 145, -1, 147, 148, 149,
+ -1, 40, 41, -1, -1, -1, -1, -1, -1, 634,
+ 635, -1, -1, -1, -1, 54, -1, -1, 7, 8,
+ 59, 10, 11, 12, 13, 14, 15, 16, 17, 654,
+ 19, 20, -1, 22, 23, 24, 75, 76, 77, 78,
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
- 89, 90, -1, -1, -1, -1, -1, 7, 8, 49,
- 10, 11, 12, 13, 14, 15, 16, 17, -1, 19,
- 20, -1, 22, 23, 24, -1, -1, 116, 117, 118,
+ 89, 90, 91, 92, 93, 680, 681, -1, -1, -1,
+ 685, 50, -1, 688, -1, -1, -1, -1, -1, 694,
+ -1, -1, 697, -1, -1, -1, -1, -1, -1, -1,
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
- -1, 130, -1, 132, 133, 134, -1, -1, -1, 49,
- -1, -1, -1, 3, 4, -1, -1, 7, 8, 9,
- -1, -1, 151, -1, -1, -1, -1, -1, -1, 19,
- 20, 160, 22, 23, 24, 25, 26, 27, -1, -1,
+ 129, 130, 131, -1, 133, -1, 135, 136, 137, -1,
+ 139, 140, 141, 142, -1, 144, 145, -1, 147, 148,
+ 149, -1, -1, -1, -1, 3, 4, -1, -1, 7,
+ 8, 9, -1, 162, -1, 0, 165, -1, 167, -1,
+ 169, 19, 20, -1, 22, 23, 24, 25, 26, 27,
+ -1, -1, -1, 18, 19, 20, -1, 22, 23, 24,
+ -1, -1, 40, 41, -1, 30, 31, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 55, -1, -1,
+ -1, 59, 161, 162, -1, -1, 165, 52, 167, 168,
+ -1, 56, -1, -1, -1, 60, -1, 75, 76, 77,
+ 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
+ 88, 89, 90, 91, 92, 93, -1, 7, 8, -1,
+ 10, 11, 12, 13, 14, 15, 16, 17, -1, 19,
+ 20, -1, 22, 23, 24, -1, -1, -1, -1, -1,
+ -1, 119, 120, 121, 122, 123, 124, 125, 126, 127,
+ 128, 129, 130, 131, -1, 133, -1, 135, 136, 137,
+ 50, 139, 140, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 3, 4, 156, -1,
+ 7, 8, 9, -1, 162, -1, -1, 165, -1, 167,
+ -1, 169, 19, 20, -1, 22, 23, 24, 25, 26,
+ 27, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 40, 41, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 40, 41, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 58, -1,
- -1, -1, -1, -1, -1, -1, 156, 157, -1, -1,
- 160, -1, 162, 163, 74, 75, 76, 77, 78, 79,
- 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
- 90, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 156, 157, -1, -1,
- 160, -1, 162, 163, -1, -1, 116, 117, 118, 119,
- 120, 121, 122, 123, 124, 125, 126, 127, 128, -1,
- 130, -1, 132, 133, 134, 7, 8, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 19, 20, -1,
- 22, 23, 24, 25, -1, -1, -1, -1, -1, -1,
- 160, -1, -1, -1, -1, -1, -1, -1, 40, 41,
+ 7, 8, 59, 10, 11, 12, 13, 14, 15, 16,
+ 17, -1, 19, 20, -1, 22, 23, 24, 75, 76,
+ 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
+ 87, 88, 89, 90, 91, 92, 93, -1, -1, -1,
+ -1, 161, 162, 50, -1, 165, -1, 167, 168, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 7, 8, 54, 10, 11, 12, 13, 14, 15, 16,
- 17, -1, 19, 20, -1, 22, 23, 24, -1, -1,
- -1, -1, 74, 75, 76, 77, 78, 79, 80, 81,
- 82, 83, 84, 85, 86, 87, 88, 89, 90, -1,
- -1, -1, 49, 7, 8, -1, 10, 11, 12, 13,
- 14, 15, 16, 17, -1, 19, 20, -1, 22, 23,
- 24, -1, -1, -1, 116, 117, 118, 119, 120, 121,
- 122, 123, 124, 125, 126, 127, 128, -1, 130, -1,
- 132, 133, 134, -1, -1, 49, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 151,
- -1, 7, 8, 155, -1, 157, -1, -1, 160, -1,
- 162, -1, 164, 19, 20, -1, 22, 23, 24, 25,
+ -1, -1, 119, 120, 121, 122, 123, 124, 125, 126,
+ 127, 128, 129, 130, 131, -1, 133, -1, 135, 136,
+ 137, -1, 139, 140, -1, -1, -1, -1, -1, -1,
+ -1, 3, 4, -1, -1, -1, -1, 9, -1, -1,
+ -1, -1, -1, -1, -1, 162, -1, -1, 165, -1,
+ 167, -1, 169, 25, 26, 27, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 40, 41,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 40, 41, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 54, 156,
- 157, -1, -1, 160, -1, 162, 163, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 74, 75,
- 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
- 86, 87, 88, 89, 90, -1, -1, -1, -1, -1,
- -1, -1, 156, 157, -1, -1, 160, -1, 162, 163,
- -1, -1, -1, -1, -1, 26, 27, -1, -1, -1,
- 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
- 126, 127, 128, -1, 130, -1, 132, 133, 134, -1,
- -1, -1, -1, -1, -1, -1, -1, 3, 4, -1,
- -1, -1, -1, 9, -1, 151, -1, -1, -1, -1,
- -1, 157, -1, -1, 160, -1, 162, -1, 164, 25,
- 26, 27, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 40, 41, 97, 98, 99, 100,
- 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
- -1, -1, 58, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 74, 75,
- 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
- 86, 87, 88, 89, 90, -1, -1, -1, -1, -1,
- -1, 7, 8, -1, 10, 11, 12, 13, 14, 15,
- 16, 17, -1, 19, 20, -1, 22, 23, 24, -1,
- 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
- 126, 127, 128, 39, 130, -1, 132, 133, 134, -1,
- -1, -1, -1, 49, 7, 8, -1, 10, 11, 12,
- 13, 14, 15, 16, 17, -1, 19, 20, -1, 22,
- 23, 24, 7, 8, 160, 10, 11, 12, 13, 14,
- 15, 16, 17, -1, 19, 20, -1, 22, 23, 24,
- -1, -1, -1, -1, -1, -1, 49, -1, -1, -1,
- -1, -1, -1, -1, 39, -1, -1, -1, -1, -1,
- -1, -1, 7, 8, 49, 10, 11, 12, 13, 14,
- 15, 16, 17, -1, 19, 20, -1, 22, 23, 24,
+ -1, -1, -1, -1, -1, -1, -1, 59, -1, -1,
+ -1, -1, -1, -1, 161, 162, -1, -1, 165, -1,
+ 167, 168, -1, 75, 76, 77, 78, 79, 80, 81,
+ 82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
+ 92, 93, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 119, 120, 121,
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
+ -1, 133, -1, 135, 136, 137, -1, 139, 140, 7,
+ 8, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 19, 20, -1, 22, 23, 24, 25, -1, -1,
+ 162, -1, -1, 165, -1, 167, -1, 169, -1, -1,
+ -1, -1, 40, 41, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 7, 8, 55, 10, 11,
+ 12, 13, 14, 15, 16, 17, -1, 19, 20, -1,
+ 22, 23, 24, -1, -1, -1, -1, 75, 76, 77,
+ 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
+ 88, 89, 90, 91, 92, 93, -1, -1, 50, -1,
7, 8, -1, 10, 11, 12, 13, 14, 15, 16,
17, -1, 19, 20, -1, 22, 23, 24, -1, -1,
- -1, -1, -1, -1, 49, -1, -1, -1, -1, -1,
- 156, 157, 39, -1, 160, -1, 162, -1, -1, 122,
- 7, 8, 49, 10, 11, 12, 13, 14, 15, 16,
- 17, -1, 19, 20, -1, 22, 23, 24, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 39, 156, 157, -1, -1, 160, -1, 162,
- -1, -1, 49, -1, -1, -1, -1, -1, -1, -1,
- -1, 156, 157, -1, -1, 160, -1, 162, 7, 8,
+ -1, 119, 120, 121, 122, 123, 124, 125, 126, 127,
+ 128, 129, 130, 131, -1, 133, -1, 135, 136, 137,
+ -1, 139, 140, 50, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 156, -1,
+ 7, 8, 160, -1, 162, 0, -1, 165, -1, 167,
+ -1, 169, 19, 20, -1, 22, 23, 24, 25, -1,
+ -1, -1, -1, 18, 19, 20, -1, 22, 23, 24,
+ -1, -1, -1, 40, 41, 30, 31, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 55, 161,
+ 162, -1, -1, 165, -1, 167, 168, 52, -1, -1,
+ -1, 56, -1, -1, -1, 60, -1, -1, 75, 76,
+ 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
+ 87, 88, 89, 90, 91, 92, 93, -1, -1, -1,
+ -1, -1, -1, -1, 161, 162, -1, -1, 165, -1,
+ 167, 168, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 119, 120, 121, 122, 123, 124, 125, 126,
+ 127, 128, 129, 130, 131, -1, 133, -1, 135, 136,
+ 137, -1, 139, 140, -1, 7, 8, -1, 10, 11,
+ 12, 13, 14, 15, 16, 17, -1, 19, 20, 156,
+ 22, 23, 24, -1, -1, 162, -1, -1, 165, -1,
+ 167, -1, 169, -1, 7, 8, -1, 10, 11, 12,
+ 13, 14, 15, 16, 17, -1, 19, 20, 50, 22,
+ 23, 24, 7, 8, -1, 10, 11, 12, 13, 14,
+ 15, 16, 17, -1, 19, 20, 39, 22, 23, 24,
+ -1, -1, -1, -1, -1, 7, 8, 50, 10, 11,
+ 12, 13, 14, 15, 16, 17, -1, 19, 20, -1,
+ 22, 23, 24, 7, 8, 50, 10, 11, 12, 13,
+ 14, 15, 16, 17, -1, 19, 20, 39, 22, 23,
+ 24, -1, -1, -1, -1, -1, -1, -1, 50, -1,
+ -1, -1, -1, -1, -1, 7, 8, -1, 10, 11,
+ 12, 13, 14, 15, 16, 17, 50, 19, 20, -1,
+ 22, 23, 24, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 39, -1, 161,
+ 162, -1, -1, 165, -1, 167, 168, -1, 50, -1,
+ 125, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 161, 162,
+ -1, -1, 165, -1, 167, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 161, 162, -1, -1,
+ 165, -1, 167, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 161,
+ 162, -1, -1, 165, -1, 167, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 161, 162, -1,
+ 164, 165, -1, 167, 7, 8, -1, 10, 11, 12,
+ 13, 14, 15, 16, 17, -1, 19, 20, -1, 22,
+ 23, 24, -1, -1, -1, -1, -1, -1, -1, 161,
+ 162, -1, -1, 165, -1, 167, 7, 8, -1, 10,
+ 11, 12, 13, 14, 15, 16, 17, 50, 19, 20,
+ -1, 22, 23, 24, 7, 8, -1, 10, 11, 12,
+ 13, 14, 15, 16, 17, -1, 19, 20, 39, 22,
+ 23, 24, -1, -1, -1, -1, -1, 7, 8, 50,
+ 10, 11, 12, 13, 14, 15, 16, 17, -1, 19,
+ 20, -1, 22, 23, 24, 7, 8, 50, 10, 11,
+ 12, 13, 14, 15, 16, 17, -1, 19, 20, -1,
+ 22, 23, 24, -1, -1, -1, -1, -1, -1, -1,
+ 50, -1, -1, -1, 7, 8, -1, 10, 11, 12,
+ 13, 14, 15, 16, 17, -1, 19, 20, 50, 22,
+ 23, 24, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 161, 162,
+ -1, 164, 165, -1, 167, -1, -1, 50, 7, 8,
-1, 10, 11, 12, 13, 14, 15, 16, 17, -1,
19, 20, -1, 22, 23, 24, -1, -1, -1, -1,
+ 161, 162, -1, -1, 165, -1, 167, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 161, 162,
+ -1, 50, 165, -1, 167, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 156, 157, -1, 159, 160, -1, 162, -1, -1,
- 49, -1, -1, -1, -1, -1, -1, -1, -1, 156,
- 157, -1, -1, 160, -1, 162, 7, 8, -1, 10,
- 11, 12, 13, 14, 15, 16, 17, -1, 19, 20,
- -1, 22, 23, 24, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 156,
- 157, -1, -1, 160, -1, 162, 7, 8, 49, 10,
+ -1, 161, 162, -1, -1, 165, -1, 167, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 161,
+ 162, -1, -1, 165, -1, 167, 7, 8, -1, 10,
11, 12, 13, 14, 15, 16, 17, -1, 19, 20,
- -1, 22, 23, 24, 7, 8, -1, 10, 11, 12,
- 13, 14, 15, 16, 17, -1, 19, 20, -1, 22,
- 23, 24, -1, -1, -1, -1, -1, -1, 49, -1,
- -1, -1, -1, -1, -1, -1, -1, 156, 157, -1,
- -1, 160, -1, 162, 7, 8, 49, 10, 11, 12,
- 13, 14, 15, 16, 17, -1, 19, 20, -1, 22,
- 23, 24, 7, 8, -1, 10, 11, 12, 13, 14,
- 15, 16, 17, -1, 19, 20, -1, 22, 23, 24,
- -1, -1, -1, -1, -1, -1, 49, -1, -1, -1,
- -1, -1, -1, -1, -1, 156, 157, -1, -1, 160,
- -1, 162, 7, 8, 49, 10, 11, 12, 13, 14,
- 15, 16, 17, -1, 19, 20, -1, 22, 23, 24,
+ -1, 22, 23, 24, -1, -1, -1, -1, 161, 162,
+ -1, -1, 165, -1, 167, -1, -1, -1, 7, 8,
+ -1, 10, 11, 12, 13, 14, 15, 16, 17, 50,
+ 19, 20, -1, 22, 23, 24, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 156, 157, -1, -1, 160,
- -1, 162, -1, -1, 49, -1, -1, -1, -1, -1,
- -1, -1, -1, 156, 157, -1, -1, 160, -1, 162,
- 7, 8, -1, 10, 11, 12, 13, 14, 15, 16,
- 17, -1, 19, 20, -1, 22, 23, 24, -1, -1,
- -1, -1, -1, -1, -1, -1, 36, -1, -1, -1,
- -1, -1, -1, 156, 157, -1, -1, 160, -1, 162,
- -1, -1, 49, -1, -1, -1, 56, 57, -1, -1,
- -1, 156, 157, -1, -1, 160, -1, 162, 68, 69,
- 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
- 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
- 90, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 156, 157, -1, -1, 160, -1, 162, -1, -1,
- -1, 111, 112, 113, -1, -1, 116, 117, 118, 119,
- 120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
- 130, 131, 132, 133, 134, 135, -1, -1, -1, -1,
+ -1, -1, 161, 162, -1, -1, 165, -1, 167, 7,
+ 8, 50, 10, 11, 12, 13, 14, 15, 16, 17,
+ -1, 19, 20, -1, 22, 23, 24, 7, 8, -1,
+ 10, 11, 12, 13, 14, 15, 16, 17, -1, 19,
+ 20, -1, 22, 23, 24, -1, -1, -1, -1, -1,
+ -1, -1, 50, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 50, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 161, 162, -1, -1, 165, -1, 167, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 161, 162, -1, -1, 165, -1, 167, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 156,
- 157, -1, -1, 160, -1, 162
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 36, -1, -1, -1, -1,
+ -1, -1, -1, 161, 162, -1, -1, 165, -1, 167,
+ -1, -1, -1, -1, -1, -1, 57, 58, -1, -1,
+ -1, 161, 162, -1, -1, 165, -1, 167, 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, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 114, 115, 116, -1, -1, 119, 120,
+ 121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
+ 131, 132, 133, 134, 135, 136, 137, 138, 139, 140
};
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
symbol of state STATE-NUM. */
static const yytype_uint8 yystos[] =
{
- 0, 19, 20, 22, 23, 24, 30, 31, 51, 55,
- 59, 173, 176, 177, 178, 179, 211, 212, 213, 215,
- 214, 52, 67, 220, 153, 58, 153, 18, 153, 42,
- 43, 44, 45, 46, 47, 48, 50, 148, 149, 150,
- 180, 181, 182, 0, 213, 46, 48, 183, 230, 42,
- 43, 44, 47, 184, 227, 229, 236, 153, 153, 157,
- 221, 22, 219, 7, 8, 10, 11, 12, 13, 14,
- 15, 16, 17, 49, 156, 157, 160, 162, 173, 177,
- 198, 199, 233, 182, 182, 35, 37, 209, 182, 182,
- 21, 237, 238, 29, 163, 228, 237, 22, 22, 22,
- 222, 151, 4, 4, 4, 162, 10, 163, 199, 204,
- 54, 151, 175, 209, 209, 42, 44, 185, 32, 33,
- 208, 61, 62, 63, 64, 65, 66, 186, 225, 225,
- 176, 241, 154, 159, 39, 199, 200, 202, 203, 158,
- 158, 163, 204, 154, 163, 151, 203, 155, 208, 208,
- 10, 122, 199, 201, 210, 11, 12, 13, 14, 15,
- 16, 171, 172, 199, 205, 4, 201, 28, 162, 226,
- 36, 56, 57, 68, 69, 70, 71, 72, 73, 74,
+ 0, 19, 20, 22, 23, 24, 30, 31, 52, 56,
+ 60, 178, 181, 182, 183, 184, 216, 217, 218, 220,
+ 219, 53, 68, 225, 158, 59, 158, 18, 158, 42,
+ 43, 44, 45, 46, 47, 48, 49, 51, 153, 154,
+ 155, 185, 186, 187, 0, 218, 46, 48, 188, 235,
+ 42, 43, 44, 47, 189, 232, 234, 242, 158, 158,
+ 162, 226, 22, 224, 7, 8, 10, 11, 12, 13,
+ 14, 15, 16, 17, 50, 161, 162, 165, 167, 178,
+ 182, 203, 204, 238, 187, 187, 35, 37, 214, 187,
+ 187, 21, 243, 244, 29, 168, 233, 243, 22, 22,
+ 22, 227, 156, 4, 4, 4, 167, 10, 168, 204,
+ 209, 55, 156, 180, 214, 214, 42, 44, 190, 32,
+ 33, 213, 62, 63, 64, 65, 66, 67, 191, 230,
+ 230, 181, 247, 159, 164, 39, 204, 205, 207, 208,
+ 163, 163, 168, 209, 159, 168, 156, 208, 160, 213,
+ 213, 10, 125, 204, 206, 215, 11, 12, 13, 14,
+ 15, 16, 176, 177, 204, 210, 4, 206, 28, 167,
+ 231, 36, 57, 58, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
- 85, 86, 87, 88, 89, 90, 111, 112, 113, 116,
- 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
- 127, 128, 129, 130, 131, 132, 133, 134, 135, 166,
- 167, 168, 239, 245, 246, 247, 248, 22, 188, 154,
- 152, 199, 199, 161, 163, 199, 4, 152, 205, 199,
- 151, 233, 26, 27, 3, 4, 5, 6, 9, 25,
- 40, 41, 89, 90, 116, 130, 132, 133, 134, 157,
- 160, 162, 164, 166, 167, 168, 206, 233, 175, 177,
- 56, 10, 199, 235, 11, 17, 11, 171, 186, 91,
- 92, 93, 94, 95, 96, 97, 98, 99, 100, 169,
- 26, 27, 97, 98, 99, 100, 101, 102, 103, 104,
- 105, 106, 107, 108, 109, 110, 170, 199, 199, 235,
- 199, 199, 242, 235, 235, 235, 235, 235, 199, 199,
- 199, 235, 186, 114, 115, 118, 119, 136, 137, 139,
- 140, 142, 143, 144, 187, 39, 200, 190, 159, 161,
- 161, 152, 190, 175, 175, 210, 169, 170, 151, 151,
- 151, 151, 151, 159, 205, 207, 162, 207, 163, 207,
- 22, 151, 151, 151, 216, 151, 3, 4, 9, 25,
- 26, 27, 40, 41, 58, 160, 206, 232, 233, 234,
- 234, 234, 234, 201, 199, 199, 154, 193, 154, 193,
- 234, 157, 154, 154, 154, 154, 154, 154, 173, 234,
- 234, 38, 201, 199, 235, 136, 137, 138, 141, 145,
- 146, 189, 217, 218, 38, 151, 151, 205, 205, 205,
- 205, 205, 154, 159, 163, 199, 207, 161, 163, 205,
- 205, 205, 154, 196, 39, 199, 223, 224, 60, 231,
- 207, 154, 154, 234, 234, 234, 11, 53, 11, 244,
- 234, 157, 235, 199, 235, 235, 235, 154, 154, 154,
- 199, 234, 234, 154, 196, 196, 199, 205, 205, 244,
- 154, 154, 154, 154, 205, 161, 163, 154, 154, 38,
- 34, 53, 194, 197, 188, 154, 152, 22, 161, 17,
- 17, 151, 154, 154, 234, 4, 234, 154, 154, 234,
- 154, 154, 154, 205, 234, 234, 151, 154, 193, 199,
- 152, 154, 154, 152, 205, 205, 205, 205, 161, 205,
- 205, 199, 22, 4, 196, 173, 174, 39, 199, 190,
- 154, 234, 234, 17, 199, 243, 234, 234, 193, 193,
- 235, 234, 154, 235, 235, 235, 243, 234, 205, 205,
- 154, 152, 154, 154, 152, 152, 152, 188, 194, 195,
- 22, 154, 157, 188, 188, 152, 154, 159, 234, 152,
- 193, 152, 152, 205, 205, 205, 174, 53, 192, 17,
- 159, 171, 240, 118, 119, 234, 234, 190, 17, 199,
- 159, 190, 152, 152, 152, 4, 147, 191, 234, 232,
- 159, 171, 188, 188, 38, 188, 188, 22, 154, 232,
- 17, 234, 234, 17, 154, 234, 188, 188, 234, 17,
- 72, 234, 17, 234
+ 85, 86, 87, 88, 89, 90, 91, 92, 93, 114,
+ 115, 116, 119, 120, 121, 122, 123, 124, 125, 126,
+ 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
+ 137, 138, 139, 140, 171, 172, 173, 245, 252, 253,
+ 254, 255, 22, 193, 159, 157, 204, 204, 166, 168,
+ 204, 4, 157, 210, 204, 156, 238, 26, 27, 3,
+ 4, 5, 6, 9, 25, 40, 41, 90, 91, 92,
+ 93, 119, 133, 135, 136, 137, 139, 140, 162, 165,
+ 167, 169, 171, 172, 173, 211, 238, 180, 182, 57,
+ 10, 204, 240, 241, 11, 17, 11, 176, 191, 94,
+ 95, 96, 97, 98, 99, 100, 101, 102, 103, 174,
+ 26, 27, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 175, 174, 175, 204,
+ 204, 240, 204, 204, 248, 240, 240, 240, 240, 240,
+ 204, 204, 204, 204, 204, 240, 191, 117, 118, 54,
+ 121, 122, 141, 142, 144, 145, 147, 148, 149, 192,
+ 39, 205, 195, 164, 166, 166, 157, 195, 180, 180,
+ 215, 174, 175, 174, 175, 156, 156, 156, 156, 156,
+ 156, 156, 164, 210, 212, 167, 212, 168, 212, 22,
+ 156, 156, 156, 221, 156, 3, 4, 9, 25, 26,
+ 27, 40, 41, 59, 162, 165, 167, 169, 211, 237,
+ 238, 239, 159, 239, 239, 239, 206, 204, 204, 204,
+ 204, 159, 198, 159, 198, 239, 162, 159, 159, 159,
+ 159, 159, 159, 239, 239, 239, 239, 239, 38, 206,
+ 204, 240, 4, 141, 142, 143, 146, 150, 151, 194,
+ 222, 223, 38, 156, 156, 156, 156, 210, 210, 210,
+ 210, 210, 210, 210, 159, 164, 168, 204, 212, 166,
+ 168, 210, 210, 210, 159, 201, 39, 204, 228, 229,
+ 61, 236, 164, 212, 167, 212, 168, 212, 22, 240,
+ 159, 159, 239, 239, 239, 239, 239, 11, 54, 11,
+ 250, 239, 162, 240, 204, 240, 240, 240, 159, 159,
+ 251, 159, 159, 159, 204, 239, 239, 159, 201, 201,
+ 204, 210, 210, 210, 210, 250, 159, 159, 159, 159,
+ 251, 159, 210, 166, 168, 159, 159, 38, 34, 54,
+ 199, 202, 193, 159, 157, 22, 164, 168, 212, 166,
+ 168, 17, 17, 156, 159, 159, 159, 159, 239, 4,
+ 239, 159, 159, 239, 159, 159, 159, 4, 4, 159,
+ 204, 239, 239, 156, 159, 198, 204, 157, 159, 159,
+ 159, 159, 157, 210, 210, 210, 210, 157, 210, 166,
+ 210, 210, 204, 22, 4, 201, 178, 179, 39, 204,
+ 195, 159, 166, 168, 239, 239, 17, 204, 249, 239,
+ 239, 239, 239, 198, 198, 240, 239, 159, 240, 240,
+ 240, 4, 239, 249, 239, 210, 210, 210, 210, 159,
+ 157, 159, 159, 251, 157, 157, 157, 193, 199, 200,
+ 22, 166, 159, 162, 193, 193, 157, 159, 164, 239,
+ 251, 157, 198, 157, 157, 157, 157, 210, 210, 210,
+ 157, 179, 54, 197, 17, 164, 176, 246, 121, 122,
+ 239, 239, 195, 17, 204, 164, 195, 157, 157, 157,
+ 4, 152, 196, 239, 237, 164, 176, 193, 193, 38,
+ 193, 193, 22, 159, 237, 17, 239, 239, 17, 159,
+ 239, 193, 193, 239, 17, 73, 239, 17, 239
};
#define yyerrok (yyerrstatus = 0)
we won't break user code: when these are the locations we know. */
#ifndef YY_LOCATION_PRINT
-# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
+# if YYLTYPE_IS_TRIVIAL
# define YY_LOCATION_PRINT(File, Loc) \
fprintf (File, "%d.%d-%d.%d", \
(Loc).first_line, (Loc).first_column, \
switch (yyn)
{
case 29:
-#line 1118 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1124 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_EQ; ;}
break;
case 30:
-#line 1118 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1124 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_NE; ;}
break;
case 31:
-#line 1119 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1125 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_SLT; ;}
break;
case 32:
-#line 1119 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1125 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_SGT; ;}
break;
case 33:
-#line 1120 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1126 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_SLE; ;}
break;
case 34:
-#line 1120 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1126 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_SGE; ;}
break;
case 35:
-#line 1121 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1127 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_ULT; ;}
break;
case 36:
-#line 1121 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1127 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_UGT; ;}
break;
case 37:
-#line 1122 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1128 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_ULE; ;}
break;
case 38:
-#line 1122 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1128 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.IPredicate) = ICmpInst::ICMP_UGE; ;}
break;
case 39:
-#line 1126 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1132 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_OEQ; ;}
break;
case 40:
-#line 1126 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1132 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_ONE; ;}
break;
case 41:
-#line 1127 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1133 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_OLT; ;}
break;
case 42:
-#line 1127 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1133 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_OGT; ;}
break;
case 43:
-#line 1128 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1134 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_OLE; ;}
break;
case 44:
-#line 1128 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1134 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_OGE; ;}
break;
case 45:
-#line 1129 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1135 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_ORD; ;}
break;
case 46:
-#line 1129 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1135 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_UNO; ;}
break;
case 47:
-#line 1130 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1136 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_UEQ; ;}
break;
case 48:
-#line 1130 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1136 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_UNE; ;}
break;
case 49:
-#line 1131 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1137 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_ULT; ;}
break;
case 50:
-#line 1131 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1137 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_UGT; ;}
break;
case 51:
-#line 1132 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1138 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_ULE; ;}
break;
case 52:
-#line 1132 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1138 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_UGE; ;}
break;
case 53:
-#line 1133 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1139 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_TRUE; ;}
break;
case 54:
-#line 1134 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1140 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.FPredicate) = FCmpInst::FCMP_FALSE; ;}
break;
case 65:
-#line 1143 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1149 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.StrVal) = 0; ;}
break;
case 66:
-#line 1145 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1151 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.UIntVal)=(yyvsp[(3) - (4)].UInt64Val); ;}
break;
case 67:
-#line 1146 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1152 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.UIntVal)=0; ;}
break;
case 68:
-#line 1150 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1156 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.StrVal) = (yyvsp[(1) - (2)].StrVal);
CHECK_FOR_ERROR
break;
case 69:
-#line 1154 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1160 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.StrVal) = 0;
CHECK_FOR_ERROR
break;
case 73:
-#line 1162 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1168 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.StrVal) = 0;
CHECK_FOR_ERROR
break;
case 74:
-#line 1167 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1173 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.StrVal) = (yyvsp[(1) - (2)].StrVal);
CHECK_FOR_ERROR
break;
case 75:
-#line 1173 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1179 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.Linkage) = GlobalValue::InternalLinkage; ;}
break;
case 76:
-#line 1174 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1180 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.Linkage) = GlobalValue::WeakLinkage; ;}
break;
case 77:
-#line 1175 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1181 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.Linkage) = GlobalValue::LinkOnceLinkage; ;}
break;
case 78:
-#line 1176 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1182 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.Linkage) = GlobalValue::AppendingLinkage; ;}
break;
case 79:
-#line 1177 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1183 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.Linkage) = GlobalValue::DLLExportLinkage; ;}
break;
case 80:
-#line 1181 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::DLLImportLinkage; ;}
+#line 1184 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::CommonLinkage; ;}
break;
case 81:
-#line 1182 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::ExternalWeakLinkage; ;}
+#line 1188 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::DLLImportLinkage; ;}
break;
case 82:
-#line 1183 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
+#line 1189 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::ExternalWeakLinkage; ;}
break;
case 83:
-#line 1187 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Visibility) = GlobalValue::DefaultVisibility; ;}
+#line 1190 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
break;
case 84:
-#line 1188 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1194 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.Visibility) = GlobalValue::DefaultVisibility; ;}
break;
case 85:
-#line 1189 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Visibility) = GlobalValue::HiddenVisibility; ;}
+#line 1195 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Visibility) = GlobalValue::DefaultVisibility; ;}
break;
case 86:
-#line 1190 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Visibility) = GlobalValue::ProtectedVisibility; ;}
+#line 1196 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Visibility) = GlobalValue::HiddenVisibility; ;}
break;
case 87:
-#line 1194 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
+#line 1197 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Visibility) = GlobalValue::ProtectedVisibility; ;}
break;
case 88:
-#line 1195 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::DLLImportLinkage; ;}
+#line 1201 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
break;
case 89:
-#line 1196 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::ExternalWeakLinkage; ;}
+#line 1202 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::DLLImportLinkage; ;}
break;
case 90:
-#line 1200 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
+#line 1203 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::ExternalWeakLinkage; ;}
break;
case 91:
-#line 1201 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::InternalLinkage; ;}
+#line 1207 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
break;
case 92:
-#line 1202 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::LinkOnceLinkage; ;}
+#line 1208 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::InternalLinkage; ;}
break;
case 93:
-#line 1203 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::WeakLinkage; ;}
+#line 1209 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::LinkOnceLinkage; ;}
break;
case 94:
-#line 1204 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::DLLExportLinkage; ;}
+#line 1210 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::WeakLinkage; ;}
break;
case 95:
-#line 1208 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
+#line 1211 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::DLLExportLinkage; ;}
break;
case 96:
-#line 1209 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::WeakLinkage; ;}
+#line 1215 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::ExternalLinkage; ;}
break;
case 97:
-#line 1210 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.Linkage) = GlobalValue::InternalLinkage; ;}
+#line 1216 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::WeakLinkage; ;}
break;
case 98:
-#line 1213 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.UIntVal) = CallingConv::C; ;}
+#line 1217 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.Linkage) = GlobalValue::InternalLinkage; ;}
break;
case 99:
-#line 1214 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1220 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.UIntVal) = CallingConv::C; ;}
break;
case 100:
-#line 1215 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.UIntVal) = CallingConv::Fast; ;}
+#line 1221 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.UIntVal) = CallingConv::C; ;}
break;
case 101:
-#line 1216 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.UIntVal) = CallingConv::Cold; ;}
+#line 1222 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.UIntVal) = CallingConv::Fast; ;}
break;
case 102:
-#line 1217 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.UIntVal) = CallingConv::X86_StdCall; ;}
+#line 1223 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.UIntVal) = CallingConv::Cold; ;}
break;
case 103:
-#line 1218 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.UIntVal) = CallingConv::X86_FastCall; ;}
+#line 1224 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.UIntVal) = CallingConv::X86_StdCall; ;}
break;
case 104:
-#line 1219 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1225 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.UIntVal) = CallingConv::X86_FastCall; ;}
+ break;
+
+ case 105:
+#line 1226 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((unsigned)(yyvsp[(2) - (2)].UInt64Val) != (yyvsp[(2) - (2)].UInt64Val))
GEN_ERROR("Calling conv too large");
;}
break;
- case 105:
-#line 1226 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::ZExt; ;}
- break;
-
case 106:
-#line 1227 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1233 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::ZExt; ;}
break;
case 107:
-#line 1228 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::SExt; ;}
+#line 1234 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::ZExt; ;}
break;
case 108:
-#line 1229 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1235 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::SExt; ;}
break;
case 109:
-#line 1230 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::InReg; ;}
+#line 1236 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::SExt; ;}
break;
case 110:
-#line 1231 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::StructRet; ;}
+#line 1237 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::InReg; ;}
break;
case 111:
-#line 1232 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::NoAlias; ;}
+#line 1238 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::StructRet; ;}
break;
case 112:
-#line 1233 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::ByVal; ;}
+#line 1239 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::NoAlias; ;}
break;
case 113:
-#line 1234 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::Nest; ;}
+#line 1240 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::ByVal; ;}
break;
case 114:
-#line 1237 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { (yyval.ParamAttrs) = ParamAttr::None; ;}
+#line 1241 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::Nest; ;}
break;
case 115:
-#line 1238 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 1242 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) =
+ ParamAttr::constructAlignmentFromInt((yyvsp[(2) - (2)].UInt64Val)); ;}
+ break;
+
+ case 116:
+#line 1246 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { (yyval.ParamAttrs) = ParamAttr::None; ;}
+ break;
+
+ case 117:
+#line 1247 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ParamAttrs) = (yyvsp[(1) - (2)].ParamAttrs) | (yyvsp[(2) - (2)].ParamAttrs);
;}
break;
- case 116:
-#line 1243 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 118:
+#line 1252 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::NoReturn; ;}
break;
- case 117:
-#line 1244 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 119:
+#line 1253 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::NoUnwind; ;}
break;
- case 118:
-#line 1245 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 120:
+#line 1254 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::ZExt; ;}
break;
- case 119:
-#line 1246 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 121:
+#line 1255 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::SExt; ;}
break;
- case 120:
-#line 1247 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 122:
+#line 1256 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::ReadNone; ;}
break;
- case 121:
-#line 1248 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 123:
+#line 1257 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::ReadOnly; ;}
break;
- case 122:
-#line 1251 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 124:
+#line 1260 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamAttrs) = ParamAttr::None; ;}
break;
- case 123:
-#line 1252 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 125:
+#line 1261 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ParamAttrs) = (yyvsp[(1) - (2)].ParamAttrs) | (yyvsp[(2) - (2)].ParamAttrs);
;}
break;
- case 124:
-#line 1257 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 126:
+#line 1266 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.StrVal) = 0; ;}
break;
- case 125:
-#line 1258 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 127:
+#line 1267 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.StrVal) = (yyvsp[(2) - (2)].StrVal);
;}
break;
- case 126:
-#line 1265 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 128:
+#line 1274 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.UIntVal) = 0; ;}
break;
- case 127:
-#line 1266 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 129:
+#line 1275 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.UIntVal) = (yyvsp[(2) - (2)].UInt64Val);
if ((yyval.UIntVal) != 0 && !isPowerOf2_32((yyval.UIntVal)))
;}
break;
- case 128:
-#line 1272 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 130:
+#line 1281 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.UIntVal) = 0; ;}
break;
- case 129:
-#line 1273 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 131:
+#line 1282 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.UIntVal) = (yyvsp[(3) - (3)].UInt64Val);
if ((yyval.UIntVal) != 0 && !isPowerOf2_32((yyval.UIntVal)))
;}
break;
- case 130:
-#line 1282 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 132:
+#line 1291 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
for (unsigned i = 0, e = (yyvsp[(2) - (2)].StrVal)->length(); i != e; ++i)
if ((*(yyvsp[(2) - (2)].StrVal))[i] == '"' || (*(yyvsp[(2) - (2)].StrVal))[i] == '\\')
;}
break;
- case 131:
-#line 1290 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 133:
+#line 1299 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.StrVal) = 0; ;}
break;
- case 132:
-#line 1291 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 134:
+#line 1300 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.StrVal) = (yyvsp[(1) - (1)].StrVal); ;}
break;
- case 133:
-#line 1296 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 135:
+#line 1305 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{;}
break;
- case 134:
-#line 1297 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 136:
+#line 1306 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{;}
break;
- case 135:
-#line 1298 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 137:
+#line 1307 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurGV->setSection(*(yyvsp[(1) - (1)].StrVal));
delete (yyvsp[(1) - (1)].StrVal);
;}
break;
- case 136:
-#line 1303 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 138:
+#line 1312 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(2) - (2)].UInt64Val) != 0 && !isPowerOf2_32((yyvsp[(2) - (2)].UInt64Val)))
GEN_ERROR("Alignment must be a power of two");
;}
break;
- case 144:
-#line 1319 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 146:
+#line 1328 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeVal) = new PATypeHolder(OpaqueType::get());
CHECK_FOR_ERROR
;}
break;
- case 145:
-#line 1323 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 147:
+#line 1332 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeVal) = new PATypeHolder((yyvsp[(1) - (1)].PrimType));
CHECK_FOR_ERROR
;}
break;
- case 146:
-#line 1327 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 148:
+#line 1336 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Pointer type?
if (*(yyvsp[(1) - (3)].TypeVal) == Type::LabelTy)
GEN_ERROR("Cannot form a pointer to a basic block");
;}
break;
- case 147:
-#line 1334 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 149:
+#line 1343 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Named types are also simple types...
const Type* tmp = getTypeVal((yyvsp[(1) - (1)].ValIDVal));
CHECK_FOR_ERROR
;}
break;
- case 148:
-#line 1339 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 150:
+#line 1348 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Type UpReference
if ((yyvsp[(2) - (2)].UInt64Val) > (uint64_t)~0U) GEN_ERROR("Value out of range");
OpaqueType *OT = OpaqueType::get(); // Use temporary placeholder
;}
break;
- case 149:
-#line 1347 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 151:
+#line 1356 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// Allow but ignore attributes on function types; this permits auto-upgrade.
// FIXME: remove in LLVM 3.0.
- const Type* RetTy = *(yyvsp[(1) - (5)].TypeVal);
- if (!(RetTy->isFirstClassType() || RetTy == Type::VoidTy ||
- isa<OpaqueType>(RetTy)))
- GEN_ERROR("LLVM Functions cannot return aggregates");
-
+ const Type *RetTy = *(yyvsp[(1) - (5)].TypeVal);
+ if (!FunctionType::isValidReturnType(RetTy))
+ GEN_ERROR("Invalid result type for LLVM function");
+
std::vector<const Type*> Params;
TypeWithAttrsList::iterator I = (yyvsp[(3) - (5)].TypeWithAttrsList)->begin(), E = (yyvsp[(3) - (5)].TypeWithAttrsList)->end();
for (; I != E; ++I ) {
;}
break;
- case 150:
-#line 1377 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 152:
+#line 1385 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// Allow but ignore attributes on function types; this permits auto-upgrade.
// FIXME: remove in LLVM 3.0.
;}
break;
- case 151:
-#line 1402 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 153:
+#line 1410 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Sized array type?
- (yyval.TypeVal) = new PATypeHolder(HandleUpRefs(ArrayType::get(*(yyvsp[(4) - (5)].TypeVal), (unsigned)(yyvsp[(2) - (5)].UInt64Val))));
+ (yyval.TypeVal) = new PATypeHolder(HandleUpRefs(ArrayType::get(*(yyvsp[(4) - (5)].TypeVal), (yyvsp[(2) - (5)].UInt64Val))));
delete (yyvsp[(4) - (5)].TypeVal);
CHECK_FOR_ERROR
;}
break;
- case 152:
-#line 1407 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 154:
+#line 1415 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Vector type?
const llvm::Type* ElemTy = (yyvsp[(4) - (5)].TypeVal)->get();
if ((unsigned)(yyvsp[(2) - (5)].UInt64Val) != (yyvsp[(2) - (5)].UInt64Val))
;}
break;
- case 153:
-#line 1417 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 155:
+#line 1425 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Structure type?
std::vector<const Type*> Elements;
for (std::list<llvm::PATypeHolder>::iterator I = (yyvsp[(2) - (3)].TypeList)->begin(),
;}
break;
- case 154:
-#line 1427 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 156:
+#line 1435 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Empty structure type?
(yyval.TypeVal) = new PATypeHolder(StructType::get(std::vector<const Type*>()));
CHECK_FOR_ERROR
;}
break;
- case 155:
-#line 1431 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 157:
+#line 1439 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
std::vector<const Type*> Elements;
for (std::list<llvm::PATypeHolder>::iterator I = (yyvsp[(3) - (5)].TypeList)->begin(),
;}
break;
- case 156:
-#line 1441 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 158:
+#line 1449 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Empty structure type?
(yyval.TypeVal) = new PATypeHolder(StructType::get(std::vector<const Type*>(), true));
CHECK_FOR_ERROR
;}
break;
- case 157:
-#line 1448 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 159:
+#line 1456 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// Allow but ignore attributes on function types; this permits auto-upgrade.
// FIXME: remove in LLVM 3.0.
;}
break;
- case 158:
-#line 1457 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 160:
+#line 1465 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (1)].TypeVal))->getDescription());
- if (!(*(yyvsp[(1) - (1)].TypeVal))->isFirstClassType())
+ if (!(*(yyvsp[(1) - (1)].TypeVal))->isFirstClassType() && !isa<StructType>((yyvsp[(1) - (1)].TypeVal)->get()))
GEN_ERROR("LLVM functions cannot return aggregate types");
(yyval.TypeVal) = (yyvsp[(1) - (1)].TypeVal);
;}
break;
- case 159:
-#line 1464 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 161:
+#line 1472 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeVal) = new PATypeHolder(Type::VoidTy);
;}
break;
- case 160:
-#line 1469 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 162:
+#line 1477 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeWithAttrsList) = new TypeWithAttrsList();
(yyval.TypeWithAttrsList)->push_back((yyvsp[(1) - (1)].TypeWithAttrs));
;}
break;
- case 161:
-#line 1474 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 163:
+#line 1482 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
((yyval.TypeWithAttrsList)=(yyvsp[(1) - (3)].TypeWithAttrsList))->push_back((yyvsp[(3) - (3)].TypeWithAttrs));
CHECK_FOR_ERROR
;}
break;
- case 163:
-#line 1482 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 165:
+#line 1490 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeWithAttrsList)=(yyvsp[(1) - (3)].TypeWithAttrsList);
TypeWithAttrs TWA; TWA.Attrs = ParamAttr::None;
;}
break;
- case 164:
-#line 1489 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 166:
+#line 1497 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeWithAttrsList) = new TypeWithAttrsList;
TypeWithAttrs TWA; TWA.Attrs = ParamAttr::None;
;}
break;
- case 165:
-#line 1496 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 167:
+#line 1504 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeWithAttrsList) = new TypeWithAttrsList();
CHECK_FOR_ERROR
;}
break;
- case 166:
-#line 1504 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 168:
+#line 1512 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TypeList) = new std::list<PATypeHolder>();
(yyval.TypeList)->push_back(*(yyvsp[(1) - (1)].TypeVal));
;}
break;
- case 167:
-#line 1510 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 169:
+#line 1518 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
((yyval.TypeList)=(yyvsp[(1) - (3)].TypeList))->push_back(*(yyvsp[(3) - (3)].TypeVal));
delete (yyvsp[(3) - (3)].TypeVal);
;}
break;
- case 168:
-#line 1522 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 170:
+#line 1530 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Nonempty unsized arr
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (4)].TypeVal))->getDescription());
;}
break;
- case 169:
-#line 1550 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 171:
+#line 1558 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (3)].TypeVal))->getDescription());
;}
break;
- case 170:
-#line 1566 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 172:
+#line 1574 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (3)].TypeVal))->getDescription());
;}
break;
- case 171:
-#line 1593 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 173:
+#line 1601 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Nonempty unsized arr
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (4)].TypeVal))->getDescription());
;}
break;
- case 172:
-#line 1621 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 174:
+#line 1629 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
const StructType *STy = dyn_cast<StructType>((yyvsp[(1) - (4)].TypeVal)->get());
if (STy == 0)
;}
break;
- case 173:
-#line 1647 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 175:
+#line 1655 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (3)].TypeVal))->getDescription());
;}
break;
- case 174:
-#line 1667 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 176:
+#line 1675 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
const StructType *STy = dyn_cast<StructType>((yyvsp[(1) - (6)].TypeVal)->get());
if (STy == 0)
;}
break;
- case 175:
-#line 1693 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 177:
+#line 1701 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (5)].TypeVal))->getDescription());
;}
break;
- case 176:
-#line 1713 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 178:
+#line 1721 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (2)].TypeVal))->getDescription());
;}
break;
- case 177:
-#line 1725 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 179:
+#line 1733 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (2)].TypeVal))->getDescription());
;}
break;
- case 178:
-#line 1732 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 180:
+#line 1740 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (2)].TypeVal))->getDescription());
GlobalValue *GV;
if (const FunctionType *FTy =
dyn_cast<FunctionType>(PT->getElementType())) {
- GV = new Function(FTy, GlobalValue::ExternalWeakLinkage, Name,
- CurModule.CurrentModule);
+ GV = Function::Create(FTy, GlobalValue::ExternalWeakLinkage, Name,
+ CurModule.CurrentModule);
} else {
GV = new GlobalVariable(PT->getElementType(), false,
GlobalValue::ExternalWeakLinkage, 0,
;}
break;
- case 179:
-#line 1798 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 181:
+#line 1806 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (2)].TypeVal))->getDescription());
;}
break;
- case 180:
-#line 1808 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 182:
+#line 1816 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (2)].TypeVal))->getDescription());
;}
break;
- case 181:
-#line 1818 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 183:
+#line 1826 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // integral constants
if (!ConstantInt::isValueValidForType((yyvsp[(1) - (2)].PrimType), (yyvsp[(2) - (2)].SInt64Val)))
GEN_ERROR("Constant value doesn't fit in type");
;}
break;
- case 182:
-#line 1824 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 184:
+#line 1832 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // arbitrary precision integer constants
uint32_t BitWidth = cast<IntegerType>((yyvsp[(1) - (2)].PrimType))->getBitWidth();
if ((yyvsp[(2) - (2)].APIntVal)->getBitWidth() > BitWidth) {
;}
break;
- case 183:
-#line 1834 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 185:
+#line 1842 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // integral constants
if (!ConstantInt::isValueValidForType((yyvsp[(1) - (2)].PrimType), (yyvsp[(2) - (2)].UInt64Val)))
GEN_ERROR("Constant value doesn't fit in type");
;}
break;
- case 184:
-#line 1840 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 186:
+#line 1848 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // arbitrary precision integer constants
uint32_t BitWidth = cast<IntegerType>((yyvsp[(1) - (2)].PrimType))->getBitWidth();
if ((yyvsp[(2) - (2)].APIntVal)->getBitWidth() > BitWidth) {
;}
break;
- case 185:
-#line 1850 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 187:
+#line 1858 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Boolean constants
- assert(cast<IntegerType>((yyvsp[(1) - (2)].PrimType))->getBitWidth() == 1 && "Not Bool?");
+ if (cast<IntegerType>((yyvsp[(1) - (2)].PrimType))->getBitWidth() != 1)
+ GEN_ERROR("Constant true must have type i1");
(yyval.ConstVal) = ConstantInt::getTrue();
CHECK_FOR_ERROR
;}
break;
- case 186:
-#line 1855 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 188:
+#line 1864 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Boolean constants
- assert(cast<IntegerType>((yyvsp[(1) - (2)].PrimType))->getBitWidth() == 1 && "Not Bool?");
+ if (cast<IntegerType>((yyvsp[(1) - (2)].PrimType))->getBitWidth() != 1)
+ GEN_ERROR("Constant false must have type i1");
(yyval.ConstVal) = ConstantInt::getFalse();
CHECK_FOR_ERROR
;}
break;
- case 187:
-#line 1860 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 189:
+#line 1870 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Floating point constants
if (!ConstantFP::isValueValidForType((yyvsp[(1) - (2)].PrimType), *(yyvsp[(2) - (2)].FPVal)))
GEN_ERROR("Floating point constant invalid for type");
// as double. Fix this here. Long double is done right.
if (&(yyvsp[(2) - (2)].FPVal)->getSemantics()==&APFloat::IEEEdouble && (yyvsp[(1) - (2)].PrimType)==Type::FloatTy)
(yyvsp[(2) - (2)].FPVal)->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
- (yyval.ConstVal) = ConstantFP::get((yyvsp[(1) - (2)].PrimType), *(yyvsp[(2) - (2)].FPVal));
+ (yyval.ConstVal) = ConstantFP::get(*(yyvsp[(2) - (2)].FPVal));
delete (yyvsp[(2) - (2)].FPVal);
CHECK_FOR_ERROR
;}
break;
- case 188:
-#line 1873 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 190:
+#line 1883 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(5) - (6)].TypeVal))->getDescription());
;}
break;
- case 189:
-#line 1885 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 191:
+#line 1895 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!isa<PointerType>((yyvsp[(3) - (5)].ConstVal)->getType()))
GEN_ERROR("GetElementPtr requires a pointer operand");
const Type *IdxTy =
- GetElementPtrInst::getIndexedType((yyvsp[(3) - (5)].ConstVal)->getType(), (yyvsp[(4) - (5)].ValueList)->begin(), (yyvsp[(4) - (5)].ValueList)->end(),
- true);
+ GetElementPtrInst::getIndexedType((yyvsp[(3) - (5)].ConstVal)->getType(), (yyvsp[(4) - (5)].ValueList)->begin(), (yyvsp[(4) - (5)].ValueList)->end());
if (!IdxTy)
GEN_ERROR("Index list invalid for constant getelementptr");
;}
break;
- case 190:
-#line 1907 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 192:
+#line 1916 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(3) - (8)].ConstVal)->getType() != Type::Int1Ty)
GEN_ERROR("Select condition must be of boolean type");
;}
break;
- case 191:
-#line 1915 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 193:
+#line 1924 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(3) - (6)].ConstVal)->getType() != (yyvsp[(5) - (6)].ConstVal)->getType())
GEN_ERROR("Binary operator types must match");
;}
break;
- case 192:
-#line 1921 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 194:
+#line 1930 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(3) - (6)].ConstVal)->getType() != (yyvsp[(5) - (6)].ConstVal)->getType())
GEN_ERROR("Logical operator types must match");
;}
break;
- case 193:
-#line 1932 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 195:
+#line 1941 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(4) - (7)].ConstVal)->getType() != (yyvsp[(6) - (7)].ConstVal)->getType())
GEN_ERROR("icmp operand types must match");
;}
break;
- case 194:
-#line 1937 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 196:
+#line 1946 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(4) - (7)].ConstVal)->getType() != (yyvsp[(6) - (7)].ConstVal)->getType())
GEN_ERROR("fcmp operand types must match");
;}
break;
- case 195:
-#line 1942 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 197:
+#line 1951 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if ((yyvsp[(4) - (7)].ConstVal)->getType() != (yyvsp[(6) - (7)].ConstVal)->getType())
+ GEN_ERROR("vicmp operand types must match");
+ (yyval.ConstVal) = ConstantExpr::getVICmp((yyvsp[(2) - (7)].IPredicate), (yyvsp[(4) - (7)].ConstVal), (yyvsp[(6) - (7)].ConstVal));
+ ;}
+ break;
+
+ case 198:
+#line 1956 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if ((yyvsp[(4) - (7)].ConstVal)->getType() != (yyvsp[(6) - (7)].ConstVal)->getType())
+ GEN_ERROR("vfcmp operand types must match");
+ (yyval.ConstVal) = ConstantExpr::getVFCmp((yyvsp[(2) - (7)].FPredicate), (yyvsp[(4) - (7)].ConstVal), (yyvsp[(6) - (7)].ConstVal));
+ ;}
+ break;
+
+ case 199:
+#line 1961 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!ExtractElementInst::isValidOperands((yyvsp[(3) - (6)].ConstVal), (yyvsp[(5) - (6)].ConstVal)))
GEN_ERROR("Invalid extractelement operands");
;}
break;
- case 196:
-#line 1948 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 200:
+#line 1967 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!InsertElementInst::isValidOperands((yyvsp[(3) - (8)].ConstVal), (yyvsp[(5) - (8)].ConstVal), (yyvsp[(7) - (8)].ConstVal)))
GEN_ERROR("Invalid insertelement operands");
;}
break;
- case 197:
-#line 1954 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 201:
+#line 1973 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!ShuffleVectorInst::isValidOperands((yyvsp[(3) - (8)].ConstVal), (yyvsp[(5) - (8)].ConstVal), (yyvsp[(7) - (8)].ConstVal)))
GEN_ERROR("Invalid shufflevector operands");
;}
break;
- case 198:
-#line 1963 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 202:
+#line 1979 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if (!isa<StructType>((yyvsp[(3) - (5)].ConstVal)->getType()) && !isa<ArrayType>((yyvsp[(3) - (5)].ConstVal)->getType()))
+ GEN_ERROR("ExtractValue requires an aggregate operand");
+
+ (yyval.ConstVal) = ConstantExpr::getExtractValue((yyvsp[(3) - (5)].ConstVal), &(*(yyvsp[(4) - (5)].ConstantList))[0], (yyvsp[(4) - (5)].ConstantList)->size());
+ delete (yyvsp[(4) - (5)].ConstantList);
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 203:
+#line 1987 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if (!isa<StructType>((yyvsp[(3) - (7)].ConstVal)->getType()) && !isa<ArrayType>((yyvsp[(3) - (7)].ConstVal)->getType()))
+ GEN_ERROR("InsertValue requires an aggregate operand");
+
+ (yyval.ConstVal) = ConstantExpr::getInsertValue((yyvsp[(3) - (7)].ConstVal), (yyvsp[(5) - (7)].ConstVal), &(*(yyvsp[(6) - (7)].ConstantList))[0], (yyvsp[(6) - (7)].ConstantList)->size());
+ delete (yyvsp[(6) - (7)].ConstantList);
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 204:
+#line 1998 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
((yyval.ConstVector) = (yyvsp[(1) - (3)].ConstVector))->push_back((yyvsp[(3) - (3)].ConstVal));
CHECK_FOR_ERROR
;}
break;
- case 199:
-#line 1967 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 205:
+#line 2002 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ConstVector) = new std::vector<Constant*>();
(yyval.ConstVector)->push_back((yyvsp[(1) - (1)].ConstVal));
;}
break;
- case 200:
-#line 1975 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 206:
+#line 2010 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.BoolVal) = false; ;}
break;
- case 201:
-#line 1975 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 207:
+#line 2010 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.BoolVal) = true; ;}
break;
- case 202:
-#line 1978 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 208:
+#line 2013 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.BoolVal) = true; ;}
break;
- case 203:
-#line 1978 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 209:
+#line 2013 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.BoolVal) = false; ;}
break;
- case 204:
-#line 1981 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 210:
+#line 2016 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
const Type* VTy = (yyvsp[(1) - (2)].TypeVal)->get();
Value *V = getVal(VTy, (yyvsp[(2) - (2)].ValIDVal));
;}
break;
- case 205:
-#line 1993 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 211:
+#line 2028 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
Constant *Val = (yyvsp[(3) - (6)].ConstVal);
const Type *DestTy = (yyvsp[(5) - (6)].TypeVal)->get();
;}
break;
- case 206:
-#line 2014 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 212:
+#line 2049 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ModuleVal) = ParserResult = CurModule.CurrentModule;
CurModule.ModuleDone();
;}
break;
- case 207:
-#line 2019 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 213:
+#line 2054 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ModuleVal) = ParserResult = CurModule.CurrentModule;
CurModule.ModuleDone();
;}
break;
- case 210:
-#line 2032 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 216:
+#line 2067 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ CurFun.isDeclare = false; ;}
break;
- case 211:
-#line 2032 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 217:
+#line 2067 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurFun.FunctionDone();
CHECK_FOR_ERROR
;}
break;
- case 212:
-#line 2036 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 218:
+#line 2071 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ CurFun.isDeclare = true; ;}
break;
- case 213:
-#line 2036 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 219:
+#line 2071 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CHECK_FOR_ERROR
;}
break;
- case 214:
-#line 2039 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 220:
+#line 2074 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CHECK_FOR_ERROR
;}
break;
- case 215:
-#line 2042 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 221:
+#line 2077 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (3)].TypeVal))->getDescription());
;}
break;
- case 216:
-#line 2066 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 222:
+#line 2101 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
ResolveTypeTo((yyvsp[(1) - (3)].StrVal), (yyvsp[(3) - (3)].PrimType));
;}
break;
- case 217:
-#line 2078 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 223:
+#line 2113 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
/* "Externally Visible" Linkage */
if ((yyvsp[(5) - (6)].ConstVal) == 0)
;}
break;
- case 218:
-#line 2085 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 224:
+#line 2120 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurGV = 0;
;}
break;
- case 219:
-#line 2089 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 225:
+#line 2124 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(6) - (7)].ConstVal) == 0)
GEN_ERROR("Global value initializer is not a constant");
;}
break;
- case 220:
-#line 2094 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 226:
+#line 2129 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurGV = 0;
;}
break;
- case 221:
-#line 2098 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 227:
+#line 2133 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(6) - (7)].TypeVal))->getDescription());
;}
break;
- case 222:
-#line 2104 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 228:
+#line 2139 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurGV = 0;
CHECK_FOR_ERROR
;}
break;
- case 223:
-#line 2108 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 229:
+#line 2143 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
std::string Name;
if ((yyvsp[(1) - (5)].StrVal)) {
;}
break;
- case 224:
-#line 2148 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 230:
+#line 2183 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CHECK_FOR_ERROR
;}
break;
- case 225:
-#line 2151 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 231:
+#line 2186 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CHECK_FOR_ERROR
;}
break;
- case 226:
-#line 2157 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 232:
+#line 2192 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
const std::string &AsmSoFar = CurModule.CurrentModule->getModuleInlineAsm();
if (AsmSoFar.empty())
;}
break;
- case 227:
-#line 2167 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 233:
+#line 2202 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurModule.CurrentModule->setTargetTriple(*(yyvsp[(3) - (3)].StrVal));
delete (yyvsp[(3) - (3)].StrVal);
;}
break;
- case 228:
-#line 2171 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 234:
+#line 2206 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurModule.CurrentModule->setDataLayout(*(yyvsp[(3) - (3)].StrVal));
delete (yyvsp[(3) - (3)].StrVal);
;}
break;
- case 230:
-#line 2178 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 236:
+#line 2213 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurModule.CurrentModule->addLibrary(*(yyvsp[(3) - (3)].StrVal));
delete (yyvsp[(3) - (3)].StrVal);
;}
break;
- case 231:
-#line 2183 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 237:
+#line 2218 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurModule.CurrentModule->addLibrary(*(yyvsp[(1) - (1)].StrVal));
delete (yyvsp[(1) - (1)].StrVal);
;}
break;
- case 232:
-#line 2188 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 238:
+#line 2223 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CHECK_FOR_ERROR
;}
break;
- case 233:
-#line 2197 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 239:
+#line 2232 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (5)].TypeVal))->getDescription());
- if (*(yyvsp[(3) - (5)].TypeVal) == Type::VoidTy)
- GEN_ERROR("void typed arguments are invalid");
+ if (!(*(yyvsp[(3) - (5)].TypeVal))->isFirstClassType())
+ GEN_ERROR("Argument types must be first-class");
ArgListEntry E; E.Attrs = (yyvsp[(4) - (5)].ParamAttrs); E.Ty = (yyvsp[(3) - (5)].TypeVal); E.Name = (yyvsp[(5) - (5)].StrVal);
(yyval.ArgList) = (yyvsp[(1) - (5)].ArgList);
(yyvsp[(1) - (5)].ArgList)->push_back(E);
;}
break;
- case 234:
-#line 2207 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 240:
+#line 2242 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (3)].TypeVal))->getDescription());
- if (*(yyvsp[(1) - (3)].TypeVal) == Type::VoidTy)
- GEN_ERROR("void typed arguments are invalid");
+ if (!(*(yyvsp[(1) - (3)].TypeVal))->isFirstClassType())
+ GEN_ERROR("Argument types must be first-class");
ArgListEntry E; E.Attrs = (yyvsp[(2) - (3)].ParamAttrs); E.Ty = (yyvsp[(1) - (3)].TypeVal); E.Name = (yyvsp[(3) - (3)].StrVal);
(yyval.ArgList) = new ArgListType;
(yyval.ArgList)->push_back(E);
;}
break;
- case 235:
-#line 2218 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 241:
+#line 2253 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ArgList) = (yyvsp[(1) - (1)].ArgList);
CHECK_FOR_ERROR
;}
break;
- case 236:
-#line 2222 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 242:
+#line 2257 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ArgList) = (yyvsp[(1) - (3)].ArgList);
struct ArgListEntry E;
;}
break;
- case 237:
-#line 2231 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 243:
+#line 2266 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ArgList) = new ArgListType;
struct ArgListEntry E;
;}
break;
- case 238:
-#line 2240 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 244:
+#line 2275 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ArgList) = 0;
CHECK_FOR_ERROR
;}
break;
- case 239:
-#line 2246 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 245:
+#line 2281 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
std::string FunctionName(*(yyvsp[(3) - (10)].StrVal));
delete (yyvsp[(3) - (10)].StrVal); // Free strdup'd memory!
if (!CurFun.isDeclare && CurModule.TypeIsUnresolved((yyvsp[(2) - (10)].TypeVal)))
GEN_ERROR("Reference to abstract result: "+ (yyvsp[(2) - (10)].TypeVal)->get()->getDescription());
+ if (!FunctionType::isValidReturnType(*(yyvsp[(2) - (10)].TypeVal)))
+ GEN_ERROR("Invalid result type for LLVM function");
+
std::vector<const Type*> ParamTypeList;
- ParamAttrsVector Attrs;
- if ((yyvsp[(7) - (10)].ParamAttrs) != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = 0;
- PAWI.attrs = (yyvsp[(7) - (10)].ParamAttrs);
- Attrs.push_back(PAWI);
- }
+ SmallVector<ParamAttrsWithIndex, 8> Attrs;
+ if ((yyvsp[(7) - (10)].ParamAttrs) != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(0, (yyvsp[(7) - (10)].ParamAttrs)));
if ((yyvsp[(5) - (10)].ArgList)) { // If there are arguments...
unsigned index = 1;
for (ArgListType::iterator I = (yyvsp[(5) - (10)].ArgList)->begin(); I != (yyvsp[(5) - (10)].ArgList)->end(); ++I, ++index) {
if (!CurFun.isDeclare && CurModule.TypeIsUnresolved(I->Ty))
GEN_ERROR("Reference to abstract argument: " + Ty->getDescription());
ParamTypeList.push_back(Ty);
- if (Ty != Type::VoidTy)
- if (I->Attrs != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = index;
- PAWI.attrs = I->Attrs;
- Attrs.push_back(PAWI);
- }
+ if (Ty != Type::VoidTy && I->Attrs != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(index, I->Attrs));
}
}
bool isVarArg = ParamTypeList.size() && ParamTypeList.back() == Type::VoidTy;
if (isVarArg) ParamTypeList.pop_back();
- const ParamAttrsList *PAL = 0;
+ PAListPtr PAL;
if (!Attrs.empty())
- PAL = ParamAttrsList::get(Attrs);
+ PAL = PAListPtr::get(Attrs.begin(), Attrs.end());
FunctionType *FT = FunctionType::get(*(yyvsp[(2) - (10)].TypeVal), ParamTypeList, isVarArg);
const PointerType *PFT = PointerType::getUnqual(FT);
// Move the function to the end of the list, from whereever it was
// previously inserted.
Fn = cast<Function>(FWRef);
- assert(!Fn->getParamAttrs() && "Forward reference has parameter attributes!");
+ assert(Fn->getParamAttrs().isEmpty() &&
+ "Forward reference has parameter attributes!");
CurModule.CurrentModule->getFunctionList().remove(Fn);
CurModule.CurrentModule->getFunctionList().push_back(Fn);
} else if (!FunctionName.empty() && // Merge with an earlier prototype?
AI->setName("");
}
} else { // Not already defined?
- Fn = new Function(FT, GlobalValue::ExternalWeakLinkage, FunctionName,
- CurModule.CurrentModule);
+ Fn = Function::Create(FT, GlobalValue::ExternalWeakLinkage, FunctionName,
+ CurModule.CurrentModule);
InsertValue(Fn, CurModule.Values);
}
;}
break;
- case 242:
-#line 2381 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 248:
+#line 2411 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.FunctionVal) = CurFun.CurrentFunction;
;}
break;
- case 245:
-#line 2392 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 251:
+#line 2422 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.FunctionVal) = (yyvsp[(1) - (2)].FunctionVal);
CHECK_FOR_ERROR
;}
break;
- case 246:
-#line 2397 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 252:
+#line 2427 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
CurFun.CurrentFunction->setLinkage((yyvsp[(1) - (3)].Linkage));
CurFun.CurrentFunction->setVisibility((yyvsp[(2) - (3)].Visibility));
;}
break;
- case 247:
-#line 2409 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 253:
+#line 2439 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.BoolVal) = false;
CHECK_FOR_ERROR
;}
break;
- case 248:
-#line 2413 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 254:
+#line 2443 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.BoolVal) = true;
CHECK_FOR_ERROR
;}
break;
- case 249:
-#line 2418 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 255:
+#line 2448 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // A reference to a direct constant
(yyval.ValIDVal) = ValID::create((yyvsp[(1) - (1)].SInt64Val));
CHECK_FOR_ERROR
;}
break;
- case 250:
-#line 2422 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 256:
+#line 2452 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::create((yyvsp[(1) - (1)].UInt64Val));
CHECK_FOR_ERROR
;}
break;
- case 251:
-#line 2426 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 257:
+#line 2456 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Perhaps it's an FP constant?
(yyval.ValIDVal) = ValID::create((yyvsp[(1) - (1)].FPVal));
CHECK_FOR_ERROR
;}
break;
- case 252:
-#line 2430 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 258:
+#line 2460 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::create(ConstantInt::getTrue());
CHECK_FOR_ERROR
;}
break;
- case 253:
-#line 2434 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 259:
+#line 2464 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::create(ConstantInt::getFalse());
CHECK_FOR_ERROR
;}
break;
- case 254:
-#line 2438 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 260:
+#line 2468 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::createNull();
CHECK_FOR_ERROR
;}
break;
- case 255:
-#line 2442 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 261:
+#line 2472 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::createUndef();
CHECK_FOR_ERROR
;}
break;
- case 256:
-#line 2446 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 262:
+#line 2476 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // A vector zero constant.
(yyval.ValIDVal) = ValID::createZeroInit();
CHECK_FOR_ERROR
;}
break;
- case 257:
-#line 2450 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 263:
+#line 2480 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Nonempty unsized packed vector
const Type *ETy = (*(yyvsp[(2) - (3)].ConstVector))[0]->getType();
int NumElements = (yyvsp[(2) - (3)].ConstVector)->size();
+
+ if (!ETy->isInteger() && !ETy->isFloatingPoint())
+ GEN_ERROR("Invalid vector element type: " + ETy->getDescription());
VectorType* pt = VectorType::get(ETy, NumElements);
- PATypeHolder* PTy = new PATypeHolder(
- HandleUpRefs(
- VectorType::get(
- ETy,
- NumElements)
- )
- );
+ PATypeHolder* PTy = new PATypeHolder(HandleUpRefs(pt));
// Verify all elements are correct type!
for (unsigned i = 0; i < (yyvsp[(2) - (3)].ConstVector)->size(); i++) {
;}
break;
- case 258:
-#line 2475 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 264:
+#line 2502 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { // Nonempty unsized arr
+ const Type *ETy = (*(yyvsp[(2) - (3)].ConstVector))[0]->getType();
+ int NumElements = (yyvsp[(2) - (3)].ConstVector)->size();
+
+ if (!ETy->isFirstClassType())
+ GEN_ERROR("Invalid array element type: " + ETy->getDescription());
+
+ ArrayType *ATy = ArrayType::get(ETy, NumElements);
+ PATypeHolder* PTy = new PATypeHolder(HandleUpRefs(ATy));
+
+ // Verify all elements are correct type!
+ for (unsigned i = 0; i < (yyvsp[(2) - (3)].ConstVector)->size(); i++) {
+ if (ETy != (*(yyvsp[(2) - (3)].ConstVector))[i]->getType())
+ GEN_ERROR("Element #" + utostr(i) + " is not of type '" +
+ ETy->getDescription() +"' as required!\nIt is of type '"+
+ (*(yyvsp[(2) - (3)].ConstVector))[i]->getType()->getDescription() + "'.");
+ }
+
+ (yyval.ValIDVal) = ValID::create(ConstantArray::get(ATy, *(yyvsp[(2) - (3)].ConstVector)));
+ delete PTy; delete (yyvsp[(2) - (3)].ConstVector);
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 265:
+#line 2524 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ (yyval.ValIDVal) = ValID::createUndef();
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 266:
+#line 2528 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ int NumElements = (yyvsp[(2) - (2)].StrVal)->length();
+ const Type *ETy = Type::Int8Ty;
+
+ ArrayType *ATy = ArrayType::get(ETy, NumElements);
+
+ std::vector<Constant*> Vals;
+ for (unsigned i = 0; i < (yyvsp[(2) - (2)].StrVal)->length(); ++i)
+ Vals.push_back(ConstantInt::get(ETy, (*(yyvsp[(2) - (2)].StrVal))[i]));
+ delete (yyvsp[(2) - (2)].StrVal);
+ (yyval.ValIDVal) = ValID::create(ConstantArray::get(ATy, Vals));
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 267:
+#line 2541 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ std::vector<const Type*> Elements((yyvsp[(2) - (3)].ConstVector)->size());
+ for (unsigned i = 0, e = (yyvsp[(2) - (3)].ConstVector)->size(); i != e; ++i)
+ Elements[i] = (*(yyvsp[(2) - (3)].ConstVector))[i]->getType();
+
+ const StructType *STy = StructType::get(Elements);
+ PATypeHolder* PTy = new PATypeHolder(HandleUpRefs(STy));
+
+ (yyval.ValIDVal) = ValID::create(ConstantStruct::get(STy, *(yyvsp[(2) - (3)].ConstVector)));
+ delete PTy; delete (yyvsp[(2) - (3)].ConstVector);
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 268:
+#line 2553 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ const StructType *STy = StructType::get(std::vector<const Type*>());
+ (yyval.ValIDVal) = ValID::create(ConstantStruct::get(STy, std::vector<Constant*>()));
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 269:
+#line 2558 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ std::vector<const Type*> Elements((yyvsp[(3) - (5)].ConstVector)->size());
+ for (unsigned i = 0, e = (yyvsp[(3) - (5)].ConstVector)->size(); i != e; ++i)
+ Elements[i] = (*(yyvsp[(3) - (5)].ConstVector))[i]->getType();
+
+ const StructType *STy = StructType::get(Elements, /*isPacked=*/true);
+ PATypeHolder* PTy = new PATypeHolder(HandleUpRefs(STy));
+
+ (yyval.ValIDVal) = ValID::create(ConstantStruct::get(STy, *(yyvsp[(3) - (5)].ConstVector)));
+ delete PTy; delete (yyvsp[(3) - (5)].ConstVector);
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 270:
+#line 2570 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ const StructType *STy = StructType::get(std::vector<const Type*>(),
+ /*isPacked=*/true);
+ (yyval.ValIDVal) = ValID::create(ConstantStruct::get(STy, std::vector<Constant*>()));
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 271:
+#line 2576 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::create((yyvsp[(1) - (1)].ConstVal));
CHECK_FOR_ERROR
;}
break;
- case 259:
-#line 2479 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 272:
+#line 2580 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::createInlineAsm(*(yyvsp[(3) - (5)].StrVal), *(yyvsp[(5) - (5)].StrVal), (yyvsp[(2) - (5)].BoolVal));
delete (yyvsp[(3) - (5)].StrVal);
;}
break;
- case 260:
-#line 2489 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 273:
+#line 2590 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Is it an integer reference...?
(yyval.ValIDVal) = ValID::createLocalID((yyvsp[(1) - (1)].UIntVal));
CHECK_FOR_ERROR
;}
break;
- case 261:
-#line 2493 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 274:
+#line 2594 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValIDVal) = ValID::createGlobalID((yyvsp[(1) - (1)].UIntVal));
CHECK_FOR_ERROR
;}
break;
- case 262:
-#line 2497 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 275:
+#line 2598 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Is it a named reference...?
(yyval.ValIDVal) = ValID::createLocalName(*(yyvsp[(1) - (1)].StrVal));
delete (yyvsp[(1) - (1)].StrVal);
;}
break;
- case 263:
-#line 2502 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 276:
+#line 2603 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Is it a named reference...?
(yyval.ValIDVal) = ValID::createGlobalName(*(yyvsp[(1) - (1)].StrVal));
delete (yyvsp[(1) - (1)].StrVal);
;}
break;
- case 266:
-#line 2515 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 279:
+#line 2616 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (2)].TypeVal))->getDescription());
;}
break;
- case 267:
-#line 2524 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 280:
+#line 2625 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ (yyval.ValueList) = new std::vector<Value *>();
+ (yyval.ValueList)->push_back((yyvsp[(1) - (1)].ValueVal));
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 281:
+#line 2630 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ ((yyval.ValueList)=(yyvsp[(1) - (3)].ValueList))->push_back((yyvsp[(3) - (3)].ValueVal));
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 282:
+#line 2635 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.FunctionVal) = (yyvsp[(1) - (2)].FunctionVal);
CHECK_FOR_ERROR
;}
break;
- case 268:
-#line 2528 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 283:
+#line 2639 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Do not allow functions with 0 basic blocks
(yyval.FunctionVal) = (yyvsp[(1) - (2)].FunctionVal);
CHECK_FOR_ERROR
;}
break;
- case 269:
-#line 2537 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 284:
+#line 2648 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
setValueName((yyvsp[(3) - (3)].TermInstVal), (yyvsp[(2) - (3)].StrVal));
CHECK_FOR_ERROR
;}
break;
- case 270:
-#line 2546 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 285:
+#line 2657 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (CastInst *CI1 = dyn_cast<CastInst>((yyvsp[(2) - (2)].InstVal)))
if (CastInst *CI2 = dyn_cast<CastInst>(CI1->getOperand(0)))
;}
break;
- case 271:
-#line 2555 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 286:
+#line 2666 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Empty space between instruction lists
(yyval.BasicBlockVal) = defineBBVal(ValID::createLocalID(CurFun.NextValNum));
CHECK_FOR_ERROR
;}
break;
- case 272:
-#line 2559 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 287:
+#line 2670 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Labelled (named) basic block
(yyval.BasicBlockVal) = defineBBVal(ValID::createLocalName(*(yyvsp[(1) - (1)].StrVal)));
delete (yyvsp[(1) - (1)].StrVal);
;}
break;
- case 273:
-#line 2566 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
- { // Return with a result...
- (yyval.TermInstVal) = new ReturnInst((yyvsp[(2) - (2)].ValueVal));
+ case 288:
+#line 2678 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ { // Return with a result...
+ ValueList &VL = *(yyvsp[(2) - (2)].ValueList);
+ assert(!VL.empty() && "Invalid ret operands!");
+ (yyval.TermInstVal) = ReturnInst::Create(&VL[0], VL.size());
+ delete (yyvsp[(2) - (2)].ValueList);
CHECK_FOR_ERROR
;}
break;
- case 274:
-#line 2570 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 289:
+#line 2685 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Return with no result...
- (yyval.TermInstVal) = new ReturnInst();
+ (yyval.TermInstVal) = ReturnInst::Create();
CHECK_FOR_ERROR
;}
break;
- case 275:
-#line 2574 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 290:
+#line 2689 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Unconditional Branch...
BasicBlock* tmpBB = getBBVal((yyvsp[(3) - (3)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.TermInstVal) = new BranchInst(tmpBB);
+ (yyval.TermInstVal) = BranchInst::Create(tmpBB);
;}
break;
- case 276:
-#line 2579 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 291:
+#line 2694 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
- assert(cast<IntegerType>((yyvsp[(2) - (9)].PrimType))->getBitWidth() == 1 && "Not Bool?");
+ if (cast<IntegerType>((yyvsp[(2) - (9)].PrimType))->getBitWidth() != 1)
+ GEN_ERROR("Branch condition must have type i1");
BasicBlock* tmpBBA = getBBVal((yyvsp[(6) - (9)].ValIDVal));
CHECK_FOR_ERROR
BasicBlock* tmpBBB = getBBVal((yyvsp[(9) - (9)].ValIDVal));
CHECK_FOR_ERROR
Value* tmpVal = getVal(Type::Int1Ty, (yyvsp[(3) - (9)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.TermInstVal) = new BranchInst(tmpBBA, tmpBBB, tmpVal);
+ (yyval.TermInstVal) = BranchInst::Create(tmpBBA, tmpBBB, tmpVal);
;}
break;
- case 277:
-#line 2589 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 292:
+#line 2705 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
Value* tmpVal = getVal((yyvsp[(2) - (9)].PrimType), (yyvsp[(3) - (9)].ValIDVal));
CHECK_FOR_ERROR
BasicBlock* tmpBB = getBBVal((yyvsp[(6) - (9)].ValIDVal));
CHECK_FOR_ERROR
- SwitchInst *S = new SwitchInst(tmpVal, tmpBB, (yyvsp[(8) - (9)].JumpTable)->size());
+ SwitchInst *S = SwitchInst::Create(tmpVal, tmpBB, (yyvsp[(8) - (9)].JumpTable)->size());
(yyval.TermInstVal) = S;
std::vector<std::pair<Constant*,BasicBlock*> >::iterator I = (yyvsp[(8) - (9)].JumpTable)->begin(),
;}
break;
- case 278:
-#line 2608 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 293:
+#line 2724 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
Value* tmpVal = getVal((yyvsp[(2) - (8)].PrimType), (yyvsp[(3) - (8)].ValIDVal));
CHECK_FOR_ERROR
BasicBlock* tmpBB = getBBVal((yyvsp[(6) - (8)].ValIDVal));
CHECK_FOR_ERROR
- SwitchInst *S = new SwitchInst(tmpVal, tmpBB, 0);
+ SwitchInst *S = SwitchInst::Create(tmpVal, tmpBB, 0);
(yyval.TermInstVal) = S;
CHECK_FOR_ERROR
;}
break;
- case 279:
-#line 2618 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 294:
+#line 2734 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// Handle the short syntax
GEN_ERROR("Short call syntax cannot be used with varargs");
ParamTypes.push_back(Ty);
}
+
+ if (!FunctionType::isValidReturnType(*(yyvsp[(3) - (14)].TypeVal)))
+ GEN_ERROR("Invalid result type for LLVM function");
+
Ty = FunctionType::get((yyvsp[(3) - (14)].TypeVal)->get(), ParamTypes, false);
PFTy = PointerType::getUnqual(Ty);
}
BasicBlock *Except = getBBVal((yyvsp[(14) - (14)].ValIDVal));
CHECK_FOR_ERROR
- ParamAttrsVector Attrs;
- if ((yyvsp[(8) - (14)].ParamAttrs) != ParamAttr::None) {
- ParamAttrsWithIndex PAWI; PAWI.index = 0; PAWI.attrs = (yyvsp[(8) - (14)].ParamAttrs);
- Attrs.push_back(PAWI);
- }
+ SmallVector<ParamAttrsWithIndex, 8> Attrs;
+ if ((yyvsp[(8) - (14)].ParamAttrs) != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(0, (yyvsp[(8) - (14)].ParamAttrs)));
// Check the arguments
ValueList Args;
GEN_ERROR("Parameter " + ArgI->Val->getName()+ " is not of type '" +
(*I)->getDescription() + "'");
Args.push_back(ArgI->Val);
- if (ArgI->Attrs != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = index;
- PAWI.attrs = ArgI->Attrs;
- Attrs.push_back(PAWI);
- }
+ if (ArgI->Attrs != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(index, ArgI->Attrs));
}
if (Ty->isVarArg()) {
if (I == E)
for (; ArgI != ArgE; ++ArgI, ++index) {
Args.push_back(ArgI->Val); // push the remaining varargs
- if (ArgI->Attrs != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = index;
- PAWI.attrs = ArgI->Attrs;
- Attrs.push_back(PAWI);
- }
+ if (ArgI->Attrs != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(index, ArgI->Attrs));
}
} else if (I != E || ArgI != ArgE)
GEN_ERROR("Invalid number of parameters detected");
}
- const ParamAttrsList *PAL = 0;
+ PAListPtr PAL;
if (!Attrs.empty())
- PAL = ParamAttrsList::get(Attrs);
+ PAL = PAListPtr::get(Attrs.begin(), Attrs.end());
// Create the InvokeInst
- InvokeInst *II = new InvokeInst(V, Normal, Except, Args.begin(), Args.end());
+ InvokeInst *II = InvokeInst::Create(V, Normal, Except,
+ Args.begin(), Args.end());
II->setCallingConv((yyvsp[(2) - (14)].UIntVal));
II->setParamAttrs(PAL);
(yyval.TermInstVal) = II;
;}
break;
- case 280:
-#line 2708 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 295:
+#line 2819 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TermInstVal) = new UnwindInst();
CHECK_FOR_ERROR
;}
break;
- case 281:
-#line 2712 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 296:
+#line 2823 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.TermInstVal) = new UnreachableInst();
CHECK_FOR_ERROR
;}
break;
- case 282:
-#line 2719 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 297:
+#line 2830 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.JumpTable) = (yyvsp[(1) - (6)].JumpTable);
Constant *V = cast<Constant>(getExistingVal((yyvsp[(2) - (6)].PrimType), (yyvsp[(3) - (6)].ValIDVal)));
;}
break;
- case 283:
-#line 2730 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 298:
+#line 2841 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.JumpTable) = new std::vector<std::pair<Constant*, BasicBlock*> >();
Constant *V = cast<Constant>(getExistingVal((yyvsp[(1) - (5)].PrimType), (yyvsp[(2) - (5)].ValIDVal)));
;}
break;
- case 284:
-#line 2743 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 299:
+#line 2854 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// Is this definition named?? if so, assign the name...
setValueName((yyvsp[(2) - (2)].InstVal), (yyvsp[(1) - (2)].StrVal));
;}
break;
- case 285:
-#line 2753 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 300:
+#line 2864 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ // Used for PHI nodes
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(1) - (6)].TypeVal))->getDescription());
;}
break;
- case 286:
-#line 2764 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 301:
+#line 2875 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.PHIList) = (yyvsp[(1) - (7)].PHIList);
Value* tmpVal = getVal((yyvsp[(1) - (7)].PHIList)->front().first->getType(), (yyvsp[(4) - (7)].ValIDVal));
;}
break;
- case 287:
-#line 2774 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 302:
+#line 2885 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// FIXME: Remove trailing OptParamAttrs in LLVM 3.0, it was a mistake in 2.0
if (!UpRefs.empty())
;}
break;
- case 288:
-#line 2785 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 303:
+#line 2896 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// FIXME: Remove trailing OptParamAttrs in LLVM 3.0, it was a mistake in 2.0
// Labels are only valid in ASMs
;}
break;
- case 289:
-#line 2793 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 304:
+#line 2904 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// FIXME: Remove trailing OptParamAttrs in LLVM 3.0, it was a mistake in 2.0
if (!UpRefs.empty())
;}
break;
- case 290:
-#line 2803 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 305:
+#line 2914 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// FIXME: Remove trailing OptParamAttrs in LLVM 3.0, it was a mistake in 2.0
(yyval.ParamList) = (yyvsp[(1) - (6)].ParamList);
;}
break;
- case 291:
-#line 2810 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 306:
+#line 2921 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ParamList) = new ParamList(); ;}
break;
- case 292:
-#line 2813 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 307:
+#line 2924 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{ (yyval.ValueList) = new std::vector<Value*>(); ;}
break;
- case 293:
-#line 2814 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 308:
+#line 2925 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.ValueList) = (yyvsp[(1) - (3)].ValueList);
(yyval.ValueList)->push_back((yyvsp[(3) - (3)].ValueVal));
;}
break;
- case 294:
-#line 2821 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 309:
+#line 2933 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ (yyval.ConstantList) = new std::vector<unsigned>();
+ if ((unsigned)(yyvsp[(2) - (2)].UInt64Val) != (yyvsp[(2) - (2)].UInt64Val))
+ GEN_ERROR("Index " + utostr((yyvsp[(2) - (2)].UInt64Val)) + " is not valid for insertvalue or extractvalue.");
+ (yyval.ConstantList)->push_back((yyvsp[(2) - (2)].UInt64Val));
+ ;}
+ break;
+
+ case 310:
+#line 2939 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ (yyval.ConstantList) = (yyvsp[(1) - (3)].ConstantList);
+ if ((unsigned)(yyvsp[(3) - (3)].UInt64Val) != (yyvsp[(3) - (3)].UInt64Val))
+ GEN_ERROR("Index " + utostr((yyvsp[(3) - (3)].UInt64Val)) + " is not valid for insertvalue or extractvalue.");
+ (yyval.ConstantList)->push_back((yyvsp[(3) - (3)].UInt64Val));
+ CHECK_FOR_ERROR
+ ;}
+ break;
+
+ case 311:
+#line 2948 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.BoolVal) = true;
CHECK_FOR_ERROR
;}
break;
- case 295:
-#line 2825 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 312:
+#line 2952 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.BoolVal) = false;
CHECK_FOR_ERROR
;}
break;
- case 296:
-#line 2830 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 313:
+#line 2957 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (5)].TypeVal))->getDescription());
CHECK_FOR_ERROR
Value* val2 = getVal(*(yyvsp[(2) - (5)].TypeVal), (yyvsp[(5) - (5)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.InstVal) = BinaryOperator::create((yyvsp[(1) - (5)].BinaryOpVal), val1, val2);
+ (yyval.InstVal) = BinaryOperator::Create((yyvsp[(1) - (5)].BinaryOpVal), val1, val2);
if ((yyval.InstVal) == 0)
GEN_ERROR("binary operator returned null");
delete (yyvsp[(2) - (5)].TypeVal);
;}
break;
- case 297:
-#line 2846 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 314:
+#line 2973 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (5)].TypeVal))->getDescription());
CHECK_FOR_ERROR
Value* tmpVal2 = getVal(*(yyvsp[(2) - (5)].TypeVal), (yyvsp[(5) - (5)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.InstVal) = BinaryOperator::create((yyvsp[(1) - (5)].BinaryOpVal), tmpVal1, tmpVal2);
+ (yyval.InstVal) = BinaryOperator::Create((yyvsp[(1) - (5)].BinaryOpVal), tmpVal1, tmpVal2);
if ((yyval.InstVal) == 0)
GEN_ERROR("binary operator returned null");
delete (yyvsp[(2) - (5)].TypeVal);
;}
break;
- case 298:
-#line 2863 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 315:
+#line 2990 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (6)].TypeVal))->getDescription());
CHECK_FOR_ERROR
Value* tmpVal2 = getVal(*(yyvsp[(3) - (6)].TypeVal), (yyvsp[(6) - (6)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.InstVal) = CmpInst::create((yyvsp[(1) - (6)].OtherOpVal), (yyvsp[(2) - (6)].IPredicate), tmpVal1, tmpVal2);
+ (yyval.InstVal) = CmpInst::Create((yyvsp[(1) - (6)].OtherOpVal), (yyvsp[(2) - (6)].IPredicate), tmpVal1, tmpVal2);
if ((yyval.InstVal) == 0)
GEN_ERROR("icmp operator returned null");
delete (yyvsp[(3) - (6)].TypeVal);
;}
break;
- case 299:
-#line 2877 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 316:
+#line 3004 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (6)].TypeVal))->getDescription());
CHECK_FOR_ERROR
Value* tmpVal2 = getVal(*(yyvsp[(3) - (6)].TypeVal), (yyvsp[(6) - (6)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.InstVal) = CmpInst::create((yyvsp[(1) - (6)].OtherOpVal), (yyvsp[(2) - (6)].FPredicate), tmpVal1, tmpVal2);
+ (yyval.InstVal) = CmpInst::Create((yyvsp[(1) - (6)].OtherOpVal), (yyvsp[(2) - (6)].FPredicate), tmpVal1, tmpVal2);
if ((yyval.InstVal) == 0)
GEN_ERROR("fcmp operator returned null");
delete (yyvsp[(3) - (6)].TypeVal);
;}
break;
- case 300:
-#line 2891 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 317:
+#line 3018 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if (!UpRefs.empty())
+ GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (6)].TypeVal))->getDescription());
+ if (!isa<VectorType>((*(yyvsp[(3) - (6)].TypeVal)).get()))
+ GEN_ERROR("Scalar types not supported by vicmp instruction");
+ Value* tmpVal1 = getVal(*(yyvsp[(3) - (6)].TypeVal), (yyvsp[(4) - (6)].ValIDVal));
+ CHECK_FOR_ERROR
+ Value* tmpVal2 = getVal(*(yyvsp[(3) - (6)].TypeVal), (yyvsp[(6) - (6)].ValIDVal));
+ CHECK_FOR_ERROR
+ (yyval.InstVal) = CmpInst::Create((yyvsp[(1) - (6)].OtherOpVal), (yyvsp[(2) - (6)].IPredicate), tmpVal1, tmpVal2);
+ if ((yyval.InstVal) == 0)
+ GEN_ERROR("icmp operator returned null");
+ delete (yyvsp[(3) - (6)].TypeVal);
+ ;}
+ break;
+
+ case 318:
+#line 3032 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if (!UpRefs.empty())
+ GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (6)].TypeVal))->getDescription());
+ if (!isa<VectorType>((*(yyvsp[(3) - (6)].TypeVal)).get()))
+ GEN_ERROR("Scalar types not supported by vfcmp instruction");
+ Value* tmpVal1 = getVal(*(yyvsp[(3) - (6)].TypeVal), (yyvsp[(4) - (6)].ValIDVal));
+ CHECK_FOR_ERROR
+ Value* tmpVal2 = getVal(*(yyvsp[(3) - (6)].TypeVal), (yyvsp[(6) - (6)].ValIDVal));
+ CHECK_FOR_ERROR
+ (yyval.InstVal) = CmpInst::Create((yyvsp[(1) - (6)].OtherOpVal), (yyvsp[(2) - (6)].FPredicate), tmpVal1, tmpVal2);
+ if ((yyval.InstVal) == 0)
+ GEN_ERROR("fcmp operator returned null");
+ delete (yyvsp[(3) - (6)].TypeVal);
+ ;}
+ break;
+
+ case 319:
+#line 3046 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(4) - (4)].TypeVal))->getDescription());
GEN_ERROR("invalid cast opcode for cast from '" +
Val->getType()->getDescription() + "' to '" +
DestTy->getDescription() + "'");
- (yyval.InstVal) = CastInst::create((yyvsp[(1) - (4)].CastOpVal), Val, DestTy);
+ (yyval.InstVal) = CastInst::Create((yyvsp[(1) - (4)].CastOpVal), Val, DestTy);
delete (yyvsp[(4) - (4)].TypeVal);
;}
break;
- case 301:
-#line 2903 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 320:
+#line 3058 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if ((yyvsp[(2) - (6)].ValueVal)->getType() != Type::Int1Ty)
GEN_ERROR("select condition must be boolean");
if ((yyvsp[(4) - (6)].ValueVal)->getType() != (yyvsp[(6) - (6)].ValueVal)->getType())
GEN_ERROR("select value types should match");
- (yyval.InstVal) = new SelectInst((yyvsp[(2) - (6)].ValueVal), (yyvsp[(4) - (6)].ValueVal), (yyvsp[(6) - (6)].ValueVal));
+ (yyval.InstVal) = SelectInst::Create((yyvsp[(2) - (6)].ValueVal), (yyvsp[(4) - (6)].ValueVal), (yyvsp[(6) - (6)].ValueVal));
CHECK_FOR_ERROR
;}
break;
- case 302:
-#line 2911 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 321:
+#line 3066 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(4) - (4)].TypeVal))->getDescription());
;}
break;
- case 303:
-#line 2918 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 322:
+#line 3073 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!ExtractElementInst::isValidOperands((yyvsp[(2) - (4)].ValueVal), (yyvsp[(4) - (4)].ValueVal)))
GEN_ERROR("Invalid extractelement operands");
;}
break;
- case 304:
-#line 2924 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 323:
+#line 3079 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!InsertElementInst::isValidOperands((yyvsp[(2) - (6)].ValueVal), (yyvsp[(4) - (6)].ValueVal), (yyvsp[(6) - (6)].ValueVal)))
GEN_ERROR("Invalid insertelement operands");
- (yyval.InstVal) = new InsertElementInst((yyvsp[(2) - (6)].ValueVal), (yyvsp[(4) - (6)].ValueVal), (yyvsp[(6) - (6)].ValueVal));
+ (yyval.InstVal) = InsertElementInst::Create((yyvsp[(2) - (6)].ValueVal), (yyvsp[(4) - (6)].ValueVal), (yyvsp[(6) - (6)].ValueVal));
CHECK_FOR_ERROR
;}
break;
- case 305:
-#line 2930 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 324:
+#line 3085 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!ShuffleVectorInst::isValidOperands((yyvsp[(2) - (6)].ValueVal), (yyvsp[(4) - (6)].ValueVal), (yyvsp[(6) - (6)].ValueVal)))
GEN_ERROR("Invalid shufflevector operands");
;}
break;
- case 306:
-#line 2936 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 325:
+#line 3091 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
const Type *Ty = (yyvsp[(2) - (2)].PHIList)->front().first->getType();
if (!Ty->isFirstClassType())
GEN_ERROR("PHI node operands must be of first class type");
- (yyval.InstVal) = new PHINode(Ty);
+ (yyval.InstVal) = PHINode::Create(Ty);
((PHINode*)(yyval.InstVal))->reserveOperandSpace((yyvsp[(2) - (2)].PHIList)->size());
while ((yyvsp[(2) - (2)].PHIList)->begin() != (yyvsp[(2) - (2)].PHIList)->end()) {
if ((yyvsp[(2) - (2)].PHIList)->front().first->getType() != Ty)
;}
break;
- case 307:
-#line 2952 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 326:
+#line 3107 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
// Handle the short syntax
GEN_ERROR("Short call syntax cannot be used with varargs");
ParamTypes.push_back(Ty);
}
+
+ if (!FunctionType::isValidReturnType(*(yyvsp[(3) - (8)].TypeVal)))
+ GEN_ERROR("Invalid result type for LLVM function");
+
Ty = FunctionType::get((yyvsp[(3) - (8)].TypeVal)->get(), ParamTypes, false);
PFTy = PointerType::getUnqual(Ty);
}
}
// Set up the ParamAttrs for the function
- ParamAttrsVector Attrs;
- if ((yyvsp[(8) - (8)].ParamAttrs) != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = 0;
- PAWI.attrs = (yyvsp[(8) - (8)].ParamAttrs);
- Attrs.push_back(PAWI);
- }
+ SmallVector<ParamAttrsWithIndex, 8> Attrs;
+ if ((yyvsp[(8) - (8)].ParamAttrs) != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(0, (yyvsp[(8) - (8)].ParamAttrs)));
// Check the arguments
ValueList Args;
if ((yyvsp[(6) - (8)].ParamList)->empty()) { // Has no arguments?
GEN_ERROR("Parameter " + ArgI->Val->getName()+ " is not of type '" +
(*I)->getDescription() + "'");
Args.push_back(ArgI->Val);
- if (ArgI->Attrs != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = index;
- PAWI.attrs = ArgI->Attrs;
- Attrs.push_back(PAWI);
- }
+ if (ArgI->Attrs != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(index, ArgI->Attrs));
}
if (Ty->isVarArg()) {
if (I == E)
for (; ArgI != ArgE; ++ArgI, ++index) {
Args.push_back(ArgI->Val); // push the remaining varargs
- if (ArgI->Attrs != ParamAttr::None) {
- ParamAttrsWithIndex PAWI;
- PAWI.index = index;
- PAWI.attrs = ArgI->Attrs;
- Attrs.push_back(PAWI);
- }
+ if (ArgI->Attrs != ParamAttr::None)
+ Attrs.push_back(ParamAttrsWithIndex::get(index, ArgI->Attrs));
}
} else if (I != E || ArgI != ArgE)
GEN_ERROR("Invalid number of parameters detected");
}
// Finish off the ParamAttrs and check them
- const ParamAttrsList *PAL = 0;
+ PAListPtr PAL;
if (!Attrs.empty())
- PAL = ParamAttrsList::get(Attrs);
+ PAL = PAListPtr::get(Attrs.begin(), Attrs.end());
// Create the call node
- CallInst *CI = new CallInst(V, Args.begin(), Args.end());
+ CallInst *CI = CallInst::Create(V, Args.begin(), Args.end());
CI->setTailCall((yyvsp[(1) - (8)].BoolVal));
CI->setCallingConv((yyvsp[(2) - (8)].UIntVal));
CI->setParamAttrs(PAL);
;}
break;
- case 308:
-#line 3049 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 327:
+#line 3196 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.InstVal) = (yyvsp[(1) - (1)].InstVal);
CHECK_FOR_ERROR
;}
break;
- case 309:
-#line 3054 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 328:
+#line 3201 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.BoolVal) = true;
CHECK_FOR_ERROR
;}
break;
- case 310:
-#line 3058 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 329:
+#line 3205 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
(yyval.BoolVal) = false;
CHECK_FOR_ERROR
;}
break;
- case 311:
-#line 3065 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 330:
+#line 3212 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (3)].TypeVal))->getDescription());
;}
break;
- case 312:
-#line 3072 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 331:
+#line 3219 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (6)].TypeVal))->getDescription());
+ if ((yyvsp[(4) - (6)].PrimType) != Type::Int32Ty)
+ GEN_ERROR("Malloc array size is not a 32-bit integer!");
Value* tmpVal = getVal((yyvsp[(4) - (6)].PrimType), (yyvsp[(5) - (6)].ValIDVal));
CHECK_FOR_ERROR
(yyval.InstVal) = new MallocInst(*(yyvsp[(2) - (6)].TypeVal), tmpVal, (yyvsp[(6) - (6)].UIntVal));
;}
break;
- case 313:
-#line 3080 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 332:
+#line 3229 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (3)].TypeVal))->getDescription());
;}
break;
- case 314:
-#line 3087 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 333:
+#line 3236 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (6)].TypeVal))->getDescription());
+ if ((yyvsp[(4) - (6)].PrimType) != Type::Int32Ty)
+ GEN_ERROR("Alloca array size is not a 32-bit integer!");
Value* tmpVal = getVal((yyvsp[(4) - (6)].PrimType), (yyvsp[(5) - (6)].ValIDVal));
CHECK_FOR_ERROR
(yyval.InstVal) = new AllocaInst(*(yyvsp[(2) - (6)].TypeVal), tmpVal, (yyvsp[(6) - (6)].UIntVal));
;}
break;
- case 315:
-#line 3095 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 334:
+#line 3246 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!isa<PointerType>((yyvsp[(2) - (2)].ValueVal)->getType()))
GEN_ERROR("Trying to free nonpointer type " +
;}
break;
- case 316:
-#line 3103 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 335:
+#line 3254 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(3) - (5)].TypeVal))->getDescription());
;}
break;
- case 317:
-#line 3117 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 336:
+#line 3268 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(5) - (7)].TypeVal))->getDescription());
;}
break;
- case 318:
-#line 3134 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 337:
+#line 3285 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
- ValID TmpVID = ValID::createLocalName(*(yyvsp[(3) - (5)].StrVal));
- Value *TmpVal = getVal((yyvsp[(2) - (5)].TypeVal)->get(), TmpVID);
- if (!GetResultInst::isValidOperands(TmpVal, (yyvsp[(5) - (5)].ConstVal)))
+ Value *TmpVal = getVal((yyvsp[(2) - (5)].TypeVal)->get(), (yyvsp[(3) - (5)].ValIDVal));
+ if (!GetResultInst::isValidOperands(TmpVal, (yyvsp[(5) - (5)].UInt64Val)))
GEN_ERROR("Invalid getresult operands");
- (yyval.InstVal) = new GetResultInst(TmpVal, (yyvsp[(5) - (5)].ConstVal));
+ (yyval.InstVal) = new GetResultInst(TmpVal, (yyvsp[(5) - (5)].UInt64Val));
+ delete (yyvsp[(2) - (5)].TypeVal);
CHECK_FOR_ERROR
;}
break;
- case 319:
-#line 3142 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+ case 338:
+#line 3293 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
{
if (!UpRefs.empty())
GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (4)].TypeVal))->getDescription());
if (!isa<PointerType>((yyvsp[(2) - (4)].TypeVal)->get()))
GEN_ERROR("getelementptr insn requires pointer operand");
- if (!GetElementPtrInst::getIndexedType(*(yyvsp[(2) - (4)].TypeVal), (yyvsp[(4) - (4)].ValueList)->begin(), (yyvsp[(4) - (4)].ValueList)->end(), true))
+ if (!GetElementPtrInst::getIndexedType(*(yyvsp[(2) - (4)].TypeVal), (yyvsp[(4) - (4)].ValueList)->begin(), (yyvsp[(4) - (4)].ValueList)->end()))
GEN_ERROR("Invalid getelementptr indices for type '" +
(*(yyvsp[(2) - (4)].TypeVal))->getDescription()+ "'");
Value* tmpVal = getVal(*(yyvsp[(2) - (4)].TypeVal), (yyvsp[(3) - (4)].ValIDVal));
CHECK_FOR_ERROR
- (yyval.InstVal) = new GetElementPtrInst(tmpVal, (yyvsp[(4) - (4)].ValueList)->begin(), (yyvsp[(4) - (4)].ValueList)->end());
+ (yyval.InstVal) = GetElementPtrInst::Create(tmpVal, (yyvsp[(4) - (4)].ValueList)->begin(), (yyvsp[(4) - (4)].ValueList)->end());
delete (yyvsp[(2) - (4)].TypeVal);
delete (yyvsp[(4) - (4)].ValueList);
;}
break;
+ case 339:
+#line 3308 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if (!UpRefs.empty())
+ GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (4)].TypeVal))->getDescription());
+ if (!isa<StructType>((yyvsp[(2) - (4)].TypeVal)->get()) && !isa<ArrayType>((yyvsp[(2) - (4)].TypeVal)->get()))
+ GEN_ERROR("extractvalue insn requires an aggregate operand");
+
+ if (!ExtractValueInst::getIndexedType(*(yyvsp[(2) - (4)].TypeVal), (yyvsp[(4) - (4)].ConstantList)->begin(), (yyvsp[(4) - (4)].ConstantList)->end()))
+ GEN_ERROR("Invalid extractvalue indices for type '" +
+ (*(yyvsp[(2) - (4)].TypeVal))->getDescription()+ "'");
+ Value* tmpVal = getVal(*(yyvsp[(2) - (4)].TypeVal), (yyvsp[(3) - (4)].ValIDVal));
+ CHECK_FOR_ERROR
+ (yyval.InstVal) = ExtractValueInst::Create(tmpVal, (yyvsp[(4) - (4)].ConstantList)->begin(), (yyvsp[(4) - (4)].ConstantList)->end());
+ delete (yyvsp[(2) - (4)].TypeVal);
+ delete (yyvsp[(4) - (4)].ConstantList);
+ ;}
+ break;
+
+ case 340:
+#line 3323 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+ {
+ if (!UpRefs.empty())
+ GEN_ERROR("Invalid upreference in type: " + (*(yyvsp[(2) - (7)].TypeVal))->getDescription());
+ if (!isa<StructType>((yyvsp[(2) - (7)].TypeVal)->get()) && !isa<ArrayType>((yyvsp[(2) - (7)].TypeVal)->get()))
+ GEN_ERROR("extractvalue insn requires an aggregate operand");
+
+ if (ExtractValueInst::getIndexedType(*(yyvsp[(2) - (7)].TypeVal), (yyvsp[(7) - (7)].ConstantList)->begin(), (yyvsp[(7) - (7)].ConstantList)->end()) != (yyvsp[(5) - (7)].TypeVal)->get())
+ GEN_ERROR("Invalid insertvalue indices for type '" +
+ (*(yyvsp[(2) - (7)].TypeVal))->getDescription()+ "'");
+ Value* aggVal = getVal(*(yyvsp[(2) - (7)].TypeVal), (yyvsp[(3) - (7)].ValIDVal));
+ Value* tmpVal = getVal(*(yyvsp[(5) - (7)].TypeVal), (yyvsp[(6) - (7)].ValIDVal));
+ CHECK_FOR_ERROR
+ (yyval.InstVal) = InsertValueInst::Create(aggVal, tmpVal, (yyvsp[(7) - (7)].ConstantList)->begin(), (yyvsp[(7) - (7)].ConstantList)->end());
+ delete (yyvsp[(2) - (7)].TypeVal);
+ delete (yyvsp[(5) - (7)].TypeVal);
+ delete (yyvsp[(7) - (7)].ConstantList);
+ ;}
+ break;
+
/* Line 1267 of yacc.c. */
-#line 6374 "llvmAsmParser.tab.c"
+#line 6765 "llvmAsmParser.tab.c"
default: break;
}
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
}
-#line 3159 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 3342 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
// common code from the two 'RunVMAsmParser' functions