view gen/arrays.h @ 12:ee302fe07296 trunk

[svn r16] * Updated all tests to have a main * Updated runalltests to both compile and run the tests
author lindquist
date Tue, 02 Oct 2007 05:27:44 +0200
parents d3ee9efe20e2
children 8d45266bbabe
line wrap: on
line source

#ifndef LLVMC_GEN_ARRAYS_H
#define LLVMC_GEN_ARRAYS_H

const llvm::StructType* LLVM_DtoArrayType(Type* t);

const llvm::ArrayType* LLVM_DtoStaticArrayType(Type* t);

llvm::Value* LLVM_DtoNullArray(llvm::Value* v);

llvm::Value* LLVM_DtoArrayAssign(llvm::Value* l, llvm::Value* r);

void LLVM_DtoSetArray(llvm::Value* arr, llvm::Value* dim, llvm::Value* ptr);

llvm::Constant* LLVM_DtoArrayInitializer(ArrayInitializer* si);

void LLVM_DtoArrayCopy(elem* dst, elem* src);

void LLVM_DtoArrayInit(llvm::Value* l, llvm::Value* r);

#endif // LLVMC_GEN_ARRAYS_H