LLVMMetadataRef LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Dref, uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef ElementType, LLVMMetadataRef Subscripts) { DIBuilder *D = unwrap(Dref); return wrap(D->createArrayType(SizeInBits, AlignInBits, unwrap<DIType>(ElementType), DINodeArray(unwrap<MDTuple>(Subscripts)))); }
LLVMValueRef DIBuilderCreateArrayType(LLVMDIBuilderRef dref, uint64_t sizeInBits, uint64_t alignInBits, LLVMValueRef diElementType, LLVMValueRef diSubscripts) { DIBuilder *d = unwrap(dref); DICompositeType ct = d->createArrayType(sizeInBits, alignInBits, unwrapDI<DIType>(diElementType), unwrapDI<DIArray>(diSubscripts)); return wrap(ct); }
LLVMValueRef LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Dref, uint64_t SizeInBits, uint64_t AlignInBits, LLVMValueRef ElementType, LLVMValueRef Subscripts) { DIBuilder *D = unwrap(Dref); DICompositeType CT = D->createArrayType(SizeInBits, AlignInBits, unwrapDI<DIType>(ElementType), unwrapDI<DIArray>(Subscripts)); return wrap(CT); }