1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; RUN: llc < %s -O3 -mtriple=arm64-apple-ios -disable-post-ra | FileCheck %s
5 %struct.Counter_Struct = type { i64, i64 }
6 %struct.Bicubic_Patch_Struct = type { ptr, i32, ptr, ptr, ptr, ptr, ptr, %struct.Bounding_Box_Struct, i64, i32, i32, i32, [4 x [4 x [3 x double]]], [3 x double], double, double, ptr }
7 %struct.Method_Struct = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
8 %struct.Object_Struct = type { ptr, i32, ptr, ptr, ptr, ptr, ptr, %struct.Bounding_Box_Struct, i64 }
9 %struct.Texture_Struct = type { i16, i16, i16, i32, float, float, float, ptr, ptr, ptr, %union.anon.9, ptr, ptr, ptr, ptr, ptr, i32 }
10 %struct.Warps_Struct = type { i16, ptr }
11 %struct.Pattern_Struct = type { i16, i16, i16, i32, float, float, float, ptr, ptr, ptr, %union.anon.6 }
12 %struct.Blend_Map_Struct = type { i16, i16, i16, i64, ptr }
13 %struct.Blend_Map_Entry = type { float, i8, %union.anon }
14 %union.anon = type { [2 x double], [8 x i8] }
15 %union.anon.6 = type { %struct.anon.7 }
16 %struct.anon.7 = type { float, [3 x double] }
17 %union.anon.9 = type { %struct.anon.10 }
18 %struct.anon.10 = type { float, [3 x double] }
19 %struct.Pigment_Struct = type { i16, i16, i16, i32, float, float, float, ptr, ptr, ptr, %union.anon.0, [5 x float] }
20 %union.anon.0 = type { %struct.anon }
21 %struct.anon = type { float, [3 x double] }
22 %struct.Tnormal_Struct = type { i16, i16, i16, i32, float, float, float, ptr, ptr, ptr, %union.anon.3, float }
23 %union.anon.3 = type { %struct.anon.4 }
24 %struct.anon.4 = type { float, [3 x double] }
25 %struct.Finish_Struct = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, [3 x float], [3 x float] }
26 %struct.Interior_Struct = type { i64, i32, float, float, float, float, float, ptr }
27 %struct.Media_Struct = type { i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, [5 x float], [5 x float], [5 x float], [5 x float], double, double, double, ptr, ptr, ptr }
28 %struct.Bounding_Box_Struct = type { [3 x float], [3 x float] }
29 %struct.Ray_Struct = type { [3 x double], [3 x double], i32, [100 x ptr] }
30 %struct.istack_struct = type { ptr, ptr, i32 }
31 %struct.istk_entry = type { double, [3 x double], [3 x double], ptr, i32, i32, double, double, ptr }
32 %struct.Transform_Struct = type { [4 x [4 x double]], [4 x [4 x double]] }
33 %struct.Bezier_Node_Struct = type { i32, [3 x double], double, i32, ptr }
35 define void @Precompute_Patch_Values(ptr %Shape) {
36 ; CHECK-LABEL: Precompute_Patch_Values:
37 ; CHECK: ; %bb.0: ; %entry
38 ; CHECK-NEXT: sub sp, sp, #400
39 ; CHECK-NEXT: stp x28, x27, [sp, #384] ; 16-byte Folded Spill
40 ; CHECK-NEXT: .cfi_def_cfa_offset 400
41 ; CHECK-NEXT: .cfi_offset w27, -8
42 ; CHECK-NEXT: .cfi_offset w28, -16
43 ; CHECK-NEXT: ldr q0, [x0, #272]
44 ; CHECK-NEXT: ldr x8, [x0, #288]
45 ; CHECK-NEXT: stur q0, [sp, #216]
46 ; CHECK-NEXT: str x8, [sp, #232]
47 ; CHECK-NEXT: ldp x28, x27, [sp, #384] ; 16-byte Folded Reload
48 ; CHECK-NEXT: add sp, sp, #400
51 %Control_Points = alloca [16 x [3 x double]], align 8
52 %arraydecay5.3.1 = getelementptr inbounds [16 x [3 x double]], ptr %Control_Points, i64 0, i64 9, i64 0
53 %arraydecay11.3.1 = getelementptr inbounds %struct.Bicubic_Patch_Struct, ptr %Shape, i64 0, i32 12, i64 1, i64 3, i64 0
54 call void @llvm.memcpy.p0.p0.i64(ptr %arraydecay5.3.1, ptr %arraydecay11.3.1, i64 24, i1 false)
58 ; Function Attrs: nounwind
59 declare void @llvm.memcpy.p0.p0.i64(ptr nocapture, ptr nocapture, i64, i1)