mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,186 +1,98 @@
|
|||||||
/* A Bison parser, made by GNU Bison 1.875c. */
|
typedef union {
|
||||||
|
llvm::Module *ModuleVal;
|
||||||
|
llvm::Function *FunctionVal;
|
||||||
|
std::pair<llvm::PATypeHolder*, char*> *ArgVal;
|
||||||
|
llvm::BasicBlock *BasicBlockVal;
|
||||||
|
llvm::TerminatorInst *TermInstVal;
|
||||||
|
llvm::Instruction *InstVal;
|
||||||
|
llvm::Constant *ConstVal;
|
||||||
|
|
||||||
/* Skeleton parser for Yacc-like parsing with Bison,
|
const llvm::Type *PrimType;
|
||||||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
llvm::PATypeHolder *TypeVal;
|
||||||
|
llvm::Value *ValueVal;
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
std::vector<std::pair<llvm::PATypeHolder*,char*> > *ArgList;
|
||||||
it under the terms of the GNU General Public License as published by
|
std::vector<llvm::Value*> *ValueList;
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
std::list<llvm::PATypeHolder> *TypeList;
|
||||||
any later version.
|
// Represent the RHS of PHI node
|
||||||
|
std::list<std::pair<llvm::Value*,
|
||||||
|
llvm::BasicBlock*> > *PHIList;
|
||||||
|
std::vector<std::pair<llvm::Constant*, llvm::BasicBlock*> > *JumpTable;
|
||||||
|
std::vector<llvm::Constant*> *ConstVector;
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
llvm::GlobalValue::LinkageTypes Linkage;
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
int64_t SInt64Val;
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
uint64_t UInt64Val;
|
||||||
GNU General Public License for more details.
|
int SIntVal;
|
||||||
|
unsigned UIntVal;
|
||||||
|
double FPVal;
|
||||||
|
bool BoolVal;
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
char *StrVal; // This memory is strdup'd!
|
||||||
along with this program; if not, write to the Free Software
|
llvm::ValID ValIDVal; // strdup'd memory maybe!
|
||||||
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
|
llvm::Instruction::BinaryOps BinaryOpVal;
|
||||||
Bison output file, you may use that output file without restriction.
|
llvm::Instruction::TermOps TermOpVal;
|
||||||
This special exception was added by the Free Software Foundation
|
llvm::Instruction::MemoryOps MemOpVal;
|
||||||
in version 1.24 of Bison. */
|
llvm::Instruction::OtherOps OtherOpVal;
|
||||||
|
llvm::Module::Endianness Endianness;
|
||||||
/* Tokens. */
|
} YYSTYPE;
|
||||||
#ifndef YYTOKENTYPE
|
#define ESINT64VAL 257
|
||||||
# define YYTOKENTYPE
|
#define EUINT64VAL 258
|
||||||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
#define SINTVAL 259
|
||||||
know about them. */
|
#define UINTVAL 260
|
||||||
enum yytokentype {
|
#define FPVAL 261
|
||||||
ESINT64VAL = 258,
|
#define VOID 262
|
||||||
EUINT64VAL = 259,
|
#define BOOL 263
|
||||||
SINTVAL = 260,
|
#define SBYTE 264
|
||||||
UINTVAL = 261,
|
#define UBYTE 265
|
||||||
FPVAL = 262,
|
#define SHORT 266
|
||||||
VOID = 263,
|
#define USHORT 267
|
||||||
BOOL = 264,
|
#define INT 268
|
||||||
SBYTE = 265,
|
#define UINT 269
|
||||||
UBYTE = 266,
|
#define LONG 270
|
||||||
SHORT = 267,
|
#define ULONG 271
|
||||||
USHORT = 268,
|
#define FLOAT 272
|
||||||
INT = 269,
|
#define DOUBLE 273
|
||||||
UINT = 270,
|
#define TYPE 274
|
||||||
LONG = 271,
|
#define LABEL 275
|
||||||
ULONG = 272,
|
#define VAR_ID 276
|
||||||
FLOAT = 273,
|
#define LABELSTR 277
|
||||||
DOUBLE = 274,
|
#define STRINGCONSTANT 278
|
||||||
TYPE = 275,
|
#define IMPLEMENTATION 279
|
||||||
LABEL = 276,
|
#define ZEROINITIALIZER 280
|
||||||
VAR_ID = 277,
|
#define TRUETOK 281
|
||||||
LABELSTR = 278,
|
#define FALSETOK 282
|
||||||
STRINGCONSTANT = 279,
|
#define BEGINTOK 283
|
||||||
IMPLEMENTATION = 280,
|
#define ENDTOK 284
|
||||||
ZEROINITIALIZER = 281,
|
#define DECLARE 285
|
||||||
TRUETOK = 282,
|
#define GLOBAL 286
|
||||||
FALSETOK = 283,
|
#define CONSTANT 287
|
||||||
BEGINTOK = 284,
|
#define SECTION 288
|
||||||
ENDTOK = 285,
|
#define VOLATILE 289
|
||||||
DECLARE = 286,
|
#define TO 290
|
||||||
GLOBAL = 287,
|
#define DOTDOTDOT 291
|
||||||
CONSTANT = 288,
|
#define NULL_TOK 292
|
||||||
SECTION = 289,
|
#define UNDEF 293
|
||||||
VOLATILE = 290,
|
#define CONST 294
|
||||||
TO = 291,
|
#define INTERNAL 295
|
||||||
DOTDOTDOT = 292,
|
#define LINKONCE 296
|
||||||
NULL_TOK = 293,
|
#define WEAK 297
|
||||||
UNDEF = 294,
|
#define APPENDING 298
|
||||||
CONST = 295,
|
#define OPAQUE 299
|
||||||
INTERNAL = 296,
|
#define NOT 300
|
||||||
LINKONCE = 297,
|
#define EXTERNAL 301
|
||||||
WEAK = 298,
|
#define TARGET 302
|
||||||
APPENDING = 299,
|
#define TRIPLE 303
|
||||||
OPAQUE = 300,
|
#define ENDIAN 304
|
||||||
NOT = 301,
|
#define POINTERSIZE 305
|
||||||
EXTERNAL = 302,
|
#define LITTLE 306
|
||||||
TARGET = 303,
|
#define BIG 307
|
||||||
TRIPLE = 304,
|
#define ALIGN 308
|
||||||
ENDIAN = 305,
|
#define DEPLIBS 309
|
||||||
POINTERSIZE = 306,
|
#define CALL 310
|
||||||
LITTLE = 307,
|
#define TAIL 311
|
||||||
BIG = 308,
|
#define ASM_TOK 312
|
||||||
ALIGN = 309,
|
|
||||||
DEPLIBS = 310,
|
|
||||||
CALL = 311,
|
|
||||||
TAIL = 312,
|
|
||||||
CC_TOK = 313,
|
|
||||||
CCC_TOK = 314,
|
|
||||||
FASTCC_TOK = 315,
|
|
||||||
COLDCC_TOK = 316,
|
|
||||||
RET = 317,
|
|
||||||
BR = 318,
|
|
||||||
SWITCH = 319,
|
|
||||||
INVOKE = 320,
|
|
||||||
UNWIND = 321,
|
|
||||||
UNREACHABLE = 322,
|
|
||||||
ADD = 323,
|
|
||||||
SUB = 324,
|
|
||||||
MUL = 325,
|
|
||||||
DIV = 326,
|
|
||||||
REM = 327,
|
|
||||||
AND = 328,
|
|
||||||
OR = 329,
|
|
||||||
XOR = 330,
|
|
||||||
SETLE = 331,
|
|
||||||
SETGE = 332,
|
|
||||||
SETLT = 333,
|
|
||||||
SETGT = 334,
|
|
||||||
SETEQ = 335,
|
|
||||||
SETNE = 336,
|
|
||||||
MALLOC = 337,
|
|
||||||
ALLOCA = 338,
|
|
||||||
FREE = 339,
|
|
||||||
LOAD = 340,
|
|
||||||
STORE = 341,
|
|
||||||
GETELEMENTPTR = 342,
|
|
||||||
PHI_TOK = 343,
|
|
||||||
CAST = 344,
|
|
||||||
SELECT = 345,
|
|
||||||
SHL = 346,
|
|
||||||
SHR = 347,
|
|
||||||
VAARG = 348,
|
|
||||||
EXTRACTELEMENT = 349,
|
|
||||||
INSERTELEMENT = 350,
|
|
||||||
VAARG_old = 351,
|
|
||||||
VANEXT_old = 352
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
#define ESINT64VAL 258
|
|
||||||
#define EUINT64VAL 259
|
|
||||||
#define SINTVAL 260
|
|
||||||
#define UINTVAL 261
|
|
||||||
#define FPVAL 262
|
|
||||||
#define VOID 263
|
|
||||||
#define BOOL 264
|
|
||||||
#define SBYTE 265
|
|
||||||
#define UBYTE 266
|
|
||||||
#define SHORT 267
|
|
||||||
#define USHORT 268
|
|
||||||
#define INT 269
|
|
||||||
#define UINT 270
|
|
||||||
#define LONG 271
|
|
||||||
#define ULONG 272
|
|
||||||
#define FLOAT 273
|
|
||||||
#define DOUBLE 274
|
|
||||||
#define TYPE 275
|
|
||||||
#define LABEL 276
|
|
||||||
#define VAR_ID 277
|
|
||||||
#define LABELSTR 278
|
|
||||||
#define STRINGCONSTANT 279
|
|
||||||
#define IMPLEMENTATION 280
|
|
||||||
#define ZEROINITIALIZER 281
|
|
||||||
#define TRUETOK 282
|
|
||||||
#define FALSETOK 283
|
|
||||||
#define BEGINTOK 284
|
|
||||||
#define ENDTOK 285
|
|
||||||
#define DECLARE 286
|
|
||||||
#define GLOBAL 287
|
|
||||||
#define CONSTANT 288
|
|
||||||
#define SECTION 289
|
|
||||||
#define VOLATILE 290
|
|
||||||
#define TO 291
|
|
||||||
#define DOTDOTDOT 292
|
|
||||||
#define NULL_TOK 293
|
|
||||||
#define UNDEF 294
|
|
||||||
#define CONST 295
|
|
||||||
#define INTERNAL 296
|
|
||||||
#define LINKONCE 297
|
|
||||||
#define WEAK 298
|
|
||||||
#define APPENDING 299
|
|
||||||
#define OPAQUE 300
|
|
||||||
#define NOT 301
|
|
||||||
#define EXTERNAL 302
|
|
||||||
#define TARGET 303
|
|
||||||
#define TRIPLE 304
|
|
||||||
#define ENDIAN 305
|
|
||||||
#define POINTERSIZE 306
|
|
||||||
#define LITTLE 307
|
|
||||||
#define BIG 308
|
|
||||||
#define ALIGN 309
|
|
||||||
#define DEPLIBS 310
|
|
||||||
#define CALL 311
|
|
||||||
#define TAIL 312
|
|
||||||
#define CC_TOK 313
|
#define CC_TOK 313
|
||||||
#define CCC_TOK 314
|
#define CCC_TOK 314
|
||||||
#define FASTCC_TOK 315
|
#define FASTCC_TOK 315
|
||||||
@@ -223,57 +135,4 @@
|
|||||||
#define VANEXT_old 352
|
#define VANEXT_old 352
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
|
||||||
#line 878 "/proj/llvm/llvm2/lib/AsmParser/llvmAsmParser.y"
|
|
||||||
typedef union YYSTYPE {
|
|
||||||
llvm::Module *ModuleVal;
|
|
||||||
llvm::Function *FunctionVal;
|
|
||||||
std::pair<llvm::PATypeHolder*, char*> *ArgVal;
|
|
||||||
llvm::BasicBlock *BasicBlockVal;
|
|
||||||
llvm::TerminatorInst *TermInstVal;
|
|
||||||
llvm::Instruction *InstVal;
|
|
||||||
llvm::Constant *ConstVal;
|
|
||||||
|
|
||||||
const llvm::Type *PrimType;
|
|
||||||
llvm::PATypeHolder *TypeVal;
|
|
||||||
llvm::Value *ValueVal;
|
|
||||||
|
|
||||||
std::vector<std::pair<llvm::PATypeHolder*,char*> > *ArgList;
|
|
||||||
std::vector<llvm::Value*> *ValueList;
|
|
||||||
std::list<llvm::PATypeHolder> *TypeList;
|
|
||||||
// Represent the RHS of PHI node
|
|
||||||
std::list<std::pair<llvm::Value*,
|
|
||||||
llvm::BasicBlock*> > *PHIList;
|
|
||||||
std::vector<std::pair<llvm::Constant*, llvm::BasicBlock*> > *JumpTable;
|
|
||||||
std::vector<llvm::Constant*> *ConstVector;
|
|
||||||
|
|
||||||
llvm::GlobalValue::LinkageTypes Linkage;
|
|
||||||
int64_t SInt64Val;
|
|
||||||
uint64_t UInt64Val;
|
|
||||||
int SIntVal;
|
|
||||||
unsigned UIntVal;
|
|
||||||
double FPVal;
|
|
||||||
bool BoolVal;
|
|
||||||
|
|
||||||
char *StrVal; // This memory is strdup'd!
|
|
||||||
llvm::ValID ValIDVal; // strdup'd memory maybe!
|
|
||||||
|
|
||||||
llvm::Instruction::BinaryOps BinaryOpVal;
|
|
||||||
llvm::Instruction::TermOps TermOpVal;
|
|
||||||
llvm::Instruction::MemoryOps MemOpVal;
|
|
||||||
llvm::Instruction::OtherOps OtherOpVal;
|
|
||||||
llvm::Module::Endianness Endianness;
|
|
||||||
} YYSTYPE;
|
|
||||||
/* Line 1275 of yacc.c. */
|
|
||||||
#line 271 "llvmAsmParser.tab.h"
|
|
||||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
||||||
# define YYSTYPE_IS_DECLARED 1
|
|
||||||
# define YYSTYPE_IS_TRIVIAL 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern YYSTYPE llvmAsmlval;
|
extern YYSTYPE llvmAsmlval;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user