mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0a15bbc02
commit
30d0c58fc9
@ -923,7 +923,7 @@ goto find_rule; \
|
||||
#define YY_MORE_ADJ 0
|
||||
#define YY_RESTORE_YY_MORE_OFFSET
|
||||
char *yytext;
|
||||
#line 1 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 1 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#define INITIAL 0
|
||||
/*===-- UpgradeLexer.l - Scanner for 1.9 assembly files --------*- C++ -*--===//
|
||||
//
|
||||
@ -938,7 +938,7 @@ char *yytext;
|
||||
//
|
||||
//===----------------------------------------------------------------------===*/
|
||||
#define YY_NEVER_INTERACTIVE 1
|
||||
#line 28 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 28 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
|
||||
#include "UpgradeInternals.h"
|
||||
#include "UpgradeParser.h"
|
||||
@ -962,7 +962,7 @@ char *yytext;
|
||||
return sym
|
||||
|
||||
#define RET_TY(sym,OldTY,NewTY,sign) \
|
||||
Upgradelval.Type = TypeInfo::get(NewTY, OldTY); \
|
||||
Upgradelval.Type = getTypeInfo(NewTY, OldTY); \
|
||||
return sym
|
||||
|
||||
#define YY_NEVER_INTERACTIVE 1
|
||||
@ -1133,7 +1133,7 @@ YY_DECL
|
||||
register char *yy_cp = NULL, *yy_bp = NULL;
|
||||
register int yy_act;
|
||||
|
||||
#line 97 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 97 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
|
||||
|
||||
#line 1140 "UpgradeLexer.cpp"
|
||||
@ -1229,776 +1229,776 @@ do_action: /* This label is used only to access EOF actions. */
|
||||
{ /* beginning of action switch */
|
||||
case 1:
|
||||
YY_RULE_SETUP
|
||||
#line 99 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 99 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ /* Ignore comments for now */ }
|
||||
YY_BREAK
|
||||
case 2:
|
||||
YY_RULE_SETUP
|
||||
#line 101 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 101 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( BEGINTOK); }
|
||||
YY_BREAK
|
||||
case 3:
|
||||
YY_RULE_SETUP
|
||||
#line 102 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 102 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ENDTOK); }
|
||||
YY_BREAK
|
||||
case 4:
|
||||
YY_RULE_SETUP
|
||||
#line 103 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 103 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( TRUETOK); }
|
||||
YY_BREAK
|
||||
case 5:
|
||||
YY_RULE_SETUP
|
||||
#line 104 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 104 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FALSETOK); }
|
||||
YY_BREAK
|
||||
case 6:
|
||||
YY_RULE_SETUP
|
||||
#line 105 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 105 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DECLARE); }
|
||||
YY_BREAK
|
||||
case 7:
|
||||
YY_RULE_SETUP
|
||||
#line 106 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 106 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( GLOBAL); }
|
||||
YY_BREAK
|
||||
case 8:
|
||||
YY_RULE_SETUP
|
||||
#line 107 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 107 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( CONSTANT); }
|
||||
YY_BREAK
|
||||
case 9:
|
||||
YY_RULE_SETUP
|
||||
#line 108 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 108 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( INTERNAL); }
|
||||
YY_BREAK
|
||||
case 10:
|
||||
YY_RULE_SETUP
|
||||
#line 109 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 109 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( LINKONCE); }
|
||||
YY_BREAK
|
||||
case 11:
|
||||
YY_RULE_SETUP
|
||||
#line 110 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 110 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( WEAK); }
|
||||
YY_BREAK
|
||||
case 12:
|
||||
YY_RULE_SETUP
|
||||
#line 111 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 111 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( APPENDING); }
|
||||
YY_BREAK
|
||||
case 13:
|
||||
YY_RULE_SETUP
|
||||
#line 112 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 112 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DLLIMPORT); }
|
||||
YY_BREAK
|
||||
case 14:
|
||||
YY_RULE_SETUP
|
||||
#line 113 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 113 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DLLEXPORT); }
|
||||
YY_BREAK
|
||||
case 15:
|
||||
YY_RULE_SETUP
|
||||
#line 114 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 114 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( EXTERN_WEAK); }
|
||||
YY_BREAK
|
||||
case 16:
|
||||
YY_RULE_SETUP
|
||||
#line 115 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 115 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( EXTERNAL); }
|
||||
YY_BREAK
|
||||
case 17:
|
||||
YY_RULE_SETUP
|
||||
#line 116 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 116 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UNINITIALIZED); } // alias for external
|
||||
YY_BREAK
|
||||
case 18:
|
||||
YY_RULE_SETUP
|
||||
#line 117 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 117 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( IMPLEMENTATION); }
|
||||
YY_BREAK
|
||||
case 19:
|
||||
YY_RULE_SETUP
|
||||
#line 118 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 118 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ZEROINITIALIZER); }
|
||||
YY_BREAK
|
||||
case 20:
|
||||
YY_RULE_SETUP
|
||||
#line 119 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 119 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DOTDOTDOT); }
|
||||
YY_BREAK
|
||||
case 21:
|
||||
YY_RULE_SETUP
|
||||
#line 120 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 120 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UNDEF); }
|
||||
YY_BREAK
|
||||
case 22:
|
||||
YY_RULE_SETUP
|
||||
#line 121 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 121 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( NULL_TOK); }
|
||||
YY_BREAK
|
||||
case 23:
|
||||
YY_RULE_SETUP
|
||||
#line 122 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 122 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( TO); }
|
||||
YY_BREAK
|
||||
case 24:
|
||||
YY_RULE_SETUP
|
||||
#line 123 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 123 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( TAIL); }
|
||||
YY_BREAK
|
||||
case 25:
|
||||
YY_RULE_SETUP
|
||||
#line 124 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 124 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( TARGET); }
|
||||
YY_BREAK
|
||||
case 26:
|
||||
YY_RULE_SETUP
|
||||
#line 125 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 125 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( TRIPLE); }
|
||||
YY_BREAK
|
||||
case 27:
|
||||
YY_RULE_SETUP
|
||||
#line 126 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 126 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DEPLIBS); }
|
||||
YY_BREAK
|
||||
case 28:
|
||||
YY_RULE_SETUP
|
||||
#line 127 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 127 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ENDIAN); }
|
||||
YY_BREAK
|
||||
case 29:
|
||||
YY_RULE_SETUP
|
||||
#line 128 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 128 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( POINTERSIZE); }
|
||||
YY_BREAK
|
||||
case 30:
|
||||
YY_RULE_SETUP
|
||||
#line 129 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 129 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DATALAYOUT); }
|
||||
YY_BREAK
|
||||
case 31:
|
||||
YY_RULE_SETUP
|
||||
#line 130 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 130 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( LITTLE); }
|
||||
YY_BREAK
|
||||
case 32:
|
||||
YY_RULE_SETUP
|
||||
#line 131 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 131 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( BIG); }
|
||||
YY_BREAK
|
||||
case 33:
|
||||
YY_RULE_SETUP
|
||||
#line 132 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 132 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( VOLATILE); }
|
||||
YY_BREAK
|
||||
case 34:
|
||||
YY_RULE_SETUP
|
||||
#line 133 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 133 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ALIGN); }
|
||||
YY_BREAK
|
||||
case 35:
|
||||
YY_RULE_SETUP
|
||||
#line 134 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 134 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SECTION); }
|
||||
YY_BREAK
|
||||
case 36:
|
||||
YY_RULE_SETUP
|
||||
#line 135 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 135 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( MODULE); }
|
||||
YY_BREAK
|
||||
case 37:
|
||||
YY_RULE_SETUP
|
||||
#line 136 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 136 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ASM_TOK); }
|
||||
YY_BREAK
|
||||
case 38:
|
||||
YY_RULE_SETUP
|
||||
#line 137 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 137 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SIDEEFFECT); }
|
||||
YY_BREAK
|
||||
case 39:
|
||||
YY_RULE_SETUP
|
||||
#line 139 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 139 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( CC_TOK); }
|
||||
YY_BREAK
|
||||
case 40:
|
||||
YY_RULE_SETUP
|
||||
#line 140 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 140 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( CCC_TOK); }
|
||||
YY_BREAK
|
||||
case 41:
|
||||
YY_RULE_SETUP
|
||||
#line 141 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 141 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( CSRETCC_TOK); }
|
||||
YY_BREAK
|
||||
case 42:
|
||||
YY_RULE_SETUP
|
||||
#line 142 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 142 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FASTCC_TOK); }
|
||||
YY_BREAK
|
||||
case 43:
|
||||
YY_RULE_SETUP
|
||||
#line 143 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 143 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( COLDCC_TOK); }
|
||||
YY_BREAK
|
||||
case 44:
|
||||
YY_RULE_SETUP
|
||||
#line 144 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 144 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( X86_STDCALLCC_TOK); }
|
||||
YY_BREAK
|
||||
case 45:
|
||||
YY_RULE_SETUP
|
||||
#line 145 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 145 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( X86_FASTCALLCC_TOK); }
|
||||
YY_BREAK
|
||||
case 46:
|
||||
YY_RULE_SETUP
|
||||
#line 147 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 147 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(VOID,VoidTy,"void",false); }
|
||||
YY_BREAK
|
||||
case 47:
|
||||
YY_RULE_SETUP
|
||||
#line 148 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 148 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(BOOL,BoolTy,"i1",false); }
|
||||
YY_BREAK
|
||||
case 48:
|
||||
YY_RULE_SETUP
|
||||
#line 149 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 149 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(SBYTE,SByteTy,"i8",true); }
|
||||
YY_BREAK
|
||||
case 49:
|
||||
YY_RULE_SETUP
|
||||
#line 150 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 150 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(UBYTE,UByteTy,"i8",false); }
|
||||
YY_BREAK
|
||||
case 50:
|
||||
YY_RULE_SETUP
|
||||
#line 151 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 151 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(SHORT,ShortTy,"i16",true); }
|
||||
YY_BREAK
|
||||
case 51:
|
||||
YY_RULE_SETUP
|
||||
#line 152 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 152 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(USHORT,UShortTy,"i16",false); }
|
||||
YY_BREAK
|
||||
case 52:
|
||||
YY_RULE_SETUP
|
||||
#line 153 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 153 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(INT,IntTy,"i32",true); }
|
||||
YY_BREAK
|
||||
case 53:
|
||||
YY_RULE_SETUP
|
||||
#line 154 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 154 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(UINT,UIntTy,"i32",false); }
|
||||
YY_BREAK
|
||||
case 54:
|
||||
YY_RULE_SETUP
|
||||
#line 155 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 155 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(LONG,LongTy,"i64",true); }
|
||||
YY_BREAK
|
||||
case 55:
|
||||
YY_RULE_SETUP
|
||||
#line 156 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 156 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(ULONG,ULongTy,"i64",false); }
|
||||
YY_BREAK
|
||||
case 56:
|
||||
YY_RULE_SETUP
|
||||
#line 157 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 157 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(UBYTE,UByteTy,"i8",false); }
|
||||
YY_BREAK
|
||||
case 57:
|
||||
YY_RULE_SETUP
|
||||
#line 158 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 158 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(USHORT,UShortTy,"i16",false); }
|
||||
YY_BREAK
|
||||
case 58:
|
||||
YY_RULE_SETUP
|
||||
#line 159 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 159 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(UINT,UIntTy,"i32",false); }
|
||||
YY_BREAK
|
||||
case 59:
|
||||
YY_RULE_SETUP
|
||||
#line 160 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 160 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(ULONG,ULongTy,"i64",false); }
|
||||
YY_BREAK
|
||||
case 60:
|
||||
YY_RULE_SETUP
|
||||
#line 161 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 161 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(FLOAT,FloatTy,"float",false); }
|
||||
YY_BREAK
|
||||
case 61:
|
||||
YY_RULE_SETUP
|
||||
#line 162 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 162 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(DOUBLE,DoubleTy,"double",false); }
|
||||
YY_BREAK
|
||||
case 62:
|
||||
YY_RULE_SETUP
|
||||
#line 163 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 163 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TY(LABEL,LabelTy,"label",false); }
|
||||
YY_BREAK
|
||||
case 63:
|
||||
YY_RULE_SETUP
|
||||
#line 164 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 164 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(OPAQUE); }
|
||||
YY_BREAK
|
||||
case 64:
|
||||
YY_RULE_SETUP
|
||||
#line 165 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 165 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(TYPE); }
|
||||
YY_BREAK
|
||||
case 65:
|
||||
YY_RULE_SETUP
|
||||
#line 167 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 167 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ADD); }
|
||||
YY_BREAK
|
||||
case 66:
|
||||
YY_RULE_SETUP
|
||||
#line 168 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 168 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SUB); }
|
||||
YY_BREAK
|
||||
case 67:
|
||||
YY_RULE_SETUP
|
||||
#line 169 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 169 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( MUL); }
|
||||
YY_BREAK
|
||||
case 68:
|
||||
YY_RULE_SETUP
|
||||
#line 170 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 170 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( DIV); }
|
||||
YY_BREAK
|
||||
case 69:
|
||||
YY_RULE_SETUP
|
||||
#line 171 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 171 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UDIV); }
|
||||
YY_BREAK
|
||||
case 70:
|
||||
YY_RULE_SETUP
|
||||
#line 172 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 172 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SDIV); }
|
||||
YY_BREAK
|
||||
case 71:
|
||||
YY_RULE_SETUP
|
||||
#line 173 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 173 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FDIV); }
|
||||
YY_BREAK
|
||||
case 72:
|
||||
YY_RULE_SETUP
|
||||
#line 174 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 174 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( REM); }
|
||||
YY_BREAK
|
||||
case 73:
|
||||
YY_RULE_SETUP
|
||||
#line 175 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 175 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UREM); }
|
||||
YY_BREAK
|
||||
case 74:
|
||||
YY_RULE_SETUP
|
||||
#line 176 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 176 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SREM); }
|
||||
YY_BREAK
|
||||
case 75:
|
||||
YY_RULE_SETUP
|
||||
#line 177 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 177 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FREM); }
|
||||
YY_BREAK
|
||||
case 76:
|
||||
YY_RULE_SETUP
|
||||
#line 178 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 178 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( AND); }
|
||||
YY_BREAK
|
||||
case 77:
|
||||
YY_RULE_SETUP
|
||||
#line 179 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 179 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( OR); }
|
||||
YY_BREAK
|
||||
case 78:
|
||||
YY_RULE_SETUP
|
||||
#line 180 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 180 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( XOR); }
|
||||
YY_BREAK
|
||||
case 79:
|
||||
YY_RULE_SETUP
|
||||
#line 181 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 181 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SETNE); }
|
||||
YY_BREAK
|
||||
case 80:
|
||||
YY_RULE_SETUP
|
||||
#line 182 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 182 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SETEQ); }
|
||||
YY_BREAK
|
||||
case 81:
|
||||
YY_RULE_SETUP
|
||||
#line 183 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 183 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SETLT); }
|
||||
YY_BREAK
|
||||
case 82:
|
||||
YY_RULE_SETUP
|
||||
#line 184 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 184 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SETGT); }
|
||||
YY_BREAK
|
||||
case 83:
|
||||
YY_RULE_SETUP
|
||||
#line 185 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 185 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SETLE); }
|
||||
YY_BREAK
|
||||
case 84:
|
||||
YY_RULE_SETUP
|
||||
#line 186 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 186 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SETGE); }
|
||||
YY_BREAK
|
||||
case 85:
|
||||
YY_RULE_SETUP
|
||||
#line 187 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 187 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(ICMP); }
|
||||
YY_BREAK
|
||||
case 86:
|
||||
YY_RULE_SETUP
|
||||
#line 188 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 188 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(FCMP); }
|
||||
YY_BREAK
|
||||
case 87:
|
||||
YY_RULE_SETUP
|
||||
#line 189 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 189 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(EQ); }
|
||||
YY_BREAK
|
||||
case 88:
|
||||
YY_RULE_SETUP
|
||||
#line 190 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 190 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(NE); }
|
||||
YY_BREAK
|
||||
case 89:
|
||||
YY_RULE_SETUP
|
||||
#line 191 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 191 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(SLT); }
|
||||
YY_BREAK
|
||||
case 90:
|
||||
YY_RULE_SETUP
|
||||
#line 192 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 192 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(SGT); }
|
||||
YY_BREAK
|
||||
case 91:
|
||||
YY_RULE_SETUP
|
||||
#line 193 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 193 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(SLE); }
|
||||
YY_BREAK
|
||||
case 92:
|
||||
YY_RULE_SETUP
|
||||
#line 194 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 194 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(SGE); }
|
||||
YY_BREAK
|
||||
case 93:
|
||||
YY_RULE_SETUP
|
||||
#line 195 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 195 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(OEQ); }
|
||||
YY_BREAK
|
||||
case 94:
|
||||
YY_RULE_SETUP
|
||||
#line 196 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 196 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(ONE); }
|
||||
YY_BREAK
|
||||
case 95:
|
||||
YY_RULE_SETUP
|
||||
#line 197 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 197 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(OLT); }
|
||||
YY_BREAK
|
||||
case 96:
|
||||
YY_RULE_SETUP
|
||||
#line 198 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 198 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(OGT); }
|
||||
YY_BREAK
|
||||
case 97:
|
||||
YY_RULE_SETUP
|
||||
#line 199 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 199 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(OLE); }
|
||||
YY_BREAK
|
||||
case 98:
|
||||
YY_RULE_SETUP
|
||||
#line 200 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 200 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(OGE); }
|
||||
YY_BREAK
|
||||
case 99:
|
||||
YY_RULE_SETUP
|
||||
#line 201 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 201 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(ORD); }
|
||||
YY_BREAK
|
||||
case 100:
|
||||
YY_RULE_SETUP
|
||||
#line 202 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 202 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(UNO); }
|
||||
YY_BREAK
|
||||
case 101:
|
||||
YY_RULE_SETUP
|
||||
#line 203 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 203 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(UEQ); }
|
||||
YY_BREAK
|
||||
case 102:
|
||||
YY_RULE_SETUP
|
||||
#line 204 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 204 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(UNE); }
|
||||
YY_BREAK
|
||||
case 103:
|
||||
YY_RULE_SETUP
|
||||
#line 205 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 205 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(ULT); }
|
||||
YY_BREAK
|
||||
case 104:
|
||||
YY_RULE_SETUP
|
||||
#line 206 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 206 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(UGT); }
|
||||
YY_BREAK
|
||||
case 105:
|
||||
YY_RULE_SETUP
|
||||
#line 207 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 207 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(ULE); }
|
||||
YY_BREAK
|
||||
case 106:
|
||||
YY_RULE_SETUP
|
||||
#line 208 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 208 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK(UGE); }
|
||||
YY_BREAK
|
||||
case 107:
|
||||
YY_RULE_SETUP
|
||||
#line 210 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 210 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( PHI_TOK); }
|
||||
YY_BREAK
|
||||
case 108:
|
||||
YY_RULE_SETUP
|
||||
#line 211 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 211 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( CALL); }
|
||||
YY_BREAK
|
||||
case 109:
|
||||
YY_RULE_SETUP
|
||||
#line 212 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 212 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( CAST); }
|
||||
YY_BREAK
|
||||
case 110:
|
||||
YY_RULE_SETUP
|
||||
#line 213 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 213 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( TRUNC); }
|
||||
YY_BREAK
|
||||
case 111:
|
||||
YY_RULE_SETUP
|
||||
#line 214 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 214 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ZEXT); }
|
||||
YY_BREAK
|
||||
case 112:
|
||||
YY_RULE_SETUP
|
||||
#line 215 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 215 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SEXT); }
|
||||
YY_BREAK
|
||||
case 113:
|
||||
YY_RULE_SETUP
|
||||
#line 216 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 216 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FPTRUNC); }
|
||||
YY_BREAK
|
||||
case 114:
|
||||
YY_RULE_SETUP
|
||||
#line 217 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 217 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FPEXT); }
|
||||
YY_BREAK
|
||||
case 115:
|
||||
YY_RULE_SETUP
|
||||
#line 218 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 218 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FPTOUI); }
|
||||
YY_BREAK
|
||||
case 116:
|
||||
YY_RULE_SETUP
|
||||
#line 219 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 219 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FPTOSI); }
|
||||
YY_BREAK
|
||||
case 117:
|
||||
YY_RULE_SETUP
|
||||
#line 220 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 220 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UITOFP); }
|
||||
YY_BREAK
|
||||
case 118:
|
||||
YY_RULE_SETUP
|
||||
#line 221 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 221 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SITOFP); }
|
||||
YY_BREAK
|
||||
case 119:
|
||||
YY_RULE_SETUP
|
||||
#line 222 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 222 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( PTRTOINT); }
|
||||
YY_BREAK
|
||||
case 120:
|
||||
YY_RULE_SETUP
|
||||
#line 223 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 223 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( INTTOPTR); }
|
||||
YY_BREAK
|
||||
case 121:
|
||||
YY_RULE_SETUP
|
||||
#line 224 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 224 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( BITCAST); }
|
||||
YY_BREAK
|
||||
case 122:
|
||||
YY_RULE_SETUP
|
||||
#line 225 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 225 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SELECT); }
|
||||
YY_BREAK
|
||||
case 123:
|
||||
YY_RULE_SETUP
|
||||
#line 226 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 226 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SHL); }
|
||||
YY_BREAK
|
||||
case 124:
|
||||
YY_RULE_SETUP
|
||||
#line 227 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 227 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SHR); }
|
||||
YY_BREAK
|
||||
case 125:
|
||||
YY_RULE_SETUP
|
||||
#line 228 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 228 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ASHR); }
|
||||
YY_BREAK
|
||||
case 126:
|
||||
YY_RULE_SETUP
|
||||
#line 229 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 229 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( LSHR); }
|
||||
YY_BREAK
|
||||
case 127:
|
||||
YY_RULE_SETUP
|
||||
#line 230 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 230 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( VAARG); }
|
||||
YY_BREAK
|
||||
case 128:
|
||||
YY_RULE_SETUP
|
||||
#line 231 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 231 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( RET); }
|
||||
YY_BREAK
|
||||
case 129:
|
||||
YY_RULE_SETUP
|
||||
#line 232 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 232 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( BR); }
|
||||
YY_BREAK
|
||||
case 130:
|
||||
YY_RULE_SETUP
|
||||
#line 233 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 233 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SWITCH); }
|
||||
YY_BREAK
|
||||
case 131:
|
||||
YY_RULE_SETUP
|
||||
#line 234 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 234 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( INVOKE); }
|
||||
YY_BREAK
|
||||
case 132:
|
||||
YY_RULE_SETUP
|
||||
#line 235 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 235 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UNWIND); }
|
||||
YY_BREAK
|
||||
case 133:
|
||||
YY_RULE_SETUP
|
||||
#line 236 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 236 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( EXCEPT); } // alias for unwind
|
||||
YY_BREAK
|
||||
case 134:
|
||||
YY_RULE_SETUP
|
||||
#line 237 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 237 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UNREACHABLE); }
|
||||
YY_BREAK
|
||||
case 135:
|
||||
YY_RULE_SETUP
|
||||
#line 239 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 239 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( MALLOC); }
|
||||
YY_BREAK
|
||||
case 136:
|
||||
YY_RULE_SETUP
|
||||
#line 240 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 240 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ALLOCA); }
|
||||
YY_BREAK
|
||||
case 137:
|
||||
YY_RULE_SETUP
|
||||
#line 241 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 241 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FREE); }
|
||||
YY_BREAK
|
||||
case 138:
|
||||
YY_RULE_SETUP
|
||||
#line 242 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 242 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( LOAD); }
|
||||
YY_BREAK
|
||||
case 139:
|
||||
YY_RULE_SETUP
|
||||
#line 243 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 243 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( STORE); }
|
||||
YY_BREAK
|
||||
case 140:
|
||||
YY_RULE_SETUP
|
||||
#line 244 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 244 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( GETELEMENTPTR); }
|
||||
YY_BREAK
|
||||
case 141:
|
||||
YY_RULE_SETUP
|
||||
#line 246 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 246 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( EXTRACTELEMENT); }
|
||||
YY_BREAK
|
||||
case 142:
|
||||
YY_RULE_SETUP
|
||||
#line 247 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 247 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( INSERTELEMENT); }
|
||||
YY_BREAK
|
||||
case 143:
|
||||
YY_RULE_SETUP
|
||||
#line 248 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 248 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SHUFFLEVECTOR); }
|
||||
YY_BREAK
|
||||
case 144:
|
||||
YY_RULE_SETUP
|
||||
#line 251 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 251 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( VAR_ID); }
|
||||
YY_BREAK
|
||||
case 145:
|
||||
YY_RULE_SETUP
|
||||
#line 252 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 252 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( LABELSTR); }
|
||||
YY_BREAK
|
||||
case 146:
|
||||
YY_RULE_SETUP
|
||||
#line 253 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 253 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( LABELSTR); }
|
||||
YY_BREAK
|
||||
case 147:
|
||||
YY_RULE_SETUP
|
||||
#line 254 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 254 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( STRINGCONSTANT ); }
|
||||
YY_BREAK
|
||||
case 148:
|
||||
YY_RULE_SETUP
|
||||
#line 255 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 255 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( EUINT64VAL ); }
|
||||
YY_BREAK
|
||||
case 149:
|
||||
YY_RULE_SETUP
|
||||
#line 256 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 256 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( ESINT64VAL ); }
|
||||
YY_BREAK
|
||||
case 150:
|
||||
YY_RULE_SETUP
|
||||
#line 257 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 257 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( yytext[0] == 's' ? ESINT64VAL : EUINT64VAL ); }
|
||||
YY_BREAK
|
||||
case 151:
|
||||
YY_RULE_SETUP
|
||||
#line 258 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 258 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( UINTVAL); }
|
||||
YY_BREAK
|
||||
case 152:
|
||||
YY_RULE_SETUP
|
||||
#line 259 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 259 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( SINTVAL); }
|
||||
YY_BREAK
|
||||
case 153:
|
||||
YY_RULE_SETUP
|
||||
#line 260 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 260 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FPVAL); }
|
||||
YY_BREAK
|
||||
case 154:
|
||||
YY_RULE_SETUP
|
||||
#line 261 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 261 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ RET_TOK( FPVAL); }
|
||||
YY_BREAK
|
||||
case YY_STATE_EOF(INITIAL):
|
||||
#line 262 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 262 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{
|
||||
/* Make sure to free the internal buffers for flex when we are
|
||||
* done reading our input!
|
||||
@ -2009,17 +2009,17 @@ case YY_STATE_EOF(INITIAL):
|
||||
YY_BREAK
|
||||
case 155:
|
||||
YY_RULE_SETUP
|
||||
#line 270 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 270 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ /* Ignore whitespace */ }
|
||||
YY_BREAK
|
||||
case 156:
|
||||
YY_RULE_SETUP
|
||||
#line 271 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 271 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
{ return yytext[0]; }
|
||||
YY_BREAK
|
||||
case 157:
|
||||
YY_RULE_SETUP
|
||||
#line 273 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 273 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
YY_FATAL_ERROR( "flex scanner jammed" );
|
||||
YY_BREAK
|
||||
#line 2026 "UpgradeLexer.cpp"
|
||||
@ -2900,5 +2900,5 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#line 273 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
#line 273 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
return sym
|
||||
|
||||
#define RET_TY(sym,OldTY,NewTY,sign) \
|
||||
Upgradelval.Type = TypeInfo::get(NewTY, OldTY); \
|
||||
Upgradelval.Type = getTypeInfo(NewTY, OldTY); \
|
||||
return sym
|
||||
|
||||
#define YY_NEVER_INTERACTIVE 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -331,12 +331,12 @@
|
||||
|
||||
|
||||
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
||||
#line 806 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y"
|
||||
#line 968 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeParser.y"
|
||||
typedef union YYSTYPE {
|
||||
std::string* String;
|
||||
const TypeInfo* Type;
|
||||
ValueInfo Value;
|
||||
ConstInfo Const;
|
||||
ValueInfo* Value;
|
||||
ConstInfo* Const;
|
||||
ValueList* ValList;
|
||||
TypeList* TypeVec;
|
||||
} YYSTYPE;
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user