DLLIMPORT = 301,
DLLEXPORT = 302,
EXTERN_WEAK = 303,
- OPAQUE = 304,
- EXTERNAL = 305,
- TARGET = 306,
- TRIPLE = 307,
- ALIGN = 308,
- DEPLIBS = 309,
- CALL = 310,
- TAIL = 311,
- ASM_TOK = 312,
- MODULE = 313,
- SIDEEFFECT = 314,
- CC_TOK = 315,
- CCC_TOK = 316,
- FASTCC_TOK = 317,
- COLDCC_TOK = 318,
- X86_STDCALLCC_TOK = 319,
- X86_FASTCALLCC_TOK = 320,
- DATALAYOUT = 321,
- RET = 322,
- BR = 323,
- SWITCH = 324,
- INVOKE = 325,
- UNWIND = 326,
- UNREACHABLE = 327,
- ADD = 328,
- SUB = 329,
- MUL = 330,
- UDIV = 331,
- SDIV = 332,
- FDIV = 333,
- UREM = 334,
- SREM = 335,
- FREM = 336,
- AND = 337,
- OR = 338,
- XOR = 339,
- SHL = 340,
- LSHR = 341,
- ASHR = 342,
- ICMP = 343,
- FCMP = 344,
- EQ = 345,
- NE = 346,
- SLT = 347,
- SGT = 348,
- SLE = 349,
- SGE = 350,
- ULT = 351,
- UGT = 352,
- ULE = 353,
- UGE = 354,
- OEQ = 355,
- ONE = 356,
- OLT = 357,
- OGT = 358,
- OLE = 359,
- OGE = 360,
- ORD = 361,
- UNO = 362,
- UEQ = 363,
- UNE = 364,
- MALLOC = 365,
- ALLOCA = 366,
- FREE = 367,
- LOAD = 368,
- STORE = 369,
- GETELEMENTPTR = 370,
- TRUNC = 371,
- ZEXT = 372,
- SEXT = 373,
- FPTRUNC = 374,
- FPEXT = 375,
- BITCAST = 376,
- UITOFP = 377,
- SITOFP = 378,
- FPTOUI = 379,
- FPTOSI = 380,
- INTTOPTR = 381,
- PTRTOINT = 382,
- PHI_TOK = 383,
- SELECT = 384,
- VAARG = 385,
- EXTRACTELEMENT = 386,
- INSERTELEMENT = 387,
- SHUFFLEVECTOR = 388,
- SIGNEXT = 389,
- ZEROEXT = 390,
- NORETURN = 391,
- INREG = 392,
- SRET = 393,
- NOUNWIND = 394,
- NOALIAS = 395,
- BYVAL = 396,
- NEST = 397,
- DEFAULT = 398,
- HIDDEN = 399,
- PROTECTED = 400
+ COMMON = 304,
+ OPAQUE = 305,
+ EXTERNAL = 306,
+ TARGET = 307,
+ TRIPLE = 308,
+ ALIGN = 309,
+ ADDRSPACE = 310,
+ DEPLIBS = 311,
+ CALL = 312,
+ TAIL = 313,
+ ASM_TOK = 314,
+ MODULE = 315,
+ SIDEEFFECT = 316,
+ CC_TOK = 317,
+ CCC_TOK = 318,
+ FASTCC_TOK = 319,
+ COLDCC_TOK = 320,
+ X86_STDCALLCC_TOK = 321,
+ X86_FASTCALLCC_TOK = 322,
+ DATALAYOUT = 323,
+ RET = 324,
+ BR = 325,
+ SWITCH = 326,
+ INVOKE = 327,
+ UNWIND = 328,
+ UNREACHABLE = 329,
+ ADD = 330,
+ SUB = 331,
+ MUL = 332,
+ UDIV = 333,
+ SDIV = 334,
+ FDIV = 335,
+ UREM = 336,
+ SREM = 337,
+ FREM = 338,
+ AND = 339,
+ OR = 340,
+ XOR = 341,
+ SHL = 342,
+ LSHR = 343,
+ ASHR = 344,
+ ICMP = 345,
+ FCMP = 346,
+ VICMP = 347,
+ VFCMP = 348,
+ EQ = 349,
+ NE = 350,
+ SLT = 351,
+ SGT = 352,
+ SLE = 353,
+ SGE = 354,
+ ULT = 355,
+ UGT = 356,
+ ULE = 357,
+ UGE = 358,
+ OEQ = 359,
+ ONE = 360,
+ OLT = 361,
+ OGT = 362,
+ OLE = 363,
+ OGE = 364,
+ ORD = 365,
+ UNO = 366,
+ UEQ = 367,
+ UNE = 368,
+ MALLOC = 369,
+ ALLOCA = 370,
+ FREE = 371,
+ LOAD = 372,
+ STORE = 373,
+ GETELEMENTPTR = 374,
+ TRUNC = 375,
+ ZEXT = 376,
+ SEXT = 377,
+ FPTRUNC = 378,
+ FPEXT = 379,
+ BITCAST = 380,
+ UITOFP = 381,
+ SITOFP = 382,
+ FPTOUI = 383,
+ FPTOSI = 384,
+ INTTOPTR = 385,
+ PTRTOINT = 386,
+ PHI_TOK = 387,
+ SELECT = 388,
+ VAARG = 389,
+ EXTRACTELEMENT = 390,
+ INSERTELEMENT = 391,
+ SHUFFLEVECTOR = 392,
+ GETRESULT = 393,
+ SIGNEXT = 394,
+ ZEROEXT = 395,
+ NORETURN = 396,
+ INREG = 397,
+ SRET = 398,
+ NOUNWIND = 399,
+ NOALIAS = 400,
+ BYVAL = 401,
+ NEST = 402,
+ READNONE = 403,
+ READONLY = 404,
+ GC = 405,
+ DEFAULT = 406,
+ HIDDEN = 407,
+ PROTECTED = 408
};
#endif
/* Tokens. */
#define DLLIMPORT 301
#define DLLEXPORT 302
#define EXTERN_WEAK 303
-#define OPAQUE 304
-#define EXTERNAL 305
-#define TARGET 306
-#define TRIPLE 307
-#define ALIGN 308
-#define DEPLIBS 309
-#define CALL 310
-#define TAIL 311
-#define ASM_TOK 312
-#define MODULE 313
-#define SIDEEFFECT 314
-#define CC_TOK 315
-#define CCC_TOK 316
-#define FASTCC_TOK 317
-#define COLDCC_TOK 318
-#define X86_STDCALLCC_TOK 319
-#define X86_FASTCALLCC_TOK 320
-#define DATALAYOUT 321
-#define RET 322
-#define BR 323
-#define SWITCH 324
-#define INVOKE 325
-#define UNWIND 326
-#define UNREACHABLE 327
-#define ADD 328
-#define SUB 329
-#define MUL 330
-#define UDIV 331
-#define SDIV 332
-#define FDIV 333
-#define UREM 334
-#define SREM 335
-#define FREM 336
-#define AND 337
-#define OR 338
-#define XOR 339
-#define SHL 340
-#define LSHR 341
-#define ASHR 342
-#define ICMP 343
-#define FCMP 344
-#define EQ 345
-#define NE 346
-#define SLT 347
-#define SGT 348
-#define SLE 349
-#define SGE 350
-#define ULT 351
-#define UGT 352
-#define ULE 353
-#define UGE 354
-#define OEQ 355
-#define ONE 356
-#define OLT 357
-#define OGT 358
-#define OLE 359
-#define OGE 360
-#define ORD 361
-#define UNO 362
-#define UEQ 363
-#define UNE 364
-#define MALLOC 365
-#define ALLOCA 366
-#define FREE 367
-#define LOAD 368
-#define STORE 369
-#define GETELEMENTPTR 370
-#define TRUNC 371
-#define ZEXT 372
-#define SEXT 373
-#define FPTRUNC 374
-#define FPEXT 375
-#define BITCAST 376
-#define UITOFP 377
-#define SITOFP 378
-#define FPTOUI 379
-#define FPTOSI 380
-#define INTTOPTR 381
-#define PTRTOINT 382
-#define PHI_TOK 383
-#define SELECT 384
-#define VAARG 385
-#define EXTRACTELEMENT 386
-#define INSERTELEMENT 387
-#define SHUFFLEVECTOR 388
-#define SIGNEXT 389
-#define ZEROEXT 390
-#define NORETURN 391
-#define INREG 392
-#define SRET 393
-#define NOUNWIND 394
-#define NOALIAS 395
-#define BYVAL 396
-#define NEST 397
-#define DEFAULT 398
-#define HIDDEN 399
-#define PROTECTED 400
+#define COMMON 304
+#define OPAQUE 305
+#define EXTERNAL 306
+#define TARGET 307
+#define TRIPLE 308
+#define ALIGN 309
+#define ADDRSPACE 310
+#define DEPLIBS 311
+#define CALL 312
+#define TAIL 313
+#define ASM_TOK 314
+#define MODULE 315
+#define SIDEEFFECT 316
+#define CC_TOK 317
+#define CCC_TOK 318
+#define FASTCC_TOK 319
+#define COLDCC_TOK 320
+#define X86_STDCALLCC_TOK 321
+#define X86_FASTCALLCC_TOK 322
+#define DATALAYOUT 323
+#define RET 324
+#define BR 325
+#define SWITCH 326
+#define INVOKE 327
+#define UNWIND 328
+#define UNREACHABLE 329
+#define ADD 330
+#define SUB 331
+#define MUL 332
+#define UDIV 333
+#define SDIV 334
+#define FDIV 335
+#define UREM 336
+#define SREM 337
+#define FREM 338
+#define AND 339
+#define OR 340
+#define XOR 341
+#define SHL 342
+#define LSHR 343
+#define ASHR 344
+#define ICMP 345
+#define FCMP 346
+#define VICMP 347
+#define VFCMP 348
+#define EQ 349
+#define NE 350
+#define SLT 351
+#define SGT 352
+#define SLE 353
+#define SGE 354
+#define ULT 355
+#define UGT 356
+#define ULE 357
+#define UGE 358
+#define OEQ 359
+#define ONE 360
+#define OLT 361
+#define OGT 362
+#define OLE 363
+#define OGE 364
+#define ORD 365
+#define UNO 366
+#define UEQ 367
+#define UNE 368
+#define MALLOC 369
+#define ALLOCA 370
+#define FREE 371
+#define LOAD 372
+#define STORE 373
+#define GETELEMENTPTR 374
+#define TRUNC 375
+#define ZEXT 376
+#define SEXT 377
+#define FPTRUNC 378
+#define FPEXT 379
+#define BITCAST 380
+#define UITOFP 381
+#define SITOFP 382
+#define FPTOUI 383
+#define FPTOSI 384
+#define INTTOPTR 385
+#define PTRTOINT 386
+#define PHI_TOK 387
+#define SELECT 388
+#define VAARG 389
+#define EXTRACTELEMENT 390
+#define INSERTELEMENT 391
+#define SHUFFLEVECTOR 392
+#define GETRESULT 393
+#define SIGNEXT 394
+#define ZEROEXT 395
+#define NORETURN 396
+#define INREG 397
+#define SRET 398
+#define NOUNWIND 399
+#define NOALIAS 400
+#define BYVAL 401
+#define NEST 402
+#define READNONE 403
+#define READONLY 404
+#define GC 405
+#define DEFAULT 406
+#define HIDDEN 407
+#define PROTECTED 408
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
-#line 963 "/home/chandlerc/code/compilers/llvm/lib/AsmParser/llvmAsmParser.y"
+#line 949 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
llvm::ArgListType *ArgList;
llvm::TypeWithAttrs TypeWithAttrs;
llvm::TypeWithAttrsList *TypeWithAttrsList;
- llvm::ValueRefList *ValueRefList;
+ llvm::ParamList *ParamList;
// Represent the RHS of PHI node
std::list<std::pair<llvm::Value*,
llvm::GlobalValue::LinkageTypes Linkage;
llvm::GlobalValue::VisibilityTypes Visibility;
- uint16_t ParamAttrs;
+ llvm::ParameterAttributes ParamAttrs;
llvm::APInt *APIntVal;
int64_t SInt64Val;
uint64_t UInt64Val;
int SIntVal;
unsigned UIntVal;
- double FPVal;
+ llvm::APFloat *FPVal;
bool BoolVal;
std::string *StrVal; // This memory must be deleted
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
}
-/* Line 1489 of yacc.c. */
-#line 386 "llvmAsmParser.tab.h"
+/* Line 1529 of yacc.c. */
+#line 402 "llvmAsmParser.tab.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1