Mercurial > projects > ldc
view gen/llvm.h @ 1648:18bbb1436153 0.9.2
Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions.
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 10 Mar 2010 20:21:05 -0700 |
parents | 61f12f4651b5 |
children |
line wrap: on
line source
#ifndef GEN_LLVM_H #define GEN_LLVM_H #include "llvm/Type.h" #include "llvm/DerivedTypes.h" #include "llvm/Constants.h" #include "llvm/IntrinsicInst.h" #include "llvm/CallingConv.h" #include "llvm/GlobalVariable.h" #include "llvm/Function.h" #include "llvm/Module.h" #include "llvm/Value.h" #include "llvm/Attributes.h" #include "llvm/Target/TargetData.h" #include "llvm/Analysis/DebugInfo.h" #include "llvm/Support/CallSite.h" #include "llvm/Support/IRBuilder.h" using llvm::IRBuilder; // for WriteTypeSymbolic #include "llvm/Assembly/Writer.h" #define GET_INTRINSIC_DECL(_X) (llvm::Intrinsic::getDeclaration(gIR->module, llvm::Intrinsic:: _X )) // shortcuts for the common llvm types #define LLType llvm::Type #define LLFunctionType llvm::FunctionType #define LLPointerType llvm::PointerType #define LLStructType llvm::StructType #define LLArrayType llvm::ArrayType #define LLIntegerType llvm::IntegerType #define LLOpaqueType llvm::OpaqueType #define LLValue llvm::Value #define LLGlobalValue llvm::GlobalValue #define LLGlobalVariable llvm::GlobalVariable #define LLFunction llvm::Function #define LLConstant llvm::Constant #define LLConstantStruct llvm::ConstantStruct #define LLConstantArray llvm::ConstantArray #define LLConstantInt llvm::ConstantInt #define LLConstantFP llvm::ConstantFP #define LLPATypeHolder llvm::PATypeHolder #define LLCallSite llvm::CallSite #define LLSmallVector llvm::SmallVector using llvm::APFloat; using llvm::APInt; #endif // GEN_LLVM_H