Generated files for CommonLinkage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2008-05-14 20:13:36 +00:00
parent aafce77b17
commit c7071cc57b
3 changed files with 1801 additions and 1789 deletions

File diff suppressed because it is too large Load Diff

View File

@ -85,110 +85,111 @@
DLLIMPORT = 301,
DLLEXPORT = 302,
EXTERN_WEAK = 303,
OPAQUE = 304,
EXTERNAL = 305,
TARGET = 306,
TRIPLE = 307,
ALIGN = 308,
ADDRSPACE = 309,
DEPLIBS = 310,
CALL = 311,
TAIL = 312,
ASM_TOK = 313,
MODULE = 314,
SIDEEFFECT = 315,
CC_TOK = 316,
CCC_TOK = 317,
FASTCC_TOK = 318,
COLDCC_TOK = 319,
X86_STDCALLCC_TOK = 320,
X86_FASTCALLCC_TOK = 321,
DATALAYOUT = 322,
RET = 323,
BR = 324,
SWITCH = 325,
INVOKE = 326,
UNWIND = 327,
UNREACHABLE = 328,
ADD = 329,
SUB = 330,
MUL = 331,
UDIV = 332,
SDIV = 333,
FDIV = 334,
UREM = 335,
SREM = 336,
FREM = 337,
AND = 338,
OR = 339,
XOR = 340,
SHL = 341,
LSHR = 342,
ASHR = 343,
ICMP = 344,
FCMP = 345,
VICMP = 346,
VFCMP = 347,
EQ = 348,
NE = 349,
SLT = 350,
SGT = 351,
SLE = 352,
SGE = 353,
ULT = 354,
UGT = 355,
ULE = 356,
UGE = 357,
OEQ = 358,
ONE = 359,
OLT = 360,
OGT = 361,
OLE = 362,
OGE = 363,
ORD = 364,
UNO = 365,
UEQ = 366,
UNE = 367,
MALLOC = 368,
ALLOCA = 369,
FREE = 370,
LOAD = 371,
STORE = 372,
GETELEMENTPTR = 373,
TRUNC = 374,
ZEXT = 375,
SEXT = 376,
FPTRUNC = 377,
FPEXT = 378,
BITCAST = 379,
UITOFP = 380,
SITOFP = 381,
FPTOUI = 382,
FPTOSI = 383,
INTTOPTR = 384,
PTRTOINT = 385,
PHI_TOK = 386,
SELECT = 387,
VAARG = 388,
EXTRACTELEMENT = 389,
INSERTELEMENT = 390,
SHUFFLEVECTOR = 391,
GETRESULT = 392,
SIGNEXT = 393,
ZEROEXT = 394,
NORETURN = 395,
INREG = 396,
SRET = 397,
NOUNWIND = 398,
NOALIAS = 399,
BYVAL = 400,
NEST = 401,
READNONE = 402,
READONLY = 403,
GC = 404,
DEFAULT = 405,
HIDDEN = 406,
PROTECTED = 407
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. */
@ -238,117 +239,118 @@
#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 ADDRSPACE 309
#define DEPLIBS 310
#define CALL 311
#define TAIL 312
#define ASM_TOK 313
#define MODULE 314
#define SIDEEFFECT 315
#define CC_TOK 316
#define CCC_TOK 317
#define FASTCC_TOK 318
#define COLDCC_TOK 319
#define X86_STDCALLCC_TOK 320
#define X86_FASTCALLCC_TOK 321
#define DATALAYOUT 322
#define RET 323
#define BR 324
#define SWITCH 325
#define INVOKE 326
#define UNWIND 327
#define UNREACHABLE 328
#define ADD 329
#define SUB 330
#define MUL 331
#define UDIV 332
#define SDIV 333
#define FDIV 334
#define UREM 335
#define SREM 336
#define FREM 337
#define AND 338
#define OR 339
#define XOR 340
#define SHL 341
#define LSHR 342
#define ASHR 343
#define ICMP 344
#define FCMP 345
#define VICMP 346
#define VFCMP 347
#define EQ 348
#define NE 349
#define SLT 350
#define SGT 351
#define SLE 352
#define SGE 353
#define ULT 354
#define UGT 355
#define ULE 356
#define UGE 357
#define OEQ 358
#define ONE 359
#define OLT 360
#define OGT 361
#define OLE 362
#define OGE 363
#define ORD 364
#define UNO 365
#define UEQ 366
#define UNE 367
#define MALLOC 368
#define ALLOCA 369
#define FREE 370
#define LOAD 371
#define STORE 372
#define GETELEMENTPTR 373
#define TRUNC 374
#define ZEXT 375
#define SEXT 376
#define FPTRUNC 377
#define FPEXT 378
#define BITCAST 379
#define UITOFP 380
#define SITOFP 381
#define FPTOUI 382
#define FPTOSI 383
#define INTTOPTR 384
#define PTRTOINT 385
#define PHI_TOK 386
#define SELECT 387
#define VAARG 388
#define EXTRACTELEMENT 389
#define INSERTELEMENT 390
#define SHUFFLEVECTOR 391
#define GETRESULT 392
#define SIGNEXT 393
#define ZEROEXT 394
#define NORETURN 395
#define INREG 396
#define SRET 397
#define NOUNWIND 398
#define NOALIAS 399
#define BYVAL 400
#define NEST 401
#define READNONE 402
#define READONLY 403
#define GC 404
#define DEFAULT 405
#define HIDDEN 406
#define PROTECTED 407
#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 949 "/llvm/lib/AsmParser/llvmAsmParser.y"
#line 949 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
@ -396,7 +398,7 @@ typedef union YYSTYPE
llvm::FCmpInst::Predicate FPredicate;
}
/* Line 1529 of yacc.c. */
#line 400 "llvmAsmParser.tab.h"
#line 402 "llvmAsmParser.tab.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1

View File

@ -1058,7 +1058,7 @@ Module *llvm::RunVMAsmParser(llvm::MemoryBuffer *MB) {
%token ZEROINITIALIZER TRUETOK FALSETOK BEGINTOK ENDTOK
%token DECLARE DEFINE GLOBAL CONSTANT SECTION ALIAS VOLATILE THREAD_LOCAL
%token TO DOTDOTDOT NULL_TOK UNDEF INTERNAL LINKONCE WEAK APPENDING
%token DLLIMPORT DLLEXPORT EXTERN_WEAK
%token DLLIMPORT DLLEXPORT EXTERN_WEAK COMMON
%token OPAQUE EXTERNAL TARGET TRIPLE ALIGN ADDRSPACE
%token DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT
%token CC_TOK CCC_TOK FASTCC_TOK COLDCC_TOK X86_STDCALLCC_TOK X86_FASTCALLCC_TOK
@ -1174,6 +1174,7 @@ GVInternalLinkage
| LINKONCE { $$ = GlobalValue::LinkOnceLinkage; }
| APPENDING { $$ = GlobalValue::AppendingLinkage; }
| DLLEXPORT { $$ = GlobalValue::DLLExportLinkage; }
| COMMON { $$ = GlobalValue::CommonLinkage; }
;
GVExternalLinkage