comparison gen/tollvm.h @ 1501:8b9f236dd051

Build fix for LLVM >= r73431
author Benjamin Kramer <benny.kra@gmail.com>
date Tue, 16 Jun 2009 15:37:40 +0200
parents b3ba2c6ff038
children
comparison
equal deleted inserted replaced
1500:c3c46399bcf1 1501:8b9f236dd051
35 35
36 // TODO: this one should be removed!!! 36 // TODO: this one should be removed!!!
37 LLValue* DtoPointedType(LLValue* ptr, LLValue* val); 37 LLValue* DtoPointedType(LLValue* ptr, LLValue* val);
38 38
39 // some types 39 // some types
40 const LLType* DtoSize_t(); 40 const LLIntegerType* DtoSize_t();
41 const LLStructType* DtoInterfaceInfoType(); 41 const LLStructType* DtoInterfaceInfoType();
42 const LLStructType* DtoMutexType(); 42 const LLStructType* DtoMutexType();
43 const LLStructType* DtoModuleReferenceType(); 43 const LLStructType* DtoModuleReferenceType();
44 44
45 // getelementptr helpers 45 // getelementptr helpers
53 // to constant helpers 53 // to constant helpers
54 LLConstantInt* DtoConstSize_t(uint64_t); 54 LLConstantInt* DtoConstSize_t(uint64_t);
55 LLConstantInt* DtoConstUint(unsigned i); 55 LLConstantInt* DtoConstUint(unsigned i);
56 LLConstantInt* DtoConstInt(int i); 56 LLConstantInt* DtoConstInt(int i);
57 LLConstantInt* DtoConstUbyte(unsigned char i); 57 LLConstantInt* DtoConstUbyte(unsigned char i);
58 llvm::ConstantFP* DtoConstFP(Type* t, long double value); 58 LLConstant* DtoConstFP(Type* t, long double value);
59 59
60 LLConstant* DtoConstString(const char*); 60 LLConstant* DtoConstString(const char*);
61 LLConstant* DtoConstStringPtr(const char* str, const char* section = 0); 61 LLConstant* DtoConstStringPtr(const char* str, const char* section = 0);
62 LLConstant* DtoConstBool(bool); 62 LLConstant* DtoConstBool(bool);
63 63