Go to the source code of this file.
Classes | |
| struct | YYLTYPE |
| union | yyalloc |
Typedefs | |
| typedef int | YYSTYPE |
| typedef YYTYPE_UINT8 | yytype_uint8 |
| typedef unsigned char | yytype_uint8 |
| typedef YYTYPE_INT8 | yytype_int8 |
| typedef signed char | yytype_int8 |
| typedef short int | yytype_int8 |
| typedef YYTYPE_UINT16 | yytype_uint16 |
| typedef unsigned short int | yytype_uint16 |
| typedef YYTYPE_INT16 | yytype_int16 |
| typedef short int | yytype_int16 |
Enumerations | |
| enum | yytokentype { UNSIGNED_INTEGER = 258, NEGATIVE_INTEGER = 259, REAL = 260, STRING = 261, UNKNOWN_TOKEN = 262, COMMA = 263, TERM = 264, CODE_START = 265, LPAREN = 266, RPAREN = 267, WS = 268, AT = 269, REG_LOCAL = 270, REG_STATUS = 271, REG_LITERAL = 272, REG_INPUT = 273, REG_OUTPUT = 274, VALUES = 275, TYPE_FIXED = 276, TYPE_VARIABLE = 277, OPCODE = 278, NAME = 279, UNSIGNED_INTEGER = 258, NEGATIVE_INTEGER = 259, REAL = 260, STRING = 261, UNKNOWN_TOKEN = 262, COMMA = 263, TERM = 264, CODE_START = 265, LPAREN = 266, RPAREN = 267, WS = 268, AT = 269, REG_LOCAL = 270, REG_STATUS = 271, REG_LITERAL = 272, REG_INPUT = 273, REG_OUTPUT = 274, VALUES = 275, TYPE_FIXED = 276, TYPE_VARIABLE = 277, OPCODE = 278, NAME = 279, UNSIGNED_INTEGER = 258, NEGATIVE_INTEGER = 259, REAL = 260, STRING = 261, UNKNOWN_TOKEN = 262, COMMA = 263, TERM = 264, CODE_START = 265, LPAREN = 266, RPAREN = 267, WS = 268, AT = 269, REG_LOCAL = 270, REG_STATUS = 271, REG_LITERAL = 272, REG_INPUT = 273, REG_OUTPUT = 274, VALUES = 275, TYPE_FIXED = 276, TYPE_VARIABLE = 277, OPCODE = 278, NAME = 279, UNSIGNED_INTEGER = 258, NEGATIVE_INTEGER = 259, REAL = 260, STRING = 261, UNKNOWN_TOKEN = 262, COMMA = 263, TERM = 264, CODE_START = 265, LPAREN = 266, RPAREN = 267, WS = 268, AT = 269, REG_LOCAL = 270, REG_STATUS = 271, REG_LITERAL = 272, REG_INPUT = 273, REG_OUTPUT = 274, VALUES = 275, TYPE_FIXED = 276, TYPE_VARIABLE = 277, OPCODE = 278, NAME = 279, UNSIGNED_INTEGER = 258, NEGATIVE_INTEGER = 259, REAL = 260, STRING = 261, UNKNOWN_TOKEN = 262, COMMA = 263, TERM = 264, CODE_START = 265, LPAREN = 266, RPAREN = 267, WS = 268, AT = 269, REG_LOCAL = 270, REG_STATUS = 271, REG_LITERAL = 272, REG_INPUT = 273, REG_OUTPUT = 274, VALUES = 275, TYPE_FIXED = 276, TYPE_VARIABLE = 277, OPCODE = 278, NAME = 279, UNSIGNED_INTEGER = 258, NEGATIVE_INTEGER = 259, REAL = 260, STRING = 261, UNKNOWN_TOKEN = 262, COMMA = 263, TERM = 264, CODE_START = 265, LPAREN = 266, RPAREN = 267, WS = 268, AT = 269, REG_LOCAL = 270, REG_STATUS = 271, REG_LITERAL = 272, REG_INPUT = 273, REG_OUTPUT = 274, VALUES = 275, TYPE_FIXED = 276, TYPE_VARIABLE = 277, OPCODE = 278, NAME = 279 } |
Functions | |
| FENNEL_BEGIN_CPPFILE ("$Id: //open/dev/fennel/disruptivetech/calc/CalcGrammar.ypp#4 $") | |
| int | CalcYYlex (YYSTYPE *, YYLTYPE *, void *) |
| void | CalcYYerror (const char *) |
| static int | YYID (int i) static int YYID(i) int i |
| void | free (void *) |
| static void | yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep, YYLTYPE const *const yylocationp) static void yy_symbol_value_print(yyoutput |
| static YYSIZE_T | yystrlen (const char *yystr) static YYSIZE_T yystrlen(yystr) const char *yystr |
| int | yyparse () |
| int | yyparse (void *YYPARSE_PARAM) int yyparse(YYPARSE_PARAM) void *YYPARSE_PARAM |
| FENNEL_END_CPPFILE ("$Id: //open/dev/fennel/disruptivetech/calc/CalcGrammar.ypp#4 $") | |
Variables | |
| static const yytype_uint8 | yytranslate [] |
| static const yytype_uint8 | yyprhs [] |
| static const yytype_int8 | yyrhs [] |
| static const yytype_uint8 | yyrline [] |
| static const char *const | yytname [] |
| static const yytype_uint16 | yytoknum [] |
| static const yytype_uint8 | yyr1 [] |
| static const yytype_uint8 | yyr2 [] |
| static const yytype_uint8 | yydefact [] |
| static const yytype_int8 | yydefgoto [] |
| static const yytype_int8 | yypact [] |
| static const yytype_int8 | yypgoto [] |
| static const yytype_int8 | yytable [] |
| static const yytype_int8 | yycheck [] |
| static const yytype_uint8 | yystos [] |
| static void | yytype |
| static void | yyvaluep |
| static void yylocationp FILE * | yyoutput |
| int | yytype |
| YYSTYPE const *const | yyvaluep |
| YYLTYPE const *const | yylocationp |
| int | yytype |
| YYSTYPE const *const | yyvaluep |
| YYLTYPE const *const | yylocationp |
| yytype_int16 * | top |
| YYLTYPE * | yylsp |
| int | yyrule |
| const char * | yysrc |
| int | yytype |
| YYSTYPE * | yyvaluep |
| YYLTYPE * | yylocationp |
| typedef int YYSTYPE |
Definition at line 178 of file CalcGrammar.cpp.
| typedef short int yytype_int16 |
Definition at line 232 of file CalcGrammar.cpp.
| typedef YYTYPE_INT16 yytype_int16 |
Definition at line 230 of file CalcGrammar.cpp.
| typedef short int yytype_int8 |
Definition at line 220 of file CalcGrammar.cpp.
| typedef signed char yytype_int8 |
Definition at line 218 of file CalcGrammar.cpp.
| typedef YYTYPE_INT8 yytype_int8 |
Definition at line 215 of file CalcGrammar.cpp.
| typedef unsigned short int yytype_uint16 |
Definition at line 226 of file CalcGrammar.cpp.
| typedef YYTYPE_UINT16 yytype_uint16 |
Definition at line 224 of file CalcGrammar.cpp.
| typedef unsigned char yytype_uint8 |
Definition at line 211 of file CalcGrammar.cpp.
| typedef YYTYPE_UINT8 yytype_uint8 |
Definition at line 209 of file CalcGrammar.cpp.
| enum yytokentype |
Definition at line 76 of file CalcGrammar.cpp.
00076 { 00077 UNSIGNED_INTEGER = 258, 00078 NEGATIVE_INTEGER = 259, 00079 REAL = 260, 00080 STRING = 261, 00081 UNKNOWN_TOKEN = 262, 00082 COMMA = 263, 00083 TERM = 264, 00084 CODE_START = 265, 00085 LPAREN = 266, 00086 RPAREN = 267, 00087 WS = 268, 00088 AT = 269, 00089 REG_LOCAL = 270, 00090 REG_STATUS = 271, 00091 REG_LITERAL = 272, 00092 REG_INPUT = 273, 00093 REG_OUTPUT = 274, 00094 VALUES = 275, 00095 TYPE_FIXED = 276, 00096 TYPE_VARIABLE = 277, 00097 OPCODE = 278, 00098 NAME = 279 00099 };
| void CalcYYerror | ( | const char * | ) |
| FENNEL_BEGIN_CPPFILE | ( | "$Id: //open/dev/fennel/disruptivetech/calc/CalcGrammar.ypp#4 $" | ) |
| FENNEL_END_CPPFILE | ( | "$Id: //open/dev/fennel/disruptivetech/calc/CalcGrammar.ypp#4 $" | ) |
| void free | ( | void * | ) |
| static void yy_symbol_value_print | ( | FILE * | yyoutput, | |
| int | yytype, | |||
| YYSTYPE const *const | yyvaluep, | |||
| YYLTYPE const *const | yylocationp | |||
| ) | [static] |
| static int YYID | ( | int | i | ) | [static] |
| int yyparse | ( | void * | YYPARSE_PARAM | ) |
| int yyparse | ( | ) |
| static YYSIZE_T yystrlen | ( | const char * | yystr | ) | const [static] |
Definition at line 859 of file CalcGrammar.cpp.
const yytype_int8 yycheck[] [static] |
Initial value:
{
71, 72, 0, 74, 15, 16, 17, 18, 19, 21,
22, 8, 20, 9, 85, 12, 10, 88, 14, 15,
16, 17, 18, 19, 3, 4, 5, 6, 24, 15,
16, 17, 18, 19, 47, 48, 49, 50, 51, 15,
16, 9, 18, 19, 8, 9, 8, 9, 8, 9,
8, 9, 8, 23, 3, 8, 3, 11, 8, 62,
34, 9, 19, 9, 9, 9, 9, 9, 9, 9,
9, 30, -1, -1, -1, -1, -1, 32, -1, -1,
32, 32
}
Definition at line 639 of file CalcGrammar.cpp.
const yytype_uint8 yydefact[] [static] |
Initial value:
{
2, 0, 0, 1, 24, 25, 26, 27, 3, 10,
6, 8, 0, 13, 7, 5, 11, 0, 0, 0,
0, 28, 0, 30, 0, 0, 0, 23, 12, 0,
0, 9, 0, 4, 32, 33, 14, 19, 20, 21,
22, 15, 17, 29, 31, 41, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 44, 49, 46, 51,
45, 34, 23, 0, 42, 43, 58, 56, 57, 55,
54, 0, 0, 38, 0, 37, 18, 16, 52, 0,
47, 50, 48, 0, 0, 0, 0, 39, 0, 36,
53, 40, 0, 35
}
Definition at line 572 of file CalcGrammar.cpp.
const yytype_int8 yydefgoto[] [static] |
Initial value:
{
-1, 1, 2, 12, 8, 9, 10, 17, 15, 20,
16, 19, 28, 63, 41, 42, 11, 23, 24, 33,
34, 35, 65, 53, 54, 55, 79, 80, 57, 81,
59, 82
}
Definition at line 587 of file CalcGrammar.cpp.
Definition at line 1169 of file CalcGrammar.cpp.
| YYLTYPE const* const yylocationp |
Definition at line 833 of file CalcGrammar.cpp.
| YYLTYPE const* const yylocationp |
Definition at line 799 of file CalcGrammar.cpp.
Definition at line 887 of file CalcGrammar.cpp.
| void yylocationp FILE* yyoutput |
Definition at line 795 of file CalcGrammar.cpp.
const yytype_int8 yypact[] [static] |
Initial value:
{
-72, 2, 24, -72, -72, -72, -72, -72, -72, -11,
-72, -72, 6, -72, -72, -72, -72, -12, 32, -12,
-8, -72, 44, -72, 36, 30, 38, 21, -72, 51,
-12, -72, 4, -72, 30, -72, -72, -72, -72, -72,
-72, 47, -72, -72, -72, -72, 53, 53, 53, 53,
53, 53, 46, 40, 50, 52, 54, -72, 55, -72,
56, -72, 21, 57, -72, -72, -72, -72, -72, -72,
-72, 14, 14, -72, 14, -72, -72, -72, -72, 3,
-72, -72, -72, 58, 42, 14, 59, -72, 14, -72,
-72, -72, 60, -72
}
Definition at line 598 of file CalcGrammar.cpp.
const yytype_int8 yypgoto[] [static] |
Initial value:
{
-72, -72, -72, -72, -72, -72, 61, -72, -72, -72,
-72, -72, -72, -72, -72, -3, -72, 41, 43, -72,
-72, 26, -13, -72, -72, -71, -72, 45, -72, 48,
-72, 49
}
Definition at line 613 of file CalcGrammar.cpp.
const yytype_uint8 yyprhs[] [static] |
Initial value:
{
0, 0, 3, 4, 5, 12, 15, 17, 20, 21,
26, 27, 28, 32, 33, 38, 39, 44, 46, 50,
52, 54, 56, 58, 59, 61, 63, 65, 67, 69,
73, 75, 79, 81, 83, 86, 94, 100, 104, 108,
114, 121, 124, 126, 129, 131, 133, 135, 137, 139,
141, 143, 145, 147, 151, 154, 157, 160, 163
}
Definition at line 473 of file CalcGrammar.cpp.
const yytype_uint8 yyr1[] [static] |
Initial value:
{
0, 25, 27, 28, 26, 29, 30, 30, 32, 31,
33, 34, 33, 36, 35, 38, 37, 39, 39, 40,
40, 40, 40, 40, 41, 41, 41, 41, 42, 42,
43, 43, 44, 45, 45, 46, 46, 46, 46, 46,
46, 46, 47, 48, 49, 49, 49, 50, 50, 50,
50, 50, 51, 51, 52, 53, 54, 55, 56
}
Definition at line 548 of file CalcGrammar.cpp.
const yytype_uint8 yyr2[] [static] |
Initial value:
{
0, 2, 0, 0, 6, 2, 1, 2, 0, 4,
0, 0, 3, 0, 4, 0, 4, 1, 3, 1,
1, 1, 1, 0, 1, 1, 1, 1, 1, 3,
1, 3, 1, 1, 2, 7, 5, 3, 3, 5,
6, 2, 1, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 3, 2, 2, 2, 2, 2
}
Definition at line 559 of file CalcGrammar.cpp.
const yytype_int8 yyrhs[] [static] |
Initial value:
{
26, 0, -1, -1, -1, 27, 29, 28, 10, 9,
44, -1, 30, 33, -1, 31, -1, 30, 31, -1,
-1, 41, 32, 43, 9, -1, -1, -1, 35, 34,
37, -1, -1, 17, 36, 43, 9, -1, -1, 20,
39, 38, 9, -1, 40, -1, 39, 8, 40, -1,
3, -1, 4, -1, 5, -1, 6, -1, -1, 15,
-1, 16, -1, 18, -1, 19, -1, 21, -1, 22,
8, 3, -1, 42, -1, 43, 8, 42, -1, 45,
-1, 46, -1, 45, 46, -1, 23, 49, 8, 50,
8, 50, 9, -1, 23, 49, 8, 50, 9, -1,
23, 50, 9, -1, 23, 48, 9, -1, 23, 48,
8, 50, 9, -1, 23, 24, 11, 51, 12, 9,
-1, 23, 9, -1, 3, -1, 14, 47, -1, 52,
-1, 56, -1, 54, -1, 52, -1, 56, -1, 53,
-1, 54, -1, 55, -1, 50, -1, 51, 8, 50,
-1, 19, 47, -1, 18, 47, -1, 16, 47, -1,
17, 47, -1, 15, 47, -1
}
Definition at line 484 of file CalcGrammar.cpp.
const yytype_uint8 yyrline[] [static] |
Initial value:
{
0, 106, 106, 108, 106, 113, 116, 116, 119, 119,
123, 124, 124, 127, 127, 131, 131, 134, 134, 137,
138, 139, 140, 141, 144, 144, 144, 144, 147, 148,
152, 153, 156, 159, 160, 164, 169, 174, 179, 184,
189, 194, 200, 203, 206, 206, 206, 209, 209, 209,
209, 209, 212, 213, 216, 217, 218, 219, 220
}
Definition at line 506 of file CalcGrammar.cpp.
| int yyrule |
Definition at line 889 of file CalcGrammar.cpp.
| const char* yysrc |
Definition at line 981 of file CalcGrammar.cpp.
const yytype_uint8 yystos[] [static] |
Initial value:
{
0, 26, 27, 0, 15, 16, 18, 19, 29, 30,
31, 41, 28, 17, 31, 33, 35, 32, 10, 36,
34, 21, 22, 42, 43, 9, 43, 20, 37, 8,
8, 9, 23, 44, 45, 46, 9, 3, 4, 5,
6, 39, 40, 3, 42, 9, 14, 15, 16, 17,
18, 19, 24, 48, 49, 50, 52, 53, 54, 55,
56, 46, 8, 38, 3, 47, 47, 47, 47, 47,
47, 11, 8, 9, 8, 9, 40, 9, 50, 51,
52, 54, 56, 50, 50, 8, 12, 9, 8, 9,
50, 9, 50, 9
}
Definition at line 654 of file CalcGrammar.cpp.
const yytype_int8 yytable[] [static] |
Initial value:
{
78, 83, 3, 84, 4, 5, 13, 6, 7, 21,
22, 85, 27, 45, 90, 86, 18, 92, 46, 47,
48, 49, 50, 51, 37, 38, 39, 40, 52, 47,
48, 49, 50, 51, 66, 67, 68, 69, 70, 4,
5, 25, 6, 7, 30, 31, 30, 36, 72, 73,
88, 89, 29, 32, 43, 62, 64, 71, 74, 76,
61, 75, 26, -47, -50, -48, 77, 87, 91, 93,
14, 44, 0, 0, 0, 0, 0, 56, 0, 0,
58, 60
}
Definition at line 626 of file CalcGrammar.cpp.
const char* const yytname[] [static] |
Initial value:
{
"$end", "error", "$undefined", "UNSIGNED_INTEGER", "NEGATIVE_INTEGER",
"REAL", "STRING", "UNKNOWN_TOKEN", "COMMA", "TERM", "CODE_START",
"LPAREN", "RPAREN", "WS", "AT", "REG_LOCAL", "REG_STATUS", "REG_LITERAL",
"REG_INPUT", "REG_OUTPUT", "VALUES", "TYPE_FIXED", "TYPE_VARIABLE",
"OPCODE", "NAME", "$accept", "program", "@1", "@2", "preamble",
"register_sets", "register_set", "@3", "literal_set_values", "@4",
"literal_set", "@5", "literal_values", "@6", "literal_defs",
"literal_def", "set_name", "type_size", "type_size_list", "program_text",
"instructions", "instruction", "index", "location", "result", "operand",
"operand_list", "output_reg", "input_reg", "status_reg", "literal_reg",
"local_reg", 0
}
Definition at line 520 of file CalcGrammar.cpp.
const yytype_uint16 yytoknum[] [static] |
Initial value:
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279
}
Definition at line 539 of file CalcGrammar.cpp.
const yytype_uint8 yytranslate[] [static] |
Definition at line 438 of file CalcGrammar.cpp.
| int yytype |
Definition at line 1166 of file CalcGrammar.cpp.
| int yytype |
Definition at line 830 of file CalcGrammar.cpp.
| int yytype |
Definition at line 797 of file CalcGrammar.cpp.
| void yytype |
Definition at line 795 of file CalcGrammar.cpp.
Definition at line 1168 of file CalcGrammar.cpp.
Definition at line 832 of file CalcGrammar.cpp.
Definition at line 798 of file CalcGrammar.cpp.
| void yyvaluep |
Definition at line 795 of file CalcGrammar.cpp.
1.5.1