Regenerate

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-01-15 00:26:18 +00:00
parent e0a15bbc02
commit 30d0c58fc9
5 changed files with 1476 additions and 1029 deletions

View File

@ -923,7 +923,7 @@ goto find_rule; \
#define YY_MORE_ADJ 0 #define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET #define YY_RESTORE_YY_MORE_OFFSET
char *yytext; 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 #define INITIAL 0
/*===-- UpgradeLexer.l - Scanner for 1.9 assembly files --------*- C++ -*--===// /*===-- UpgradeLexer.l - Scanner for 1.9 assembly files --------*- C++ -*--===//
// //
@ -938,7 +938,7 @@ char *yytext;
// //
//===----------------------------------------------------------------------===*/ //===----------------------------------------------------------------------===*/
#define YY_NEVER_INTERACTIVE 1 #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 "UpgradeInternals.h"
#include "UpgradeParser.h" #include "UpgradeParser.h"
@ -962,7 +962,7 @@ char *yytext;
return sym return sym
#define RET_TY(sym,OldTY,NewTY,sign) \ #define RET_TY(sym,OldTY,NewTY,sign) \
Upgradelval.Type = TypeInfo::get(NewTY, OldTY); \ Upgradelval.Type = getTypeInfo(NewTY, OldTY); \
return sym return sym
#define YY_NEVER_INTERACTIVE 1 #define YY_NEVER_INTERACTIVE 1
@ -1133,7 +1133,7 @@ YY_DECL
register char *yy_cp = NULL, *yy_bp = NULL; register char *yy_cp = NULL, *yy_bp = NULL;
register int yy_act; 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" #line 1140 "UpgradeLexer.cpp"
@ -1229,776 +1229,776 @@ do_action: /* This label is used only to access EOF actions. */
{ /* beginning of action switch */ { /* beginning of action switch */
case 1: case 1:
YY_RULE_SETUP 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 */ } { /* Ignore comments for now */ }
YY_BREAK YY_BREAK
case 2: case 2:
YY_RULE_SETUP 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); } { RET_TOK( BEGINTOK); }
YY_BREAK YY_BREAK
case 3: case 3:
YY_RULE_SETUP 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); } { RET_TOK( ENDTOK); }
YY_BREAK YY_BREAK
case 4: case 4:
YY_RULE_SETUP 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); } { RET_TOK( TRUETOK); }
YY_BREAK YY_BREAK
case 5: case 5:
YY_RULE_SETUP 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); } { RET_TOK( FALSETOK); }
YY_BREAK YY_BREAK
case 6: case 6:
YY_RULE_SETUP 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); } { RET_TOK( DECLARE); }
YY_BREAK YY_BREAK
case 7: case 7:
YY_RULE_SETUP 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); } { RET_TOK( GLOBAL); }
YY_BREAK YY_BREAK
case 8: case 8:
YY_RULE_SETUP 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); } { RET_TOK( CONSTANT); }
YY_BREAK YY_BREAK
case 9: case 9:
YY_RULE_SETUP 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); } { RET_TOK( INTERNAL); }
YY_BREAK YY_BREAK
case 10: case 10:
YY_RULE_SETUP 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); } { RET_TOK( LINKONCE); }
YY_BREAK YY_BREAK
case 11: case 11:
YY_RULE_SETUP 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); } { RET_TOK( WEAK); }
YY_BREAK YY_BREAK
case 12: case 12:
YY_RULE_SETUP 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); } { RET_TOK( APPENDING); }
YY_BREAK YY_BREAK
case 13: case 13:
YY_RULE_SETUP 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); } { RET_TOK( DLLIMPORT); }
YY_BREAK YY_BREAK
case 14: case 14:
YY_RULE_SETUP 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); } { RET_TOK( DLLEXPORT); }
YY_BREAK YY_BREAK
case 15: case 15:
YY_RULE_SETUP 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); } { RET_TOK( EXTERN_WEAK); }
YY_BREAK YY_BREAK
case 16: case 16:
YY_RULE_SETUP 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); } { RET_TOK( EXTERNAL); }
YY_BREAK YY_BREAK
case 17: case 17:
YY_RULE_SETUP 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 { RET_TOK( UNINITIALIZED); } // alias for external
YY_BREAK YY_BREAK
case 18: case 18:
YY_RULE_SETUP 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); } { RET_TOK( IMPLEMENTATION); }
YY_BREAK YY_BREAK
case 19: case 19:
YY_RULE_SETUP 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); } { RET_TOK( ZEROINITIALIZER); }
YY_BREAK YY_BREAK
case 20: case 20:
YY_RULE_SETUP 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); } { RET_TOK( DOTDOTDOT); }
YY_BREAK YY_BREAK
case 21: case 21:
YY_RULE_SETUP 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); } { RET_TOK( UNDEF); }
YY_BREAK YY_BREAK
case 22: case 22:
YY_RULE_SETUP 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); } { RET_TOK( NULL_TOK); }
YY_BREAK YY_BREAK
case 23: case 23:
YY_RULE_SETUP 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); } { RET_TOK( TO); }
YY_BREAK YY_BREAK
case 24: case 24:
YY_RULE_SETUP 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); } { RET_TOK( TAIL); }
YY_BREAK YY_BREAK
case 25: case 25:
YY_RULE_SETUP 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); } { RET_TOK( TARGET); }
YY_BREAK YY_BREAK
case 26: case 26:
YY_RULE_SETUP 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); } { RET_TOK( TRIPLE); }
YY_BREAK YY_BREAK
case 27: case 27:
YY_RULE_SETUP 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); } { RET_TOK( DEPLIBS); }
YY_BREAK YY_BREAK
case 28: case 28:
YY_RULE_SETUP 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); } { RET_TOK( ENDIAN); }
YY_BREAK YY_BREAK
case 29: case 29:
YY_RULE_SETUP 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); } { RET_TOK( POINTERSIZE); }
YY_BREAK YY_BREAK
case 30: case 30:
YY_RULE_SETUP 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); } { RET_TOK( DATALAYOUT); }
YY_BREAK YY_BREAK
case 31: case 31:
YY_RULE_SETUP 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); } { RET_TOK( LITTLE); }
YY_BREAK YY_BREAK
case 32: case 32:
YY_RULE_SETUP 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); } { RET_TOK( BIG); }
YY_BREAK YY_BREAK
case 33: case 33:
YY_RULE_SETUP 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); } { RET_TOK( VOLATILE); }
YY_BREAK YY_BREAK
case 34: case 34:
YY_RULE_SETUP 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); } { RET_TOK( ALIGN); }
YY_BREAK YY_BREAK
case 35: case 35:
YY_RULE_SETUP 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); } { RET_TOK( SECTION); }
YY_BREAK YY_BREAK
case 36: case 36:
YY_RULE_SETUP 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); } { RET_TOK( MODULE); }
YY_BREAK YY_BREAK
case 37: case 37:
YY_RULE_SETUP 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); } { RET_TOK( ASM_TOK); }
YY_BREAK YY_BREAK
case 38: case 38:
YY_RULE_SETUP 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); } { RET_TOK( SIDEEFFECT); }
YY_BREAK YY_BREAK
case 39: case 39:
YY_RULE_SETUP 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); } { RET_TOK( CC_TOK); }
YY_BREAK YY_BREAK
case 40: case 40:
YY_RULE_SETUP 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); } { RET_TOK( CCC_TOK); }
YY_BREAK YY_BREAK
case 41: case 41:
YY_RULE_SETUP 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); } { RET_TOK( CSRETCC_TOK); }
YY_BREAK YY_BREAK
case 42: case 42:
YY_RULE_SETUP 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); } { RET_TOK( FASTCC_TOK); }
YY_BREAK YY_BREAK
case 43: case 43:
YY_RULE_SETUP 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); } { RET_TOK( COLDCC_TOK); }
YY_BREAK YY_BREAK
case 44: case 44:
YY_RULE_SETUP 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); } { RET_TOK( X86_STDCALLCC_TOK); }
YY_BREAK YY_BREAK
case 45: case 45:
YY_RULE_SETUP 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); } { RET_TOK( X86_FASTCALLCC_TOK); }
YY_BREAK YY_BREAK
case 46: case 46:
YY_RULE_SETUP 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); } { RET_TY(VOID,VoidTy,"void",false); }
YY_BREAK YY_BREAK
case 47: case 47:
YY_RULE_SETUP 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); } { RET_TY(BOOL,BoolTy,"i1",false); }
YY_BREAK YY_BREAK
case 48: case 48:
YY_RULE_SETUP 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); } { RET_TY(SBYTE,SByteTy,"i8",true); }
YY_BREAK YY_BREAK
case 49: case 49:
YY_RULE_SETUP 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); } { RET_TY(UBYTE,UByteTy,"i8",false); }
YY_BREAK YY_BREAK
case 50: case 50:
YY_RULE_SETUP 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); } { RET_TY(SHORT,ShortTy,"i16",true); }
YY_BREAK YY_BREAK
case 51: case 51:
YY_RULE_SETUP 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); } { RET_TY(USHORT,UShortTy,"i16",false); }
YY_BREAK YY_BREAK
case 52: case 52:
YY_RULE_SETUP 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); } { RET_TY(INT,IntTy,"i32",true); }
YY_BREAK YY_BREAK
case 53: case 53:
YY_RULE_SETUP 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); } { RET_TY(UINT,UIntTy,"i32",false); }
YY_BREAK YY_BREAK
case 54: case 54:
YY_RULE_SETUP 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); } { RET_TY(LONG,LongTy,"i64",true); }
YY_BREAK YY_BREAK
case 55: case 55:
YY_RULE_SETUP 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); } { RET_TY(ULONG,ULongTy,"i64",false); }
YY_BREAK YY_BREAK
case 56: case 56:
YY_RULE_SETUP 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); } { RET_TY(UBYTE,UByteTy,"i8",false); }
YY_BREAK YY_BREAK
case 57: case 57:
YY_RULE_SETUP 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); } { RET_TY(USHORT,UShortTy,"i16",false); }
YY_BREAK YY_BREAK
case 58: case 58:
YY_RULE_SETUP 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); } { RET_TY(UINT,UIntTy,"i32",false); }
YY_BREAK YY_BREAK
case 59: case 59:
YY_RULE_SETUP 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); } { RET_TY(ULONG,ULongTy,"i64",false); }
YY_BREAK YY_BREAK
case 60: case 60:
YY_RULE_SETUP 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); } { RET_TY(FLOAT,FloatTy,"float",false); }
YY_BREAK YY_BREAK
case 61: case 61:
YY_RULE_SETUP 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); } { RET_TY(DOUBLE,DoubleTy,"double",false); }
YY_BREAK YY_BREAK
case 62: case 62:
YY_RULE_SETUP 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); } { RET_TY(LABEL,LabelTy,"label",false); }
YY_BREAK YY_BREAK
case 63: case 63:
YY_RULE_SETUP 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); } { RET_TOK(OPAQUE); }
YY_BREAK YY_BREAK
case 64: case 64:
YY_RULE_SETUP 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); } { RET_TOK(TYPE); }
YY_BREAK YY_BREAK
case 65: case 65:
YY_RULE_SETUP 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); } { RET_TOK( ADD); }
YY_BREAK YY_BREAK
case 66: case 66:
YY_RULE_SETUP 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); } { RET_TOK( SUB); }
YY_BREAK YY_BREAK
case 67: case 67:
YY_RULE_SETUP 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); } { RET_TOK( MUL); }
YY_BREAK YY_BREAK
case 68: case 68:
YY_RULE_SETUP 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); } { RET_TOK( DIV); }
YY_BREAK YY_BREAK
case 69: case 69:
YY_RULE_SETUP 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); } { RET_TOK( UDIV); }
YY_BREAK YY_BREAK
case 70: case 70:
YY_RULE_SETUP 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); } { RET_TOK( SDIV); }
YY_BREAK YY_BREAK
case 71: case 71:
YY_RULE_SETUP 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); } { RET_TOK( FDIV); }
YY_BREAK YY_BREAK
case 72: case 72:
YY_RULE_SETUP 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); } { RET_TOK( REM); }
YY_BREAK YY_BREAK
case 73: case 73:
YY_RULE_SETUP 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); } { RET_TOK( UREM); }
YY_BREAK YY_BREAK
case 74: case 74:
YY_RULE_SETUP 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); } { RET_TOK( SREM); }
YY_BREAK YY_BREAK
case 75: case 75:
YY_RULE_SETUP 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); } { RET_TOK( FREM); }
YY_BREAK YY_BREAK
case 76: case 76:
YY_RULE_SETUP 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); } { RET_TOK( AND); }
YY_BREAK YY_BREAK
case 77: case 77:
YY_RULE_SETUP 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); } { RET_TOK( OR); }
YY_BREAK YY_BREAK
case 78: case 78:
YY_RULE_SETUP 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); } { RET_TOK( XOR); }
YY_BREAK YY_BREAK
case 79: case 79:
YY_RULE_SETUP 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); } { RET_TOK( SETNE); }
YY_BREAK YY_BREAK
case 80: case 80:
YY_RULE_SETUP 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); } { RET_TOK( SETEQ); }
YY_BREAK YY_BREAK
case 81: case 81:
YY_RULE_SETUP 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); } { RET_TOK( SETLT); }
YY_BREAK YY_BREAK
case 82: case 82:
YY_RULE_SETUP 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); } { RET_TOK( SETGT); }
YY_BREAK YY_BREAK
case 83: case 83:
YY_RULE_SETUP 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); } { RET_TOK( SETLE); }
YY_BREAK YY_BREAK
case 84: case 84:
YY_RULE_SETUP 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); } { RET_TOK( SETGE); }
YY_BREAK YY_BREAK
case 85: case 85:
YY_RULE_SETUP 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); } { RET_TOK(ICMP); }
YY_BREAK YY_BREAK
case 86: case 86:
YY_RULE_SETUP 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); } { RET_TOK(FCMP); }
YY_BREAK YY_BREAK
case 87: case 87:
YY_RULE_SETUP 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); } { RET_TOK(EQ); }
YY_BREAK YY_BREAK
case 88: case 88:
YY_RULE_SETUP 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); } { RET_TOK(NE); }
YY_BREAK YY_BREAK
case 89: case 89:
YY_RULE_SETUP 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); } { RET_TOK(SLT); }
YY_BREAK YY_BREAK
case 90: case 90:
YY_RULE_SETUP 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); } { RET_TOK(SGT); }
YY_BREAK YY_BREAK
case 91: case 91:
YY_RULE_SETUP 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); } { RET_TOK(SLE); }
YY_BREAK YY_BREAK
case 92: case 92:
YY_RULE_SETUP 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); } { RET_TOK(SGE); }
YY_BREAK YY_BREAK
case 93: case 93:
YY_RULE_SETUP 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); } { RET_TOK(OEQ); }
YY_BREAK YY_BREAK
case 94: case 94:
YY_RULE_SETUP 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); } { RET_TOK(ONE); }
YY_BREAK YY_BREAK
case 95: case 95:
YY_RULE_SETUP 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); } { RET_TOK(OLT); }
YY_BREAK YY_BREAK
case 96: case 96:
YY_RULE_SETUP 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); } { RET_TOK(OGT); }
YY_BREAK YY_BREAK
case 97: case 97:
YY_RULE_SETUP 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); } { RET_TOK(OLE); }
YY_BREAK YY_BREAK
case 98: case 98:
YY_RULE_SETUP 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); } { RET_TOK(OGE); }
YY_BREAK YY_BREAK
case 99: case 99:
YY_RULE_SETUP 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); } { RET_TOK(ORD); }
YY_BREAK YY_BREAK
case 100: case 100:
YY_RULE_SETUP 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); } { RET_TOK(UNO); }
YY_BREAK YY_BREAK
case 101: case 101:
YY_RULE_SETUP 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); } { RET_TOK(UEQ); }
YY_BREAK YY_BREAK
case 102: case 102:
YY_RULE_SETUP 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); } { RET_TOK(UNE); }
YY_BREAK YY_BREAK
case 103: case 103:
YY_RULE_SETUP 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); } { RET_TOK(ULT); }
YY_BREAK YY_BREAK
case 104: case 104:
YY_RULE_SETUP 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); } { RET_TOK(UGT); }
YY_BREAK YY_BREAK
case 105: case 105:
YY_RULE_SETUP 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); } { RET_TOK(ULE); }
YY_BREAK YY_BREAK
case 106: case 106:
YY_RULE_SETUP 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); } { RET_TOK(UGE); }
YY_BREAK YY_BREAK
case 107: case 107:
YY_RULE_SETUP 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); } { RET_TOK( PHI_TOK); }
YY_BREAK YY_BREAK
case 108: case 108:
YY_RULE_SETUP 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); } { RET_TOK( CALL); }
YY_BREAK YY_BREAK
case 109: case 109:
YY_RULE_SETUP 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); } { RET_TOK( CAST); }
YY_BREAK YY_BREAK
case 110: case 110:
YY_RULE_SETUP 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); } { RET_TOK( TRUNC); }
YY_BREAK YY_BREAK
case 111: case 111:
YY_RULE_SETUP 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); } { RET_TOK( ZEXT); }
YY_BREAK YY_BREAK
case 112: case 112:
YY_RULE_SETUP 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); } { RET_TOK( SEXT); }
YY_BREAK YY_BREAK
case 113: case 113:
YY_RULE_SETUP 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); } { RET_TOK( FPTRUNC); }
YY_BREAK YY_BREAK
case 114: case 114:
YY_RULE_SETUP 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); } { RET_TOK( FPEXT); }
YY_BREAK YY_BREAK
case 115: case 115:
YY_RULE_SETUP 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); } { RET_TOK( FPTOUI); }
YY_BREAK YY_BREAK
case 116: case 116:
YY_RULE_SETUP 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); } { RET_TOK( FPTOSI); }
YY_BREAK YY_BREAK
case 117: case 117:
YY_RULE_SETUP 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); } { RET_TOK( UITOFP); }
YY_BREAK YY_BREAK
case 118: case 118:
YY_RULE_SETUP 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); } { RET_TOK( SITOFP); }
YY_BREAK YY_BREAK
case 119: case 119:
YY_RULE_SETUP 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); } { RET_TOK( PTRTOINT); }
YY_BREAK YY_BREAK
case 120: case 120:
YY_RULE_SETUP 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); } { RET_TOK( INTTOPTR); }
YY_BREAK YY_BREAK
case 121: case 121:
YY_RULE_SETUP 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); } { RET_TOK( BITCAST); }
YY_BREAK YY_BREAK
case 122: case 122:
YY_RULE_SETUP 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); } { RET_TOK( SELECT); }
YY_BREAK YY_BREAK
case 123: case 123:
YY_RULE_SETUP 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); } { RET_TOK( SHL); }
YY_BREAK YY_BREAK
case 124: case 124:
YY_RULE_SETUP 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); } { RET_TOK( SHR); }
YY_BREAK YY_BREAK
case 125: case 125:
YY_RULE_SETUP 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); } { RET_TOK( ASHR); }
YY_BREAK YY_BREAK
case 126: case 126:
YY_RULE_SETUP 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); } { RET_TOK( LSHR); }
YY_BREAK YY_BREAK
case 127: case 127:
YY_RULE_SETUP 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); } { RET_TOK( VAARG); }
YY_BREAK YY_BREAK
case 128: case 128:
YY_RULE_SETUP 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); } { RET_TOK( RET); }
YY_BREAK YY_BREAK
case 129: case 129:
YY_RULE_SETUP 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); } { RET_TOK( BR); }
YY_BREAK YY_BREAK
case 130: case 130:
YY_RULE_SETUP 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); } { RET_TOK( SWITCH); }
YY_BREAK YY_BREAK
case 131: case 131:
YY_RULE_SETUP 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); } { RET_TOK( INVOKE); }
YY_BREAK YY_BREAK
case 132: case 132:
YY_RULE_SETUP 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); } { RET_TOK( UNWIND); }
YY_BREAK YY_BREAK
case 133: case 133:
YY_RULE_SETUP 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 { RET_TOK( EXCEPT); } // alias for unwind
YY_BREAK YY_BREAK
case 134: case 134:
YY_RULE_SETUP 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); } { RET_TOK( UNREACHABLE); }
YY_BREAK YY_BREAK
case 135: case 135:
YY_RULE_SETUP 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); } { RET_TOK( MALLOC); }
YY_BREAK YY_BREAK
case 136: case 136:
YY_RULE_SETUP 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); } { RET_TOK( ALLOCA); }
YY_BREAK YY_BREAK
case 137: case 137:
YY_RULE_SETUP 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); } { RET_TOK( FREE); }
YY_BREAK YY_BREAK
case 138: case 138:
YY_RULE_SETUP 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); } { RET_TOK( LOAD); }
YY_BREAK YY_BREAK
case 139: case 139:
YY_RULE_SETUP 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); } { RET_TOK( STORE); }
YY_BREAK YY_BREAK
case 140: case 140:
YY_RULE_SETUP 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); } { RET_TOK( GETELEMENTPTR); }
YY_BREAK YY_BREAK
case 141: case 141:
YY_RULE_SETUP 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); } { RET_TOK( EXTRACTELEMENT); }
YY_BREAK YY_BREAK
case 142: case 142:
YY_RULE_SETUP 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); } { RET_TOK( INSERTELEMENT); }
YY_BREAK YY_BREAK
case 143: case 143:
YY_RULE_SETUP 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); } { RET_TOK( SHUFFLEVECTOR); }
YY_BREAK YY_BREAK
case 144: case 144:
YY_RULE_SETUP 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); } { RET_TOK( VAR_ID); }
YY_BREAK YY_BREAK
case 145: case 145:
YY_RULE_SETUP 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); } { RET_TOK( LABELSTR); }
YY_BREAK YY_BREAK
case 146: case 146:
YY_RULE_SETUP 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); } { RET_TOK( LABELSTR); }
YY_BREAK YY_BREAK
case 147: case 147:
YY_RULE_SETUP 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 ); } { RET_TOK( STRINGCONSTANT ); }
YY_BREAK YY_BREAK
case 148: case 148:
YY_RULE_SETUP 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 ); } { RET_TOK( EUINT64VAL ); }
YY_BREAK YY_BREAK
case 149: case 149:
YY_RULE_SETUP 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 ); } { RET_TOK( ESINT64VAL ); }
YY_BREAK YY_BREAK
case 150: case 150:
YY_RULE_SETUP 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 ); } { RET_TOK( yytext[0] == 's' ? ESINT64VAL : EUINT64VAL ); }
YY_BREAK YY_BREAK
case 151: case 151:
YY_RULE_SETUP 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); } { RET_TOK( UINTVAL); }
YY_BREAK YY_BREAK
case 152: case 152:
YY_RULE_SETUP 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); } { RET_TOK( SINTVAL); }
YY_BREAK YY_BREAK
case 153: case 153:
YY_RULE_SETUP 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); } { RET_TOK( FPVAL); }
YY_BREAK YY_BREAK
case 154: case 154:
YY_RULE_SETUP 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); } { RET_TOK( FPVAL); }
YY_BREAK YY_BREAK
case YY_STATE_EOF(INITIAL): 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 /* Make sure to free the internal buffers for flex when we are
* done reading our input! * done reading our input!
@ -2009,17 +2009,17 @@ case YY_STATE_EOF(INITIAL):
YY_BREAK YY_BREAK
case 155: case 155:
YY_RULE_SETUP 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 */ } { /* Ignore whitespace */ }
YY_BREAK YY_BREAK
case 156: case 156:
YY_RULE_SETUP 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]; } { return yytext[0]; }
YY_BREAK YY_BREAK
case 157: case 157:
YY_RULE_SETUP 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_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK YY_BREAK
#line 2026 "UpgradeLexer.cpp" #line 2026 "UpgradeLexer.cpp"
@ -2900,5 +2900,5 @@ int main()
return 0; return 0;
} }
#endif #endif
#line 273 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" #line 273 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeLexer.l"

View File

@ -48,7 +48,7 @@
return sym return sym
#define RET_TY(sym,OldTY,NewTY,sign) \ #define RET_TY(sym,OldTY,NewTY,sign) \
Upgradelval.Type = TypeInfo::get(NewTY, OldTY); \ Upgradelval.Type = getTypeInfo(NewTY, OldTY); \
return sym return sym
#define YY_NEVER_INTERACTIVE 1 #define YY_NEVER_INTERACTIVE 1

File diff suppressed because it is too large Load Diff

View File

@ -331,12 +331,12 @@
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #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 { typedef union YYSTYPE {
std::string* String; std::string* String;
const TypeInfo* Type; const TypeInfo* Type;
ValueInfo Value; ValueInfo* Value;
ConstInfo Const; ConstInfo* Const;
ValueList* ValList; ValueList* ValList;
TypeList* TypeVec; TypeList* TypeVec;
} YYSTYPE; } YYSTYPE;

File diff suppressed because it is too large Load Diff