Mercurial > projects > ldc
comparison gen/arrays.h @ 102:027b8d8b71ec trunk
[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up.
Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies.
ClassInfo is now has the most useful(biased?) members working.
Probably other stuf...
author | lindquist |
---|---|
date | Sun, 18 Nov 2007 06:52:57 +0100 |
parents | a676a7743642 |
children | 288fe1029e1f |
comparison
equal
deleted
inserted
replaced
101:169fda3a77d4 | 102:027b8d8b71ec |
---|---|
14 | 14 |
15 void DtoArrayInit(llvm::Value* l, llvm::Value* r); | 15 void DtoArrayInit(llvm::Value* l, llvm::Value* r); |
16 void DtoArrayInit(llvm::Value* ptr, llvm::Value* dim, llvm::Value* val); | 16 void DtoArrayInit(llvm::Value* ptr, llvm::Value* dim, llvm::Value* val); |
17 void DtoArrayAssign(llvm::Value* l, llvm::Value* r); | 17 void DtoArrayAssign(llvm::Value* l, llvm::Value* r); |
18 void DtoSetArray(llvm::Value* arr, llvm::Value* dim, llvm::Value* ptr); | 18 void DtoSetArray(llvm::Value* arr, llvm::Value* dim, llvm::Value* ptr); |
19 void DtoNullArray(llvm::Value* v); | 19 void DtoSetArrayToNull(llvm::Value* v); |
20 | 20 |
21 llvm::Value* DtoNewDynArray(llvm::Value* dst, llvm::Value* dim, Type* dty, bool doinit=true); | 21 llvm::Value* DtoNewDynArray(llvm::Value* dst, llvm::Value* dim, Type* dty, bool doinit=true); |
22 llvm::Value* DtoResizeDynArray(llvm::Value* arr, llvm::Value* sz); | 22 llvm::Value* DtoResizeDynArray(llvm::Value* arr, llvm::Value* sz); |
23 | 23 |
24 void DtoCatAssignElement(llvm::Value* arr, Expression* exp); | 24 void DtoCatAssignElement(llvm::Value* arr, Expression* exp); |
35 llvm::Value* DtoArrayCastLength(llvm::Value* len, const llvm::Type* elemty, const llvm::Type* newelemty); | 35 llvm::Value* DtoArrayCastLength(llvm::Value* len, const llvm::Type* elemty, const llvm::Type* newelemty); |
36 | 36 |
37 llvm::Value* DtoArrayLen(DValue* v); | 37 llvm::Value* DtoArrayLen(DValue* v); |
38 llvm::Value* DtoArrayPtr(DValue* v); | 38 llvm::Value* DtoArrayPtr(DValue* v); |
39 | 39 |
40 DValue* DtoCastArray(DValue* val, Type* to); | |
41 | |
40 #endif // LLVMC_GEN_ARRAYS_H | 42 #endif // LLVMC_GEN_ARRAYS_H |