aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-04-29 18:38:24 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-04-29 18:38:24 +0000
commitf52e608459011b6f0ebc6eda29e9ba5cb632682e (patch)
treedf064fe82dbd8c7135392951304c4ee32e4fee98 /lib/AsmParser/llvmAsmParser.cpp.cvs
parent6f9896fcc81a1128b5f436d1763cc6213745adf1 (diff)
Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs5087
1 files changed, 2733 insertions, 2354 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 7a2cddc6d0..41bf3b2900 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -1,7 +1,9 @@
-/* A Bison parser, made from /usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y, by GNU bison 1.75. */
+/* A Bison parser, made by GNU Bison 2.3. */
-/* Skeleton parser for Yacc-like parsing with Bison,
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Skeleton implementation for Bison's Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -15,16 +17,24 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
+/* As a special exception, you may create a larger work that contains
+ part or all of the Bison parser skeleton and distribute that work
+ under terms of your choice, so long as that work isn't itself a
+ parser generator using the skeleton or a modified version thereof
+ as a parser skeleton. Alternatively, if you modify or redistribute
+ the parser skeleton itself, you may (at your option) remove this
+ special exception, which will cause the skeleton and the resulting
+ Bison output files to be licensed under the GNU General Public
+ License without this special exception.
-/* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
-/* Written by Richard Stallman by simplifying the original so called
- ``semantic'' parser. */
+/* C LALR(1) parser skeleton written by Richard Stallman, by
+ simplifying the original so-called "semantic" parser. */
/* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local
@@ -34,16 +44,21 @@
USER NAME SPACE" below. */
/* Identify Bison output. */
-#define YYBISON 1
+#define YYBISON 1
+
+/* Bison version. */
+#define YYBISON_VERSION "2.3"
+
+/* Skeleton name. */
+#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
-#define YYPURE 0
+#define YYPURE 0
/* Using locations. */
#define YYLSP_NEEDED 0
-/* If NAME_PREFIX is specified substitute the variables and functions
- names. */
+/* Substitute the variable and function names. */
#define yyparse llvmAsmparse
#define yylex llvmAsmlex
#define yyerror llvmAsmerror
@@ -191,9 +206,11 @@
SRET = 387,
NOUNWIND = 388,
DEFAULT = 389,
- HIDDEN = 390
+ HIDDEN = 390,
+ PROTECTED = 391
};
#endif
+/* Tokens. */
#define ESINT64VAL 258
#define EUINT64VAL 259
#define ESAPINTVAL 260
@@ -327,12 +344,13 @@
#define NOUNWIND 388
#define DEFAULT 389
#define HIDDEN 390
+#define PROTECTED 391
/* Copy the first part of user declarations. */
-#line 14 "/usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 14 "/home/asl/proj/llvm/src/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1287,9 +1305,15 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
# define YYERROR_VERBOSE 0
#endif
-#ifndef YYSTYPE
-#line 955 "/usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y"
-typedef union {
+/* Enabling the token table. */
+#ifndef YYTOKEN_TABLE
+# define YYTOKEN_TABLE 0
+#endif
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 955 "/home/asl/proj/llvm/src/lib/AsmParser/llvmAsmParser.y"
+{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
llvm::BasicBlock *BasicBlockVal;
@@ -1334,98 +1358,212 @@ typedef union {
llvm::Instruction::OtherOps OtherOpVal;
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
-} yystype;
-/* Line 188 of /usr/local/share/bison/yacc.c. */
-#line 1340 "llvmAsmParser.tab.c"
-# define YYSTYPE yystype
+}
+/* Line 187 of yacc.c. */
+#line 1364 "llvmAsmParser.tab.c"
+ YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
-#ifndef YYLTYPE
-typedef struct yyltype
-{
- int first_line;
- int first_column;
- int last_line;
- int last_column;
-} yyltype;
-# define YYLTYPE yyltype
-# define YYLTYPE_IS_TRIVIAL 1
-#endif
+
/* Copy the second part of user declarations. */
-/* Line 213 of /usr/local/share/bison/yacc.c. */
-#line 1361 "llvmAsmParser.tab.c"
+/* Line 216 of yacc.c. */
+#line 1377 "llvmAsmParser.tab.c"
+
+#ifdef short
+# undef short
+#endif
-#if ! defined (yyoverflow) || YYERROR_VERBOSE
+#ifdef YYTYPE_UINT8
+typedef YYTYPE_UINT8 yytype_uint8;
+#else
+typedef unsigned char yytype_uint8;
+#endif
-/* The parser invokes alloca or malloc; define the necessary symbols. */
+#ifdef YYTYPE_INT8
+typedef YYTYPE_INT8 yytype_int8;
+#elif (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+typedef signed char yytype_int8;
+#else
+typedef short int yytype_int8;
+#endif
-# if YYSTACK_USE_ALLOCA
-# define YYSTACK_ALLOC alloca
+#ifdef YYTYPE_UINT16
+typedef YYTYPE_UINT16 yytype_uint16;
+#else
+typedef unsigned short int yytype_uint16;
+#endif
+
+#ifdef YYTYPE_INT16
+typedef YYTYPE_INT16 yytype_int16;
+#else
+typedef short int yytype_int16;
+#endif
+
+#ifndef YYSIZE_T
+# ifdef __SIZE_TYPE__
+# define YYSIZE_T __SIZE_TYPE__
+# elif defined size_t
+# define YYSIZE_T size_t
+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+# define YYSIZE_T size_t
# else
-# ifndef YYSTACK_USE_ALLOCA
-# if defined (alloca) || defined (_ALLOCA_H)
-# define YYSTACK_ALLOC alloca
+# define YYSIZE_T unsigned int
+# endif
+#endif
+
+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
+
+#ifndef YY_
+# if YYENABLE_NLS
+# if ENABLE_NLS
+# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
+# define YY_(msgid) dgettext ("bison-runtime", msgid)
+# endif
+# endif
+# ifndef YY_
+# define YY_(msgid) msgid
+# endif
+#endif
+
+/* Suppress unused-variable warnings by "using" E. */
+#if ! defined lint || defined __GNUC__
+# define YYUSE(e) ((void) (e))
+#else
+# define YYUSE(e) /* empty */
+#endif
+
+/* Identity function, used to suppress warnings about constant conditions. */
+#ifndef lint
+# define YYID(n) (n)
+#else
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static int
+YYID (int i)
+#else
+static int
+YYID (i)
+ int i;
+#endif
+{
+ return i;
+}
+#endif
+
+#if ! defined yyoverflow || YYERROR_VERBOSE
+
+/* The parser invokes alloca or malloc; define the necessary symbols. */
+
+# ifdef YYSTACK_USE_ALLOCA
+# if YYSTACK_USE_ALLOCA
+# ifdef __GNUC__
+# define YYSTACK_ALLOC __builtin_alloca
+# elif defined __BUILTIN_VA_ARG_INCR
+# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
+# elif defined _AIX
+# define YYSTACK_ALLOC __alloca
+# elif defined _MSC_VER
+# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
+# define alloca _alloca
# else
-# ifdef __GNUC__
-# define YYSTACK_ALLOC __builtin_alloca
+# define YYSTACK_ALLOC alloca
+# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+# ifndef _STDLIB_H
+# define _STDLIB_H 1
+# endif
# endif
# endif
# endif
# endif
# ifdef YYSTACK_ALLOC
- /* Pacify GCC's `empty if-body' warning. */
-# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
+ /* Pacify GCC's `empty if-body' warning. */
+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
+# ifndef YYSTACK_ALLOC_MAXIMUM
+ /* The OS might guarantee only one guard page at the bottom of the stack,
+ and a page size can be as small as 4096 bytes. So we cannot safely
+ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
+ to allow for a few compiler-allocated temporary stack slots. */
+# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
+# endif
# else
-# if defined (__STDC__) || defined (__cplusplus)
+# define YYSTACK_ALLOC YYMALLOC
+# define YYSTACK_FREE YYFREE
+# ifndef YYSTACK_ALLOC_MAXIMUM
+# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
+# endif
+# if (defined __cplusplus && ! defined _STDLIB_H \
+ && ! ((defined YYMALLOC || defined malloc) \
+ && (defined YYFREE || defined free)))
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSIZE_T size_t
+# ifndef _STDLIB_H
+# define _STDLIB_H 1
+# endif
+# endif
+# ifndef YYMALLOC
+# define YYMALLOC malloc
+# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# ifndef YYFREE
+# define YYFREE free
+# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+void free (void *); /* INFRINGES ON USER NAME SPACE */
+# endif
# endif
-# define YYSTACK_ALLOC malloc
-# define YYSTACK_FREE free
# endif
-#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
-#if (! defined (yyoverflow) \
- && (! defined (__cplusplus) \
- || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+#if (! defined yyoverflow \
+ && (! defined __cplusplus \
+ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{
- short yyss;
+ yytype_int16 yyss;
YYSTYPE yyvs;
};
/* The size of the maximum gap between one aligned stack and the next. */
-# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
/* The size of an array large to enough to hold all stacks, each with
N elements. */
# define YYSTACK_BYTES(N) \
- ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
- + YYSTACK_GAP_MAX)
+ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ + YYSTACK_GAP_MAXIMUM)
/* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
-# if 1 < __GNUC__
+# if defined __GNUC__ && 1 < __GNUC__
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
# define YYCOPY(To, From, Count) \
do \
{ \
- register YYSIZE_T yyi; \
+ YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
- (To)[yyi] = (From)[yyi]; \
+ (To)[yyi] = (From)[yyi]; \
} \
- while (0)
+ while (YYID (0))
# endif
# endif
@@ -1440,55 +1578,50 @@ union yyalloc
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack, Stack, yysize); \
Stack = &yyptr->Stack; \
- yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \
+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
- while (0)
-
-#endif
+ while (YYID (0))
-#if defined (__STDC__) || defined (__cplusplus)
- typedef signed char yysigned_char;
-#else
- typedef short yysigned_char;
#endif
-/* YYFINAL -- State number of the termination state. */
-#define YYFINAL 41
-#define YYLAST 1600
+/* YYFINAL -- State number of the termination state. */
+#define YYFINAL 42
+/* YYLAST -- Last index in YYTABLE. */
+#define YYLAST 1491
-/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 150
-/* YYNNTS -- Number of nonterminals. */
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 151
+/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 82
-/* YYNRULES -- Number of rules. */
-#define YYNRULES 296
-/* YYNRULES -- Number of states. */
-#define YYNSTATES 580
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 297
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 581
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 390
+#define YYMAXUTOK 391
-#define YYTRANSLATE(X) \
- ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK)
+#define YYTRANSLATE(YYX) \
+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
-static const unsigned char yytranslate[] =
+static const yytype_uint8 yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 140, 141, 138, 2, 137, 2, 2, 2, 2, 2,
+ 141, 142, 139, 2, 138, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 145, 136, 146, 2, 2, 2, 2, 2, 2, 2,
+ 146, 137, 147, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 142, 139, 144, 2, 2, 2, 2, 2, 149,
+ 2, 143, 140, 145, 2, 2, 2, 2, 2, 150,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 143, 2, 2, 147, 2, 148, 2, 2, 2, 2,
+ 144, 2, 2, 148, 2, 149, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
@@ -1515,13 +1648,13 @@ static const unsigned char yytranslate[] =
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
- 135
+ 135, 136
};
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
-static const unsigned short yyprhs[] =
+static const yytype_uint16 yyprhs[] =
{
0, 0, 3, 5, 7, 9, 11, 13, 15, 17,
19, 21, 23, 25, 27, 29, 31, 33, 35, 37,
@@ -1531,34 +1664,34 @@ static const unsigned short yyprhs[] =
99, 101, 103, 105, 107, 109, 111, 113, 115, 117,
119, 121, 122, 125, 126, 128, 130, 132, 133, 136,
138, 140, 142, 144, 146, 148, 150, 152, 153, 155,
- 157, 158, 160, 162, 163, 165, 167, 169, 171, 172,
- 174, 176, 177, 179, 181, 183, 185, 187, 190, 192,
- 194, 196, 198, 199, 202, 204, 206, 208, 209, 212,
- 213, 216, 217, 221, 224, 225, 227, 228, 232, 234,
- 237, 239, 241, 243, 245, 247, 249, 252, 254, 257,
- 263, 269, 275, 281, 285, 288, 294, 299, 302, 304,
- 306, 308, 312, 314, 318, 320, 321, 323, 327, 332,
- 336, 340, 345, 350, 354, 361, 367, 370, 373, 376,
- 379, 382, 385, 388, 391, 394, 397, 400, 403, 410,
- 416, 425, 432, 439, 447, 455, 462, 471, 480, 484,
- 486, 488, 490, 492, 493, 496, 503, 505, 506, 508,
- 511, 512, 516, 517, 521, 525, 529, 533, 534, 542,
- 543, 552, 553, 562, 568, 571, 575, 577, 581, 585,
- 589, 593, 595, 596, 602, 606, 608, 612, 614, 615,
- 625, 627, 629, 634, 636, 638, 641, 645, 646, 648,
- 650, 652, 654, 656, 658, 660, 662, 664, 668, 670,
- 676, 678, 680, 682, 684, 686, 688, 691, 694, 697,
- 701, 704, 705, 707, 710, 713, 717, 727, 737, 746,
- 761, 763, 765, 772, 778, 781, 788, 796, 800, 806,
- 807, 808, 812, 815, 817, 823, 829, 836, 843, 848,
- 855, 860, 865, 872, 879, 882, 891, 893, 895, 896,
- 900, 907, 911, 918, 921, 927, 935
+ 157, 159, 160, 162, 164, 165, 167, 169, 171, 173,
+ 174, 176, 178, 179, 181, 183, 185, 187, 189, 192,
+ 194, 196, 198, 200, 201, 204, 206, 208, 210, 211,
+ 214, 215, 218, 219, 223, 226, 227, 229, 230, 234,
+ 236, 239, 241, 243, 245, 247, 249, 251, 254, 256,
+ 259, 265, 271, 277, 283, 287, 290, 296, 301, 304,
+ 306, 308, 310, 314, 316, 320, 322, 323, 325, 329,
+ 334, 338, 342, 347, 352, 356, 363, 369, 372, 375,
+ 378, 381, 384, 387, 390, 393, 396, 399, 402, 405,
+ 412, 418, 427, 434, 441, 449, 457, 464, 473, 482,
+ 486, 488, 490, 492, 494, 495, 498, 505, 507, 508,
+ 510, 513, 514, 518, 519, 523, 527, 531, 535, 536,
+ 544, 545, 554, 555, 564, 570, 573, 577, 579, 583,
+ 587, 591, 595, 597, 598, 604, 608, 610, 614, 616,
+ 617, 627, 629, 631, 636, 638, 640, 643, 647, 648,
+ 650, 652, 654, 656, 658, 660, 662, 664, 666, 670,
+ 672, 678, 680, 682, 684, 686, 688, 690, 693, 696,
+ 699, 703, 706, 707, 709, 712, 715, 719, 729, 739,
+ 748, 763, 765, 767, 774, 780, 783, 790, 798, 802,
+ 808, 809, 810, 814, 817, 819, 825, 831, 838, 845,
+ 850, 857, 862, 867, 874, 881, 884, 893, 895, 897,
+ 898, 902, 909, 913, 920, 923, 929, 937
};
-/* YYRHS -- A `-1'-separated list of the rules' RHS. */
-static const short yyrhs[] =
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+static const yytype_int16 yyrhs[] =
{
- 194, 0, -1, 69, -1, 70, -1, 71, -1, 72,
+ 195, 0, -1, 69, -1, 70, -1, 71, -1, 72,
-1, 73, -1, 74, -1, 75, -1, 76, -1, 77,
-1, 81, -1, 82, -1, 83, -1, 78, -1, 79,
-1, 80, -1, 112, -1, 113, -1, 114, -1, 115,
@@ -1569,179 +1702,181 @@ static const short yyrhs[] =
-1, 98, -1, 99, -1, 100, -1, 101, -1, 102,
-1, 103, -1, 104, -1, 105, -1, 92, -1, 93,
-1, 94, -1, 95, -1, 22, -1, 23, -1, 11,
- -1, 12, -1, 13, -1, 16, -1, 19, -1, 158,
- -1, -1, 158, 136, -1, -1, 17, -1, 20, -1,
- 163, -1, -1, 161, 136, -1, 38, -1, 40, -1,
+ -1, 12, -1, 13, -1, 16, -1, 19, -1, 159,
+ -1, -1, 159, 137, -1, -1, 17, -1, 20, -1,
+ 164, -1, -1, 162, 137, -1, 38, -1, 40, -1,
39, -1, 41, -1, 43, -1, 42, -1, 44, -1,
- 46, -1, -1, 134, -1, 135, -1, -1, 42, -1,
- 44, -1, -1, 38, -1, 39, -1, 40, -1, 43,
- -1, -1, 40, -1, 38, -1, -1, 57, -1, 58,
- -1, 59, -1, 60, -1, 61, -1, 56, 4, -1,
- 113, -1, 114, -1, 131, -1, 132, -1, -1, 172,
- 171, -1, 130, -1, 133, -1, 171, -1, -1, 174,
- 173, -1, -1, 49, 4, -1, -1, 137, 49, 4,
- -1, 30, 19, -1, -1, 177, -1, -1, 137, 180,
- 179, -1, 177, -1, 49, 4, -1, 11, -1, 12,
- -1, 13, -1, 14, -1, 45, -1, 181, -1, 182,
- 138, -1, 216, -1, 139, 4, -1, 182, 140, 186,
- 141, 174, -1, 10, 140, 186, 141, 174, -1, 142,
- 4, 143, 182, 144, -1, 145, 4, 143, 182, 146,
- -1, 147, 187, 148, -1, 147, 148, -1, 145, 147,
- 187, 148, 146, -1, 145, 147, 148, 146, -1, 182,
- 172, -1, 182, -1, 10, -1, 183, -1, 185, 137,
- 183, -1, 185, -1, 185, 137, 35, -1, 35, -1,
- -1, 182, -1, 187, 137, 182, -1, 182, 142, 190,
- 144, -1, 182, 142, 144, -1, 182, 149, 19, -1,
- 182, 145, 190, 146, -1, 182, 147, 190, 148, -1,
- 182, 147, 148, -1, 182, 145, 147, 190, 148, 146,
- -1, 182, 145, 147, 148, 146, -1, 182, 36, -1,
- 182, 37, -1, 182, 216, -1, 182, 189, -1, 182,
- 21, -1, 156, 3, -1, 156, 5, -1, 156, 4,
- -1, 156, 6, -1, 11, 22, -1, 11, 23, -1,
- 157, 9, -1, 153, 140, 188, 34, 182, 141, -1,
- 111, 140, 188, 227, 141, -1, 125, 140, 188, 137,
- 188, 137, 188, 141, -1, 151, 140, 188, 137, 188,
- 141, -1, 152, 140, 188, 137, 188, 141, -1, 84,
- 154, 140, 188, 137, 188, 141, -1, 85, 155, 140,
- 188, 137, 188, 141, -1, 127, 140, 188, 137, 188,
- 141, -1, 128, 140, 188, 137, 188, 137, 188, 141,
- -1, 129, 140, 188, 137, 188, 137, 188, 141, -1,
- 190, 137, 188, -1, 188, -1, 28, -1, 29, -1,
- 33, -1, -1, 184, 216, -1, 117, 140, 193, 34,
- 182, 141, -1, 195, -1, -1, 196, -1, 195, 196,
- -1, -1, 27, 197, 212, -1, -1, 26, 198, 213,
- -1, 54, 53, 202, -1, 160, 15, 182, -1, 160,
- 15, 10, -1, -1, 162, 166, 192, 191, 188, 199,
- 179, -1, -1, 162, 164, 166, 192, 191, 188, 200,
- 179, -1, -1, 162, 165, 166, 192, 191, 182, 201,
- 179, -1, 162, 166, 31, 169, 193, -1, 47, 203,
- -1, 50, 136, 204, -1, 19, -1, 48, 136, 19,
- -1, 62, 136, 19, -1, 142, 205, 144, -1, 205,
- 137, 19, -1, 19, -1, -1, 206, 137, 182, 172,
- 159, -1, 182, 172, 159, -1, 206, -1, 206, 137,
- 35, -1, 35, -1, -1, 170, 184, 161, 140, 207,
- 141, 174, 178, 175, -1, 24, -1, 147, -1, 168,
- 166, 208, 209, -1, 25, -1, 148, -1, 219, 211,
- -1, 167, 166, 208, -1, -1, 55, -1, 3, -1,
- 4, -1, 9, -1, 22, -1, 23, -1, 36, -1,
- 37, -1, 21, -1, 145, 190, 146, -1, 189, -1,
- 53, 214, 19, 137, 19, -1, 7, -1, 8, -1,
- 158, -1, 161, -1, 216, -1, 215, -1, 182, 217,
- -1, 219, 220, -1, 210, 220, -1, 221, 160, 222,
- -1, 221, 224, -1, -1, 18, -1, 63, 218, -1,
- 63, 10, -1, 64, 14, 217, -1, 64, 11, 217,
- 137, 14, 217, 137, 14, 217, -1, 65, 156, 217,
- 137, 14, 217, 142, 223, 144, -1, 65, 156, 217,
- 137, 14, 217, 142, 144, -1, 66, 170, 184, 217,
- 140, 226, 141, 174, 34, 14, 217, 67, 14, 217,
- -1, 67, -1, 68, -1, 223, 156, 215, 137, 14,
- 217, -1, 156, 215, 137, 14, 217, -1, 160, 229,
- -1, 182, 142, 217, 137, 217, 144, -1, 225, 137,
- 142, 217, 137, 217, 144, -1, 182, 217, 172, -1,
- 226, 137, 182, 217, 172, -1, -1, -1, 227, 137,
- 218, -1, 52, 51, -1, 51, -1, 151, 182, 217,
- 137, 217, -1, 152, 182, 217, 137, 217, -1, 84,
- 154, 182, 217, 137, 217, -1, 85, 155, 182, 217,
- 137, 217, -1, 153, 218, 34, 182, -1, 125, 218,
- 137, 218, 137, 218, -1, 126, 218, 137, 182, -1,
- 127, 218, 137, 218, -1, 128, 218, 137, 218, 137,
- 218, -1, 129, 218, 137, 218, 137, 218, -1, 124,
- 225, -1, 228, 170, 184, 217, 140, 226, 141, 174,
- -1, 231, -1, 32, -1, -1, 106, 182, 176, -1,
- 106, 182, 137, 11, 217, 176, -1, 107, 182, 176,
- -1, 107, 182, 137, 11, 217, 176, -1, 108, 218,
- -1, 230, 109, 182, 217, 176, -1, 230, 110, 218,
- 137, 182, 217, 176, -1, 111, 182, 217, 227, -1
+ 46, -1, -1, 134, -1, 135, -1, 136, -1, -1,
+ 42, -1, 44, -1, -1, 38, -1, 39, -1, 40,
+ -1, 43, -1, -1, 40, -1, 38, -1, -1, 57,
+ -1, 58, -1, 59, -1, 60, -1, 61, -1, 56,
+ 4, -1, 113, -1, 114, -1, 131, -1, 132, -1,
+ -1, 173, 172, -1, 130, -1, 133, -1, 172, -1,
+ -1, 175, 174, -1, -1, 49, 4, -1, -1, 138,
+ 49, 4, -1, 30, 19, -1, -1, 178, -1, -1,
+ 138, 181, 180, -1, 178, -1, 49, 4, -1, 11,
+ -1, 12, -1, 13, -1, 14, -1, 45, -1, 182,
+ -1, 183, 139, -1, 217, -1, 140, 4, -1, 183,
+ 141, 187, 142, 175, -1, 10, 141, 187, 142, 175,
+ -1, 143, 4, 144, 183, 145, -1, 146, 4, 144,
+ 183, 147, -1, 148, 188, 149, -1, 148, 149, -1,
+ 146, 148, 188, 149, 147, -1, 146, 148, 149, 147,
+ -1, 183, 173, -1, 183, -1, 10, -1, 184, -1,
+ 186, 138, 184, -1, 186, -1, 186, 138, 35, -1,
+ 35, -1, -1, 183, -1, 188, 138, 183, -1, 183,
+ 143, 191, 145, -1, 183, 143, 145, -1, 183, 150,
+ 19, -1, 183, 146, 191, 147, -1, 183, 148, 191,
+ 149, -1, 183, 148, 149, -1, 183, 146, 148, 191,
+ 149, 147, -1, 183, 146, 148, 149, 147, -1, 183,
+ 36, -1, 183, 37, -1, 183, 217, -1, 183, 190,
+ -1, 183, 21, -1, 157, 3, -1, 157, 5, -1,
+ 157, 4, -1, 157, 6, -1, 11, 22, -1, 11,
+ 23, -1, 158, 9, -1, 154, 141, 189, 34, 183,
+ 142, -1, 111, 141, 189, 228, 142, -1, 125, 141,
+ 189, 138, 189, 138, 189, 142, -1, 152, 141, 189,
+ 138, 189, 142, -1, 153, 141, 189, 138, 189, 142,
+ -1, 84, 155, 141, 189, 138, 189, 142, -1, 85,
+ 156, 141, 189, 138, 189, 142, -1, 127, 141, 189,
+ 138, 189, 142, -1, 128, 141, 189, 138, 189, 138,
+ 189, 142, -1, 129, 141, 189, 138, 189, 138, 189,
+ 142, -1, 191, 138, 189, -1, 189, -1, 28, -1,
+ 29, -1, 33, -1, -1, 185, 217, -1, 117, 141,
+ 194, 34, 183, 142, -1, 196, -1, -1, 197, -1,
+ 196, 197, -1, -1, 27, 198, 213, -1, -1, 26,
+ 199, 214, -1, 54, 53, 203, -1, 161, 15, 183,
+ -1, 161, 15, 10, -1, -1, 163, 167, 193, 192,
+ 189, 200, 180, -1, -1, 163, 165, 167, 193, 192,
+ 189, 201, 180, -1, -1, 163, 166, 167, 193, 192,
+ 183, 202, 180, -1, 163, 167, 31, 170, 194, -1,
+ 47, 204, -1, 50, 137, 205, -1, 19, -1, 48,
+ 137, 19, -1, 62, 137, 19, -1, 143, 206, 145,
+ -1, 206, 138, 19, -1, 19, -1, -1, 207, 138,
+ 183, 173, 160, -1, 183, 173, 160, -1, 207, -1,
+ 207, 138, 35, -1, 35, -1, -1, 171, 185, 162,
+ 141, 208, 142, 175, 179, 176, -1, 24, -1, 148,
+ -1, 169, 167, 209, 210, -1, 25, -1, 149, -1,
+ 220, 212, -1, 168, 167, 209, -1, -1, 55, -1,
+ 3, -1, 4, -1, 9, -1, 22, -1, 23, -1,
+ 36, -1, 37, -1, 21, -1, 146, 191, 147, -1,
+ 190, -1, 53, 215, 19, 138, 19, -1, 7, -1,
+ 8, -1, 159, -1, 162, -1, 217, -1, 216, -1,
+ 183, 218, -1, 220, 221, -1, 211, 221, -1, 222,
+ 161, 223, -1, 222, 225, -1, -1, 18, -1, 63,
+ 219, -1, 63, 10, -1, 64, 14, 218, -1, 64,
+ 11, 218, 138, 14, 218, 138, 14, 218, -1, 65,
+ 157, 218, 138, 14, 218, 143, 224, 145, -1, 65,
+ 157, 218, 138, 14, 218, 143, 145, -1, 66, 171,
+ 185, 218, 141, 227, 142, 175, 34, 14, 218, 67,
+ 14, 218, -1, 67, -1, 68, -1, 224, 157, 216,
+ 138, 14, 218, -1, 157, 216, 138, 14, 218, -1,
+ 161, 230, -1, 183, 143, 218, 138, 218, 145, -1,
+ 226, 138, 143, 218, 138, 218, 145, -1, 183, 218,
+ 173, -1, 227, 138, 183, 218, 173, -1, -1, -1,
+ 228, 138, 219, -1, 52, 51, -1, 51, -1, 152,
+ 183, 218, 138, 218, -1, 153, 183, 218, 138, 218,
+ -1, 84, 155, 183, 218, 138, 218, -1, 85, 156,
+ 183, 218, 138, 218, -1, 154, 219, 34, 183, -1,
+ 125, 219, 138, 219, 138, 219, -1, 126, 219, 138,
+ 183, -1, 127, 219, 138, 219, -1, 128, 219, 138,
+ 219, 138, 219, -1, 129, 219, 138, 219, 138, 219,
+ -1, 124, 226, -1, 229, 171, 185, 218, 141, 227,
+ 142, 175, -1, 232, -1, 32, -1, -1, 106, 183,
+ 177, -1, 106, 183, 138, 11, 218, 177, -1, 107,
+ 183, 177, -1, 107, 183, 138, 11, 218, 177, -1,
+ 108, 219, -1, 231, 109, 183, 218, 177, -1, 231,
+ 110, 219, 138, 183, 218, 177, -1, 111, 183, 218,
+ 228, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
-static const unsigned short yyrline[] =
+static const yytype_uint16 yyrline[] =
{
0, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111,
1111, 1112, 1112, 1112, 1112, 1112, 1112, 1113, 1113, 1113,
- 1113, 1113, 1113, 1113, 1114, 1114, 1114, 1114, 1114, 1117,
+ 1113, 1113, 1113, 1114, 1114, 1114, 1114, 1114, 1114, 1117,
1117, 1118, 1118, 1119, 1119, 1120, 1120, 1121, 1121, 1125,
1125, 1126, 1126, 1127, 1127, 1128, 1128, 1129, 1129, 1130,
1130, 1131, 1131, 1132, 1133, 1138, 1139, 1139, 1141, 1141,
1142, 1142, 1146, 1150, 1155, 1155, 1157, 1158, 1163, 1169,
1170, 1171, 1172, 1173, 1177, 1178, 1179, 1183, 1184, 1185,
- 1189, 1190, 1191, 1195, 1196, 1197, 1198, 1199, 1203, 1204,
- 1205, 1208, 1208, 1209, 1210, 1211, 1212, 1213, 1221, 1222,
- 1223, 1224, 1227, 1228, 1233, 1234, 1235, 1238, 1239, 1246,
- 1246, 1253, 1253, 1262, 1270, 1270, 1276, 1276, 1278, 1283,
- 1296, 1296, 1296, 1296, 1299, 1303, 1307, 1314, 1319, 1327,
- 1357, 1388, 1393, 1405, 1415, 1419, 1429, 1436, 1443, 1450,
- 1455, 1460, 1467, 1468, 1475, 1482, 1490, 1496, 1508, 1536,
- 1552, 1581, 1609, 1635, 1655, 1681, 1701, 1713, 1720, 1786,
- 1796, 1806, 1812, 1822, 1828, 1838, 1843, 1848, 1856, 1868,
- 1890, 1898, 1904, 1915, 1920, 1925, 1931, 1937, 1946, 1950,
- 1958, 1958, 1961, 1961, 1964, 1975, 1996, 2001, 2009, 2010,
- 2014, 2014, 2018, 2018, 2021, 2024, 2048, 2059, 2059, 2070,
- 2069, 2079, 2078, 2089, 2104, 2107, 2113, 2126, 2130, 2135,
- 2137, 2142, 2147, 2156, 2166, 2177, 2181, 2190, 2199, 2204,
- 2326, 2326, 2328, 2337, 2337, 2339, 2344, 2356, 2360, 2365,
- 2369, 2373, 2377, 2381, 2385, 2389, 2393, 2397, 2422, 2426,
- 2440, 2444, 2448, 2452, 2458, 2458, 2464, 2473, 2477, 2486,
- 2495, 2504, 2508, 2513, 2517, 2521, 2526, 2536, 2555, 2564,
- 2644, 2648, 2655, 2666, 2679, 2689, 2700, 2710, 2719, 2728,
- 2731, 2732, 2739, 2743, 2748, 2769, 2786, 2800, 2814, 2826,
- 2834, 2841, 2847, 2853, 2859, 2874, 2959, 2964, 2968, 2975,
- 2982, 2990, 2997, 3005, 3013, 3027, 3044
+ 1186, 1190, 1191, 1192, 1196, 1197, 1198, 1199, 1200, 1204,
+ 1205, 1206, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1222,
+ 1223, 1224, 1225, 1228, 1229, 1234, 1235, 1236, 1239, 1240,
+ 1247, 1248, 1254, 1255, 1263, 1271, 1272, 1277, 1278, 1279,
+ 1284, 1297, 1297, 1297, 1297, 1300, 1304, 1308, 1315, 1320,
+ 1328, 1358, 1389, 1394, 1406, 1416, 1420, 1430, 1437, 1444,
+ 1451, 1456, 1461, 1468, 1469, 1476, 1483, 1491, 1497, 1509,
+ 1537, 1553, 1582, 1610, 1636, 1656, 1682, 1702, 1714, 1721,
+ 1787, 1797, 1807, 1813, 1823, 1829, 1839, 1844, 1849, 1857,
+ 1869, 1891, 1899, 1905, 1916, 1921, 1926, 1932, 1938, 1947,
+ 1951, 1959, 1959, 1962, 1962, 1965, 1976, 1997, 2002, 2010,
+ 2011, 2015, 2015, 2019, 2019, 2022, 2025, 2049, 2060, 2060,
+ 2071, 2070, 2080, 2079, 2090, 2105, 2108, 2114, 2127, 2131,
+ 2136, 2138, 2143, 2148, 2157, 2167, 2178, 2182, 2191, 2200,
+ 2205, 2327, 2327, 2329, 2338, 2338, 2340, 2345, 2357, 2361,
+ 2366, 2370, 2374, 2378, 2382, 2386, 2390, 2394, 2398, 2423,
+ 2427, 2441, 2445, 2449, 2453, 2459, 2459, 2465, 2474, 2478,
+ 2487, 2496, 2505, 2509, 2514, 2518, 2522, 2527, 2537, 2556,
+ 2565, 2645, 2649, 2656, 2667, 2680, 2690, 2701, 2711, 2720,
+ 2729, 2732, 2733, 2740, 2744, 2749, 2770, 2787, 2801, 2815,
+ 2827, 2835, 2842, 2848, 2854, 2860, 2875, 2960, 2965, 2969,
+ 2976, 2983, 2991, 2998, 3006, 3014, 3028, 3045
};
#endif
-#if YYDEBUG || YYERROR_VERBOSE
-/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
- First, the terminals, then, starting at YYNTOKENS, nonterminals. */
+#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
- "$end", "error", "$undefined", "ESINT64VAL", "EUINT64VAL", "ESAPINTVAL",
- "EUAPINTVAL", "LOCALVAL_ID", "GLOBALVAL_ID", "FPVAL", "VOID", "INTTYPE",
- "FLOAT", "DOUBLE", "LABEL", "TYPE", "LOCALVAR", "GLOBALVAR", "LABELSTR",
- "STRINGCONSTANT", "ATSTRINGCONSTANT", "ZEROINITIALIZER", "TRUETOK",
- "FALSETOK", "BEGINTOK", "ENDTOK", "DECLARE", "DEFINE", "GLOBAL",
- "CONSTANT", "SECTION", "ALIAS", "VOLATILE", "THREAD_LOCAL", "TO",
- "DOTDOTDOT", "NULL_TOK", "UNDEF", "INTERNAL", "LINKONCE", "WEAK",
- "APPENDING", "DLLIMPORT", "DLLEXPORT", "EXTERN_WEAK", "OPAQUE",
- "EXTERNAL", "TARGET", "TRIPLE", "ALIGN", "DEPLIBS", "CALL", "TAIL",
- "ASM_TOK", "MODULE", "SIDEEFFECT", "CC_TOK", "CCC_TOK", "FASTCC_TOK",
- "COLDCC_TOK", "X86_STDCALLCC_TOK", "X86_FASTCALLCC_TOK", "DATALAYOUT",
- "RET", "BR", "SWITCH", "INVOKE", "UNWIND", "UNREACHABLE", "ADD", "SUB",
- "MUL", "UDIV", "SDIV", "FDIV", "UREM", "SREM", "FREM", "AND", "OR",
- "XOR", "SHL", "LSHR", "ASHR", "ICMP", "FCMP", "EQ", "NE", "SLT", "SGT",
- "SLE", "SGE", "ULT", "UGT", "ULE", "UGE", "OEQ", "ONE", "OLT", "OGT",
- "OLE", "OGE", "ORD", "UNO", "UEQ", "UNE", "MALLOC", "ALLOCA", "FREE",
- "LOAD", "STORE", "GETELEMENTPTR", "TRUNC", "ZEXT", "SEXT", "FPTRUNC",
- "FPEXT", "BITCAST", "UITOFP", "SITOFP", "FPTOUI", "FPTOSI", "INTTOPTR",
- "PTRTOINT", "PHI_TOK", "SELECT", "VAARG", "EXTRACTELEMENT",
- "INSERTELEMENT", "SHUFFLEVECTOR", "NORETURN", "INREG", "SRET",
- "NOUNWIND", "DEFAULT", "HIDDEN", "'='", "','", "'*'", "'\\\\'", "'('",
- "')'", "'['", "'x'", "']'", "'<'", "'>'", "'{'", "'}'", "'c'",
- "$accept", "ArithmeticOps", "LogicalOps", "CastOps", "IPredicates",
- "FPredicates", "IntType", "FPType", "LocalName", "OptLocalName",
- "OptLocalAssign", "GlobalName", "OptGlobalAssign", "GlobalAssign",
- "GVInternalLinkage", "GVExternalLinkage", "GVVisibilityStyle",
- "FunctionDeclareLinkage", "FunctionDefineLinkage", "AliasLinkage",
- "OptCallingConv", "ParamAttr", "OptParamAttrs", "FuncAttr",
- "OptFuncAttrs", "OptAlign", "OptCAlign", "SectionString", "OptSection",
- "GlobalVarAttributes", "GlobalVarAttribute", "PrimType", "Types",
- "ArgType", "ResultTypes", "ArgTypeList", "ArgTypeListI", "TypeListI",
- "ConstVal", "ConstExpr", "ConstVector", "GlobalType", "ThreadLocal",
- "AliaseeRef", "Module", "DefinitionList", "Definition", "@1", "@2",
- "@3", "@4", "@5", "AsmBlock", "TargetDefinition", "LibrariesDefinition",
- "LibList", "ArgListH", "ArgList", "FunctionHeaderH", "BEGIN",
- "FunctionHeader", "END", "Function", "FunctionProto", "OptSideEffect",
- "ConstValueRef", "SymbolicValueRef", "ValueRef", "ResolvedVal",