Update generated files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2007-08-01 03:59:32 +00:00
parent 52eec54820
commit 718fda37a7
7 changed files with 2398 additions and 2733 deletions

View File

@ -17,7 +17,7 @@
#define yylineno llvmAsmlineno
#line 20 "Lexer.cpp"
/* A lexical scanner generated by flex*/
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
@ -153,15 +153,6 @@ extern FILE *yyin, *yyout;
#define unput(c) yyunput( c, yytext_ptr )
/* Some routines like yy_flex_realloc() are emitted as static but are
not called by all lexers. This generates warnings in some compilers,
notably GCC. Arrange to suppress these. */
#ifdef __GNUC__
#define YY_MAY_BE_UNUSED __attribute__((unused))
#else
#define YY_MAY_BE_UNUSED
#endif
/* The following is because we cannot portably get our hands on size_t
* (without autoconf's help, which isn't available because we want
* flex-generated scanners to compile on their own).
@ -268,7 +259,7 @@ YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) YY_MAY_BE_UNUSED;
static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));
#define yy_new_buffer yy_create_buffer
@ -909,7 +900,7 @@ goto find_rule; \
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 1 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
#define INITIAL 0
/*===-- Lexer.l - Scanner for llvm assembly files --------------*- C++ -*--===//
//
@ -924,7 +915,7 @@ char *yytext;
//
//===----------------------------------------------------------------------===*/
#define YY_NEVER_INTERACTIVE 1
#line 28 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 28 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
#include "ParserInternals.h"
#include "llvm/Module.h"
#include "llvm/Support/MathExtras.h"
@ -1047,7 +1038,7 @@ using namespace llvm;
* it to deal with 64 bit numbers.
*/
/* WSNL - shorthand for whitespace followed by newline */
#line 1051 "Lexer.cpp"
#line 1042 "Lexer.cpp"
/* Macros after this point can all be overridden by user definitions in
* section 1.
@ -1198,10 +1189,10 @@ YY_DECL
register char *yy_cp = NULL, *yy_bp = NULL;
register int yy_act;
#line 182 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 182 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
#line 1205 "Lexer.cpp"
#line 1196 "Lexer.cpp"
if ( yy_init )
{
@ -1294,262 +1285,262 @@ do_action: /* This label is used only to access EOF actions. */
{ /* beginning of action switch */
case 1:
YY_RULE_SETUP
#line 184 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 184 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ /* Ignore comments for now */ }
YY_BREAK
case 2:
YY_RULE_SETUP
#line 186 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 186 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return BEGINTOK; }
YY_BREAK
case 3:
YY_RULE_SETUP
#line 187 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 187 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ENDTOK; }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 188 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 188 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return TRUETOK; }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 189 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 189 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return FALSETOK; }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 190 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 190 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DECLARE; }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 191 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 191 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DEFINE; }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 192 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 192 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return GLOBAL; }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 193 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 193 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return CONSTANT; }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 194 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 194 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return INTERNAL; }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 195 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 195 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return LINKONCE; }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 196 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 196 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return WEAK; }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 197 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 197 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return APPENDING; }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 198 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 198 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DLLIMPORT; }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 199 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 199 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DLLEXPORT; }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 200 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 200 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return HIDDEN; }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 201 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 201 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return PROTECTED; }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 202 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 202 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return EXTERN_WEAK; }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 203 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 203 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return EXTERNAL; }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 204 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 204 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return THREAD_LOCAL; }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 205 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 205 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ZEROINITIALIZER; }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 206 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 206 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DOTDOTDOT; }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 207 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 207 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return UNDEF; }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 208 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 208 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return NULL_TOK; }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 209 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 209 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return TO; }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 210 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 210 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return TAIL; }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 211 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 211 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return TARGET; }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 212 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 212 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return TRIPLE; }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 213 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 213 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DEPLIBS; }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 214 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 214 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return DATALAYOUT; }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 215 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 215 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return VOLATILE; }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 216 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 216 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ALIGN; }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 217 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 217 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SECTION; }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 218 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 218 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ALIAS; }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 219 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 219 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return MODULE; }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 220 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 220 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ASM_TOK; }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 221 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 221 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SIDEEFFECT; }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 223 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 223 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return CC_TOK; }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 224 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 224 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return CCC_TOK; }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 225 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 225 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return FASTCC_TOK; }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 226 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 226 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return COLDCC_TOK; }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 227 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 227 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return X86_STDCALLCC_TOK; }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 228 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 228 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return X86_FASTCALLCC_TOK; }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 230 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 230 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SIGNEXT; }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 231 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 231 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ZEROEXT; }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 232 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 232 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return INREG; }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 233 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 233 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SRET; }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 234 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 234 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return NOUNWIND; }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 235 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 235 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return NORETURN; }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 236 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 236 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return NOALIAS; }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 237 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 237 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return BYVAL; }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 238 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 238 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return NEST; }
YY_BREAK
case 53:
@ -1557,7 +1548,7 @@ case 53:
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 239 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 239 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ // For auto-upgrade only, drop in LLVM 3.0
return SIGNEXT; }
YY_BREAK
@ -1566,43 +1557,43 @@ case 54:
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 241 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 241 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ // For auto-upgrade only, drop in LLVM 3.0
return ZEROEXT; }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 244 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 244 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TY(Type::VoidTy, VOID); }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 245 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 245 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TY(Type::FloatTy, FLOAT); }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 246 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 246 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TY(Type::DoubleTy,DOUBLE);}
YY_BREAK
case 58:
YY_RULE_SETUP
#line 247 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 247 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TY(Type::LabelTy, LABEL); }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 248 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 248 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return TYPE; }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 249 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 249 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return OPAQUE; }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 250 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 250 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ uint64_t NumBits = atoull(yytext+1);
if (NumBits < IntegerType::MIN_INT_BITS ||
NumBits > IntegerType::MAX_INT_BITS)
@ -1613,347 +1604,347 @@ YY_RULE_SETUP
YY_BREAK
case 62:
YY_RULE_SETUP
#line 258 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 258 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, Add, ADD); }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 259 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 259 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, Sub, SUB); }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 260 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 260 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, Mul, MUL); }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 261 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 261 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, UDiv, UDIV); }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 262 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 262 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, SDiv, SDIV); }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 263 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 263 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, FDiv, FDIV); }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 264 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 264 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, URem, UREM); }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 265 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 265 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, SRem, SREM); }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 266 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 266 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, FRem, FREM); }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 267 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 267 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, Shl, SHL); }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 268 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 268 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, LShr, LSHR); }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 269 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 269 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, AShr, ASHR); }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 270 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 270 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, And, AND); }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 271 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 271 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, Or , OR ); }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 272 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 272 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(BinaryOpVal, Xor, XOR); }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 273 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 273 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, ICmp, ICMP); }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 274 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 274 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, FCmp, FCMP); }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 276 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 276 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return EQ; }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 277 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 277 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return NE; }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 278 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 278 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SLT; }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 279 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 279 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SGT; }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 280 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 280 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SLE; }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 281 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 281 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return SGE; }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 282 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 282 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ULT; }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 283 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 283 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return UGT; }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 284 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 284 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ULE; }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 285 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 285 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return UGE; }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 286 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 286 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return OEQ; }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 287 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 287 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ONE; }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 288 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 288 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return OLT; }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 289 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 289 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return OGT; }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 290 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 290 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return OLE; }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 291 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 291 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return OGE; }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 292 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 292 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return ORD; }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 293 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 293 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return UNO; }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 294 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 294 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return UEQ; }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 295 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 295 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return UNE; }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 297 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 297 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, PHI, PHI_TOK); }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 298 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 298 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, Call, CALL); }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 299 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 299 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, Trunc, TRUNC); }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 300 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 300 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, ZExt, ZEXT); }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 301 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 301 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, SExt, SEXT); }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 302 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 302 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, FPTrunc, FPTRUNC); }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 303 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 303 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, FPExt, FPEXT); }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 304 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 304 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, UIToFP, UITOFP); }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 305 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 305 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, SIToFP, SITOFP); }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 306 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 306 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, FPToUI, FPTOUI); }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 307 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 307 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, FPToSI, FPTOSI); }
YY_BREAK
case 110:
YY_RULE_SETUP
#line 308 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 308 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, IntToPtr, INTTOPTR); }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 309 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 309 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, PtrToInt, PTRTOINT); }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 310 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 310 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(CastOpVal, BitCast, BITCAST); }
YY_BREAK
case 113:
YY_RULE_SETUP
#line 311 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 311 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, Select, SELECT); }
YY_BREAK
case 114:
YY_RULE_SETUP
#line 312 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 312 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, VAArg , VAARG); }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 313 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 313 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(TermOpVal, Ret, RET); }
YY_BREAK
case 116:
YY_RULE_SETUP
#line 314 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 314 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(TermOpVal, Br, BR); }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 315 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 315 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(TermOpVal, Switch, SWITCH); }
YY_BREAK
case 118:
YY_RULE_SETUP
#line 316 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 316 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(TermOpVal, Invoke, INVOKE); }
YY_BREAK
case 119:
YY_RULE_SETUP
#line 317 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 317 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(TermOpVal, Unwind, UNWIND); }
YY_BREAK
case 120:
YY_RULE_SETUP
#line 318 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 318 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(TermOpVal, Unreachable, UNREACHABLE); }
YY_BREAK
case 121:
YY_RULE_SETUP
#line 320 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 320 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(MemOpVal, Malloc, MALLOC); }
YY_BREAK
case 122:
YY_RULE_SETUP
#line 321 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 321 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(MemOpVal, Alloca, ALLOCA); }
YY_BREAK
case 123:
YY_RULE_SETUP
#line 322 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 322 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(MemOpVal, Free, FREE); }
YY_BREAK
case 124:
YY_RULE_SETUP
#line 323 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 323 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(MemOpVal, Load, LOAD); }
YY_BREAK
case 125:
YY_RULE_SETUP
#line 324 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 324 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(MemOpVal, Store, STORE); }
YY_BREAK
case 126:
YY_RULE_SETUP
#line 325 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 325 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(MemOpVal, GetElementPtr, GETELEMENTPTR); }
YY_BREAK
case 127:
YY_RULE_SETUP
#line 327 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 327 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, ExtractElement, EXTRACTELEMENT); }
YY_BREAK
case 128:
YY_RULE_SETUP
#line 328 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 328 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, InsertElement, INSERTELEMENT); }
YY_BREAK
case 129:
YY_RULE_SETUP
#line 329 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 329 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); }
YY_BREAK
case 130:
YY_RULE_SETUP
#line 332 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 332 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
llvmAsmlval.StrVal = new std::string(yytext+1); // Skip %
return LOCALVAR;
@ -1961,7 +1952,7 @@ YY_RULE_SETUP
YY_BREAK
case 131:
YY_RULE_SETUP
#line 336 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 336 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
llvmAsmlval.StrVal = new std::string(yytext+1); // Skip @
return GLOBALVAR;
@ -1969,7 +1960,7 @@ YY_RULE_SETUP
YY_BREAK
case 132:
YY_RULE_SETUP
#line 340 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 340 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
yytext[yyleng-1] = 0; // nuke colon
llvmAsmlval.StrVal = new std::string(yytext);
@ -1978,7 +1969,7 @@ YY_RULE_SETUP
YY_BREAK
case 133:
YY_RULE_SETUP
#line 345 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 345 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
yytext[yyleng-2] = 0; // nuke colon, end quote
const char* EndChar = UnEscapeLexed(yytext+1, yytext+yyleng);
@ -1989,7 +1980,7 @@ YY_RULE_SETUP
YY_BREAK
case 134:
YY_RULE_SETUP
#line 353 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 353 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ yytext[yyleng-1] = 0; // nuke end quote
const char* EndChar = UnEscapeLexed(yytext+1, yytext+yyleng);
llvmAsmlval.StrVal =
@ -1999,7 +1990,7 @@ YY_RULE_SETUP
YY_BREAK
case 135:
YY_RULE_SETUP
#line 359 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 359 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
yytext[yyleng-1] = 0; // nuke end quote
const char* EndChar =
@ -2011,7 +2002,7 @@ YY_RULE_SETUP
YY_BREAK
case 136:
YY_RULE_SETUP
#line 367 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 367 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
yytext[yyleng-1] = 0; // nuke end quote
const char* EndChar =
@ -2023,7 +2014,7 @@ YY_RULE_SETUP
YY_BREAK
case 137:
YY_RULE_SETUP
#line 375 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 375 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
uint32_t numBits = ((yyleng * 64) / 19) + 1;
APInt Tmp(numBits, yytext, yyleng, 10);
@ -2041,7 +2032,7 @@ YY_RULE_SETUP
YY_BREAK
case 138:
YY_RULE_SETUP
#line 389 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 389 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
uint32_t numBits = (((yyleng-1) * 64) / 19) + 2;
APInt Tmp(numBits, yytext, yyleng, 10);
@ -2059,7 +2050,7 @@ YY_RULE_SETUP
YY_BREAK
case 139:
YY_RULE_SETUP
#line 404 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 404 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ int len = yyleng - 3;
uint32_t bits = len * 4;
APInt Tmp(bits, yytext+3, len, 16);
@ -2080,7 +2071,7 @@ YY_RULE_SETUP
YY_BREAK
case 140:
YY_RULE_SETUP
#line 422 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 422 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
uint64_t Val = atoull(yytext+1);
if ((unsigned)Val != Val)
@ -2091,7 +2082,7 @@ YY_RULE_SETUP
YY_BREAK
case 141:
YY_RULE_SETUP
#line 429 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 429 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
uint64_t Val = atoull(yytext+1);
if ((unsigned)Val != Val)
@ -2102,16 +2093,16 @@ YY_RULE_SETUP
YY_BREAK
case 142:
YY_RULE_SETUP
#line 437 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 437 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ llvmAsmlval.FPVal = atof(yytext); return FPVAL; }
YY_BREAK
case 143:
YY_RULE_SETUP
#line 438 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 438 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ llvmAsmlval.FPVal = HexToFP(yytext); return FPVAL; }
YY_BREAK
case YY_STATE_EOF(INITIAL):
#line 440 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 440 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{
/* Make sure to free the internal buffers for flex when we are
* done reading our input!
@ -2122,20 +2113,20 @@ case YY_STATE_EOF(INITIAL):
YY_BREAK
case 144:
YY_RULE_SETUP
#line 448 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 448 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ /* Ignore whitespace */ }
YY_BREAK
case 145:
YY_RULE_SETUP
#line 449 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 449 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
{ return yytext[0]; }
YY_BREAK
case 146:
YY_RULE_SETUP
#line 451 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 451 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
#line 2139 "Lexer.cpp"
#line 2130 "Lexer.cpp"
case YY_END_OF_BUFFER:
{
@ -3013,5 +3004,5 @@ int main()
return 0;
}
#endif
#line 451 "/proj/llvm/head/llvm/lib/AsmParser/Lexer.l"
#line 451 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/Lexer.l"

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
/* A Bison parser, made by GNU Bison 2.1. */
/* A Bison parser, made by GNU Bison 1.875c. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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,8 +15,8 @@
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., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
@ -171,7 +171,6 @@
PROTECTED = 397
};
#endif
/* Tokens. */
#define ESINT64VAL 258
#define EUINT64VAL 259
#define ESAPINTVAL 260
@ -317,7 +316,7 @@
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 957 "/proj/llvm/head/llvm/lib/AsmParser/llvmAsmParser.y"
#line 957 "/users/dag/projects/cascade/llvm.modified/lib/AsmParser/llvmAsmParser.y"
typedef union YYSTYPE {
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
@ -364,8 +363,8 @@ typedef union YYSTYPE {
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
} YYSTYPE;
/* Line 1447 of yacc.c. */
#line 369 "llvmAsmParser.tab.h"
/* Line 1268 of yacc.c. */
#line 368 "llvmAsmParser.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1

View File

@ -2958,7 +2958,7 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
GEN_ERROR("Invalid number of parameters detected");
}
// Create the call node
CallInst *CI = new CallInst(V, &Args[0], Args.size());
CallInst *CI = new CallInst(V, Args.begin(), Args.end());
CI->setTailCall($1);
CI->setCallingConv($2);
$$ = CI;

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
/* A Bison parser, made by GNU Bison 2.1. */
/* A Bison parser, made by GNU Bison 1.875c. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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,8 +15,8 @@
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., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
@ -180,7 +180,6 @@
BITCAST = 406
};
#endif
/* Tokens. */
#define ESINT64VAL 258
#define EUINT64VAL 259
#define SINTVAL 260
@ -335,7 +334,7 @@
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 1775 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y"
#line 1776 "/users/dag/projects/cascade/llvm.modified/tools/llvm-upgrade/UpgradeParser.y"
typedef union YYSTYPE {
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
@ -377,8 +376,8 @@ typedef union YYSTYPE {
llvm::FCmpInst::Predicate FPred;
llvm::Module::Endianness Endianness;
} YYSTYPE;
/* Line 1447 of yacc.c. */
#line 382 "UpgradeParser.tab.h"
/* Line 1268 of yacc.c. */
#line 381 "UpgradeParser.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1

View File

@ -1513,7 +1513,7 @@ upgradeIntrinsicCall(const Type* RetTy, const ValID &ID,
const PointerType *PFTy = PointerType::get(FTy);
Value* Func = getVal(PFTy, ID);
Args[0] = new BitCastInst(Args[0], PtrTy, makeNameUnique("va"), CurBB);
return new CallInst(Func, &Args[0], Args.size());
return new CallInst(Func, Args.begin(), Args.end());
} else if (Name == "llvm.va_copy") {
if (Args.size() != 2)
error("Invalid prototype for " + Name + " prototype");
@ -1527,7 +1527,7 @@ upgradeIntrinsicCall(const Type* RetTy, const ValID &ID,
std::string InstName1(makeNameUnique("va1"));
Args[0] = new BitCastInst(Args[0], PtrTy, InstName0, CurBB);
Args[1] = new BitCastInst(Args[1], PtrTy, InstName1, CurBB);
return new CallInst(Func, &Args[0], Args.size());
return new CallInst(Func, Args.begin(), Args.end());
}
}
}
@ -1751,11 +1751,12 @@ Module* UpgradeAssembly(const std::string &infile, std::istream& in,
while (!F->use_empty()) {
CallInst* CI = cast<CallInst>(F->use_back());
AllocaInst* a = new AllocaInst(ArgTy, 0, "vacopy.fix.1", CI);
AllocaInst* b = new AllocaInst(ArgTy, 0, "vacopy.fix.2", CI);
new StoreInst(CI->getOperand(1), b, CI);
new CallInst(NF, a, b, "", CI);
Value* foo = new LoadInst(a, "vacopy.fix.3", CI);
SmallVector<Value *, 2> Args;
Args.push_back(new AllocaInst(ArgTy, 0, "vacopy.fix.1", CI));
Args.push_back(new AllocaInst(ArgTy, 0, "vacopy.fix.2", CI));
new StoreInst(CI->getOperand(1), Args[1], CI);
new CallInst(NF, Args.begin(), Args.end(), "", CI);
Value* foo = new LoadInst(Args[0], "vacopy.fix.3", CI);
CI->replaceAllUsesWith(foo);
CI->getParent()->getInstList().erase(CI);
}
@ -3806,7 +3807,7 @@ InstVal
}
// Create the call instruction
CallInst *CI = new CallInst(V, &Args[0], Args.size());
CallInst *CI = new CallInst(V, Args.begin(), Args.end());
CI->setTailCall($1);
CI->setCallingConv(upgradeCallingConv($2));
$$.I = CI;