brintos

brintos / llvm-project-archived public Read only

0
0
Text · 12.1 KiB · 495ebb2 Raw
243 lines · plain
1; RUN: llc -O3 -mtriple=hexagon < %s2; REQUIRES: asserts3 4target triple = "hexagon-unknown--elf"5 6@g0 = external global ptr7 8; Function Attrs: nounwind9define void @f0(ptr nocapture %a0, ptr nocapture %a1, ptr %a2) #0 {10b0:11  %v0 = alloca [64 x float], align 1612  %v1 = alloca [8 x float], align 813  call void @llvm.lifetime.start.p0(i64 256, ptr %v0) #214  %v3 = load float, ptr %a0, align 4, !tbaa !015  %v4 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3516  store float %v3, ptr %v4, align 4, !tbaa !017  store float %v3, ptr %v0, align 16, !tbaa !018  %v6 = getelementptr inbounds float, ptr %a0, i32 119  %v7 = load float, ptr %v6, align 4, !tbaa !020  %v8 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3621  store float %v7, ptr %v8, align 16, !tbaa !022  %v9 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 123  store float %v7, ptr %v9, align 4, !tbaa !024  %v10 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3725  store float 1.000000e+00, ptr %v10, align 4, !tbaa !026  %v11 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 227  store float 1.000000e+00, ptr %v11, align 8, !tbaa !028  %v12 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3429  store float 0.000000e+00, ptr %v12, align 8, !tbaa !030  %v13 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3331  store float 0.000000e+00, ptr %v13, align 4, !tbaa !032  %v14 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3233  store float 0.000000e+00, ptr %v14, align 16, !tbaa !034  %v15 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 535  store float 0.000000e+00, ptr %v15, align 4, !tbaa !036  %v16 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 437  store float 0.000000e+00, ptr %v16, align 16, !tbaa !038  %v17 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 339  store float 0.000000e+00, ptr %v17, align 4, !tbaa !040  %v18 = load float, ptr %a1, align 4, !tbaa !041  %v19 = fmul float %v3, %v1842  %v20 = fsub float -0.000000e+00, %v1943  %v21 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 644  store float %v20, ptr %v21, align 8, !tbaa !045  %v22 = fmul float %v7, %v1846  %v23 = fsub float -0.000000e+00, %v2247  %v24 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 748  store float %v23, ptr %v24, align 4, !tbaa !049  %v25 = getelementptr inbounds float, ptr %a1, i32 150  %v26 = load float, ptr %v25, align 4, !tbaa !051  %v27 = fmul float %v3, %v2652  %v28 = fsub float -0.000000e+00, %v2753  %v29 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3854  store float %v28, ptr %v29, align 8, !tbaa !055  %v30 = fmul float %v7, %v2656  %v31 = fsub float -0.000000e+00, %v3057  %v32 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 3958  store float %v31, ptr %v32, align 4, !tbaa !059  store float %v18, ptr %v1, align 8, !tbaa !060  %v34 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 461  store float %v26, ptr %v34, align 8, !tbaa !062  %v35 = getelementptr float, ptr %a0, i32 263  %v36 = getelementptr float, ptr %a1, i32 264  %v37 = load float, ptr %v35, align 4, !tbaa !065  %v38 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 4366  store float %v37, ptr %v38, align 4, !tbaa !067  %v39 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 868  store float %v37, ptr %v39, align 16, !tbaa !069  %v40 = getelementptr inbounds float, ptr %a0, i32 370  %v41 = load float, ptr %v40, align 4, !tbaa !071  %v42 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 4472  store float %v41, ptr %v42, align 16, !tbaa !073  %v43 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 974  store float %v41, ptr %v43, align 4, !tbaa !075  %v44 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 4576  store float 1.000000e+00, ptr %v44, align 4, !tbaa !077  %v45 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1078  store float 1.000000e+00, ptr %v45, align 8, !tbaa !079  %v46 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 4280  store float 0.000000e+00, ptr %v46, align 8, !tbaa !081  %v47 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 4182  store float 0.000000e+00, ptr %v47, align 4, !tbaa !083  %v48 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 4084  store float 0.000000e+00, ptr %v48, align 16, !tbaa !085  %v49 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1386  store float 0.000000e+00, ptr %v49, align 4, !tbaa !087  %v50 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1288  store float 0.000000e+00, ptr %v50, align 16, !tbaa !089  %v51 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1190  store float 0.000000e+00, ptr %v51, align 4, !tbaa !091  %v52 = load float, ptr %v36, align 4, !tbaa !092  %v53 = fmul float %v37, %v5293  %v54 = fsub float -0.000000e+00, %v5394  %v55 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1495  store float %v54, ptr %v55, align 8, !tbaa !096  %v56 = fmul float %v41, %v5297  %v57 = fsub float -0.000000e+00, %v5698  %v58 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1599  store float %v57, ptr %v58, align 4, !tbaa !0100  %v59 = getelementptr inbounds float, ptr %a1, i32 3101  %v60 = load float, ptr %v59, align 4, !tbaa !0102  %v61 = fmul float %v37, %v60103  %v62 = fsub float -0.000000e+00, %v61104  %v63 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 46105  store float %v62, ptr %v63, align 8, !tbaa !0106  %v64 = fmul float %v41, %v60107  %v65 = fsub float -0.000000e+00, %v64108  %v66 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 47109  store float %v65, ptr %v66, align 4, !tbaa !0110  %v67 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 1111  store float %v52, ptr %v67, align 4, !tbaa !0112  %v68 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 5113  store float %v60, ptr %v68, align 4, !tbaa !0114  %v69 = getelementptr float, ptr %a0, i32 4115  %v70 = getelementptr float, ptr %a1, i32 4116  %v71 = load float, ptr %v69, align 4, !tbaa !0117  %v72 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 51118  store float %v71, ptr %v72, align 4, !tbaa !0119  %v73 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 16120  store float %v71, ptr %v73, align 16, !tbaa !0121  %v74 = getelementptr inbounds float, ptr %a0, i32 5122  %v75 = load float, ptr %v74, align 4, !tbaa !0123  %v76 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 52124  store float %v75, ptr %v76, align 16, !tbaa !0125  %v77 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 17126  store float %v75, ptr %v77, align 4, !tbaa !0127  %v78 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 53128  store float 1.000000e+00, ptr %v78, align 4, !tbaa !0129  %v79 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 18130  store float 1.000000e+00, ptr %v79, align 8, !tbaa !0131  %v80 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 50132  store float 0.000000e+00, ptr %v80, align 8, !tbaa !0133  %v81 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 49134  store float 0.000000e+00, ptr %v81, align 4, !tbaa !0135  %v82 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 48136  store float 0.000000e+00, ptr %v82, align 16, !tbaa !0137  %v83 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 21138  store float 0.000000e+00, ptr %v83, align 4, !tbaa !0139  %v84 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 20140  store float 0.000000e+00, ptr %v84, align 16, !tbaa !0141  %v85 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 19142  store float 0.000000e+00, ptr %v85, align 4, !tbaa !0143  %v86 = load float, ptr %v70, align 4, !tbaa !0144  %v87 = fmul float %v71, %v86145  %v88 = fsub float -0.000000e+00, %v87146  %v89 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 22147  store float %v88, ptr %v89, align 8, !tbaa !0148  %v90 = fmul float %v75, %v86149  %v91 = fsub float -0.000000e+00, %v90150  %v92 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 23151  store float %v91, ptr %v92, align 4, !tbaa !0152  %v93 = getelementptr inbounds float, ptr %a1, i32 5153  %v94 = load float, ptr %v93, align 4, !tbaa !0154  %v95 = fmul float %v71, %v94155  %v96 = fsub float -0.000000e+00, %v95156  %v97 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 54157  store float %v96, ptr %v97, align 8, !tbaa !0158  %v98 = fmul float %v75, %v94159  %v99 = fsub float -0.000000e+00, %v98160  %v100 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 55161  store float %v99, ptr %v100, align 4, !tbaa !0162  %v101 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 2163  store float %v86, ptr %v101, align 8, !tbaa !0164  %v102 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 6165  store float %v94, ptr %v102, align 8, !tbaa !0166  %v103 = getelementptr float, ptr %a0, i32 6167  %v104 = getelementptr float, ptr %a1, i32 6168  %v105 = load float, ptr %v103, align 4, !tbaa !0169  %v106 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 59170  store float %v105, ptr %v106, align 4, !tbaa !0171  %v107 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 24172  store float %v105, ptr %v107, align 16, !tbaa !0173  %v108 = getelementptr inbounds float, ptr %a0, i32 7174  %v109 = load float, ptr %v108, align 4, !tbaa !0175  %v110 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 60176  store float %v109, ptr %v110, align 16, !tbaa !0177  %v111 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 25178  store float %v109, ptr %v111, align 4, !tbaa !0179  %v112 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 61180  store float 1.000000e+00, ptr %v112, align 4, !tbaa !0181  %v113 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 26182  store float 1.000000e+00, ptr %v113, align 8, !tbaa !0183  %v114 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 58184  store float 0.000000e+00, ptr %v114, align 8, !tbaa !0185  %v115 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 57186  store float 0.000000e+00, ptr %v115, align 4, !tbaa !0187  %v116 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 56188  store float 0.000000e+00, ptr %v116, align 16, !tbaa !0189  %v117 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 29190  store float 0.000000e+00, ptr %v117, align 4, !tbaa !0191  %v118 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 28192  store float 0.000000e+00, ptr %v118, align 16, !tbaa !0193  %v119 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 27194  store float 0.000000e+00, ptr %v119, align 4, !tbaa !0195  %v120 = load float, ptr %v104, align 4, !tbaa !0196  %v121 = fmul float %v105, %v120197  %v122 = fsub float -0.000000e+00, %v121198  %v123 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 30199  store float %v122, ptr %v123, align 8, !tbaa !0200  %v124 = fmul float %v109, %v120201  %v125 = fsub float -0.000000e+00, %v124202  %v126 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 31203  store float %v125, ptr %v126, align 4, !tbaa !0204  %v127 = getelementptr inbounds float, ptr %a1, i32 7205  %v128 = load float, ptr %v127, align 4, !tbaa !0206  %v129 = fmul float %v105, %v128207  %v130 = fsub float -0.000000e+00, %v129208  %v131 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 62209  store float %v130, ptr %v131, align 8, !tbaa !0210  %v132 = fmul float %v109, %v128211  %v133 = fsub float -0.000000e+00, %v132212  %v134 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 63213  store float %v133, ptr %v134, align 4, !tbaa !0214  %v135 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 3215  store float %v120, ptr %v135, align 4, !tbaa !0216  %v136 = getelementptr inbounds [8 x float], ptr %v1, i32 0, i32 7217  store float %v128, ptr %v136, align 4, !tbaa !0218  %v137 = load ptr, ptr @g0, align 4, !tbaa !4219  %v138 = load ptr, ptr %v137, align 4, !tbaa !4220  call void %v138(ptr %v0, i32 8, i32 8, ptr %v1, ptr %a2) #2221  %v139 = getelementptr inbounds float, ptr %a2, i32 8222  store float 1.000000e+00, ptr %v139, align 4, !tbaa !0223  call void @llvm.lifetime.end.p0(i64 256, ptr %v0) #2224  ret void225}226 227; Function Attrs: argmemonly nounwind228declare void @llvm.lifetime.start.p0(i64, ptr nocapture) #1229 230; Function Attrs: argmemonly nounwind231declare void @llvm.lifetime.end.p0(i64, ptr nocapture) #1232 233attributes #0 = { nounwind "target-cpu"="hexagonv55" }234attributes #1 = { argmemonly nounwind }235attributes #2 = { nounwind }236 237!0 = !{!1, !1, i64 0}238!1 = !{!"float", !2}239!2 = !{!"omnipotent char", !3}240!3 = !{!"Simple C/C++ TBAA"}241!4 = !{!5, !5, i64 0}242!5 = !{!"any pointer", !2}243