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
88 #define POINTERSIZE 305
97 #define SIDEEFFECT 314
100 #define CSRETCC_TOK 317
101 #define FASTCC_TOK 318
102 #define COLDCC_TOK 319
108 #define UNREACHABLE 325
128 #define GETELEMENTPTR 345
135 #define EXTRACTELEMENT 352
136 #define INSERTELEMENT 353
137 #define SHUFFLEVECTOR 354
138 #define VAARG_old 355
139 #define VANEXT_old 356
142 extern YYSTYPE llvmAsmlval;