Chris Lattner | 8954544 | 2007-09-17 17:40:48 +0000 | [diff] [blame^] | 1 | typedef union { |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | std::string* StrVal; |
| 3 | int IntVal; |
| 4 | llvm::RecTy* Ty; |
| 5 | llvm::Init* Initializer; |
| 6 | std::vector<llvm::Init*>* FieldList; |
| 7 | std::vector<unsigned>* BitList; |
| 8 | llvm::Record* Rec; |
| 9 | std::vector<llvm::Record*>* RecList; |
| 10 | SubClassRefTy* SubClassRef; |
| 11 | std::vector<SubClassRefTy>* SubClassList; |
| 12 | std::vector<std::pair<llvm::Init*, std::string> >* DagValueList; |
Chris Lattner | 8954544 | 2007-09-17 17:40:48 +0000 | [diff] [blame^] | 13 | } YYSTYPE; |
| 14 | #define INT 257 |
| 15 | #define BIT 258 |
| 16 | #define STRING 259 |
| 17 | #define BITS 260 |
| 18 | #define LIST 261 |
| 19 | #define CODE 262 |
| 20 | #define DAG 263 |
| 21 | #define CLASS 264 |
| 22 | #define DEF 265 |
| 23 | #define MULTICLASS 266 |
| 24 | #define DEFM 267 |
| 25 | #define FIELD 268 |
| 26 | #define LET 269 |
| 27 | #define IN 270 |
| 28 | #define CONCATTOK 271 |
| 29 | #define SHLTOK 272 |
| 30 | #define SRATOK 273 |
| 31 | #define SRLTOK 274 |
| 32 | #define STRCONCATTOK 275 |
| 33 | #define INTVAL 276 |
| 34 | #define ID 277 |
| 35 | #define VARNAME 278 |
| 36 | #define STRVAL 279 |
| 37 | #define CODEFRAGMENT 280 |
| 38 | |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 39 | |
| 40 | extern YYSTYPE Filelval; |