2007-01-04 18:46:42 +00:00
|
|
|
typedef union {
|
2006-12-01 20:26:20 +00:00
|
|
|
std::string* String;
|
2007-01-02 05:45:11 +00:00
|
|
|
TypeInfo* Type;
|
2006-12-01 20:26:20 +00:00
|
|
|
ValueInfo Value;
|
|
|
|
ConstInfo Const;
|
2006-12-02 15:16:01 +00:00
|
|
|
ValueList* ValList;
|
2007-01-02 05:45:11 +00:00
|
|
|
TypeList* TypeVec;
|
2006-12-01 20:26:20 +00:00
|
|
|
} YYSTYPE;
|
2007-01-04 18:46:42 +00:00
|
|
|
#define VOID 257
|
|
|
|
#define BOOL 258
|
|
|
|
#define SBYTE 259
|
|
|
|
#define UBYTE 260
|
|
|
|
#define SHORT 261
|
|
|
|
#define USHORT 262
|
|
|
|
#define INT 263
|
|
|
|
#define UINT 264
|
|
|
|
#define LONG 265
|
|
|
|
#define ULONG 266
|
|
|
|
#define FLOAT 267
|
|
|
|
#define DOUBLE 268
|
|
|
|
#define LABEL 269
|
|
|
|
#define OPAQUE 270
|
|
|
|
#define ESINT64VAL 271
|
|
|
|
#define EUINT64VAL 272
|
|
|
|
#define SINTVAL 273
|
|
|
|
#define UINTVAL 274
|
|
|
|
#define FPVAL 275
|
|
|
|
#define NULL_TOK 276
|
|
|
|
#define UNDEF 277
|
|
|
|
#define ZEROINITIALIZER 278
|
|
|
|
#define TRUETOK 279
|
|
|
|
#define FALSETOK 280
|
|
|
|
#define TYPE 281
|
|
|
|
#define VAR_ID 282
|
|
|
|
#define LABELSTR 283
|
|
|
|
#define STRINGCONSTANT 284
|
|
|
|
#define IMPLEMENTATION 285
|
|
|
|
#define BEGINTOK 286
|
|
|
|
#define ENDTOK 287
|
|
|
|
#define DECLARE 288
|
|
|
|
#define GLOBAL 289
|
|
|
|
#define CONSTANT 290
|
|
|
|
#define SECTION 291
|
|
|
|
#define VOLATILE 292
|
|
|
|
#define TO 293
|
|
|
|
#define DOTDOTDOT 294
|
|
|
|
#define CONST 295
|
|
|
|
#define INTERNAL 296
|
|
|
|
#define LINKONCE 297
|
|
|
|
#define WEAK 298
|
|
|
|
#define DLLIMPORT 299
|
|
|
|
#define DLLEXPORT 300
|
|
|
|
#define EXTERN_WEAK 301
|
|
|
|
#define APPENDING 302
|
|
|
|
#define NOT 303
|
|
|
|
#define EXTERNAL 304
|
|
|
|
#define TARGET 305
|
|
|
|
#define TRIPLE 306
|
|
|
|
#define ENDIAN 307
|
|
|
|
#define POINTERSIZE 308
|
|
|
|
#define LITTLE 309
|
|
|
|
#define BIG 310
|
|
|
|
#define ALIGN 311
|
|
|
|
#define UNINITIALIZED 312
|
|
|
|
#define DEPLIBS 313
|
|
|
|
#define CALL 314
|
|
|
|
#define TAIL 315
|
|
|
|
#define ASM_TOK 316
|
|
|
|
#define MODULE 317
|
|
|
|
#define SIDEEFFECT 318
|
|
|
|
#define CC_TOK 319
|
|
|
|
#define CCC_TOK 320
|
|
|
|
#define CSRETCC_TOK 321
|
|
|
|
#define FASTCC_TOK 322
|
|
|
|
#define COLDCC_TOK 323
|
|
|
|
#define X86_STDCALLCC_TOK 324
|
|
|
|
#define X86_FASTCALLCC_TOK 325
|
|
|
|
#define DATALAYOUT 326
|
|
|
|
#define RET 327
|
|
|
|
#define BR 328
|
|
|
|
#define SWITCH 329
|
|
|
|
#define INVOKE 330
|
|
|
|
#define EXCEPT 331
|
|
|
|
#define UNWIND 332
|
|
|
|
#define UNREACHABLE 333
|
|
|
|
#define ADD 334
|
|
|
|
#define SUB 335
|
|
|
|
#define MUL 336
|
|
|
|
#define DIV 337
|
|
|
|
#define UDIV 338
|
|
|
|
#define SDIV 339
|
|
|
|
#define FDIV 340
|
|
|
|
#define REM 341
|
|
|
|
#define UREM 342
|
|
|
|
#define SREM 343
|
|
|
|
#define FREM 344
|
|
|
|
#define AND 345
|
|
|
|
#define OR 346
|
|
|
|
#define XOR 347
|
|
|
|
#define SETLE 348
|
|
|
|
#define SETGE 349
|
|
|
|
#define SETLT 350
|
|
|
|
#define SETGT 351
|
|
|
|
#define SETEQ 352
|
|
|
|
#define SETNE 353
|
|
|
|
#define ICMP 354
|
|
|
|
#define FCMP 355
|
|
|
|
#define EQ 356
|
|
|
|
#define NE 357
|
|
|
|
#define SLT 358
|
|
|
|
#define SGT 359
|
|
|
|
#define SLE 360
|
|
|
|
#define SGE 361
|
|
|
|
#define OEQ 362
|
|
|
|
#define ONE 363
|
|
|
|
#define OLT 364
|
|
|
|
#define OGT 365
|
|
|
|
#define OLE 366
|
|
|
|
#define OGE 367
|
|
|
|
#define ORD 368
|
|
|
|
#define UNO 369
|
|
|
|
#define UEQ 370
|
|
|
|
#define UNE 371
|
|
|
|
#define ULT 372
|
|
|
|
#define UGT 373
|
|
|
|
#define ULE 374
|
|
|
|
#define UGE 375
|
|
|
|
#define MALLOC 376
|
|
|
|
#define ALLOCA 377
|
|
|
|
#define FREE 378
|
|
|
|
#define LOAD 379
|
|
|
|
#define STORE 380
|
|
|
|
#define GETELEMENTPTR 381
|
|
|
|
#define PHI_TOK 382
|
|
|
|
#define SELECT 383
|
|
|
|
#define SHL 384
|
|
|
|
#define SHR 385
|
|
|
|
#define ASHR 386
|
|
|
|
#define LSHR 387
|
|
|
|
#define VAARG 388
|
|
|
|
#define EXTRACTELEMENT 389
|
|
|
|
#define INSERTELEMENT 390
|
|
|
|
#define SHUFFLEVECTOR 391
|
|
|
|
#define CAST 392
|
|
|
|
#define TRUNC 393
|
|
|
|
#define ZEXT 394
|
|
|
|
#define SEXT 395
|
|
|
|
#define FPTRUNC 396
|
|
|
|
#define FPEXT 397
|
|
|
|
#define FPTOUI 398
|
|
|
|
#define FPTOSI 399
|
|
|
|
#define UITOFP 400
|
|
|
|
#define SITOFP 401
|
|
|
|
#define PTRTOINT 402
|
|
|
|
#define INTTOPTR 403
|
|
|
|
#define BITCAST 404
|
2006-11-30 06:36:44 +00:00
|
|
|
|
|
|
|
|
2007-01-04 18:46:42 +00:00
|
|
|
extern YYSTYPE Upgradelval;
|