Mercurial > projects > ldc
comparison gen/tollvm.h @ 11:d3ee9efe20e2 trunk
[svn r15] * Fixed a bunch problems with virtual calls. Seems I did some rather poor testing.
* Now 50/51 tests compile.
* Added a simple runalltests.d scripts that should be run with 'gdmd -run runalltests.d' - LLVMDC will not compile it yet.
author | lindquist |
---|---|
date | Tue, 02 Oct 2007 05:10:18 +0200 |
parents | dafae18f9c08 |
children | 253a5fc4033a |
comparison
equal
deleted
inserted
replaced
10:c0f2c47e5034 | 11:d3ee9efe20e2 |
---|---|
2 | 2 |
3 struct StructInitializer; | 3 struct StructInitializer; |
4 | 4 |
5 const llvm::Type* LLVM_DtoType(Type* t); | 5 const llvm::Type* LLVM_DtoType(Type* t); |
6 | 6 |
7 llvm::Type* LLVM_DtoStructType(Type* t); | 7 const llvm::Type* LLVM_DtoStructType(Type* t); |
8 llvm::Value* LLVM_DtoStructZeroInit(TypeStruct* t, llvm::Value* v); | 8 llvm::Value* LLVM_DtoStructZeroInit(TypeStruct* t, llvm::Value* v); |
9 llvm::Value* LLVM_DtoStructCopy(TypeStruct* t, llvm::Value* dst, llvm::Value* src); | 9 llvm::Value* LLVM_DtoStructCopy(TypeStruct* t, llvm::Value* dst, llvm::Value* src); |
10 llvm::Constant* LLVM_DtoStructInitializer(StructInitializer* si); | 10 llvm::Constant* LLVM_DtoStructInitializer(StructInitializer* si); |
11 | 11 |
12 llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thisparam = 0); | 12 const llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thisparam = 0); |
13 llvm::FunctionType* LLVM_DtoFunctionType(FuncDeclaration* fdecl); | 13 const llvm::FunctionType* LLVM_DtoFunctionType(FuncDeclaration* fdecl); |
14 llvm::Function* LLVM_DtoDeclareFunction(FuncDeclaration* fdecl); | 14 llvm::Function* LLVM_DtoDeclareFunction(FuncDeclaration* fdecl); |
15 | 15 |
16 llvm::StructType* LLVM_DtoDelegateType(Type* t); | 16 const llvm::StructType* LLVM_DtoDelegateType(Type* t); |
17 llvm::Value* LLVM_DtoNullDelegate(llvm::Value* v); | 17 llvm::Value* LLVM_DtoNullDelegate(llvm::Value* v); |
18 llvm::Value* LLVM_DtoDelegateCopy(llvm::Value* dst, llvm::Value* src); | 18 llvm::Value* LLVM_DtoDelegateCopy(llvm::Value* dst, llvm::Value* src); |
19 | 19 |
20 llvm::GlobalValue::LinkageTypes LLVM_DtoLinkage(PROT prot, uint stc); | 20 llvm::GlobalValue::LinkageTypes LLVM_DtoLinkage(PROT prot, uint stc); |
21 unsigned LLVM_DtoCallingConv(LINK l); | 21 unsigned LLVM_DtoCallingConv(LINK l); |
37 llvm::Function* LLVM_DeclareMemCpy32(); | 37 llvm::Function* LLVM_DeclareMemCpy32(); |
38 llvm::Function* LLVM_DeclareMemCpy64(); | 38 llvm::Function* LLVM_DeclareMemCpy64(); |
39 | 39 |
40 llvm::Value* LLVM_DtoGEP(llvm::Value* ptr, llvm::Value* i0, llvm::Value* i1, const std::string& var, llvm::BasicBlock* bb); | 40 llvm::Value* LLVM_DtoGEP(llvm::Value* ptr, llvm::Value* i0, llvm::Value* i1, const std::string& var, llvm::BasicBlock* bb); |
41 llvm::Value* LLVM_DtoGEP(llvm::Value* ptr, const std::vector<unsigned>& src, const std::string& var, llvm::BasicBlock* bb); | 41 llvm::Value* LLVM_DtoGEP(llvm::Value* ptr, const std::vector<unsigned>& src, const std::string& var, llvm::BasicBlock* bb); |
42 llvm::Value* LLVM_DtoGEPi(llvm::Value* ptr, unsigned i0, const std::string& var, llvm::BasicBlock* bb); | |
43 llvm::Value* LLVM_DtoGEPi(llvm::Value* ptr, unsigned i0, unsigned i1, const std::string& var, llvm::BasicBlock* bb); | |
42 | 44 |
43 #include "enums.h" | 45 #include "enums.h" |