2007-09-17 19:40:48 +02:00
|
|
|
typedef union {
|
2005-08-27 20:50:39 +02:00
|
|
|
std::string* StrVal;
|
|
|
|
int IntVal;
|
|
|
|
llvm::RecTy* Ty;
|
|
|
|
llvm::Init* Initializer;
|
|
|
|
std::vector<llvm::Init*>* FieldList;
|
|
|
|
std::vector<unsigned>* BitList;
|
|
|
|
llvm::Record* Rec;
|
2006-09-01 23:14:42 +02:00
|
|
|
std::vector<llvm::Record*>* RecList;
|
2005-08-27 20:50:39 +02:00
|
|
|
SubClassRefTy* SubClassRef;
|
|
|
|
std::vector<SubClassRefTy>* SubClassList;
|
|
|
|
std::vector<std::pair<llvm::Init*, std::string> >* DagValueList;
|
2007-09-17 19:40:48 +02:00
|
|
|
} YYSTYPE;
|
|
|
|
#define INT 257
|
|
|
|
#define BIT 258
|
|
|
|
#define STRING 259
|
|
|
|
#define BITS 260
|
|
|
|
#define LIST 261
|
|
|
|
#define CODE 262
|
|
|
|
#define DAG 263
|
|
|
|
#define CLASS 264
|
|
|
|
#define DEF 265
|
|
|
|
#define MULTICLASS 266
|
|
|
|
#define DEFM 267
|
|
|
|
#define FIELD 268
|
|
|
|
#define LET 269
|
|
|
|
#define IN 270
|
|
|
|
#define CONCATTOK 271
|
|
|
|
#define SHLTOK 272
|
|
|
|
#define SRATOK 273
|
|
|
|
#define SRLTOK 274
|
|
|
|
#define STRCONCATTOK 275
|
|
|
|
#define INTVAL 276
|
|
|
|
#define ID 277
|
|
|
|
#define VARNAME 278
|
|
|
|
#define STRVAL 279
|
|
|
|
#define CODEFRAGMENT 280
|
2006-01-17 18:01:34 +01:00
|
|
|
|
2006-12-07 23:21:48 +01:00
|
|
|
|
2007-09-17 19:40:48 +02:00
|
|
|
extern YYSTYPE Filelval;
|