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