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 DLLIMPORT 299 #define DLLEXPORT 300 #define EXTERN_WEAK 301 #define OPAQUE 302 #define NOT 303 #define EXTERNAL 304 #define TARGET 305 #define TRIPLE 306 #define ENDIAN 307 #define POINTERSIZE 308 #define LITTLE 309 #define BIG 310 #define ALIGN 311 #define DEPLIBS 312 #define CALL 313 #define TAIL 314 #define ASM_TOK 315 #define MODULE 316 #define SIDEEFFECT 317 #define CC_TOK 318 #define CCC_TOK 319 #define CSRETCC_TOK 320 #define FASTCC_TOK 321 #define COLDCC_TOK 322 #define X86_STDCALLCC_TOK 323 #define X86_FASTCALLCC_TOK 324 #define RET 325 #define BR 326 #define SWITCH 327 #define INVOKE 328 #define UNWIND 329 #define UNREACHABLE 330 #define ADD 331 #define SUB 332 #define MUL 333 #define DIV 334 #define REM 335 #define AND 336 #define OR 337 #define XOR 338 #define SETLE 339 #define SETGE 340 #define SETLT 341 #define SETGT 342 #define SETEQ 343 #define SETNE 344 #define MALLOC 345 #define ALLOCA 346 #define FREE 347 #define LOAD 348 #define STORE 349 #define GETELEMENTPTR 350 #define PHI_TOK 351 #define CAST 352 #define SELECT 353 #define SHL 354 #define SHR 355 #define VAARG 356 #define EXTRACTELEMENT 357 #define INSERTELEMENT 358 #define SHUFFLEVECTOR 359 #define VAARG_old 360 #define VANEXT_old 361 extern YYSTYPE llvmAsmlval;