2006-03-30 22:51:12 +00:00
|
|
|
typedef union {
|
2005-08-27 18:50:39 +00: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 21:14:42 +00:00
|
|
|
std::vector<llvm::Record*>* RecList;
|
2005-08-27 18:50:39 +00:00
|
|
|
SubClassRefTy* SubClassRef;
|
|
|
|
std::vector<SubClassRefTy>* SubClassList;
|
|
|
|
std::vector<std::pair<llvm::Init*, std::string> >* DagValueList;
|
|
|
|
} YYSTYPE;
|
2006-03-30 22:51:12 +00:00
|
|
|
#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
|
2006-09-01 21:14:42 +00:00
|
|
|
#define MULTICLASS 266
|
|
|
|
#define DEFM 267
|
|
|
|
#define FIELD 268
|
|
|
|
#define LET 269
|
|
|
|
#define IN 270
|
|
|
|
#define SHLTOK 271
|
|
|
|
#define SRATOK 272
|
|
|
|
#define SRLTOK 273
|
|
|
|
#define STRCONCATTOK 274
|
|
|
|
#define INTVAL 275
|
|
|
|
#define ID 276
|
|
|
|
#define VARNAME 277
|
|
|
|
#define STRVAL 278
|
|
|
|
#define CODEFRAGMENT 279
|
2006-01-17 17:01:34 +00:00
|
|
|
|
|
|
|
|
2006-03-30 22:51:12 +00:00
|
|
|
extern YYSTYPE Filelval;
|