mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
WIP: port to llvm 3.0
This commit is contained in:
10
gen/arrays.h
10
gen/arrays.h
@@ -5,12 +5,12 @@ struct ArrayInitializer;
|
||||
|
||||
struct DSliceValue;
|
||||
|
||||
const llvm::StructType* DtoArrayType(Type* arrayTy);
|
||||
const llvm::StructType* DtoArrayType(const LLType* elemTy);
|
||||
const llvm::ArrayType* DtoStaticArrayType(Type* sarrayTy);
|
||||
llvm::StructType* DtoArrayType(Type* arrayTy);
|
||||
llvm::StructType* DtoArrayType(LLType* elemTy);
|
||||
llvm::ArrayType* DtoStaticArrayType(Type* sarrayTy);
|
||||
|
||||
LLConstant* DtoConstArrayInitializer(ArrayInitializer* si);
|
||||
LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr);
|
||||
LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr, Type *type = 0);
|
||||
|
||||
void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src);
|
||||
void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src);
|
||||
@@ -45,7 +45,7 @@ LLValue* DtoArrayCompare(Loc& loc, TOK op, DValue* l, DValue* r);
|
||||
|
||||
LLValue* DtoDynArrayIs(TOK op, DValue* l, DValue* r);
|
||||
|
||||
LLValue* DtoArrayCastLength(LLValue* len, const LLType* elemty, const LLType* newelemty);
|
||||
LLValue* DtoArrayCastLength(LLValue* len, LLType* elemty, LLType* newelemty);
|
||||
|
||||
LLValue* DtoArrayLen(DValue* v);
|
||||
LLValue* DtoArrayPtr(DValue* v);
|
||||
|
||||
Reference in New Issue
Block a user