comparison gen/llvm.h @ 213:7816aafeea3c trunk

[svn r229] Updated the object.d implementation to the latest Tango. Fixed a bunch of the built-in typeinfos for arrays, they did not inherit TypeInfo_Array. Applied patch to tango/text/convert/Layout.d by fvbommel, closes #47 . Cleaned up some type code. Replaced uses of llvm::Type with LLType (a typedef), same for Value and Constant. Fixed a few cases where typeinfo for user structs could be emitted multiple times, seems to still be some cases of this :/
author lindquist
date Fri, 30 May 2008 19:32:04 +0200
parents 9d44ec83acd1
children a95056b3c996
comparison
equal deleted inserted replaced
212:4c2689d57ba4 213:7816aafeea3c
14 #include "llvm/Target/TargetData.h" 14 #include "llvm/Target/TargetData.h"
15 15
16 #include "llvm/Support/IRBuilder.h" 16 #include "llvm/Support/IRBuilder.h"
17 using llvm::IRBuilder; 17 using llvm::IRBuilder;
18 18
19 #define GET_INTRINSIC_DECL(_X) (llvm::Intrinsic::getDeclaration(gIR->module, llvm::Intrinsic:: _X ))
20
21 // shortcuts for the _very_ common llvm types
22 typedef llvm::Type LLType;
23 typedef llvm::Value LLValue;
24 typedef llvm::Constant LLConstant;
25
26 #define LLSmallVector llvm::SmallVector
27
19 #endif // GEN_LLVM_H 28 #endif // GEN_LLVM_H