typedef union { llvm::Module *ModuleVal; llvm::Function *FunctionVal; std::pair *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 > *ArgList; std::vector *ValueList; std::list *TypeList; // Represent the RHS of PHI node std::list > *PHIList; std::vector > *JumpTable; std::vector *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; #define ESINT64VAL 257 #define EUINT64VAL 258 #define SINTVAL 259 #define UINTVAL 260 #define FPVAL 261 #define VOID 262 #define BOOL 263 #define SBYTE 264 #define UBYTE 265 #define SHORT 266 #define USHORT 267 #define INT 268 #define UINT 269 #define LONG 270 #define ULONG 271 #define FLOAT 272 #define DOUBLE 273 #define TYPE 274 #define LABEL 275 #define VAR_ID 276 #define LABELSTR 277 #define STRINGCONSTANT 278 #define IMPLEMENTATION 279 #define ZEROINITIALIZER 280 #define TRUETOK 281 #define FALSETOK 282 #define BEGINTOK 283 #define ENDTOK 284 #define DECLARE 285 #define GLOBAL 286 #define CONSTANT 287 #define SECTION 288 #define VOLATILE 289 #define TO 290 #define DOTDOTDOT 291 #define NULL_TOK 292 #define UNDEF 293 #define CONST 294 #define INTERNAL 295 #define LINKONCE 296 #define WEAK 297 #define APPENDING 298 #define OPAQUE 299 #define NOT 300 #define EXTERNAL 301 #define TARGET 302 #define TRIPLE 303 #define ENDIAN 304 #define POINTERSIZE 305 #define LITTLE 306 #define BIG 307 #define ALIGN 308 #define DEPLIBS 309 #define CALL 310 #define TAIL 311 #define ASM_TOK 312 #define CC_TOK 313 #define CCC_TOK 314 #define FASTCC_TOK 315 #define COLDCC_TOK 316 #define RET 317 #define BR 318 #define SWITCH 319 #define INVOKE 320 #define UNWIND 321 #define UNREACHABLE 322 #define ADD 323 #define SUB 324 #define MUL 325 #define DIV 326 #define REM 327 #define AND 328 #define OR 329 #define XOR 330 #define SETLE 331 #define SETGE 332 #define SETLT 333 #define SETGT 334 #define SETEQ 335 #define SETNE 336 #define MALLOC 337 #define ALLOCA 338 #define FREE 339 #define LOAD 340 #define STORE 341 #define GETELEMENTPTR 342 #define PHI_TOK 343 #define CAST 344 #define SELECT 345 #define SHL 346 #define SHR 347 #define VAARG 348 #define EXTRACTELEMENT 349 #define INSERTELEMENT 350 #define VAARG_old 351 #define VANEXT_old 352 extern YYSTYPE llvmAsmlval;