Mercurial > projects > ldc
comparison gen/tollvm.h @ 51:61bc1b4ad3c4 trunk
[svn r55] Foreach was always generating code as if the value variable was 'ref'
Other not-so-major improvements
author | lindquist |
---|---|
date | Mon, 22 Oct 2007 17:25:44 +0200 |
parents | 6fcc08a4d406 |
children | 06ccc817acd4 |
comparison
equal
deleted
inserted
replaced
50:6fcc08a4d406 | 51:61bc1b4ad3c4 |
---|---|
5 const llvm::Type* LLVM_DtoType(Type* t); | 5 const llvm::Type* LLVM_DtoType(Type* t); |
6 bool LLVM_DtoIsPassedByRef(Type* type); | 6 bool LLVM_DtoIsPassedByRef(Type* type); |
7 Type* LLVM_DtoDType(Type* t); | 7 Type* LLVM_DtoDType(Type* t); |
8 | 8 |
9 const llvm::Type* LLVM_DtoStructType(Type* t); | 9 const llvm::Type* LLVM_DtoStructType(Type* t); |
10 llvm::Value* LLVM_DtoStructZeroInit(TypeStruct* t, llvm::Value* v); | 10 llvm::Value* LLVM_DtoStructZeroInit(llvm::Value* v); |
11 llvm::Value* LLVM_DtoStructCopy(TypeStruct* t, llvm::Value* dst, llvm::Value* src); | 11 llvm::Value* LLVM_DtoStructCopy(llvm::Value* dst, llvm::Value* src); |
12 llvm::Constant* LLVM_DtoConstStructInitializer(StructInitializer* si); | 12 llvm::Constant* LLVM_DtoConstStructInitializer(StructInitializer* si); |
13 | 13 |
14 const llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thisparam = 0); | 14 const llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thisparam = 0); |
15 const llvm::FunctionType* LLVM_DtoFunctionType(FuncDeclaration* fdecl); | 15 const llvm::FunctionType* LLVM_DtoFunctionType(FuncDeclaration* fdecl); |
16 llvm::Function* LLVM_DtoDeclareFunction(FuncDeclaration* fdecl); | 16 llvm::Function* LLVM_DtoDeclareFunction(FuncDeclaration* fdecl); |
54 | 54 |
55 llvm::Value* LLVM_DtoArgument(const llvm::Type* paramtype, Argument* fnarg, Expression* argexp); | 55 llvm::Value* LLVM_DtoArgument(const llvm::Type* paramtype, Argument* fnarg, Expression* argexp); |
56 | 56 |
57 llvm::Value* LLVM_DtoNestedVariable(VarDeclaration* vd); | 57 llvm::Value* LLVM_DtoNestedVariable(VarDeclaration* vd); |
58 | 58 |
59 void LLVM_DtoAssign(Type* lhsType, llvm::Value* lhs, llvm::Value* rhs); | |
60 | |
59 #include "enums.h" | 61 #include "enums.h" |