; ModuleID = '../../wrap/composite.c' source_filename = "../../wrap/composite.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "amd64-unknown-linux-gnu" %struct.array10 = type { %struct.basearray1 } %struct.basearray1 = type { [1 x i32] } %struct.array11 = type { %struct.basearray1, i32 } %struct.point10 = type { %struct.basepoint1 } %struct.basepoint1 = type { i32 } %struct.point11 = type { %struct.basepoint1, i32 } %struct.array20 = type { %struct.basearray2 } %struct.basearray2 = type { [2 x i32] } %struct.array21 = type { %struct.basearray2, i32 } %struct.point20 = type { %struct.basepoint2 } %struct.basepoint2 = type { i32, i32 } %struct.point21 = type { %struct.basepoint2, i32 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local i32 @demo_array10(i32 %0) #0 { %2 = alloca %struct.array10, align 4 %3 = alloca %struct.array10, align 4 %4 = getelementptr inbounds %struct.array10, %struct.array10* %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.basearray1, %struct.basearray1* %4, i32 0, i32 0 %6 = bitcast [1 x i32]* %5 to i32* store i32 %0, i32* %6, align 4 %7 = bitcast %struct.array10* %2 to i8* %8 = bitcast %struct.array10* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %7, i8* align 4 %8, i64 4, i1 false) %9 = getelementptr inbounds %struct.array10, %struct.array10* %2, i32 0, i32 0 %10 = getelementptr inbounds %struct.basearray1, %struct.basearray1* %9, i32 0, i32 0 %11 = bitcast [1 x i32]* %10 to i32* %12 = load i32, i32* %11, align 4 ret i32 %12 } ; Function Attrs: argmemonly nofree nounwind willreturn declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: noinline nounwind optnone uwtable define dso_local i64 @demo_array11(i64 %0) #0 { %2 = alloca %struct.array11, align 4 %3 = alloca %struct.array11, align 4 %4 = bitcast %struct.array11* %3 to i64* store i64 %0, i64* %4, align 4 %5 = bitcast %struct.array11* %2 to i8* %6 = bitcast %struct.array11* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %5, i8* align 4 %6, i64 8, i1 false) %7 = bitcast %struct.array11* %2 to i64* %8 = load i64, i64* %7, align 4 ret i64 %8 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local i32 @demo_point10(i32 %0) #0 { %2 = alloca %struct.point10, align 4 %3 = alloca %struct.point10, align 4 %4 = getelementptr inbounds %struct.point10, %struct.point10* %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.basepoint1, %struct.basepoint1* %4, i32 0, i32 0 store i32 %0, i32* %5, align 4 %6 = bitcast %struct.point10* %2 to i8* %7 = bitcast %struct.point10* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %6, i8* align 4 %7, i64 4, i1 false) %8 = getelementptr inbounds %struct.point10, %struct.point10* %2, i32 0, i32 0 %9 = getelementptr inbounds %struct.basepoint1, %struct.basepoint1* %8, i32 0, i32 0 %10 = load i32, i32* %9, align 4 ret i32 %10 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local i64 @demo_point11(i64 %0) #0 { %2 = alloca %struct.point11, align 4 %3 = alloca %struct.point11, align 4 %4 = bitcast %struct.point11* %3 to i64* store i64 %0, i64* %4, align 4 %5 = bitcast %struct.point11* %2 to i8* %6 = bitcast %struct.point11* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %5, i8* align 4 %6, i64 8, i1 false) %7 = bitcast %struct.point11* %2 to i64* %8 = load i64, i64* %7, align 4 ret i64 %8 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local i64 @demo_array20(i64 %0) #0 { %2 = alloca %struct.array20, align 4 %3 = alloca %struct.array20, align 4 %4 = getelementptr inbounds %struct.array20, %struct.array20* %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.basearray2, %struct.basearray2* %4, i32 0, i32 0 %6 = bitcast [2 x i32]* %5 to i64* store i64 %0, i64* %6, align 4 %7 = bitcast %struct.array20* %2 to i8* %8 = bitcast %struct.array20* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %7, i8* align 4 %8, i64 8, i1 false) %9 = getelementptr inbounds %struct.array20, %struct.array20* %2, i32 0, i32 0 %10 = getelementptr inbounds %struct.basearray2, %struct.basearray2* %9, i32 0, i32 0 %11 = bitcast [2 x i32]* %10 to i64* %12 = load i64, i64* %11, align 4 ret i64 %12 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local { i64, i32 } @demo_array21(i64 %0, i32 %1) #0 { %3 = alloca %struct.array21, align 4 %4 = alloca %struct.array21, align 4 %5 = alloca { i64, i32 }, align 4 %6 = alloca { i64, i32 }, align 8 %7 = getelementptr inbounds { i64, i32 }, { i64, i32 }* %5, i32 0, i32 0 store i64 %0, i64* %7, align 4 %8 = getelementptr inbounds { i64, i32 }, { i64, i32 }* %5, i32 0, i32 1 store i32 %1, i32* %8, align 4 %9 = bitcast %struct.array21* %4 to i8* %10 = bitcast { i64, i32 }* %5 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %9, i8* align 4 %10, i64 12, i1 false) %11 = bitcast %struct.array21* %3 to i8* %12 = bitcast %struct.array21* %4 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %11, i8* align 4 %12, i64 12, i1 false) %13 = bitcast { i64, i32 }* %6 to i8* %14 = bitcast %struct.array21* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 %13, i8* align 4 %14, i64 12, i1 false) %15 = load { i64, i32 }, { i64, i32 }* %6, align 8 ret { i64, i32 } %15 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local i64 @demo_point20(i64 %0) #0 { %2 = alloca %struct.point20, align 4 %3 = alloca %struct.point20, align 4 %4 = getelementptr inbounds %struct.point20, %struct.point20* %3, i32 0, i32 0 %5 = bitcast %struct.basepoint2* %4 to i64* store i64 %0, i64* %5, align 4 %6 = bitcast %struct.point20* %2 to i8* %7 = bitcast %struct.point20* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %6, i8* align 4 %7, i64 8, i1 false) %8 = getelementptr inbounds %struct.point20, %struct.point20* %2, i32 0, i32 0 %9 = bitcast %struct.basepoint2* %8 to i64* %10 = load i64, i64* %9, align 4 ret i64 %10 } ; Function Attrs: noinline nounwind optnone uwtable define dso_local { i64, i32 } @demo_point21(i64 %0, i32 %1) #0 { %3 = alloca %struct.point21, align 4 %4 = alloca %struct.point21, align 4 %5 = alloca { i64, i32 }, align 4 %6 = alloca { i64, i32 }, align 8 %7 = getelementptr inbounds { i64, i32 }, { i64, i32 }* %5, i32 0, i32 0 store i64 %0, i64* %7, align 4 %8 = getelementptr inbounds { i64, i32 }, { i64, i32 }* %5, i32 0, i32 1 store i32 %1, i32* %8, align 4 %9 = bitcast %struct.point21* %4 to i8* %10 = bitcast { i64, i32 }* %5 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %9, i8* align 4 %10, i64 12, i1 false) %11 = bitcast %struct.point21* %3 to i8* %12 = bitcast %struct.point21* %4 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %11, i8* align 4 %12, i64 12, i1 false) %13 = bitcast { i64, i32 }* %6 to i8* %14 = bitcast %struct.point21* %3 to i8* call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 %13, i8* align 4 %14, i64 12, i1 false) %15 = load { i64, i32 }, { i64, i32 }* %6, align 8 ret { i64, i32 } %15 } attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { argmemonly nofree nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"Apple clang version 14.0.3 (clang-1403.0.22.14.1)"}