Mercurial > projects > ldc
view gen/llvm.h @ 223:5ffca623b5df trunk
[svn r239] also use indirect modifier for update constraints
author | ChristianK |
---|---|
date | Fri, 06 Jun 2008 21:51:40 +0200 |
parents | 7816aafeea3c |
children | a95056b3c996 |
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/Target/TargetData.h" #include "llvm/Support/IRBuilder.h" using llvm::IRBuilder; #define GET_INTRINSIC_DECL(_X) (llvm::Intrinsic::getDeclaration(gIR->module, llvm::Intrinsic:: _X )) // shortcuts for the _very_ common llvm types typedef llvm::Type LLType; typedef llvm::Value LLValue; typedef llvm::Constant LLConstant; #define LLSmallVector llvm::SmallVector #endif // GEN_LLVM_H