2 llvm::Module *ModuleVal;
3 llvm::Function *FunctionVal;
4 std::pair<llvm::PATypeHolder*, char*> *ArgVal;
5 llvm::BasicBlock *BasicBlockVal;
6 llvm::TerminatorInst *TermInstVal;
7 llvm::Instruction *InstVal;
8 llvm::Constant *ConstVal;
10 const llvm::Type *PrimType;
11 llvm::PATypeHolder *TypeVal;
12 llvm::Value *ValueVal;
14 std::vector<std::pair<llvm::PATypeHolder*,char*> > *ArgList;
15 std::vector<llvm::Value*> *ValueList;
16 std::list<llvm::PATypeHolder> *TypeList;
17 // Represent the RHS of PHI node
18 std::list<std::pair<llvm::Value*,
19 llvm::BasicBlock*> > *PHIList;
20 std::vector<std::pair<llvm::Constant*, llvm::BasicBlock*> > *JumpTable;
21 std::vector<llvm::Constant*> *ConstVector;
23 llvm::GlobalValue::LinkageTypes Linkage;
31 char *StrVal; // This memory is strdup'd!
32 llvm::ValID ValIDVal; // strdup'd memory maybe!
34 llvm::Instruction::BinaryOps BinaryOpVal;
35 llvm::Instruction::TermOps TermOpVal;
36 llvm::Instruction::MemoryOps MemOpVal;
37 llvm::Instruction::OtherOps OtherOpVal;
38 llvm::Module::Endianness Endianness;
40 #define ESINT64VAL 257
41 #define EUINT64VAL 258
61 #define STRINGCONSTANT 278
62 #define IMPLEMENTATION 279
63 #define ZEROINITIALIZER 280
84 #define EXTERN_WEAK 301
91 #define POINTERSIZE 308
100 #define SIDEEFFECT 317
103 #define CSRETCC_TOK 320
104 #define FASTCC_TOK 321
105 #define COLDCC_TOK 322
106 #define X86_STDCALLCC_TOK 323
107 #define X86_FASTCALLCC_TOK 324
113 #define UNREACHABLE 330
133 #define GETELEMENTPTR 350
140 #define EXTRACTELEMENT 357
141 #define INSERTELEMENT 358
142 #define SHUFFLEVECTOR 359
143 #define VAARG_old 360
144 #define VANEXT_old 361
147 extern YYSTYPE llvmAsmlval;