Make sure to use the result of the pattern to infer the result type of the
[oota-llvm.git] / utils / TableGen / FileParser.h.cvs
1 typedef union {
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   SubClassRefTy*              SubClassRef;
10   std::vector<SubClassRefTy>* SubClassList;
11   std::vector<std::pair<llvm::Init*, std::string> >* DagValueList;
12 } YYSTYPE;
13 #define INT     257
14 #define BIT     258
15 #define STRING  259
16 #define BITS    260
17 #define LIST    261
18 #define CODE    262
19 #define DAG     263
20 #define CLASS   264
21 #define DEF     265
22 #define FIELD   266
23 #define LET     267
24 #define IN      268
25 #define SHLTOK  269
26 #define SRATOK  270
27 #define SRLTOK  271
28 #define STRCONCATTOK    272
29 #define INTVAL  273
30 #define ID      274
31 #define VARNAME 275
32 #define STRVAL  276
33 #define CODEFRAGMENT    277
34
35
36 extern YYSTYPE Filelval;