Mercurial > projects > ldc
comparison gen/tollvm.h @ 611:83ca663ecc20
Backed out changeset 1b62222581fb
Do not use i8 for bool. Instead rely on the target to store i1 as i8.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 21 Sep 2008 14:45:41 +0200 |
parents | 1b62222581fb |
children | 8d850fa25713 |
comparison
equal
deleted
inserted
replaced
610:1b62222581fb | 611:83ca663ecc20 |
---|---|
56 llvm::ConstantFP* DtoConstFP(Type* t, long double value); | 56 llvm::ConstantFP* DtoConstFP(Type* t, long double value); |
57 | 57 |
58 LLConstant* DtoConstString(const char*); | 58 LLConstant* DtoConstString(const char*); |
59 LLConstant* DtoConstStringPtr(const char* str, const char* section = 0); | 59 LLConstant* DtoConstStringPtr(const char* str, const char* section = 0); |
60 LLConstant* DtoConstBool(bool); | 60 LLConstant* DtoConstBool(bool); |
61 LLConstant* DtoConstI1(bool); | |
62 | 61 |
63 // llvm wrappers | 62 // llvm wrappers |
64 LLValue* DtoLoad(LLValue* src, const char* name=0); | 63 LLValue* DtoLoad(LLValue* src, const char* name=0); |
65 void DtoStore(LLValue* src, LLValue* dst); | 64 void DtoStore(LLValue* src, LLValue* dst); |
66 LLValue* DtoBitCast(LLValue* v, const LLType* t, const char* name=0); | 65 LLValue* DtoBitCast(LLValue* v, const LLType* t, const char* name=0); |