blob: d08007ac7fe458daa5afc5adb4db9a305cc7e08d [file] [log] [blame]
Jim Laskey98ba5882006-12-06 10:57:33 +00001typedef union {
Reid Spencere77e35e2006-12-01 20:26:20 +00002 std::string* String;
3 TypeInfo Type;
4 ValueInfo Value;
5 ConstInfo Const;
Reid Spencerf8483652006-12-02 15:16:01 +00006 ValueList* ValList;
Reid Spencere77e35e2006-12-01 20:26:20 +00007} YYSTYPE;
Jim Laskey98ba5882006-12-06 10:57:33 +00008#define VOID 257
9#define BOOL 258
10#define SBYTE 259
11#define UBYTE 260
12#define SHORT 261
13#define USHORT 262
14#define INT 263
15#define UINT 264
16#define LONG 265
17#define ULONG 266
18#define FLOAT 267
19#define DOUBLE 268
20#define LABEL 269
21#define OPAQUE 270
22#define ESINT64VAL 271
23#define EUINT64VAL 272
24#define SINTVAL 273
25#define UINTVAL 274
26#define FPVAL 275
27#define NULL_TOK 276
28#define UNDEF 277
29#define ZEROINITIALIZER 278
30#define TRUETOK 279
31#define FALSETOK 280
32#define TYPE 281
33#define VAR_ID 282
34#define LABELSTR 283
35#define STRINGCONSTANT 284
36#define IMPLEMENTATION 285
37#define BEGINTOK 286
38#define ENDTOK 287
39#define DECLARE 288
40#define GLOBAL 289
41#define CONSTANT 290
42#define SECTION 291
43#define VOLATILE 292
44#define TO 293
45#define DOTDOTDOT 294
46#define CONST 295
47#define INTERNAL 296
48#define LINKONCE 297
49#define WEAK 298
50#define DLLIMPORT 299
51#define DLLEXPORT 300
52#define EXTERN_WEAK 301
53#define APPENDING 302
54#define NOT 303
55#define EXTERNAL 304
56#define TARGET 305
57#define TRIPLE 306
58#define ENDIAN 307
59#define POINTERSIZE 308
60#define LITTLE 309
61#define BIG 310
62#define ALIGN 311
63#define UNINITIALIZED 312
64#define DEPLIBS 313
65#define CALL 314
66#define TAIL 315
67#define ASM_TOK 316
68#define MODULE 317
69#define SIDEEFFECT 318
70#define CC_TOK 319
71#define CCC_TOK 320
72#define CSRETCC_TOK 321
73#define FASTCC_TOK 322
74#define COLDCC_TOK 323
75#define X86_STDCALLCC_TOK 324
76#define X86_FASTCALLCC_TOK 325
77#define DATALAYOUT 326
78#define RET 327
79#define BR 328
80#define SWITCH 329
81#define INVOKE 330
82#define EXCEPT 331
83#define UNWIND 332
84#define UNREACHABLE 333
85#define ADD 334
86#define SUB 335
87#define MUL 336
88#define DIV 337
89#define UDIV 338
90#define SDIV 339
91#define FDIV 340
92#define REM 341
93#define UREM 342
94#define SREM 343
95#define FREM 344
96#define AND 345
97#define OR 346
98#define XOR 347
99#define SETLE 348
100#define SETGE 349
101#define SETLT 350
102#define SETGT 351
103#define SETEQ 352
104#define SETNE 353
105#define ICMP 354
106#define FCMP 355
107#define EQ 356
108#define NE 357
109#define SLT 358
110#define SGT 359
111#define SLE 360
112#define SGE 361
113#define OEQ 362
114#define ONE 363
115#define OLT 364
116#define OGT 365
117#define OLE 366
118#define OGE 367
119#define ORD 368
120#define UNO 369
121#define UEQ 370
122#define UNE 371
123#define ULT 372
124#define UGT 373
125#define ULE 374
126#define UGE 375
127#define MALLOC 376
128#define ALLOCA 377
129#define FREE 378
130#define LOAD 379
131#define STORE 380
132#define GETELEMENTPTR 381
133#define PHI_TOK 382
134#define SELECT 383
135#define SHL 384
136#define SHR 385
137#define ASHR 386
138#define LSHR 387
139#define VAARG 388
140#define EXTRACTELEMENT 389
141#define INSERTELEMENT 390
142#define SHUFFLEVECTOR 391
143#define CAST 392
144#define TRUNC 393
145#define ZEXT 394
146#define SEXT 395
147#define FPTRUNC 396
148#define FPEXT 397
149#define FPTOUI 398
150#define FPTOSI 399
151#define UITOFP 400
152#define SITOFP 401
153#define PTRTOINT 402
154#define INTTOPTR 403
155#define BITCAST 404
156
Reid Spencere7c3c602006-11-30 06:36:44 +0000157
158extern YYSTYPE Upgradelval;