1 /* A Bison parser, made from /usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y, by GNU bison 1.75. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
26 #ifndef BISON_LLVMASMPARSER_TAB_H
27 # define BISON_LLVMASMPARSER_TAB_H
32 /* Put the tokens into the symbol table, so that GDB and other debuggers
52 ATSTRINGCONSTANT = 275,
53 ZEROINITIALIZER = 276,
92 X86_STDCALLCC_TOK = 315,
93 X86_FASTCALLCC_TOK = 316,
159 EXTRACTELEMENT = 382,
170 #define ESINT64VAL 258
171 #define EUINT64VAL 259
172 #define ESAPINTVAL 260
173 #define EUAPINTVAL 261
174 #define LOCALVAL_ID 262
175 #define GLOBALVAL_ID 263
184 #define GLOBALVAR 272
186 #define STRINGCONSTANT 274
187 #define ATSTRINGCONSTANT 275
188 #define ZEROINITIALIZER 276
200 #define THREAD_LOCAL 288
202 #define DOTDOTDOT 290
208 #define APPENDING 296
209 #define DLLIMPORT 297
210 #define DLLEXPORT 298
211 #define EXTERN_WEAK 299
222 #define SIDEEFFECT 310
225 #define FASTCC_TOK 313
226 #define COLDCC_TOK 314
227 #define X86_STDCALLCC_TOK 315
228 #define X86_FASTCALLCC_TOK 316
229 #define DATALAYOUT 317
235 #define UNREACHABLE 323
278 #define GETELEMENTPTR 366
294 #define EXTRACTELEMENT 382
295 #define INSERTELEMENT 383
296 #define SHUFFLEVECTOR 384
308 #line 955 "/usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y"
310 llvm::Module *ModuleVal;
311 llvm::Function *FunctionVal;
312 llvm::BasicBlock *BasicBlockVal;
313 llvm::TerminatorInst *TermInstVal;
314 llvm::Instruction *InstVal;
315 llvm::Constant *ConstVal;
317 const llvm::Type *PrimType;
318 std::list<llvm::PATypeHolder> *TypeList;
319 llvm::PATypeHolder *TypeVal;
320 llvm::Value *ValueVal;
321 std::vector<llvm::Value*> *ValueList;
322 llvm::ArgListType *ArgList;
323 llvm::TypeWithAttrs TypeWithAttrs;
324 llvm::TypeWithAttrsList *TypeWithAttrsList;
325 llvm::ValueRefList *ValueRefList;
327 // Represent the RHS of PHI node
328 std::list<std::pair<llvm::Value*,
329 llvm::BasicBlock*> > *PHIList;
330 std::vector<std::pair<llvm::Constant*, llvm::BasicBlock*> > *JumpTable;
331 std::vector<llvm::Constant*> *ConstVector;
333 llvm::GlobalValue::LinkageTypes Linkage;
334 llvm::GlobalValue::VisibilityTypes Visibility;
336 llvm::APInt *APIntVal;
344 char *StrVal; // This memory is strdup'd!
345 llvm::ValID ValIDVal; // strdup'd memory maybe!
347 llvm::Instruction::BinaryOps BinaryOpVal;
348 llvm::Instruction::TermOps TermOpVal;
349 llvm::Instruction::MemoryOps MemOpVal;
350 llvm::Instruction::CastOps CastOpVal;
351 llvm::Instruction::OtherOps OtherOpVal;
352 llvm::ICmpInst::Predicate IPredicate;
353 llvm::FCmpInst::Predicate FPredicate;
355 /* Line 1237 of /usr/local/share/bison/yacc.c. */
356 #line 357 "llvmAsmParser.tab.h"
357 # define YYSTYPE yystype
360 extern YYSTYPE llvmAsmlval;
363 #endif /* not BISON_LLVMASMPARSER_TAB_H */