diff --git a/crates/metal2vulkan-runtime/src/enables.rs b/crates/metal2vulkan-runtime/src/enables.rs index 4a5e4b3de..93d286be9 100644 --- a/crates/metal2vulkan-runtime/src/enables.rs +++ b/crates/metal2vulkan-runtime/src/enables.rs @@ -751,6 +751,7 @@ members! { RasterOrder.raster_order.rasterization_order_depth_attachment_access => RasterizationOrderDepthAttachmentAccess; RasterOrder.raster_order.rasterization_order_stencil_attachment_access => RasterizationOrderStencilAttachmentAccess; Maintenance8.maintenance8.maintenance8 => Maintenance8; + ShaderFma.shader_fma.shader_fma_float16 => ShaderFmaFloat16; ShaderFma.shader_fma.shader_fma_float32 => ShaderFmaFloat32; Maintenance5.maintenance5.maintenance5 => Maintenance5; BorderColorSwizzle.border_color_swizzle.border_color_swizzle => BorderColorSwizzle; diff --git a/crates/metal2vulkan-validation/fixtures/public/engine/TOOLCHAIN b/crates/metal2vulkan-validation/fixtures/public/engine/TOOLCHAIN index 8d569eed4..d923be60a 100644 --- a/crates/metal2vulkan-validation/fixtures/public/engine/TOOLCHAIN +++ b/crates/metal2vulkan-validation/fixtures/public/engine/TOOLCHAIN @@ -113,6 +113,7 @@ fixture gsm2_helper_threads_msl22: metal: Apple metal version 32023.921 (metalfe fixture gsm2_helper_threads: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) fixture gsm2_quad_ops: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) fixture gsm2_simd_products: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) +fixture hfb_filter_bank: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) fixture hlf_float_linear: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) fixture hlf_float_read: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) fixture hlf_half_access: metal: Apple metal version 32023.921 (metalfe-32023.921.6); macosx-sdk: 27.0 (26A425) diff --git a/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.air.ll b/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.air.ll new file mode 100644 index 000000000..659e110e0 --- /dev/null +++ b/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.air.ll @@ -0,0 +1,5852 @@ +; Generated by scripts/regen-air-fixtures from hfb_filter_bank.metal (typed pointers; xcrun metal-as reassembles it). Do not edit. +; ModuleID = '-' +source_filename = "-" +target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32" +target triple = "air64_v28-apple-macosx26.0.0" + +%struct._texture_2d_t = type opaque +%struct._sampler_t = type opaque +%struct.HfbParams = type { i32, i32, <2 x float>, <4 x half>, <4 x half>, half, half } + +; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn +define <{ <4 x float>, <2 x float> }> @hfb_quad(i32 noundef %0) local_unnamed_addr #0 { + %2 = icmp eq i32 %0, 1 + %3 = select fast i1 %2, float 2.000000e+00, float 0.000000e+00 + %4 = insertelement <2 x float> undef, float %3, i64 0 + %5 = icmp eq i32 %0, 2 + %6 = select fast i1 %5, float 2.000000e+00, float 0.000000e+00 + %7 = insertelement <2 x float> %4, float %6, i64 1 + %8 = fmul fast <2 x float> %7, + %9 = fadd fast <2 x float> %8, + %10 = shufflevector <2 x float> %9, <2 x float> poison, <4 x i32> + %11 = shufflevector <4 x float> %10, <4 x float> , <4 x i32> + %12 = insertvalue <{ <4 x float>, <2 x float> }> undef, <4 x float> %11, 0 + %13 = insertvalue <{ <4 x float>, <2 x float> }> %12, <2 x float> %7, 1 + ret <{ <4 x float>, <2 x float> }> %13 +} + +; Function Attrs: convergent mustprogress nofree nounwind readonly willreturn +define <4 x half> @hfb_filter_bank(<4 x float> %0, <2 x float> %1, %struct._texture_2d_t addrspace(1)* %2, %struct._sampler_t addrspace(2)* readonly %3, %struct.HfbParams addrspace(2)* noundef readonly align 8 dereferenceable(40) "air-buffer-no-alias" %4) local_unnamed_addr #1 { + %6 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 0 + %7 = load i32, i32 addrspace(2)* %6, align 8, !tbaa !31, !alias.scope !37, !noalias !40 + %8 = and i32 %7, 31 + switch i32 %8, label %5353 [ + i32 0, label %815 + i32 1, label %789 + i32 2, label %763 + i32 3, label %737 + i32 4, label %711 + i32 5, label %685 + i32 6, label %659 + i32 7, label %633 + i32 8, label %607 + i32 9, label %581 + i32 10, label %555 + i32 11, label %529 + i32 12, label %503 + i32 13, label %477 + i32 14, label %451 + i32 15, label %425 + i32 16, label %399 + i32 17, label %373 + i32 18, label %347 + i32 19, label %321 + i32 20, label %295 + i32 21, label %269 + i32 22, label %243 + i32 23, label %217 + i32 24, label %191 + i32 25, label %165 + i32 26, label %139 + i32 27, label %113 + i32 28, label %87 + i32 29, label %61 + i32 30, label %35 + i32 31, label %9 + ] + +9: ; preds = %5 + %10 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %11 = load i32, i32 addrspace(2)* %10, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %12 = icmp eq i32 %11, 0 + br i1 %12, label %13, label %24 + +13: ; preds = %9 + %14 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %15 = load half, half addrspace(2)* %14, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %16 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %17 = load half, half addrspace(2)* %16, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %18 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %19 = load <2 x float>, <2 x float> addrspace(2)* %18, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %20 = insertelement <4 x half> poison, half %15, i64 0 + %21 = shufflevector <4 x half> %20, <4 x half> poison, <4 x i32> zeroinitializer + %22 = insertelement <4 x half> poison, half %17, i64 0 + %23 = shufflevector <4 x half> %22, <4 x half> poison, <4 x i32> zeroinitializer + br label %5212 + +24: ; preds = %9 + %25 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %26 = load <2 x float>, <2 x float> addrspace(2)* %25, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %27 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %28 = load half, half addrspace(2)* %27, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %29 = insertelement <4 x half> poison, half %28, i64 0 + %30 = shufflevector <4 x half> %29, <4 x half> poison, <4 x i32> zeroinitializer + %31 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %32 = load half, half addrspace(2)* %31, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %33 = insertelement <4 x half> poison, half %32, i64 0 + %34 = shufflevector <4 x half> %33, <4 x half> poison, <4 x i32> zeroinitializer + br label %5292 + +35: ; preds = %5 + %36 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %37 = load i32, i32 addrspace(2)* %36, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %38 = icmp eq i32 %37, 0 + br i1 %38, label %39, label %50 + +39: ; preds = %35 + %40 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %41 = load half, half addrspace(2)* %40, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %42 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %43 = load half, half addrspace(2)* %42, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %44 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %45 = load <2 x float>, <2 x float> addrspace(2)* %44, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %46 = insertelement <4 x half> poison, half %41, i64 0 + %47 = shufflevector <4 x half> %46, <4 x half> poison, <4 x i32> zeroinitializer + %48 = insertelement <4 x half> poison, half %43, i64 0 + %49 = shufflevector <4 x half> %48, <4 x half> poison, <4 x i32> zeroinitializer + br label %5071 + +50: ; preds = %35 + %51 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %52 = load <2 x float>, <2 x float> addrspace(2)* %51, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %53 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %54 = load half, half addrspace(2)* %53, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %55 = insertelement <4 x half> poison, half %54, i64 0 + %56 = shufflevector <4 x half> %55, <4 x half> poison, <4 x i32> zeroinitializer + %57 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %58 = load half, half addrspace(2)* %57, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %59 = insertelement <4 x half> poison, half %58, i64 0 + %60 = shufflevector <4 x half> %59, <4 x half> poison, <4 x i32> zeroinitializer + br label %5151 + +61: ; preds = %5 + %62 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %63 = load i32, i32 addrspace(2)* %62, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %64 = icmp eq i32 %63, 0 + br i1 %64, label %65, label %76 + +65: ; preds = %61 + %66 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %67 = load half, half addrspace(2)* %66, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %68 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %69 = load half, half addrspace(2)* %68, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %70 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %71 = load <2 x float>, <2 x float> addrspace(2)* %70, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %72 = insertelement <4 x half> poison, half %67, i64 0 + %73 = shufflevector <4 x half> %72, <4 x half> poison, <4 x i32> zeroinitializer + %74 = insertelement <4 x half> poison, half %69, i64 0 + %75 = shufflevector <4 x half> %74, <4 x half> poison, <4 x i32> zeroinitializer + br label %4930 + +76: ; preds = %61 + %77 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %78 = load <2 x float>, <2 x float> addrspace(2)* %77, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %79 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %80 = load half, half addrspace(2)* %79, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %81 = insertelement <4 x half> poison, half %80, i64 0 + %82 = shufflevector <4 x half> %81, <4 x half> poison, <4 x i32> zeroinitializer + %83 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %84 = load half, half addrspace(2)* %83, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %85 = insertelement <4 x half> poison, half %84, i64 0 + %86 = shufflevector <4 x half> %85, <4 x half> poison, <4 x i32> zeroinitializer + br label %5010 + +87: ; preds = %5 + %88 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %89 = load i32, i32 addrspace(2)* %88, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %90 = icmp eq i32 %89, 0 + br i1 %90, label %91, label %102 + +91: ; preds = %87 + %92 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %93 = load half, half addrspace(2)* %92, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %94 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %95 = load half, half addrspace(2)* %94, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %96 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %97 = load <2 x float>, <2 x float> addrspace(2)* %96, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %98 = insertelement <4 x half> poison, half %93, i64 0 + %99 = shufflevector <4 x half> %98, <4 x half> poison, <4 x i32> zeroinitializer + %100 = insertelement <4 x half> poison, half %95, i64 0 + %101 = shufflevector <4 x half> %100, <4 x half> poison, <4 x i32> zeroinitializer + br label %4789 + +102: ; preds = %87 + %103 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %104 = load <2 x float>, <2 x float> addrspace(2)* %103, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %105 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %106 = load half, half addrspace(2)* %105, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %107 = insertelement <4 x half> poison, half %106, i64 0 + %108 = shufflevector <4 x half> %107, <4 x half> poison, <4 x i32> zeroinitializer + %109 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %110 = load half, half addrspace(2)* %109, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %111 = insertelement <4 x half> poison, half %110, i64 0 + %112 = shufflevector <4 x half> %111, <4 x half> poison, <4 x i32> zeroinitializer + br label %4869 + +113: ; preds = %5 + %114 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %115 = load i32, i32 addrspace(2)* %114, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %116 = icmp eq i32 %115, 0 + br i1 %116, label %117, label %128 + +117: ; preds = %113 + %118 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %119 = load half, half addrspace(2)* %118, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %120 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %121 = load half, half addrspace(2)* %120, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %122 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %123 = load <2 x float>, <2 x float> addrspace(2)* %122, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %124 = insertelement <4 x half> poison, half %119, i64 0 + %125 = shufflevector <4 x half> %124, <4 x half> poison, <4 x i32> zeroinitializer + %126 = insertelement <4 x half> poison, half %121, i64 0 + %127 = shufflevector <4 x half> %126, <4 x half> poison, <4 x i32> zeroinitializer + br label %4648 + +128: ; preds = %113 + %129 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %130 = load <2 x float>, <2 x float> addrspace(2)* %129, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %131 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %132 = load half, half addrspace(2)* %131, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %133 = insertelement <4 x half> poison, half %132, i64 0 + %134 = shufflevector <4 x half> %133, <4 x half> poison, <4 x i32> zeroinitializer + %135 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %136 = load half, half addrspace(2)* %135, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %137 = insertelement <4 x half> poison, half %136, i64 0 + %138 = shufflevector <4 x half> %137, <4 x half> poison, <4 x i32> zeroinitializer + br label %4728 + +139: ; preds = %5 + %140 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %141 = load i32, i32 addrspace(2)* %140, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %142 = icmp eq i32 %141, 0 + br i1 %142, label %143, label %154 + +143: ; preds = %139 + %144 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %145 = load half, half addrspace(2)* %144, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %146 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %147 = load half, half addrspace(2)* %146, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %148 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %149 = load <2 x float>, <2 x float> addrspace(2)* %148, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %150 = insertelement <4 x half> poison, half %145, i64 0 + %151 = shufflevector <4 x half> %150, <4 x half> poison, <4 x i32> zeroinitializer + %152 = insertelement <4 x half> poison, half %147, i64 0 + %153 = shufflevector <4 x half> %152, <4 x half> poison, <4 x i32> zeroinitializer + br label %4507 + +154: ; preds = %139 + %155 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %156 = load <2 x float>, <2 x float> addrspace(2)* %155, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %157 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %158 = load half, half addrspace(2)* %157, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %159 = insertelement <4 x half> poison, half %158, i64 0 + %160 = shufflevector <4 x half> %159, <4 x half> poison, <4 x i32> zeroinitializer + %161 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %162 = load half, half addrspace(2)* %161, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %163 = insertelement <4 x half> poison, half %162, i64 0 + %164 = shufflevector <4 x half> %163, <4 x half> poison, <4 x i32> zeroinitializer + br label %4587 + +165: ; preds = %5 + %166 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %167 = load i32, i32 addrspace(2)* %166, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %168 = icmp eq i32 %167, 0 + br i1 %168, label %169, label %180 + +169: ; preds = %165 + %170 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %171 = load half, half addrspace(2)* %170, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %172 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %173 = load half, half addrspace(2)* %172, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %174 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %175 = load <2 x float>, <2 x float> addrspace(2)* %174, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %176 = insertelement <4 x half> poison, half %171, i64 0 + %177 = shufflevector <4 x half> %176, <4 x half> poison, <4 x i32> zeroinitializer + %178 = insertelement <4 x half> poison, half %173, i64 0 + %179 = shufflevector <4 x half> %178, <4 x half> poison, <4 x i32> zeroinitializer + br label %4366 + +180: ; preds = %165 + %181 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %182 = load <2 x float>, <2 x float> addrspace(2)* %181, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %183 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %184 = load half, half addrspace(2)* %183, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %185 = insertelement <4 x half> poison, half %184, i64 0 + %186 = shufflevector <4 x half> %185, <4 x half> poison, <4 x i32> zeroinitializer + %187 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %188 = load half, half addrspace(2)* %187, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %189 = insertelement <4 x half> poison, half %188, i64 0 + %190 = shufflevector <4 x half> %189, <4 x half> poison, <4 x i32> zeroinitializer + br label %4446 + +191: ; preds = %5 + %192 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %193 = load i32, i32 addrspace(2)* %192, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %194 = icmp eq i32 %193, 0 + br i1 %194, label %195, label %206 + +195: ; preds = %191 + %196 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %197 = load half, half addrspace(2)* %196, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %198 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %199 = load half, half addrspace(2)* %198, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %200 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %201 = load <2 x float>, <2 x float> addrspace(2)* %200, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %202 = insertelement <4 x half> poison, half %197, i64 0 + %203 = shufflevector <4 x half> %202, <4 x half> poison, <4 x i32> zeroinitializer + %204 = insertelement <4 x half> poison, half %199, i64 0 + %205 = shufflevector <4 x half> %204, <4 x half> poison, <4 x i32> zeroinitializer + br label %4225 + +206: ; preds = %191 + %207 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %208 = load <2 x float>, <2 x float> addrspace(2)* %207, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %209 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %210 = load half, half addrspace(2)* %209, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %211 = insertelement <4 x half> poison, half %210, i64 0 + %212 = shufflevector <4 x half> %211, <4 x half> poison, <4 x i32> zeroinitializer + %213 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %214 = load half, half addrspace(2)* %213, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %215 = insertelement <4 x half> poison, half %214, i64 0 + %216 = shufflevector <4 x half> %215, <4 x half> poison, <4 x i32> zeroinitializer + br label %4305 + +217: ; preds = %5 + %218 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %219 = load i32, i32 addrspace(2)* %218, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %220 = icmp eq i32 %219, 0 + br i1 %220, label %221, label %232 + +221: ; preds = %217 + %222 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %223 = load half, half addrspace(2)* %222, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %224 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %225 = load half, half addrspace(2)* %224, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %226 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %227 = load <2 x float>, <2 x float> addrspace(2)* %226, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %228 = insertelement <4 x half> poison, half %223, i64 0 + %229 = shufflevector <4 x half> %228, <4 x half> poison, <4 x i32> zeroinitializer + %230 = insertelement <4 x half> poison, half %225, i64 0 + %231 = shufflevector <4 x half> %230, <4 x half> poison, <4 x i32> zeroinitializer + br label %4084 + +232: ; preds = %217 + %233 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %234 = load <2 x float>, <2 x float> addrspace(2)* %233, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %235 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %236 = load half, half addrspace(2)* %235, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %237 = insertelement <4 x half> poison, half %236, i64 0 + %238 = shufflevector <4 x half> %237, <4 x half> poison, <4 x i32> zeroinitializer + %239 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %240 = load half, half addrspace(2)* %239, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %241 = insertelement <4 x half> poison, half %240, i64 0 + %242 = shufflevector <4 x half> %241, <4 x half> poison, <4 x i32> zeroinitializer + br label %4164 + +243: ; preds = %5 + %244 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %245 = load i32, i32 addrspace(2)* %244, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %246 = icmp eq i32 %245, 0 + br i1 %246, label %247, label %258 + +247: ; preds = %243 + %248 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %249 = load half, half addrspace(2)* %248, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %250 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %251 = load half, half addrspace(2)* %250, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %252 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %253 = load <2 x float>, <2 x float> addrspace(2)* %252, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %254 = insertelement <4 x half> poison, half %249, i64 0 + %255 = shufflevector <4 x half> %254, <4 x half> poison, <4 x i32> zeroinitializer + %256 = insertelement <4 x half> poison, half %251, i64 0 + %257 = shufflevector <4 x half> %256, <4 x half> poison, <4 x i32> zeroinitializer + br label %3943 + +258: ; preds = %243 + %259 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %260 = load <2 x float>, <2 x float> addrspace(2)* %259, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %261 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %262 = load half, half addrspace(2)* %261, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %263 = insertelement <4 x half> poison, half %262, i64 0 + %264 = shufflevector <4 x half> %263, <4 x half> poison, <4 x i32> zeroinitializer + %265 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %266 = load half, half addrspace(2)* %265, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %267 = insertelement <4 x half> poison, half %266, i64 0 + %268 = shufflevector <4 x half> %267, <4 x half> poison, <4 x i32> zeroinitializer + br label %4023 + +269: ; preds = %5 + %270 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %271 = load i32, i32 addrspace(2)* %270, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %272 = icmp eq i32 %271, 0 + br i1 %272, label %273, label %284 + +273: ; preds = %269 + %274 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %275 = load half, half addrspace(2)* %274, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %276 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %277 = load half, half addrspace(2)* %276, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %278 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %279 = load <2 x float>, <2 x float> addrspace(2)* %278, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %280 = insertelement <4 x half> poison, half %275, i64 0 + %281 = shufflevector <4 x half> %280, <4 x half> poison, <4 x i32> zeroinitializer + %282 = insertelement <4 x half> poison, half %277, i64 0 + %283 = shufflevector <4 x half> %282, <4 x half> poison, <4 x i32> zeroinitializer + br label %3802 + +284: ; preds = %269 + %285 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %286 = load <2 x float>, <2 x float> addrspace(2)* %285, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %287 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %288 = load half, half addrspace(2)* %287, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %289 = insertelement <4 x half> poison, half %288, i64 0 + %290 = shufflevector <4 x half> %289, <4 x half> poison, <4 x i32> zeroinitializer + %291 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %292 = load half, half addrspace(2)* %291, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %293 = insertelement <4 x half> poison, half %292, i64 0 + %294 = shufflevector <4 x half> %293, <4 x half> poison, <4 x i32> zeroinitializer + br label %3882 + +295: ; preds = %5 + %296 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %297 = load i32, i32 addrspace(2)* %296, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %298 = icmp eq i32 %297, 0 + br i1 %298, label %299, label %310 + +299: ; preds = %295 + %300 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %301 = load half, half addrspace(2)* %300, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %302 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %303 = load half, half addrspace(2)* %302, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %304 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %305 = load <2 x float>, <2 x float> addrspace(2)* %304, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %306 = insertelement <4 x half> poison, half %301, i64 0 + %307 = shufflevector <4 x half> %306, <4 x half> poison, <4 x i32> zeroinitializer + %308 = insertelement <4 x half> poison, half %303, i64 0 + %309 = shufflevector <4 x half> %308, <4 x half> poison, <4 x i32> zeroinitializer + br label %3661 + +310: ; preds = %295 + %311 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %312 = load <2 x float>, <2 x float> addrspace(2)* %311, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %313 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %314 = load half, half addrspace(2)* %313, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %315 = insertelement <4 x half> poison, half %314, i64 0 + %316 = shufflevector <4 x half> %315, <4 x half> poison, <4 x i32> zeroinitializer + %317 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %318 = load half, half addrspace(2)* %317, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %319 = insertelement <4 x half> poison, half %318, i64 0 + %320 = shufflevector <4 x half> %319, <4 x half> poison, <4 x i32> zeroinitializer + br label %3741 + +321: ; preds = %5 + %322 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %323 = load i32, i32 addrspace(2)* %322, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %324 = icmp eq i32 %323, 0 + br i1 %324, label %325, label %336 + +325: ; preds = %321 + %326 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %327 = load half, half addrspace(2)* %326, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %328 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %329 = load half, half addrspace(2)* %328, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %330 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %331 = load <2 x float>, <2 x float> addrspace(2)* %330, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %332 = insertelement <4 x half> poison, half %327, i64 0 + %333 = shufflevector <4 x half> %332, <4 x half> poison, <4 x i32> zeroinitializer + %334 = insertelement <4 x half> poison, half %329, i64 0 + %335 = shufflevector <4 x half> %334, <4 x half> poison, <4 x i32> zeroinitializer + br label %3520 + +336: ; preds = %321 + %337 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %338 = load <2 x float>, <2 x float> addrspace(2)* %337, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %339 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %340 = load half, half addrspace(2)* %339, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %341 = insertelement <4 x half> poison, half %340, i64 0 + %342 = shufflevector <4 x half> %341, <4 x half> poison, <4 x i32> zeroinitializer + %343 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %344 = load half, half addrspace(2)* %343, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %345 = insertelement <4 x half> poison, half %344, i64 0 + %346 = shufflevector <4 x half> %345, <4 x half> poison, <4 x i32> zeroinitializer + br label %3600 + +347: ; preds = %5 + %348 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %349 = load i32, i32 addrspace(2)* %348, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %350 = icmp eq i32 %349, 0 + br i1 %350, label %351, label %362 + +351: ; preds = %347 + %352 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %353 = load half, half addrspace(2)* %352, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %354 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %355 = load half, half addrspace(2)* %354, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %356 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %357 = load <2 x float>, <2 x float> addrspace(2)* %356, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %358 = insertelement <4 x half> poison, half %353, i64 0 + %359 = shufflevector <4 x half> %358, <4 x half> poison, <4 x i32> zeroinitializer + %360 = insertelement <4 x half> poison, half %355, i64 0 + %361 = shufflevector <4 x half> %360, <4 x half> poison, <4 x i32> zeroinitializer + br label %3379 + +362: ; preds = %347 + %363 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %364 = load <2 x float>, <2 x float> addrspace(2)* %363, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %365 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %366 = load half, half addrspace(2)* %365, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %367 = insertelement <4 x half> poison, half %366, i64 0 + %368 = shufflevector <4 x half> %367, <4 x half> poison, <4 x i32> zeroinitializer + %369 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %370 = load half, half addrspace(2)* %369, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %371 = insertelement <4 x half> poison, half %370, i64 0 + %372 = shufflevector <4 x half> %371, <4 x half> poison, <4 x i32> zeroinitializer + br label %3459 + +373: ; preds = %5 + %374 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %375 = load i32, i32 addrspace(2)* %374, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %376 = icmp eq i32 %375, 0 + br i1 %376, label %377, label %388 + +377: ; preds = %373 + %378 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %379 = load half, half addrspace(2)* %378, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %380 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %381 = load half, half addrspace(2)* %380, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %382 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %383 = load <2 x float>, <2 x float> addrspace(2)* %382, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %384 = insertelement <4 x half> poison, half %379, i64 0 + %385 = shufflevector <4 x half> %384, <4 x half> poison, <4 x i32> zeroinitializer + %386 = insertelement <4 x half> poison, half %381, i64 0 + %387 = shufflevector <4 x half> %386, <4 x half> poison, <4 x i32> zeroinitializer + br label %3238 + +388: ; preds = %373 + %389 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %390 = load <2 x float>, <2 x float> addrspace(2)* %389, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %391 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %392 = load half, half addrspace(2)* %391, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %393 = insertelement <4 x half> poison, half %392, i64 0 + %394 = shufflevector <4 x half> %393, <4 x half> poison, <4 x i32> zeroinitializer + %395 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %396 = load half, half addrspace(2)* %395, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %397 = insertelement <4 x half> poison, half %396, i64 0 + %398 = shufflevector <4 x half> %397, <4 x half> poison, <4 x i32> zeroinitializer + br label %3318 + +399: ; preds = %5 + %400 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %401 = load i32, i32 addrspace(2)* %400, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %402 = icmp eq i32 %401, 0 + br i1 %402, label %403, label %414 + +403: ; preds = %399 + %404 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %405 = load half, half addrspace(2)* %404, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %406 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %407 = load half, half addrspace(2)* %406, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %408 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %409 = load <2 x float>, <2 x float> addrspace(2)* %408, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %410 = insertelement <4 x half> poison, half %405, i64 0 + %411 = shufflevector <4 x half> %410, <4 x half> poison, <4 x i32> zeroinitializer + %412 = insertelement <4 x half> poison, half %407, i64 0 + %413 = shufflevector <4 x half> %412, <4 x half> poison, <4 x i32> zeroinitializer + br label %3097 + +414: ; preds = %399 + %415 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %416 = load <2 x float>, <2 x float> addrspace(2)* %415, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %417 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %418 = load half, half addrspace(2)* %417, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %419 = insertelement <4 x half> poison, half %418, i64 0 + %420 = shufflevector <4 x half> %419, <4 x half> poison, <4 x i32> zeroinitializer + %421 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %422 = load half, half addrspace(2)* %421, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %423 = insertelement <4 x half> poison, half %422, i64 0 + %424 = shufflevector <4 x half> %423, <4 x half> poison, <4 x i32> zeroinitializer + br label %3177 + +425: ; preds = %5 + %426 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %427 = load i32, i32 addrspace(2)* %426, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %428 = icmp eq i32 %427, 0 + br i1 %428, label %429, label %440 + +429: ; preds = %425 + %430 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %431 = load half, half addrspace(2)* %430, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %432 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %433 = load half, half addrspace(2)* %432, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %434 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %435 = load <2 x float>, <2 x float> addrspace(2)* %434, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %436 = insertelement <4 x half> poison, half %431, i64 0 + %437 = shufflevector <4 x half> %436, <4 x half> poison, <4 x i32> zeroinitializer + %438 = insertelement <4 x half> poison, half %433, i64 0 + %439 = shufflevector <4 x half> %438, <4 x half> poison, <4 x i32> zeroinitializer + br label %2956 + +440: ; preds = %425 + %441 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %442 = load <2 x float>, <2 x float> addrspace(2)* %441, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %443 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %444 = load half, half addrspace(2)* %443, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %445 = insertelement <4 x half> poison, half %444, i64 0 + %446 = shufflevector <4 x half> %445, <4 x half> poison, <4 x i32> zeroinitializer + %447 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %448 = load half, half addrspace(2)* %447, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %449 = insertelement <4 x half> poison, half %448, i64 0 + %450 = shufflevector <4 x half> %449, <4 x half> poison, <4 x i32> zeroinitializer + br label %3036 + +451: ; preds = %5 + %452 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %453 = load i32, i32 addrspace(2)* %452, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %454 = icmp eq i32 %453, 0 + br i1 %454, label %455, label %466 + +455: ; preds = %451 + %456 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %457 = load half, half addrspace(2)* %456, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %458 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %459 = load half, half addrspace(2)* %458, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %460 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %461 = load <2 x float>, <2 x float> addrspace(2)* %460, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %462 = insertelement <4 x half> poison, half %457, i64 0 + %463 = shufflevector <4 x half> %462, <4 x half> poison, <4 x i32> zeroinitializer + %464 = insertelement <4 x half> poison, half %459, i64 0 + %465 = shufflevector <4 x half> %464, <4 x half> poison, <4 x i32> zeroinitializer + br label %2815 + +466: ; preds = %451 + %467 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %468 = load <2 x float>, <2 x float> addrspace(2)* %467, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %469 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %470 = load half, half addrspace(2)* %469, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %471 = insertelement <4 x half> poison, half %470, i64 0 + %472 = shufflevector <4 x half> %471, <4 x half> poison, <4 x i32> zeroinitializer + %473 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %474 = load half, half addrspace(2)* %473, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %475 = insertelement <4 x half> poison, half %474, i64 0 + %476 = shufflevector <4 x half> %475, <4 x half> poison, <4 x i32> zeroinitializer + br label %2895 + +477: ; preds = %5 + %478 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %479 = load i32, i32 addrspace(2)* %478, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %480 = icmp eq i32 %479, 0 + br i1 %480, label %481, label %492 + +481: ; preds = %477 + %482 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %483 = load half, half addrspace(2)* %482, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %484 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %485 = load half, half addrspace(2)* %484, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %486 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %487 = load <2 x float>, <2 x float> addrspace(2)* %486, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %488 = insertelement <4 x half> poison, half %483, i64 0 + %489 = shufflevector <4 x half> %488, <4 x half> poison, <4 x i32> zeroinitializer + %490 = insertelement <4 x half> poison, half %485, i64 0 + %491 = shufflevector <4 x half> %490, <4 x half> poison, <4 x i32> zeroinitializer + br label %2674 + +492: ; preds = %477 + %493 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %494 = load <2 x float>, <2 x float> addrspace(2)* %493, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %495 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %496 = load half, half addrspace(2)* %495, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %497 = insertelement <4 x half> poison, half %496, i64 0 + %498 = shufflevector <4 x half> %497, <4 x half> poison, <4 x i32> zeroinitializer + %499 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %500 = load half, half addrspace(2)* %499, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %501 = insertelement <4 x half> poison, half %500, i64 0 + %502 = shufflevector <4 x half> %501, <4 x half> poison, <4 x i32> zeroinitializer + br label %2754 + +503: ; preds = %5 + %504 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %505 = load i32, i32 addrspace(2)* %504, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %506 = icmp eq i32 %505, 0 + br i1 %506, label %507, label %518 + +507: ; preds = %503 + %508 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %509 = load half, half addrspace(2)* %508, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %510 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %511 = load half, half addrspace(2)* %510, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %512 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %513 = load <2 x float>, <2 x float> addrspace(2)* %512, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %514 = insertelement <4 x half> poison, half %509, i64 0 + %515 = shufflevector <4 x half> %514, <4 x half> poison, <4 x i32> zeroinitializer + %516 = insertelement <4 x half> poison, half %511, i64 0 + %517 = shufflevector <4 x half> %516, <4 x half> poison, <4 x i32> zeroinitializer + br label %2533 + +518: ; preds = %503 + %519 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %520 = load <2 x float>, <2 x float> addrspace(2)* %519, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %521 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %522 = load half, half addrspace(2)* %521, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %523 = insertelement <4 x half> poison, half %522, i64 0 + %524 = shufflevector <4 x half> %523, <4 x half> poison, <4 x i32> zeroinitializer + %525 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %526 = load half, half addrspace(2)* %525, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %527 = insertelement <4 x half> poison, half %526, i64 0 + %528 = shufflevector <4 x half> %527, <4 x half> poison, <4 x i32> zeroinitializer + br label %2613 + +529: ; preds = %5 + %530 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %531 = load i32, i32 addrspace(2)* %530, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %532 = icmp eq i32 %531, 0 + br i1 %532, label %533, label %544 + +533: ; preds = %529 + %534 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %535 = load half, half addrspace(2)* %534, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %536 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %537 = load half, half addrspace(2)* %536, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %538 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %539 = load <2 x float>, <2 x float> addrspace(2)* %538, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %540 = insertelement <4 x half> poison, half %535, i64 0 + %541 = shufflevector <4 x half> %540, <4 x half> poison, <4 x i32> zeroinitializer + %542 = insertelement <4 x half> poison, half %537, i64 0 + %543 = shufflevector <4 x half> %542, <4 x half> poison, <4 x i32> zeroinitializer + br label %2392 + +544: ; preds = %529 + %545 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %546 = load <2 x float>, <2 x float> addrspace(2)* %545, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %547 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %548 = load half, half addrspace(2)* %547, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %549 = insertelement <4 x half> poison, half %548, i64 0 + %550 = shufflevector <4 x half> %549, <4 x half> poison, <4 x i32> zeroinitializer + %551 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %552 = load half, half addrspace(2)* %551, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %553 = insertelement <4 x half> poison, half %552, i64 0 + %554 = shufflevector <4 x half> %553, <4 x half> poison, <4 x i32> zeroinitializer + br label %2472 + +555: ; preds = %5 + %556 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %557 = load i32, i32 addrspace(2)* %556, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %558 = icmp eq i32 %557, 0 + br i1 %558, label %559, label %570 + +559: ; preds = %555 + %560 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %561 = load half, half addrspace(2)* %560, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %562 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %563 = load half, half addrspace(2)* %562, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %564 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %565 = load <2 x float>, <2 x float> addrspace(2)* %564, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %566 = insertelement <4 x half> poison, half %561, i64 0 + %567 = shufflevector <4 x half> %566, <4 x half> poison, <4 x i32> zeroinitializer + %568 = insertelement <4 x half> poison, half %563, i64 0 + %569 = shufflevector <4 x half> %568, <4 x half> poison, <4 x i32> zeroinitializer + br label %2251 + +570: ; preds = %555 + %571 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %572 = load <2 x float>, <2 x float> addrspace(2)* %571, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %573 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %574 = load half, half addrspace(2)* %573, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %575 = insertelement <4 x half> poison, half %574, i64 0 + %576 = shufflevector <4 x half> %575, <4 x half> poison, <4 x i32> zeroinitializer + %577 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %578 = load half, half addrspace(2)* %577, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %579 = insertelement <4 x half> poison, half %578, i64 0 + %580 = shufflevector <4 x half> %579, <4 x half> poison, <4 x i32> zeroinitializer + br label %2331 + +581: ; preds = %5 + %582 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %583 = load i32, i32 addrspace(2)* %582, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %584 = icmp eq i32 %583, 0 + br i1 %584, label %585, label %596 + +585: ; preds = %581 + %586 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %587 = load half, half addrspace(2)* %586, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %588 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %589 = load half, half addrspace(2)* %588, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %590 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %591 = load <2 x float>, <2 x float> addrspace(2)* %590, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %592 = insertelement <4 x half> poison, half %587, i64 0 + %593 = shufflevector <4 x half> %592, <4 x half> poison, <4 x i32> zeroinitializer + %594 = insertelement <4 x half> poison, half %589, i64 0 + %595 = shufflevector <4 x half> %594, <4 x half> poison, <4 x i32> zeroinitializer + br label %2110 + +596: ; preds = %581 + %597 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %598 = load <2 x float>, <2 x float> addrspace(2)* %597, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %599 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %600 = load half, half addrspace(2)* %599, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %601 = insertelement <4 x half> poison, half %600, i64 0 + %602 = shufflevector <4 x half> %601, <4 x half> poison, <4 x i32> zeroinitializer + %603 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %604 = load half, half addrspace(2)* %603, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %605 = insertelement <4 x half> poison, half %604, i64 0 + %606 = shufflevector <4 x half> %605, <4 x half> poison, <4 x i32> zeroinitializer + br label %2190 + +607: ; preds = %5 + %608 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %609 = load i32, i32 addrspace(2)* %608, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %610 = icmp eq i32 %609, 0 + br i1 %610, label %611, label %622 + +611: ; preds = %607 + %612 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %613 = load half, half addrspace(2)* %612, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %614 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %615 = load half, half addrspace(2)* %614, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %616 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %617 = load <2 x float>, <2 x float> addrspace(2)* %616, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %618 = insertelement <4 x half> poison, half %613, i64 0 + %619 = shufflevector <4 x half> %618, <4 x half> poison, <4 x i32> zeroinitializer + %620 = insertelement <4 x half> poison, half %615, i64 0 + %621 = shufflevector <4 x half> %620, <4 x half> poison, <4 x i32> zeroinitializer + br label %1969 + +622: ; preds = %607 + %623 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %624 = load <2 x float>, <2 x float> addrspace(2)* %623, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %625 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %626 = load half, half addrspace(2)* %625, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %627 = insertelement <4 x half> poison, half %626, i64 0 + %628 = shufflevector <4 x half> %627, <4 x half> poison, <4 x i32> zeroinitializer + %629 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %630 = load half, half addrspace(2)* %629, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %631 = insertelement <4 x half> poison, half %630, i64 0 + %632 = shufflevector <4 x half> %631, <4 x half> poison, <4 x i32> zeroinitializer + br label %2049 + +633: ; preds = %5 + %634 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %635 = load i32, i32 addrspace(2)* %634, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %636 = icmp eq i32 %635, 0 + br i1 %636, label %637, label %648 + +637: ; preds = %633 + %638 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %639 = load half, half addrspace(2)* %638, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %640 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %641 = load half, half addrspace(2)* %640, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %642 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %643 = load <2 x float>, <2 x float> addrspace(2)* %642, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %644 = insertelement <4 x half> poison, half %639, i64 0 + %645 = shufflevector <4 x half> %644, <4 x half> poison, <4 x i32> zeroinitializer + %646 = insertelement <4 x half> poison, half %641, i64 0 + %647 = shufflevector <4 x half> %646, <4 x half> poison, <4 x i32> zeroinitializer + br label %1828 + +648: ; preds = %633 + %649 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %650 = load <2 x float>, <2 x float> addrspace(2)* %649, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %651 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %652 = load half, half addrspace(2)* %651, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %653 = insertelement <4 x half> poison, half %652, i64 0 + %654 = shufflevector <4 x half> %653, <4 x half> poison, <4 x i32> zeroinitializer + %655 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %656 = load half, half addrspace(2)* %655, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %657 = insertelement <4 x half> poison, half %656, i64 0 + %658 = shufflevector <4 x half> %657, <4 x half> poison, <4 x i32> zeroinitializer + br label %1908 + +659: ; preds = %5 + %660 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %661 = load i32, i32 addrspace(2)* %660, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %662 = icmp eq i32 %661, 0 + br i1 %662, label %663, label %674 + +663: ; preds = %659 + %664 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %665 = load half, half addrspace(2)* %664, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %666 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %667 = load half, half addrspace(2)* %666, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %668 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %669 = load <2 x float>, <2 x float> addrspace(2)* %668, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %670 = insertelement <4 x half> poison, half %665, i64 0 + %671 = shufflevector <4 x half> %670, <4 x half> poison, <4 x i32> zeroinitializer + %672 = insertelement <4 x half> poison, half %667, i64 0 + %673 = shufflevector <4 x half> %672, <4 x half> poison, <4 x i32> zeroinitializer + br label %1687 + +674: ; preds = %659 + %675 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %676 = load <2 x float>, <2 x float> addrspace(2)* %675, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %677 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %678 = load half, half addrspace(2)* %677, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %679 = insertelement <4 x half> poison, half %678, i64 0 + %680 = shufflevector <4 x half> %679, <4 x half> poison, <4 x i32> zeroinitializer + %681 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %682 = load half, half addrspace(2)* %681, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %683 = insertelement <4 x half> poison, half %682, i64 0 + %684 = shufflevector <4 x half> %683, <4 x half> poison, <4 x i32> zeroinitializer + br label %1767 + +685: ; preds = %5 + %686 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %687 = load i32, i32 addrspace(2)* %686, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %688 = icmp eq i32 %687, 0 + br i1 %688, label %689, label %700 + +689: ; preds = %685 + %690 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %691 = load half, half addrspace(2)* %690, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %692 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %693 = load half, half addrspace(2)* %692, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %694 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %695 = load <2 x float>, <2 x float> addrspace(2)* %694, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %696 = insertelement <4 x half> poison, half %691, i64 0 + %697 = shufflevector <4 x half> %696, <4 x half> poison, <4 x i32> zeroinitializer + %698 = insertelement <4 x half> poison, half %693, i64 0 + %699 = shufflevector <4 x half> %698, <4 x half> poison, <4 x i32> zeroinitializer + br label %1546 + +700: ; preds = %685 + %701 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %702 = load <2 x float>, <2 x float> addrspace(2)* %701, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %703 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %704 = load half, half addrspace(2)* %703, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %705 = insertelement <4 x half> poison, half %704, i64 0 + %706 = shufflevector <4 x half> %705, <4 x half> poison, <4 x i32> zeroinitializer + %707 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %708 = load half, half addrspace(2)* %707, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %709 = insertelement <4 x half> poison, half %708, i64 0 + %710 = shufflevector <4 x half> %709, <4 x half> poison, <4 x i32> zeroinitializer + br label %1626 + +711: ; preds = %5 + %712 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %713 = load i32, i32 addrspace(2)* %712, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %714 = icmp eq i32 %713, 0 + br i1 %714, label %715, label %726 + +715: ; preds = %711 + %716 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %717 = load half, half addrspace(2)* %716, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %718 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %719 = load half, half addrspace(2)* %718, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %720 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %721 = load <2 x float>, <2 x float> addrspace(2)* %720, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %722 = insertelement <4 x half> poison, half %717, i64 0 + %723 = shufflevector <4 x half> %722, <4 x half> poison, <4 x i32> zeroinitializer + %724 = insertelement <4 x half> poison, half %719, i64 0 + %725 = shufflevector <4 x half> %724, <4 x half> poison, <4 x i32> zeroinitializer + br label %1405 + +726: ; preds = %711 + %727 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %728 = load <2 x float>, <2 x float> addrspace(2)* %727, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %729 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %730 = load half, half addrspace(2)* %729, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %731 = insertelement <4 x half> poison, half %730, i64 0 + %732 = shufflevector <4 x half> %731, <4 x half> poison, <4 x i32> zeroinitializer + %733 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %734 = load half, half addrspace(2)* %733, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %735 = insertelement <4 x half> poison, half %734, i64 0 + %736 = shufflevector <4 x half> %735, <4 x half> poison, <4 x i32> zeroinitializer + br label %1485 + +737: ; preds = %5 + %738 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %739 = load i32, i32 addrspace(2)* %738, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %740 = icmp eq i32 %739, 0 + br i1 %740, label %741, label %752 + +741: ; preds = %737 + %742 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %743 = load half, half addrspace(2)* %742, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %744 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %745 = load half, half addrspace(2)* %744, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %746 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %747 = load <2 x float>, <2 x float> addrspace(2)* %746, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %748 = insertelement <4 x half> poison, half %743, i64 0 + %749 = shufflevector <4 x half> %748, <4 x half> poison, <4 x i32> zeroinitializer + %750 = insertelement <4 x half> poison, half %745, i64 0 + %751 = shufflevector <4 x half> %750, <4 x half> poison, <4 x i32> zeroinitializer + br label %1264 + +752: ; preds = %737 + %753 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %754 = load <2 x float>, <2 x float> addrspace(2)* %753, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %755 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %756 = load half, half addrspace(2)* %755, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %757 = insertelement <4 x half> poison, half %756, i64 0 + %758 = shufflevector <4 x half> %757, <4 x half> poison, <4 x i32> zeroinitializer + %759 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %760 = load half, half addrspace(2)* %759, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %761 = insertelement <4 x half> poison, half %760, i64 0 + %762 = shufflevector <4 x half> %761, <4 x half> poison, <4 x i32> zeroinitializer + br label %1344 + +763: ; preds = %5 + %764 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %765 = load i32, i32 addrspace(2)* %764, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %766 = icmp eq i32 %765, 0 + br i1 %766, label %767, label %778 + +767: ; preds = %763 + %768 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %769 = load half, half addrspace(2)* %768, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %770 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %771 = load half, half addrspace(2)* %770, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %772 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %773 = load <2 x float>, <2 x float> addrspace(2)* %772, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %774 = insertelement <4 x half> poison, half %769, i64 0 + %775 = shufflevector <4 x half> %774, <4 x half> poison, <4 x i32> zeroinitializer + %776 = insertelement <4 x half> poison, half %771, i64 0 + %777 = shufflevector <4 x half> %776, <4 x half> poison, <4 x i32> zeroinitializer + br label %1123 + +778: ; preds = %763 + %779 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %780 = load <2 x float>, <2 x float> addrspace(2)* %779, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %781 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %782 = load half, half addrspace(2)* %781, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %783 = insertelement <4 x half> poison, half %782, i64 0 + %784 = shufflevector <4 x half> %783, <4 x half> poison, <4 x i32> zeroinitializer + %785 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %786 = load half, half addrspace(2)* %785, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %787 = insertelement <4 x half> poison, half %786, i64 0 + %788 = shufflevector <4 x half> %787, <4 x half> poison, <4 x i32> zeroinitializer + br label %1203 + +789: ; preds = %5 + %790 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %791 = load i32, i32 addrspace(2)* %790, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %792 = icmp eq i32 %791, 0 + br i1 %792, label %793, label %804 + +793: ; preds = %789 + %794 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %795 = load half, half addrspace(2)* %794, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %796 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %797 = load half, half addrspace(2)* %796, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %798 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %799 = load <2 x float>, <2 x float> addrspace(2)* %798, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %800 = insertelement <4 x half> poison, half %795, i64 0 + %801 = shufflevector <4 x half> %800, <4 x half> poison, <4 x i32> zeroinitializer + %802 = insertelement <4 x half> poison, half %797, i64 0 + %803 = shufflevector <4 x half> %802, <4 x half> poison, <4 x i32> zeroinitializer + br label %982 + +804: ; preds = %789 + %805 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %806 = load <2 x float>, <2 x float> addrspace(2)* %805, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %807 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %808 = load half, half addrspace(2)* %807, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %809 = insertelement <4 x half> poison, half %808, i64 0 + %810 = shufflevector <4 x half> %809, <4 x half> poison, <4 x i32> zeroinitializer + %811 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %812 = load half, half addrspace(2)* %811, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %813 = insertelement <4 x half> poison, half %812, i64 0 + %814 = shufflevector <4 x half> %813, <4 x half> poison, <4 x i32> zeroinitializer + br label %1062 + +815: ; preds = %5 + %816 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 1 + %817 = load i32, i32 addrspace(2)* %816, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %818 = icmp eq i32 %817, 0 + br i1 %818, label %819, label %830 + +819: ; preds = %815 + %820 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %821 = load half, half addrspace(2)* %820, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %822 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %823 = load half, half addrspace(2)* %822, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %824 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %825 = load <2 x float>, <2 x float> addrspace(2)* %824, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %826 = insertelement <4 x half> poison, half %821, i64 0 + %827 = shufflevector <4 x half> %826, <4 x half> poison, <4 x i32> zeroinitializer + %828 = insertelement <4 x half> poison, half %823, i64 0 + %829 = shufflevector <4 x half> %828, <4 x half> poison, <4 x i32> zeroinitializer + br label %841 + +830: ; preds = %815 + %831 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 2 + %832 = load <2 x float>, <2 x float> addrspace(2)* %831, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %833 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 5 + %834 = load half, half addrspace(2)* %833, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %835 = insertelement <4 x half> poison, half %834, i64 0 + %836 = shufflevector <4 x half> %835, <4 x half> poison, <4 x i32> zeroinitializer + %837 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 6 + %838 = load half, half addrspace(2)* %837, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %839 = insertelement <4 x half> poison, half %838, i64 0 + %840 = shufflevector <4 x half> %839, <4 x half> poison, <4 x i32> zeroinitializer + br label %921 + +841: ; preds = %921, %819 + %842 = phi <4 x half> [ %829, %819 ], [ %840, %921 ] + %843 = phi <4 x half> [ %827, %819 ], [ %836, %921 ] + %844 = phi <2 x float> [ %825, %819 ], [ %832, %921 ] + %845 = phi <4 x half> [ zeroinitializer, %819 ], [ %979, %921 ] + %846 = fmul fast <4 x half> %845, %845 + %847 = fmul fast <4 x half> %846, %845 + %848 = fmul fast <4 x half> %847, + %849 = fmul fast <4 x half> %846, + %850 = fadd fast <4 x half> %849, %845 + %851 = fadd fast <4 x half> %850, %848 + %852 = fmul fast <4 x half> %851, %843 + %853 = fadd fast <4 x half> %852, %842 + %854 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %853, <4 x half> , <4 x half> ) #4 + %855 = fmul fast <4 x half> %854, + %856 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %855) #4 + %857 = fmul fast <4 x half> %856, + %858 = fmul fast <4 x half> %846, + %859 = fadd fast <4 x half> %857, %858 + %860 = fadd fast <4 x half> %846, + %861 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %859, <4 x half> %860) #4 + %862 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %863 = load <4 x half>, <4 x half> addrspace(2)* %862, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %864 = fmul fast <4 x half> %863, %861 + %865 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %866 = load <4 x half>, <4 x half> addrspace(2)* %865, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %867 = fmul fast <4 x half> %866, + %868 = fmul fast <4 x half> %846, %847 + %869 = fsub fast <4 x half> %846, %868 + %870 = fadd fast <4 x half> %869, %864 + %871 = fadd fast <4 x half> %870, %867 + %872 = fmul fast <4 x half> %871, %871 + %873 = fmul fast <4 x half> %872, %871 + %874 = fmul fast <4 x half> %873, + %875 = fmul fast <4 x half> %872, + %876 = fadd fast <4 x half> %875, %871 + %877 = fadd fast <4 x half> %876, %874 + %878 = fmul fast <4 x half> %877, %843 + %879 = fadd fast <4 x half> %878, %842 + %880 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %879, <4 x half> , <4 x half> ) #4 + %881 = fmul fast <4 x half> %880, + %882 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %881) #4 + %883 = fmul fast <4 x half> %882, + %884 = fmul fast <4 x half> %872, + %885 = fadd fast <4 x half> %884, %883 + %886 = fadd fast <4 x half> %872, + %887 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %885, <4 x half> %886) #4 + %888 = fmul fast <4 x half> %887, %863 + %889 = fmul fast <4 x half> %866, + %890 = fadd fast <4 x half> %888, %889 + %891 = fadd fast <4 x half> %890, %872 + %892 = fmul fast <4 x half> %872, %873 + %893 = fsub fast <4 x half> %891, %892 + %894 = fmul fast <4 x half> %893, %893 + %895 = fmul fast <4 x half> %894, %893 + %896 = fmul fast <4 x half> %895, + %897 = fmul fast <4 x half> %894, + %898 = fadd fast <4 x half> %897, %893 + %899 = fadd fast <4 x half> %898, %896 + %900 = fmul fast <4 x half> %899, %843 + %901 = fadd fast <4 x half> %900, %842 + %902 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %901, <4 x half> , <4 x half> ) #4 + %903 = fmul fast <4 x half> %902, + %904 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %903) #4 + %905 = fmul fast <4 x half> %904, + %906 = fmul fast <4 x half> %894, + %907 = fadd fast <4 x half> %906, %905 + %908 = fadd fast <4 x half> %894, + %909 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %907, <4 x half> %908) #4 + %910 = fmul fast <4 x half> %909, %863 + %911 = fmul fast <4 x half> %866, + %912 = fadd fast <4 x half> %910, %911 + %913 = fadd fast <4 x half> %912, %894 + %914 = fmul fast <4 x half> %894, %895 + %915 = fsub fast <4 x half> %913, %914 + %916 = fmul fast <2 x float> %844, + %917 = fadd fast <2 x float> %916, %1 + %918 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %917, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %919 = extractvalue { <4 x half>, i8 } %918, 0 + %920 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %919, <4 x half> , <4 x half> %915) #4 + br label %5354 + +921: ; preds = %830, %921 + %922 = phi <4 x half> [ zeroinitializer, %830 ], [ %979, %921 ] + %923 = phi i32 [ 0, %830 ], [ %980, %921 ] + %924 = tail call fast float @air.convert.f.f32.u.i32(i32 %923) #4 + %925 = fadd fast float %924, 5.000000e-01 + %926 = insertelement <2 x float> undef, float %925, i64 0 + %927 = insertelement <2 x float> %926, float 0.000000e+00, i64 1 + %928 = fmul fast <2 x float> %927, %832 + %929 = fadd fast <2 x float> %928, %1 + %930 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %929, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %931 = extractvalue { <4 x half>, i8 } %930, 0 + %932 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %931, <4 x half> , <4 x half> %922) #4 + %933 = fneg fast float %925 + %934 = insertelement <2 x float> undef, float %933, i64 0 + %935 = insertelement <2 x float> %934, float 0.000000e+00, i64 1 + %936 = fmul fast <2 x float> %935, %832 + %937 = fadd fast <2 x float> %936, %1 + %938 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %937, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %939 = extractvalue { <4 x half>, i8 } %938, 0 + %940 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %939, <4 x half> , <4 x half> %932) #4 + %941 = insertelement <2 x float> , float %925, i64 1 + %942 = fmul fast <2 x float> %941, %832 + %943 = fadd fast <2 x float> %942, %1 + %944 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %943, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %945 = extractvalue { <4 x half>, i8 } %944, 0 + %946 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %945, <4 x half> , <4 x half> %940) #4 + %947 = insertelement <2 x float> , float %933, i64 1 + %948 = fmul fast <2 x float> %947, %832 + %949 = fadd fast <2 x float> %948, %1 + %950 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %949, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %951 = extractvalue { <4 x half>, i8 } %950, 0 + %952 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %951, <4 x half> , <4 x half> %946) #4 + %953 = shufflevector <2 x float> %926, <2 x float> poison, <2 x i32> zeroinitializer + %954 = fmul fast <2 x float> %953, %832 + %955 = fadd fast <2 x float> %954, %1 + %956 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %955, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %957 = extractvalue { <4 x half>, i8 } %956, 0 + %958 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %957, <4 x half> , <4 x half> %952) #4 + %959 = insertelement <2 x float> %934, float %925, i64 1 + %960 = fmul fast <2 x float> %959, %832 + %961 = fadd fast <2 x float> %960, %1 + %962 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %961, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %963 = extractvalue { <4 x half>, i8 } %962, 0 + %964 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %963, <4 x half> , <4 x half> %958) #4 + %965 = insertelement <2 x float> %926, float %933, i64 1 + %966 = fmul fast <2 x float> %965, %832 + %967 = fadd fast <2 x float> %966, %1 + %968 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %967, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %969 = extractvalue { <4 x half>, i8 } %968, 0 + %970 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %969, <4 x half> , <4 x half> %964) #4 + %971 = shufflevector <2 x float> %934, <2 x float> poison, <2 x i32> zeroinitializer + %972 = fmul fast <2 x float> %971, %832 + %973 = fadd fast <2 x float> %972, %1 + %974 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %973, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %975 = extractvalue { <4 x half>, i8 } %974, 0 + %976 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %975, <4 x half> , <4 x half> %970) #4 + %977 = fmul fast <4 x half> %976, %836 + %978 = fadd fast <4 x half> %977, %840 + %979 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %978, <4 x half> zeroinitializer, <4 x half> ) #4 + %980 = add nuw i32 %923, 1 + %981 = icmp eq i32 %980, %817 + br i1 %981, label %841, label %921, !llvm.loop !47 + +982: ; preds = %1062, %793 + %983 = phi <4 x half> [ %803, %793 ], [ %814, %1062 ] + %984 = phi <4 x half> [ %801, %793 ], [ %810, %1062 ] + %985 = phi <2 x float> [ %799, %793 ], [ %806, %1062 ] + %986 = phi <4 x half> [ zeroinitializer, %793 ], [ %1120, %1062 ] + %987 = fmul fast <4 x half> %986, %986 + %988 = fmul fast <4 x half> %987, %986 + %989 = fmul fast <4 x half> %988, + %990 = fmul fast <4 x half> %987, + %991 = fadd fast <4 x half> %990, %986 + %992 = fadd fast <4 x half> %991, %989 + %993 = fmul fast <4 x half> %992, %984 + %994 = fadd fast <4 x half> %993, %983 + %995 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %994, <4 x half> , <4 x half> ) #4 + %996 = fmul fast <4 x half> %995, + %997 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %996) #4 + %998 = fmul fast <4 x half> %997, + %999 = fmul fast <4 x half> %987, + %1000 = fadd fast <4 x half> %998, %999 + %1001 = fadd fast <4 x half> %987, + %1002 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1000, <4 x half> %1001) #4 + %1003 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1004 = load <4 x half>, <4 x half> addrspace(2)* %1003, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1005 = fmul fast <4 x half> %1004, %1002 + %1006 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1007 = load <4 x half>, <4 x half> addrspace(2)* %1006, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1008 = fmul fast <4 x half> %1007, + %1009 = fmul fast <4 x half> %987, %988 + %1010 = fsub fast <4 x half> %987, %1009 + %1011 = fadd fast <4 x half> %1010, %1005 + %1012 = fadd fast <4 x half> %1011, %1008 + %1013 = fmul fast <4 x half> %1012, %1012 + %1014 = fmul fast <4 x half> %1013, %1012 + %1015 = fmul fast <4 x half> %1014, + %1016 = fmul fast <4 x half> %1013, + %1017 = fadd fast <4 x half> %1016, %1012 + %1018 = fadd fast <4 x half> %1017, %1015 + %1019 = fmul fast <4 x half> %1018, %984 + %1020 = fadd fast <4 x half> %1019, %983 + %1021 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1020, <4 x half> , <4 x half> ) #4 + %1022 = fmul fast <4 x half> %1021, + %1023 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1022) #4 + %1024 = fmul fast <4 x half> %1023, + %1025 = fmul fast <4 x half> %1013, + %1026 = fadd fast <4 x half> %1025, %1024 + %1027 = fadd fast <4 x half> %1013, + %1028 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1026, <4 x half> %1027) #4 + %1029 = fmul fast <4 x half> %1028, %1004 + %1030 = fmul fast <4 x half> %1007, + %1031 = fadd fast <4 x half> %1029, %1030 + %1032 = fadd fast <4 x half> %1031, %1013 + %1033 = fmul fast <4 x half> %1013, %1014 + %1034 = fsub fast <4 x half> %1032, %1033 + %1035 = fmul fast <4 x half> %1034, %1034 + %1036 = fmul fast <4 x half> %1035, %1034 + %1037 = fmul fast <4 x half> %1036, + %1038 = fmul fast <4 x half> %1035, + %1039 = fadd fast <4 x half> %1038, %1034 + %1040 = fadd fast <4 x half> %1039, %1037 + %1041 = fmul fast <4 x half> %1040, %984 + %1042 = fadd fast <4 x half> %1041, %983 + %1043 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1042, <4 x half> , <4 x half> ) #4 + %1044 = fmul fast <4 x half> %1043, + %1045 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1044) #4 + %1046 = fmul fast <4 x half> %1045, + %1047 = fmul fast <4 x half> %1035, + %1048 = fadd fast <4 x half> %1047, %1046 + %1049 = fadd fast <4 x half> %1035, + %1050 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1048, <4 x half> %1049) #4 + %1051 = fmul fast <4 x half> %1050, %1004 + %1052 = fmul fast <4 x half> %1007, + %1053 = fadd fast <4 x half> %1051, %1052 + %1054 = fadd fast <4 x half> %1053, %1035 + %1055 = fmul fast <4 x half> %1035, %1036 + %1056 = fsub fast <4 x half> %1054, %1055 + %1057 = fmul fast <2 x float> %985, + %1058 = fadd fast <2 x float> %1057, %1 + %1059 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1058, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1060 = extractvalue { <4 x half>, i8 } %1059, 0 + %1061 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1060, <4 x half> , <4 x half> %1056) #4 + br label %5354 + +1062: ; preds = %804, %1062 + %1063 = phi <4 x half> [ zeroinitializer, %804 ], [ %1120, %1062 ] + %1064 = phi i32 [ 0, %804 ], [ %1121, %1062 ] + %1065 = tail call fast float @air.convert.f.f32.u.i32(i32 %1064) #4 + %1066 = fadd fast float %1065, 6.250000e-01 + %1067 = insertelement <2 x float> undef, float %1066, i64 0 + %1068 = insertelement <2 x float> %1067, float 0.000000e+00, i64 1 + %1069 = fmul fast <2 x float> %1068, %806 + %1070 = fadd fast <2 x float> %1069, %1 + %1071 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1070, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1072 = extractvalue { <4 x half>, i8 } %1071, 0 + %1073 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1072, <4 x half> , <4 x half> %1063) #4 + %1074 = fneg fast float %1066 + %1075 = insertelement <2 x float> undef, float %1074, i64 0 + %1076 = insertelement <2 x float> %1075, float 0.000000e+00, i64 1 + %1077 = fmul fast <2 x float> %1076, %806 + %1078 = fadd fast <2 x float> %1077, %1 + %1079 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1078, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1080 = extractvalue { <4 x half>, i8 } %1079, 0 + %1081 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1080, <4 x half> , <4 x half> %1073) #4 + %1082 = insertelement <2 x float> , float %1066, i64 1 + %1083 = fmul fast <2 x float> %1082, %806 + %1084 = fadd fast <2 x float> %1083, %1 + %1085 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1084, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1086 = extractvalue { <4 x half>, i8 } %1085, 0 + %1087 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1086, <4 x half> , <4 x half> %1081) #4 + %1088 = insertelement <2 x float> , float %1074, i64 1 + %1089 = fmul fast <2 x float> %1088, %806 + %1090 = fadd fast <2 x float> %1089, %1 + %1091 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1090, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1092 = extractvalue { <4 x half>, i8 } %1091, 0 + %1093 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1092, <4 x half> , <4 x half> %1087) #4 + %1094 = shufflevector <2 x float> %1067, <2 x float> poison, <2 x i32> zeroinitializer + %1095 = fmul fast <2 x float> %1094, %806 + %1096 = fadd fast <2 x float> %1095, %1 + %1097 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1096, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1098 = extractvalue { <4 x half>, i8 } %1097, 0 + %1099 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1098, <4 x half> , <4 x half> %1093) #4 + %1100 = insertelement <2 x float> %1075, float %1066, i64 1 + %1101 = fmul fast <2 x float> %1100, %806 + %1102 = fadd fast <2 x float> %1101, %1 + %1103 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1102, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1104 = extractvalue { <4 x half>, i8 } %1103, 0 + %1105 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1104, <4 x half> , <4 x half> %1099) #4 + %1106 = insertelement <2 x float> %1067, float %1074, i64 1 + %1107 = fmul fast <2 x float> %1106, %806 + %1108 = fadd fast <2 x float> %1107, %1 + %1109 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1108, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1110 = extractvalue { <4 x half>, i8 } %1109, 0 + %1111 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1110, <4 x half> , <4 x half> %1105) #4 + %1112 = shufflevector <2 x float> %1075, <2 x float> poison, <2 x i32> zeroinitializer + %1113 = fmul fast <2 x float> %1112, %806 + %1114 = fadd fast <2 x float> %1113, %1 + %1115 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1114, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1116 = extractvalue { <4 x half>, i8 } %1115, 0 + %1117 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1116, <4 x half> , <4 x half> %1111) #4 + %1118 = fmul fast <4 x half> %1117, %810 + %1119 = fadd fast <4 x half> %1118, %814 + %1120 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1119, <4 x half> zeroinitializer, <4 x half> ) #4 + %1121 = add nuw i32 %1064, 1 + %1122 = icmp eq i32 %1121, %791 + br i1 %1122, label %982, label %1062, !llvm.loop !49 + +1123: ; preds = %1203, %767 + %1124 = phi <4 x half> [ %777, %767 ], [ %788, %1203 ] + %1125 = phi <4 x half> [ %775, %767 ], [ %784, %1203 ] + %1126 = phi <2 x float> [ %773, %767 ], [ %780, %1203 ] + %1127 = phi <4 x half> [ zeroinitializer, %767 ], [ %1261, %1203 ] + %1128 = fmul fast <4 x half> %1127, %1127 + %1129 = fmul fast <4 x half> %1128, %1127 + %1130 = fmul fast <4 x half> %1129, + %1131 = fmul fast <4 x half> %1128, + %1132 = fadd fast <4 x half> %1131, %1127 + %1133 = fadd fast <4 x half> %1132, %1130 + %1134 = fmul fast <4 x half> %1133, %1125 + %1135 = fadd fast <4 x half> %1134, %1124 + %1136 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1135, <4 x half> , <4 x half> ) #4 + %1137 = fmul fast <4 x half> %1136, + %1138 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1137) #4 + %1139 = fmul fast <4 x half> %1138, + %1140 = fmul fast <4 x half> %1128, + %1141 = fadd fast <4 x half> %1139, %1140 + %1142 = fadd fast <4 x half> %1128, + %1143 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1141, <4 x half> %1142) #4 + %1144 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1145 = load <4 x half>, <4 x half> addrspace(2)* %1144, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1146 = fmul fast <4 x half> %1145, %1143 + %1147 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1148 = load <4 x half>, <4 x half> addrspace(2)* %1147, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1149 = fmul fast <4 x half> %1148, + %1150 = fmul fast <4 x half> %1128, %1129 + %1151 = fsub fast <4 x half> %1128, %1150 + %1152 = fadd fast <4 x half> %1151, %1146 + %1153 = fadd fast <4 x half> %1152, %1149 + %1154 = fmul fast <4 x half> %1153, %1153 + %1155 = fmul fast <4 x half> %1154, %1153 + %1156 = fmul fast <4 x half> %1155, + %1157 = fmul fast <4 x half> %1154, + %1158 = fadd fast <4 x half> %1157, %1153 + %1159 = fadd fast <4 x half> %1158, %1156 + %1160 = fmul fast <4 x half> %1159, %1125 + %1161 = fadd fast <4 x half> %1160, %1124 + %1162 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1161, <4 x half> , <4 x half> ) #4 + %1163 = fmul fast <4 x half> %1162, + %1164 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1163) #4 + %1165 = fmul fast <4 x half> %1164, + %1166 = fmul fast <4 x half> %1154, + %1167 = fadd fast <4 x half> %1166, %1165 + %1168 = fadd fast <4 x half> %1154, + %1169 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1167, <4 x half> %1168) #4 + %1170 = fmul fast <4 x half> %1169, %1145 + %1171 = fmul fast <4 x half> %1148, + %1172 = fadd fast <4 x half> %1170, %1171 + %1173 = fadd fast <4 x half> %1172, %1154 + %1174 = fmul fast <4 x half> %1154, %1155 + %1175 = fsub fast <4 x half> %1173, %1174 + %1176 = fmul fast <4 x half> %1175, %1175 + %1177 = fmul fast <4 x half> %1176, %1175 + %1178 = fmul fast <4 x half> %1177, + %1179 = fmul fast <4 x half> %1176, + %1180 = fadd fast <4 x half> %1179, %1175 + %1181 = fadd fast <4 x half> %1180, %1178 + %1182 = fmul fast <4 x half> %1181, %1125 + %1183 = fadd fast <4 x half> %1182, %1124 + %1184 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1183, <4 x half> , <4 x half> ) #4 + %1185 = fmul fast <4 x half> %1184, + %1186 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1185) #4 + %1187 = fmul fast <4 x half> %1186, + %1188 = fmul fast <4 x half> %1176, + %1189 = fadd fast <4 x half> %1188, %1187 + %1190 = fadd fast <4 x half> %1176, + %1191 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1189, <4 x half> %1190) #4 + %1192 = fmul fast <4 x half> %1191, %1145 + %1193 = fmul fast <4 x half> %1148, + %1194 = fadd fast <4 x half> %1192, %1193 + %1195 = fadd fast <4 x half> %1194, %1176 + %1196 = fmul fast <4 x half> %1176, %1177 + %1197 = fsub fast <4 x half> %1195, %1196 + %1198 = fmul fast <2 x float> %1126, + %1199 = fadd fast <2 x float> %1198, %1 + %1200 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1199, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1201 = extractvalue { <4 x half>, i8 } %1200, 0 + %1202 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1201, <4 x half> , <4 x half> %1197) #4 + br label %5354 + +1203: ; preds = %778, %1203 + %1204 = phi <4 x half> [ zeroinitializer, %778 ], [ %1261, %1203 ] + %1205 = phi i32 [ 0, %778 ], [ %1262, %1203 ] + %1206 = tail call fast float @air.convert.f.f32.u.i32(i32 %1205) #4 + %1207 = fadd fast float %1206, 7.500000e-01 + %1208 = insertelement <2 x float> undef, float %1207, i64 0 + %1209 = insertelement <2 x float> %1208, float 0.000000e+00, i64 1 + %1210 = fmul fast <2 x float> %1209, %780 + %1211 = fadd fast <2 x float> %1210, %1 + %1212 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1211, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1213 = extractvalue { <4 x half>, i8 } %1212, 0 + %1214 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1213, <4 x half> , <4 x half> %1204) #4 + %1215 = fneg fast float %1207 + %1216 = insertelement <2 x float> undef, float %1215, i64 0 + %1217 = insertelement <2 x float> %1216, float 0.000000e+00, i64 1 + %1218 = fmul fast <2 x float> %1217, %780 + %1219 = fadd fast <2 x float> %1218, %1 + %1220 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1219, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1221 = extractvalue { <4 x half>, i8 } %1220, 0 + %1222 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1221, <4 x half> , <4 x half> %1214) #4 + %1223 = insertelement <2 x float> , float %1207, i64 1 + %1224 = fmul fast <2 x float> %1223, %780 + %1225 = fadd fast <2 x float> %1224, %1 + %1226 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1225, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1227 = extractvalue { <4 x half>, i8 } %1226, 0 + %1228 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1227, <4 x half> , <4 x half> %1222) #4 + %1229 = insertelement <2 x float> , float %1215, i64 1 + %1230 = fmul fast <2 x float> %1229, %780 + %1231 = fadd fast <2 x float> %1230, %1 + %1232 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1231, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1233 = extractvalue { <4 x half>, i8 } %1232, 0 + %1234 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1233, <4 x half> , <4 x half> %1228) #4 + %1235 = shufflevector <2 x float> %1208, <2 x float> poison, <2 x i32> zeroinitializer + %1236 = fmul fast <2 x float> %1235, %780 + %1237 = fadd fast <2 x float> %1236, %1 + %1238 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1237, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1239 = extractvalue { <4 x half>, i8 } %1238, 0 + %1240 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1239, <4 x half> , <4 x half> %1234) #4 + %1241 = insertelement <2 x float> %1216, float %1207, i64 1 + %1242 = fmul fast <2 x float> %1241, %780 + %1243 = fadd fast <2 x float> %1242, %1 + %1244 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1243, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1245 = extractvalue { <4 x half>, i8 } %1244, 0 + %1246 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1245, <4 x half> , <4 x half> %1240) #4 + %1247 = insertelement <2 x float> %1208, float %1215, i64 1 + %1248 = fmul fast <2 x float> %1247, %780 + %1249 = fadd fast <2 x float> %1248, %1 + %1250 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1249, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1251 = extractvalue { <4 x half>, i8 } %1250, 0 + %1252 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1251, <4 x half> , <4 x half> %1246) #4 + %1253 = shufflevector <2 x float> %1216, <2 x float> poison, <2 x i32> zeroinitializer + %1254 = fmul fast <2 x float> %1253, %780 + %1255 = fadd fast <2 x float> %1254, %1 + %1256 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1255, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1257 = extractvalue { <4 x half>, i8 } %1256, 0 + %1258 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1257, <4 x half> , <4 x half> %1252) #4 + %1259 = fmul fast <4 x half> %1258, %784 + %1260 = fadd fast <4 x half> %1259, %788 + %1261 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1260, <4 x half> zeroinitializer, <4 x half> ) #4 + %1262 = add nuw i32 %1205, 1 + %1263 = icmp eq i32 %1262, %765 + br i1 %1263, label %1123, label %1203, !llvm.loop !50 + +1264: ; preds = %1344, %741 + %1265 = phi <4 x half> [ %751, %741 ], [ %762, %1344 ] + %1266 = phi <4 x half> [ %749, %741 ], [ %758, %1344 ] + %1267 = phi <2 x float> [ %747, %741 ], [ %754, %1344 ] + %1268 = phi <4 x half> [ zeroinitializer, %741 ], [ %1402, %1344 ] + %1269 = fmul fast <4 x half> %1268, %1268 + %1270 = fmul fast <4 x half> %1269, %1268 + %1271 = fmul fast <4 x half> %1270, + %1272 = fmul fast <4 x half> %1269, + %1273 = fadd fast <4 x half> %1272, %1268 + %1274 = fadd fast <4 x half> %1273, %1271 + %1275 = fmul fast <4 x half> %1274, %1266 + %1276 = fadd fast <4 x half> %1275, %1265 + %1277 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1276, <4 x half> , <4 x half> ) #4 + %1278 = fmul fast <4 x half> %1277, + %1279 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1278) #4 + %1280 = fmul fast <4 x half> %1279, + %1281 = fmul fast <4 x half> %1269, + %1282 = fadd fast <4 x half> %1280, %1281 + %1283 = fadd fast <4 x half> %1269, + %1284 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1282, <4 x half> %1283) #4 + %1285 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1286 = load <4 x half>, <4 x half> addrspace(2)* %1285, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1287 = fmul fast <4 x half> %1286, %1284 + %1288 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1289 = load <4 x half>, <4 x half> addrspace(2)* %1288, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1290 = fmul fast <4 x half> %1289, + %1291 = fmul fast <4 x half> %1269, %1270 + %1292 = fsub fast <4 x half> %1269, %1291 + %1293 = fadd fast <4 x half> %1292, %1287 + %1294 = fadd fast <4 x half> %1293, %1290 + %1295 = fmul fast <4 x half> %1294, %1294 + %1296 = fmul fast <4 x half> %1295, %1294 + %1297 = fmul fast <4 x half> %1296, + %1298 = fmul fast <4 x half> %1295, + %1299 = fadd fast <4 x half> %1298, %1294 + %1300 = fadd fast <4 x half> %1299, %1297 + %1301 = fmul fast <4 x half> %1300, %1266 + %1302 = fadd fast <4 x half> %1301, %1265 + %1303 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1302, <4 x half> , <4 x half> ) #4 + %1304 = fmul fast <4 x half> %1303, + %1305 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1304) #4 + %1306 = fmul fast <4 x half> %1305, + %1307 = fmul fast <4 x half> %1295, + %1308 = fadd fast <4 x half> %1307, %1306 + %1309 = fadd fast <4 x half> %1295, + %1310 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1308, <4 x half> %1309) #4 + %1311 = fmul fast <4 x half> %1310, %1286 + %1312 = fmul fast <4 x half> %1289, + %1313 = fadd fast <4 x half> %1311, %1312 + %1314 = fadd fast <4 x half> %1313, %1295 + %1315 = fmul fast <4 x half> %1295, %1296 + %1316 = fsub fast <4 x half> %1314, %1315 + %1317 = fmul fast <4 x half> %1316, %1316 + %1318 = fmul fast <4 x half> %1317, %1316 + %1319 = fmul fast <4 x half> %1318, + %1320 = fmul fast <4 x half> %1317, + %1321 = fadd fast <4 x half> %1320, %1316 + %1322 = fadd fast <4 x half> %1321, %1319 + %1323 = fmul fast <4 x half> %1322, %1266 + %1324 = fadd fast <4 x half> %1323, %1265 + %1325 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1324, <4 x half> , <4 x half> ) #4 + %1326 = fmul fast <4 x half> %1325, + %1327 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1326) #4 + %1328 = fmul fast <4 x half> %1327, + %1329 = fmul fast <4 x half> %1317, + %1330 = fadd fast <4 x half> %1329, %1328 + %1331 = fadd fast <4 x half> %1317, + %1332 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1330, <4 x half> %1331) #4 + %1333 = fmul fast <4 x half> %1332, %1286 + %1334 = fmul fast <4 x half> %1289, + %1335 = fadd fast <4 x half> %1333, %1334 + %1336 = fadd fast <4 x half> %1335, %1317 + %1337 = fmul fast <4 x half> %1317, %1318 + %1338 = fsub fast <4 x half> %1336, %1337 + %1339 = fmul fast <2 x float> %1267, + %1340 = fadd fast <2 x float> %1339, %1 + %1341 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1340, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1342 = extractvalue { <4 x half>, i8 } %1341, 0 + %1343 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1342, <4 x half> , <4 x half> %1338) #4 + br label %5354 + +1344: ; preds = %752, %1344 + %1345 = phi <4 x half> [ zeroinitializer, %752 ], [ %1402, %1344 ] + %1346 = phi i32 [ 0, %752 ], [ %1403, %1344 ] + %1347 = tail call fast float @air.convert.f.f32.u.i32(i32 %1346) #4 + %1348 = fadd fast float %1347, 8.750000e-01 + %1349 = insertelement <2 x float> undef, float %1348, i64 0 + %1350 = insertelement <2 x float> %1349, float 0.000000e+00, i64 1 + %1351 = fmul fast <2 x float> %1350, %754 + %1352 = fadd fast <2 x float> %1351, %1 + %1353 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1352, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1354 = extractvalue { <4 x half>, i8 } %1353, 0 + %1355 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1354, <4 x half> , <4 x half> %1345) #4 + %1356 = fneg fast float %1348 + %1357 = insertelement <2 x float> undef, float %1356, i64 0 + %1358 = insertelement <2 x float> %1357, float 0.000000e+00, i64 1 + %1359 = fmul fast <2 x float> %1358, %754 + %1360 = fadd fast <2 x float> %1359, %1 + %1361 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1360, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1362 = extractvalue { <4 x half>, i8 } %1361, 0 + %1363 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1362, <4 x half> , <4 x half> %1355) #4 + %1364 = insertelement <2 x float> , float %1348, i64 1 + %1365 = fmul fast <2 x float> %1364, %754 + %1366 = fadd fast <2 x float> %1365, %1 + %1367 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1366, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1368 = extractvalue { <4 x half>, i8 } %1367, 0 + %1369 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1368, <4 x half> , <4 x half> %1363) #4 + %1370 = insertelement <2 x float> , float %1356, i64 1 + %1371 = fmul fast <2 x float> %1370, %754 + %1372 = fadd fast <2 x float> %1371, %1 + %1373 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1372, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1374 = extractvalue { <4 x half>, i8 } %1373, 0 + %1375 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1374, <4 x half> , <4 x half> %1369) #4 + %1376 = shufflevector <2 x float> %1349, <2 x float> poison, <2 x i32> zeroinitializer + %1377 = fmul fast <2 x float> %1376, %754 + %1378 = fadd fast <2 x float> %1377, %1 + %1379 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1378, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1380 = extractvalue { <4 x half>, i8 } %1379, 0 + %1381 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1380, <4 x half> , <4 x half> %1375) #4 + %1382 = insertelement <2 x float> %1357, float %1348, i64 1 + %1383 = fmul fast <2 x float> %1382, %754 + %1384 = fadd fast <2 x float> %1383, %1 + %1385 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1384, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1386 = extractvalue { <4 x half>, i8 } %1385, 0 + %1387 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1386, <4 x half> , <4 x half> %1381) #4 + %1388 = insertelement <2 x float> %1349, float %1356, i64 1 + %1389 = fmul fast <2 x float> %1388, %754 + %1390 = fadd fast <2 x float> %1389, %1 + %1391 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1390, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1392 = extractvalue { <4 x half>, i8 } %1391, 0 + %1393 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1392, <4 x half> , <4 x half> %1387) #4 + %1394 = shufflevector <2 x float> %1357, <2 x float> poison, <2 x i32> zeroinitializer + %1395 = fmul fast <2 x float> %1394, %754 + %1396 = fadd fast <2 x float> %1395, %1 + %1397 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1396, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1398 = extractvalue { <4 x half>, i8 } %1397, 0 + %1399 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1398, <4 x half> , <4 x half> %1393) #4 + %1400 = fmul fast <4 x half> %1399, %758 + %1401 = fadd fast <4 x half> %1400, %762 + %1402 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1401, <4 x half> zeroinitializer, <4 x half> ) #4 + %1403 = add nuw i32 %1346, 1 + %1404 = icmp eq i32 %1403, %739 + br i1 %1404, label %1264, label %1344, !llvm.loop !51 + +1405: ; preds = %1485, %715 + %1406 = phi <4 x half> [ %725, %715 ], [ %736, %1485 ] + %1407 = phi <4 x half> [ %723, %715 ], [ %732, %1485 ] + %1408 = phi <2 x float> [ %721, %715 ], [ %728, %1485 ] + %1409 = phi <4 x half> [ zeroinitializer, %715 ], [ %1543, %1485 ] + %1410 = fmul fast <4 x half> %1409, %1409 + %1411 = fmul fast <4 x half> %1410, %1409 + %1412 = fmul fast <4 x half> %1411, + %1413 = fmul fast <4 x half> %1410, + %1414 = fadd fast <4 x half> %1413, %1409 + %1415 = fadd fast <4 x half> %1414, %1412 + %1416 = fmul fast <4 x half> %1415, %1407 + %1417 = fadd fast <4 x half> %1416, %1406 + %1418 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1417, <4 x half> , <4 x half> ) #4 + %1419 = fmul fast <4 x half> %1418, + %1420 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1419) #4 + %1421 = fmul fast <4 x half> %1420, + %1422 = fmul fast <4 x half> %1410, + %1423 = fadd fast <4 x half> %1421, %1422 + %1424 = fadd fast <4 x half> %1410, + %1425 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1423, <4 x half> %1424) #4 + %1426 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1427 = load <4 x half>, <4 x half> addrspace(2)* %1426, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1428 = fmul fast <4 x half> %1427, %1425 + %1429 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1430 = load <4 x half>, <4 x half> addrspace(2)* %1429, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1431 = fmul fast <4 x half> %1430, + %1432 = fmul fast <4 x half> %1410, %1411 + %1433 = fsub fast <4 x half> %1410, %1432 + %1434 = fadd fast <4 x half> %1433, %1428 + %1435 = fadd fast <4 x half> %1434, %1431 + %1436 = fmul fast <4 x half> %1435, %1435 + %1437 = fmul fast <4 x half> %1436, %1435 + %1438 = fmul fast <4 x half> %1437, + %1439 = fmul fast <4 x half> %1436, + %1440 = fadd fast <4 x half> %1439, %1435 + %1441 = fadd fast <4 x half> %1440, %1438 + %1442 = fmul fast <4 x half> %1441, %1407 + %1443 = fadd fast <4 x half> %1442, %1406 + %1444 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1443, <4 x half> , <4 x half> ) #4 + %1445 = fmul fast <4 x half> %1444, + %1446 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1445) #4 + %1447 = fmul fast <4 x half> %1446, + %1448 = fmul fast <4 x half> %1436, + %1449 = fadd fast <4 x half> %1448, %1447 + %1450 = fadd fast <4 x half> %1436, + %1451 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1449, <4 x half> %1450) #4 + %1452 = fmul fast <4 x half> %1451, %1427 + %1453 = fmul fast <4 x half> %1430, + %1454 = fadd fast <4 x half> %1452, %1453 + %1455 = fadd fast <4 x half> %1454, %1436 + %1456 = fmul fast <4 x half> %1436, %1437 + %1457 = fsub fast <4 x half> %1455, %1456 + %1458 = fmul fast <4 x half> %1457, %1457 + %1459 = fmul fast <4 x half> %1458, %1457 + %1460 = fmul fast <4 x half> %1459, + %1461 = fmul fast <4 x half> %1458, + %1462 = fadd fast <4 x half> %1461, %1457 + %1463 = fadd fast <4 x half> %1462, %1460 + %1464 = fmul fast <4 x half> %1463, %1407 + %1465 = fadd fast <4 x half> %1464, %1406 + %1466 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1465, <4 x half> , <4 x half> ) #4 + %1467 = fmul fast <4 x half> %1466, + %1468 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1467) #4 + %1469 = fmul fast <4 x half> %1468, + %1470 = fmul fast <4 x half> %1458, + %1471 = fadd fast <4 x half> %1470, %1469 + %1472 = fadd fast <4 x half> %1458, + %1473 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1471, <4 x half> %1472) #4 + %1474 = fmul fast <4 x half> %1473, %1427 + %1475 = fmul fast <4 x half> %1430, + %1476 = fadd fast <4 x half> %1474, %1475 + %1477 = fadd fast <4 x half> %1476, %1458 + %1478 = fmul fast <4 x half> %1458, %1459 + %1479 = fsub fast <4 x half> %1477, %1478 + %1480 = fmul fast <2 x float> %1408, + %1481 = fadd fast <2 x float> %1480, %1 + %1482 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1481, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1483 = extractvalue { <4 x half>, i8 } %1482, 0 + %1484 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1483, <4 x half> , <4 x half> %1479) #4 + br label %5354 + +1485: ; preds = %726, %1485 + %1486 = phi <4 x half> [ zeroinitializer, %726 ], [ %1543, %1485 ] + %1487 = phi i32 [ 0, %726 ], [ %1544, %1485 ] + %1488 = tail call fast float @air.convert.f.f32.u.i32(i32 %1487) #4 + %1489 = fadd fast float %1488, 1.000000e+00 + %1490 = insertelement <2 x float> undef, float %1489, i64 0 + %1491 = insertelement <2 x float> %1490, float 0.000000e+00, i64 1 + %1492 = fmul fast <2 x float> %1491, %728 + %1493 = fadd fast <2 x float> %1492, %1 + %1494 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1493, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1495 = extractvalue { <4 x half>, i8 } %1494, 0 + %1496 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1495, <4 x half> , <4 x half> %1486) #4 + %1497 = fneg fast float %1489 + %1498 = insertelement <2 x float> undef, float %1497, i64 0 + %1499 = insertelement <2 x float> %1498, float 0.000000e+00, i64 1 + %1500 = fmul fast <2 x float> %1499, %728 + %1501 = fadd fast <2 x float> %1500, %1 + %1502 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1501, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1503 = extractvalue { <4 x half>, i8 } %1502, 0 + %1504 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1503, <4 x half> , <4 x half> %1496) #4 + %1505 = insertelement <2 x float> , float %1489, i64 1 + %1506 = fmul fast <2 x float> %1505, %728 + %1507 = fadd fast <2 x float> %1506, %1 + %1508 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1507, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1509 = extractvalue { <4 x half>, i8 } %1508, 0 + %1510 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1509, <4 x half> , <4 x half> %1504) #4 + %1511 = insertelement <2 x float> , float %1497, i64 1 + %1512 = fmul fast <2 x float> %1511, %728 + %1513 = fadd fast <2 x float> %1512, %1 + %1514 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1513, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1515 = extractvalue { <4 x half>, i8 } %1514, 0 + %1516 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1515, <4 x half> , <4 x half> %1510) #4 + %1517 = shufflevector <2 x float> %1490, <2 x float> poison, <2 x i32> zeroinitializer + %1518 = fmul fast <2 x float> %1517, %728 + %1519 = fadd fast <2 x float> %1518, %1 + %1520 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1519, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1521 = extractvalue { <4 x half>, i8 } %1520, 0 + %1522 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1521, <4 x half> , <4 x half> %1516) #4 + %1523 = insertelement <2 x float> %1498, float %1489, i64 1 + %1524 = fmul fast <2 x float> %1523, %728 + %1525 = fadd fast <2 x float> %1524, %1 + %1526 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1525, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1527 = extractvalue { <4 x half>, i8 } %1526, 0 + %1528 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1527, <4 x half> , <4 x half> %1522) #4 + %1529 = insertelement <2 x float> %1490, float %1497, i64 1 + %1530 = fmul fast <2 x float> %1529, %728 + %1531 = fadd fast <2 x float> %1530, %1 + %1532 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1531, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1533 = extractvalue { <4 x half>, i8 } %1532, 0 + %1534 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1533, <4 x half> , <4 x half> %1528) #4 + %1535 = shufflevector <2 x float> %1498, <2 x float> poison, <2 x i32> zeroinitializer + %1536 = fmul fast <2 x float> %1535, %728 + %1537 = fadd fast <2 x float> %1536, %1 + %1538 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1537, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1539 = extractvalue { <4 x half>, i8 } %1538, 0 + %1540 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1539, <4 x half> , <4 x half> %1534) #4 + %1541 = fmul fast <4 x half> %1540, %732 + %1542 = fadd fast <4 x half> %1541, %736 + %1543 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1542, <4 x half> zeroinitializer, <4 x half> ) #4 + %1544 = add nuw i32 %1487, 1 + %1545 = icmp eq i32 %1544, %713 + br i1 %1545, label %1405, label %1485, !llvm.loop !52 + +1546: ; preds = %1626, %689 + %1547 = phi <4 x half> [ %699, %689 ], [ %710, %1626 ] + %1548 = phi <4 x half> [ %697, %689 ], [ %706, %1626 ] + %1549 = phi <2 x float> [ %695, %689 ], [ %702, %1626 ] + %1550 = phi <4 x half> [ zeroinitializer, %689 ], [ %1684, %1626 ] + %1551 = fmul fast <4 x half> %1550, %1550 + %1552 = fmul fast <4 x half> %1551, %1550 + %1553 = fmul fast <4 x half> %1552, + %1554 = fmul fast <4 x half> %1551, + %1555 = fadd fast <4 x half> %1554, %1550 + %1556 = fadd fast <4 x half> %1555, %1553 + %1557 = fmul fast <4 x half> %1556, %1548 + %1558 = fadd fast <4 x half> %1557, %1547 + %1559 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1558, <4 x half> , <4 x half> ) #4 + %1560 = fmul fast <4 x half> %1559, + %1561 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1560) #4 + %1562 = fmul fast <4 x half> %1561, + %1563 = fmul fast <4 x half> %1551, + %1564 = fadd fast <4 x half> %1562, %1563 + %1565 = fadd fast <4 x half> %1551, + %1566 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1564, <4 x half> %1565) #4 + %1567 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1568 = load <4 x half>, <4 x half> addrspace(2)* %1567, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1569 = fmul fast <4 x half> %1568, %1566 + %1570 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1571 = load <4 x half>, <4 x half> addrspace(2)* %1570, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1572 = fmul fast <4 x half> %1571, + %1573 = fmul fast <4 x half> %1551, %1552 + %1574 = fsub fast <4 x half> %1551, %1573 + %1575 = fadd fast <4 x half> %1574, %1569 + %1576 = fadd fast <4 x half> %1575, %1572 + %1577 = fmul fast <4 x half> %1576, %1576 + %1578 = fmul fast <4 x half> %1577, %1576 + %1579 = fmul fast <4 x half> %1578, + %1580 = fmul fast <4 x half> %1577, + %1581 = fadd fast <4 x half> %1580, %1576 + %1582 = fadd fast <4 x half> %1581, %1579 + %1583 = fmul fast <4 x half> %1582, %1548 + %1584 = fadd fast <4 x half> %1583, %1547 + %1585 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1584, <4 x half> , <4 x half> ) #4 + %1586 = fmul fast <4 x half> %1585, + %1587 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1586) #4 + %1588 = fmul fast <4 x half> %1587, + %1589 = fmul fast <4 x half> %1577, + %1590 = fadd fast <4 x half> %1589, %1588 + %1591 = fadd fast <4 x half> %1577, + %1592 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1590, <4 x half> %1591) #4 + %1593 = fmul fast <4 x half> %1592, %1568 + %1594 = fmul fast <4 x half> %1571, + %1595 = fadd fast <4 x half> %1593, %1594 + %1596 = fadd fast <4 x half> %1595, %1577 + %1597 = fmul fast <4 x half> %1577, %1578 + %1598 = fsub fast <4 x half> %1596, %1597 + %1599 = fmul fast <4 x half> %1598, %1598 + %1600 = fmul fast <4 x half> %1599, %1598 + %1601 = fmul fast <4 x half> %1600, + %1602 = fmul fast <4 x half> %1599, + %1603 = fadd fast <4 x half> %1602, %1598 + %1604 = fadd fast <4 x half> %1603, %1601 + %1605 = fmul fast <4 x half> %1604, %1548 + %1606 = fadd fast <4 x half> %1605, %1547 + %1607 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1606, <4 x half> , <4 x half> ) #4 + %1608 = fmul fast <4 x half> %1607, + %1609 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1608) #4 + %1610 = fmul fast <4 x half> %1609, + %1611 = fmul fast <4 x half> %1599, + %1612 = fadd fast <4 x half> %1611, %1610 + %1613 = fadd fast <4 x half> %1599, + %1614 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1612, <4 x half> %1613) #4 + %1615 = fmul fast <4 x half> %1614, %1568 + %1616 = fmul fast <4 x half> %1571, + %1617 = fadd fast <4 x half> %1615, %1616 + %1618 = fadd fast <4 x half> %1617, %1599 + %1619 = fmul fast <4 x half> %1599, %1600 + %1620 = fsub fast <4 x half> %1618, %1619 + %1621 = fmul fast <2 x float> %1549, + %1622 = fadd fast <2 x float> %1621, %1 + %1623 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1622, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1624 = extractvalue { <4 x half>, i8 } %1623, 0 + %1625 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1624, <4 x half> , <4 x half> %1620) #4 + br label %5354 + +1626: ; preds = %700, %1626 + %1627 = phi <4 x half> [ zeroinitializer, %700 ], [ %1684, %1626 ] + %1628 = phi i32 [ 0, %700 ], [ %1685, %1626 ] + %1629 = tail call fast float @air.convert.f.f32.u.i32(i32 %1628) #4 + %1630 = fadd fast float %1629, 5.000000e-01 + %1631 = insertelement <2 x float> undef, float %1630, i64 0 + %1632 = insertelement <2 x float> %1631, float 0.000000e+00, i64 1 + %1633 = fmul fast <2 x float> %1632, %702 + %1634 = fadd fast <2 x float> %1633, %1 + %1635 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1634, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1636 = extractvalue { <4 x half>, i8 } %1635, 0 + %1637 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1636, <4 x half> , <4 x half> %1627) #4 + %1638 = fneg fast float %1630 + %1639 = insertelement <2 x float> undef, float %1638, i64 0 + %1640 = insertelement <2 x float> %1639, float 0.000000e+00, i64 1 + %1641 = fmul fast <2 x float> %1640, %702 + %1642 = fadd fast <2 x float> %1641, %1 + %1643 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1642, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1644 = extractvalue { <4 x half>, i8 } %1643, 0 + %1645 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1644, <4 x half> , <4 x half> %1637) #4 + %1646 = insertelement <2 x float> , float %1630, i64 1 + %1647 = fmul fast <2 x float> %1646, %702 + %1648 = fadd fast <2 x float> %1647, %1 + %1649 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1648, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1650 = extractvalue { <4 x half>, i8 } %1649, 0 + %1651 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1650, <4 x half> , <4 x half> %1645) #4 + %1652 = insertelement <2 x float> , float %1638, i64 1 + %1653 = fmul fast <2 x float> %1652, %702 + %1654 = fadd fast <2 x float> %1653, %1 + %1655 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1654, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1656 = extractvalue { <4 x half>, i8 } %1655, 0 + %1657 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1656, <4 x half> , <4 x half> %1651) #4 + %1658 = shufflevector <2 x float> %1631, <2 x float> poison, <2 x i32> zeroinitializer + %1659 = fmul fast <2 x float> %1658, %702 + %1660 = fadd fast <2 x float> %1659, %1 + %1661 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1660, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1662 = extractvalue { <4 x half>, i8 } %1661, 0 + %1663 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1662, <4 x half> , <4 x half> %1657) #4 + %1664 = insertelement <2 x float> %1639, float %1630, i64 1 + %1665 = fmul fast <2 x float> %1664, %702 + %1666 = fadd fast <2 x float> %1665, %1 + %1667 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1666, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1668 = extractvalue { <4 x half>, i8 } %1667, 0 + %1669 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1668, <4 x half> , <4 x half> %1663) #4 + %1670 = insertelement <2 x float> %1631, float %1638, i64 1 + %1671 = fmul fast <2 x float> %1670, %702 + %1672 = fadd fast <2 x float> %1671, %1 + %1673 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1672, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1674 = extractvalue { <4 x half>, i8 } %1673, 0 + %1675 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1674, <4 x half> , <4 x half> %1669) #4 + %1676 = shufflevector <2 x float> %1639, <2 x float> poison, <2 x i32> zeroinitializer + %1677 = fmul fast <2 x float> %1676, %702 + %1678 = fadd fast <2 x float> %1677, %1 + %1679 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1678, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1680 = extractvalue { <4 x half>, i8 } %1679, 0 + %1681 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1680, <4 x half> , <4 x half> %1675) #4 + %1682 = fmul fast <4 x half> %1681, %706 + %1683 = fadd fast <4 x half> %1682, %710 + %1684 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1683, <4 x half> zeroinitializer, <4 x half> ) #4 + %1685 = add nuw i32 %1628, 1 + %1686 = icmp eq i32 %1685, %687 + br i1 %1686, label %1546, label %1626, !llvm.loop !53 + +1687: ; preds = %1767, %663 + %1688 = phi <4 x half> [ %673, %663 ], [ %684, %1767 ] + %1689 = phi <4 x half> [ %671, %663 ], [ %680, %1767 ] + %1690 = phi <2 x float> [ %669, %663 ], [ %676, %1767 ] + %1691 = phi <4 x half> [ zeroinitializer, %663 ], [ %1825, %1767 ] + %1692 = fmul fast <4 x half> %1691, %1691 + %1693 = fmul fast <4 x half> %1692, %1691 + %1694 = fmul fast <4 x half> %1693, + %1695 = fmul fast <4 x half> %1692, + %1696 = fadd fast <4 x half> %1695, %1691 + %1697 = fadd fast <4 x half> %1696, %1694 + %1698 = fmul fast <4 x half> %1697, %1689 + %1699 = fadd fast <4 x half> %1698, %1688 + %1700 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1699, <4 x half> , <4 x half> ) #4 + %1701 = fmul fast <4 x half> %1700, + %1702 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1701) #4 + %1703 = fmul fast <4 x half> %1702, + %1704 = fmul fast <4 x half> %1692, + %1705 = fadd fast <4 x half> %1703, %1704 + %1706 = fadd fast <4 x half> %1692, + %1707 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1705, <4 x half> %1706) #4 + %1708 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1709 = load <4 x half>, <4 x half> addrspace(2)* %1708, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1710 = fmul fast <4 x half> %1709, %1707 + %1711 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1712 = load <4 x half>, <4 x half> addrspace(2)* %1711, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1713 = fmul fast <4 x half> %1712, + %1714 = fmul fast <4 x half> %1692, %1693 + %1715 = fsub fast <4 x half> %1692, %1714 + %1716 = fadd fast <4 x half> %1715, %1710 + %1717 = fadd fast <4 x half> %1716, %1713 + %1718 = fmul fast <4 x half> %1717, %1717 + %1719 = fmul fast <4 x half> %1718, %1717 + %1720 = fmul fast <4 x half> %1719, + %1721 = fmul fast <4 x half> %1718, + %1722 = fadd fast <4 x half> %1721, %1717 + %1723 = fadd fast <4 x half> %1722, %1720 + %1724 = fmul fast <4 x half> %1723, %1689 + %1725 = fadd fast <4 x half> %1724, %1688 + %1726 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1725, <4 x half> , <4 x half> ) #4 + %1727 = fmul fast <4 x half> %1726, + %1728 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1727) #4 + %1729 = fmul fast <4 x half> %1728, + %1730 = fmul fast <4 x half> %1718, + %1731 = fadd fast <4 x half> %1730, %1729 + %1732 = fadd fast <4 x half> %1718, + %1733 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1731, <4 x half> %1732) #4 + %1734 = fmul fast <4 x half> %1733, %1709 + %1735 = fmul fast <4 x half> %1712, + %1736 = fadd fast <4 x half> %1734, %1735 + %1737 = fadd fast <4 x half> %1736, %1718 + %1738 = fmul fast <4 x half> %1718, %1719 + %1739 = fsub fast <4 x half> %1737, %1738 + %1740 = fmul fast <4 x half> %1739, %1739 + %1741 = fmul fast <4 x half> %1740, %1739 + %1742 = fmul fast <4 x half> %1741, + %1743 = fmul fast <4 x half> %1740, + %1744 = fadd fast <4 x half> %1743, %1739 + %1745 = fadd fast <4 x half> %1744, %1742 + %1746 = fmul fast <4 x half> %1745, %1689 + %1747 = fadd fast <4 x half> %1746, %1688 + %1748 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1747, <4 x half> , <4 x half> ) #4 + %1749 = fmul fast <4 x half> %1748, + %1750 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1749) #4 + %1751 = fmul fast <4 x half> %1750, + %1752 = fmul fast <4 x half> %1740, + %1753 = fadd fast <4 x half> %1752, %1751 + %1754 = fadd fast <4 x half> %1740, + %1755 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1753, <4 x half> %1754) #4 + %1756 = fmul fast <4 x half> %1755, %1709 + %1757 = fmul fast <4 x half> %1712, + %1758 = fadd fast <4 x half> %1756, %1757 + %1759 = fadd fast <4 x half> %1758, %1740 + %1760 = fmul fast <4 x half> %1740, %1741 + %1761 = fsub fast <4 x half> %1759, %1760 + %1762 = fmul fast <2 x float> %1690, + %1763 = fadd fast <2 x float> %1762, %1 + %1764 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1763, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1765 = extractvalue { <4 x half>, i8 } %1764, 0 + %1766 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1765, <4 x half> , <4 x half> %1761) #4 + br label %5354 + +1767: ; preds = %674, %1767 + %1768 = phi <4 x half> [ zeroinitializer, %674 ], [ %1825, %1767 ] + %1769 = phi i32 [ 0, %674 ], [ %1826, %1767 ] + %1770 = tail call fast float @air.convert.f.f32.u.i32(i32 %1769) #4 + %1771 = fadd fast float %1770, 6.250000e-01 + %1772 = insertelement <2 x float> undef, float %1771, i64 0 + %1773 = insertelement <2 x float> %1772, float 0.000000e+00, i64 1 + %1774 = fmul fast <2 x float> %1773, %676 + %1775 = fadd fast <2 x float> %1774, %1 + %1776 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1775, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1777 = extractvalue { <4 x half>, i8 } %1776, 0 + %1778 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1777, <4 x half> , <4 x half> %1768) #4 + %1779 = fneg fast float %1771 + %1780 = insertelement <2 x float> undef, float %1779, i64 0 + %1781 = insertelement <2 x float> %1780, float 0.000000e+00, i64 1 + %1782 = fmul fast <2 x float> %1781, %676 + %1783 = fadd fast <2 x float> %1782, %1 + %1784 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1783, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1785 = extractvalue { <4 x half>, i8 } %1784, 0 + %1786 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1785, <4 x half> , <4 x half> %1778) #4 + %1787 = insertelement <2 x float> , float %1771, i64 1 + %1788 = fmul fast <2 x float> %1787, %676 + %1789 = fadd fast <2 x float> %1788, %1 + %1790 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1789, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1791 = extractvalue { <4 x half>, i8 } %1790, 0 + %1792 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1791, <4 x half> , <4 x half> %1786) #4 + %1793 = insertelement <2 x float> , float %1779, i64 1 + %1794 = fmul fast <2 x float> %1793, %676 + %1795 = fadd fast <2 x float> %1794, %1 + %1796 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1795, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1797 = extractvalue { <4 x half>, i8 } %1796, 0 + %1798 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1797, <4 x half> , <4 x half> %1792) #4 + %1799 = shufflevector <2 x float> %1772, <2 x float> poison, <2 x i32> zeroinitializer + %1800 = fmul fast <2 x float> %1799, %676 + %1801 = fadd fast <2 x float> %1800, %1 + %1802 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1801, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1803 = extractvalue { <4 x half>, i8 } %1802, 0 + %1804 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1803, <4 x half> , <4 x half> %1798) #4 + %1805 = insertelement <2 x float> %1780, float %1771, i64 1 + %1806 = fmul fast <2 x float> %1805, %676 + %1807 = fadd fast <2 x float> %1806, %1 + %1808 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1807, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1809 = extractvalue { <4 x half>, i8 } %1808, 0 + %1810 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1809, <4 x half> , <4 x half> %1804) #4 + %1811 = insertelement <2 x float> %1772, float %1779, i64 1 + %1812 = fmul fast <2 x float> %1811, %676 + %1813 = fadd fast <2 x float> %1812, %1 + %1814 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1813, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1815 = extractvalue { <4 x half>, i8 } %1814, 0 + %1816 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1815, <4 x half> , <4 x half> %1810) #4 + %1817 = shufflevector <2 x float> %1780, <2 x float> poison, <2 x i32> zeroinitializer + %1818 = fmul fast <2 x float> %1817, %676 + %1819 = fadd fast <2 x float> %1818, %1 + %1820 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1819, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1821 = extractvalue { <4 x half>, i8 } %1820, 0 + %1822 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1821, <4 x half> , <4 x half> %1816) #4 + %1823 = fmul fast <4 x half> %1822, %680 + %1824 = fadd fast <4 x half> %1823, %684 + %1825 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1824, <4 x half> zeroinitializer, <4 x half> ) #4 + %1826 = add nuw i32 %1769, 1 + %1827 = icmp eq i32 %1826, %661 + br i1 %1827, label %1687, label %1767, !llvm.loop !54 + +1828: ; preds = %1908, %637 + %1829 = phi <4 x half> [ %647, %637 ], [ %658, %1908 ] + %1830 = phi <4 x half> [ %645, %637 ], [ %654, %1908 ] + %1831 = phi <2 x float> [ %643, %637 ], [ %650, %1908 ] + %1832 = phi <4 x half> [ zeroinitializer, %637 ], [ %1966, %1908 ] + %1833 = fmul fast <4 x half> %1832, %1832 + %1834 = fmul fast <4 x half> %1833, %1832 + %1835 = fmul fast <4 x half> %1834, + %1836 = fmul fast <4 x half> %1833, + %1837 = fadd fast <4 x half> %1836, %1832 + %1838 = fadd fast <4 x half> %1837, %1835 + %1839 = fmul fast <4 x half> %1838, %1830 + %1840 = fadd fast <4 x half> %1839, %1829 + %1841 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1840, <4 x half> , <4 x half> ) #4 + %1842 = fmul fast <4 x half> %1841, + %1843 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1842) #4 + %1844 = fmul fast <4 x half> %1843, + %1845 = fmul fast <4 x half> %1833, + %1846 = fadd fast <4 x half> %1844, %1845 + %1847 = fadd fast <4 x half> %1833, + %1848 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1846, <4 x half> %1847) #4 + %1849 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1850 = load <4 x half>, <4 x half> addrspace(2)* %1849, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1851 = fmul fast <4 x half> %1850, %1848 + %1852 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1853 = load <4 x half>, <4 x half> addrspace(2)* %1852, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1854 = fmul fast <4 x half> %1853, + %1855 = fmul fast <4 x half> %1833, %1834 + %1856 = fsub fast <4 x half> %1833, %1855 + %1857 = fadd fast <4 x half> %1856, %1851 + %1858 = fadd fast <4 x half> %1857, %1854 + %1859 = fmul fast <4 x half> %1858, %1858 + %1860 = fmul fast <4 x half> %1859, %1858 + %1861 = fmul fast <4 x half> %1860, + %1862 = fmul fast <4 x half> %1859, + %1863 = fadd fast <4 x half> %1862, %1858 + %1864 = fadd fast <4 x half> %1863, %1861 + %1865 = fmul fast <4 x half> %1864, %1830 + %1866 = fadd fast <4 x half> %1865, %1829 + %1867 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1866, <4 x half> , <4 x half> ) #4 + %1868 = fmul fast <4 x half> %1867, + %1869 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1868) #4 + %1870 = fmul fast <4 x half> %1869, + %1871 = fmul fast <4 x half> %1859, + %1872 = fadd fast <4 x half> %1871, %1870 + %1873 = fadd fast <4 x half> %1859, + %1874 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1872, <4 x half> %1873) #4 + %1875 = fmul fast <4 x half> %1874, %1850 + %1876 = fmul fast <4 x half> %1853, + %1877 = fadd fast <4 x half> %1875, %1876 + %1878 = fadd fast <4 x half> %1877, %1859 + %1879 = fmul fast <4 x half> %1859, %1860 + %1880 = fsub fast <4 x half> %1878, %1879 + %1881 = fmul fast <4 x half> %1880, %1880 + %1882 = fmul fast <4 x half> %1881, %1880 + %1883 = fmul fast <4 x half> %1882, + %1884 = fmul fast <4 x half> %1881, + %1885 = fadd fast <4 x half> %1884, %1880 + %1886 = fadd fast <4 x half> %1885, %1883 + %1887 = fmul fast <4 x half> %1886, %1830 + %1888 = fadd fast <4 x half> %1887, %1829 + %1889 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1888, <4 x half> , <4 x half> ) #4 + %1890 = fmul fast <4 x half> %1889, + %1891 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1890) #4 + %1892 = fmul fast <4 x half> %1891, + %1893 = fmul fast <4 x half> %1881, + %1894 = fadd fast <4 x half> %1893, %1892 + %1895 = fadd fast <4 x half> %1881, + %1896 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1894, <4 x half> %1895) #4 + %1897 = fmul fast <4 x half> %1896, %1850 + %1898 = fmul fast <4 x half> %1853, + %1899 = fadd fast <4 x half> %1897, %1898 + %1900 = fadd fast <4 x half> %1899, %1881 + %1901 = fmul fast <4 x half> %1881, %1882 + %1902 = fsub fast <4 x half> %1900, %1901 + %1903 = fmul fast <2 x float> %1831, + %1904 = fadd fast <2 x float> %1903, %1 + %1905 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1904, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1906 = extractvalue { <4 x half>, i8 } %1905, 0 + %1907 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1906, <4 x half> , <4 x half> %1902) #4 + br label %5354 + +1908: ; preds = %648, %1908 + %1909 = phi <4 x half> [ zeroinitializer, %648 ], [ %1966, %1908 ] + %1910 = phi i32 [ 0, %648 ], [ %1967, %1908 ] + %1911 = tail call fast float @air.convert.f.f32.u.i32(i32 %1910) #4 + %1912 = fadd fast float %1911, 7.500000e-01 + %1913 = insertelement <2 x float> undef, float %1912, i64 0 + %1914 = insertelement <2 x float> %1913, float 0.000000e+00, i64 1 + %1915 = fmul fast <2 x float> %1914, %650 + %1916 = fadd fast <2 x float> %1915, %1 + %1917 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1916, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1918 = extractvalue { <4 x half>, i8 } %1917, 0 + %1919 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1918, <4 x half> , <4 x half> %1909) #4 + %1920 = fneg fast float %1912 + %1921 = insertelement <2 x float> undef, float %1920, i64 0 + %1922 = insertelement <2 x float> %1921, float 0.000000e+00, i64 1 + %1923 = fmul fast <2 x float> %1922, %650 + %1924 = fadd fast <2 x float> %1923, %1 + %1925 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1924, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1926 = extractvalue { <4 x half>, i8 } %1925, 0 + %1927 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1926, <4 x half> , <4 x half> %1919) #4 + %1928 = insertelement <2 x float> , float %1912, i64 1 + %1929 = fmul fast <2 x float> %1928, %650 + %1930 = fadd fast <2 x float> %1929, %1 + %1931 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1930, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1932 = extractvalue { <4 x half>, i8 } %1931, 0 + %1933 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1932, <4 x half> , <4 x half> %1927) #4 + %1934 = insertelement <2 x float> , float %1920, i64 1 + %1935 = fmul fast <2 x float> %1934, %650 + %1936 = fadd fast <2 x float> %1935, %1 + %1937 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1936, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1938 = extractvalue { <4 x half>, i8 } %1937, 0 + %1939 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1938, <4 x half> , <4 x half> %1933) #4 + %1940 = shufflevector <2 x float> %1913, <2 x float> poison, <2 x i32> zeroinitializer + %1941 = fmul fast <2 x float> %1940, %650 + %1942 = fadd fast <2 x float> %1941, %1 + %1943 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1942, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1944 = extractvalue { <4 x half>, i8 } %1943, 0 + %1945 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1944, <4 x half> , <4 x half> %1939) #4 + %1946 = insertelement <2 x float> %1921, float %1912, i64 1 + %1947 = fmul fast <2 x float> %1946, %650 + %1948 = fadd fast <2 x float> %1947, %1 + %1949 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1948, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1950 = extractvalue { <4 x half>, i8 } %1949, 0 + %1951 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1950, <4 x half> , <4 x half> %1945) #4 + %1952 = insertelement <2 x float> %1913, float %1920, i64 1 + %1953 = fmul fast <2 x float> %1952, %650 + %1954 = fadd fast <2 x float> %1953, %1 + %1955 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1954, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1956 = extractvalue { <4 x half>, i8 } %1955, 0 + %1957 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1956, <4 x half> , <4 x half> %1951) #4 + %1958 = shufflevector <2 x float> %1921, <2 x float> poison, <2 x i32> zeroinitializer + %1959 = fmul fast <2 x float> %1958, %650 + %1960 = fadd fast <2 x float> %1959, %1 + %1961 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %1960, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1962 = extractvalue { <4 x half>, i8 } %1961, 0 + %1963 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1962, <4 x half> , <4 x half> %1957) #4 + %1964 = fmul fast <4 x half> %1963, %654 + %1965 = fadd fast <4 x half> %1964, %658 + %1966 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1965, <4 x half> zeroinitializer, <4 x half> ) #4 + %1967 = add nuw i32 %1910, 1 + %1968 = icmp eq i32 %1967, %635 + br i1 %1968, label %1828, label %1908, !llvm.loop !55 + +1969: ; preds = %2049, %611 + %1970 = phi <4 x half> [ %621, %611 ], [ %632, %2049 ] + %1971 = phi <4 x half> [ %619, %611 ], [ %628, %2049 ] + %1972 = phi <2 x float> [ %617, %611 ], [ %624, %2049 ] + %1973 = phi <4 x half> [ zeroinitializer, %611 ], [ %2107, %2049 ] + %1974 = fmul fast <4 x half> %1973, %1973 + %1975 = fmul fast <4 x half> %1974, %1973 + %1976 = fmul fast <4 x half> %1975, + %1977 = fmul fast <4 x half> %1974, + %1978 = fadd fast <4 x half> %1977, %1973 + %1979 = fadd fast <4 x half> %1978, %1976 + %1980 = fmul fast <4 x half> %1979, %1971 + %1981 = fadd fast <4 x half> %1980, %1970 + %1982 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1981, <4 x half> , <4 x half> ) #4 + %1983 = fmul fast <4 x half> %1982, + %1984 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1983) #4 + %1985 = fmul fast <4 x half> %1984, + %1986 = fmul fast <4 x half> %1974, + %1987 = fadd fast <4 x half> %1985, %1986 + %1988 = fadd fast <4 x half> %1974, + %1989 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1987, <4 x half> %1988) #4 + %1990 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %1991 = load <4 x half>, <4 x half> addrspace(2)* %1990, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1992 = fmul fast <4 x half> %1991, %1989 + %1993 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %1994 = load <4 x half>, <4 x half> addrspace(2)* %1993, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1995 = fmul fast <4 x half> %1994, + %1996 = fmul fast <4 x half> %1974, %1975 + %1997 = fsub fast <4 x half> %1974, %1996 + %1998 = fadd fast <4 x half> %1997, %1992 + %1999 = fadd fast <4 x half> %1998, %1995 + %2000 = fmul fast <4 x half> %1999, %1999 + %2001 = fmul fast <4 x half> %2000, %1999 + %2002 = fmul fast <4 x half> %2001, + %2003 = fmul fast <4 x half> %2000, + %2004 = fadd fast <4 x half> %2003, %1999 + %2005 = fadd fast <4 x half> %2004, %2002 + %2006 = fmul fast <4 x half> %2005, %1971 + %2007 = fadd fast <4 x half> %2006, %1970 + %2008 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2007, <4 x half> , <4 x half> ) #4 + %2009 = fmul fast <4 x half> %2008, + %2010 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2009) #4 + %2011 = fmul fast <4 x half> %2010, + %2012 = fmul fast <4 x half> %2000, + %2013 = fadd fast <4 x half> %2012, %2011 + %2014 = fadd fast <4 x half> %2000, + %2015 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2013, <4 x half> %2014) #4 + %2016 = fmul fast <4 x half> %2015, %1991 + %2017 = fmul fast <4 x half> %1994, + %2018 = fadd fast <4 x half> %2016, %2017 + %2019 = fadd fast <4 x half> %2018, %2000 + %2020 = fmul fast <4 x half> %2000, %2001 + %2021 = fsub fast <4 x half> %2019, %2020 + %2022 = fmul fast <4 x half> %2021, %2021 + %2023 = fmul fast <4 x half> %2022, %2021 + %2024 = fmul fast <4 x half> %2023, + %2025 = fmul fast <4 x half> %2022, + %2026 = fadd fast <4 x half> %2025, %2021 + %2027 = fadd fast <4 x half> %2026, %2024 + %2028 = fmul fast <4 x half> %2027, %1971 + %2029 = fadd fast <4 x half> %2028, %1970 + %2030 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2029, <4 x half> , <4 x half> ) #4 + %2031 = fmul fast <4 x half> %2030, + %2032 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2031) #4 + %2033 = fmul fast <4 x half> %2032, + %2034 = fmul fast <4 x half> %2022, + %2035 = fadd fast <4 x half> %2034, %2033 + %2036 = fadd fast <4 x half> %2022, + %2037 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2035, <4 x half> %2036) #4 + %2038 = fmul fast <4 x half> %2037, %1991 + %2039 = fmul fast <4 x half> %1994, + %2040 = fadd fast <4 x half> %2038, %2039 + %2041 = fadd fast <4 x half> %2040, %2022 + %2042 = fmul fast <4 x half> %2022, %2023 + %2043 = fsub fast <4 x half> %2041, %2042 + %2044 = fmul fast <2 x float> %1972, + %2045 = fadd fast <2 x float> %2044, %1 + %2046 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2045, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2047 = extractvalue { <4 x half>, i8 } %2046, 0 + %2048 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2047, <4 x half> , <4 x half> %2043) #4 + br label %5354 + +2049: ; preds = %622, %2049 + %2050 = phi <4 x half> [ zeroinitializer, %622 ], [ %2107, %2049 ] + %2051 = phi i32 [ 0, %622 ], [ %2108, %2049 ] + %2052 = tail call fast float @air.convert.f.f32.u.i32(i32 %2051) #4 + %2053 = fadd fast float %2052, 8.750000e-01 + %2054 = insertelement <2 x float> undef, float %2053, i64 0 + %2055 = insertelement <2 x float> %2054, float 0.000000e+00, i64 1 + %2056 = fmul fast <2 x float> %2055, %624 + %2057 = fadd fast <2 x float> %2056, %1 + %2058 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2057, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2059 = extractvalue { <4 x half>, i8 } %2058, 0 + %2060 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2059, <4 x half> , <4 x half> %2050) #4 + %2061 = fneg fast float %2053 + %2062 = insertelement <2 x float> undef, float %2061, i64 0 + %2063 = insertelement <2 x float> %2062, float 0.000000e+00, i64 1 + %2064 = fmul fast <2 x float> %2063, %624 + %2065 = fadd fast <2 x float> %2064, %1 + %2066 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2065, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2067 = extractvalue { <4 x half>, i8 } %2066, 0 + %2068 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2067, <4 x half> , <4 x half> %2060) #4 + %2069 = insertelement <2 x float> , float %2053, i64 1 + %2070 = fmul fast <2 x float> %2069, %624 + %2071 = fadd fast <2 x float> %2070, %1 + %2072 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2071, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2073 = extractvalue { <4 x half>, i8 } %2072, 0 + %2074 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2073, <4 x half> , <4 x half> %2068) #4 + %2075 = insertelement <2 x float> , float %2061, i64 1 + %2076 = fmul fast <2 x float> %2075, %624 + %2077 = fadd fast <2 x float> %2076, %1 + %2078 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2077, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2079 = extractvalue { <4 x half>, i8 } %2078, 0 + %2080 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2079, <4 x half> , <4 x half> %2074) #4 + %2081 = shufflevector <2 x float> %2054, <2 x float> poison, <2 x i32> zeroinitializer + %2082 = fmul fast <2 x float> %2081, %624 + %2083 = fadd fast <2 x float> %2082, %1 + %2084 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2083, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2085 = extractvalue { <4 x half>, i8 } %2084, 0 + %2086 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2085, <4 x half> , <4 x half> %2080) #4 + %2087 = insertelement <2 x float> %2062, float %2053, i64 1 + %2088 = fmul fast <2 x float> %2087, %624 + %2089 = fadd fast <2 x float> %2088, %1 + %2090 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2089, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2091 = extractvalue { <4 x half>, i8 } %2090, 0 + %2092 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2091, <4 x half> , <4 x half> %2086) #4 + %2093 = insertelement <2 x float> %2054, float %2061, i64 1 + %2094 = fmul fast <2 x float> %2093, %624 + %2095 = fadd fast <2 x float> %2094, %1 + %2096 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2095, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2097 = extractvalue { <4 x half>, i8 } %2096, 0 + %2098 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2097, <4 x half> , <4 x half> %2092) #4 + %2099 = shufflevector <2 x float> %2062, <2 x float> poison, <2 x i32> zeroinitializer + %2100 = fmul fast <2 x float> %2099, %624 + %2101 = fadd fast <2 x float> %2100, %1 + %2102 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2101, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2103 = extractvalue { <4 x half>, i8 } %2102, 0 + %2104 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2103, <4 x half> , <4 x half> %2098) #4 + %2105 = fmul fast <4 x half> %2104, %628 + %2106 = fadd fast <4 x half> %2105, %632 + %2107 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2106, <4 x half> zeroinitializer, <4 x half> ) #4 + %2108 = add nuw i32 %2051, 1 + %2109 = icmp eq i32 %2108, %609 + br i1 %2109, label %1969, label %2049, !llvm.loop !56 + +2110: ; preds = %2190, %585 + %2111 = phi <4 x half> [ %595, %585 ], [ %606, %2190 ] + %2112 = phi <4 x half> [ %593, %585 ], [ %602, %2190 ] + %2113 = phi <2 x float> [ %591, %585 ], [ %598, %2190 ] + %2114 = phi <4 x half> [ zeroinitializer, %585 ], [ %2248, %2190 ] + %2115 = fmul fast <4 x half> %2114, %2114 + %2116 = fmul fast <4 x half> %2115, %2114 + %2117 = fmul fast <4 x half> %2116, + %2118 = fmul fast <4 x half> %2115, + %2119 = fadd fast <4 x half> %2118, %2114 + %2120 = fadd fast <4 x half> %2119, %2117 + %2121 = fmul fast <4 x half> %2120, %2112 + %2122 = fadd fast <4 x half> %2121, %2111 + %2123 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2122, <4 x half> , <4 x half> ) #4 + %2124 = fmul fast <4 x half> %2123, + %2125 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2124) #4 + %2126 = fmul fast <4 x half> %2125, + %2127 = fmul fast <4 x half> %2115, + %2128 = fadd fast <4 x half> %2126, %2127 + %2129 = fadd fast <4 x half> %2115, + %2130 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2128, <4 x half> %2129) #4 + %2131 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2132 = load <4 x half>, <4 x half> addrspace(2)* %2131, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2133 = fmul fast <4 x half> %2132, %2130 + %2134 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2135 = load <4 x half>, <4 x half> addrspace(2)* %2134, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2136 = fmul fast <4 x half> %2135, + %2137 = fmul fast <4 x half> %2115, %2116 + %2138 = fsub fast <4 x half> %2115, %2137 + %2139 = fadd fast <4 x half> %2138, %2133 + %2140 = fadd fast <4 x half> %2139, %2136 + %2141 = fmul fast <4 x half> %2140, %2140 + %2142 = fmul fast <4 x half> %2141, %2140 + %2143 = fmul fast <4 x half> %2142, + %2144 = fmul fast <4 x half> %2141, + %2145 = fadd fast <4 x half> %2144, %2140 + %2146 = fadd fast <4 x half> %2145, %2143 + %2147 = fmul fast <4 x half> %2146, %2112 + %2148 = fadd fast <4 x half> %2147, %2111 + %2149 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2148, <4 x half> , <4 x half> ) #4 + %2150 = fmul fast <4 x half> %2149, + %2151 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2150) #4 + %2152 = fmul fast <4 x half> %2151, + %2153 = fmul fast <4 x half> %2141, + %2154 = fadd fast <4 x half> %2153, %2152 + %2155 = fadd fast <4 x half> %2141, + %2156 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2154, <4 x half> %2155) #4 + %2157 = fmul fast <4 x half> %2156, %2132 + %2158 = fmul fast <4 x half> %2135, + %2159 = fadd fast <4 x half> %2157, %2158 + %2160 = fadd fast <4 x half> %2159, %2141 + %2161 = fmul fast <4 x half> %2141, %2142 + %2162 = fsub fast <4 x half> %2160, %2161 + %2163 = fmul fast <4 x half> %2162, %2162 + %2164 = fmul fast <4 x half> %2163, %2162 + %2165 = fmul fast <4 x half> %2164, + %2166 = fmul fast <4 x half> %2163, + %2167 = fadd fast <4 x half> %2166, %2162 + %2168 = fadd fast <4 x half> %2167, %2165 + %2169 = fmul fast <4 x half> %2168, %2112 + %2170 = fadd fast <4 x half> %2169, %2111 + %2171 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2170, <4 x half> , <4 x half> ) #4 + %2172 = fmul fast <4 x half> %2171, + %2173 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2172) #4 + %2174 = fmul fast <4 x half> %2173, + %2175 = fmul fast <4 x half> %2163, + %2176 = fadd fast <4 x half> %2175, %2174 + %2177 = fadd fast <4 x half> %2163, + %2178 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2176, <4 x half> %2177) #4 + %2179 = fmul fast <4 x half> %2178, %2132 + %2180 = fmul fast <4 x half> %2135, + %2181 = fadd fast <4 x half> %2179, %2180 + %2182 = fadd fast <4 x half> %2181, %2163 + %2183 = fmul fast <4 x half> %2163, %2164 + %2184 = fsub fast <4 x half> %2182, %2183 + %2185 = fmul fast <2 x float> %2113, + %2186 = fadd fast <2 x float> %2185, %1 + %2187 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2186, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2188 = extractvalue { <4 x half>, i8 } %2187, 0 + %2189 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2188, <4 x half> , <4 x half> %2184) #4 + br label %5354 + +2190: ; preds = %596, %2190 + %2191 = phi <4 x half> [ zeroinitializer, %596 ], [ %2248, %2190 ] + %2192 = phi i32 [ 0, %596 ], [ %2249, %2190 ] + %2193 = tail call fast float @air.convert.f.f32.u.i32(i32 %2192) #4 + %2194 = fadd fast float %2193, 1.000000e+00 + %2195 = insertelement <2 x float> undef, float %2194, i64 0 + %2196 = insertelement <2 x float> %2195, float 0.000000e+00, i64 1 + %2197 = fmul fast <2 x float> %2196, %598 + %2198 = fadd fast <2 x float> %2197, %1 + %2199 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2198, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2200 = extractvalue { <4 x half>, i8 } %2199, 0 + %2201 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2200, <4 x half> , <4 x half> %2191) #4 + %2202 = fneg fast float %2194 + %2203 = insertelement <2 x float> undef, float %2202, i64 0 + %2204 = insertelement <2 x float> %2203, float 0.000000e+00, i64 1 + %2205 = fmul fast <2 x float> %2204, %598 + %2206 = fadd fast <2 x float> %2205, %1 + %2207 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2206, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2208 = extractvalue { <4 x half>, i8 } %2207, 0 + %2209 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2208, <4 x half> , <4 x half> %2201) #4 + %2210 = insertelement <2 x float> , float %2194, i64 1 + %2211 = fmul fast <2 x float> %2210, %598 + %2212 = fadd fast <2 x float> %2211, %1 + %2213 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2212, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2214 = extractvalue { <4 x half>, i8 } %2213, 0 + %2215 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2214, <4 x half> , <4 x half> %2209) #4 + %2216 = insertelement <2 x float> , float %2202, i64 1 + %2217 = fmul fast <2 x float> %2216, %598 + %2218 = fadd fast <2 x float> %2217, %1 + %2219 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2218, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2220 = extractvalue { <4 x half>, i8 } %2219, 0 + %2221 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2220, <4 x half> , <4 x half> %2215) #4 + %2222 = shufflevector <2 x float> %2195, <2 x float> poison, <2 x i32> zeroinitializer + %2223 = fmul fast <2 x float> %2222, %598 + %2224 = fadd fast <2 x float> %2223, %1 + %2225 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2224, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2226 = extractvalue { <4 x half>, i8 } %2225, 0 + %2227 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2226, <4 x half> , <4 x half> %2221) #4 + %2228 = insertelement <2 x float> %2203, float %2194, i64 1 + %2229 = fmul fast <2 x float> %2228, %598 + %2230 = fadd fast <2 x float> %2229, %1 + %2231 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2230, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2232 = extractvalue { <4 x half>, i8 } %2231, 0 + %2233 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2232, <4 x half> , <4 x half> %2227) #4 + %2234 = insertelement <2 x float> %2195, float %2202, i64 1 + %2235 = fmul fast <2 x float> %2234, %598 + %2236 = fadd fast <2 x float> %2235, %1 + %2237 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2236, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2238 = extractvalue { <4 x half>, i8 } %2237, 0 + %2239 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2238, <4 x half> , <4 x half> %2233) #4 + %2240 = shufflevector <2 x float> %2203, <2 x float> poison, <2 x i32> zeroinitializer + %2241 = fmul fast <2 x float> %2240, %598 + %2242 = fadd fast <2 x float> %2241, %1 + %2243 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2242, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2244 = extractvalue { <4 x half>, i8 } %2243, 0 + %2245 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2244, <4 x half> , <4 x half> %2239) #4 + %2246 = fmul fast <4 x half> %2245, %602 + %2247 = fadd fast <4 x half> %2246, %606 + %2248 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2247, <4 x half> zeroinitializer, <4 x half> ) #4 + %2249 = add nuw i32 %2192, 1 + %2250 = icmp eq i32 %2249, %583 + br i1 %2250, label %2110, label %2190, !llvm.loop !57 + +2251: ; preds = %2331, %559 + %2252 = phi <4 x half> [ %569, %559 ], [ %580, %2331 ] + %2253 = phi <4 x half> [ %567, %559 ], [ %576, %2331 ] + %2254 = phi <2 x float> [ %565, %559 ], [ %572, %2331 ] + %2255 = phi <4 x half> [ zeroinitializer, %559 ], [ %2389, %2331 ] + %2256 = fmul fast <4 x half> %2255, %2255 + %2257 = fmul fast <4 x half> %2256, %2255 + %2258 = fmul fast <4 x half> %2257, + %2259 = fmul fast <4 x half> %2256, + %2260 = fadd fast <4 x half> %2259, %2255 + %2261 = fadd fast <4 x half> %2260, %2258 + %2262 = fmul fast <4 x half> %2261, %2253 + %2263 = fadd fast <4 x half> %2262, %2252 + %2264 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2263, <4 x half> , <4 x half> ) #4 + %2265 = fmul fast <4 x half> %2264, + %2266 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2265) #4 + %2267 = fmul fast <4 x half> %2266, + %2268 = fmul fast <4 x half> %2256, + %2269 = fadd fast <4 x half> %2267, %2268 + %2270 = fadd fast <4 x half> %2256, + %2271 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2269, <4 x half> %2270) #4 + %2272 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2273 = load <4 x half>, <4 x half> addrspace(2)* %2272, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2274 = fmul fast <4 x half> %2273, %2271 + %2275 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2276 = load <4 x half>, <4 x half> addrspace(2)* %2275, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2277 = fmul fast <4 x half> %2276, + %2278 = fmul fast <4 x half> %2256, %2257 + %2279 = fsub fast <4 x half> %2256, %2278 + %2280 = fadd fast <4 x half> %2279, %2274 + %2281 = fadd fast <4 x half> %2280, %2277 + %2282 = fmul fast <4 x half> %2281, %2281 + %2283 = fmul fast <4 x half> %2282, %2281 + %2284 = fmul fast <4 x half> %2283, + %2285 = fmul fast <4 x half> %2282, + %2286 = fadd fast <4 x half> %2285, %2281 + %2287 = fadd fast <4 x half> %2286, %2284 + %2288 = fmul fast <4 x half> %2287, %2253 + %2289 = fadd fast <4 x half> %2288, %2252 + %2290 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2289, <4 x half> , <4 x half> ) #4 + %2291 = fmul fast <4 x half> %2290, + %2292 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2291) #4 + %2293 = fmul fast <4 x half> %2292, + %2294 = fmul fast <4 x half> %2282, + %2295 = fadd fast <4 x half> %2294, %2293 + %2296 = fadd fast <4 x half> %2282, + %2297 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2295, <4 x half> %2296) #4 + %2298 = fmul fast <4 x half> %2297, %2273 + %2299 = fmul fast <4 x half> %2276, + %2300 = fadd fast <4 x half> %2298, %2299 + %2301 = fadd fast <4 x half> %2300, %2282 + %2302 = fmul fast <4 x half> %2282, %2283 + %2303 = fsub fast <4 x half> %2301, %2302 + %2304 = fmul fast <4 x half> %2303, %2303 + %2305 = fmul fast <4 x half> %2304, %2303 + %2306 = fmul fast <4 x half> %2305, + %2307 = fmul fast <4 x half> %2304, + %2308 = fadd fast <4 x half> %2307, %2303 + %2309 = fadd fast <4 x half> %2308, %2306 + %2310 = fmul fast <4 x half> %2309, %2253 + %2311 = fadd fast <4 x half> %2310, %2252 + %2312 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2311, <4 x half> , <4 x half> ) #4 + %2313 = fmul fast <4 x half> %2312, + %2314 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2313) #4 + %2315 = fmul fast <4 x half> %2314, + %2316 = fmul fast <4 x half> %2304, + %2317 = fadd fast <4 x half> %2316, %2315 + %2318 = fadd fast <4 x half> %2304, + %2319 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2317, <4 x half> %2318) #4 + %2320 = fmul fast <4 x half> %2319, %2273 + %2321 = fmul fast <4 x half> %2276, + %2322 = fadd fast <4 x half> %2320, %2321 + %2323 = fadd fast <4 x half> %2322, %2304 + %2324 = fmul fast <4 x half> %2304, %2305 + %2325 = fsub fast <4 x half> %2323, %2324 + %2326 = fmul fast <2 x float> %2254, + %2327 = fadd fast <2 x float> %2326, %1 + %2328 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2327, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2329 = extractvalue { <4 x half>, i8 } %2328, 0 + %2330 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2329, <4 x half> , <4 x half> %2325) #4 + br label %5354 + +2331: ; preds = %570, %2331 + %2332 = phi <4 x half> [ zeroinitializer, %570 ], [ %2389, %2331 ] + %2333 = phi i32 [ 0, %570 ], [ %2390, %2331 ] + %2334 = tail call fast float @air.convert.f.f32.u.i32(i32 %2333) #4 + %2335 = fadd fast float %2334, 5.000000e-01 + %2336 = insertelement <2 x float> undef, float %2335, i64 0 + %2337 = insertelement <2 x float> %2336, float 0.000000e+00, i64 1 + %2338 = fmul fast <2 x float> %2337, %572 + %2339 = fadd fast <2 x float> %2338, %1 + %2340 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2339, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2341 = extractvalue { <4 x half>, i8 } %2340, 0 + %2342 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2341, <4 x half> , <4 x half> %2332) #4 + %2343 = fneg fast float %2335 + %2344 = insertelement <2 x float> undef, float %2343, i64 0 + %2345 = insertelement <2 x float> %2344, float 0.000000e+00, i64 1 + %2346 = fmul fast <2 x float> %2345, %572 + %2347 = fadd fast <2 x float> %2346, %1 + %2348 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2347, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2349 = extractvalue { <4 x half>, i8 } %2348, 0 + %2350 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2349, <4 x half> , <4 x half> %2342) #4 + %2351 = insertelement <2 x float> , float %2335, i64 1 + %2352 = fmul fast <2 x float> %2351, %572 + %2353 = fadd fast <2 x float> %2352, %1 + %2354 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2353, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2355 = extractvalue { <4 x half>, i8 } %2354, 0 + %2356 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2355, <4 x half> , <4 x half> %2350) #4 + %2357 = insertelement <2 x float> , float %2343, i64 1 + %2358 = fmul fast <2 x float> %2357, %572 + %2359 = fadd fast <2 x float> %2358, %1 + %2360 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2359, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2361 = extractvalue { <4 x half>, i8 } %2360, 0 + %2362 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2361, <4 x half> , <4 x half> %2356) #4 + %2363 = shufflevector <2 x float> %2336, <2 x float> poison, <2 x i32> zeroinitializer + %2364 = fmul fast <2 x float> %2363, %572 + %2365 = fadd fast <2 x float> %2364, %1 + %2366 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2365, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2367 = extractvalue { <4 x half>, i8 } %2366, 0 + %2368 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2367, <4 x half> , <4 x half> %2362) #4 + %2369 = insertelement <2 x float> %2344, float %2335, i64 1 + %2370 = fmul fast <2 x float> %2369, %572 + %2371 = fadd fast <2 x float> %2370, %1 + %2372 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2371, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2373 = extractvalue { <4 x half>, i8 } %2372, 0 + %2374 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2373, <4 x half> , <4 x half> %2368) #4 + %2375 = insertelement <2 x float> %2336, float %2343, i64 1 + %2376 = fmul fast <2 x float> %2375, %572 + %2377 = fadd fast <2 x float> %2376, %1 + %2378 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2377, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2379 = extractvalue { <4 x half>, i8 } %2378, 0 + %2380 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2379, <4 x half> , <4 x half> %2374) #4 + %2381 = shufflevector <2 x float> %2344, <2 x float> poison, <2 x i32> zeroinitializer + %2382 = fmul fast <2 x float> %2381, %572 + %2383 = fadd fast <2 x float> %2382, %1 + %2384 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2383, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2385 = extractvalue { <4 x half>, i8 } %2384, 0 + %2386 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2385, <4 x half> , <4 x half> %2380) #4 + %2387 = fmul fast <4 x half> %2386, %576 + %2388 = fadd fast <4 x half> %2387, %580 + %2389 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2388, <4 x half> zeroinitializer, <4 x half> ) #4 + %2390 = add nuw i32 %2333, 1 + %2391 = icmp eq i32 %2390, %557 + br i1 %2391, label %2251, label %2331, !llvm.loop !58 + +2392: ; preds = %2472, %533 + %2393 = phi <4 x half> [ %543, %533 ], [ %554, %2472 ] + %2394 = phi <4 x half> [ %541, %533 ], [ %550, %2472 ] + %2395 = phi <2 x float> [ %539, %533 ], [ %546, %2472 ] + %2396 = phi <4 x half> [ zeroinitializer, %533 ], [ %2530, %2472 ] + %2397 = fmul fast <4 x half> %2396, %2396 + %2398 = fmul fast <4 x half> %2397, %2396 + %2399 = fmul fast <4 x half> %2398, + %2400 = fmul fast <4 x half> %2397, + %2401 = fadd fast <4 x half> %2400, %2396 + %2402 = fadd fast <4 x half> %2401, %2399 + %2403 = fmul fast <4 x half> %2402, %2394 + %2404 = fadd fast <4 x half> %2403, %2393 + %2405 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2404, <4 x half> , <4 x half> ) #4 + %2406 = fmul fast <4 x half> %2405, + %2407 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2406) #4 + %2408 = fmul fast <4 x half> %2407, + %2409 = fmul fast <4 x half> %2397, + %2410 = fadd fast <4 x half> %2408, %2409 + %2411 = fadd fast <4 x half> %2397, + %2412 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2410, <4 x half> %2411) #4 + %2413 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2414 = load <4 x half>, <4 x half> addrspace(2)* %2413, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2415 = fmul fast <4 x half> %2414, %2412 + %2416 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2417 = load <4 x half>, <4 x half> addrspace(2)* %2416, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2418 = fmul fast <4 x half> %2417, + %2419 = fmul fast <4 x half> %2397, %2398 + %2420 = fsub fast <4 x half> %2397, %2419 + %2421 = fadd fast <4 x half> %2420, %2415 + %2422 = fadd fast <4 x half> %2421, %2418 + %2423 = fmul fast <4 x half> %2422, %2422 + %2424 = fmul fast <4 x half> %2423, %2422 + %2425 = fmul fast <4 x half> %2424, + %2426 = fmul fast <4 x half> %2423, + %2427 = fadd fast <4 x half> %2426, %2422 + %2428 = fadd fast <4 x half> %2427, %2425 + %2429 = fmul fast <4 x half> %2428, %2394 + %2430 = fadd fast <4 x half> %2429, %2393 + %2431 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2430, <4 x half> , <4 x half> ) #4 + %2432 = fmul fast <4 x half> %2431, + %2433 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2432) #4 + %2434 = fmul fast <4 x half> %2433, + %2435 = fmul fast <4 x half> %2423, + %2436 = fadd fast <4 x half> %2435, %2434 + %2437 = fadd fast <4 x half> %2423, + %2438 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2436, <4 x half> %2437) #4 + %2439 = fmul fast <4 x half> %2438, %2414 + %2440 = fmul fast <4 x half> %2417, + %2441 = fadd fast <4 x half> %2439, %2440 + %2442 = fadd fast <4 x half> %2441, %2423 + %2443 = fmul fast <4 x half> %2423, %2424 + %2444 = fsub fast <4 x half> %2442, %2443 + %2445 = fmul fast <4 x half> %2444, %2444 + %2446 = fmul fast <4 x half> %2445, %2444 + %2447 = fmul fast <4 x half> %2446, + %2448 = fmul fast <4 x half> %2445, + %2449 = fadd fast <4 x half> %2448, %2444 + %2450 = fadd fast <4 x half> %2449, %2447 + %2451 = fmul fast <4 x half> %2450, %2394 + %2452 = fadd fast <4 x half> %2451, %2393 + %2453 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2452, <4 x half> , <4 x half> ) #4 + %2454 = fmul fast <4 x half> %2453, + %2455 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2454) #4 + %2456 = fmul fast <4 x half> %2455, + %2457 = fmul fast <4 x half> %2445, + %2458 = fadd fast <4 x half> %2457, %2456 + %2459 = fadd fast <4 x half> %2445, + %2460 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2458, <4 x half> %2459) #4 + %2461 = fmul fast <4 x half> %2460, %2414 + %2462 = fmul fast <4 x half> %2417, + %2463 = fadd fast <4 x half> %2461, %2462 + %2464 = fadd fast <4 x half> %2463, %2445 + %2465 = fmul fast <4 x half> %2445, %2446 + %2466 = fsub fast <4 x half> %2464, %2465 + %2467 = fmul fast <2 x float> %2395, + %2468 = fadd fast <2 x float> %2467, %1 + %2469 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2468, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2470 = extractvalue { <4 x half>, i8 } %2469, 0 + %2471 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2470, <4 x half> , <4 x half> %2466) #4 + br label %5354 + +2472: ; preds = %544, %2472 + %2473 = phi <4 x half> [ zeroinitializer, %544 ], [ %2530, %2472 ] + %2474 = phi i32 [ 0, %544 ], [ %2531, %2472 ] + %2475 = tail call fast float @air.convert.f.f32.u.i32(i32 %2474) #4 + %2476 = fadd fast float %2475, 6.250000e-01 + %2477 = insertelement <2 x float> undef, float %2476, i64 0 + %2478 = insertelement <2 x float> %2477, float 0.000000e+00, i64 1 + %2479 = fmul fast <2 x float> %2478, %546 + %2480 = fadd fast <2 x float> %2479, %1 + %2481 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2480, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2482 = extractvalue { <4 x half>, i8 } %2481, 0 + %2483 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2482, <4 x half> , <4 x half> %2473) #4 + %2484 = fneg fast float %2476 + %2485 = insertelement <2 x float> undef, float %2484, i64 0 + %2486 = insertelement <2 x float> %2485, float 0.000000e+00, i64 1 + %2487 = fmul fast <2 x float> %2486, %546 + %2488 = fadd fast <2 x float> %2487, %1 + %2489 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2488, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2490 = extractvalue { <4 x half>, i8 } %2489, 0 + %2491 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2490, <4 x half> , <4 x half> %2483) #4 + %2492 = insertelement <2 x float> , float %2476, i64 1 + %2493 = fmul fast <2 x float> %2492, %546 + %2494 = fadd fast <2 x float> %2493, %1 + %2495 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2494, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2496 = extractvalue { <4 x half>, i8 } %2495, 0 + %2497 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2496, <4 x half> , <4 x half> %2491) #4 + %2498 = insertelement <2 x float> , float %2484, i64 1 + %2499 = fmul fast <2 x float> %2498, %546 + %2500 = fadd fast <2 x float> %2499, %1 + %2501 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2500, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2502 = extractvalue { <4 x half>, i8 } %2501, 0 + %2503 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2502, <4 x half> , <4 x half> %2497) #4 + %2504 = shufflevector <2 x float> %2477, <2 x float> poison, <2 x i32> zeroinitializer + %2505 = fmul fast <2 x float> %2504, %546 + %2506 = fadd fast <2 x float> %2505, %1 + %2507 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2506, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2508 = extractvalue { <4 x half>, i8 } %2507, 0 + %2509 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2508, <4 x half> , <4 x half> %2503) #4 + %2510 = insertelement <2 x float> %2485, float %2476, i64 1 + %2511 = fmul fast <2 x float> %2510, %546 + %2512 = fadd fast <2 x float> %2511, %1 + %2513 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2512, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2514 = extractvalue { <4 x half>, i8 } %2513, 0 + %2515 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2514, <4 x half> , <4 x half> %2509) #4 + %2516 = insertelement <2 x float> %2477, float %2484, i64 1 + %2517 = fmul fast <2 x float> %2516, %546 + %2518 = fadd fast <2 x float> %2517, %1 + %2519 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2518, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2520 = extractvalue { <4 x half>, i8 } %2519, 0 + %2521 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2520, <4 x half> , <4 x half> %2515) #4 + %2522 = shufflevector <2 x float> %2485, <2 x float> poison, <2 x i32> zeroinitializer + %2523 = fmul fast <2 x float> %2522, %546 + %2524 = fadd fast <2 x float> %2523, %1 + %2525 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2524, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2526 = extractvalue { <4 x half>, i8 } %2525, 0 + %2527 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2526, <4 x half> , <4 x half> %2521) #4 + %2528 = fmul fast <4 x half> %2527, %550 + %2529 = fadd fast <4 x half> %2528, %554 + %2530 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2529, <4 x half> zeroinitializer, <4 x half> ) #4 + %2531 = add nuw i32 %2474, 1 + %2532 = icmp eq i32 %2531, %531 + br i1 %2532, label %2392, label %2472, !llvm.loop !59 + +2533: ; preds = %2613, %507 + %2534 = phi <4 x half> [ %517, %507 ], [ %528, %2613 ] + %2535 = phi <4 x half> [ %515, %507 ], [ %524, %2613 ] + %2536 = phi <2 x float> [ %513, %507 ], [ %520, %2613 ] + %2537 = phi <4 x half> [ zeroinitializer, %507 ], [ %2671, %2613 ] + %2538 = fmul fast <4 x half> %2537, %2537 + %2539 = fmul fast <4 x half> %2538, %2537 + %2540 = fmul fast <4 x half> %2539, + %2541 = fmul fast <4 x half> %2538, + %2542 = fadd fast <4 x half> %2541, %2537 + %2543 = fadd fast <4 x half> %2542, %2540 + %2544 = fmul fast <4 x half> %2543, %2535 + %2545 = fadd fast <4 x half> %2544, %2534 + %2546 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2545, <4 x half> , <4 x half> ) #4 + %2547 = fmul fast <4 x half> %2546, + %2548 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2547) #4 + %2549 = fmul fast <4 x half> %2548, + %2550 = fmul fast <4 x half> %2538, + %2551 = fadd fast <4 x half> %2549, %2550 + %2552 = fadd fast <4 x half> %2538, + %2553 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2551, <4 x half> %2552) #4 + %2554 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2555 = load <4 x half>, <4 x half> addrspace(2)* %2554, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2556 = fmul fast <4 x half> %2555, %2553 + %2557 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2558 = load <4 x half>, <4 x half> addrspace(2)* %2557, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2559 = fmul fast <4 x half> %2558, + %2560 = fmul fast <4 x half> %2538, %2539 + %2561 = fsub fast <4 x half> %2538, %2560 + %2562 = fadd fast <4 x half> %2561, %2556 + %2563 = fadd fast <4 x half> %2562, %2559 + %2564 = fmul fast <4 x half> %2563, %2563 + %2565 = fmul fast <4 x half> %2564, %2563 + %2566 = fmul fast <4 x half> %2565, + %2567 = fmul fast <4 x half> %2564, + %2568 = fadd fast <4 x half> %2567, %2563 + %2569 = fadd fast <4 x half> %2568, %2566 + %2570 = fmul fast <4 x half> %2569, %2535 + %2571 = fadd fast <4 x half> %2570, %2534 + %2572 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2571, <4 x half> , <4 x half> ) #4 + %2573 = fmul fast <4 x half> %2572, + %2574 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2573) #4 + %2575 = fmul fast <4 x half> %2574, + %2576 = fmul fast <4 x half> %2564, + %2577 = fadd fast <4 x half> %2576, %2575 + %2578 = fadd fast <4 x half> %2564, + %2579 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2577, <4 x half> %2578) #4 + %2580 = fmul fast <4 x half> %2579, %2555 + %2581 = fmul fast <4 x half> %2558, + %2582 = fadd fast <4 x half> %2580, %2581 + %2583 = fadd fast <4 x half> %2582, %2564 + %2584 = fmul fast <4 x half> %2564, %2565 + %2585 = fsub fast <4 x half> %2583, %2584 + %2586 = fmul fast <4 x half> %2585, %2585 + %2587 = fmul fast <4 x half> %2586, %2585 + %2588 = fmul fast <4 x half> %2587, + %2589 = fmul fast <4 x half> %2586, + %2590 = fadd fast <4 x half> %2589, %2585 + %2591 = fadd fast <4 x half> %2590, %2588 + %2592 = fmul fast <4 x half> %2591, %2535 + %2593 = fadd fast <4 x half> %2592, %2534 + %2594 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2593, <4 x half> , <4 x half> ) #4 + %2595 = fmul fast <4 x half> %2594, + %2596 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2595) #4 + %2597 = fmul fast <4 x half> %2596, + %2598 = fmul fast <4 x half> %2586, + %2599 = fadd fast <4 x half> %2598, %2597 + %2600 = fadd fast <4 x half> %2586, + %2601 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2599, <4 x half> %2600) #4 + %2602 = fmul fast <4 x half> %2601, %2555 + %2603 = fmul fast <4 x half> %2558, + %2604 = fadd fast <4 x half> %2602, %2603 + %2605 = fadd fast <4 x half> %2604, %2586 + %2606 = fmul fast <4 x half> %2586, %2587 + %2607 = fsub fast <4 x half> %2605, %2606 + %2608 = fmul fast <2 x float> %2536, + %2609 = fadd fast <2 x float> %2608, %1 + %2610 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2609, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2611 = extractvalue { <4 x half>, i8 } %2610, 0 + %2612 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2611, <4 x half> , <4 x half> %2607) #4 + br label %5354 + +2613: ; preds = %518, %2613 + %2614 = phi <4 x half> [ zeroinitializer, %518 ], [ %2671, %2613 ] + %2615 = phi i32 [ 0, %518 ], [ %2672, %2613 ] + %2616 = tail call fast float @air.convert.f.f32.u.i32(i32 %2615) #4 + %2617 = fadd fast float %2616, 7.500000e-01 + %2618 = insertelement <2 x float> undef, float %2617, i64 0 + %2619 = insertelement <2 x float> %2618, float 0.000000e+00, i64 1 + %2620 = fmul fast <2 x float> %2619, %520 + %2621 = fadd fast <2 x float> %2620, %1 + %2622 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2621, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2623 = extractvalue { <4 x half>, i8 } %2622, 0 + %2624 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2623, <4 x half> , <4 x half> %2614) #4 + %2625 = fneg fast float %2617 + %2626 = insertelement <2 x float> undef, float %2625, i64 0 + %2627 = insertelement <2 x float> %2626, float 0.000000e+00, i64 1 + %2628 = fmul fast <2 x float> %2627, %520 + %2629 = fadd fast <2 x float> %2628, %1 + %2630 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2629, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2631 = extractvalue { <4 x half>, i8 } %2630, 0 + %2632 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2631, <4 x half> , <4 x half> %2624) #4 + %2633 = insertelement <2 x float> , float %2617, i64 1 + %2634 = fmul fast <2 x float> %2633, %520 + %2635 = fadd fast <2 x float> %2634, %1 + %2636 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2635, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2637 = extractvalue { <4 x half>, i8 } %2636, 0 + %2638 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2637, <4 x half> , <4 x half> %2632) #4 + %2639 = insertelement <2 x float> , float %2625, i64 1 + %2640 = fmul fast <2 x float> %2639, %520 + %2641 = fadd fast <2 x float> %2640, %1 + %2642 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2641, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2643 = extractvalue { <4 x half>, i8 } %2642, 0 + %2644 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2643, <4 x half> , <4 x half> %2638) #4 + %2645 = shufflevector <2 x float> %2618, <2 x float> poison, <2 x i32> zeroinitializer + %2646 = fmul fast <2 x float> %2645, %520 + %2647 = fadd fast <2 x float> %2646, %1 + %2648 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2647, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2649 = extractvalue { <4 x half>, i8 } %2648, 0 + %2650 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2649, <4 x half> , <4 x half> %2644) #4 + %2651 = insertelement <2 x float> %2626, float %2617, i64 1 + %2652 = fmul fast <2 x float> %2651, %520 + %2653 = fadd fast <2 x float> %2652, %1 + %2654 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2653, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2655 = extractvalue { <4 x half>, i8 } %2654, 0 + %2656 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2655, <4 x half> , <4 x half> %2650) #4 + %2657 = insertelement <2 x float> %2618, float %2625, i64 1 + %2658 = fmul fast <2 x float> %2657, %520 + %2659 = fadd fast <2 x float> %2658, %1 + %2660 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2659, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2661 = extractvalue { <4 x half>, i8 } %2660, 0 + %2662 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2661, <4 x half> , <4 x half> %2656) #4 + %2663 = shufflevector <2 x float> %2626, <2 x float> poison, <2 x i32> zeroinitializer + %2664 = fmul fast <2 x float> %2663, %520 + %2665 = fadd fast <2 x float> %2664, %1 + %2666 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2665, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2667 = extractvalue { <4 x half>, i8 } %2666, 0 + %2668 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2667, <4 x half> , <4 x half> %2662) #4 + %2669 = fmul fast <4 x half> %2668, %524 + %2670 = fadd fast <4 x half> %2669, %528 + %2671 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2670, <4 x half> zeroinitializer, <4 x half> ) #4 + %2672 = add nuw i32 %2615, 1 + %2673 = icmp eq i32 %2672, %505 + br i1 %2673, label %2533, label %2613, !llvm.loop !60 + +2674: ; preds = %2754, %481 + %2675 = phi <4 x half> [ %491, %481 ], [ %502, %2754 ] + %2676 = phi <4 x half> [ %489, %481 ], [ %498, %2754 ] + %2677 = phi <2 x float> [ %487, %481 ], [ %494, %2754 ] + %2678 = phi <4 x half> [ zeroinitializer, %481 ], [ %2812, %2754 ] + %2679 = fmul fast <4 x half> %2678, %2678 + %2680 = fmul fast <4 x half> %2679, %2678 + %2681 = fmul fast <4 x half> %2680, + %2682 = fmul fast <4 x half> %2679, + %2683 = fadd fast <4 x half> %2682, %2678 + %2684 = fadd fast <4 x half> %2683, %2681 + %2685 = fmul fast <4 x half> %2684, %2676 + %2686 = fadd fast <4 x half> %2685, %2675 + %2687 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2686, <4 x half> , <4 x half> ) #4 + %2688 = fmul fast <4 x half> %2687, + %2689 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2688) #4 + %2690 = fmul fast <4 x half> %2689, + %2691 = fmul fast <4 x half> %2679, + %2692 = fadd fast <4 x half> %2690, %2691 + %2693 = fadd fast <4 x half> %2679, + %2694 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2692, <4 x half> %2693) #4 + %2695 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2696 = load <4 x half>, <4 x half> addrspace(2)* %2695, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2697 = fmul fast <4 x half> %2696, %2694 + %2698 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2699 = load <4 x half>, <4 x half> addrspace(2)* %2698, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2700 = fmul fast <4 x half> %2699, + %2701 = fmul fast <4 x half> %2679, %2680 + %2702 = fsub fast <4 x half> %2679, %2701 + %2703 = fadd fast <4 x half> %2702, %2697 + %2704 = fadd fast <4 x half> %2703, %2700 + %2705 = fmul fast <4 x half> %2704, %2704 + %2706 = fmul fast <4 x half> %2705, %2704 + %2707 = fmul fast <4 x half> %2706, + %2708 = fmul fast <4 x half> %2705, + %2709 = fadd fast <4 x half> %2708, %2704 + %2710 = fadd fast <4 x half> %2709, %2707 + %2711 = fmul fast <4 x half> %2710, %2676 + %2712 = fadd fast <4 x half> %2711, %2675 + %2713 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2712, <4 x half> , <4 x half> ) #4 + %2714 = fmul fast <4 x half> %2713, + %2715 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2714) #4 + %2716 = fmul fast <4 x half> %2715, + %2717 = fmul fast <4 x half> %2705, + %2718 = fadd fast <4 x half> %2717, %2716 + %2719 = fadd fast <4 x half> %2705, + %2720 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2718, <4 x half> %2719) #4 + %2721 = fmul fast <4 x half> %2720, %2696 + %2722 = fmul fast <4 x half> %2699, + %2723 = fadd fast <4 x half> %2721, %2722 + %2724 = fadd fast <4 x half> %2723, %2705 + %2725 = fmul fast <4 x half> %2705, %2706 + %2726 = fsub fast <4 x half> %2724, %2725 + %2727 = fmul fast <4 x half> %2726, %2726 + %2728 = fmul fast <4 x half> %2727, %2726 + %2729 = fmul fast <4 x half> %2728, + %2730 = fmul fast <4 x half> %2727, + %2731 = fadd fast <4 x half> %2730, %2726 + %2732 = fadd fast <4 x half> %2731, %2729 + %2733 = fmul fast <4 x half> %2732, %2676 + %2734 = fadd fast <4 x half> %2733, %2675 + %2735 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2734, <4 x half> , <4 x half> ) #4 + %2736 = fmul fast <4 x half> %2735, + %2737 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2736) #4 + %2738 = fmul fast <4 x half> %2737, + %2739 = fmul fast <4 x half> %2727, + %2740 = fadd fast <4 x half> %2739, %2738 + %2741 = fadd fast <4 x half> %2727, + %2742 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2740, <4 x half> %2741) #4 + %2743 = fmul fast <4 x half> %2742, %2696 + %2744 = fmul fast <4 x half> %2699, + %2745 = fadd fast <4 x half> %2743, %2744 + %2746 = fadd fast <4 x half> %2745, %2727 + %2747 = fmul fast <4 x half> %2727, %2728 + %2748 = fsub fast <4 x half> %2746, %2747 + %2749 = fmul fast <2 x float> %2677, + %2750 = fadd fast <2 x float> %2749, %1 + %2751 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2750, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2752 = extractvalue { <4 x half>, i8 } %2751, 0 + %2753 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2752, <4 x half> , <4 x half> %2748) #4 + br label %5354 + +2754: ; preds = %492, %2754 + %2755 = phi <4 x half> [ zeroinitializer, %492 ], [ %2812, %2754 ] + %2756 = phi i32 [ 0, %492 ], [ %2813, %2754 ] + %2757 = tail call fast float @air.convert.f.f32.u.i32(i32 %2756) #4 + %2758 = fadd fast float %2757, 8.750000e-01 + %2759 = insertelement <2 x float> undef, float %2758, i64 0 + %2760 = insertelement <2 x float> %2759, float 0.000000e+00, i64 1 + %2761 = fmul fast <2 x float> %2760, %494 + %2762 = fadd fast <2 x float> %2761, %1 + %2763 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2762, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2764 = extractvalue { <4 x half>, i8 } %2763, 0 + %2765 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2764, <4 x half> , <4 x half> %2755) #4 + %2766 = fneg fast float %2758 + %2767 = insertelement <2 x float> undef, float %2766, i64 0 + %2768 = insertelement <2 x float> %2767, float 0.000000e+00, i64 1 + %2769 = fmul fast <2 x float> %2768, %494 + %2770 = fadd fast <2 x float> %2769, %1 + %2771 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2770, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2772 = extractvalue { <4 x half>, i8 } %2771, 0 + %2773 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2772, <4 x half> , <4 x half> %2765) #4 + %2774 = insertelement <2 x float> , float %2758, i64 1 + %2775 = fmul fast <2 x float> %2774, %494 + %2776 = fadd fast <2 x float> %2775, %1 + %2777 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2776, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2778 = extractvalue { <4 x half>, i8 } %2777, 0 + %2779 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2778, <4 x half> , <4 x half> %2773) #4 + %2780 = insertelement <2 x float> , float %2766, i64 1 + %2781 = fmul fast <2 x float> %2780, %494 + %2782 = fadd fast <2 x float> %2781, %1 + %2783 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2782, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2784 = extractvalue { <4 x half>, i8 } %2783, 0 + %2785 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2784, <4 x half> , <4 x half> %2779) #4 + %2786 = shufflevector <2 x float> %2759, <2 x float> poison, <2 x i32> zeroinitializer + %2787 = fmul fast <2 x float> %2786, %494 + %2788 = fadd fast <2 x float> %2787, %1 + %2789 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2788, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2790 = extractvalue { <4 x half>, i8 } %2789, 0 + %2791 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2790, <4 x half> , <4 x half> %2785) #4 + %2792 = insertelement <2 x float> %2767, float %2758, i64 1 + %2793 = fmul fast <2 x float> %2792, %494 + %2794 = fadd fast <2 x float> %2793, %1 + %2795 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2794, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2796 = extractvalue { <4 x half>, i8 } %2795, 0 + %2797 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2796, <4 x half> , <4 x half> %2791) #4 + %2798 = insertelement <2 x float> %2759, float %2766, i64 1 + %2799 = fmul fast <2 x float> %2798, %494 + %2800 = fadd fast <2 x float> %2799, %1 + %2801 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2800, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2802 = extractvalue { <4 x half>, i8 } %2801, 0 + %2803 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2802, <4 x half> , <4 x half> %2797) #4 + %2804 = shufflevector <2 x float> %2767, <2 x float> poison, <2 x i32> zeroinitializer + %2805 = fmul fast <2 x float> %2804, %494 + %2806 = fadd fast <2 x float> %2805, %1 + %2807 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2806, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2808 = extractvalue { <4 x half>, i8 } %2807, 0 + %2809 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2808, <4 x half> , <4 x half> %2803) #4 + %2810 = fmul fast <4 x half> %2809, %498 + %2811 = fadd fast <4 x half> %2810, %502 + %2812 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2811, <4 x half> zeroinitializer, <4 x half> ) #4 + %2813 = add nuw i32 %2756, 1 + %2814 = icmp eq i32 %2813, %479 + br i1 %2814, label %2674, label %2754, !llvm.loop !61 + +2815: ; preds = %2895, %455 + %2816 = phi <4 x half> [ %465, %455 ], [ %476, %2895 ] + %2817 = phi <4 x half> [ %463, %455 ], [ %472, %2895 ] + %2818 = phi <2 x float> [ %461, %455 ], [ %468, %2895 ] + %2819 = phi <4 x half> [ zeroinitializer, %455 ], [ %2953, %2895 ] + %2820 = fmul fast <4 x half> %2819, %2819 + %2821 = fmul fast <4 x half> %2820, %2819 + %2822 = fmul fast <4 x half> %2821, + %2823 = fmul fast <4 x half> %2820, + %2824 = fadd fast <4 x half> %2823, %2819 + %2825 = fadd fast <4 x half> %2824, %2822 + %2826 = fmul fast <4 x half> %2825, %2817 + %2827 = fadd fast <4 x half> %2826, %2816 + %2828 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2827, <4 x half> , <4 x half> ) #4 + %2829 = fmul fast <4 x half> %2828, + %2830 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2829) #4 + %2831 = fmul fast <4 x half> %2830, + %2832 = fmul fast <4 x half> %2820, + %2833 = fadd fast <4 x half> %2831, %2832 + %2834 = fadd fast <4 x half> %2820, + %2835 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2833, <4 x half> %2834) #4 + %2836 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2837 = load <4 x half>, <4 x half> addrspace(2)* %2836, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2838 = fmul fast <4 x half> %2837, %2835 + %2839 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2840 = load <4 x half>, <4 x half> addrspace(2)* %2839, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2841 = fmul fast <4 x half> %2840, + %2842 = fmul fast <4 x half> %2820, %2821 + %2843 = fsub fast <4 x half> %2820, %2842 + %2844 = fadd fast <4 x half> %2843, %2838 + %2845 = fadd fast <4 x half> %2844, %2841 + %2846 = fmul fast <4 x half> %2845, %2845 + %2847 = fmul fast <4 x half> %2846, %2845 + %2848 = fmul fast <4 x half> %2847, + %2849 = fmul fast <4 x half> %2846, + %2850 = fadd fast <4 x half> %2849, %2845 + %2851 = fadd fast <4 x half> %2850, %2848 + %2852 = fmul fast <4 x half> %2851, %2817 + %2853 = fadd fast <4 x half> %2852, %2816 + %2854 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2853, <4 x half> , <4 x half> ) #4 + %2855 = fmul fast <4 x half> %2854, + %2856 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2855) #4 + %2857 = fmul fast <4 x half> %2856, + %2858 = fmul fast <4 x half> %2846, + %2859 = fadd fast <4 x half> %2858, %2857 + %2860 = fadd fast <4 x half> %2846, + %2861 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2859, <4 x half> %2860) #4 + %2862 = fmul fast <4 x half> %2861, %2837 + %2863 = fmul fast <4 x half> %2840, + %2864 = fadd fast <4 x half> %2862, %2863 + %2865 = fadd fast <4 x half> %2864, %2846 + %2866 = fmul fast <4 x half> %2846, %2847 + %2867 = fsub fast <4 x half> %2865, %2866 + %2868 = fmul fast <4 x half> %2867, %2867 + %2869 = fmul fast <4 x half> %2868, %2867 + %2870 = fmul fast <4 x half> %2869, + %2871 = fmul fast <4 x half> %2868, + %2872 = fadd fast <4 x half> %2871, %2867 + %2873 = fadd fast <4 x half> %2872, %2870 + %2874 = fmul fast <4 x half> %2873, %2817 + %2875 = fadd fast <4 x half> %2874, %2816 + %2876 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2875, <4 x half> , <4 x half> ) #4 + %2877 = fmul fast <4 x half> %2876, + %2878 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2877) #4 + %2879 = fmul fast <4 x half> %2878, + %2880 = fmul fast <4 x half> %2868, + %2881 = fadd fast <4 x half> %2880, %2879 + %2882 = fadd fast <4 x half> %2868, + %2883 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2881, <4 x half> %2882) #4 + %2884 = fmul fast <4 x half> %2883, %2837 + %2885 = fmul fast <4 x half> %2840, + %2886 = fadd fast <4 x half> %2884, %2885 + %2887 = fadd fast <4 x half> %2886, %2868 + %2888 = fmul fast <4 x half> %2868, %2869 + %2889 = fsub fast <4 x half> %2887, %2888 + %2890 = fmul fast <2 x float> %2818, + %2891 = fadd fast <2 x float> %2890, %1 + %2892 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2891, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2893 = extractvalue { <4 x half>, i8 } %2892, 0 + %2894 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2893, <4 x half> , <4 x half> %2889) #4 + br label %5354 + +2895: ; preds = %466, %2895 + %2896 = phi <4 x half> [ zeroinitializer, %466 ], [ %2953, %2895 ] + %2897 = phi i32 [ 0, %466 ], [ %2954, %2895 ] + %2898 = tail call fast float @air.convert.f.f32.u.i32(i32 %2897) #4 + %2899 = fadd fast float %2898, 1.000000e+00 + %2900 = insertelement <2 x float> undef, float %2899, i64 0 + %2901 = insertelement <2 x float> %2900, float 0.000000e+00, i64 1 + %2902 = fmul fast <2 x float> %2901, %468 + %2903 = fadd fast <2 x float> %2902, %1 + %2904 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2903, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2905 = extractvalue { <4 x half>, i8 } %2904, 0 + %2906 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2905, <4 x half> , <4 x half> %2896) #4 + %2907 = fneg fast float %2899 + %2908 = insertelement <2 x float> undef, float %2907, i64 0 + %2909 = insertelement <2 x float> %2908, float 0.000000e+00, i64 1 + %2910 = fmul fast <2 x float> %2909, %468 + %2911 = fadd fast <2 x float> %2910, %1 + %2912 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2911, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2913 = extractvalue { <4 x half>, i8 } %2912, 0 + %2914 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2913, <4 x half> , <4 x half> %2906) #4 + %2915 = insertelement <2 x float> , float %2899, i64 1 + %2916 = fmul fast <2 x float> %2915, %468 + %2917 = fadd fast <2 x float> %2916, %1 + %2918 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2917, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2919 = extractvalue { <4 x half>, i8 } %2918, 0 + %2920 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2919, <4 x half> , <4 x half> %2914) #4 + %2921 = insertelement <2 x float> , float %2907, i64 1 + %2922 = fmul fast <2 x float> %2921, %468 + %2923 = fadd fast <2 x float> %2922, %1 + %2924 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2923, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2925 = extractvalue { <4 x half>, i8 } %2924, 0 + %2926 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2925, <4 x half> , <4 x half> %2920) #4 + %2927 = shufflevector <2 x float> %2900, <2 x float> poison, <2 x i32> zeroinitializer + %2928 = fmul fast <2 x float> %2927, %468 + %2929 = fadd fast <2 x float> %2928, %1 + %2930 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2929, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2931 = extractvalue { <4 x half>, i8 } %2930, 0 + %2932 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2931, <4 x half> , <4 x half> %2926) #4 + %2933 = insertelement <2 x float> %2908, float %2899, i64 1 + %2934 = fmul fast <2 x float> %2933, %468 + %2935 = fadd fast <2 x float> %2934, %1 + %2936 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2935, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2937 = extractvalue { <4 x half>, i8 } %2936, 0 + %2938 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2937, <4 x half> , <4 x half> %2932) #4 + %2939 = insertelement <2 x float> %2900, float %2907, i64 1 + %2940 = fmul fast <2 x float> %2939, %468 + %2941 = fadd fast <2 x float> %2940, %1 + %2942 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2941, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2943 = extractvalue { <4 x half>, i8 } %2942, 0 + %2944 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2943, <4 x half> , <4 x half> %2938) #4 + %2945 = shufflevector <2 x float> %2908, <2 x float> poison, <2 x i32> zeroinitializer + %2946 = fmul fast <2 x float> %2945, %468 + %2947 = fadd fast <2 x float> %2946, %1 + %2948 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %2947, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2949 = extractvalue { <4 x half>, i8 } %2948, 0 + %2950 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2949, <4 x half> , <4 x half> %2944) #4 + %2951 = fmul fast <4 x half> %2950, %472 + %2952 = fadd fast <4 x half> %2951, %476 + %2953 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2952, <4 x half> zeroinitializer, <4 x half> ) #4 + %2954 = add nuw i32 %2897, 1 + %2955 = icmp eq i32 %2954, %453 + br i1 %2955, label %2815, label %2895, !llvm.loop !62 + +2956: ; preds = %3036, %429 + %2957 = phi <4 x half> [ %439, %429 ], [ %450, %3036 ] + %2958 = phi <4 x half> [ %437, %429 ], [ %446, %3036 ] + %2959 = phi <2 x float> [ %435, %429 ], [ %442, %3036 ] + %2960 = phi <4 x half> [ zeroinitializer, %429 ], [ %3094, %3036 ] + %2961 = fmul fast <4 x half> %2960, %2960 + %2962 = fmul fast <4 x half> %2961, %2960 + %2963 = fmul fast <4 x half> %2962, + %2964 = fmul fast <4 x half> %2961, + %2965 = fadd fast <4 x half> %2964, %2960 + %2966 = fadd fast <4 x half> %2965, %2963 + %2967 = fmul fast <4 x half> %2966, %2958 + %2968 = fadd fast <4 x half> %2967, %2957 + %2969 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2968, <4 x half> , <4 x half> ) #4 + %2970 = fmul fast <4 x half> %2969, + %2971 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2970) #4 + %2972 = fmul fast <4 x half> %2971, + %2973 = fmul fast <4 x half> %2961, + %2974 = fadd fast <4 x half> %2972, %2973 + %2975 = fadd fast <4 x half> %2961, + %2976 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2974, <4 x half> %2975) #4 + %2977 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %2978 = load <4 x half>, <4 x half> addrspace(2)* %2977, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2979 = fmul fast <4 x half> %2978, %2976 + %2980 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %2981 = load <4 x half>, <4 x half> addrspace(2)* %2980, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2982 = fmul fast <4 x half> %2981, + %2983 = fmul fast <4 x half> %2961, %2962 + %2984 = fsub fast <4 x half> %2961, %2983 + %2985 = fadd fast <4 x half> %2984, %2979 + %2986 = fadd fast <4 x half> %2985, %2982 + %2987 = fmul fast <4 x half> %2986, %2986 + %2988 = fmul fast <4 x half> %2987, %2986 + %2989 = fmul fast <4 x half> %2988, + %2990 = fmul fast <4 x half> %2987, + %2991 = fadd fast <4 x half> %2990, %2986 + %2992 = fadd fast <4 x half> %2991, %2989 + %2993 = fmul fast <4 x half> %2992, %2958 + %2994 = fadd fast <4 x half> %2993, %2957 + %2995 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2994, <4 x half> , <4 x half> ) #4 + %2996 = fmul fast <4 x half> %2995, + %2997 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2996) #4 + %2998 = fmul fast <4 x half> %2997, + %2999 = fmul fast <4 x half> %2987, + %3000 = fadd fast <4 x half> %2999, %2998 + %3001 = fadd fast <4 x half> %2987, + %3002 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3000, <4 x half> %3001) #4 + %3003 = fmul fast <4 x half> %3002, %2978 + %3004 = fmul fast <4 x half> %2981, + %3005 = fadd fast <4 x half> %3003, %3004 + %3006 = fadd fast <4 x half> %3005, %2987 + %3007 = fmul fast <4 x half> %2987, %2988 + %3008 = fsub fast <4 x half> %3006, %3007 + %3009 = fmul fast <4 x half> %3008, %3008 + %3010 = fmul fast <4 x half> %3009, %3008 + %3011 = fmul fast <4 x half> %3010, + %3012 = fmul fast <4 x half> %3009, + %3013 = fadd fast <4 x half> %3012, %3008 + %3014 = fadd fast <4 x half> %3013, %3011 + %3015 = fmul fast <4 x half> %3014, %2958 + %3016 = fadd fast <4 x half> %3015, %2957 + %3017 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3016, <4 x half> , <4 x half> ) #4 + %3018 = fmul fast <4 x half> %3017, + %3019 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3018) #4 + %3020 = fmul fast <4 x half> %3019, + %3021 = fmul fast <4 x half> %3009, + %3022 = fadd fast <4 x half> %3021, %3020 + %3023 = fadd fast <4 x half> %3009, + %3024 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3022, <4 x half> %3023) #4 + %3025 = fmul fast <4 x half> %3024, %2978 + %3026 = fmul fast <4 x half> %2981, + %3027 = fadd fast <4 x half> %3025, %3026 + %3028 = fadd fast <4 x half> %3027, %3009 + %3029 = fmul fast <4 x half> %3009, %3010 + %3030 = fsub fast <4 x half> %3028, %3029 + %3031 = fmul fast <2 x float> %2959, + %3032 = fadd fast <2 x float> %3031, %1 + %3033 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3032, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3034 = extractvalue { <4 x half>, i8 } %3033, 0 + %3035 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3034, <4 x half> , <4 x half> %3030) #4 + br label %5354 + +3036: ; preds = %440, %3036 + %3037 = phi <4 x half> [ zeroinitializer, %440 ], [ %3094, %3036 ] + %3038 = phi i32 [ 0, %440 ], [ %3095, %3036 ] + %3039 = tail call fast float @air.convert.f.f32.u.i32(i32 %3038) #4 + %3040 = fadd fast float %3039, 5.000000e-01 + %3041 = insertelement <2 x float> undef, float %3040, i64 0 + %3042 = insertelement <2 x float> %3041, float 0.000000e+00, i64 1 + %3043 = fmul fast <2 x float> %3042, %442 + %3044 = fadd fast <2 x float> %3043, %1 + %3045 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3044, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3046 = extractvalue { <4 x half>, i8 } %3045, 0 + %3047 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3046, <4 x half> , <4 x half> %3037) #4 + %3048 = fneg fast float %3040 + %3049 = insertelement <2 x float> undef, float %3048, i64 0 + %3050 = insertelement <2 x float> %3049, float 0.000000e+00, i64 1 + %3051 = fmul fast <2 x float> %3050, %442 + %3052 = fadd fast <2 x float> %3051, %1 + %3053 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3052, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3054 = extractvalue { <4 x half>, i8 } %3053, 0 + %3055 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3054, <4 x half> , <4 x half> %3047) #4 + %3056 = insertelement <2 x float> , float %3040, i64 1 + %3057 = fmul fast <2 x float> %3056, %442 + %3058 = fadd fast <2 x float> %3057, %1 + %3059 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3058, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3060 = extractvalue { <4 x half>, i8 } %3059, 0 + %3061 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3060, <4 x half> , <4 x half> %3055) #4 + %3062 = insertelement <2 x float> , float %3048, i64 1 + %3063 = fmul fast <2 x float> %3062, %442 + %3064 = fadd fast <2 x float> %3063, %1 + %3065 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3064, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3066 = extractvalue { <4 x half>, i8 } %3065, 0 + %3067 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3066, <4 x half> , <4 x half> %3061) #4 + %3068 = shufflevector <2 x float> %3041, <2 x float> poison, <2 x i32> zeroinitializer + %3069 = fmul fast <2 x float> %3068, %442 + %3070 = fadd fast <2 x float> %3069, %1 + %3071 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3070, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3072 = extractvalue { <4 x half>, i8 } %3071, 0 + %3073 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3072, <4 x half> , <4 x half> %3067) #4 + %3074 = insertelement <2 x float> %3049, float %3040, i64 1 + %3075 = fmul fast <2 x float> %3074, %442 + %3076 = fadd fast <2 x float> %3075, %1 + %3077 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3076, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3078 = extractvalue { <4 x half>, i8 } %3077, 0 + %3079 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3078, <4 x half> , <4 x half> %3073) #4 + %3080 = insertelement <2 x float> %3041, float %3048, i64 1 + %3081 = fmul fast <2 x float> %3080, %442 + %3082 = fadd fast <2 x float> %3081, %1 + %3083 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3082, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3084 = extractvalue { <4 x half>, i8 } %3083, 0 + %3085 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3084, <4 x half> , <4 x half> %3079) #4 + %3086 = shufflevector <2 x float> %3049, <2 x float> poison, <2 x i32> zeroinitializer + %3087 = fmul fast <2 x float> %3086, %442 + %3088 = fadd fast <2 x float> %3087, %1 + %3089 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3088, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3090 = extractvalue { <4 x half>, i8 } %3089, 0 + %3091 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3090, <4 x half> , <4 x half> %3085) #4 + %3092 = fmul fast <4 x half> %3091, %446 + %3093 = fadd fast <4 x half> %3092, %450 + %3094 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3093, <4 x half> zeroinitializer, <4 x half> ) #4 + %3095 = add nuw i32 %3038, 1 + %3096 = icmp eq i32 %3095, %427 + br i1 %3096, label %2956, label %3036, !llvm.loop !63 + +3097: ; preds = %3177, %403 + %3098 = phi <4 x half> [ %413, %403 ], [ %424, %3177 ] + %3099 = phi <4 x half> [ %411, %403 ], [ %420, %3177 ] + %3100 = phi <2 x float> [ %409, %403 ], [ %416, %3177 ] + %3101 = phi <4 x half> [ zeroinitializer, %403 ], [ %3235, %3177 ] + %3102 = fmul fast <4 x half> %3101, %3101 + %3103 = fmul fast <4 x half> %3102, %3101 + %3104 = fmul fast <4 x half> %3103, + %3105 = fmul fast <4 x half> %3102, + %3106 = fadd fast <4 x half> %3105, %3101 + %3107 = fadd fast <4 x half> %3106, %3104 + %3108 = fmul fast <4 x half> %3107, %3099 + %3109 = fadd fast <4 x half> %3108, %3098 + %3110 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3109, <4 x half> , <4 x half> ) #4 + %3111 = fmul fast <4 x half> %3110, + %3112 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3111) #4 + %3113 = fmul fast <4 x half> %3112, + %3114 = fmul fast <4 x half> %3102, + %3115 = fadd fast <4 x half> %3113, %3114 + %3116 = fadd fast <4 x half> %3102, + %3117 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3115, <4 x half> %3116) #4 + %3118 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3119 = load <4 x half>, <4 x half> addrspace(2)* %3118, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3120 = fmul fast <4 x half> %3119, %3117 + %3121 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3122 = load <4 x half>, <4 x half> addrspace(2)* %3121, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3123 = fmul fast <4 x half> %3122, + %3124 = fmul fast <4 x half> %3102, %3103 + %3125 = fsub fast <4 x half> %3102, %3124 + %3126 = fadd fast <4 x half> %3125, %3120 + %3127 = fadd fast <4 x half> %3126, %3123 + %3128 = fmul fast <4 x half> %3127, %3127 + %3129 = fmul fast <4 x half> %3128, %3127 + %3130 = fmul fast <4 x half> %3129, + %3131 = fmul fast <4 x half> %3128, + %3132 = fadd fast <4 x half> %3131, %3127 + %3133 = fadd fast <4 x half> %3132, %3130 + %3134 = fmul fast <4 x half> %3133, %3099 + %3135 = fadd fast <4 x half> %3134, %3098 + %3136 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3135, <4 x half> , <4 x half> ) #4 + %3137 = fmul fast <4 x half> %3136, + %3138 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3137) #4 + %3139 = fmul fast <4 x half> %3138, + %3140 = fmul fast <4 x half> %3128, + %3141 = fadd fast <4 x half> %3140, %3139 + %3142 = fadd fast <4 x half> %3128, + %3143 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3141, <4 x half> %3142) #4 + %3144 = fmul fast <4 x half> %3143, %3119 + %3145 = fmul fast <4 x half> %3122, + %3146 = fadd fast <4 x half> %3144, %3145 + %3147 = fadd fast <4 x half> %3146, %3128 + %3148 = fmul fast <4 x half> %3128, %3129 + %3149 = fsub fast <4 x half> %3147, %3148 + %3150 = fmul fast <4 x half> %3149, %3149 + %3151 = fmul fast <4 x half> %3150, %3149 + %3152 = fmul fast <4 x half> %3151, + %3153 = fmul fast <4 x half> %3150, + %3154 = fadd fast <4 x half> %3153, %3149 + %3155 = fadd fast <4 x half> %3154, %3152 + %3156 = fmul fast <4 x half> %3155, %3099 + %3157 = fadd fast <4 x half> %3156, %3098 + %3158 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3157, <4 x half> , <4 x half> ) #4 + %3159 = fmul fast <4 x half> %3158, + %3160 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3159) #4 + %3161 = fmul fast <4 x half> %3160, + %3162 = fmul fast <4 x half> %3150, + %3163 = fadd fast <4 x half> %3162, %3161 + %3164 = fadd fast <4 x half> %3150, + %3165 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3163, <4 x half> %3164) #4 + %3166 = fmul fast <4 x half> %3165, %3119 + %3167 = fmul fast <4 x half> %3122, + %3168 = fadd fast <4 x half> %3166, %3167 + %3169 = fadd fast <4 x half> %3168, %3150 + %3170 = fmul fast <4 x half> %3150, %3151 + %3171 = fsub fast <4 x half> %3169, %3170 + %3172 = fmul fast <2 x float> %3100, + %3173 = fadd fast <2 x float> %3172, %1 + %3174 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3173, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3175 = extractvalue { <4 x half>, i8 } %3174, 0 + %3176 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3175, <4 x half> , <4 x half> %3171) #4 + br label %5354 + +3177: ; preds = %414, %3177 + %3178 = phi <4 x half> [ zeroinitializer, %414 ], [ %3235, %3177 ] + %3179 = phi i32 [ 0, %414 ], [ %3236, %3177 ] + %3180 = tail call fast float @air.convert.f.f32.u.i32(i32 %3179) #4 + %3181 = fadd fast float %3180, 6.250000e-01 + %3182 = insertelement <2 x float> undef, float %3181, i64 0 + %3183 = insertelement <2 x float> %3182, float 0.000000e+00, i64 1 + %3184 = fmul fast <2 x float> %3183, %416 + %3185 = fadd fast <2 x float> %3184, %1 + %3186 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3185, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3187 = extractvalue { <4 x half>, i8 } %3186, 0 + %3188 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3187, <4 x half> , <4 x half> %3178) #4 + %3189 = fneg fast float %3181 + %3190 = insertelement <2 x float> undef, float %3189, i64 0 + %3191 = insertelement <2 x float> %3190, float 0.000000e+00, i64 1 + %3192 = fmul fast <2 x float> %3191, %416 + %3193 = fadd fast <2 x float> %3192, %1 + %3194 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3193, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3195 = extractvalue { <4 x half>, i8 } %3194, 0 + %3196 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3195, <4 x half> , <4 x half> %3188) #4 + %3197 = insertelement <2 x float> , float %3181, i64 1 + %3198 = fmul fast <2 x float> %3197, %416 + %3199 = fadd fast <2 x float> %3198, %1 + %3200 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3199, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3201 = extractvalue { <4 x half>, i8 } %3200, 0 + %3202 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3201, <4 x half> , <4 x half> %3196) #4 + %3203 = insertelement <2 x float> , float %3189, i64 1 + %3204 = fmul fast <2 x float> %3203, %416 + %3205 = fadd fast <2 x float> %3204, %1 + %3206 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3205, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3207 = extractvalue { <4 x half>, i8 } %3206, 0 + %3208 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3207, <4 x half> , <4 x half> %3202) #4 + %3209 = shufflevector <2 x float> %3182, <2 x float> poison, <2 x i32> zeroinitializer + %3210 = fmul fast <2 x float> %3209, %416 + %3211 = fadd fast <2 x float> %3210, %1 + %3212 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3211, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3213 = extractvalue { <4 x half>, i8 } %3212, 0 + %3214 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3213, <4 x half> , <4 x half> %3208) #4 + %3215 = insertelement <2 x float> %3190, float %3181, i64 1 + %3216 = fmul fast <2 x float> %3215, %416 + %3217 = fadd fast <2 x float> %3216, %1 + %3218 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3217, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3219 = extractvalue { <4 x half>, i8 } %3218, 0 + %3220 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3219, <4 x half> , <4 x half> %3214) #4 + %3221 = insertelement <2 x float> %3182, float %3189, i64 1 + %3222 = fmul fast <2 x float> %3221, %416 + %3223 = fadd fast <2 x float> %3222, %1 + %3224 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3223, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3225 = extractvalue { <4 x half>, i8 } %3224, 0 + %3226 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3225, <4 x half> , <4 x half> %3220) #4 + %3227 = shufflevector <2 x float> %3190, <2 x float> poison, <2 x i32> zeroinitializer + %3228 = fmul fast <2 x float> %3227, %416 + %3229 = fadd fast <2 x float> %3228, %1 + %3230 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3229, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3231 = extractvalue { <4 x half>, i8 } %3230, 0 + %3232 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3231, <4 x half> , <4 x half> %3226) #4 + %3233 = fmul fast <4 x half> %3232, %420 + %3234 = fadd fast <4 x half> %3233, %424 + %3235 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3234, <4 x half> zeroinitializer, <4 x half> ) #4 + %3236 = add nuw i32 %3179, 1 + %3237 = icmp eq i32 %3236, %401 + br i1 %3237, label %3097, label %3177, !llvm.loop !64 + +3238: ; preds = %3318, %377 + %3239 = phi <4 x half> [ %387, %377 ], [ %398, %3318 ] + %3240 = phi <4 x half> [ %385, %377 ], [ %394, %3318 ] + %3241 = phi <2 x float> [ %383, %377 ], [ %390, %3318 ] + %3242 = phi <4 x half> [ zeroinitializer, %377 ], [ %3376, %3318 ] + %3243 = fmul fast <4 x half> %3242, %3242 + %3244 = fmul fast <4 x half> %3243, %3242 + %3245 = fmul fast <4 x half> %3244, + %3246 = fmul fast <4 x half> %3243, + %3247 = fadd fast <4 x half> %3246, %3242 + %3248 = fadd fast <4 x half> %3247, %3245 + %3249 = fmul fast <4 x half> %3248, %3240 + %3250 = fadd fast <4 x half> %3249, %3239 + %3251 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3250, <4 x half> , <4 x half> ) #4 + %3252 = fmul fast <4 x half> %3251, + %3253 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3252) #4 + %3254 = fmul fast <4 x half> %3253, + %3255 = fmul fast <4 x half> %3243, + %3256 = fadd fast <4 x half> %3254, %3255 + %3257 = fadd fast <4 x half> %3243, + %3258 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3256, <4 x half> %3257) #4 + %3259 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3260 = load <4 x half>, <4 x half> addrspace(2)* %3259, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3261 = fmul fast <4 x half> %3260, %3258 + %3262 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3263 = load <4 x half>, <4 x half> addrspace(2)* %3262, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3264 = fmul fast <4 x half> %3263, + %3265 = fmul fast <4 x half> %3243, %3244 + %3266 = fsub fast <4 x half> %3243, %3265 + %3267 = fadd fast <4 x half> %3266, %3261 + %3268 = fadd fast <4 x half> %3267, %3264 + %3269 = fmul fast <4 x half> %3268, %3268 + %3270 = fmul fast <4 x half> %3269, %3268 + %3271 = fmul fast <4 x half> %3270, + %3272 = fmul fast <4 x half> %3269, + %3273 = fadd fast <4 x half> %3272, %3268 + %3274 = fadd fast <4 x half> %3273, %3271 + %3275 = fmul fast <4 x half> %3274, %3240 + %3276 = fadd fast <4 x half> %3275, %3239 + %3277 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3276, <4 x half> , <4 x half> ) #4 + %3278 = fmul fast <4 x half> %3277, + %3279 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3278) #4 + %3280 = fmul fast <4 x half> %3279, + %3281 = fmul fast <4 x half> %3269, + %3282 = fadd fast <4 x half> %3281, %3280 + %3283 = fadd fast <4 x half> %3269, + %3284 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3282, <4 x half> %3283) #4 + %3285 = fmul fast <4 x half> %3284, %3260 + %3286 = fmul fast <4 x half> %3263, + %3287 = fadd fast <4 x half> %3285, %3286 + %3288 = fadd fast <4 x half> %3287, %3269 + %3289 = fmul fast <4 x half> %3269, %3270 + %3290 = fsub fast <4 x half> %3288, %3289 + %3291 = fmul fast <4 x half> %3290, %3290 + %3292 = fmul fast <4 x half> %3291, %3290 + %3293 = fmul fast <4 x half> %3292, + %3294 = fmul fast <4 x half> %3291, + %3295 = fadd fast <4 x half> %3294, %3290 + %3296 = fadd fast <4 x half> %3295, %3293 + %3297 = fmul fast <4 x half> %3296, %3240 + %3298 = fadd fast <4 x half> %3297, %3239 + %3299 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3298, <4 x half> , <4 x half> ) #4 + %3300 = fmul fast <4 x half> %3299, + %3301 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3300) #4 + %3302 = fmul fast <4 x half> %3301, + %3303 = fmul fast <4 x half> %3291, + %3304 = fadd fast <4 x half> %3303, %3302 + %3305 = fadd fast <4 x half> %3291, + %3306 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3304, <4 x half> %3305) #4 + %3307 = fmul fast <4 x half> %3306, %3260 + %3308 = fmul fast <4 x half> %3263, + %3309 = fadd fast <4 x half> %3307, %3308 + %3310 = fadd fast <4 x half> %3309, %3291 + %3311 = fmul fast <4 x half> %3291, %3292 + %3312 = fsub fast <4 x half> %3310, %3311 + %3313 = fmul fast <2 x float> %3241, + %3314 = fadd fast <2 x float> %3313, %1 + %3315 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3314, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3316 = extractvalue { <4 x half>, i8 } %3315, 0 + %3317 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3316, <4 x half> , <4 x half> %3312) #4 + br label %5354 + +3318: ; preds = %388, %3318 + %3319 = phi <4 x half> [ zeroinitializer, %388 ], [ %3376, %3318 ] + %3320 = phi i32 [ 0, %388 ], [ %3377, %3318 ] + %3321 = tail call fast float @air.convert.f.f32.u.i32(i32 %3320) #4 + %3322 = fadd fast float %3321, 7.500000e-01 + %3323 = insertelement <2 x float> undef, float %3322, i64 0 + %3324 = insertelement <2 x float> %3323, float 0.000000e+00, i64 1 + %3325 = fmul fast <2 x float> %3324, %390 + %3326 = fadd fast <2 x float> %3325, %1 + %3327 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3326, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3328 = extractvalue { <4 x half>, i8 } %3327, 0 + %3329 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3328, <4 x half> , <4 x half> %3319) #4 + %3330 = fneg fast float %3322 + %3331 = insertelement <2 x float> undef, float %3330, i64 0 + %3332 = insertelement <2 x float> %3331, float 0.000000e+00, i64 1 + %3333 = fmul fast <2 x float> %3332, %390 + %3334 = fadd fast <2 x float> %3333, %1 + %3335 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3334, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3336 = extractvalue { <4 x half>, i8 } %3335, 0 + %3337 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3336, <4 x half> , <4 x half> %3329) #4 + %3338 = insertelement <2 x float> , float %3322, i64 1 + %3339 = fmul fast <2 x float> %3338, %390 + %3340 = fadd fast <2 x float> %3339, %1 + %3341 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3340, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3342 = extractvalue { <4 x half>, i8 } %3341, 0 + %3343 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3342, <4 x half> , <4 x half> %3337) #4 + %3344 = insertelement <2 x float> , float %3330, i64 1 + %3345 = fmul fast <2 x float> %3344, %390 + %3346 = fadd fast <2 x float> %3345, %1 + %3347 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3346, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3348 = extractvalue { <4 x half>, i8 } %3347, 0 + %3349 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3348, <4 x half> , <4 x half> %3343) #4 + %3350 = shufflevector <2 x float> %3323, <2 x float> poison, <2 x i32> zeroinitializer + %3351 = fmul fast <2 x float> %3350, %390 + %3352 = fadd fast <2 x float> %3351, %1 + %3353 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3352, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3354 = extractvalue { <4 x half>, i8 } %3353, 0 + %3355 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3354, <4 x half> , <4 x half> %3349) #4 + %3356 = insertelement <2 x float> %3331, float %3322, i64 1 + %3357 = fmul fast <2 x float> %3356, %390 + %3358 = fadd fast <2 x float> %3357, %1 + %3359 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3358, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3360 = extractvalue { <4 x half>, i8 } %3359, 0 + %3361 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3360, <4 x half> , <4 x half> %3355) #4 + %3362 = insertelement <2 x float> %3323, float %3330, i64 1 + %3363 = fmul fast <2 x float> %3362, %390 + %3364 = fadd fast <2 x float> %3363, %1 + %3365 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3364, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3366 = extractvalue { <4 x half>, i8 } %3365, 0 + %3367 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3366, <4 x half> , <4 x half> %3361) #4 + %3368 = shufflevector <2 x float> %3331, <2 x float> poison, <2 x i32> zeroinitializer + %3369 = fmul fast <2 x float> %3368, %390 + %3370 = fadd fast <2 x float> %3369, %1 + %3371 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3370, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3372 = extractvalue { <4 x half>, i8 } %3371, 0 + %3373 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3372, <4 x half> , <4 x half> %3367) #4 + %3374 = fmul fast <4 x half> %3373, %394 + %3375 = fadd fast <4 x half> %3374, %398 + %3376 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3375, <4 x half> zeroinitializer, <4 x half> ) #4 + %3377 = add nuw i32 %3320, 1 + %3378 = icmp eq i32 %3377, %375 + br i1 %3378, label %3238, label %3318, !llvm.loop !65 + +3379: ; preds = %3459, %351 + %3380 = phi <4 x half> [ %361, %351 ], [ %372, %3459 ] + %3381 = phi <4 x half> [ %359, %351 ], [ %368, %3459 ] + %3382 = phi <2 x float> [ %357, %351 ], [ %364, %3459 ] + %3383 = phi <4 x half> [ zeroinitializer, %351 ], [ %3517, %3459 ] + %3384 = fmul fast <4 x half> %3383, %3383 + %3385 = fmul fast <4 x half> %3384, %3383 + %3386 = fmul fast <4 x half> %3385, + %3387 = fmul fast <4 x half> %3384, + %3388 = fadd fast <4 x half> %3387, %3383 + %3389 = fadd fast <4 x half> %3388, %3386 + %3390 = fmul fast <4 x half> %3389, %3381 + %3391 = fadd fast <4 x half> %3390, %3380 + %3392 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3391, <4 x half> , <4 x half> ) #4 + %3393 = fmul fast <4 x half> %3392, + %3394 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3393) #4 + %3395 = fmul fast <4 x half> %3394, + %3396 = fmul fast <4 x half> %3384, + %3397 = fadd fast <4 x half> %3395, %3396 + %3398 = fadd fast <4 x half> %3384, + %3399 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3397, <4 x half> %3398) #4 + %3400 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3401 = load <4 x half>, <4 x half> addrspace(2)* %3400, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3402 = fmul fast <4 x half> %3401, %3399 + %3403 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3404 = load <4 x half>, <4 x half> addrspace(2)* %3403, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3405 = fmul fast <4 x half> %3404, + %3406 = fmul fast <4 x half> %3384, %3385 + %3407 = fsub fast <4 x half> %3384, %3406 + %3408 = fadd fast <4 x half> %3407, %3402 + %3409 = fadd fast <4 x half> %3408, %3405 + %3410 = fmul fast <4 x half> %3409, %3409 + %3411 = fmul fast <4 x half> %3410, %3409 + %3412 = fmul fast <4 x half> %3411, + %3413 = fmul fast <4 x half> %3410, + %3414 = fadd fast <4 x half> %3413, %3409 + %3415 = fadd fast <4 x half> %3414, %3412 + %3416 = fmul fast <4 x half> %3415, %3381 + %3417 = fadd fast <4 x half> %3416, %3380 + %3418 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3417, <4 x half> , <4 x half> ) #4 + %3419 = fmul fast <4 x half> %3418, + %3420 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3419) #4 + %3421 = fmul fast <4 x half> %3420, + %3422 = fmul fast <4 x half> %3410, + %3423 = fadd fast <4 x half> %3422, %3421 + %3424 = fadd fast <4 x half> %3410, + %3425 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3423, <4 x half> %3424) #4 + %3426 = fmul fast <4 x half> %3425, %3401 + %3427 = fmul fast <4 x half> %3404, + %3428 = fadd fast <4 x half> %3426, %3427 + %3429 = fadd fast <4 x half> %3428, %3410 + %3430 = fmul fast <4 x half> %3410, %3411 + %3431 = fsub fast <4 x half> %3429, %3430 + %3432 = fmul fast <4 x half> %3431, %3431 + %3433 = fmul fast <4 x half> %3432, %3431 + %3434 = fmul fast <4 x half> %3433, + %3435 = fmul fast <4 x half> %3432, + %3436 = fadd fast <4 x half> %3435, %3431 + %3437 = fadd fast <4 x half> %3436, %3434 + %3438 = fmul fast <4 x half> %3437, %3381 + %3439 = fadd fast <4 x half> %3438, %3380 + %3440 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3439, <4 x half> , <4 x half> ) #4 + %3441 = fmul fast <4 x half> %3440, + %3442 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3441) #4 + %3443 = fmul fast <4 x half> %3442, + %3444 = fmul fast <4 x half> %3432, + %3445 = fadd fast <4 x half> %3444, %3443 + %3446 = fadd fast <4 x half> %3432, + %3447 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3445, <4 x half> %3446) #4 + %3448 = fmul fast <4 x half> %3447, %3401 + %3449 = fmul fast <4 x half> %3404, + %3450 = fadd fast <4 x half> %3448, %3449 + %3451 = fadd fast <4 x half> %3450, %3432 + %3452 = fmul fast <4 x half> %3432, %3433 + %3453 = fsub fast <4 x half> %3451, %3452 + %3454 = fmul fast <2 x float> %3382, + %3455 = fadd fast <2 x float> %3454, %1 + %3456 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3455, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3457 = extractvalue { <4 x half>, i8 } %3456, 0 + %3458 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3457, <4 x half> , <4 x half> %3453) #4 + br label %5354 + +3459: ; preds = %362, %3459 + %3460 = phi <4 x half> [ zeroinitializer, %362 ], [ %3517, %3459 ] + %3461 = phi i32 [ 0, %362 ], [ %3518, %3459 ] + %3462 = tail call fast float @air.convert.f.f32.u.i32(i32 %3461) #4 + %3463 = fadd fast float %3462, 8.750000e-01 + %3464 = insertelement <2 x float> undef, float %3463, i64 0 + %3465 = insertelement <2 x float> %3464, float 0.000000e+00, i64 1 + %3466 = fmul fast <2 x float> %3465, %364 + %3467 = fadd fast <2 x float> %3466, %1 + %3468 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3467, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3469 = extractvalue { <4 x half>, i8 } %3468, 0 + %3470 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3469, <4 x half> , <4 x half> %3460) #4 + %3471 = fneg fast float %3463 + %3472 = insertelement <2 x float> undef, float %3471, i64 0 + %3473 = insertelement <2 x float> %3472, float 0.000000e+00, i64 1 + %3474 = fmul fast <2 x float> %3473, %364 + %3475 = fadd fast <2 x float> %3474, %1 + %3476 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3475, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3477 = extractvalue { <4 x half>, i8 } %3476, 0 + %3478 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3477, <4 x half> , <4 x half> %3470) #4 + %3479 = insertelement <2 x float> , float %3463, i64 1 + %3480 = fmul fast <2 x float> %3479, %364 + %3481 = fadd fast <2 x float> %3480, %1 + %3482 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3481, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3483 = extractvalue { <4 x half>, i8 } %3482, 0 + %3484 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3483, <4 x half> , <4 x half> %3478) #4 + %3485 = insertelement <2 x float> , float %3471, i64 1 + %3486 = fmul fast <2 x float> %3485, %364 + %3487 = fadd fast <2 x float> %3486, %1 + %3488 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3487, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3489 = extractvalue { <4 x half>, i8 } %3488, 0 + %3490 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3489, <4 x half> , <4 x half> %3484) #4 + %3491 = shufflevector <2 x float> %3464, <2 x float> poison, <2 x i32> zeroinitializer + %3492 = fmul fast <2 x float> %3491, %364 + %3493 = fadd fast <2 x float> %3492, %1 + %3494 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3493, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3495 = extractvalue { <4 x half>, i8 } %3494, 0 + %3496 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3495, <4 x half> , <4 x half> %3490) #4 + %3497 = insertelement <2 x float> %3472, float %3463, i64 1 + %3498 = fmul fast <2 x float> %3497, %364 + %3499 = fadd fast <2 x float> %3498, %1 + %3500 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3499, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3501 = extractvalue { <4 x half>, i8 } %3500, 0 + %3502 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3501, <4 x half> , <4 x half> %3496) #4 + %3503 = insertelement <2 x float> %3464, float %3471, i64 1 + %3504 = fmul fast <2 x float> %3503, %364 + %3505 = fadd fast <2 x float> %3504, %1 + %3506 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3505, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3507 = extractvalue { <4 x half>, i8 } %3506, 0 + %3508 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3507, <4 x half> , <4 x half> %3502) #4 + %3509 = shufflevector <2 x float> %3472, <2 x float> poison, <2 x i32> zeroinitializer + %3510 = fmul fast <2 x float> %3509, %364 + %3511 = fadd fast <2 x float> %3510, %1 + %3512 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3511, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3513 = extractvalue { <4 x half>, i8 } %3512, 0 + %3514 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3513, <4 x half> , <4 x half> %3508) #4 + %3515 = fmul fast <4 x half> %3514, %368 + %3516 = fadd fast <4 x half> %3515, %372 + %3517 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3516, <4 x half> zeroinitializer, <4 x half> ) #4 + %3518 = add nuw i32 %3461, 1 + %3519 = icmp eq i32 %3518, %349 + br i1 %3519, label %3379, label %3459, !llvm.loop !66 + +3520: ; preds = %3600, %325 + %3521 = phi <4 x half> [ %335, %325 ], [ %346, %3600 ] + %3522 = phi <4 x half> [ %333, %325 ], [ %342, %3600 ] + %3523 = phi <2 x float> [ %331, %325 ], [ %338, %3600 ] + %3524 = phi <4 x half> [ zeroinitializer, %325 ], [ %3658, %3600 ] + %3525 = fmul fast <4 x half> %3524, %3524 + %3526 = fmul fast <4 x half> %3525, %3524 + %3527 = fmul fast <4 x half> %3526, + %3528 = fmul fast <4 x half> %3525, + %3529 = fadd fast <4 x half> %3528, %3524 + %3530 = fadd fast <4 x half> %3529, %3527 + %3531 = fmul fast <4 x half> %3530, %3522 + %3532 = fadd fast <4 x half> %3531, %3521 + %3533 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3532, <4 x half> , <4 x half> ) #4 + %3534 = fmul fast <4 x half> %3533, + %3535 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3534) #4 + %3536 = fmul fast <4 x half> %3535, + %3537 = fmul fast <4 x half> %3525, + %3538 = fadd fast <4 x half> %3536, %3537 + %3539 = fadd fast <4 x half> %3525, + %3540 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3538, <4 x half> %3539) #4 + %3541 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3542 = load <4 x half>, <4 x half> addrspace(2)* %3541, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3543 = fmul fast <4 x half> %3542, %3540 + %3544 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3545 = load <4 x half>, <4 x half> addrspace(2)* %3544, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3546 = fmul fast <4 x half> %3545, + %3547 = fmul fast <4 x half> %3525, %3526 + %3548 = fsub fast <4 x half> %3525, %3547 + %3549 = fadd fast <4 x half> %3548, %3543 + %3550 = fadd fast <4 x half> %3549, %3546 + %3551 = fmul fast <4 x half> %3550, %3550 + %3552 = fmul fast <4 x half> %3551, %3550 + %3553 = fmul fast <4 x half> %3552, + %3554 = fmul fast <4 x half> %3551, + %3555 = fadd fast <4 x half> %3554, %3550 + %3556 = fadd fast <4 x half> %3555, %3553 + %3557 = fmul fast <4 x half> %3556, %3522 + %3558 = fadd fast <4 x half> %3557, %3521 + %3559 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3558, <4 x half> , <4 x half> ) #4 + %3560 = fmul fast <4 x half> %3559, + %3561 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3560) #4 + %3562 = fmul fast <4 x half> %3561, + %3563 = fmul fast <4 x half> %3551, + %3564 = fadd fast <4 x half> %3563, %3562 + %3565 = fadd fast <4 x half> %3551, + %3566 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3564, <4 x half> %3565) #4 + %3567 = fmul fast <4 x half> %3566, %3542 + %3568 = fmul fast <4 x half> %3545, + %3569 = fadd fast <4 x half> %3567, %3568 + %3570 = fadd fast <4 x half> %3569, %3551 + %3571 = fmul fast <4 x half> %3551, %3552 + %3572 = fsub fast <4 x half> %3570, %3571 + %3573 = fmul fast <4 x half> %3572, %3572 + %3574 = fmul fast <4 x half> %3573, %3572 + %3575 = fmul fast <4 x half> %3574, + %3576 = fmul fast <4 x half> %3573, + %3577 = fadd fast <4 x half> %3576, %3572 + %3578 = fadd fast <4 x half> %3577, %3575 + %3579 = fmul fast <4 x half> %3578, %3522 + %3580 = fadd fast <4 x half> %3579, %3521 + %3581 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3580, <4 x half> , <4 x half> ) #4 + %3582 = fmul fast <4 x half> %3581, + %3583 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3582) #4 + %3584 = fmul fast <4 x half> %3583, + %3585 = fmul fast <4 x half> %3573, + %3586 = fadd fast <4 x half> %3585, %3584 + %3587 = fadd fast <4 x half> %3573, + %3588 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3586, <4 x half> %3587) #4 + %3589 = fmul fast <4 x half> %3588, %3542 + %3590 = fmul fast <4 x half> %3545, + %3591 = fadd fast <4 x half> %3589, %3590 + %3592 = fadd fast <4 x half> %3591, %3573 + %3593 = fmul fast <4 x half> %3573, %3574 + %3594 = fsub fast <4 x half> %3592, %3593 + %3595 = fmul fast <2 x float> %3523, + %3596 = fadd fast <2 x float> %3595, %1 + %3597 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3596, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3598 = extractvalue { <4 x half>, i8 } %3597, 0 + %3599 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3598, <4 x half> , <4 x half> %3594) #4 + br label %5354 + +3600: ; preds = %336, %3600 + %3601 = phi <4 x half> [ zeroinitializer, %336 ], [ %3658, %3600 ] + %3602 = phi i32 [ 0, %336 ], [ %3659, %3600 ] + %3603 = tail call fast float @air.convert.f.f32.u.i32(i32 %3602) #4 + %3604 = fadd fast float %3603, 1.000000e+00 + %3605 = insertelement <2 x float> undef, float %3604, i64 0 + %3606 = insertelement <2 x float> %3605, float 0.000000e+00, i64 1 + %3607 = fmul fast <2 x float> %3606, %338 + %3608 = fadd fast <2 x float> %3607, %1 + %3609 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3608, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3610 = extractvalue { <4 x half>, i8 } %3609, 0 + %3611 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3610, <4 x half> , <4 x half> %3601) #4 + %3612 = fneg fast float %3604 + %3613 = insertelement <2 x float> undef, float %3612, i64 0 + %3614 = insertelement <2 x float> %3613, float 0.000000e+00, i64 1 + %3615 = fmul fast <2 x float> %3614, %338 + %3616 = fadd fast <2 x float> %3615, %1 + %3617 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3616, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3618 = extractvalue { <4 x half>, i8 } %3617, 0 + %3619 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3618, <4 x half> , <4 x half> %3611) #4 + %3620 = insertelement <2 x float> , float %3604, i64 1 + %3621 = fmul fast <2 x float> %3620, %338 + %3622 = fadd fast <2 x float> %3621, %1 + %3623 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3622, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3624 = extractvalue { <4 x half>, i8 } %3623, 0 + %3625 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3624, <4 x half> , <4 x half> %3619) #4 + %3626 = insertelement <2 x float> , float %3612, i64 1 + %3627 = fmul fast <2 x float> %3626, %338 + %3628 = fadd fast <2 x float> %3627, %1 + %3629 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3628, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3630 = extractvalue { <4 x half>, i8 } %3629, 0 + %3631 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3630, <4 x half> , <4 x half> %3625) #4 + %3632 = shufflevector <2 x float> %3605, <2 x float> poison, <2 x i32> zeroinitializer + %3633 = fmul fast <2 x float> %3632, %338 + %3634 = fadd fast <2 x float> %3633, %1 + %3635 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3634, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3636 = extractvalue { <4 x half>, i8 } %3635, 0 + %3637 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3636, <4 x half> , <4 x half> %3631) #4 + %3638 = insertelement <2 x float> %3613, float %3604, i64 1 + %3639 = fmul fast <2 x float> %3638, %338 + %3640 = fadd fast <2 x float> %3639, %1 + %3641 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3640, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3642 = extractvalue { <4 x half>, i8 } %3641, 0 + %3643 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3642, <4 x half> , <4 x half> %3637) #4 + %3644 = insertelement <2 x float> %3605, float %3612, i64 1 + %3645 = fmul fast <2 x float> %3644, %338 + %3646 = fadd fast <2 x float> %3645, %1 + %3647 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3646, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3648 = extractvalue { <4 x half>, i8 } %3647, 0 + %3649 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3648, <4 x half> , <4 x half> %3643) #4 + %3650 = shufflevector <2 x float> %3613, <2 x float> poison, <2 x i32> zeroinitializer + %3651 = fmul fast <2 x float> %3650, %338 + %3652 = fadd fast <2 x float> %3651, %1 + %3653 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3652, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3654 = extractvalue { <4 x half>, i8 } %3653, 0 + %3655 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3654, <4 x half> , <4 x half> %3649) #4 + %3656 = fmul fast <4 x half> %3655, %342 + %3657 = fadd fast <4 x half> %3656, %346 + %3658 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3657, <4 x half> zeroinitializer, <4 x half> ) #4 + %3659 = add nuw i32 %3602, 1 + %3660 = icmp eq i32 %3659, %323 + br i1 %3660, label %3520, label %3600, !llvm.loop !67 + +3661: ; preds = %3741, %299 + %3662 = phi <4 x half> [ %309, %299 ], [ %320, %3741 ] + %3663 = phi <4 x half> [ %307, %299 ], [ %316, %3741 ] + %3664 = phi <2 x float> [ %305, %299 ], [ %312, %3741 ] + %3665 = phi <4 x half> [ zeroinitializer, %299 ], [ %3799, %3741 ] + %3666 = fmul fast <4 x half> %3665, %3665 + %3667 = fmul fast <4 x half> %3666, %3665 + %3668 = fmul fast <4 x half> %3667, + %3669 = fmul fast <4 x half> %3666, + %3670 = fadd fast <4 x half> %3669, %3665 + %3671 = fadd fast <4 x half> %3670, %3668 + %3672 = fmul fast <4 x half> %3671, %3663 + %3673 = fadd fast <4 x half> %3672, %3662 + %3674 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3673, <4 x half> , <4 x half> ) #4 + %3675 = fmul fast <4 x half> %3674, + %3676 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3675) #4 + %3677 = fmul fast <4 x half> %3676, + %3678 = fmul fast <4 x half> %3666, + %3679 = fadd fast <4 x half> %3677, %3678 + %3680 = fadd fast <4 x half> %3666, + %3681 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3679, <4 x half> %3680) #4 + %3682 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3683 = load <4 x half>, <4 x half> addrspace(2)* %3682, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3684 = fmul fast <4 x half> %3683, %3681 + %3685 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3686 = load <4 x half>, <4 x half> addrspace(2)* %3685, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3687 = fmul fast <4 x half> %3686, + %3688 = fmul fast <4 x half> %3666, %3667 + %3689 = fsub fast <4 x half> %3666, %3688 + %3690 = fadd fast <4 x half> %3689, %3684 + %3691 = fadd fast <4 x half> %3690, %3687 + %3692 = fmul fast <4 x half> %3691, %3691 + %3693 = fmul fast <4 x half> %3692, %3691 + %3694 = fmul fast <4 x half> %3693, + %3695 = fmul fast <4 x half> %3692, + %3696 = fadd fast <4 x half> %3695, %3691 + %3697 = fadd fast <4 x half> %3696, %3694 + %3698 = fmul fast <4 x half> %3697, %3663 + %3699 = fadd fast <4 x half> %3698, %3662 + %3700 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3699, <4 x half> , <4 x half> ) #4 + %3701 = fmul fast <4 x half> %3700, + %3702 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3701) #4 + %3703 = fmul fast <4 x half> %3702, + %3704 = fmul fast <4 x half> %3692, + %3705 = fadd fast <4 x half> %3704, %3703 + %3706 = fadd fast <4 x half> %3692, + %3707 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3705, <4 x half> %3706) #4 + %3708 = fmul fast <4 x half> %3707, %3683 + %3709 = fmul fast <4 x half> %3686, + %3710 = fadd fast <4 x half> %3708, %3709 + %3711 = fadd fast <4 x half> %3710, %3692 + %3712 = fmul fast <4 x half> %3692, %3693 + %3713 = fsub fast <4 x half> %3711, %3712 + %3714 = fmul fast <4 x half> %3713, %3713 + %3715 = fmul fast <4 x half> %3714, %3713 + %3716 = fmul fast <4 x half> %3715, + %3717 = fmul fast <4 x half> %3714, + %3718 = fadd fast <4 x half> %3717, %3713 + %3719 = fadd fast <4 x half> %3718, %3716 + %3720 = fmul fast <4 x half> %3719, %3663 + %3721 = fadd fast <4 x half> %3720, %3662 + %3722 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3721, <4 x half> , <4 x half> ) #4 + %3723 = fmul fast <4 x half> %3722, + %3724 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3723) #4 + %3725 = fmul fast <4 x half> %3724, + %3726 = fmul fast <4 x half> %3714, + %3727 = fadd fast <4 x half> %3726, %3725 + %3728 = fadd fast <4 x half> %3714, + %3729 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3727, <4 x half> %3728) #4 + %3730 = fmul fast <4 x half> %3729, %3683 + %3731 = fmul fast <4 x half> %3686, + %3732 = fadd fast <4 x half> %3730, %3731 + %3733 = fadd fast <4 x half> %3732, %3714 + %3734 = fmul fast <4 x half> %3714, %3715 + %3735 = fsub fast <4 x half> %3733, %3734 + %3736 = fmul fast <2 x float> %3664, + %3737 = fadd fast <2 x float> %3736, %1 + %3738 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3737, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3739 = extractvalue { <4 x half>, i8 } %3738, 0 + %3740 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3739, <4 x half> , <4 x half> %3735) #4 + br label %5354 + +3741: ; preds = %310, %3741 + %3742 = phi <4 x half> [ zeroinitializer, %310 ], [ %3799, %3741 ] + %3743 = phi i32 [ 0, %310 ], [ %3800, %3741 ] + %3744 = tail call fast float @air.convert.f.f32.u.i32(i32 %3743) #4 + %3745 = fadd fast float %3744, 5.000000e-01 + %3746 = insertelement <2 x float> undef, float %3745, i64 0 + %3747 = insertelement <2 x float> %3746, float 0.000000e+00, i64 1 + %3748 = fmul fast <2 x float> %3747, %312 + %3749 = fadd fast <2 x float> %3748, %1 + %3750 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3749, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3751 = extractvalue { <4 x half>, i8 } %3750, 0 + %3752 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3751, <4 x half> , <4 x half> %3742) #4 + %3753 = fneg fast float %3745 + %3754 = insertelement <2 x float> undef, float %3753, i64 0 + %3755 = insertelement <2 x float> %3754, float 0.000000e+00, i64 1 + %3756 = fmul fast <2 x float> %3755, %312 + %3757 = fadd fast <2 x float> %3756, %1 + %3758 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3757, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3759 = extractvalue { <4 x half>, i8 } %3758, 0 + %3760 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3759, <4 x half> , <4 x half> %3752) #4 + %3761 = insertelement <2 x float> , float %3745, i64 1 + %3762 = fmul fast <2 x float> %3761, %312 + %3763 = fadd fast <2 x float> %3762, %1 + %3764 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3763, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3765 = extractvalue { <4 x half>, i8 } %3764, 0 + %3766 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3765, <4 x half> , <4 x half> %3760) #4 + %3767 = insertelement <2 x float> , float %3753, i64 1 + %3768 = fmul fast <2 x float> %3767, %312 + %3769 = fadd fast <2 x float> %3768, %1 + %3770 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3769, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3771 = extractvalue { <4 x half>, i8 } %3770, 0 + %3772 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3771, <4 x half> , <4 x half> %3766) #4 + %3773 = shufflevector <2 x float> %3746, <2 x float> poison, <2 x i32> zeroinitializer + %3774 = fmul fast <2 x float> %3773, %312 + %3775 = fadd fast <2 x float> %3774, %1 + %3776 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3775, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3777 = extractvalue { <4 x half>, i8 } %3776, 0 + %3778 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3777, <4 x half> , <4 x half> %3772) #4 + %3779 = insertelement <2 x float> %3754, float %3745, i64 1 + %3780 = fmul fast <2 x float> %3779, %312 + %3781 = fadd fast <2 x float> %3780, %1 + %3782 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3781, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3783 = extractvalue { <4 x half>, i8 } %3782, 0 + %3784 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3783, <4 x half> , <4 x half> %3778) #4 + %3785 = insertelement <2 x float> %3746, float %3753, i64 1 + %3786 = fmul fast <2 x float> %3785, %312 + %3787 = fadd fast <2 x float> %3786, %1 + %3788 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3787, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3789 = extractvalue { <4 x half>, i8 } %3788, 0 + %3790 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3789, <4 x half> , <4 x half> %3784) #4 + %3791 = shufflevector <2 x float> %3754, <2 x float> poison, <2 x i32> zeroinitializer + %3792 = fmul fast <2 x float> %3791, %312 + %3793 = fadd fast <2 x float> %3792, %1 + %3794 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3793, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3795 = extractvalue { <4 x half>, i8 } %3794, 0 + %3796 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3795, <4 x half> , <4 x half> %3790) #4 + %3797 = fmul fast <4 x half> %3796, %316 + %3798 = fadd fast <4 x half> %3797, %320 + %3799 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3798, <4 x half> zeroinitializer, <4 x half> ) #4 + %3800 = add nuw i32 %3743, 1 + %3801 = icmp eq i32 %3800, %297 + br i1 %3801, label %3661, label %3741, !llvm.loop !68 + +3802: ; preds = %3882, %273 + %3803 = phi <4 x half> [ %283, %273 ], [ %294, %3882 ] + %3804 = phi <4 x half> [ %281, %273 ], [ %290, %3882 ] + %3805 = phi <2 x float> [ %279, %273 ], [ %286, %3882 ] + %3806 = phi <4 x half> [ zeroinitializer, %273 ], [ %3940, %3882 ] + %3807 = fmul fast <4 x half> %3806, %3806 + %3808 = fmul fast <4 x half> %3807, %3806 + %3809 = fmul fast <4 x half> %3808, + %3810 = fmul fast <4 x half> %3807, + %3811 = fadd fast <4 x half> %3810, %3806 + %3812 = fadd fast <4 x half> %3811, %3809 + %3813 = fmul fast <4 x half> %3812, %3804 + %3814 = fadd fast <4 x half> %3813, %3803 + %3815 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3814, <4 x half> , <4 x half> ) #4 + %3816 = fmul fast <4 x half> %3815, + %3817 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3816) #4 + %3818 = fmul fast <4 x half> %3817, + %3819 = fmul fast <4 x half> %3807, + %3820 = fadd fast <4 x half> %3818, %3819 + %3821 = fadd fast <4 x half> %3807, + %3822 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3820, <4 x half> %3821) #4 + %3823 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3824 = load <4 x half>, <4 x half> addrspace(2)* %3823, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3825 = fmul fast <4 x half> %3824, %3822 + %3826 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3827 = load <4 x half>, <4 x half> addrspace(2)* %3826, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3828 = fmul fast <4 x half> %3827, + %3829 = fmul fast <4 x half> %3807, %3808 + %3830 = fsub fast <4 x half> %3807, %3829 + %3831 = fadd fast <4 x half> %3830, %3825 + %3832 = fadd fast <4 x half> %3831, %3828 + %3833 = fmul fast <4 x half> %3832, %3832 + %3834 = fmul fast <4 x half> %3833, %3832 + %3835 = fmul fast <4 x half> %3834, + %3836 = fmul fast <4 x half> %3833, + %3837 = fadd fast <4 x half> %3836, %3832 + %3838 = fadd fast <4 x half> %3837, %3835 + %3839 = fmul fast <4 x half> %3838, %3804 + %3840 = fadd fast <4 x half> %3839, %3803 + %3841 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3840, <4 x half> , <4 x half> ) #4 + %3842 = fmul fast <4 x half> %3841, + %3843 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3842) #4 + %3844 = fmul fast <4 x half> %3843, + %3845 = fmul fast <4 x half> %3833, + %3846 = fadd fast <4 x half> %3845, %3844 + %3847 = fadd fast <4 x half> %3833, + %3848 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3846, <4 x half> %3847) #4 + %3849 = fmul fast <4 x half> %3848, %3824 + %3850 = fmul fast <4 x half> %3827, + %3851 = fadd fast <4 x half> %3849, %3850 + %3852 = fadd fast <4 x half> %3851, %3833 + %3853 = fmul fast <4 x half> %3833, %3834 + %3854 = fsub fast <4 x half> %3852, %3853 + %3855 = fmul fast <4 x half> %3854, %3854 + %3856 = fmul fast <4 x half> %3855, %3854 + %3857 = fmul fast <4 x half> %3856, + %3858 = fmul fast <4 x half> %3855, + %3859 = fadd fast <4 x half> %3858, %3854 + %3860 = fadd fast <4 x half> %3859, %3857 + %3861 = fmul fast <4 x half> %3860, %3804 + %3862 = fadd fast <4 x half> %3861, %3803 + %3863 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3862, <4 x half> , <4 x half> ) #4 + %3864 = fmul fast <4 x half> %3863, + %3865 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3864) #4 + %3866 = fmul fast <4 x half> %3865, + %3867 = fmul fast <4 x half> %3855, + %3868 = fadd fast <4 x half> %3867, %3866 + %3869 = fadd fast <4 x half> %3855, + %3870 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3868, <4 x half> %3869) #4 + %3871 = fmul fast <4 x half> %3870, %3824 + %3872 = fmul fast <4 x half> %3827, + %3873 = fadd fast <4 x half> %3871, %3872 + %3874 = fadd fast <4 x half> %3873, %3855 + %3875 = fmul fast <4 x half> %3855, %3856 + %3876 = fsub fast <4 x half> %3874, %3875 + %3877 = fmul fast <2 x float> %3805, + %3878 = fadd fast <2 x float> %3877, %1 + %3879 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3878, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3880 = extractvalue { <4 x half>, i8 } %3879, 0 + %3881 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3880, <4 x half> , <4 x half> %3876) #4 + br label %5354 + +3882: ; preds = %284, %3882 + %3883 = phi <4 x half> [ zeroinitializer, %284 ], [ %3940, %3882 ] + %3884 = phi i32 [ 0, %284 ], [ %3941, %3882 ] + %3885 = tail call fast float @air.convert.f.f32.u.i32(i32 %3884) #4 + %3886 = fadd fast float %3885, 6.250000e-01 + %3887 = insertelement <2 x float> undef, float %3886, i64 0 + %3888 = insertelement <2 x float> %3887, float 0.000000e+00, i64 1 + %3889 = fmul fast <2 x float> %3888, %286 + %3890 = fadd fast <2 x float> %3889, %1 + %3891 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3890, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3892 = extractvalue { <4 x half>, i8 } %3891, 0 + %3893 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3892, <4 x half> , <4 x half> %3883) #4 + %3894 = fneg fast float %3886 + %3895 = insertelement <2 x float> undef, float %3894, i64 0 + %3896 = insertelement <2 x float> %3895, float 0.000000e+00, i64 1 + %3897 = fmul fast <2 x float> %3896, %286 + %3898 = fadd fast <2 x float> %3897, %1 + %3899 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3898, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3900 = extractvalue { <4 x half>, i8 } %3899, 0 + %3901 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3900, <4 x half> , <4 x half> %3893) #4 + %3902 = insertelement <2 x float> , float %3886, i64 1 + %3903 = fmul fast <2 x float> %3902, %286 + %3904 = fadd fast <2 x float> %3903, %1 + %3905 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3904, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3906 = extractvalue { <4 x half>, i8 } %3905, 0 + %3907 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3906, <4 x half> , <4 x half> %3901) #4 + %3908 = insertelement <2 x float> , float %3894, i64 1 + %3909 = fmul fast <2 x float> %3908, %286 + %3910 = fadd fast <2 x float> %3909, %1 + %3911 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3910, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3912 = extractvalue { <4 x half>, i8 } %3911, 0 + %3913 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3912, <4 x half> , <4 x half> %3907) #4 + %3914 = shufflevector <2 x float> %3887, <2 x float> poison, <2 x i32> zeroinitializer + %3915 = fmul fast <2 x float> %3914, %286 + %3916 = fadd fast <2 x float> %3915, %1 + %3917 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3916, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3918 = extractvalue { <4 x half>, i8 } %3917, 0 + %3919 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3918, <4 x half> , <4 x half> %3913) #4 + %3920 = insertelement <2 x float> %3895, float %3886, i64 1 + %3921 = fmul fast <2 x float> %3920, %286 + %3922 = fadd fast <2 x float> %3921, %1 + %3923 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3922, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3924 = extractvalue { <4 x half>, i8 } %3923, 0 + %3925 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3924, <4 x half> , <4 x half> %3919) #4 + %3926 = insertelement <2 x float> %3887, float %3894, i64 1 + %3927 = fmul fast <2 x float> %3926, %286 + %3928 = fadd fast <2 x float> %3927, %1 + %3929 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3928, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3930 = extractvalue { <4 x half>, i8 } %3929, 0 + %3931 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3930, <4 x half> , <4 x half> %3925) #4 + %3932 = shufflevector <2 x float> %3895, <2 x float> poison, <2 x i32> zeroinitializer + %3933 = fmul fast <2 x float> %3932, %286 + %3934 = fadd fast <2 x float> %3933, %1 + %3935 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %3934, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3936 = extractvalue { <4 x half>, i8 } %3935, 0 + %3937 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3936, <4 x half> , <4 x half> %3931) #4 + %3938 = fmul fast <4 x half> %3937, %290 + %3939 = fadd fast <4 x half> %3938, %294 + %3940 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3939, <4 x half> zeroinitializer, <4 x half> ) #4 + %3941 = add nuw i32 %3884, 1 + %3942 = icmp eq i32 %3941, %271 + br i1 %3942, label %3802, label %3882, !llvm.loop !69 + +3943: ; preds = %4023, %247 + %3944 = phi <4 x half> [ %257, %247 ], [ %268, %4023 ] + %3945 = phi <4 x half> [ %255, %247 ], [ %264, %4023 ] + %3946 = phi <2 x float> [ %253, %247 ], [ %260, %4023 ] + %3947 = phi <4 x half> [ zeroinitializer, %247 ], [ %4081, %4023 ] + %3948 = fmul fast <4 x half> %3947, %3947 + %3949 = fmul fast <4 x half> %3948, %3947 + %3950 = fmul fast <4 x half> %3949, + %3951 = fmul fast <4 x half> %3948, + %3952 = fadd fast <4 x half> %3951, %3947 + %3953 = fadd fast <4 x half> %3952, %3950 + %3954 = fmul fast <4 x half> %3953, %3945 + %3955 = fadd fast <4 x half> %3954, %3944 + %3956 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3955, <4 x half> , <4 x half> ) #4 + %3957 = fmul fast <4 x half> %3956, + %3958 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3957) #4 + %3959 = fmul fast <4 x half> %3958, + %3960 = fmul fast <4 x half> %3948, + %3961 = fadd fast <4 x half> %3959, %3960 + %3962 = fadd fast <4 x half> %3948, + %3963 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3961, <4 x half> %3962) #4 + %3964 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %3965 = load <4 x half>, <4 x half> addrspace(2)* %3964, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3966 = fmul fast <4 x half> %3965, %3963 + %3967 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %3968 = load <4 x half>, <4 x half> addrspace(2)* %3967, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3969 = fmul fast <4 x half> %3968, + %3970 = fmul fast <4 x half> %3948, %3949 + %3971 = fsub fast <4 x half> %3948, %3970 + %3972 = fadd fast <4 x half> %3971, %3966 + %3973 = fadd fast <4 x half> %3972, %3969 + %3974 = fmul fast <4 x half> %3973, %3973 + %3975 = fmul fast <4 x half> %3974, %3973 + %3976 = fmul fast <4 x half> %3975, + %3977 = fmul fast <4 x half> %3974, + %3978 = fadd fast <4 x half> %3977, %3973 + %3979 = fadd fast <4 x half> %3978, %3976 + %3980 = fmul fast <4 x half> %3979, %3945 + %3981 = fadd fast <4 x half> %3980, %3944 + %3982 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3981, <4 x half> , <4 x half> ) #4 + %3983 = fmul fast <4 x half> %3982, + %3984 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3983) #4 + %3985 = fmul fast <4 x half> %3984, + %3986 = fmul fast <4 x half> %3974, + %3987 = fadd fast <4 x half> %3986, %3985 + %3988 = fadd fast <4 x half> %3974, + %3989 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3987, <4 x half> %3988) #4 + %3990 = fmul fast <4 x half> %3989, %3965 + %3991 = fmul fast <4 x half> %3968, + %3992 = fadd fast <4 x half> %3990, %3991 + %3993 = fadd fast <4 x half> %3992, %3974 + %3994 = fmul fast <4 x half> %3974, %3975 + %3995 = fsub fast <4 x half> %3993, %3994 + %3996 = fmul fast <4 x half> %3995, %3995 + %3997 = fmul fast <4 x half> %3996, %3995 + %3998 = fmul fast <4 x half> %3997, + %3999 = fmul fast <4 x half> %3996, + %4000 = fadd fast <4 x half> %3999, %3995 + %4001 = fadd fast <4 x half> %4000, %3998 + %4002 = fmul fast <4 x half> %4001, %3945 + %4003 = fadd fast <4 x half> %4002, %3944 + %4004 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4003, <4 x half> , <4 x half> ) #4 + %4005 = fmul fast <4 x half> %4004, + %4006 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4005) #4 + %4007 = fmul fast <4 x half> %4006, + %4008 = fmul fast <4 x half> %3996, + %4009 = fadd fast <4 x half> %4008, %4007 + %4010 = fadd fast <4 x half> %3996, + %4011 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4009, <4 x half> %4010) #4 + %4012 = fmul fast <4 x half> %4011, %3965 + %4013 = fmul fast <4 x half> %3968, + %4014 = fadd fast <4 x half> %4012, %4013 + %4015 = fadd fast <4 x half> %4014, %3996 + %4016 = fmul fast <4 x half> %3996, %3997 + %4017 = fsub fast <4 x half> %4015, %4016 + %4018 = fmul fast <2 x float> %3946, + %4019 = fadd fast <2 x float> %4018, %1 + %4020 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4019, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4021 = extractvalue { <4 x half>, i8 } %4020, 0 + %4022 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4021, <4 x half> , <4 x half> %4017) #4 + br label %5354 + +4023: ; preds = %258, %4023 + %4024 = phi <4 x half> [ zeroinitializer, %258 ], [ %4081, %4023 ] + %4025 = phi i32 [ 0, %258 ], [ %4082, %4023 ] + %4026 = tail call fast float @air.convert.f.f32.u.i32(i32 %4025) #4 + %4027 = fadd fast float %4026, 7.500000e-01 + %4028 = insertelement <2 x float> undef, float %4027, i64 0 + %4029 = insertelement <2 x float> %4028, float 0.000000e+00, i64 1 + %4030 = fmul fast <2 x float> %4029, %260 + %4031 = fadd fast <2 x float> %4030, %1 + %4032 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4031, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4033 = extractvalue { <4 x half>, i8 } %4032, 0 + %4034 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4033, <4 x half> , <4 x half> %4024) #4 + %4035 = fneg fast float %4027 + %4036 = insertelement <2 x float> undef, float %4035, i64 0 + %4037 = insertelement <2 x float> %4036, float 0.000000e+00, i64 1 + %4038 = fmul fast <2 x float> %4037, %260 + %4039 = fadd fast <2 x float> %4038, %1 + %4040 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4039, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4041 = extractvalue { <4 x half>, i8 } %4040, 0 + %4042 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4041, <4 x half> , <4 x half> %4034) #4 + %4043 = insertelement <2 x float> , float %4027, i64 1 + %4044 = fmul fast <2 x float> %4043, %260 + %4045 = fadd fast <2 x float> %4044, %1 + %4046 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4045, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4047 = extractvalue { <4 x half>, i8 } %4046, 0 + %4048 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4047, <4 x half> , <4 x half> %4042) #4 + %4049 = insertelement <2 x float> , float %4035, i64 1 + %4050 = fmul fast <2 x float> %4049, %260 + %4051 = fadd fast <2 x float> %4050, %1 + %4052 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4051, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4053 = extractvalue { <4 x half>, i8 } %4052, 0 + %4054 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4053, <4 x half> , <4 x half> %4048) #4 + %4055 = shufflevector <2 x float> %4028, <2 x float> poison, <2 x i32> zeroinitializer + %4056 = fmul fast <2 x float> %4055, %260 + %4057 = fadd fast <2 x float> %4056, %1 + %4058 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4057, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4059 = extractvalue { <4 x half>, i8 } %4058, 0 + %4060 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4059, <4 x half> , <4 x half> %4054) #4 + %4061 = insertelement <2 x float> %4036, float %4027, i64 1 + %4062 = fmul fast <2 x float> %4061, %260 + %4063 = fadd fast <2 x float> %4062, %1 + %4064 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4063, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4065 = extractvalue { <4 x half>, i8 } %4064, 0 + %4066 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4065, <4 x half> , <4 x half> %4060) #4 + %4067 = insertelement <2 x float> %4028, float %4035, i64 1 + %4068 = fmul fast <2 x float> %4067, %260 + %4069 = fadd fast <2 x float> %4068, %1 + %4070 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4069, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4071 = extractvalue { <4 x half>, i8 } %4070, 0 + %4072 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4071, <4 x half> , <4 x half> %4066) #4 + %4073 = shufflevector <2 x float> %4036, <2 x float> poison, <2 x i32> zeroinitializer + %4074 = fmul fast <2 x float> %4073, %260 + %4075 = fadd fast <2 x float> %4074, %1 + %4076 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4075, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4077 = extractvalue { <4 x half>, i8 } %4076, 0 + %4078 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4077, <4 x half> , <4 x half> %4072) #4 + %4079 = fmul fast <4 x half> %4078, %264 + %4080 = fadd fast <4 x half> %4079, %268 + %4081 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4080, <4 x half> zeroinitializer, <4 x half> ) #4 + %4082 = add nuw i32 %4025, 1 + %4083 = icmp eq i32 %4082, %245 + br i1 %4083, label %3943, label %4023, !llvm.loop !70 + +4084: ; preds = %4164, %221 + %4085 = phi <4 x half> [ %231, %221 ], [ %242, %4164 ] + %4086 = phi <4 x half> [ %229, %221 ], [ %238, %4164 ] + %4087 = phi <2 x float> [ %227, %221 ], [ %234, %4164 ] + %4088 = phi <4 x half> [ zeroinitializer, %221 ], [ %4222, %4164 ] + %4089 = fmul fast <4 x half> %4088, %4088 + %4090 = fmul fast <4 x half> %4089, %4088 + %4091 = fmul fast <4 x half> %4090, + %4092 = fmul fast <4 x half> %4089, + %4093 = fadd fast <4 x half> %4092, %4088 + %4094 = fadd fast <4 x half> %4093, %4091 + %4095 = fmul fast <4 x half> %4094, %4086 + %4096 = fadd fast <4 x half> %4095, %4085 + %4097 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4096, <4 x half> , <4 x half> ) #4 + %4098 = fmul fast <4 x half> %4097, + %4099 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4098) #4 + %4100 = fmul fast <4 x half> %4099, + %4101 = fmul fast <4 x half> %4089, + %4102 = fadd fast <4 x half> %4100, %4101 + %4103 = fadd fast <4 x half> %4089, + %4104 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4102, <4 x half> %4103) #4 + %4105 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4106 = load <4 x half>, <4 x half> addrspace(2)* %4105, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4107 = fmul fast <4 x half> %4106, %4104 + %4108 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4109 = load <4 x half>, <4 x half> addrspace(2)* %4108, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4110 = fmul fast <4 x half> %4109, + %4111 = fmul fast <4 x half> %4089, %4090 + %4112 = fsub fast <4 x half> %4089, %4111 + %4113 = fadd fast <4 x half> %4112, %4107 + %4114 = fadd fast <4 x half> %4113, %4110 + %4115 = fmul fast <4 x half> %4114, %4114 + %4116 = fmul fast <4 x half> %4115, %4114 + %4117 = fmul fast <4 x half> %4116, + %4118 = fmul fast <4 x half> %4115, + %4119 = fadd fast <4 x half> %4118, %4114 + %4120 = fadd fast <4 x half> %4119, %4117 + %4121 = fmul fast <4 x half> %4120, %4086 + %4122 = fadd fast <4 x half> %4121, %4085 + %4123 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4122, <4 x half> , <4 x half> ) #4 + %4124 = fmul fast <4 x half> %4123, + %4125 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4124) #4 + %4126 = fmul fast <4 x half> %4125, + %4127 = fmul fast <4 x half> %4115, + %4128 = fadd fast <4 x half> %4127, %4126 + %4129 = fadd fast <4 x half> %4115, + %4130 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4128, <4 x half> %4129) #4 + %4131 = fmul fast <4 x half> %4130, %4106 + %4132 = fmul fast <4 x half> %4109, + %4133 = fadd fast <4 x half> %4131, %4132 + %4134 = fadd fast <4 x half> %4133, %4115 + %4135 = fmul fast <4 x half> %4115, %4116 + %4136 = fsub fast <4 x half> %4134, %4135 + %4137 = fmul fast <4 x half> %4136, %4136 + %4138 = fmul fast <4 x half> %4137, %4136 + %4139 = fmul fast <4 x half> %4138, + %4140 = fmul fast <4 x half> %4137, + %4141 = fadd fast <4 x half> %4140, %4136 + %4142 = fadd fast <4 x half> %4141, %4139 + %4143 = fmul fast <4 x half> %4142, %4086 + %4144 = fadd fast <4 x half> %4143, %4085 + %4145 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4144, <4 x half> , <4 x half> ) #4 + %4146 = fmul fast <4 x half> %4145, + %4147 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4146) #4 + %4148 = fmul fast <4 x half> %4147, + %4149 = fmul fast <4 x half> %4137, + %4150 = fadd fast <4 x half> %4149, %4148 + %4151 = fadd fast <4 x half> %4137, + %4152 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4150, <4 x half> %4151) #4 + %4153 = fmul fast <4 x half> %4152, %4106 + %4154 = fmul fast <4 x half> %4109, + %4155 = fadd fast <4 x half> %4153, %4154 + %4156 = fadd fast <4 x half> %4155, %4137 + %4157 = fmul fast <4 x half> %4137, %4138 + %4158 = fsub fast <4 x half> %4156, %4157 + %4159 = fmul fast <2 x float> %4087, + %4160 = fadd fast <2 x float> %4159, %1 + %4161 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4160, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4162 = extractvalue { <4 x half>, i8 } %4161, 0 + %4163 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4162, <4 x half> , <4 x half> %4158) #4 + br label %5354 + +4164: ; preds = %232, %4164 + %4165 = phi <4 x half> [ zeroinitializer, %232 ], [ %4222, %4164 ] + %4166 = phi i32 [ 0, %232 ], [ %4223, %4164 ] + %4167 = tail call fast float @air.convert.f.f32.u.i32(i32 %4166) #4 + %4168 = fadd fast float %4167, 8.750000e-01 + %4169 = insertelement <2 x float> undef, float %4168, i64 0 + %4170 = insertelement <2 x float> %4169, float 0.000000e+00, i64 1 + %4171 = fmul fast <2 x float> %4170, %234 + %4172 = fadd fast <2 x float> %4171, %1 + %4173 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4172, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4174 = extractvalue { <4 x half>, i8 } %4173, 0 + %4175 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4174, <4 x half> , <4 x half> %4165) #4 + %4176 = fneg fast float %4168 + %4177 = insertelement <2 x float> undef, float %4176, i64 0 + %4178 = insertelement <2 x float> %4177, float 0.000000e+00, i64 1 + %4179 = fmul fast <2 x float> %4178, %234 + %4180 = fadd fast <2 x float> %4179, %1 + %4181 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4180, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4182 = extractvalue { <4 x half>, i8 } %4181, 0 + %4183 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4182, <4 x half> , <4 x half> %4175) #4 + %4184 = insertelement <2 x float> , float %4168, i64 1 + %4185 = fmul fast <2 x float> %4184, %234 + %4186 = fadd fast <2 x float> %4185, %1 + %4187 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4186, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4188 = extractvalue { <4 x half>, i8 } %4187, 0 + %4189 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4188, <4 x half> , <4 x half> %4183) #4 + %4190 = insertelement <2 x float> , float %4176, i64 1 + %4191 = fmul fast <2 x float> %4190, %234 + %4192 = fadd fast <2 x float> %4191, %1 + %4193 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4192, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4194 = extractvalue { <4 x half>, i8 } %4193, 0 + %4195 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4194, <4 x half> , <4 x half> %4189) #4 + %4196 = shufflevector <2 x float> %4169, <2 x float> poison, <2 x i32> zeroinitializer + %4197 = fmul fast <2 x float> %4196, %234 + %4198 = fadd fast <2 x float> %4197, %1 + %4199 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4198, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4200 = extractvalue { <4 x half>, i8 } %4199, 0 + %4201 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4200, <4 x half> , <4 x half> %4195) #4 + %4202 = insertelement <2 x float> %4177, float %4168, i64 1 + %4203 = fmul fast <2 x float> %4202, %234 + %4204 = fadd fast <2 x float> %4203, %1 + %4205 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4204, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4206 = extractvalue { <4 x half>, i8 } %4205, 0 + %4207 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4206, <4 x half> , <4 x half> %4201) #4 + %4208 = insertelement <2 x float> %4169, float %4176, i64 1 + %4209 = fmul fast <2 x float> %4208, %234 + %4210 = fadd fast <2 x float> %4209, %1 + %4211 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4210, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4212 = extractvalue { <4 x half>, i8 } %4211, 0 + %4213 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4212, <4 x half> , <4 x half> %4207) #4 + %4214 = shufflevector <2 x float> %4177, <2 x float> poison, <2 x i32> zeroinitializer + %4215 = fmul fast <2 x float> %4214, %234 + %4216 = fadd fast <2 x float> %4215, %1 + %4217 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4216, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4218 = extractvalue { <4 x half>, i8 } %4217, 0 + %4219 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4218, <4 x half> , <4 x half> %4213) #4 + %4220 = fmul fast <4 x half> %4219, %238 + %4221 = fadd fast <4 x half> %4220, %242 + %4222 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4221, <4 x half> zeroinitializer, <4 x half> ) #4 + %4223 = add nuw i32 %4166, 1 + %4224 = icmp eq i32 %4223, %219 + br i1 %4224, label %4084, label %4164, !llvm.loop !71 + +4225: ; preds = %4305, %195 + %4226 = phi <4 x half> [ %205, %195 ], [ %216, %4305 ] + %4227 = phi <4 x half> [ %203, %195 ], [ %212, %4305 ] + %4228 = phi <2 x float> [ %201, %195 ], [ %208, %4305 ] + %4229 = phi <4 x half> [ zeroinitializer, %195 ], [ %4363, %4305 ] + %4230 = fmul fast <4 x half> %4229, %4229 + %4231 = fmul fast <4 x half> %4230, %4229 + %4232 = fmul fast <4 x half> %4231, + %4233 = fmul fast <4 x half> %4230, + %4234 = fadd fast <4 x half> %4233, %4229 + %4235 = fadd fast <4 x half> %4234, %4232 + %4236 = fmul fast <4 x half> %4235, %4227 + %4237 = fadd fast <4 x half> %4236, %4226 + %4238 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4237, <4 x half> , <4 x half> ) #4 + %4239 = fmul fast <4 x half> %4238, + %4240 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4239) #4 + %4241 = fmul fast <4 x half> %4240, + %4242 = fmul fast <4 x half> %4230, + %4243 = fadd fast <4 x half> %4241, %4242 + %4244 = fadd fast <4 x half> %4230, + %4245 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4243, <4 x half> %4244) #4 + %4246 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4247 = load <4 x half>, <4 x half> addrspace(2)* %4246, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4248 = fmul fast <4 x half> %4247, %4245 + %4249 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4250 = load <4 x half>, <4 x half> addrspace(2)* %4249, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4251 = fmul fast <4 x half> %4250, + %4252 = fmul fast <4 x half> %4230, %4231 + %4253 = fsub fast <4 x half> %4230, %4252 + %4254 = fadd fast <4 x half> %4253, %4248 + %4255 = fadd fast <4 x half> %4254, %4251 + %4256 = fmul fast <4 x half> %4255, %4255 + %4257 = fmul fast <4 x half> %4256, %4255 + %4258 = fmul fast <4 x half> %4257, + %4259 = fmul fast <4 x half> %4256, + %4260 = fadd fast <4 x half> %4259, %4255 + %4261 = fadd fast <4 x half> %4260, %4258 + %4262 = fmul fast <4 x half> %4261, %4227 + %4263 = fadd fast <4 x half> %4262, %4226 + %4264 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4263, <4 x half> , <4 x half> ) #4 + %4265 = fmul fast <4 x half> %4264, + %4266 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4265) #4 + %4267 = fmul fast <4 x half> %4266, + %4268 = fmul fast <4 x half> %4256, + %4269 = fadd fast <4 x half> %4268, %4267 + %4270 = fadd fast <4 x half> %4256, + %4271 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4269, <4 x half> %4270) #4 + %4272 = fmul fast <4 x half> %4271, %4247 + %4273 = fmul fast <4 x half> %4250, + %4274 = fadd fast <4 x half> %4272, %4273 + %4275 = fadd fast <4 x half> %4274, %4256 + %4276 = fmul fast <4 x half> %4256, %4257 + %4277 = fsub fast <4 x half> %4275, %4276 + %4278 = fmul fast <4 x half> %4277, %4277 + %4279 = fmul fast <4 x half> %4278, %4277 + %4280 = fmul fast <4 x half> %4279, + %4281 = fmul fast <4 x half> %4278, + %4282 = fadd fast <4 x half> %4281, %4277 + %4283 = fadd fast <4 x half> %4282, %4280 + %4284 = fmul fast <4 x half> %4283, %4227 + %4285 = fadd fast <4 x half> %4284, %4226 + %4286 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4285, <4 x half> , <4 x half> ) #4 + %4287 = fmul fast <4 x half> %4286, + %4288 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4287) #4 + %4289 = fmul fast <4 x half> %4288, + %4290 = fmul fast <4 x half> %4278, + %4291 = fadd fast <4 x half> %4290, %4289 + %4292 = fadd fast <4 x half> %4278, + %4293 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4291, <4 x half> %4292) #4 + %4294 = fmul fast <4 x half> %4293, %4247 + %4295 = fmul fast <4 x half> %4250, + %4296 = fadd fast <4 x half> %4294, %4295 + %4297 = fadd fast <4 x half> %4296, %4278 + %4298 = fmul fast <4 x half> %4278, %4279 + %4299 = fsub fast <4 x half> %4297, %4298 + %4300 = fmul fast <2 x float> %4228, + %4301 = fadd fast <2 x float> %4300, %1 + %4302 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4301, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4303 = extractvalue { <4 x half>, i8 } %4302, 0 + %4304 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4303, <4 x half> , <4 x half> %4299) #4 + br label %5354 + +4305: ; preds = %206, %4305 + %4306 = phi <4 x half> [ zeroinitializer, %206 ], [ %4363, %4305 ] + %4307 = phi i32 [ 0, %206 ], [ %4364, %4305 ] + %4308 = tail call fast float @air.convert.f.f32.u.i32(i32 %4307) #4 + %4309 = fadd fast float %4308, 1.000000e+00 + %4310 = insertelement <2 x float> undef, float %4309, i64 0 + %4311 = insertelement <2 x float> %4310, float 0.000000e+00, i64 1 + %4312 = fmul fast <2 x float> %4311, %208 + %4313 = fadd fast <2 x float> %4312, %1 + %4314 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4313, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4315 = extractvalue { <4 x half>, i8 } %4314, 0 + %4316 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4315, <4 x half> , <4 x half> %4306) #4 + %4317 = fneg fast float %4309 + %4318 = insertelement <2 x float> undef, float %4317, i64 0 + %4319 = insertelement <2 x float> %4318, float 0.000000e+00, i64 1 + %4320 = fmul fast <2 x float> %4319, %208 + %4321 = fadd fast <2 x float> %4320, %1 + %4322 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4321, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4323 = extractvalue { <4 x half>, i8 } %4322, 0 + %4324 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4323, <4 x half> , <4 x half> %4316) #4 + %4325 = insertelement <2 x float> , float %4309, i64 1 + %4326 = fmul fast <2 x float> %4325, %208 + %4327 = fadd fast <2 x float> %4326, %1 + %4328 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4327, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4329 = extractvalue { <4 x half>, i8 } %4328, 0 + %4330 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4329, <4 x half> , <4 x half> %4324) #4 + %4331 = insertelement <2 x float> , float %4317, i64 1 + %4332 = fmul fast <2 x float> %4331, %208 + %4333 = fadd fast <2 x float> %4332, %1 + %4334 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4333, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4335 = extractvalue { <4 x half>, i8 } %4334, 0 + %4336 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4335, <4 x half> , <4 x half> %4330) #4 + %4337 = shufflevector <2 x float> %4310, <2 x float> poison, <2 x i32> zeroinitializer + %4338 = fmul fast <2 x float> %4337, %208 + %4339 = fadd fast <2 x float> %4338, %1 + %4340 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4339, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4341 = extractvalue { <4 x half>, i8 } %4340, 0 + %4342 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4341, <4 x half> , <4 x half> %4336) #4 + %4343 = insertelement <2 x float> %4318, float %4309, i64 1 + %4344 = fmul fast <2 x float> %4343, %208 + %4345 = fadd fast <2 x float> %4344, %1 + %4346 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4345, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4347 = extractvalue { <4 x half>, i8 } %4346, 0 + %4348 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4347, <4 x half> , <4 x half> %4342) #4 + %4349 = insertelement <2 x float> %4310, float %4317, i64 1 + %4350 = fmul fast <2 x float> %4349, %208 + %4351 = fadd fast <2 x float> %4350, %1 + %4352 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4351, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4353 = extractvalue { <4 x half>, i8 } %4352, 0 + %4354 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4353, <4 x half> , <4 x half> %4348) #4 + %4355 = shufflevector <2 x float> %4318, <2 x float> poison, <2 x i32> zeroinitializer + %4356 = fmul fast <2 x float> %4355, %208 + %4357 = fadd fast <2 x float> %4356, %1 + %4358 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4357, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4359 = extractvalue { <4 x half>, i8 } %4358, 0 + %4360 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4359, <4 x half> , <4 x half> %4354) #4 + %4361 = fmul fast <4 x half> %4360, %212 + %4362 = fadd fast <4 x half> %4361, %216 + %4363 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4362, <4 x half> zeroinitializer, <4 x half> ) #4 + %4364 = add nuw i32 %4307, 1 + %4365 = icmp eq i32 %4364, %193 + br i1 %4365, label %4225, label %4305, !llvm.loop !72 + +4366: ; preds = %4446, %169 + %4367 = phi <4 x half> [ %179, %169 ], [ %190, %4446 ] + %4368 = phi <4 x half> [ %177, %169 ], [ %186, %4446 ] + %4369 = phi <2 x float> [ %175, %169 ], [ %182, %4446 ] + %4370 = phi <4 x half> [ zeroinitializer, %169 ], [ %4504, %4446 ] + %4371 = fmul fast <4 x half> %4370, %4370 + %4372 = fmul fast <4 x half> %4371, %4370 + %4373 = fmul fast <4 x half> %4372, + %4374 = fmul fast <4 x half> %4371, + %4375 = fadd fast <4 x half> %4374, %4370 + %4376 = fadd fast <4 x half> %4375, %4373 + %4377 = fmul fast <4 x half> %4376, %4368 + %4378 = fadd fast <4 x half> %4377, %4367 + %4379 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4378, <4 x half> , <4 x half> ) #4 + %4380 = fmul fast <4 x half> %4379, + %4381 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4380) #4 + %4382 = fmul fast <4 x half> %4381, + %4383 = fmul fast <4 x half> %4371, + %4384 = fadd fast <4 x half> %4382, %4383 + %4385 = fadd fast <4 x half> %4371, + %4386 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4384, <4 x half> %4385) #4 + %4387 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4388 = load <4 x half>, <4 x half> addrspace(2)* %4387, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4389 = fmul fast <4 x half> %4388, %4386 + %4390 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4391 = load <4 x half>, <4 x half> addrspace(2)* %4390, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4392 = fmul fast <4 x half> %4391, + %4393 = fmul fast <4 x half> %4371, %4372 + %4394 = fsub fast <4 x half> %4371, %4393 + %4395 = fadd fast <4 x half> %4394, %4389 + %4396 = fadd fast <4 x half> %4395, %4392 + %4397 = fmul fast <4 x half> %4396, %4396 + %4398 = fmul fast <4 x half> %4397, %4396 + %4399 = fmul fast <4 x half> %4398, + %4400 = fmul fast <4 x half> %4397, + %4401 = fadd fast <4 x half> %4400, %4396 + %4402 = fadd fast <4 x half> %4401, %4399 + %4403 = fmul fast <4 x half> %4402, %4368 + %4404 = fadd fast <4 x half> %4403, %4367 + %4405 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4404, <4 x half> , <4 x half> ) #4 + %4406 = fmul fast <4 x half> %4405, + %4407 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4406) #4 + %4408 = fmul fast <4 x half> %4407, + %4409 = fmul fast <4 x half> %4397, + %4410 = fadd fast <4 x half> %4409, %4408 + %4411 = fadd fast <4 x half> %4397, + %4412 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4410, <4 x half> %4411) #4 + %4413 = fmul fast <4 x half> %4412, %4388 + %4414 = fmul fast <4 x half> %4391, + %4415 = fadd fast <4 x half> %4413, %4414 + %4416 = fadd fast <4 x half> %4415, %4397 + %4417 = fmul fast <4 x half> %4397, %4398 + %4418 = fsub fast <4 x half> %4416, %4417 + %4419 = fmul fast <4 x half> %4418, %4418 + %4420 = fmul fast <4 x half> %4419, %4418 + %4421 = fmul fast <4 x half> %4420, + %4422 = fmul fast <4 x half> %4419, + %4423 = fadd fast <4 x half> %4422, %4418 + %4424 = fadd fast <4 x half> %4423, %4421 + %4425 = fmul fast <4 x half> %4424, %4368 + %4426 = fadd fast <4 x half> %4425, %4367 + %4427 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4426, <4 x half> , <4 x half> ) #4 + %4428 = fmul fast <4 x half> %4427, + %4429 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4428) #4 + %4430 = fmul fast <4 x half> %4429, + %4431 = fmul fast <4 x half> %4419, + %4432 = fadd fast <4 x half> %4431, %4430 + %4433 = fadd fast <4 x half> %4419, + %4434 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4432, <4 x half> %4433) #4 + %4435 = fmul fast <4 x half> %4434, %4388 + %4436 = fmul fast <4 x half> %4391, + %4437 = fadd fast <4 x half> %4435, %4436 + %4438 = fadd fast <4 x half> %4437, %4419 + %4439 = fmul fast <4 x half> %4419, %4420 + %4440 = fsub fast <4 x half> %4438, %4439 + %4441 = fmul fast <2 x float> %4369, + %4442 = fadd fast <2 x float> %4441, %1 + %4443 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4442, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4444 = extractvalue { <4 x half>, i8 } %4443, 0 + %4445 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4444, <4 x half> , <4 x half> %4440) #4 + br label %5354 + +4446: ; preds = %180, %4446 + %4447 = phi <4 x half> [ zeroinitializer, %180 ], [ %4504, %4446 ] + %4448 = phi i32 [ 0, %180 ], [ %4505, %4446 ] + %4449 = tail call fast float @air.convert.f.f32.u.i32(i32 %4448) #4 + %4450 = fadd fast float %4449, 5.000000e-01 + %4451 = insertelement <2 x float> undef, float %4450, i64 0 + %4452 = insertelement <2 x float> %4451, float 0.000000e+00, i64 1 + %4453 = fmul fast <2 x float> %4452, %182 + %4454 = fadd fast <2 x float> %4453, %1 + %4455 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4454, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4456 = extractvalue { <4 x half>, i8 } %4455, 0 + %4457 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4456, <4 x half> , <4 x half> %4447) #4 + %4458 = fneg fast float %4450 + %4459 = insertelement <2 x float> undef, float %4458, i64 0 + %4460 = insertelement <2 x float> %4459, float 0.000000e+00, i64 1 + %4461 = fmul fast <2 x float> %4460, %182 + %4462 = fadd fast <2 x float> %4461, %1 + %4463 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4462, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4464 = extractvalue { <4 x half>, i8 } %4463, 0 + %4465 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4464, <4 x half> , <4 x half> %4457) #4 + %4466 = insertelement <2 x float> , float %4450, i64 1 + %4467 = fmul fast <2 x float> %4466, %182 + %4468 = fadd fast <2 x float> %4467, %1 + %4469 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4468, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4470 = extractvalue { <4 x half>, i8 } %4469, 0 + %4471 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4470, <4 x half> , <4 x half> %4465) #4 + %4472 = insertelement <2 x float> , float %4458, i64 1 + %4473 = fmul fast <2 x float> %4472, %182 + %4474 = fadd fast <2 x float> %4473, %1 + %4475 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4474, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4476 = extractvalue { <4 x half>, i8 } %4475, 0 + %4477 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4476, <4 x half> , <4 x half> %4471) #4 + %4478 = shufflevector <2 x float> %4451, <2 x float> poison, <2 x i32> zeroinitializer + %4479 = fmul fast <2 x float> %4478, %182 + %4480 = fadd fast <2 x float> %4479, %1 + %4481 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4480, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4482 = extractvalue { <4 x half>, i8 } %4481, 0 + %4483 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4482, <4 x half> , <4 x half> %4477) #4 + %4484 = insertelement <2 x float> %4459, float %4450, i64 1 + %4485 = fmul fast <2 x float> %4484, %182 + %4486 = fadd fast <2 x float> %4485, %1 + %4487 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4486, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4488 = extractvalue { <4 x half>, i8 } %4487, 0 + %4489 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4488, <4 x half> , <4 x half> %4483) #4 + %4490 = insertelement <2 x float> %4451, float %4458, i64 1 + %4491 = fmul fast <2 x float> %4490, %182 + %4492 = fadd fast <2 x float> %4491, %1 + %4493 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4492, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4494 = extractvalue { <4 x half>, i8 } %4493, 0 + %4495 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4494, <4 x half> , <4 x half> %4489) #4 + %4496 = shufflevector <2 x float> %4459, <2 x float> poison, <2 x i32> zeroinitializer + %4497 = fmul fast <2 x float> %4496, %182 + %4498 = fadd fast <2 x float> %4497, %1 + %4499 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4498, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4500 = extractvalue { <4 x half>, i8 } %4499, 0 + %4501 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4500, <4 x half> , <4 x half> %4495) #4 + %4502 = fmul fast <4 x half> %4501, %186 + %4503 = fadd fast <4 x half> %4502, %190 + %4504 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4503, <4 x half> zeroinitializer, <4 x half> ) #4 + %4505 = add nuw i32 %4448, 1 + %4506 = icmp eq i32 %4505, %167 + br i1 %4506, label %4366, label %4446, !llvm.loop !73 + +4507: ; preds = %4587, %143 + %4508 = phi <4 x half> [ %153, %143 ], [ %164, %4587 ] + %4509 = phi <4 x half> [ %151, %143 ], [ %160, %4587 ] + %4510 = phi <2 x float> [ %149, %143 ], [ %156, %4587 ] + %4511 = phi <4 x half> [ zeroinitializer, %143 ], [ %4645, %4587 ] + %4512 = fmul fast <4 x half> %4511, %4511 + %4513 = fmul fast <4 x half> %4512, %4511 + %4514 = fmul fast <4 x half> %4513, + %4515 = fmul fast <4 x half> %4512, + %4516 = fadd fast <4 x half> %4515, %4511 + %4517 = fadd fast <4 x half> %4516, %4514 + %4518 = fmul fast <4 x half> %4517, %4509 + %4519 = fadd fast <4 x half> %4518, %4508 + %4520 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4519, <4 x half> , <4 x half> ) #4 + %4521 = fmul fast <4 x half> %4520, + %4522 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4521) #4 + %4523 = fmul fast <4 x half> %4522, + %4524 = fmul fast <4 x half> %4512, + %4525 = fadd fast <4 x half> %4523, %4524 + %4526 = fadd fast <4 x half> %4512, + %4527 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4525, <4 x half> %4526) #4 + %4528 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4529 = load <4 x half>, <4 x half> addrspace(2)* %4528, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4530 = fmul fast <4 x half> %4529, %4527 + %4531 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4532 = load <4 x half>, <4 x half> addrspace(2)* %4531, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4533 = fmul fast <4 x half> %4532, + %4534 = fmul fast <4 x half> %4512, %4513 + %4535 = fsub fast <4 x half> %4512, %4534 + %4536 = fadd fast <4 x half> %4535, %4530 + %4537 = fadd fast <4 x half> %4536, %4533 + %4538 = fmul fast <4 x half> %4537, %4537 + %4539 = fmul fast <4 x half> %4538, %4537 + %4540 = fmul fast <4 x half> %4539, + %4541 = fmul fast <4 x half> %4538, + %4542 = fadd fast <4 x half> %4541, %4537 + %4543 = fadd fast <4 x half> %4542, %4540 + %4544 = fmul fast <4 x half> %4543, %4509 + %4545 = fadd fast <4 x half> %4544, %4508 + %4546 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4545, <4 x half> , <4 x half> ) #4 + %4547 = fmul fast <4 x half> %4546, + %4548 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4547) #4 + %4549 = fmul fast <4 x half> %4548, + %4550 = fmul fast <4 x half> %4538, + %4551 = fadd fast <4 x half> %4550, %4549 + %4552 = fadd fast <4 x half> %4538, + %4553 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4551, <4 x half> %4552) #4 + %4554 = fmul fast <4 x half> %4553, %4529 + %4555 = fmul fast <4 x half> %4532, + %4556 = fadd fast <4 x half> %4554, %4555 + %4557 = fadd fast <4 x half> %4556, %4538 + %4558 = fmul fast <4 x half> %4538, %4539 + %4559 = fsub fast <4 x half> %4557, %4558 + %4560 = fmul fast <4 x half> %4559, %4559 + %4561 = fmul fast <4 x half> %4560, %4559 + %4562 = fmul fast <4 x half> %4561, + %4563 = fmul fast <4 x half> %4560, + %4564 = fadd fast <4 x half> %4563, %4559 + %4565 = fadd fast <4 x half> %4564, %4562 + %4566 = fmul fast <4 x half> %4565, %4509 + %4567 = fadd fast <4 x half> %4566, %4508 + %4568 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4567, <4 x half> , <4 x half> ) #4 + %4569 = fmul fast <4 x half> %4568, + %4570 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4569) #4 + %4571 = fmul fast <4 x half> %4570, + %4572 = fmul fast <4 x half> %4560, + %4573 = fadd fast <4 x half> %4572, %4571 + %4574 = fadd fast <4 x half> %4560, + %4575 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4573, <4 x half> %4574) #4 + %4576 = fmul fast <4 x half> %4575, %4529 + %4577 = fmul fast <4 x half> %4532, + %4578 = fadd fast <4 x half> %4576, %4577 + %4579 = fadd fast <4 x half> %4578, %4560 + %4580 = fmul fast <4 x half> %4560, %4561 + %4581 = fsub fast <4 x half> %4579, %4580 + %4582 = fmul fast <2 x float> %4510, + %4583 = fadd fast <2 x float> %4582, %1 + %4584 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4583, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4585 = extractvalue { <4 x half>, i8 } %4584, 0 + %4586 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4585, <4 x half> , <4 x half> %4581) #4 + br label %5354 + +4587: ; preds = %154, %4587 + %4588 = phi <4 x half> [ zeroinitializer, %154 ], [ %4645, %4587 ] + %4589 = phi i32 [ 0, %154 ], [ %4646, %4587 ] + %4590 = tail call fast float @air.convert.f.f32.u.i32(i32 %4589) #4 + %4591 = fadd fast float %4590, 6.250000e-01 + %4592 = insertelement <2 x float> undef, float %4591, i64 0 + %4593 = insertelement <2 x float> %4592, float 0.000000e+00, i64 1 + %4594 = fmul fast <2 x float> %4593, %156 + %4595 = fadd fast <2 x float> %4594, %1 + %4596 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4595, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4597 = extractvalue { <4 x half>, i8 } %4596, 0 + %4598 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4597, <4 x half> , <4 x half> %4588) #4 + %4599 = fneg fast float %4591 + %4600 = insertelement <2 x float> undef, float %4599, i64 0 + %4601 = insertelement <2 x float> %4600, float 0.000000e+00, i64 1 + %4602 = fmul fast <2 x float> %4601, %156 + %4603 = fadd fast <2 x float> %4602, %1 + %4604 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4603, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4605 = extractvalue { <4 x half>, i8 } %4604, 0 + %4606 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4605, <4 x half> , <4 x half> %4598) #4 + %4607 = insertelement <2 x float> , float %4591, i64 1 + %4608 = fmul fast <2 x float> %4607, %156 + %4609 = fadd fast <2 x float> %4608, %1 + %4610 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4609, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4611 = extractvalue { <4 x half>, i8 } %4610, 0 + %4612 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4611, <4 x half> , <4 x half> %4606) #4 + %4613 = insertelement <2 x float> , float %4599, i64 1 + %4614 = fmul fast <2 x float> %4613, %156 + %4615 = fadd fast <2 x float> %4614, %1 + %4616 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4615, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4617 = extractvalue { <4 x half>, i8 } %4616, 0 + %4618 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4617, <4 x half> , <4 x half> %4612) #4 + %4619 = shufflevector <2 x float> %4592, <2 x float> poison, <2 x i32> zeroinitializer + %4620 = fmul fast <2 x float> %4619, %156 + %4621 = fadd fast <2 x float> %4620, %1 + %4622 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4621, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4623 = extractvalue { <4 x half>, i8 } %4622, 0 + %4624 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4623, <4 x half> , <4 x half> %4618) #4 + %4625 = insertelement <2 x float> %4600, float %4591, i64 1 + %4626 = fmul fast <2 x float> %4625, %156 + %4627 = fadd fast <2 x float> %4626, %1 + %4628 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4627, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4629 = extractvalue { <4 x half>, i8 } %4628, 0 + %4630 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4629, <4 x half> , <4 x half> %4624) #4 + %4631 = insertelement <2 x float> %4592, float %4599, i64 1 + %4632 = fmul fast <2 x float> %4631, %156 + %4633 = fadd fast <2 x float> %4632, %1 + %4634 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4633, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4635 = extractvalue { <4 x half>, i8 } %4634, 0 + %4636 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4635, <4 x half> , <4 x half> %4630) #4 + %4637 = shufflevector <2 x float> %4600, <2 x float> poison, <2 x i32> zeroinitializer + %4638 = fmul fast <2 x float> %4637, %156 + %4639 = fadd fast <2 x float> %4638, %1 + %4640 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4639, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4641 = extractvalue { <4 x half>, i8 } %4640, 0 + %4642 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4641, <4 x half> , <4 x half> %4636) #4 + %4643 = fmul fast <4 x half> %4642, %160 + %4644 = fadd fast <4 x half> %4643, %164 + %4645 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4644, <4 x half> zeroinitializer, <4 x half> ) #4 + %4646 = add nuw i32 %4589, 1 + %4647 = icmp eq i32 %4646, %141 + br i1 %4647, label %4507, label %4587, !llvm.loop !74 + +4648: ; preds = %4728, %117 + %4649 = phi <4 x half> [ %127, %117 ], [ %138, %4728 ] + %4650 = phi <4 x half> [ %125, %117 ], [ %134, %4728 ] + %4651 = phi <2 x float> [ %123, %117 ], [ %130, %4728 ] + %4652 = phi <4 x half> [ zeroinitializer, %117 ], [ %4786, %4728 ] + %4653 = fmul fast <4 x half> %4652, %4652 + %4654 = fmul fast <4 x half> %4653, %4652 + %4655 = fmul fast <4 x half> %4654, + %4656 = fmul fast <4 x half> %4653, + %4657 = fadd fast <4 x half> %4656, %4652 + %4658 = fadd fast <4 x half> %4657, %4655 + %4659 = fmul fast <4 x half> %4658, %4650 + %4660 = fadd fast <4 x half> %4659, %4649 + %4661 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4660, <4 x half> , <4 x half> ) #4 + %4662 = fmul fast <4 x half> %4661, + %4663 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4662) #4 + %4664 = fmul fast <4 x half> %4663, + %4665 = fmul fast <4 x half> %4653, + %4666 = fadd fast <4 x half> %4664, %4665 + %4667 = fadd fast <4 x half> %4653, + %4668 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4666, <4 x half> %4667) #4 + %4669 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4670 = load <4 x half>, <4 x half> addrspace(2)* %4669, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4671 = fmul fast <4 x half> %4670, %4668 + %4672 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4673 = load <4 x half>, <4 x half> addrspace(2)* %4672, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4674 = fmul fast <4 x half> %4673, + %4675 = fmul fast <4 x half> %4653, %4654 + %4676 = fsub fast <4 x half> %4653, %4675 + %4677 = fadd fast <4 x half> %4676, %4671 + %4678 = fadd fast <4 x half> %4677, %4674 + %4679 = fmul fast <4 x half> %4678, %4678 + %4680 = fmul fast <4 x half> %4679, %4678 + %4681 = fmul fast <4 x half> %4680, + %4682 = fmul fast <4 x half> %4679, + %4683 = fadd fast <4 x half> %4682, %4678 + %4684 = fadd fast <4 x half> %4683, %4681 + %4685 = fmul fast <4 x half> %4684, %4650 + %4686 = fadd fast <4 x half> %4685, %4649 + %4687 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4686, <4 x half> , <4 x half> ) #4 + %4688 = fmul fast <4 x half> %4687, + %4689 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4688) #4 + %4690 = fmul fast <4 x half> %4689, + %4691 = fmul fast <4 x half> %4679, + %4692 = fadd fast <4 x half> %4691, %4690 + %4693 = fadd fast <4 x half> %4679, + %4694 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4692, <4 x half> %4693) #4 + %4695 = fmul fast <4 x half> %4694, %4670 + %4696 = fmul fast <4 x half> %4673, + %4697 = fadd fast <4 x half> %4695, %4696 + %4698 = fadd fast <4 x half> %4697, %4679 + %4699 = fmul fast <4 x half> %4679, %4680 + %4700 = fsub fast <4 x half> %4698, %4699 + %4701 = fmul fast <4 x half> %4700, %4700 + %4702 = fmul fast <4 x half> %4701, %4700 + %4703 = fmul fast <4 x half> %4702, + %4704 = fmul fast <4 x half> %4701, + %4705 = fadd fast <4 x half> %4704, %4700 + %4706 = fadd fast <4 x half> %4705, %4703 + %4707 = fmul fast <4 x half> %4706, %4650 + %4708 = fadd fast <4 x half> %4707, %4649 + %4709 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4708, <4 x half> , <4 x half> ) #4 + %4710 = fmul fast <4 x half> %4709, + %4711 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4710) #4 + %4712 = fmul fast <4 x half> %4711, + %4713 = fmul fast <4 x half> %4701, + %4714 = fadd fast <4 x half> %4713, %4712 + %4715 = fadd fast <4 x half> %4701, + %4716 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4714, <4 x half> %4715) #4 + %4717 = fmul fast <4 x half> %4716, %4670 + %4718 = fmul fast <4 x half> %4673, + %4719 = fadd fast <4 x half> %4717, %4718 + %4720 = fadd fast <4 x half> %4719, %4701 + %4721 = fmul fast <4 x half> %4701, %4702 + %4722 = fsub fast <4 x half> %4720, %4721 + %4723 = fmul fast <2 x float> %4651, + %4724 = fadd fast <2 x float> %4723, %1 + %4725 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4724, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4726 = extractvalue { <4 x half>, i8 } %4725, 0 + %4727 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4726, <4 x half> , <4 x half> %4722) #4 + br label %5354 + +4728: ; preds = %128, %4728 + %4729 = phi <4 x half> [ zeroinitializer, %128 ], [ %4786, %4728 ] + %4730 = phi i32 [ 0, %128 ], [ %4787, %4728 ] + %4731 = tail call fast float @air.convert.f.f32.u.i32(i32 %4730) #4 + %4732 = fadd fast float %4731, 7.500000e-01 + %4733 = insertelement <2 x float> undef, float %4732, i64 0 + %4734 = insertelement <2 x float> %4733, float 0.000000e+00, i64 1 + %4735 = fmul fast <2 x float> %4734, %130 + %4736 = fadd fast <2 x float> %4735, %1 + %4737 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4736, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4738 = extractvalue { <4 x half>, i8 } %4737, 0 + %4739 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4738, <4 x half> , <4 x half> %4729) #4 + %4740 = fneg fast float %4732 + %4741 = insertelement <2 x float> undef, float %4740, i64 0 + %4742 = insertelement <2 x float> %4741, float 0.000000e+00, i64 1 + %4743 = fmul fast <2 x float> %4742, %130 + %4744 = fadd fast <2 x float> %4743, %1 + %4745 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4744, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4746 = extractvalue { <4 x half>, i8 } %4745, 0 + %4747 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4746, <4 x half> , <4 x half> %4739) #4 + %4748 = insertelement <2 x float> , float %4732, i64 1 + %4749 = fmul fast <2 x float> %4748, %130 + %4750 = fadd fast <2 x float> %4749, %1 + %4751 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4750, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4752 = extractvalue { <4 x half>, i8 } %4751, 0 + %4753 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4752, <4 x half> , <4 x half> %4747) #4 + %4754 = insertelement <2 x float> , float %4740, i64 1 + %4755 = fmul fast <2 x float> %4754, %130 + %4756 = fadd fast <2 x float> %4755, %1 + %4757 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4756, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4758 = extractvalue { <4 x half>, i8 } %4757, 0 + %4759 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4758, <4 x half> , <4 x half> %4753) #4 + %4760 = shufflevector <2 x float> %4733, <2 x float> poison, <2 x i32> zeroinitializer + %4761 = fmul fast <2 x float> %4760, %130 + %4762 = fadd fast <2 x float> %4761, %1 + %4763 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4762, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4764 = extractvalue { <4 x half>, i8 } %4763, 0 + %4765 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4764, <4 x half> , <4 x half> %4759) #4 + %4766 = insertelement <2 x float> %4741, float %4732, i64 1 + %4767 = fmul fast <2 x float> %4766, %130 + %4768 = fadd fast <2 x float> %4767, %1 + %4769 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4768, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4770 = extractvalue { <4 x half>, i8 } %4769, 0 + %4771 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4770, <4 x half> , <4 x half> %4765) #4 + %4772 = insertelement <2 x float> %4733, float %4740, i64 1 + %4773 = fmul fast <2 x float> %4772, %130 + %4774 = fadd fast <2 x float> %4773, %1 + %4775 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4774, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4776 = extractvalue { <4 x half>, i8 } %4775, 0 + %4777 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4776, <4 x half> , <4 x half> %4771) #4 + %4778 = shufflevector <2 x float> %4741, <2 x float> poison, <2 x i32> zeroinitializer + %4779 = fmul fast <2 x float> %4778, %130 + %4780 = fadd fast <2 x float> %4779, %1 + %4781 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4780, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4782 = extractvalue { <4 x half>, i8 } %4781, 0 + %4783 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4782, <4 x half> , <4 x half> %4777) #4 + %4784 = fmul fast <4 x half> %4783, %134 + %4785 = fadd fast <4 x half> %4784, %138 + %4786 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4785, <4 x half> zeroinitializer, <4 x half> ) #4 + %4787 = add nuw i32 %4730, 1 + %4788 = icmp eq i32 %4787, %115 + br i1 %4788, label %4648, label %4728, !llvm.loop !75 + +4789: ; preds = %4869, %91 + %4790 = phi <4 x half> [ %101, %91 ], [ %112, %4869 ] + %4791 = phi <4 x half> [ %99, %91 ], [ %108, %4869 ] + %4792 = phi <2 x float> [ %97, %91 ], [ %104, %4869 ] + %4793 = phi <4 x half> [ zeroinitializer, %91 ], [ %4927, %4869 ] + %4794 = fmul fast <4 x half> %4793, %4793 + %4795 = fmul fast <4 x half> %4794, %4793 + %4796 = fmul fast <4 x half> %4795, + %4797 = fmul fast <4 x half> %4794, + %4798 = fadd fast <4 x half> %4797, %4793 + %4799 = fadd fast <4 x half> %4798, %4796 + %4800 = fmul fast <4 x half> %4799, %4791 + %4801 = fadd fast <4 x half> %4800, %4790 + %4802 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4801, <4 x half> , <4 x half> ) #4 + %4803 = fmul fast <4 x half> %4802, + %4804 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4803) #4 + %4805 = fmul fast <4 x half> %4804, + %4806 = fmul fast <4 x half> %4794, + %4807 = fadd fast <4 x half> %4805, %4806 + %4808 = fadd fast <4 x half> %4794, + %4809 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4807, <4 x half> %4808) #4 + %4810 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4811 = load <4 x half>, <4 x half> addrspace(2)* %4810, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4812 = fmul fast <4 x half> %4811, %4809 + %4813 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4814 = load <4 x half>, <4 x half> addrspace(2)* %4813, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4815 = fmul fast <4 x half> %4814, + %4816 = fmul fast <4 x half> %4794, %4795 + %4817 = fsub fast <4 x half> %4794, %4816 + %4818 = fadd fast <4 x half> %4817, %4812 + %4819 = fadd fast <4 x half> %4818, %4815 + %4820 = fmul fast <4 x half> %4819, %4819 + %4821 = fmul fast <4 x half> %4820, %4819 + %4822 = fmul fast <4 x half> %4821, + %4823 = fmul fast <4 x half> %4820, + %4824 = fadd fast <4 x half> %4823, %4819 + %4825 = fadd fast <4 x half> %4824, %4822 + %4826 = fmul fast <4 x half> %4825, %4791 + %4827 = fadd fast <4 x half> %4826, %4790 + %4828 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4827, <4 x half> , <4 x half> ) #4 + %4829 = fmul fast <4 x half> %4828, + %4830 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4829) #4 + %4831 = fmul fast <4 x half> %4830, + %4832 = fmul fast <4 x half> %4820, + %4833 = fadd fast <4 x half> %4832, %4831 + %4834 = fadd fast <4 x half> %4820, + %4835 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4833, <4 x half> %4834) #4 + %4836 = fmul fast <4 x half> %4835, %4811 + %4837 = fmul fast <4 x half> %4814, + %4838 = fadd fast <4 x half> %4836, %4837 + %4839 = fadd fast <4 x half> %4838, %4820 + %4840 = fmul fast <4 x half> %4820, %4821 + %4841 = fsub fast <4 x half> %4839, %4840 + %4842 = fmul fast <4 x half> %4841, %4841 + %4843 = fmul fast <4 x half> %4842, %4841 + %4844 = fmul fast <4 x half> %4843, + %4845 = fmul fast <4 x half> %4842, + %4846 = fadd fast <4 x half> %4845, %4841 + %4847 = fadd fast <4 x half> %4846, %4844 + %4848 = fmul fast <4 x half> %4847, %4791 + %4849 = fadd fast <4 x half> %4848, %4790 + %4850 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4849, <4 x half> , <4 x half> ) #4 + %4851 = fmul fast <4 x half> %4850, + %4852 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4851) #4 + %4853 = fmul fast <4 x half> %4852, + %4854 = fmul fast <4 x half> %4842, + %4855 = fadd fast <4 x half> %4854, %4853 + %4856 = fadd fast <4 x half> %4842, + %4857 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4855, <4 x half> %4856) #4 + %4858 = fmul fast <4 x half> %4857, %4811 + %4859 = fmul fast <4 x half> %4814, + %4860 = fadd fast <4 x half> %4858, %4859 + %4861 = fadd fast <4 x half> %4860, %4842 + %4862 = fmul fast <4 x half> %4842, %4843 + %4863 = fsub fast <4 x half> %4861, %4862 + %4864 = fmul fast <2 x float> %4792, + %4865 = fadd fast <2 x float> %4864, %1 + %4866 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4865, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4867 = extractvalue { <4 x half>, i8 } %4866, 0 + %4868 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4867, <4 x half> , <4 x half> %4863) #4 + br label %5354 + +4869: ; preds = %102, %4869 + %4870 = phi <4 x half> [ zeroinitializer, %102 ], [ %4927, %4869 ] + %4871 = phi i32 [ 0, %102 ], [ %4928, %4869 ] + %4872 = tail call fast float @air.convert.f.f32.u.i32(i32 %4871) #4 + %4873 = fadd fast float %4872, 8.750000e-01 + %4874 = insertelement <2 x float> undef, float %4873, i64 0 + %4875 = insertelement <2 x float> %4874, float 0.000000e+00, i64 1 + %4876 = fmul fast <2 x float> %4875, %104 + %4877 = fadd fast <2 x float> %4876, %1 + %4878 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4877, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4879 = extractvalue { <4 x half>, i8 } %4878, 0 + %4880 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4879, <4 x half> , <4 x half> %4870) #4 + %4881 = fneg fast float %4873 + %4882 = insertelement <2 x float> undef, float %4881, i64 0 + %4883 = insertelement <2 x float> %4882, float 0.000000e+00, i64 1 + %4884 = fmul fast <2 x float> %4883, %104 + %4885 = fadd fast <2 x float> %4884, %1 + %4886 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4885, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4887 = extractvalue { <4 x half>, i8 } %4886, 0 + %4888 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4887, <4 x half> , <4 x half> %4880) #4 + %4889 = insertelement <2 x float> , float %4873, i64 1 + %4890 = fmul fast <2 x float> %4889, %104 + %4891 = fadd fast <2 x float> %4890, %1 + %4892 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4891, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4893 = extractvalue { <4 x half>, i8 } %4892, 0 + %4894 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4893, <4 x half> , <4 x half> %4888) #4 + %4895 = insertelement <2 x float> , float %4881, i64 1 + %4896 = fmul fast <2 x float> %4895, %104 + %4897 = fadd fast <2 x float> %4896, %1 + %4898 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4897, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4899 = extractvalue { <4 x half>, i8 } %4898, 0 + %4900 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4899, <4 x half> , <4 x half> %4894) #4 + %4901 = shufflevector <2 x float> %4874, <2 x float> poison, <2 x i32> zeroinitializer + %4902 = fmul fast <2 x float> %4901, %104 + %4903 = fadd fast <2 x float> %4902, %1 + %4904 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4903, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4905 = extractvalue { <4 x half>, i8 } %4904, 0 + %4906 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4905, <4 x half> , <4 x half> %4900) #4 + %4907 = insertelement <2 x float> %4882, float %4873, i64 1 + %4908 = fmul fast <2 x float> %4907, %104 + %4909 = fadd fast <2 x float> %4908, %1 + %4910 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4909, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4911 = extractvalue { <4 x half>, i8 } %4910, 0 + %4912 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4911, <4 x half> , <4 x half> %4906) #4 + %4913 = insertelement <2 x float> %4874, float %4881, i64 1 + %4914 = fmul fast <2 x float> %4913, %104 + %4915 = fadd fast <2 x float> %4914, %1 + %4916 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4915, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4917 = extractvalue { <4 x half>, i8 } %4916, 0 + %4918 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4917, <4 x half> , <4 x half> %4912) #4 + %4919 = shufflevector <2 x float> %4882, <2 x float> poison, <2 x i32> zeroinitializer + %4920 = fmul fast <2 x float> %4919, %104 + %4921 = fadd fast <2 x float> %4920, %1 + %4922 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %4921, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4923 = extractvalue { <4 x half>, i8 } %4922, 0 + %4924 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4923, <4 x half> , <4 x half> %4918) #4 + %4925 = fmul fast <4 x half> %4924, %108 + %4926 = fadd fast <4 x half> %4925, %112 + %4927 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4926, <4 x half> zeroinitializer, <4 x half> ) #4 + %4928 = add nuw i32 %4871, 1 + %4929 = icmp eq i32 %4928, %89 + br i1 %4929, label %4789, label %4869, !llvm.loop !76 + +4930: ; preds = %5010, %65 + %4931 = phi <4 x half> [ %75, %65 ], [ %86, %5010 ] + %4932 = phi <4 x half> [ %73, %65 ], [ %82, %5010 ] + %4933 = phi <2 x float> [ %71, %65 ], [ %78, %5010 ] + %4934 = phi <4 x half> [ zeroinitializer, %65 ], [ %5068, %5010 ] + %4935 = fmul fast <4 x half> %4934, %4934 + %4936 = fmul fast <4 x half> %4935, %4934 + %4937 = fmul fast <4 x half> %4936, + %4938 = fmul fast <4 x half> %4935, + %4939 = fadd fast <4 x half> %4938, %4934 + %4940 = fadd fast <4 x half> %4939, %4937 + %4941 = fmul fast <4 x half> %4940, %4932 + %4942 = fadd fast <4 x half> %4941, %4931 + %4943 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4942, <4 x half> , <4 x half> ) #4 + %4944 = fmul fast <4 x half> %4943, + %4945 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4944) #4 + %4946 = fmul fast <4 x half> %4945, + %4947 = fmul fast <4 x half> %4935, + %4948 = fadd fast <4 x half> %4946, %4947 + %4949 = fadd fast <4 x half> %4935, + %4950 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4948, <4 x half> %4949) #4 + %4951 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %4952 = load <4 x half>, <4 x half> addrspace(2)* %4951, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4953 = fmul fast <4 x half> %4952, %4950 + %4954 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %4955 = load <4 x half>, <4 x half> addrspace(2)* %4954, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4956 = fmul fast <4 x half> %4955, + %4957 = fmul fast <4 x half> %4935, %4936 + %4958 = fsub fast <4 x half> %4935, %4957 + %4959 = fadd fast <4 x half> %4958, %4953 + %4960 = fadd fast <4 x half> %4959, %4956 + %4961 = fmul fast <4 x half> %4960, %4960 + %4962 = fmul fast <4 x half> %4961, %4960 + %4963 = fmul fast <4 x half> %4962, + %4964 = fmul fast <4 x half> %4961, + %4965 = fadd fast <4 x half> %4964, %4960 + %4966 = fadd fast <4 x half> %4965, %4963 + %4967 = fmul fast <4 x half> %4966, %4932 + %4968 = fadd fast <4 x half> %4967, %4931 + %4969 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4968, <4 x half> , <4 x half> ) #4 + %4970 = fmul fast <4 x half> %4969, + %4971 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4970) #4 + %4972 = fmul fast <4 x half> %4971, + %4973 = fmul fast <4 x half> %4961, + %4974 = fadd fast <4 x half> %4973, %4972 + %4975 = fadd fast <4 x half> %4961, + %4976 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4974, <4 x half> %4975) #4 + %4977 = fmul fast <4 x half> %4976, %4952 + %4978 = fmul fast <4 x half> %4955, + %4979 = fadd fast <4 x half> %4977, %4978 + %4980 = fadd fast <4 x half> %4979, %4961 + %4981 = fmul fast <4 x half> %4961, %4962 + %4982 = fsub fast <4 x half> %4980, %4981 + %4983 = fmul fast <4 x half> %4982, %4982 + %4984 = fmul fast <4 x half> %4983, %4982 + %4985 = fmul fast <4 x half> %4984, + %4986 = fmul fast <4 x half> %4983, + %4987 = fadd fast <4 x half> %4986, %4982 + %4988 = fadd fast <4 x half> %4987, %4985 + %4989 = fmul fast <4 x half> %4988, %4932 + %4990 = fadd fast <4 x half> %4989, %4931 + %4991 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4990, <4 x half> , <4 x half> ) #4 + %4992 = fmul fast <4 x half> %4991, + %4993 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4992) #4 + %4994 = fmul fast <4 x half> %4993, + %4995 = fmul fast <4 x half> %4983, + %4996 = fadd fast <4 x half> %4995, %4994 + %4997 = fadd fast <4 x half> %4983, + %4998 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4996, <4 x half> %4997) #4 + %4999 = fmul fast <4 x half> %4998, %4952 + %5000 = fmul fast <4 x half> %4955, + %5001 = fadd fast <4 x half> %4999, %5000 + %5002 = fadd fast <4 x half> %5001, %4983 + %5003 = fmul fast <4 x half> %4983, %4984 + %5004 = fsub fast <4 x half> %5002, %5003 + %5005 = fmul fast <2 x float> %4933, + %5006 = fadd fast <2 x float> %5005, %1 + %5007 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5006, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5008 = extractvalue { <4 x half>, i8 } %5007, 0 + %5009 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5008, <4 x half> , <4 x half> %5004) #4 + br label %5354 + +5010: ; preds = %76, %5010 + %5011 = phi i32 [ 0, %76 ], [ %5069, %5010 ] + %5012 = phi <4 x half> [ zeroinitializer, %76 ], [ %5068, %5010 ] + %5013 = tail call fast float @air.convert.f.f32.u.i32(i32 %5011) #4 + %5014 = fadd fast float %5013, 1.000000e+00 + %5015 = insertelement <2 x float> undef, float %5014, i64 0 + %5016 = insertelement <2 x float> %5015, float 0.000000e+00, i64 1 + %5017 = fmul fast <2 x float> %5016, %78 + %5018 = fadd fast <2 x float> %5017, %1 + %5019 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5018, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5020 = extractvalue { <4 x half>, i8 } %5019, 0 + %5021 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5020, <4 x half> , <4 x half> %5012) #4 + %5022 = fneg fast float %5014 + %5023 = insertelement <2 x float> undef, float %5022, i64 0 + %5024 = insertelement <2 x float> %5023, float 0.000000e+00, i64 1 + %5025 = fmul fast <2 x float> %5024, %78 + %5026 = fadd fast <2 x float> %5025, %1 + %5027 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5026, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5028 = extractvalue { <4 x half>, i8 } %5027, 0 + %5029 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5028, <4 x half> , <4 x half> %5021) #4 + %5030 = insertelement <2 x float> , float %5014, i64 1 + %5031 = fmul fast <2 x float> %5030, %78 + %5032 = fadd fast <2 x float> %5031, %1 + %5033 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5032, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5034 = extractvalue { <4 x half>, i8 } %5033, 0 + %5035 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5034, <4 x half> , <4 x half> %5029) #4 + %5036 = insertelement <2 x float> , float %5022, i64 1 + %5037 = fmul fast <2 x float> %5036, %78 + %5038 = fadd fast <2 x float> %5037, %1 + %5039 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5038, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5040 = extractvalue { <4 x half>, i8 } %5039, 0 + %5041 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5040, <4 x half> , <4 x half> %5035) #4 + %5042 = shufflevector <2 x float> %5015, <2 x float> poison, <2 x i32> zeroinitializer + %5043 = fmul fast <2 x float> %5042, %78 + %5044 = fadd fast <2 x float> %5043, %1 + %5045 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5044, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5046 = extractvalue { <4 x half>, i8 } %5045, 0 + %5047 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5046, <4 x half> , <4 x half> %5041) #4 + %5048 = insertelement <2 x float> %5023, float %5014, i64 1 + %5049 = fmul fast <2 x float> %5048, %78 + %5050 = fadd fast <2 x float> %5049, %1 + %5051 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5050, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5052 = extractvalue { <4 x half>, i8 } %5051, 0 + %5053 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5052, <4 x half> , <4 x half> %5047) #4 + %5054 = insertelement <2 x float> %5015, float %5022, i64 1 + %5055 = fmul fast <2 x float> %5054, %78 + %5056 = fadd fast <2 x float> %5055, %1 + %5057 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5056, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5058 = extractvalue { <4 x half>, i8 } %5057, 0 + %5059 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5058, <4 x half> , <4 x half> %5053) #4 + %5060 = shufflevector <2 x float> %5023, <2 x float> poison, <2 x i32> zeroinitializer + %5061 = fmul fast <2 x float> %5060, %78 + %5062 = fadd fast <2 x float> %5061, %1 + %5063 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5062, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5064 = extractvalue { <4 x half>, i8 } %5063, 0 + %5065 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5064, <4 x half> , <4 x half> %5059) #4 + %5066 = fmul fast <4 x half> %5065, %82 + %5067 = fadd fast <4 x half> %5066, %86 + %5068 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5067, <4 x half> zeroinitializer, <4 x half> ) #4 + %5069 = add nuw i32 %5011, 1 + %5070 = icmp eq i32 %5069, %63 + br i1 %5070, label %4930, label %5010, !llvm.loop !77 + +5071: ; preds = %5151, %39 + %5072 = phi <4 x half> [ %49, %39 ], [ %60, %5151 ] + %5073 = phi <4 x half> [ %47, %39 ], [ %56, %5151 ] + %5074 = phi <2 x float> [ %45, %39 ], [ %52, %5151 ] + %5075 = phi <4 x half> [ zeroinitializer, %39 ], [ %5209, %5151 ] + %5076 = fmul fast <4 x half> %5075, %5075 + %5077 = fmul fast <4 x half> %5076, %5075 + %5078 = fmul fast <4 x half> %5077, + %5079 = fmul fast <4 x half> %5076, + %5080 = fadd fast <4 x half> %5079, %5075 + %5081 = fadd fast <4 x half> %5080, %5078 + %5082 = fmul fast <4 x half> %5081, %5073 + %5083 = fadd fast <4 x half> %5082, %5072 + %5084 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5083, <4 x half> , <4 x half> ) #4 + %5085 = fmul fast <4 x half> %5084, + %5086 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5085) #4 + %5087 = fmul fast <4 x half> %5086, + %5088 = fmul fast <4 x half> %5076, + %5089 = fadd fast <4 x half> %5087, %5088 + %5090 = fadd fast <4 x half> %5076, + %5091 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5089, <4 x half> %5090) #4 + %5092 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %5093 = load <4 x half>, <4 x half> addrspace(2)* %5092, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5094 = fmul fast <4 x half> %5093, %5091 + %5095 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %5096 = load <4 x half>, <4 x half> addrspace(2)* %5095, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5097 = fmul fast <4 x half> %5096, + %5098 = fmul fast <4 x half> %5076, %5077 + %5099 = fsub fast <4 x half> %5076, %5098 + %5100 = fadd fast <4 x half> %5099, %5094 + %5101 = fadd fast <4 x half> %5100, %5097 + %5102 = fmul fast <4 x half> %5101, %5101 + %5103 = fmul fast <4 x half> %5102, %5101 + %5104 = fmul fast <4 x half> %5103, + %5105 = fmul fast <4 x half> %5102, + %5106 = fadd fast <4 x half> %5105, %5101 + %5107 = fadd fast <4 x half> %5106, %5104 + %5108 = fmul fast <4 x half> %5107, %5073 + %5109 = fadd fast <4 x half> %5108, %5072 + %5110 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5109, <4 x half> , <4 x half> ) #4 + %5111 = fmul fast <4 x half> %5110, + %5112 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5111) #4 + %5113 = fmul fast <4 x half> %5112, + %5114 = fmul fast <4 x half> %5102, + %5115 = fadd fast <4 x half> %5114, %5113 + %5116 = fadd fast <4 x half> %5102, + %5117 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5115, <4 x half> %5116) #4 + %5118 = fmul fast <4 x half> %5117, %5093 + %5119 = fmul fast <4 x half> %5096, + %5120 = fadd fast <4 x half> %5118, %5119 + %5121 = fadd fast <4 x half> %5120, %5102 + %5122 = fmul fast <4 x half> %5102, %5103 + %5123 = fsub fast <4 x half> %5121, %5122 + %5124 = fmul fast <4 x half> %5123, %5123 + %5125 = fmul fast <4 x half> %5124, %5123 + %5126 = fmul fast <4 x half> %5125, + %5127 = fmul fast <4 x half> %5124, + %5128 = fadd fast <4 x half> %5127, %5123 + %5129 = fadd fast <4 x half> %5128, %5126 + %5130 = fmul fast <4 x half> %5129, %5073 + %5131 = fadd fast <4 x half> %5130, %5072 + %5132 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5131, <4 x half> , <4 x half> ) #4 + %5133 = fmul fast <4 x half> %5132, + %5134 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5133) #4 + %5135 = fmul fast <4 x half> %5134, + %5136 = fmul fast <4 x half> %5124, + %5137 = fadd fast <4 x half> %5136, %5135 + %5138 = fadd fast <4 x half> %5124, + %5139 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5137, <4 x half> %5138) #4 + %5140 = fmul fast <4 x half> %5139, %5093 + %5141 = fmul fast <4 x half> %5096, + %5142 = fadd fast <4 x half> %5140, %5141 + %5143 = fadd fast <4 x half> %5142, %5124 + %5144 = fmul fast <4 x half> %5124, %5125 + %5145 = fsub fast <4 x half> %5143, %5144 + %5146 = fmul fast <2 x float> %5074, + %5147 = fadd fast <2 x float> %5146, %1 + %5148 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5147, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5149 = extractvalue { <4 x half>, i8 } %5148, 0 + %5150 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5149, <4 x half> , <4 x half> %5145) #4 + br label %5354 + +5151: ; preds = %50, %5151 + %5152 = phi i32 [ 0, %50 ], [ %5210, %5151 ] + %5153 = phi <4 x half> [ zeroinitializer, %50 ], [ %5209, %5151 ] + %5154 = tail call fast float @air.convert.f.f32.u.i32(i32 %5152) #4 + %5155 = fadd fast float %5154, 5.000000e-01 + %5156 = insertelement <2 x float> undef, float %5155, i64 0 + %5157 = insertelement <2 x float> %5156, float 0.000000e+00, i64 1 + %5158 = fmul fast <2 x float> %5157, %52 + %5159 = fadd fast <2 x float> %5158, %1 + %5160 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5159, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5161 = extractvalue { <4 x half>, i8 } %5160, 0 + %5162 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5161, <4 x half> , <4 x half> %5153) #4 + %5163 = fneg fast float %5155 + %5164 = insertelement <2 x float> undef, float %5163, i64 0 + %5165 = insertelement <2 x float> %5164, float 0.000000e+00, i64 1 + %5166 = fmul fast <2 x float> %5165, %52 + %5167 = fadd fast <2 x float> %5166, %1 + %5168 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5167, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5169 = extractvalue { <4 x half>, i8 } %5168, 0 + %5170 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5169, <4 x half> , <4 x half> %5162) #4 + %5171 = insertelement <2 x float> , float %5155, i64 1 + %5172 = fmul fast <2 x float> %5171, %52 + %5173 = fadd fast <2 x float> %5172, %1 + %5174 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5173, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5175 = extractvalue { <4 x half>, i8 } %5174, 0 + %5176 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5175, <4 x half> , <4 x half> %5170) #4 + %5177 = insertelement <2 x float> , float %5163, i64 1 + %5178 = fmul fast <2 x float> %5177, %52 + %5179 = fadd fast <2 x float> %5178, %1 + %5180 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5179, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5181 = extractvalue { <4 x half>, i8 } %5180, 0 + %5182 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5181, <4 x half> , <4 x half> %5176) #4 + %5183 = shufflevector <2 x float> %5156, <2 x float> poison, <2 x i32> zeroinitializer + %5184 = fmul fast <2 x float> %5183, %52 + %5185 = fadd fast <2 x float> %5184, %1 + %5186 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5185, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5187 = extractvalue { <4 x half>, i8 } %5186, 0 + %5188 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5187, <4 x half> , <4 x half> %5182) #4 + %5189 = insertelement <2 x float> %5164, float %5155, i64 1 + %5190 = fmul fast <2 x float> %5189, %52 + %5191 = fadd fast <2 x float> %5190, %1 + %5192 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5191, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5193 = extractvalue { <4 x half>, i8 } %5192, 0 + %5194 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5193, <4 x half> , <4 x half> %5188) #4 + %5195 = insertelement <2 x float> %5156, float %5163, i64 1 + %5196 = fmul fast <2 x float> %5195, %52 + %5197 = fadd fast <2 x float> %5196, %1 + %5198 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5197, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5199 = extractvalue { <4 x half>, i8 } %5198, 0 + %5200 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5199, <4 x half> , <4 x half> %5194) #4 + %5201 = shufflevector <2 x float> %5164, <2 x float> poison, <2 x i32> zeroinitializer + %5202 = fmul fast <2 x float> %5201, %52 + %5203 = fadd fast <2 x float> %5202, %1 + %5204 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5203, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5205 = extractvalue { <4 x half>, i8 } %5204, 0 + %5206 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5205, <4 x half> , <4 x half> %5200) #4 + %5207 = fmul fast <4 x half> %5206, %56 + %5208 = fadd fast <4 x half> %5207, %60 + %5209 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5208, <4 x half> zeroinitializer, <4 x half> ) #4 + %5210 = add nuw i32 %5152, 1 + %5211 = icmp eq i32 %5210, %37 + br i1 %5211, label %5071, label %5151, !llvm.loop !78 + +5212: ; preds = %5292, %13 + %5213 = phi <4 x half> [ %23, %13 ], [ %34, %5292 ] + %5214 = phi <4 x half> [ %21, %13 ], [ %30, %5292 ] + %5215 = phi <2 x float> [ %19, %13 ], [ %26, %5292 ] + %5216 = phi <4 x half> [ zeroinitializer, %13 ], [ %5350, %5292 ] + %5217 = fmul fast <4 x half> %5216, %5216 + %5218 = fmul fast <4 x half> %5217, %5216 + %5219 = fmul fast <4 x half> %5218, + %5220 = fmul fast <4 x half> %5217, + %5221 = fadd fast <4 x half> %5220, %5216 + %5222 = fadd fast <4 x half> %5221, %5219 + %5223 = fmul fast <4 x half> %5222, %5214 + %5224 = fadd fast <4 x half> %5223, %5213 + %5225 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5224, <4 x half> , <4 x half> ) #4 + %5226 = fmul fast <4 x half> %5225, + %5227 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5226) #4 + %5228 = fmul fast <4 x half> %5227, + %5229 = fmul fast <4 x half> %5217, + %5230 = fadd fast <4 x half> %5228, %5229 + %5231 = fadd fast <4 x half> %5217, + %5232 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5230, <4 x half> %5231) #4 + %5233 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 3 + %5234 = load <4 x half>, <4 x half> addrspace(2)* %5233, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5235 = fmul fast <4 x half> %5234, %5232 + %5236 = getelementptr inbounds %struct.HfbParams, %struct.HfbParams addrspace(2)* %4, i64 0, i32 4 + %5237 = load <4 x half>, <4 x half> addrspace(2)* %5236, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5238 = fmul fast <4 x half> %5237, + %5239 = fmul fast <4 x half> %5217, %5218 + %5240 = fsub fast <4 x half> %5217, %5239 + %5241 = fadd fast <4 x half> %5240, %5235 + %5242 = fadd fast <4 x half> %5241, %5238 + %5243 = fmul fast <4 x half> %5242, %5242 + %5244 = fmul fast <4 x half> %5243, %5242 + %5245 = fmul fast <4 x half> %5244, + %5246 = fmul fast <4 x half> %5243, + %5247 = fadd fast <4 x half> %5246, %5242 + %5248 = fadd fast <4 x half> %5247, %5245 + %5249 = fmul fast <4 x half> %5248, %5214 + %5250 = fadd fast <4 x half> %5249, %5213 + %5251 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5250, <4 x half> , <4 x half> ) #4 + %5252 = fmul fast <4 x half> %5251, + %5253 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5252) #4 + %5254 = fmul fast <4 x half> %5253, + %5255 = fmul fast <4 x half> %5243, + %5256 = fadd fast <4 x half> %5255, %5254 + %5257 = fadd fast <4 x half> %5243, + %5258 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5256, <4 x half> %5257) #4 + %5259 = fmul fast <4 x half> %5258, %5234 + %5260 = fmul fast <4 x half> %5237, + %5261 = fadd fast <4 x half> %5259, %5260 + %5262 = fadd fast <4 x half> %5261, %5243 + %5263 = fmul fast <4 x half> %5243, %5244 + %5264 = fsub fast <4 x half> %5262, %5263 + %5265 = fmul fast <4 x half> %5264, %5264 + %5266 = fmul fast <4 x half> %5265, %5264 + %5267 = fmul fast <4 x half> %5266, + %5268 = fmul fast <4 x half> %5265, + %5269 = fadd fast <4 x half> %5268, %5264 + %5270 = fadd fast <4 x half> %5269, %5267 + %5271 = fmul fast <4 x half> %5270, %5214 + %5272 = fadd fast <4 x half> %5271, %5213 + %5273 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5272, <4 x half> , <4 x half> ) #4 + %5274 = fmul fast <4 x half> %5273, + %5275 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5274) #4 + %5276 = fmul fast <4 x half> %5275, + %5277 = fmul fast <4 x half> %5265, + %5278 = fadd fast <4 x half> %5277, %5276 + %5279 = fadd fast <4 x half> %5265, + %5280 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5278, <4 x half> %5279) #4 + %5281 = fmul fast <4 x half> %5280, %5234 + %5282 = fmul fast <4 x half> %5237, + %5283 = fadd fast <4 x half> %5281, %5282 + %5284 = fadd fast <4 x half> %5283, %5265 + %5285 = fmul fast <4 x half> %5265, %5266 + %5286 = fsub fast <4 x half> %5284, %5285 + %5287 = fmul fast <2 x float> %5215, + %5288 = fadd fast <2 x float> %5287, %1 + %5289 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5288, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5290 = extractvalue { <4 x half>, i8 } %5289, 0 + %5291 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5290, <4 x half> , <4 x half> %5286) #4 + br label %5354 + +5292: ; preds = %24, %5292 + %5293 = phi i32 [ 0, %24 ], [ %5351, %5292 ] + %5294 = phi <4 x half> [ zeroinitializer, %24 ], [ %5350, %5292 ] + %5295 = tail call fast float @air.convert.f.f32.u.i32(i32 %5293) #4 + %5296 = fadd fast float %5295, 6.250000e-01 + %5297 = insertelement <2 x float> undef, float %5296, i64 0 + %5298 = insertelement <2 x float> %5297, float 0.000000e+00, i64 1 + %5299 = fmul fast <2 x float> %5298, %26 + %5300 = fadd fast <2 x float> %5299, %1 + %5301 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5300, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5302 = extractvalue { <4 x half>, i8 } %5301, 0 + %5303 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5302, <4 x half> , <4 x half> %5294) #4 + %5304 = fneg fast float %5296 + %5305 = insertelement <2 x float> undef, float %5304, i64 0 + %5306 = insertelement <2 x float> %5305, float 0.000000e+00, i64 1 + %5307 = fmul fast <2 x float> %5306, %26 + %5308 = fadd fast <2 x float> %5307, %1 + %5309 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5308, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5310 = extractvalue { <4 x half>, i8 } %5309, 0 + %5311 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5310, <4 x half> , <4 x half> %5303) #4 + %5312 = insertelement <2 x float> , float %5296, i64 1 + %5313 = fmul fast <2 x float> %5312, %26 + %5314 = fadd fast <2 x float> %5313, %1 + %5315 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5314, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5316 = extractvalue { <4 x half>, i8 } %5315, 0 + %5317 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5316, <4 x half> , <4 x half> %5311) #4 + %5318 = insertelement <2 x float> , float %5304, i64 1 + %5319 = fmul fast <2 x float> %5318, %26 + %5320 = fadd fast <2 x float> %5319, %1 + %5321 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5320, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5322 = extractvalue { <4 x half>, i8 } %5321, 0 + %5323 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5322, <4 x half> , <4 x half> %5317) #4 + %5324 = shufflevector <2 x float> %5297, <2 x float> poison, <2 x i32> zeroinitializer + %5325 = fmul fast <2 x float> %5324, %26 + %5326 = fadd fast <2 x float> %5325, %1 + %5327 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5326, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5328 = extractvalue { <4 x half>, i8 } %5327, 0 + %5329 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5328, <4 x half> , <4 x half> %5323) #4 + %5330 = insertelement <2 x float> %5305, float %5296, i64 1 + %5331 = fmul fast <2 x float> %5330, %26 + %5332 = fadd fast <2 x float> %5331, %1 + %5333 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5332, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5334 = extractvalue { <4 x half>, i8 } %5333, 0 + %5335 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5334, <4 x half> , <4 x half> %5329) #4 + %5336 = insertelement <2 x float> %5297, float %5304, i64 1 + %5337 = fmul fast <2 x float> %5336, %26 + %5338 = fadd fast <2 x float> %5337, %1 + %5339 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5338, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5340 = extractvalue { <4 x half>, i8 } %5339, 0 + %5341 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5340, <4 x half> , <4 x half> %5335) #4 + %5342 = shufflevector <2 x float> %5305, <2 x float> poison, <2 x i32> zeroinitializer + %5343 = fmul fast <2 x float> %5342, %26 + %5344 = fadd fast <2 x float> %5343, %1 + %5345 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %2, %struct._sampler_t addrspace(2)* nocapture readonly %3, <2 x float> %5344, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5346 = extractvalue { <4 x half>, i8 } %5345, 0 + %5347 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5346, <4 x half> , <4 x half> %5341) #4 + %5348 = fmul fast <4 x half> %5347, %30 + %5349 = fadd fast <4 x half> %5348, %34 + %5350 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5349, <4 x half> zeroinitializer, <4 x half> ) #4 + %5351 = add nuw i32 %5293, 1 + %5352 = icmp eq i32 %5351, %11 + br i1 %5352, label %5212, label %5292, !llvm.loop !79 + +5353: ; preds = %5 + unreachable + +5354: ; preds = %5212, %5071, %4930, %4789, %4648, %4507, %4366, %4225, %4084, %3943, %3802, %3661, %3520, %3379, %3238, %3097, %2956, %2815, %2674, %2533, %2392, %2251, %2110, %1969, %1828, %1687, %1546, %1405, %1264, %1123, %982, %841 + %5355 = phi <4 x half> [ %5291, %5212 ], [ %5150, %5071 ], [ %5009, %4930 ], [ %4868, %4789 ], [ %4727, %4648 ], [ %4586, %4507 ], [ %4445, %4366 ], [ %4304, %4225 ], [ %4163, %4084 ], [ %4022, %3943 ], [ %3881, %3802 ], [ %3740, %3661 ], [ %3599, %3520 ], [ %3458, %3379 ], [ %3317, %3238 ], [ %3176, %3097 ], [ %3035, %2956 ], [ %2894, %2815 ], [ %2753, %2674 ], [ %2612, %2533 ], [ %2471, %2392 ], [ %2330, %2251 ], [ %2189, %2110 ], [ %2048, %1969 ], [ %1907, %1828 ], [ %1766, %1687 ], [ %1625, %1546 ], [ %1484, %1405 ], [ %1343, %1264 ], [ %1202, %1123 ], [ %1061, %982 ], [ %920, %841 ] + ret <4 x half> %5355 +} + +; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn +declare float @air.convert.f.f32.u.i32(i32) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn +declare <4 x half> @air.fma.v4f16(<4 x half>, <4 x half>, <4 x half>) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn +declare <4 x half> @air.clamp.v4f16(<4 x half>, <4 x half>, <4 x half>) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn +declare <4 x half> @air.floor.v4f16(<4 x half>) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn +declare <4 x half> @air.fmax.v4f16(<4 x half>, <4 x half>) local_unnamed_addr #2 + +; Function Attrs: argmemonly convergent mustprogress nofree nounwind readonly willreturn +declare { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly, %struct._sampler_t addrspace(2)* nocapture readonly, <2 x float>, i1, <2 x i32>, i1, float, float, i32) local_unnamed_addr #3 + +attributes #0 = { mustprogress nofree norecurse nosync nounwind readnone willreturn "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" } +attributes #1 = { convergent mustprogress nofree nounwind readonly willreturn "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" } +attributes #2 = { mustprogress nofree nosync nounwind readnone willreturn } +attributes #3 = { argmemonly convergent mustprogress nofree nounwind readonly willreturn } +attributes #4 = { nounwind readnone willreturn } +attributes #5 = { argmemonly convergent nounwind readonly willreturn } + +!llvm.module.flags = !{!0, !1, !2, !3, !4, !5, !6, !7, !8} +!air.vertex = !{!9} +!air.fragment = !{!15} +!air.compile_options = !{!25, !26, !27} +!llvm.ident = !{!28} +!air.version = !{!29} +!air.language_version = !{!30} + +!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 27, i32 0]} +!1 = !{i32 1, !"wchar_size", i32 4} +!2 = !{i32 7, !"frame-pointer", i32 2} +!3 = !{i32 7, !"air.max_device_buffers", i32 31} +!4 = !{i32 7, !"air.max_constant_buffers", i32 31} +!5 = !{i32 7, !"air.max_threadgroup_buffers", i32 31} +!6 = !{i32 7, !"air.max_textures", i32 128} +!7 = !{i32 7, !"air.max_read_write_textures", i32 8} +!8 = !{i32 7, !"air.max_samplers", i32 16} +!9 = !{<{ <4 x float>, <2 x float> }> (i32)* @hfb_quad, !10, !13} +!10 = !{!11, !12} +!11 = !{!"air.position", !"air.arg_type_name", !"float4", !"air.arg_name", !"position"} +!12 = !{!"air.vertex_output", !"generated(2uvDv2_f)", !"air.arg_type_name", !"float2", !"air.arg_name", !"uv"} +!13 = !{!14} +!14 = !{i32 0, !"air.vertex_id", !"air.arg_type_name", !"uint", !"air.arg_name", !"vid"} +!15 = !{<4 x half> (<4 x float>, <2 x float>, %struct._texture_2d_t addrspace(1)*, %struct._sampler_t addrspace(2)*, %struct.HfbParams addrspace(2)*)* @hfb_filter_bank, !16, !18} +!16 = !{!17} +!17 = !{!"air.render_target", i32 0, i32 0, !"air.arg_type_name", !"half4"} +!18 = !{!19, !20, !21, !22, !23} +!19 = !{i32 0, !"air.position", !"air.center", !"air.no_perspective", !"air.arg_type_name", !"float4", !"air.arg_name", !"position", !"air.arg_unused"} +!20 = !{i32 1, !"air.fragment_input", !"generated(2uvDv2_f)", !"air.center", !"air.perspective", !"air.arg_type_name", !"float2", !"air.arg_name", !"uv"} +!21 = !{i32 2, !"air.texture", !"air.location_index", i32 0, i32 1, !"air.sample", !"air.arg_type_name", !"texture2d", !"air.arg_name", !"src"} +!22 = !{i32 3, !"air.sampler", !"air.location_index", i32 0, i32 1, !"air.arg_type_name", !"sampler", !"air.arg_name", !"smp"} +!23 = !{i32 4, !"air.buffer", !"air.buffer_size", i32 40, !"air.location_index", i32 0, i32 1, !"air.read", !"air.address_space", i32 2, !"air.struct_type_info", !24, !"air.arg_type_size", i32 40, !"air.arg_type_align_size", i32 8, !"air.arg_type_name", !"HfbParams", !"air.arg_name", !"p"} +!24 = !{i32 0, i32 4, i32 0, !"uint", !"mode", i32 4, i32 4, i32 0, !"uint", !"taps", i32 8, i32 8, i32 0, !"float2", !"texel", i32 16, i32 8, i32 0, !"half4", !"tint", i32 24, i32 8, i32 0, !"half4", !"lift", i32 32, i32 2, i32 0, !"half", !"gain", i32 34, i32 2, i32 0, !"half", !"bias"} +!25 = !{!"air.compile.denorms_disable"} +!26 = !{!"air.compile.fast_math_enable"} +!27 = !{!"air.compile.framebuffer_fetch_enable"} +!28 = !{!"Apple metal version 32023.921 (metalfe-32023.921.6)"} +!29 = !{i32 2, i32 8, i32 0} +!30 = !{!"Metal", i32 4, i32 0, i32 0} +!31 = !{!32, !33, i64 0} +!32 = !{!"_ZTS9HfbParams", !33, i64 0, !33, i64 4, !34, i64 8, !34, i64 16, !34, i64 24, !36, i64 32, !36, i64 34} +!33 = !{!"int", !34, i64 0} +!34 = !{!"omnipotent char", !35, i64 0} +!35 = !{!"Simple C++ TBAA"} +!36 = !{!"half", !34, i64 0} +!37 = !{!38} +!38 = distinct !{!38, !39, !"air-alias-scope-arg(4)"} +!39 = distinct !{!39, !"air-alias-scopes(hfb_filter_bank)"} +!40 = !{!41, !42} +!41 = distinct !{!41, !39, !"air-alias-scope-textures"} +!42 = distinct !{!42, !39, !"air-alias-scope-samplers"} +!43 = !{!32, !33, i64 4} +!44 = !{!32, !36, i64 32} +!45 = !{!32, !36, i64 34} +!46 = !{!34, !34, i64 0} +!47 = distinct !{!47, !48} +!48 = !{!"llvm.loop.mustprogress"} +!49 = distinct !{!49, !48} +!50 = distinct !{!50, !48} +!51 = distinct !{!51, !48} +!52 = distinct !{!52, !48} +!53 = distinct !{!53, !48} +!54 = distinct !{!54, !48} +!55 = distinct !{!55, !48} +!56 = distinct !{!56, !48} +!57 = distinct !{!57, !48} +!58 = distinct !{!58, !48} +!59 = distinct !{!59, !48} +!60 = distinct !{!60, !48} +!61 = distinct !{!61, !48} +!62 = distinct !{!62, !48} +!63 = distinct !{!63, !48} +!64 = distinct !{!64, !48} +!65 = distinct !{!65, !48} +!66 = distinct !{!66, !48} +!67 = distinct !{!67, !48} +!68 = distinct !{!68, !48} +!69 = distinct !{!69, !48} +!70 = distinct !{!70, !48} +!71 = distinct !{!71, !48} +!72 = distinct !{!72, !48} +!73 = distinct !{!73, !48} +!74 = distinct !{!74, !48} +!75 = distinct !{!75, !48} +!76 = distinct !{!76, !48} +!77 = distinct !{!77, !48} +!78 = distinct !{!78, !48} +!79 = distinct !{!79, !48} diff --git a/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.ll b/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.ll new file mode 100644 index 000000000..df6d03986 --- /dev/null +++ b/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.ll @@ -0,0 +1,5850 @@ +; Generated by scripts/regen-air-fixtures from hfb_filter_bank.metal (llvm-dis of hfb_filter_bank.air). Do not edit. +; ModuleID = '' +source_filename = "-" +target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32" +target triple = "air64_v28-apple-macosx26.0.0" + +%struct.HfbParams = type { i32, i32, <2 x float>, <4 x half>, <4 x half>, half, half } + +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) +define <{ <4 x float>, <2 x float> }> @hfb_quad(i32 noundef %0) local_unnamed_addr #0 { + %2 = icmp eq i32 %0, 1 + %3 = select fast i1 %2, float 2.000000e+00, float 0.000000e+00 + %4 = insertelement <2 x float> undef, float %3, i64 0 + %5 = icmp eq i32 %0, 2 + %6 = select fast i1 %5, float 2.000000e+00, float 0.000000e+00 + %7 = insertelement <2 x float> %4, float %6, i64 1 + %8 = fmul fast <2 x float> %7, splat (float 2.000000e+00) + %9 = fadd fast <2 x float> %8, splat (float -1.000000e+00) + %10 = shufflevector <2 x float> %9, <2 x float> poison, <4 x i32> + %11 = shufflevector <4 x float> %10, <4 x float> , <4 x i32> + %12 = insertvalue <{ <4 x float>, <2 x float> }> undef, <4 x float> %11, 0 + %13 = insertvalue <{ <4 x float>, <2 x float> }> %12, <2 x float> %7, 1 + ret <{ <4 x float>, <2 x float> }> %13 +} + +; Function Attrs: convergent mustprogress nofree nounwind willreturn memory(read) +define <4 x half> @hfb_filter_bank(<4 x float> %0, <2 x float> %1, ptr addrspace(1) %2, ptr addrspace(2) readonly %3, ptr addrspace(2) noundef readonly align 8 dereferenceable(40) "air-buffer-no-alias" %4) local_unnamed_addr #1 { + %6 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 0 + %7 = load i32, ptr addrspace(2) %6, align 8, !tbaa !31, !alias.scope !37, !noalias !40 + %8 = and i32 %7, 31 + switch i32 %8, label %5353 [ + i32 0, label %815 + i32 1, label %789 + i32 2, label %763 + i32 3, label %737 + i32 4, label %711 + i32 5, label %685 + i32 6, label %659 + i32 7, label %633 + i32 8, label %607 + i32 9, label %581 + i32 10, label %555 + i32 11, label %529 + i32 12, label %503 + i32 13, label %477 + i32 14, label %451 + i32 15, label %425 + i32 16, label %399 + i32 17, label %373 + i32 18, label %347 + i32 19, label %321 + i32 20, label %295 + i32 21, label %269 + i32 22, label %243 + i32 23, label %217 + i32 24, label %191 + i32 25, label %165 + i32 26, label %139 + i32 27, label %113 + i32 28, label %87 + i32 29, label %61 + i32 30, label %35 + i32 31, label %9 + ] + +9: ; preds = %5 + %10 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %11 = load i32, ptr addrspace(2) %10, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %12 = icmp eq i32 %11, 0 + br i1 %12, label %13, label %24 + +13: ; preds = %9 + %14 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %15 = load half, ptr addrspace(2) %14, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %16 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %17 = load half, ptr addrspace(2) %16, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %18 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %19 = load <2 x float>, ptr addrspace(2) %18, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %20 = insertelement <4 x half> poison, half %15, i64 0 + %21 = shufflevector <4 x half> %20, <4 x half> poison, <4 x i32> zeroinitializer + %22 = insertelement <4 x half> poison, half %17, i64 0 + %23 = shufflevector <4 x half> %22, <4 x half> poison, <4 x i32> zeroinitializer + br label %5212 + +24: ; preds = %9 + %25 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %26 = load <2 x float>, ptr addrspace(2) %25, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %27 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %28 = load half, ptr addrspace(2) %27, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %29 = insertelement <4 x half> poison, half %28, i64 0 + %30 = shufflevector <4 x half> %29, <4 x half> poison, <4 x i32> zeroinitializer + %31 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %32 = load half, ptr addrspace(2) %31, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %33 = insertelement <4 x half> poison, half %32, i64 0 + %34 = shufflevector <4 x half> %33, <4 x half> poison, <4 x i32> zeroinitializer + br label %5292 + +35: ; preds = %5 + %36 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %37 = load i32, ptr addrspace(2) %36, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %38 = icmp eq i32 %37, 0 + br i1 %38, label %39, label %50 + +39: ; preds = %35 + %40 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %41 = load half, ptr addrspace(2) %40, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %42 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %43 = load half, ptr addrspace(2) %42, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %44 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %45 = load <2 x float>, ptr addrspace(2) %44, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %46 = insertelement <4 x half> poison, half %41, i64 0 + %47 = shufflevector <4 x half> %46, <4 x half> poison, <4 x i32> zeroinitializer + %48 = insertelement <4 x half> poison, half %43, i64 0 + %49 = shufflevector <4 x half> %48, <4 x half> poison, <4 x i32> zeroinitializer + br label %5071 + +50: ; preds = %35 + %51 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %52 = load <2 x float>, ptr addrspace(2) %51, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %53 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %54 = load half, ptr addrspace(2) %53, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %55 = insertelement <4 x half> poison, half %54, i64 0 + %56 = shufflevector <4 x half> %55, <4 x half> poison, <4 x i32> zeroinitializer + %57 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %58 = load half, ptr addrspace(2) %57, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %59 = insertelement <4 x half> poison, half %58, i64 0 + %60 = shufflevector <4 x half> %59, <4 x half> poison, <4 x i32> zeroinitializer + br label %5151 + +61: ; preds = %5 + %62 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %63 = load i32, ptr addrspace(2) %62, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %64 = icmp eq i32 %63, 0 + br i1 %64, label %65, label %76 + +65: ; preds = %61 + %66 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %67 = load half, ptr addrspace(2) %66, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %68 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %69 = load half, ptr addrspace(2) %68, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %70 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %71 = load <2 x float>, ptr addrspace(2) %70, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %72 = insertelement <4 x half> poison, half %67, i64 0 + %73 = shufflevector <4 x half> %72, <4 x half> poison, <4 x i32> zeroinitializer + %74 = insertelement <4 x half> poison, half %69, i64 0 + %75 = shufflevector <4 x half> %74, <4 x half> poison, <4 x i32> zeroinitializer + br label %4930 + +76: ; preds = %61 + %77 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %78 = load <2 x float>, ptr addrspace(2) %77, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %79 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %80 = load half, ptr addrspace(2) %79, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %81 = insertelement <4 x half> poison, half %80, i64 0 + %82 = shufflevector <4 x half> %81, <4 x half> poison, <4 x i32> zeroinitializer + %83 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %84 = load half, ptr addrspace(2) %83, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %85 = insertelement <4 x half> poison, half %84, i64 0 + %86 = shufflevector <4 x half> %85, <4 x half> poison, <4 x i32> zeroinitializer + br label %5010 + +87: ; preds = %5 + %88 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %89 = load i32, ptr addrspace(2) %88, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %90 = icmp eq i32 %89, 0 + br i1 %90, label %91, label %102 + +91: ; preds = %87 + %92 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %93 = load half, ptr addrspace(2) %92, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %94 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %95 = load half, ptr addrspace(2) %94, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %96 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %97 = load <2 x float>, ptr addrspace(2) %96, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %98 = insertelement <4 x half> poison, half %93, i64 0 + %99 = shufflevector <4 x half> %98, <4 x half> poison, <4 x i32> zeroinitializer + %100 = insertelement <4 x half> poison, half %95, i64 0 + %101 = shufflevector <4 x half> %100, <4 x half> poison, <4 x i32> zeroinitializer + br label %4789 + +102: ; preds = %87 + %103 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %104 = load <2 x float>, ptr addrspace(2) %103, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %105 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %106 = load half, ptr addrspace(2) %105, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %107 = insertelement <4 x half> poison, half %106, i64 0 + %108 = shufflevector <4 x half> %107, <4 x half> poison, <4 x i32> zeroinitializer + %109 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %110 = load half, ptr addrspace(2) %109, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %111 = insertelement <4 x half> poison, half %110, i64 0 + %112 = shufflevector <4 x half> %111, <4 x half> poison, <4 x i32> zeroinitializer + br label %4869 + +113: ; preds = %5 + %114 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %115 = load i32, ptr addrspace(2) %114, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %116 = icmp eq i32 %115, 0 + br i1 %116, label %117, label %128 + +117: ; preds = %113 + %118 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %119 = load half, ptr addrspace(2) %118, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %120 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %121 = load half, ptr addrspace(2) %120, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %122 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %123 = load <2 x float>, ptr addrspace(2) %122, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %124 = insertelement <4 x half> poison, half %119, i64 0 + %125 = shufflevector <4 x half> %124, <4 x half> poison, <4 x i32> zeroinitializer + %126 = insertelement <4 x half> poison, half %121, i64 0 + %127 = shufflevector <4 x half> %126, <4 x half> poison, <4 x i32> zeroinitializer + br label %4648 + +128: ; preds = %113 + %129 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %130 = load <2 x float>, ptr addrspace(2) %129, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %131 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %132 = load half, ptr addrspace(2) %131, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %133 = insertelement <4 x half> poison, half %132, i64 0 + %134 = shufflevector <4 x half> %133, <4 x half> poison, <4 x i32> zeroinitializer + %135 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %136 = load half, ptr addrspace(2) %135, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %137 = insertelement <4 x half> poison, half %136, i64 0 + %138 = shufflevector <4 x half> %137, <4 x half> poison, <4 x i32> zeroinitializer + br label %4728 + +139: ; preds = %5 + %140 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %141 = load i32, ptr addrspace(2) %140, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %142 = icmp eq i32 %141, 0 + br i1 %142, label %143, label %154 + +143: ; preds = %139 + %144 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %145 = load half, ptr addrspace(2) %144, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %146 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %147 = load half, ptr addrspace(2) %146, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %148 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %149 = load <2 x float>, ptr addrspace(2) %148, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %150 = insertelement <4 x half> poison, half %145, i64 0 + %151 = shufflevector <4 x half> %150, <4 x half> poison, <4 x i32> zeroinitializer + %152 = insertelement <4 x half> poison, half %147, i64 0 + %153 = shufflevector <4 x half> %152, <4 x half> poison, <4 x i32> zeroinitializer + br label %4507 + +154: ; preds = %139 + %155 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %156 = load <2 x float>, ptr addrspace(2) %155, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %157 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %158 = load half, ptr addrspace(2) %157, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %159 = insertelement <4 x half> poison, half %158, i64 0 + %160 = shufflevector <4 x half> %159, <4 x half> poison, <4 x i32> zeroinitializer + %161 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %162 = load half, ptr addrspace(2) %161, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %163 = insertelement <4 x half> poison, half %162, i64 0 + %164 = shufflevector <4 x half> %163, <4 x half> poison, <4 x i32> zeroinitializer + br label %4587 + +165: ; preds = %5 + %166 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %167 = load i32, ptr addrspace(2) %166, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %168 = icmp eq i32 %167, 0 + br i1 %168, label %169, label %180 + +169: ; preds = %165 + %170 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %171 = load half, ptr addrspace(2) %170, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %172 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %173 = load half, ptr addrspace(2) %172, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %174 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %175 = load <2 x float>, ptr addrspace(2) %174, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %176 = insertelement <4 x half> poison, half %171, i64 0 + %177 = shufflevector <4 x half> %176, <4 x half> poison, <4 x i32> zeroinitializer + %178 = insertelement <4 x half> poison, half %173, i64 0 + %179 = shufflevector <4 x half> %178, <4 x half> poison, <4 x i32> zeroinitializer + br label %4366 + +180: ; preds = %165 + %181 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %182 = load <2 x float>, ptr addrspace(2) %181, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %183 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %184 = load half, ptr addrspace(2) %183, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %185 = insertelement <4 x half> poison, half %184, i64 0 + %186 = shufflevector <4 x half> %185, <4 x half> poison, <4 x i32> zeroinitializer + %187 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %188 = load half, ptr addrspace(2) %187, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %189 = insertelement <4 x half> poison, half %188, i64 0 + %190 = shufflevector <4 x half> %189, <4 x half> poison, <4 x i32> zeroinitializer + br label %4446 + +191: ; preds = %5 + %192 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %193 = load i32, ptr addrspace(2) %192, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %194 = icmp eq i32 %193, 0 + br i1 %194, label %195, label %206 + +195: ; preds = %191 + %196 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %197 = load half, ptr addrspace(2) %196, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %198 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %199 = load half, ptr addrspace(2) %198, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %200 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %201 = load <2 x float>, ptr addrspace(2) %200, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %202 = insertelement <4 x half> poison, half %197, i64 0 + %203 = shufflevector <4 x half> %202, <4 x half> poison, <4 x i32> zeroinitializer + %204 = insertelement <4 x half> poison, half %199, i64 0 + %205 = shufflevector <4 x half> %204, <4 x half> poison, <4 x i32> zeroinitializer + br label %4225 + +206: ; preds = %191 + %207 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %208 = load <2 x float>, ptr addrspace(2) %207, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %209 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %210 = load half, ptr addrspace(2) %209, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %211 = insertelement <4 x half> poison, half %210, i64 0 + %212 = shufflevector <4 x half> %211, <4 x half> poison, <4 x i32> zeroinitializer + %213 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %214 = load half, ptr addrspace(2) %213, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %215 = insertelement <4 x half> poison, half %214, i64 0 + %216 = shufflevector <4 x half> %215, <4 x half> poison, <4 x i32> zeroinitializer + br label %4305 + +217: ; preds = %5 + %218 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %219 = load i32, ptr addrspace(2) %218, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %220 = icmp eq i32 %219, 0 + br i1 %220, label %221, label %232 + +221: ; preds = %217 + %222 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %223 = load half, ptr addrspace(2) %222, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %224 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %225 = load half, ptr addrspace(2) %224, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %226 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %227 = load <2 x float>, ptr addrspace(2) %226, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %228 = insertelement <4 x half> poison, half %223, i64 0 + %229 = shufflevector <4 x half> %228, <4 x half> poison, <4 x i32> zeroinitializer + %230 = insertelement <4 x half> poison, half %225, i64 0 + %231 = shufflevector <4 x half> %230, <4 x half> poison, <4 x i32> zeroinitializer + br label %4084 + +232: ; preds = %217 + %233 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %234 = load <2 x float>, ptr addrspace(2) %233, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %235 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %236 = load half, ptr addrspace(2) %235, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %237 = insertelement <4 x half> poison, half %236, i64 0 + %238 = shufflevector <4 x half> %237, <4 x half> poison, <4 x i32> zeroinitializer + %239 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %240 = load half, ptr addrspace(2) %239, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %241 = insertelement <4 x half> poison, half %240, i64 0 + %242 = shufflevector <4 x half> %241, <4 x half> poison, <4 x i32> zeroinitializer + br label %4164 + +243: ; preds = %5 + %244 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %245 = load i32, ptr addrspace(2) %244, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %246 = icmp eq i32 %245, 0 + br i1 %246, label %247, label %258 + +247: ; preds = %243 + %248 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %249 = load half, ptr addrspace(2) %248, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %250 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %251 = load half, ptr addrspace(2) %250, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %252 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %253 = load <2 x float>, ptr addrspace(2) %252, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %254 = insertelement <4 x half> poison, half %249, i64 0 + %255 = shufflevector <4 x half> %254, <4 x half> poison, <4 x i32> zeroinitializer + %256 = insertelement <4 x half> poison, half %251, i64 0 + %257 = shufflevector <4 x half> %256, <4 x half> poison, <4 x i32> zeroinitializer + br label %3943 + +258: ; preds = %243 + %259 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %260 = load <2 x float>, ptr addrspace(2) %259, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %261 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %262 = load half, ptr addrspace(2) %261, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %263 = insertelement <4 x half> poison, half %262, i64 0 + %264 = shufflevector <4 x half> %263, <4 x half> poison, <4 x i32> zeroinitializer + %265 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %266 = load half, ptr addrspace(2) %265, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %267 = insertelement <4 x half> poison, half %266, i64 0 + %268 = shufflevector <4 x half> %267, <4 x half> poison, <4 x i32> zeroinitializer + br label %4023 + +269: ; preds = %5 + %270 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %271 = load i32, ptr addrspace(2) %270, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %272 = icmp eq i32 %271, 0 + br i1 %272, label %273, label %284 + +273: ; preds = %269 + %274 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %275 = load half, ptr addrspace(2) %274, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %276 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %277 = load half, ptr addrspace(2) %276, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %278 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %279 = load <2 x float>, ptr addrspace(2) %278, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %280 = insertelement <4 x half> poison, half %275, i64 0 + %281 = shufflevector <4 x half> %280, <4 x half> poison, <4 x i32> zeroinitializer + %282 = insertelement <4 x half> poison, half %277, i64 0 + %283 = shufflevector <4 x half> %282, <4 x half> poison, <4 x i32> zeroinitializer + br label %3802 + +284: ; preds = %269 + %285 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %286 = load <2 x float>, ptr addrspace(2) %285, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %287 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %288 = load half, ptr addrspace(2) %287, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %289 = insertelement <4 x half> poison, half %288, i64 0 + %290 = shufflevector <4 x half> %289, <4 x half> poison, <4 x i32> zeroinitializer + %291 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %292 = load half, ptr addrspace(2) %291, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %293 = insertelement <4 x half> poison, half %292, i64 0 + %294 = shufflevector <4 x half> %293, <4 x half> poison, <4 x i32> zeroinitializer + br label %3882 + +295: ; preds = %5 + %296 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %297 = load i32, ptr addrspace(2) %296, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %298 = icmp eq i32 %297, 0 + br i1 %298, label %299, label %310 + +299: ; preds = %295 + %300 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %301 = load half, ptr addrspace(2) %300, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %302 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %303 = load half, ptr addrspace(2) %302, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %304 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %305 = load <2 x float>, ptr addrspace(2) %304, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %306 = insertelement <4 x half> poison, half %301, i64 0 + %307 = shufflevector <4 x half> %306, <4 x half> poison, <4 x i32> zeroinitializer + %308 = insertelement <4 x half> poison, half %303, i64 0 + %309 = shufflevector <4 x half> %308, <4 x half> poison, <4 x i32> zeroinitializer + br label %3661 + +310: ; preds = %295 + %311 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %312 = load <2 x float>, ptr addrspace(2) %311, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %313 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %314 = load half, ptr addrspace(2) %313, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %315 = insertelement <4 x half> poison, half %314, i64 0 + %316 = shufflevector <4 x half> %315, <4 x half> poison, <4 x i32> zeroinitializer + %317 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %318 = load half, ptr addrspace(2) %317, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %319 = insertelement <4 x half> poison, half %318, i64 0 + %320 = shufflevector <4 x half> %319, <4 x half> poison, <4 x i32> zeroinitializer + br label %3741 + +321: ; preds = %5 + %322 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %323 = load i32, ptr addrspace(2) %322, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %324 = icmp eq i32 %323, 0 + br i1 %324, label %325, label %336 + +325: ; preds = %321 + %326 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %327 = load half, ptr addrspace(2) %326, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %328 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %329 = load half, ptr addrspace(2) %328, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %330 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %331 = load <2 x float>, ptr addrspace(2) %330, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %332 = insertelement <4 x half> poison, half %327, i64 0 + %333 = shufflevector <4 x half> %332, <4 x half> poison, <4 x i32> zeroinitializer + %334 = insertelement <4 x half> poison, half %329, i64 0 + %335 = shufflevector <4 x half> %334, <4 x half> poison, <4 x i32> zeroinitializer + br label %3520 + +336: ; preds = %321 + %337 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %338 = load <2 x float>, ptr addrspace(2) %337, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %339 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %340 = load half, ptr addrspace(2) %339, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %341 = insertelement <4 x half> poison, half %340, i64 0 + %342 = shufflevector <4 x half> %341, <4 x half> poison, <4 x i32> zeroinitializer + %343 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %344 = load half, ptr addrspace(2) %343, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %345 = insertelement <4 x half> poison, half %344, i64 0 + %346 = shufflevector <4 x half> %345, <4 x half> poison, <4 x i32> zeroinitializer + br label %3600 + +347: ; preds = %5 + %348 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %349 = load i32, ptr addrspace(2) %348, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %350 = icmp eq i32 %349, 0 + br i1 %350, label %351, label %362 + +351: ; preds = %347 + %352 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %353 = load half, ptr addrspace(2) %352, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %354 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %355 = load half, ptr addrspace(2) %354, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %356 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %357 = load <2 x float>, ptr addrspace(2) %356, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %358 = insertelement <4 x half> poison, half %353, i64 0 + %359 = shufflevector <4 x half> %358, <4 x half> poison, <4 x i32> zeroinitializer + %360 = insertelement <4 x half> poison, half %355, i64 0 + %361 = shufflevector <4 x half> %360, <4 x half> poison, <4 x i32> zeroinitializer + br label %3379 + +362: ; preds = %347 + %363 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %364 = load <2 x float>, ptr addrspace(2) %363, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %365 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %366 = load half, ptr addrspace(2) %365, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %367 = insertelement <4 x half> poison, half %366, i64 0 + %368 = shufflevector <4 x half> %367, <4 x half> poison, <4 x i32> zeroinitializer + %369 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %370 = load half, ptr addrspace(2) %369, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %371 = insertelement <4 x half> poison, half %370, i64 0 + %372 = shufflevector <4 x half> %371, <4 x half> poison, <4 x i32> zeroinitializer + br label %3459 + +373: ; preds = %5 + %374 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %375 = load i32, ptr addrspace(2) %374, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %376 = icmp eq i32 %375, 0 + br i1 %376, label %377, label %388 + +377: ; preds = %373 + %378 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %379 = load half, ptr addrspace(2) %378, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %380 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %381 = load half, ptr addrspace(2) %380, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %382 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %383 = load <2 x float>, ptr addrspace(2) %382, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %384 = insertelement <4 x half> poison, half %379, i64 0 + %385 = shufflevector <4 x half> %384, <4 x half> poison, <4 x i32> zeroinitializer + %386 = insertelement <4 x half> poison, half %381, i64 0 + %387 = shufflevector <4 x half> %386, <4 x half> poison, <4 x i32> zeroinitializer + br label %3238 + +388: ; preds = %373 + %389 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %390 = load <2 x float>, ptr addrspace(2) %389, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %391 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %392 = load half, ptr addrspace(2) %391, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %393 = insertelement <4 x half> poison, half %392, i64 0 + %394 = shufflevector <4 x half> %393, <4 x half> poison, <4 x i32> zeroinitializer + %395 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %396 = load half, ptr addrspace(2) %395, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %397 = insertelement <4 x half> poison, half %396, i64 0 + %398 = shufflevector <4 x half> %397, <4 x half> poison, <4 x i32> zeroinitializer + br label %3318 + +399: ; preds = %5 + %400 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %401 = load i32, ptr addrspace(2) %400, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %402 = icmp eq i32 %401, 0 + br i1 %402, label %403, label %414 + +403: ; preds = %399 + %404 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %405 = load half, ptr addrspace(2) %404, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %406 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %407 = load half, ptr addrspace(2) %406, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %408 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %409 = load <2 x float>, ptr addrspace(2) %408, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %410 = insertelement <4 x half> poison, half %405, i64 0 + %411 = shufflevector <4 x half> %410, <4 x half> poison, <4 x i32> zeroinitializer + %412 = insertelement <4 x half> poison, half %407, i64 0 + %413 = shufflevector <4 x half> %412, <4 x half> poison, <4 x i32> zeroinitializer + br label %3097 + +414: ; preds = %399 + %415 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %416 = load <2 x float>, ptr addrspace(2) %415, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %417 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %418 = load half, ptr addrspace(2) %417, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %419 = insertelement <4 x half> poison, half %418, i64 0 + %420 = shufflevector <4 x half> %419, <4 x half> poison, <4 x i32> zeroinitializer + %421 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %422 = load half, ptr addrspace(2) %421, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %423 = insertelement <4 x half> poison, half %422, i64 0 + %424 = shufflevector <4 x half> %423, <4 x half> poison, <4 x i32> zeroinitializer + br label %3177 + +425: ; preds = %5 + %426 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %427 = load i32, ptr addrspace(2) %426, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %428 = icmp eq i32 %427, 0 + br i1 %428, label %429, label %440 + +429: ; preds = %425 + %430 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %431 = load half, ptr addrspace(2) %430, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %432 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %433 = load half, ptr addrspace(2) %432, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %434 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %435 = load <2 x float>, ptr addrspace(2) %434, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %436 = insertelement <4 x half> poison, half %431, i64 0 + %437 = shufflevector <4 x half> %436, <4 x half> poison, <4 x i32> zeroinitializer + %438 = insertelement <4 x half> poison, half %433, i64 0 + %439 = shufflevector <4 x half> %438, <4 x half> poison, <4 x i32> zeroinitializer + br label %2956 + +440: ; preds = %425 + %441 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %442 = load <2 x float>, ptr addrspace(2) %441, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %443 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %444 = load half, ptr addrspace(2) %443, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %445 = insertelement <4 x half> poison, half %444, i64 0 + %446 = shufflevector <4 x half> %445, <4 x half> poison, <4 x i32> zeroinitializer + %447 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %448 = load half, ptr addrspace(2) %447, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %449 = insertelement <4 x half> poison, half %448, i64 0 + %450 = shufflevector <4 x half> %449, <4 x half> poison, <4 x i32> zeroinitializer + br label %3036 + +451: ; preds = %5 + %452 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %453 = load i32, ptr addrspace(2) %452, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %454 = icmp eq i32 %453, 0 + br i1 %454, label %455, label %466 + +455: ; preds = %451 + %456 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %457 = load half, ptr addrspace(2) %456, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %458 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %459 = load half, ptr addrspace(2) %458, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %460 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %461 = load <2 x float>, ptr addrspace(2) %460, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %462 = insertelement <4 x half> poison, half %457, i64 0 + %463 = shufflevector <4 x half> %462, <4 x half> poison, <4 x i32> zeroinitializer + %464 = insertelement <4 x half> poison, half %459, i64 0 + %465 = shufflevector <4 x half> %464, <4 x half> poison, <4 x i32> zeroinitializer + br label %2815 + +466: ; preds = %451 + %467 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %468 = load <2 x float>, ptr addrspace(2) %467, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %469 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %470 = load half, ptr addrspace(2) %469, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %471 = insertelement <4 x half> poison, half %470, i64 0 + %472 = shufflevector <4 x half> %471, <4 x half> poison, <4 x i32> zeroinitializer + %473 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %474 = load half, ptr addrspace(2) %473, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %475 = insertelement <4 x half> poison, half %474, i64 0 + %476 = shufflevector <4 x half> %475, <4 x half> poison, <4 x i32> zeroinitializer + br label %2895 + +477: ; preds = %5 + %478 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %479 = load i32, ptr addrspace(2) %478, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %480 = icmp eq i32 %479, 0 + br i1 %480, label %481, label %492 + +481: ; preds = %477 + %482 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %483 = load half, ptr addrspace(2) %482, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %484 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %485 = load half, ptr addrspace(2) %484, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %486 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %487 = load <2 x float>, ptr addrspace(2) %486, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %488 = insertelement <4 x half> poison, half %483, i64 0 + %489 = shufflevector <4 x half> %488, <4 x half> poison, <4 x i32> zeroinitializer + %490 = insertelement <4 x half> poison, half %485, i64 0 + %491 = shufflevector <4 x half> %490, <4 x half> poison, <4 x i32> zeroinitializer + br label %2674 + +492: ; preds = %477 + %493 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %494 = load <2 x float>, ptr addrspace(2) %493, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %495 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %496 = load half, ptr addrspace(2) %495, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %497 = insertelement <4 x half> poison, half %496, i64 0 + %498 = shufflevector <4 x half> %497, <4 x half> poison, <4 x i32> zeroinitializer + %499 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %500 = load half, ptr addrspace(2) %499, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %501 = insertelement <4 x half> poison, half %500, i64 0 + %502 = shufflevector <4 x half> %501, <4 x half> poison, <4 x i32> zeroinitializer + br label %2754 + +503: ; preds = %5 + %504 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %505 = load i32, ptr addrspace(2) %504, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %506 = icmp eq i32 %505, 0 + br i1 %506, label %507, label %518 + +507: ; preds = %503 + %508 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %509 = load half, ptr addrspace(2) %508, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %510 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %511 = load half, ptr addrspace(2) %510, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %512 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %513 = load <2 x float>, ptr addrspace(2) %512, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %514 = insertelement <4 x half> poison, half %509, i64 0 + %515 = shufflevector <4 x half> %514, <4 x half> poison, <4 x i32> zeroinitializer + %516 = insertelement <4 x half> poison, half %511, i64 0 + %517 = shufflevector <4 x half> %516, <4 x half> poison, <4 x i32> zeroinitializer + br label %2533 + +518: ; preds = %503 + %519 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %520 = load <2 x float>, ptr addrspace(2) %519, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %521 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %522 = load half, ptr addrspace(2) %521, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %523 = insertelement <4 x half> poison, half %522, i64 0 + %524 = shufflevector <4 x half> %523, <4 x half> poison, <4 x i32> zeroinitializer + %525 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %526 = load half, ptr addrspace(2) %525, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %527 = insertelement <4 x half> poison, half %526, i64 0 + %528 = shufflevector <4 x half> %527, <4 x half> poison, <4 x i32> zeroinitializer + br label %2613 + +529: ; preds = %5 + %530 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %531 = load i32, ptr addrspace(2) %530, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %532 = icmp eq i32 %531, 0 + br i1 %532, label %533, label %544 + +533: ; preds = %529 + %534 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %535 = load half, ptr addrspace(2) %534, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %536 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %537 = load half, ptr addrspace(2) %536, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %538 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %539 = load <2 x float>, ptr addrspace(2) %538, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %540 = insertelement <4 x half> poison, half %535, i64 0 + %541 = shufflevector <4 x half> %540, <4 x half> poison, <4 x i32> zeroinitializer + %542 = insertelement <4 x half> poison, half %537, i64 0 + %543 = shufflevector <4 x half> %542, <4 x half> poison, <4 x i32> zeroinitializer + br label %2392 + +544: ; preds = %529 + %545 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %546 = load <2 x float>, ptr addrspace(2) %545, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %547 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %548 = load half, ptr addrspace(2) %547, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %549 = insertelement <4 x half> poison, half %548, i64 0 + %550 = shufflevector <4 x half> %549, <4 x half> poison, <4 x i32> zeroinitializer + %551 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %552 = load half, ptr addrspace(2) %551, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %553 = insertelement <4 x half> poison, half %552, i64 0 + %554 = shufflevector <4 x half> %553, <4 x half> poison, <4 x i32> zeroinitializer + br label %2472 + +555: ; preds = %5 + %556 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %557 = load i32, ptr addrspace(2) %556, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %558 = icmp eq i32 %557, 0 + br i1 %558, label %559, label %570 + +559: ; preds = %555 + %560 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %561 = load half, ptr addrspace(2) %560, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %562 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %563 = load half, ptr addrspace(2) %562, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %564 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %565 = load <2 x float>, ptr addrspace(2) %564, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %566 = insertelement <4 x half> poison, half %561, i64 0 + %567 = shufflevector <4 x half> %566, <4 x half> poison, <4 x i32> zeroinitializer + %568 = insertelement <4 x half> poison, half %563, i64 0 + %569 = shufflevector <4 x half> %568, <4 x half> poison, <4 x i32> zeroinitializer + br label %2251 + +570: ; preds = %555 + %571 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %572 = load <2 x float>, ptr addrspace(2) %571, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %573 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %574 = load half, ptr addrspace(2) %573, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %575 = insertelement <4 x half> poison, half %574, i64 0 + %576 = shufflevector <4 x half> %575, <4 x half> poison, <4 x i32> zeroinitializer + %577 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %578 = load half, ptr addrspace(2) %577, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %579 = insertelement <4 x half> poison, half %578, i64 0 + %580 = shufflevector <4 x half> %579, <4 x half> poison, <4 x i32> zeroinitializer + br label %2331 + +581: ; preds = %5 + %582 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %583 = load i32, ptr addrspace(2) %582, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %584 = icmp eq i32 %583, 0 + br i1 %584, label %585, label %596 + +585: ; preds = %581 + %586 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %587 = load half, ptr addrspace(2) %586, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %588 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %589 = load half, ptr addrspace(2) %588, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %590 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %591 = load <2 x float>, ptr addrspace(2) %590, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %592 = insertelement <4 x half> poison, half %587, i64 0 + %593 = shufflevector <4 x half> %592, <4 x half> poison, <4 x i32> zeroinitializer + %594 = insertelement <4 x half> poison, half %589, i64 0 + %595 = shufflevector <4 x half> %594, <4 x half> poison, <4 x i32> zeroinitializer + br label %2110 + +596: ; preds = %581 + %597 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %598 = load <2 x float>, ptr addrspace(2) %597, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %599 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %600 = load half, ptr addrspace(2) %599, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %601 = insertelement <4 x half> poison, half %600, i64 0 + %602 = shufflevector <4 x half> %601, <4 x half> poison, <4 x i32> zeroinitializer + %603 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %604 = load half, ptr addrspace(2) %603, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %605 = insertelement <4 x half> poison, half %604, i64 0 + %606 = shufflevector <4 x half> %605, <4 x half> poison, <4 x i32> zeroinitializer + br label %2190 + +607: ; preds = %5 + %608 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %609 = load i32, ptr addrspace(2) %608, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %610 = icmp eq i32 %609, 0 + br i1 %610, label %611, label %622 + +611: ; preds = %607 + %612 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %613 = load half, ptr addrspace(2) %612, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %614 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %615 = load half, ptr addrspace(2) %614, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %616 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %617 = load <2 x float>, ptr addrspace(2) %616, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %618 = insertelement <4 x half> poison, half %613, i64 0 + %619 = shufflevector <4 x half> %618, <4 x half> poison, <4 x i32> zeroinitializer + %620 = insertelement <4 x half> poison, half %615, i64 0 + %621 = shufflevector <4 x half> %620, <4 x half> poison, <4 x i32> zeroinitializer + br label %1969 + +622: ; preds = %607 + %623 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %624 = load <2 x float>, ptr addrspace(2) %623, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %625 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %626 = load half, ptr addrspace(2) %625, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %627 = insertelement <4 x half> poison, half %626, i64 0 + %628 = shufflevector <4 x half> %627, <4 x half> poison, <4 x i32> zeroinitializer + %629 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %630 = load half, ptr addrspace(2) %629, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %631 = insertelement <4 x half> poison, half %630, i64 0 + %632 = shufflevector <4 x half> %631, <4 x half> poison, <4 x i32> zeroinitializer + br label %2049 + +633: ; preds = %5 + %634 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %635 = load i32, ptr addrspace(2) %634, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %636 = icmp eq i32 %635, 0 + br i1 %636, label %637, label %648 + +637: ; preds = %633 + %638 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %639 = load half, ptr addrspace(2) %638, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %640 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %641 = load half, ptr addrspace(2) %640, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %642 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %643 = load <2 x float>, ptr addrspace(2) %642, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %644 = insertelement <4 x half> poison, half %639, i64 0 + %645 = shufflevector <4 x half> %644, <4 x half> poison, <4 x i32> zeroinitializer + %646 = insertelement <4 x half> poison, half %641, i64 0 + %647 = shufflevector <4 x half> %646, <4 x half> poison, <4 x i32> zeroinitializer + br label %1828 + +648: ; preds = %633 + %649 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %650 = load <2 x float>, ptr addrspace(2) %649, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %651 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %652 = load half, ptr addrspace(2) %651, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %653 = insertelement <4 x half> poison, half %652, i64 0 + %654 = shufflevector <4 x half> %653, <4 x half> poison, <4 x i32> zeroinitializer + %655 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %656 = load half, ptr addrspace(2) %655, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %657 = insertelement <4 x half> poison, half %656, i64 0 + %658 = shufflevector <4 x half> %657, <4 x half> poison, <4 x i32> zeroinitializer + br label %1908 + +659: ; preds = %5 + %660 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %661 = load i32, ptr addrspace(2) %660, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %662 = icmp eq i32 %661, 0 + br i1 %662, label %663, label %674 + +663: ; preds = %659 + %664 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %665 = load half, ptr addrspace(2) %664, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %666 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %667 = load half, ptr addrspace(2) %666, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %668 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %669 = load <2 x float>, ptr addrspace(2) %668, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %670 = insertelement <4 x half> poison, half %665, i64 0 + %671 = shufflevector <4 x half> %670, <4 x half> poison, <4 x i32> zeroinitializer + %672 = insertelement <4 x half> poison, half %667, i64 0 + %673 = shufflevector <4 x half> %672, <4 x half> poison, <4 x i32> zeroinitializer + br label %1687 + +674: ; preds = %659 + %675 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %676 = load <2 x float>, ptr addrspace(2) %675, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %677 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %678 = load half, ptr addrspace(2) %677, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %679 = insertelement <4 x half> poison, half %678, i64 0 + %680 = shufflevector <4 x half> %679, <4 x half> poison, <4 x i32> zeroinitializer + %681 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %682 = load half, ptr addrspace(2) %681, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %683 = insertelement <4 x half> poison, half %682, i64 0 + %684 = shufflevector <4 x half> %683, <4 x half> poison, <4 x i32> zeroinitializer + br label %1767 + +685: ; preds = %5 + %686 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %687 = load i32, ptr addrspace(2) %686, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %688 = icmp eq i32 %687, 0 + br i1 %688, label %689, label %700 + +689: ; preds = %685 + %690 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %691 = load half, ptr addrspace(2) %690, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %692 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %693 = load half, ptr addrspace(2) %692, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %694 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %695 = load <2 x float>, ptr addrspace(2) %694, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %696 = insertelement <4 x half> poison, half %691, i64 0 + %697 = shufflevector <4 x half> %696, <4 x half> poison, <4 x i32> zeroinitializer + %698 = insertelement <4 x half> poison, half %693, i64 0 + %699 = shufflevector <4 x half> %698, <4 x half> poison, <4 x i32> zeroinitializer + br label %1546 + +700: ; preds = %685 + %701 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %702 = load <2 x float>, ptr addrspace(2) %701, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %703 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %704 = load half, ptr addrspace(2) %703, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %705 = insertelement <4 x half> poison, half %704, i64 0 + %706 = shufflevector <4 x half> %705, <4 x half> poison, <4 x i32> zeroinitializer + %707 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %708 = load half, ptr addrspace(2) %707, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %709 = insertelement <4 x half> poison, half %708, i64 0 + %710 = shufflevector <4 x half> %709, <4 x half> poison, <4 x i32> zeroinitializer + br label %1626 + +711: ; preds = %5 + %712 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %713 = load i32, ptr addrspace(2) %712, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %714 = icmp eq i32 %713, 0 + br i1 %714, label %715, label %726 + +715: ; preds = %711 + %716 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %717 = load half, ptr addrspace(2) %716, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %718 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %719 = load half, ptr addrspace(2) %718, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %720 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %721 = load <2 x float>, ptr addrspace(2) %720, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %722 = insertelement <4 x half> poison, half %717, i64 0 + %723 = shufflevector <4 x half> %722, <4 x half> poison, <4 x i32> zeroinitializer + %724 = insertelement <4 x half> poison, half %719, i64 0 + %725 = shufflevector <4 x half> %724, <4 x half> poison, <4 x i32> zeroinitializer + br label %1405 + +726: ; preds = %711 + %727 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %728 = load <2 x float>, ptr addrspace(2) %727, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %729 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %730 = load half, ptr addrspace(2) %729, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %731 = insertelement <4 x half> poison, half %730, i64 0 + %732 = shufflevector <4 x half> %731, <4 x half> poison, <4 x i32> zeroinitializer + %733 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %734 = load half, ptr addrspace(2) %733, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %735 = insertelement <4 x half> poison, half %734, i64 0 + %736 = shufflevector <4 x half> %735, <4 x half> poison, <4 x i32> zeroinitializer + br label %1485 + +737: ; preds = %5 + %738 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %739 = load i32, ptr addrspace(2) %738, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %740 = icmp eq i32 %739, 0 + br i1 %740, label %741, label %752 + +741: ; preds = %737 + %742 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %743 = load half, ptr addrspace(2) %742, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %744 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %745 = load half, ptr addrspace(2) %744, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %746 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %747 = load <2 x float>, ptr addrspace(2) %746, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %748 = insertelement <4 x half> poison, half %743, i64 0 + %749 = shufflevector <4 x half> %748, <4 x half> poison, <4 x i32> zeroinitializer + %750 = insertelement <4 x half> poison, half %745, i64 0 + %751 = shufflevector <4 x half> %750, <4 x half> poison, <4 x i32> zeroinitializer + br label %1264 + +752: ; preds = %737 + %753 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %754 = load <2 x float>, ptr addrspace(2) %753, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %755 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %756 = load half, ptr addrspace(2) %755, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %757 = insertelement <4 x half> poison, half %756, i64 0 + %758 = shufflevector <4 x half> %757, <4 x half> poison, <4 x i32> zeroinitializer + %759 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %760 = load half, ptr addrspace(2) %759, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %761 = insertelement <4 x half> poison, half %760, i64 0 + %762 = shufflevector <4 x half> %761, <4 x half> poison, <4 x i32> zeroinitializer + br label %1344 + +763: ; preds = %5 + %764 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %765 = load i32, ptr addrspace(2) %764, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %766 = icmp eq i32 %765, 0 + br i1 %766, label %767, label %778 + +767: ; preds = %763 + %768 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %769 = load half, ptr addrspace(2) %768, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %770 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %771 = load half, ptr addrspace(2) %770, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %772 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %773 = load <2 x float>, ptr addrspace(2) %772, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %774 = insertelement <4 x half> poison, half %769, i64 0 + %775 = shufflevector <4 x half> %774, <4 x half> poison, <4 x i32> zeroinitializer + %776 = insertelement <4 x half> poison, half %771, i64 0 + %777 = shufflevector <4 x half> %776, <4 x half> poison, <4 x i32> zeroinitializer + br label %1123 + +778: ; preds = %763 + %779 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %780 = load <2 x float>, ptr addrspace(2) %779, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %781 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %782 = load half, ptr addrspace(2) %781, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %783 = insertelement <4 x half> poison, half %782, i64 0 + %784 = shufflevector <4 x half> %783, <4 x half> poison, <4 x i32> zeroinitializer + %785 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %786 = load half, ptr addrspace(2) %785, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %787 = insertelement <4 x half> poison, half %786, i64 0 + %788 = shufflevector <4 x half> %787, <4 x half> poison, <4 x i32> zeroinitializer + br label %1203 + +789: ; preds = %5 + %790 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %791 = load i32, ptr addrspace(2) %790, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %792 = icmp eq i32 %791, 0 + br i1 %792, label %793, label %804 + +793: ; preds = %789 + %794 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %795 = load half, ptr addrspace(2) %794, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %796 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %797 = load half, ptr addrspace(2) %796, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %798 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %799 = load <2 x float>, ptr addrspace(2) %798, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %800 = insertelement <4 x half> poison, half %795, i64 0 + %801 = shufflevector <4 x half> %800, <4 x half> poison, <4 x i32> zeroinitializer + %802 = insertelement <4 x half> poison, half %797, i64 0 + %803 = shufflevector <4 x half> %802, <4 x half> poison, <4 x i32> zeroinitializer + br label %982 + +804: ; preds = %789 + %805 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %806 = load <2 x float>, ptr addrspace(2) %805, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %807 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %808 = load half, ptr addrspace(2) %807, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %809 = insertelement <4 x half> poison, half %808, i64 0 + %810 = shufflevector <4 x half> %809, <4 x half> poison, <4 x i32> zeroinitializer + %811 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %812 = load half, ptr addrspace(2) %811, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %813 = insertelement <4 x half> poison, half %812, i64 0 + %814 = shufflevector <4 x half> %813, <4 x half> poison, <4 x i32> zeroinitializer + br label %1062 + +815: ; preds = %5 + %816 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 1 + %817 = load i32, ptr addrspace(2) %816, align 4, !tbaa !43, !alias.scope !37, !noalias !40 + %818 = icmp eq i32 %817, 0 + br i1 %818, label %819, label %830 + +819: ; preds = %815 + %820 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %821 = load half, ptr addrspace(2) %820, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %822 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %823 = load half, ptr addrspace(2) %822, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %824 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %825 = load <2 x float>, ptr addrspace(2) %824, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %826 = insertelement <4 x half> poison, half %821, i64 0 + %827 = shufflevector <4 x half> %826, <4 x half> poison, <4 x i32> zeroinitializer + %828 = insertelement <4 x half> poison, half %823, i64 0 + %829 = shufflevector <4 x half> %828, <4 x half> poison, <4 x i32> zeroinitializer + br label %841 + +830: ; preds = %815 + %831 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 2 + %832 = load <2 x float>, ptr addrspace(2) %831, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %833 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 5 + %834 = load half, ptr addrspace(2) %833, align 8, !tbaa !44, !alias.scope !37, !noalias !40 + %835 = insertelement <4 x half> poison, half %834, i64 0 + %836 = shufflevector <4 x half> %835, <4 x half> poison, <4 x i32> zeroinitializer + %837 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 6 + %838 = load half, ptr addrspace(2) %837, align 2, !tbaa !45, !alias.scope !37, !noalias !40 + %839 = insertelement <4 x half> poison, half %838, i64 0 + %840 = shufflevector <4 x half> %839, <4 x half> poison, <4 x i32> zeroinitializer + br label %921 + +841: ; preds = %921, %819 + %842 = phi <4 x half> [ %829, %819 ], [ %840, %921 ] + %843 = phi <4 x half> [ %827, %819 ], [ %836, %921 ] + %844 = phi <2 x float> [ %825, %819 ], [ %832, %921 ] + %845 = phi <4 x half> [ zeroinitializer, %819 ], [ %979, %921 ] + %846 = fmul fast <4 x half> %845, %845 + %847 = fmul fast <4 x half> %846, %845 + %848 = fmul fast <4 x half> %847, splat (half 0xHAE97) + %849 = fmul fast <4 x half> %846, splat (half 0xH2AA8) + %850 = fadd fast <4 x half> %849, %845 + %851 = fadd fast <4 x half> %850, %848 + %852 = fmul fast <4 x half> %851, %843 + %853 = fadd fast <4 x half> %852, %842 + %854 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %853, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %855 = fmul fast <4 x half> %854, splat (half 0xH4C40) + %856 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %855) #4 + %857 = fmul fast <4 x half> %856, splat (half 0xH2B88) + %858 = fmul fast <4 x half> %846, splat (half 0xH1419) + %859 = fadd fast <4 x half> %857, %858 + %860 = fadd fast <4 x half> %846, splat (half 0xHBC00) + %861 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %859, <4 x half> %860) #4 + %862 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %863 = load <4 x half>, ptr addrspace(2) %862, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %864 = fmul fast <4 x half> %863, %861 + %865 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %866 = load <4 x half>, ptr addrspace(2) %865, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %867 = fmul fast <4 x half> %866, splat (half 0xH3400) + %868 = fmul fast <4 x half> %846, %847 + %869 = fsub fast <4 x half> %846, %868 + %870 = fadd fast <4 x half> %869, %864 + %871 = fadd fast <4 x half> %870, %867 + %872 = fmul fast <4 x half> %871, %871 + %873 = fmul fast <4 x half> %872, %871 + %874 = fmul fast <4 x half> %873, splat (half 0xHAEC8) + %875 = fmul fast <4 x half> %872, splat (half 0xH2AE9) + %876 = fadd fast <4 x half> %875, %871 + %877 = fadd fast <4 x half> %876, %874 + %878 = fmul fast <4 x half> %877, %843 + %879 = fadd fast <4 x half> %878, %842 + %880 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %879, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %881 = fmul fast <4 x half> %880, splat (half 0xH4C80) + %882 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %881) #4 + %883 = fmul fast <4 x half> %882, splat (half 0xH2B1C) + %884 = fmul fast <4 x half> %872, splat (half 0xH1419) + %885 = fadd fast <4 x half> %884, %883 + %886 = fadd fast <4 x half> %872, splat (half 0xHBC00) + %887 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %885, <4 x half> %886) #4 + %888 = fmul fast <4 x half> %887, %863 + %889 = fmul fast <4 x half> %866, splat (half 0xH3800) + %890 = fadd fast <4 x half> %888, %889 + %891 = fadd fast <4 x half> %890, %872 + %892 = fmul fast <4 x half> %872, %873 + %893 = fsub fast <4 x half> %891, %892 + %894 = fmul fast <4 x half> %893, %893 + %895 = fmul fast <4 x half> %894, %893 + %896 = fmul fast <4 x half> %895, splat (half 0xHAEFA) + %897 = fmul fast <4 x half> %894, splat (half 0xH2B2B) + %898 = fadd fast <4 x half> %897, %893 + %899 = fadd fast <4 x half> %898, %896 + %900 = fmul fast <4 x half> %899, %843 + %901 = fadd fast <4 x half> %900, %842 + %902 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %901, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %903 = fmul fast <4 x half> %902, splat (half 0xH4CC0) + %904 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %903) #4 + %905 = fmul fast <4 x half> %904, splat (half 0xH2ABD) + %906 = fmul fast <4 x half> %894, splat (half 0xH1419) + %907 = fadd fast <4 x half> %906, %905 + %908 = fadd fast <4 x half> %894, splat (half 0xHBC00) + %909 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %907, <4 x half> %908) #4 + %910 = fmul fast <4 x half> %909, %863 + %911 = fmul fast <4 x half> %866, splat (half 0xH3A00) + %912 = fadd fast <4 x half> %910, %911 + %913 = fadd fast <4 x half> %912, %894 + %914 = fmul fast <4 x half> %894, %895 + %915 = fsub fast <4 x half> %913, %914 + %916 = fmul fast <2 x float> %844, + %917 = fadd fast <2 x float> %916, %1 + %918 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %917, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %919 = extractvalue { <4 x half>, i8 } %918, 0 + %920 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %919, <4 x half> splat (half 0xH3000), <4 x half> %915) #4 + br label %5354 + +921: ; preds = %921, %830 + %922 = phi <4 x half> [ zeroinitializer, %830 ], [ %979, %921 ] + %923 = phi i32 [ 0, %830 ], [ %980, %921 ] + %924 = tail call fast float @air.convert.f.f32.u.i32(i32 %923) #4 + %925 = fadd fast float %924, 5.000000e-01 + %926 = insertelement <2 x float> undef, float %925, i64 0 + %927 = insertelement <2 x float> %926, float 0.000000e+00, i64 1 + %928 = fmul fast <2 x float> %927, %832 + %929 = fadd fast <2 x float> %928, %1 + %930 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %929, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %931 = extractvalue { <4 x half>, i8 } %930, 0 + %932 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %931, <4 x half> splat (half 0xH2C00), <4 x half> %922) #4 + %933 = fneg fast float %925 + %934 = insertelement <2 x float> undef, float %933, i64 0 + %935 = insertelement <2 x float> %934, float 0.000000e+00, i64 1 + %936 = fmul fast <2 x float> %935, %832 + %937 = fadd fast <2 x float> %936, %1 + %938 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %937, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %939 = extractvalue { <4 x half>, i8 } %938, 0 + %940 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %939, <4 x half> splat (half 0xH2C00), <4 x half> %932) #4 + %941 = insertelement <2 x float> , float %925, i64 1 + %942 = fmul fast <2 x float> %941, %832 + %943 = fadd fast <2 x float> %942, %1 + %944 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %943, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %945 = extractvalue { <4 x half>, i8 } %944, 0 + %946 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %945, <4 x half> splat (half 0xH2A66), <4 x half> %940) #4 + %947 = insertelement <2 x float> , float %933, i64 1 + %948 = fmul fast <2 x float> %947, %832 + %949 = fadd fast <2 x float> %948, %1 + %950 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %949, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %951 = extractvalue { <4 x half>, i8 } %950, 0 + %952 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %951, <4 x half> splat (half 0xH2A66), <4 x half> %946) #4 + %953 = shufflevector <2 x float> %926, <2 x float> poison, <2 x i32> zeroinitializer + %954 = fmul fast <2 x float> %953, %832 + %955 = fadd fast <2 x float> %954, %1 + %956 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %955, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %957 = extractvalue { <4 x half>, i8 } %956, 0 + %958 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %957, <4 x half> splat (half 0xH27AE), <4 x half> %952) #4 + %959 = insertelement <2 x float> %934, float %925, i64 1 + %960 = fmul fast <2 x float> %959, %832 + %961 = fadd fast <2 x float> %960, %1 + %962 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %961, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %963 = extractvalue { <4 x half>, i8 } %962, 0 + %964 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %963, <4 x half> splat (half 0xH27AE), <4 x half> %958) #4 + %965 = insertelement <2 x float> %926, float %933, i64 1 + %966 = fmul fast <2 x float> %965, %832 + %967 = fadd fast <2 x float> %966, %1 + %968 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %967, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %969 = extractvalue { <4 x half>, i8 } %968, 0 + %970 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %969, <4 x half> splat (half 0xH27AE), <4 x half> %964) #4 + %971 = shufflevector <2 x float> %934, <2 x float> poison, <2 x i32> zeroinitializer + %972 = fmul fast <2 x float> %971, %832 + %973 = fadd fast <2 x float> %972, %1 + %974 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %973, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %975 = extractvalue { <4 x half>, i8 } %974, 0 + %976 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %975, <4 x half> splat (half 0xH27AE), <4 x half> %970) #4 + %977 = fmul fast <4 x half> %976, %836 + %978 = fadd fast <4 x half> %977, %840 + %979 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %978, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %980 = add nuw i32 %923, 1 + %981 = icmp eq i32 %980, %817 + br i1 %981, label %841, label %921, !llvm.loop !47 + +982: ; preds = %1062, %793 + %983 = phi <4 x half> [ %803, %793 ], [ %814, %1062 ] + %984 = phi <4 x half> [ %801, %793 ], [ %810, %1062 ] + %985 = phi <2 x float> [ %799, %793 ], [ %806, %1062 ] + %986 = phi <4 x half> [ zeroinitializer, %793 ], [ %1120, %1062 ] + %987 = fmul fast <4 x half> %986, %986 + %988 = fmul fast <4 x half> %987, %986 + %989 = fmul fast <4 x half> %988, splat (half 0xHAF3B) + %990 = fmul fast <4 x half> %987, splat (half 0xH2AA8) + %991 = fadd fast <4 x half> %990, %986 + %992 = fadd fast <4 x half> %991, %989 + %993 = fmul fast <4 x half> %992, %984 + %994 = fadd fast <4 x half> %993, %983 + %995 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %994, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %996 = fmul fast <4 x half> %995, splat (half 0xH4C40) + %997 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %996) #4 + %998 = fmul fast <4 x half> %997, splat (half 0xH2B88) + %999 = fmul fast <4 x half> %987, splat (half 0xH1419) + %1000 = fadd fast <4 x half> %998, %999 + %1001 = fadd fast <4 x half> %987, splat (half 0xHBC00) + %1002 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1000, <4 x half> %1001) #4 + %1003 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1004 = load <4 x half>, ptr addrspace(2) %1003, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1005 = fmul fast <4 x half> %1004, %1002 + %1006 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1007 = load <4 x half>, ptr addrspace(2) %1006, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1008 = fmul fast <4 x half> %1007, splat (half 0xH3400) + %1009 = fmul fast <4 x half> %987, %988 + %1010 = fsub fast <4 x half> %987, %1009 + %1011 = fadd fast <4 x half> %1010, %1005 + %1012 = fadd fast <4 x half> %1011, %1008 + %1013 = fmul fast <4 x half> %1012, %1012 + %1014 = fmul fast <4 x half> %1013, %1012 + %1015 = fmul fast <4 x half> %1014, splat (half 0xHAF6C) + %1016 = fmul fast <4 x half> %1013, splat (half 0xH2AE9) + %1017 = fadd fast <4 x half> %1016, %1012 + %1018 = fadd fast <4 x half> %1017, %1015 + %1019 = fmul fast <4 x half> %1018, %984 + %1020 = fadd fast <4 x half> %1019, %983 + %1021 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1020, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1022 = fmul fast <4 x half> %1021, splat (half 0xH4C80) + %1023 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1022) #4 + %1024 = fmul fast <4 x half> %1023, splat (half 0xH2B1C) + %1025 = fmul fast <4 x half> %1013, splat (half 0xH1419) + %1026 = fadd fast <4 x half> %1025, %1024 + %1027 = fadd fast <4 x half> %1013, splat (half 0xHBC00) + %1028 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1026, <4 x half> %1027) #4 + %1029 = fmul fast <4 x half> %1028, %1004 + %1030 = fmul fast <4 x half> %1007, splat (half 0xH3800) + %1031 = fadd fast <4 x half> %1029, %1030 + %1032 = fadd fast <4 x half> %1031, %1013 + %1033 = fmul fast <4 x half> %1013, %1014 + %1034 = fsub fast <4 x half> %1032, %1033 + %1035 = fmul fast <4 x half> %1034, %1034 + %1036 = fmul fast <4 x half> %1035, %1034 + %1037 = fmul fast <4 x half> %1036, splat (half 0xHAF9E) + %1038 = fmul fast <4 x half> %1035, splat (half 0xH2B2B) + %1039 = fadd fast <4 x half> %1038, %1034 + %1040 = fadd fast <4 x half> %1039, %1037 + %1041 = fmul fast <4 x half> %1040, %984 + %1042 = fadd fast <4 x half> %1041, %983 + %1043 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1042, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1044 = fmul fast <4 x half> %1043, splat (half 0xH4CC0) + %1045 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1044) #4 + %1046 = fmul fast <4 x half> %1045, splat (half 0xH2ABD) + %1047 = fmul fast <4 x half> %1035, splat (half 0xH1419) + %1048 = fadd fast <4 x half> %1047, %1046 + %1049 = fadd fast <4 x half> %1035, splat (half 0xHBC00) + %1050 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1048, <4 x half> %1049) #4 + %1051 = fmul fast <4 x half> %1050, %1004 + %1052 = fmul fast <4 x half> %1007, splat (half 0xH3A00) + %1053 = fadd fast <4 x half> %1051, %1052 + %1054 = fadd fast <4 x half> %1053, %1035 + %1055 = fmul fast <4 x half> %1035, %1036 + %1056 = fsub fast <4 x half> %1054, %1055 + %1057 = fmul fast <2 x float> %985, + %1058 = fadd fast <2 x float> %1057, %1 + %1059 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1058, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1060 = extractvalue { <4 x half>, i8 } %1059, 0 + %1061 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1060, <4 x half> splat (half 0xH3010), <4 x half> %1056) #4 + br label %5354 + +1062: ; preds = %1062, %804 + %1063 = phi <4 x half> [ zeroinitializer, %804 ], [ %1120, %1062 ] + %1064 = phi i32 [ 0, %804 ], [ %1121, %1062 ] + %1065 = tail call fast float @air.convert.f.f32.u.i32(i32 %1064) #4 + %1066 = fadd fast float %1065, 6.250000e-01 + %1067 = insertelement <2 x float> undef, float %1066, i64 0 + %1068 = insertelement <2 x float> %1067, float 0.000000e+00, i64 1 + %1069 = fmul fast <2 x float> %1068, %806 + %1070 = fadd fast <2 x float> %1069, %1 + %1071 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1070, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1072 = extractvalue { <4 x half>, i8 } %1071, 0 + %1073 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1072, <4 x half> splat (half 0xH2C10), <4 x half> %1063) #4 + %1074 = fneg fast float %1066 + %1075 = insertelement <2 x float> undef, float %1074, i64 0 + %1076 = insertelement <2 x float> %1075, float 0.000000e+00, i64 1 + %1077 = fmul fast <2 x float> %1076, %806 + %1078 = fadd fast <2 x float> %1077, %1 + %1079 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1078, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1080 = extractvalue { <4 x half>, i8 } %1079, 0 + %1081 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1080, <4 x half> splat (half 0xH2BE9), <4 x half> %1073) #4 + %1082 = insertelement <2 x float> , float %1066, i64 1 + %1083 = fmul fast <2 x float> %1082, %806 + %1084 = fadd fast <2 x float> %1083, %1 + %1085 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1084, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1086 = extractvalue { <4 x half>, i8 } %1085, 0 + %1087 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1086, <4 x half> splat (half 0xH2AA8), <4 x half> %1081) #4 + %1088 = insertelement <2 x float> , float %1074, i64 1 + %1089 = fmul fast <2 x float> %1088, %806 + %1090 = fadd fast <2 x float> %1089, %1 + %1091 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1090, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1092 = extractvalue { <4 x half>, i8 } %1091, 0 + %1093 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1092, <4 x half> splat (half 0xH2A45), <4 x half> %1087) #4 + %1094 = shufflevector <2 x float> %1067, <2 x float> poison, <2 x i32> zeroinitializer + %1095 = fmul fast <2 x float> %1094, %806 + %1096 = fadd fast <2 x float> %1095, %1 + %1097 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1096, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1098 = extractvalue { <4 x half>, i8 } %1097, 0 + %1099 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1098, <4 x half> splat (half 0xH27CF), <4 x half> %1093) #4 + %1100 = insertelement <2 x float> %1075, float %1066, i64 1 + %1101 = fmul fast <2 x float> %1100, %806 + %1102 = fadd fast <2 x float> %1101, %1 + %1103 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1102, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1104 = extractvalue { <4 x half>, i8 } %1103, 0 + %1105 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1104, <4 x half> splat (half 0xH27AE), <4 x half> %1099) #4 + %1106 = insertelement <2 x float> %1067, float %1074, i64 1 + %1107 = fmul fast <2 x float> %1106, %806 + %1108 = fadd fast <2 x float> %1107, %1 + %1109 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1108, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1110 = extractvalue { <4 x half>, i8 } %1109, 0 + %1111 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1110, <4 x half> splat (half 0xH279A), <4 x half> %1105) #4 + %1112 = shufflevector <2 x float> %1075, <2 x float> poison, <2 x i32> zeroinitializer + %1113 = fmul fast <2 x float> %1112, %806 + %1114 = fadd fast <2 x float> %1113, %1 + %1115 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1114, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1116 = extractvalue { <4 x half>, i8 } %1115, 0 + %1117 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1116, <4 x half> splat (half 0xH285A), <4 x half> %1111) #4 + %1118 = fmul fast <4 x half> %1117, %810 + %1119 = fadd fast <4 x half> %1118, %814 + %1120 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1119, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1121 = add nuw i32 %1064, 1 + %1122 = icmp eq i32 %1121, %791 + br i1 %1122, label %982, label %1062, !llvm.loop !49 + +1123: ; preds = %1203, %767 + %1124 = phi <4 x half> [ %777, %767 ], [ %788, %1203 ] + %1125 = phi <4 x half> [ %775, %767 ], [ %784, %1203 ] + %1126 = phi <2 x float> [ %773, %767 ], [ %780, %1203 ] + %1127 = phi <4 x half> [ zeroinitializer, %767 ], [ %1261, %1203 ] + %1128 = fmul fast <4 x half> %1127, %1127 + %1129 = fmul fast <4 x half> %1128, %1127 + %1130 = fmul fast <4 x half> %1129, splat (half 0xHAFDF) + %1131 = fmul fast <4 x half> %1128, splat (half 0xH2AA8) + %1132 = fadd fast <4 x half> %1131, %1127 + %1133 = fadd fast <4 x half> %1132, %1130 + %1134 = fmul fast <4 x half> %1133, %1125 + %1135 = fadd fast <4 x half> %1134, %1124 + %1136 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1135, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1137 = fmul fast <4 x half> %1136, splat (half 0xH4C40) + %1138 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1137) #4 + %1139 = fmul fast <4 x half> %1138, splat (half 0xH2B88) + %1140 = fmul fast <4 x half> %1128, splat (half 0xH1419) + %1141 = fadd fast <4 x half> %1139, %1140 + %1142 = fadd fast <4 x half> %1128, splat (half 0xHBC00) + %1143 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1141, <4 x half> %1142) #4 + %1144 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1145 = load <4 x half>, ptr addrspace(2) %1144, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1146 = fmul fast <4 x half> %1145, %1143 + %1147 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1148 = load <4 x half>, ptr addrspace(2) %1147, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1149 = fmul fast <4 x half> %1148, splat (half 0xH3400) + %1150 = fmul fast <4 x half> %1128, %1129 + %1151 = fsub fast <4 x half> %1128, %1150 + %1152 = fadd fast <4 x half> %1151, %1146 + %1153 = fadd fast <4 x half> %1152, %1149 + %1154 = fmul fast <4 x half> %1153, %1153 + %1155 = fmul fast <4 x half> %1154, %1153 + %1156 = fmul fast <4 x half> %1155, splat (half 0xHB008) + %1157 = fmul fast <4 x half> %1154, splat (half 0xH2AE9) + %1158 = fadd fast <4 x half> %1157, %1153 + %1159 = fadd fast <4 x half> %1158, %1156 + %1160 = fmul fast <4 x half> %1159, %1125 + %1161 = fadd fast <4 x half> %1160, %1124 + %1162 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1161, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1163 = fmul fast <4 x half> %1162, splat (half 0xH4C80) + %1164 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1163) #4 + %1165 = fmul fast <4 x half> %1164, splat (half 0xH2B1C) + %1166 = fmul fast <4 x half> %1154, splat (half 0xH1419) + %1167 = fadd fast <4 x half> %1166, %1165 + %1168 = fadd fast <4 x half> %1154, splat (half 0xHBC00) + %1169 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1167, <4 x half> %1168) #4 + %1170 = fmul fast <4 x half> %1169, %1145 + %1171 = fmul fast <4 x half> %1148, splat (half 0xH3800) + %1172 = fadd fast <4 x half> %1170, %1171 + %1173 = fadd fast <4 x half> %1172, %1154 + %1174 = fmul fast <4 x half> %1154, %1155 + %1175 = fsub fast <4 x half> %1173, %1174 + %1176 = fmul fast <4 x half> %1175, %1175 + %1177 = fmul fast <4 x half> %1176, %1175 + %1178 = fmul fast <4 x half> %1177, splat (half 0xHB021) + %1179 = fmul fast <4 x half> %1176, splat (half 0xH2B2B) + %1180 = fadd fast <4 x half> %1179, %1175 + %1181 = fadd fast <4 x half> %1180, %1178 + %1182 = fmul fast <4 x half> %1181, %1125 + %1183 = fadd fast <4 x half> %1182, %1124 + %1184 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1183, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1185 = fmul fast <4 x half> %1184, splat (half 0xH4CC0) + %1186 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1185) #4 + %1187 = fmul fast <4 x half> %1186, splat (half 0xH2ABD) + %1188 = fmul fast <4 x half> %1176, splat (half 0xH1419) + %1189 = fadd fast <4 x half> %1188, %1187 + %1190 = fadd fast <4 x half> %1176, splat (half 0xHBC00) + %1191 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1189, <4 x half> %1190) #4 + %1192 = fmul fast <4 x half> %1191, %1145 + %1193 = fmul fast <4 x half> %1148, splat (half 0xH3A00) + %1194 = fadd fast <4 x half> %1192, %1193 + %1195 = fadd fast <4 x half> %1194, %1176 + %1196 = fmul fast <4 x half> %1176, %1177 + %1197 = fsub fast <4 x half> %1195, %1196 + %1198 = fmul fast <2 x float> %1126, + %1199 = fadd fast <2 x float> %1198, %1 + %1200 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1199, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1201 = extractvalue { <4 x half>, i8 } %1200, 0 + %1202 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1201, <4 x half> splat (half 0xH3021), <4 x half> %1197) #4 + br label %5354 + +1203: ; preds = %1203, %778 + %1204 = phi <4 x half> [ zeroinitializer, %778 ], [ %1261, %1203 ] + %1205 = phi i32 [ 0, %778 ], [ %1262, %1203 ] + %1206 = tail call fast float @air.convert.f.f32.u.i32(i32 %1205) #4 + %1207 = fadd fast float %1206, 7.500000e-01 + %1208 = insertelement <2 x float> undef, float %1207, i64 0 + %1209 = insertelement <2 x float> %1208, float 0.000000e+00, i64 1 + %1210 = fmul fast <2 x float> %1209, %780 + %1211 = fadd fast <2 x float> %1210, %1 + %1212 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1211, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1213 = extractvalue { <4 x half>, i8 } %1212, 0 + %1214 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1213, <4 x half> splat (half 0xH2C21), <4 x half> %1204) #4 + %1215 = fneg fast float %1207 + %1216 = insertelement <2 x float> undef, float %1215, i64 0 + %1217 = insertelement <2 x float> %1216, float 0.000000e+00, i64 1 + %1218 = fmul fast <2 x float> %1217, %780 + %1219 = fadd fast <2 x float> %1218, %1 + %1220 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1219, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1221 = extractvalue { <4 x half>, i8 } %1220, 0 + %1222 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1221, <4 x half> splat (half 0xH2BD2), <4 x half> %1214) #4 + %1223 = insertelement <2 x float> , float %1207, i64 1 + %1224 = fmul fast <2 x float> %1223, %780 + %1225 = fadd fast <2 x float> %1224, %1 + %1226 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1225, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1227 = extractvalue { <4 x half>, i8 } %1226, 0 + %1228 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1227, <4 x half> splat (half 0xH2AE9), <4 x half> %1222) #4 + %1229 = insertelement <2 x float> , float %1215, i64 1 + %1230 = fmul fast <2 x float> %1229, %780 + %1231 = fadd fast <2 x float> %1230, %1 + %1232 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1231, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1233 = extractvalue { <4 x half>, i8 } %1232, 0 + %1234 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1233, <4 x half> splat (half 0xH2A24), <4 x half> %1228) #4 + %1235 = shufflevector <2 x float> %1208, <2 x float> poison, <2 x i32> zeroinitializer + %1236 = fmul fast <2 x float> %1235, %780 + %1237 = fadd fast <2 x float> %1236, %1 + %1238 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1237, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1239 = extractvalue { <4 x half>, i8 } %1238, 0 + %1240 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1239, <4 x half> splat (half 0xH27F0), <4 x half> %1234) #4 + %1241 = insertelement <2 x float> %1216, float %1207, i64 1 + %1242 = fmul fast <2 x float> %1241, %780 + %1243 = fadd fast <2 x float> %1242, %1 + %1244 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1243, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1245 = extractvalue { <4 x half>, i8 } %1244, 0 + %1246 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1245, <4 x half> splat (half 0xH27AE), <4 x half> %1240) #4 + %1247 = insertelement <2 x float> %1208, float %1215, i64 1 + %1248 = fmul fast <2 x float> %1247, %780 + %1249 = fadd fast <2 x float> %1248, %1 + %1250 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1249, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1251 = extractvalue { <4 x half>, i8 } %1250, 0 + %1252 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1251, <4 x half> splat (half 0xH2787), <4 x half> %1246) #4 + %1253 = shufflevector <2 x float> %1216, <2 x float> poison, <2 x i32> zeroinitializer + %1254 = fmul fast <2 x float> %1253, %780 + %1255 = fadd fast <2 x float> %1254, %1 + %1256 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1255, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1257 = extractvalue { <4 x half>, i8 } %1256, 0 + %1258 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1257, <4 x half> splat (half 0xH27AE), <4 x half> %1252) #4 + %1259 = fmul fast <4 x half> %1258, %784 + %1260 = fadd fast <4 x half> %1259, %788 + %1261 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1260, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1262 = add nuw i32 %1205, 1 + %1263 = icmp eq i32 %1262, %765 + br i1 %1263, label %1123, label %1203, !llvm.loop !50 + +1264: ; preds = %1344, %741 + %1265 = phi <4 x half> [ %751, %741 ], [ %762, %1344 ] + %1266 = phi <4 x half> [ %749, %741 ], [ %758, %1344 ] + %1267 = phi <2 x float> [ %747, %741 ], [ %754, %1344 ] + %1268 = phi <4 x half> [ zeroinitializer, %741 ], [ %1402, %1344 ] + %1269 = fmul fast <4 x half> %1268, %1268 + %1270 = fmul fast <4 x half> %1269, %1268 + %1271 = fmul fast <4 x half> %1270, splat (half 0xHB042) + %1272 = fmul fast <4 x half> %1269, splat (half 0xH2AA8) + %1273 = fadd fast <4 x half> %1272, %1268 + %1274 = fadd fast <4 x half> %1273, %1271 + %1275 = fmul fast <4 x half> %1274, %1266 + %1276 = fadd fast <4 x half> %1275, %1265 + %1277 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1276, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1278 = fmul fast <4 x half> %1277, splat (half 0xH4C40) + %1279 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1278) #4 + %1280 = fmul fast <4 x half> %1279, splat (half 0xH2B88) + %1281 = fmul fast <4 x half> %1269, splat (half 0xH1419) + %1282 = fadd fast <4 x half> %1280, %1281 + %1283 = fadd fast <4 x half> %1269, splat (half 0xHBC00) + %1284 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1282, <4 x half> %1283) #4 + %1285 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1286 = load <4 x half>, ptr addrspace(2) %1285, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1287 = fmul fast <4 x half> %1286, %1284 + %1288 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1289 = load <4 x half>, ptr addrspace(2) %1288, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1290 = fmul fast <4 x half> %1289, splat (half 0xH3400) + %1291 = fmul fast <4 x half> %1269, %1270 + %1292 = fsub fast <4 x half> %1269, %1291 + %1293 = fadd fast <4 x half> %1292, %1287 + %1294 = fadd fast <4 x half> %1293, %1290 + %1295 = fmul fast <4 x half> %1294, %1294 + %1296 = fmul fast <4 x half> %1295, %1294 + %1297 = fmul fast <4 x half> %1296, splat (half 0xHB05A) + %1298 = fmul fast <4 x half> %1295, splat (half 0xH2AE9) + %1299 = fadd fast <4 x half> %1298, %1294 + %1300 = fadd fast <4 x half> %1299, %1297 + %1301 = fmul fast <4 x half> %1300, %1266 + %1302 = fadd fast <4 x half> %1301, %1265 + %1303 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1302, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1304 = fmul fast <4 x half> %1303, splat (half 0xH4C80) + %1305 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1304) #4 + %1306 = fmul fast <4 x half> %1305, splat (half 0xH2B1C) + %1307 = fmul fast <4 x half> %1295, splat (half 0xH1419) + %1308 = fadd fast <4 x half> %1307, %1306 + %1309 = fadd fast <4 x half> %1295, splat (half 0xHBC00) + %1310 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1308, <4 x half> %1309) #4 + %1311 = fmul fast <4 x half> %1310, %1286 + %1312 = fmul fast <4 x half> %1289, splat (half 0xH3800) + %1313 = fadd fast <4 x half> %1311, %1312 + %1314 = fadd fast <4 x half> %1313, %1295 + %1315 = fmul fast <4 x half> %1295, %1296 + %1316 = fsub fast <4 x half> %1314, %1315 + %1317 = fmul fast <4 x half> %1316, %1316 + %1318 = fmul fast <4 x half> %1317, %1316 + %1319 = fmul fast <4 x half> %1318, splat (half 0xHB073) + %1320 = fmul fast <4 x half> %1317, splat (half 0xH2B2B) + %1321 = fadd fast <4 x half> %1320, %1316 + %1322 = fadd fast <4 x half> %1321, %1319 + %1323 = fmul fast <4 x half> %1322, %1266 + %1324 = fadd fast <4 x half> %1323, %1265 + %1325 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1324, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1326 = fmul fast <4 x half> %1325, splat (half 0xH4CC0) + %1327 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1326) #4 + %1328 = fmul fast <4 x half> %1327, splat (half 0xH2ABD) + %1329 = fmul fast <4 x half> %1317, splat (half 0xH1419) + %1330 = fadd fast <4 x half> %1329, %1328 + %1331 = fadd fast <4 x half> %1317, splat (half 0xHBC00) + %1332 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1330, <4 x half> %1331) #4 + %1333 = fmul fast <4 x half> %1332, %1286 + %1334 = fmul fast <4 x half> %1289, splat (half 0xH3A00) + %1335 = fadd fast <4 x half> %1333, %1334 + %1336 = fadd fast <4 x half> %1335, %1317 + %1337 = fmul fast <4 x half> %1317, %1318 + %1338 = fsub fast <4 x half> %1336, %1337 + %1339 = fmul fast <2 x float> %1267, + %1340 = fadd fast <2 x float> %1339, %1 + %1341 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1340, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1342 = extractvalue { <4 x half>, i8 } %1341, 0 + %1343 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1342, <4 x half> splat (half 0xH3031), <4 x half> %1338) #4 + br label %5354 + +1344: ; preds = %1344, %752 + %1345 = phi <4 x half> [ zeroinitializer, %752 ], [ %1402, %1344 ] + %1346 = phi i32 [ 0, %752 ], [ %1403, %1344 ] + %1347 = tail call fast float @air.convert.f.f32.u.i32(i32 %1346) #4 + %1348 = fadd fast float %1347, 8.750000e-01 + %1349 = insertelement <2 x float> undef, float %1348, i64 0 + %1350 = insertelement <2 x float> %1349, float 0.000000e+00, i64 1 + %1351 = fmul fast <2 x float> %1350, %754 + %1352 = fadd fast <2 x float> %1351, %1 + %1353 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1352, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1354 = extractvalue { <4 x half>, i8 } %1353, 0 + %1355 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1354, <4 x half> splat (half 0xH2C31), <4 x half> %1345) #4 + %1356 = fneg fast float %1348 + %1357 = insertelement <2 x float> undef, float %1356, i64 0 + %1358 = insertelement <2 x float> %1357, float 0.000000e+00, i64 1 + %1359 = fmul fast <2 x float> %1358, %754 + %1360 = fadd fast <2 x float> %1359, %1 + %1361 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1360, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1362 = extractvalue { <4 x half>, i8 } %1361, 0 + %1363 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1362, <4 x half> splat (half 0xH2BBB), <4 x half> %1355) #4 + %1364 = insertelement <2 x float> , float %1348, i64 1 + %1365 = fmul fast <2 x float> %1364, %754 + %1366 = fadd fast <2 x float> %1365, %1 + %1367 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1366, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1368 = extractvalue { <4 x half>, i8 } %1367, 0 + %1369 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1368, <4 x half> splat (half 0xH2B2B), <4 x half> %1363) #4 + %1370 = insertelement <2 x float> , float %1356, i64 1 + %1371 = fmul fast <2 x float> %1370, %754 + %1372 = fadd fast <2 x float> %1371, %1 + %1373 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1372, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1374 = extractvalue { <4 x half>, i8 } %1373, 0 + %1375 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1374, <4 x half> splat (half 0xH2A04), <4 x half> %1369) #4 + %1376 = shufflevector <2 x float> %1349, <2 x float> poison, <2 x i32> zeroinitializer + %1377 = fmul fast <2 x float> %1376, %754 + %1378 = fadd fast <2 x float> %1377, %1 + %1379 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1378, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1380 = extractvalue { <4 x half>, i8 } %1379, 0 + %1381 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1380, <4 x half> splat (half 0xH2808), <4 x half> %1375) #4 + %1382 = insertelement <2 x float> %1357, float %1348, i64 1 + %1383 = fmul fast <2 x float> %1382, %754 + %1384 = fadd fast <2 x float> %1383, %1 + %1385 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1384, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1386 = extractvalue { <4 x half>, i8 } %1385, 0 + %1387 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1386, <4 x half> splat (half 0xH27AE), <4 x half> %1381) #4 + %1388 = insertelement <2 x float> %1349, float %1356, i64 1 + %1389 = fmul fast <2 x float> %1388, %754 + %1390 = fadd fast <2 x float> %1389, %1 + %1391 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1390, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1392 = extractvalue { <4 x half>, i8 } %1391, 0 + %1393 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1392, <4 x half> splat (half 0xH2773), <4 x half> %1387) #4 + %1394 = shufflevector <2 x float> %1357, <2 x float> poison, <2 x i32> zeroinitializer + %1395 = fmul fast <2 x float> %1394, %754 + %1396 = fadd fast <2 x float> %1395, %1 + %1397 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1396, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1398 = extractvalue { <4 x half>, i8 } %1397, 0 + %1399 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1398, <4 x half> splat (half 0xH285A), <4 x half> %1393) #4 + %1400 = fmul fast <4 x half> %1399, %758 + %1401 = fadd fast <4 x half> %1400, %762 + %1402 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1401, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1403 = add nuw i32 %1346, 1 + %1404 = icmp eq i32 %1403, %739 + br i1 %1404, label %1264, label %1344, !llvm.loop !51 + +1405: ; preds = %1485, %715 + %1406 = phi <4 x half> [ %725, %715 ], [ %736, %1485 ] + %1407 = phi <4 x half> [ %723, %715 ], [ %732, %1485 ] + %1408 = phi <2 x float> [ %721, %715 ], [ %728, %1485 ] + %1409 = phi <4 x half> [ zeroinitializer, %715 ], [ %1543, %1485 ] + %1410 = fmul fast <4 x half> %1409, %1409 + %1411 = fmul fast <4 x half> %1410, %1409 + %1412 = fmul fast <4 x half> %1411, splat (half 0xHAE97) + %1413 = fmul fast <4 x half> %1410, splat (half 0xH2AA8) + %1414 = fadd fast <4 x half> %1413, %1409 + %1415 = fadd fast <4 x half> %1414, %1412 + %1416 = fmul fast <4 x half> %1415, %1407 + %1417 = fadd fast <4 x half> %1416, %1406 + %1418 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1417, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1419 = fmul fast <4 x half> %1418, splat (half 0xH4C40) + %1420 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1419) #4 + %1421 = fmul fast <4 x half> %1420, splat (half 0xH2B88) + %1422 = fmul fast <4 x half> %1410, splat (half 0xH1419) + %1423 = fadd fast <4 x half> %1421, %1422 + %1424 = fadd fast <4 x half> %1410, splat (half 0xHBC00) + %1425 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1423, <4 x half> %1424) #4 + %1426 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1427 = load <4 x half>, ptr addrspace(2) %1426, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1428 = fmul fast <4 x half> %1427, %1425 + %1429 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1430 = load <4 x half>, ptr addrspace(2) %1429, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1431 = fmul fast <4 x half> %1430, splat (half 0xH3400) + %1432 = fmul fast <4 x half> %1410, %1411 + %1433 = fsub fast <4 x half> %1410, %1432 + %1434 = fadd fast <4 x half> %1433, %1428 + %1435 = fadd fast <4 x half> %1434, %1431 + %1436 = fmul fast <4 x half> %1435, %1435 + %1437 = fmul fast <4 x half> %1436, %1435 + %1438 = fmul fast <4 x half> %1437, splat (half 0xHAEC8) + %1439 = fmul fast <4 x half> %1436, splat (half 0xH2AE9) + %1440 = fadd fast <4 x half> %1439, %1435 + %1441 = fadd fast <4 x half> %1440, %1438 + %1442 = fmul fast <4 x half> %1441, %1407 + %1443 = fadd fast <4 x half> %1442, %1406 + %1444 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1443, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1445 = fmul fast <4 x half> %1444, splat (half 0xH4C80) + %1446 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1445) #4 + %1447 = fmul fast <4 x half> %1446, splat (half 0xH2B1C) + %1448 = fmul fast <4 x half> %1436, splat (half 0xH1419) + %1449 = fadd fast <4 x half> %1448, %1447 + %1450 = fadd fast <4 x half> %1436, splat (half 0xHBC00) + %1451 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1449, <4 x half> %1450) #4 + %1452 = fmul fast <4 x half> %1451, %1427 + %1453 = fmul fast <4 x half> %1430, splat (half 0xH3800) + %1454 = fadd fast <4 x half> %1452, %1453 + %1455 = fadd fast <4 x half> %1454, %1436 + %1456 = fmul fast <4 x half> %1436, %1437 + %1457 = fsub fast <4 x half> %1455, %1456 + %1458 = fmul fast <4 x half> %1457, %1457 + %1459 = fmul fast <4 x half> %1458, %1457 + %1460 = fmul fast <4 x half> %1459, splat (half 0xHAEFA) + %1461 = fmul fast <4 x half> %1458, splat (half 0xH2B2B) + %1462 = fadd fast <4 x half> %1461, %1457 + %1463 = fadd fast <4 x half> %1462, %1460 + %1464 = fmul fast <4 x half> %1463, %1407 + %1465 = fadd fast <4 x half> %1464, %1406 + %1466 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1465, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1467 = fmul fast <4 x half> %1466, splat (half 0xH4CC0) + %1468 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1467) #4 + %1469 = fmul fast <4 x half> %1468, splat (half 0xH2ABD) + %1470 = fmul fast <4 x half> %1458, splat (half 0xH1419) + %1471 = fadd fast <4 x half> %1470, %1469 + %1472 = fadd fast <4 x half> %1458, splat (half 0xHBC00) + %1473 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1471, <4 x half> %1472) #4 + %1474 = fmul fast <4 x half> %1473, %1427 + %1475 = fmul fast <4 x half> %1430, splat (half 0xH3A00) + %1476 = fadd fast <4 x half> %1474, %1475 + %1477 = fadd fast <4 x half> %1476, %1458 + %1478 = fmul fast <4 x half> %1458, %1459 + %1479 = fsub fast <4 x half> %1477, %1478 + %1480 = fmul fast <2 x float> %1408, + %1481 = fadd fast <2 x float> %1480, %1 + %1482 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1481, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1483 = extractvalue { <4 x half>, i8 } %1482, 0 + %1484 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1483, <4 x half> splat (half 0xH3042), <4 x half> %1479) #4 + br label %5354 + +1485: ; preds = %1485, %726 + %1486 = phi <4 x half> [ zeroinitializer, %726 ], [ %1543, %1485 ] + %1487 = phi i32 [ 0, %726 ], [ %1544, %1485 ] + %1488 = tail call fast float @air.convert.f.f32.u.i32(i32 %1487) #4 + %1489 = fadd fast float %1488, 1.000000e+00 + %1490 = insertelement <2 x float> undef, float %1489, i64 0 + %1491 = insertelement <2 x float> %1490, float 0.000000e+00, i64 1 + %1492 = fmul fast <2 x float> %1491, %728 + %1493 = fadd fast <2 x float> %1492, %1 + %1494 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1493, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1495 = extractvalue { <4 x half>, i8 } %1494, 0 + %1496 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1495, <4 x half> splat (half 0xH2C42), <4 x half> %1486) #4 + %1497 = fneg fast float %1489 + %1498 = insertelement <2 x float> undef, float %1497, i64 0 + %1499 = insertelement <2 x float> %1498, float 0.000000e+00, i64 1 + %1500 = fmul fast <2 x float> %1499, %728 + %1501 = fadd fast <2 x float> %1500, %1 + %1502 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1501, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1503 = extractvalue { <4 x half>, i8 } %1502, 0 + %1504 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1503, <4 x half> splat (half 0xH2BA4), <4 x half> %1496) #4 + %1505 = insertelement <2 x float> , float %1489, i64 1 + %1506 = fmul fast <2 x float> %1505, %728 + %1507 = fadd fast <2 x float> %1506, %1 + %1508 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1507, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1509 = extractvalue { <4 x half>, i8 } %1508, 0 + %1510 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1509, <4 x half> splat (half 0xH2B6C), <4 x half> %1504) #4 + %1511 = insertelement <2 x float> , float %1497, i64 1 + %1512 = fmul fast <2 x float> %1511, %728 + %1513 = fadd fast <2 x float> %1512, %1 + %1514 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1513, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1515 = extractvalue { <4 x half>, i8 } %1514, 0 + %1516 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1515, <4 x half> splat (half 0xH2A66), <4 x half> %1510) #4 + %1517 = shufflevector <2 x float> %1490, <2 x float> poison, <2 x i32> zeroinitializer + %1518 = fmul fast <2 x float> %1517, %728 + %1519 = fadd fast <2 x float> %1518, %1 + %1520 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1519, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1521 = extractvalue { <4 x half>, i8 } %1520, 0 + %1522 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1521, <4 x half> splat (half 0xH2819), <4 x half> %1516) #4 + %1523 = insertelement <2 x float> %1498, float %1489, i64 1 + %1524 = fmul fast <2 x float> %1523, %728 + %1525 = fadd fast <2 x float> %1524, %1 + %1526 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1525, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1527 = extractvalue { <4 x half>, i8 } %1526, 0 + %1528 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1527, <4 x half> splat (half 0xH27AE), <4 x half> %1522) #4 + %1529 = insertelement <2 x float> %1490, float %1497, i64 1 + %1530 = fmul fast <2 x float> %1529, %728 + %1531 = fadd fast <2 x float> %1530, %1 + %1532 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1531, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1533 = extractvalue { <4 x half>, i8 } %1532, 0 + %1534 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1533, <4 x half> splat (half 0xH275F), <4 x half> %1528) #4 + %1535 = shufflevector <2 x float> %1498, <2 x float> poison, <2 x i32> zeroinitializer + %1536 = fmul fast <2 x float> %1535, %728 + %1537 = fadd fast <2 x float> %1536, %1 + %1538 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1537, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1539 = extractvalue { <4 x half>, i8 } %1538, 0 + %1540 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1539, <4 x half> splat (half 0xH27AE), <4 x half> %1534) #4 + %1541 = fmul fast <4 x half> %1540, %732 + %1542 = fadd fast <4 x half> %1541, %736 + %1543 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1542, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1544 = add nuw i32 %1487, 1 + %1545 = icmp eq i32 %1544, %713 + br i1 %1545, label %1405, label %1485, !llvm.loop !52 + +1546: ; preds = %1626, %689 + %1547 = phi <4 x half> [ %699, %689 ], [ %710, %1626 ] + %1548 = phi <4 x half> [ %697, %689 ], [ %706, %1626 ] + %1549 = phi <2 x float> [ %695, %689 ], [ %702, %1626 ] + %1550 = phi <4 x half> [ zeroinitializer, %689 ], [ %1684, %1626 ] + %1551 = fmul fast <4 x half> %1550, %1550 + %1552 = fmul fast <4 x half> %1551, %1550 + %1553 = fmul fast <4 x half> %1552, splat (half 0xHAF3B) + %1554 = fmul fast <4 x half> %1551, splat (half 0xH2AA8) + %1555 = fadd fast <4 x half> %1554, %1550 + %1556 = fadd fast <4 x half> %1555, %1553 + %1557 = fmul fast <4 x half> %1556, %1548 + %1558 = fadd fast <4 x half> %1557, %1547 + %1559 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1558, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1560 = fmul fast <4 x half> %1559, splat (half 0xH4C40) + %1561 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1560) #4 + %1562 = fmul fast <4 x half> %1561, splat (half 0xH2B88) + %1563 = fmul fast <4 x half> %1551, splat (half 0xH1419) + %1564 = fadd fast <4 x half> %1562, %1563 + %1565 = fadd fast <4 x half> %1551, splat (half 0xHBC00) + %1566 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1564, <4 x half> %1565) #4 + %1567 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1568 = load <4 x half>, ptr addrspace(2) %1567, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1569 = fmul fast <4 x half> %1568, %1566 + %1570 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1571 = load <4 x half>, ptr addrspace(2) %1570, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1572 = fmul fast <4 x half> %1571, splat (half 0xH3400) + %1573 = fmul fast <4 x half> %1551, %1552 + %1574 = fsub fast <4 x half> %1551, %1573 + %1575 = fadd fast <4 x half> %1574, %1569 + %1576 = fadd fast <4 x half> %1575, %1572 + %1577 = fmul fast <4 x half> %1576, %1576 + %1578 = fmul fast <4 x half> %1577, %1576 + %1579 = fmul fast <4 x half> %1578, splat (half 0xHAF6C) + %1580 = fmul fast <4 x half> %1577, splat (half 0xH2AE9) + %1581 = fadd fast <4 x half> %1580, %1576 + %1582 = fadd fast <4 x half> %1581, %1579 + %1583 = fmul fast <4 x half> %1582, %1548 + %1584 = fadd fast <4 x half> %1583, %1547 + %1585 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1584, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1586 = fmul fast <4 x half> %1585, splat (half 0xH4C80) + %1587 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1586) #4 + %1588 = fmul fast <4 x half> %1587, splat (half 0xH2B1C) + %1589 = fmul fast <4 x half> %1577, splat (half 0xH1419) + %1590 = fadd fast <4 x half> %1589, %1588 + %1591 = fadd fast <4 x half> %1577, splat (half 0xHBC00) + %1592 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1590, <4 x half> %1591) #4 + %1593 = fmul fast <4 x half> %1592, %1568 + %1594 = fmul fast <4 x half> %1571, splat (half 0xH3800) + %1595 = fadd fast <4 x half> %1593, %1594 + %1596 = fadd fast <4 x half> %1595, %1577 + %1597 = fmul fast <4 x half> %1577, %1578 + %1598 = fsub fast <4 x half> %1596, %1597 + %1599 = fmul fast <4 x half> %1598, %1598 + %1600 = fmul fast <4 x half> %1599, %1598 + %1601 = fmul fast <4 x half> %1600, splat (half 0xHAF9E) + %1602 = fmul fast <4 x half> %1599, splat (half 0xH2B2B) + %1603 = fadd fast <4 x half> %1602, %1598 + %1604 = fadd fast <4 x half> %1603, %1601 + %1605 = fmul fast <4 x half> %1604, %1548 + %1606 = fadd fast <4 x half> %1605, %1547 + %1607 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1606, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1608 = fmul fast <4 x half> %1607, splat (half 0xH4CC0) + %1609 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1608) #4 + %1610 = fmul fast <4 x half> %1609, splat (half 0xH2ABD) + %1611 = fmul fast <4 x half> %1599, splat (half 0xH1419) + %1612 = fadd fast <4 x half> %1611, %1610 + %1613 = fadd fast <4 x half> %1599, splat (half 0xHBC00) + %1614 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1612, <4 x half> %1613) #4 + %1615 = fmul fast <4 x half> %1614, %1568 + %1616 = fmul fast <4 x half> %1571, splat (half 0xH3A00) + %1617 = fadd fast <4 x half> %1615, %1616 + %1618 = fadd fast <4 x half> %1617, %1599 + %1619 = fmul fast <4 x half> %1599, %1600 + %1620 = fsub fast <4 x half> %1618, %1619 + %1621 = fmul fast <2 x float> %1549, + %1622 = fadd fast <2 x float> %1621, %1 + %1623 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1622, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1624 = extractvalue { <4 x half>, i8 } %1623, 0 + %1625 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1624, <4 x half> splat (half 0xH3052), <4 x half> %1620) #4 + br label %5354 + +1626: ; preds = %1626, %700 + %1627 = phi <4 x half> [ zeroinitializer, %700 ], [ %1684, %1626 ] + %1628 = phi i32 [ 0, %700 ], [ %1685, %1626 ] + %1629 = tail call fast float @air.convert.f.f32.u.i32(i32 %1628) #4 + %1630 = fadd fast float %1629, 5.000000e-01 + %1631 = insertelement <2 x float> undef, float %1630, i64 0 + %1632 = insertelement <2 x float> %1631, float 0.000000e+00, i64 1 + %1633 = fmul fast <2 x float> %1632, %702 + %1634 = fadd fast <2 x float> %1633, %1 + %1635 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1634, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1636 = extractvalue { <4 x half>, i8 } %1635, 0 + %1637 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1636, <4 x half> splat (half 0xH2C52), <4 x half> %1627) #4 + %1638 = fneg fast float %1630 + %1639 = insertelement <2 x float> undef, float %1638, i64 0 + %1640 = insertelement <2 x float> %1639, float 0.000000e+00, i64 1 + %1641 = fmul fast <2 x float> %1640, %702 + %1642 = fadd fast <2 x float> %1641, %1 + %1643 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1642, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1644 = extractvalue { <4 x half>, i8 } %1643, 0 + %1645 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1644, <4 x half> splat (half 0xH2B8D), <4 x half> %1637) #4 + %1646 = insertelement <2 x float> , float %1630, i64 1 + %1647 = fmul fast <2 x float> %1646, %702 + %1648 = fadd fast <2 x float> %1647, %1 + %1649 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1648, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1650 = extractvalue { <4 x half>, i8 } %1649, 0 + %1651 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1650, <4 x half> splat (half 0xH2BAE), <4 x half> %1645) #4 + %1652 = insertelement <2 x float> , float %1638, i64 1 + %1653 = fmul fast <2 x float> %1652, %702 + %1654 = fadd fast <2 x float> %1653, %1 + %1655 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1654, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1656 = extractvalue { <4 x half>, i8 } %1655, 0 + %1657 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1656, <4 x half> splat (half 0xH2A45), <4 x half> %1651) #4 + %1658 = shufflevector <2 x float> %1631, <2 x float> poison, <2 x i32> zeroinitializer + %1659 = fmul fast <2 x float> %1658, %702 + %1660 = fadd fast <2 x float> %1659, %1 + %1661 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1660, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1662 = extractvalue { <4 x half>, i8 } %1661, 0 + %1663 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1662, <4 x half> splat (half 0xH2829), <4 x half> %1657) #4 + %1664 = insertelement <2 x float> %1639, float %1630, i64 1 + %1665 = fmul fast <2 x float> %1664, %702 + %1666 = fadd fast <2 x float> %1665, %1 + %1667 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1666, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1668 = extractvalue { <4 x half>, i8 } %1667, 0 + %1669 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1668, <4 x half> splat (half 0xH27AE), <4 x half> %1663) #4 + %1670 = insertelement <2 x float> %1631, float %1638, i64 1 + %1671 = fmul fast <2 x float> %1670, %702 + %1672 = fadd fast <2 x float> %1671, %1 + %1673 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1672, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1674 = extractvalue { <4 x half>, i8 } %1673, 0 + %1675 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1674, <4 x half> splat (half 0xH274C), <4 x half> %1669) #4 + %1676 = shufflevector <2 x float> %1639, <2 x float> poison, <2 x i32> zeroinitializer + %1677 = fmul fast <2 x float> %1676, %702 + %1678 = fadd fast <2 x float> %1677, %1 + %1679 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1678, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1680 = extractvalue { <4 x half>, i8 } %1679, 0 + %1681 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1680, <4 x half> splat (half 0xH285A), <4 x half> %1675) #4 + %1682 = fmul fast <4 x half> %1681, %706 + %1683 = fadd fast <4 x half> %1682, %710 + %1684 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1683, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1685 = add nuw i32 %1628, 1 + %1686 = icmp eq i32 %1685, %687 + br i1 %1686, label %1546, label %1626, !llvm.loop !53 + +1687: ; preds = %1767, %663 + %1688 = phi <4 x half> [ %673, %663 ], [ %684, %1767 ] + %1689 = phi <4 x half> [ %671, %663 ], [ %680, %1767 ] + %1690 = phi <2 x float> [ %669, %663 ], [ %676, %1767 ] + %1691 = phi <4 x half> [ zeroinitializer, %663 ], [ %1825, %1767 ] + %1692 = fmul fast <4 x half> %1691, %1691 + %1693 = fmul fast <4 x half> %1692, %1691 + %1694 = fmul fast <4 x half> %1693, splat (half 0xHAFDF) + %1695 = fmul fast <4 x half> %1692, splat (half 0xH2AA8) + %1696 = fadd fast <4 x half> %1695, %1691 + %1697 = fadd fast <4 x half> %1696, %1694 + %1698 = fmul fast <4 x half> %1697, %1689 + %1699 = fadd fast <4 x half> %1698, %1688 + %1700 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1699, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1701 = fmul fast <4 x half> %1700, splat (half 0xH4C40) + %1702 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1701) #4 + %1703 = fmul fast <4 x half> %1702, splat (half 0xH2B88) + %1704 = fmul fast <4 x half> %1692, splat (half 0xH1419) + %1705 = fadd fast <4 x half> %1703, %1704 + %1706 = fadd fast <4 x half> %1692, splat (half 0xHBC00) + %1707 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1705, <4 x half> %1706) #4 + %1708 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1709 = load <4 x half>, ptr addrspace(2) %1708, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1710 = fmul fast <4 x half> %1709, %1707 + %1711 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1712 = load <4 x half>, ptr addrspace(2) %1711, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1713 = fmul fast <4 x half> %1712, splat (half 0xH3400) + %1714 = fmul fast <4 x half> %1692, %1693 + %1715 = fsub fast <4 x half> %1692, %1714 + %1716 = fadd fast <4 x half> %1715, %1710 + %1717 = fadd fast <4 x half> %1716, %1713 + %1718 = fmul fast <4 x half> %1717, %1717 + %1719 = fmul fast <4 x half> %1718, %1717 + %1720 = fmul fast <4 x half> %1719, splat (half 0xHB008) + %1721 = fmul fast <4 x half> %1718, splat (half 0xH2AE9) + %1722 = fadd fast <4 x half> %1721, %1717 + %1723 = fadd fast <4 x half> %1722, %1720 + %1724 = fmul fast <4 x half> %1723, %1689 + %1725 = fadd fast <4 x half> %1724, %1688 + %1726 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1725, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1727 = fmul fast <4 x half> %1726, splat (half 0xH4C80) + %1728 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1727) #4 + %1729 = fmul fast <4 x half> %1728, splat (half 0xH2B1C) + %1730 = fmul fast <4 x half> %1718, splat (half 0xH1419) + %1731 = fadd fast <4 x half> %1730, %1729 + %1732 = fadd fast <4 x half> %1718, splat (half 0xHBC00) + %1733 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1731, <4 x half> %1732) #4 + %1734 = fmul fast <4 x half> %1733, %1709 + %1735 = fmul fast <4 x half> %1712, splat (half 0xH3800) + %1736 = fadd fast <4 x half> %1734, %1735 + %1737 = fadd fast <4 x half> %1736, %1718 + %1738 = fmul fast <4 x half> %1718, %1719 + %1739 = fsub fast <4 x half> %1737, %1738 + %1740 = fmul fast <4 x half> %1739, %1739 + %1741 = fmul fast <4 x half> %1740, %1739 + %1742 = fmul fast <4 x half> %1741, splat (half 0xHB021) + %1743 = fmul fast <4 x half> %1740, splat (half 0xH2B2B) + %1744 = fadd fast <4 x half> %1743, %1739 + %1745 = fadd fast <4 x half> %1744, %1742 + %1746 = fmul fast <4 x half> %1745, %1689 + %1747 = fadd fast <4 x half> %1746, %1688 + %1748 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1747, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1749 = fmul fast <4 x half> %1748, splat (half 0xH4CC0) + %1750 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1749) #4 + %1751 = fmul fast <4 x half> %1750, splat (half 0xH2ABD) + %1752 = fmul fast <4 x half> %1740, splat (half 0xH1419) + %1753 = fadd fast <4 x half> %1752, %1751 + %1754 = fadd fast <4 x half> %1740, splat (half 0xHBC00) + %1755 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1753, <4 x half> %1754) #4 + %1756 = fmul fast <4 x half> %1755, %1709 + %1757 = fmul fast <4 x half> %1712, splat (half 0xH3A00) + %1758 = fadd fast <4 x half> %1756, %1757 + %1759 = fadd fast <4 x half> %1758, %1740 + %1760 = fmul fast <4 x half> %1740, %1741 + %1761 = fsub fast <4 x half> %1759, %1760 + %1762 = fmul fast <2 x float> %1690, + %1763 = fadd fast <2 x float> %1762, %1 + %1764 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1763, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1765 = extractvalue { <4 x half>, i8 } %1764, 0 + %1766 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1765, <4 x half> splat (half 0xH3062), <4 x half> %1761) #4 + br label %5354 + +1767: ; preds = %1767, %674 + %1768 = phi <4 x half> [ zeroinitializer, %674 ], [ %1825, %1767 ] + %1769 = phi i32 [ 0, %674 ], [ %1826, %1767 ] + %1770 = tail call fast float @air.convert.f.f32.u.i32(i32 %1769) #4 + %1771 = fadd fast float %1770, 6.250000e-01 + %1772 = insertelement <2 x float> undef, float %1771, i64 0 + %1773 = insertelement <2 x float> %1772, float 0.000000e+00, i64 1 + %1774 = fmul fast <2 x float> %1773, %676 + %1775 = fadd fast <2 x float> %1774, %1 + %1776 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1775, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1777 = extractvalue { <4 x half>, i8 } %1776, 0 + %1778 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1777, <4 x half> splat (half 0xH2C62), <4 x half> %1768) #4 + %1779 = fneg fast float %1771 + %1780 = insertelement <2 x float> undef, float %1779, i64 0 + %1781 = insertelement <2 x float> %1780, float 0.000000e+00, i64 1 + %1782 = fmul fast <2 x float> %1781, %676 + %1783 = fadd fast <2 x float> %1782, %1 + %1784 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1783, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1785 = extractvalue { <4 x half>, i8 } %1784, 0 + %1786 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1785, <4 x half> splat (half 0xH2B76), <4 x half> %1778) #4 + %1787 = insertelement <2 x float> , float %1771, i64 1 + %1788 = fmul fast <2 x float> %1787, %676 + %1789 = fadd fast <2 x float> %1788, %1 + %1790 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1789, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1791 = extractvalue { <4 x half>, i8 } %1790, 0 + %1792 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1791, <4 x half> splat (half 0xH2BF0), <4 x half> %1786) #4 + %1793 = insertelement <2 x float> , float %1779, i64 1 + %1794 = fmul fast <2 x float> %1793, %676 + %1795 = fadd fast <2 x float> %1794, %1 + %1796 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1795, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1797 = extractvalue { <4 x half>, i8 } %1796, 0 + %1798 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1797, <4 x half> splat (half 0xH2A24), <4 x half> %1792) #4 + %1799 = shufflevector <2 x float> %1772, <2 x float> poison, <2 x i32> zeroinitializer + %1800 = fmul fast <2 x float> %1799, %676 + %1801 = fadd fast <2 x float> %1800, %1 + %1802 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1801, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1803 = extractvalue { <4 x half>, i8 } %1802, 0 + %1804 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1803, <4 x half> splat (half 0xH2839), <4 x half> %1798) #4 + %1805 = insertelement <2 x float> %1780, float %1771, i64 1 + %1806 = fmul fast <2 x float> %1805, %676 + %1807 = fadd fast <2 x float> %1806, %1 + %1808 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1807, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1809 = extractvalue { <4 x half>, i8 } %1808, 0 + %1810 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1809, <4 x half> splat (half 0xH27AE), <4 x half> %1804) #4 + %1811 = insertelement <2 x float> %1772, float %1779, i64 1 + %1812 = fmul fast <2 x float> %1811, %676 + %1813 = fadd fast <2 x float> %1812, %1 + %1814 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1813, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1815 = extractvalue { <4 x half>, i8 } %1814, 0 + %1816 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1815, <4 x half> splat (half 0xH2738), <4 x half> %1810) #4 + %1817 = shufflevector <2 x float> %1780, <2 x float> poison, <2 x i32> zeroinitializer + %1818 = fmul fast <2 x float> %1817, %676 + %1819 = fadd fast <2 x float> %1818, %1 + %1820 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1819, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1821 = extractvalue { <4 x half>, i8 } %1820, 0 + %1822 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1821, <4 x half> splat (half 0xH27AE), <4 x half> %1816) #4 + %1823 = fmul fast <4 x half> %1822, %680 + %1824 = fadd fast <4 x half> %1823, %684 + %1825 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1824, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1826 = add nuw i32 %1769, 1 + %1827 = icmp eq i32 %1826, %661 + br i1 %1827, label %1687, label %1767, !llvm.loop !54 + +1828: ; preds = %1908, %637 + %1829 = phi <4 x half> [ %647, %637 ], [ %658, %1908 ] + %1830 = phi <4 x half> [ %645, %637 ], [ %654, %1908 ] + %1831 = phi <2 x float> [ %643, %637 ], [ %650, %1908 ] + %1832 = phi <4 x half> [ zeroinitializer, %637 ], [ %1966, %1908 ] + %1833 = fmul fast <4 x half> %1832, %1832 + %1834 = fmul fast <4 x half> %1833, %1832 + %1835 = fmul fast <4 x half> %1834, splat (half 0xHB042) + %1836 = fmul fast <4 x half> %1833, splat (half 0xH2AA8) + %1837 = fadd fast <4 x half> %1836, %1832 + %1838 = fadd fast <4 x half> %1837, %1835 + %1839 = fmul fast <4 x half> %1838, %1830 + %1840 = fadd fast <4 x half> %1839, %1829 + %1841 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1840, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1842 = fmul fast <4 x half> %1841, splat (half 0xH4C40) + %1843 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1842) #4 + %1844 = fmul fast <4 x half> %1843, splat (half 0xH2B88) + %1845 = fmul fast <4 x half> %1833, splat (half 0xH1419) + %1846 = fadd fast <4 x half> %1844, %1845 + %1847 = fadd fast <4 x half> %1833, splat (half 0xHBC00) + %1848 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1846, <4 x half> %1847) #4 + %1849 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1850 = load <4 x half>, ptr addrspace(2) %1849, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1851 = fmul fast <4 x half> %1850, %1848 + %1852 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1853 = load <4 x half>, ptr addrspace(2) %1852, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1854 = fmul fast <4 x half> %1853, splat (half 0xH3400) + %1855 = fmul fast <4 x half> %1833, %1834 + %1856 = fsub fast <4 x half> %1833, %1855 + %1857 = fadd fast <4 x half> %1856, %1851 + %1858 = fadd fast <4 x half> %1857, %1854 + %1859 = fmul fast <4 x half> %1858, %1858 + %1860 = fmul fast <4 x half> %1859, %1858 + %1861 = fmul fast <4 x half> %1860, splat (half 0xHB05A) + %1862 = fmul fast <4 x half> %1859, splat (half 0xH2AE9) + %1863 = fadd fast <4 x half> %1862, %1858 + %1864 = fadd fast <4 x half> %1863, %1861 + %1865 = fmul fast <4 x half> %1864, %1830 + %1866 = fadd fast <4 x half> %1865, %1829 + %1867 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1866, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1868 = fmul fast <4 x half> %1867, splat (half 0xH4C80) + %1869 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1868) #4 + %1870 = fmul fast <4 x half> %1869, splat (half 0xH2B1C) + %1871 = fmul fast <4 x half> %1859, splat (half 0xH1419) + %1872 = fadd fast <4 x half> %1871, %1870 + %1873 = fadd fast <4 x half> %1859, splat (half 0xHBC00) + %1874 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1872, <4 x half> %1873) #4 + %1875 = fmul fast <4 x half> %1874, %1850 + %1876 = fmul fast <4 x half> %1853, splat (half 0xH3800) + %1877 = fadd fast <4 x half> %1875, %1876 + %1878 = fadd fast <4 x half> %1877, %1859 + %1879 = fmul fast <4 x half> %1859, %1860 + %1880 = fsub fast <4 x half> %1878, %1879 + %1881 = fmul fast <4 x half> %1880, %1880 + %1882 = fmul fast <4 x half> %1881, %1880 + %1883 = fmul fast <4 x half> %1882, splat (half 0xHB073) + %1884 = fmul fast <4 x half> %1881, splat (half 0xH2B2B) + %1885 = fadd fast <4 x half> %1884, %1880 + %1886 = fadd fast <4 x half> %1885, %1883 + %1887 = fmul fast <4 x half> %1886, %1830 + %1888 = fadd fast <4 x half> %1887, %1829 + %1889 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1888, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %1890 = fmul fast <4 x half> %1889, splat (half 0xH4CC0) + %1891 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1890) #4 + %1892 = fmul fast <4 x half> %1891, splat (half 0xH2ABD) + %1893 = fmul fast <4 x half> %1881, splat (half 0xH1419) + %1894 = fadd fast <4 x half> %1893, %1892 + %1895 = fadd fast <4 x half> %1881, splat (half 0xHBC00) + %1896 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1894, <4 x half> %1895) #4 + %1897 = fmul fast <4 x half> %1896, %1850 + %1898 = fmul fast <4 x half> %1853, splat (half 0xH3A00) + %1899 = fadd fast <4 x half> %1897, %1898 + %1900 = fadd fast <4 x half> %1899, %1881 + %1901 = fmul fast <4 x half> %1881, %1882 + %1902 = fsub fast <4 x half> %1900, %1901 + %1903 = fmul fast <2 x float> %1831, + %1904 = fadd fast <2 x float> %1903, %1 + %1905 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1904, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1906 = extractvalue { <4 x half>, i8 } %1905, 0 + %1907 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1906, <4 x half> splat (half 0xH3073), <4 x half> %1902) #4 + br label %5354 + +1908: ; preds = %1908, %648 + %1909 = phi <4 x half> [ zeroinitializer, %648 ], [ %1966, %1908 ] + %1910 = phi i32 [ 0, %648 ], [ %1967, %1908 ] + %1911 = tail call fast float @air.convert.f.f32.u.i32(i32 %1910) #4 + %1912 = fadd fast float %1911, 7.500000e-01 + %1913 = insertelement <2 x float> undef, float %1912, i64 0 + %1914 = insertelement <2 x float> %1913, float 0.000000e+00, i64 1 + %1915 = fmul fast <2 x float> %1914, %650 + %1916 = fadd fast <2 x float> %1915, %1 + %1917 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1916, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1918 = extractvalue { <4 x half>, i8 } %1917, 0 + %1919 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1918, <4 x half> splat (half 0xH2C73), <4 x half> %1909) #4 + %1920 = fneg fast float %1912 + %1921 = insertelement <2 x float> undef, float %1920, i64 0 + %1922 = insertelement <2 x float> %1921, float 0.000000e+00, i64 1 + %1923 = fmul fast <2 x float> %1922, %650 + %1924 = fadd fast <2 x float> %1923, %1 + %1925 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1924, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1926 = extractvalue { <4 x half>, i8 } %1925, 0 + %1927 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1926, <4 x half> splat (half 0xH2B60), <4 x half> %1919) #4 + %1928 = insertelement <2 x float> , float %1912, i64 1 + %1929 = fmul fast <2 x float> %1928, %650 + %1930 = fadd fast <2 x float> %1929, %1 + %1931 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1930, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1932 = extractvalue { <4 x half>, i8 } %1931, 0 + %1933 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1932, <4 x half> splat (half 0xH2C18), <4 x half> %1927) #4 + %1934 = insertelement <2 x float> , float %1920, i64 1 + %1935 = fmul fast <2 x float> %1934, %650 + %1936 = fadd fast <2 x float> %1935, %1 + %1937 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1936, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1938 = extractvalue { <4 x half>, i8 } %1937, 0 + %1939 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1938, <4 x half> splat (half 0xH2A04), <4 x half> %1933) #4 + %1940 = shufflevector <2 x float> %1913, <2 x float> poison, <2 x i32> zeroinitializer + %1941 = fmul fast <2 x float> %1940, %650 + %1942 = fadd fast <2 x float> %1941, %1 + %1943 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1942, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1944 = extractvalue { <4 x half>, i8 } %1943, 0 + %1945 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1944, <4 x half> splat (half 0xH284A), <4 x half> %1939) #4 + %1946 = insertelement <2 x float> %1921, float %1912, i64 1 + %1947 = fmul fast <2 x float> %1946, %650 + %1948 = fadd fast <2 x float> %1947, %1 + %1949 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1948, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1950 = extractvalue { <4 x half>, i8 } %1949, 0 + %1951 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1950, <4 x half> splat (half 0xH27AE), <4 x half> %1945) #4 + %1952 = insertelement <2 x float> %1913, float %1920, i64 1 + %1953 = fmul fast <2 x float> %1952, %650 + %1954 = fadd fast <2 x float> %1953, %1 + %1955 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1954, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1956 = extractvalue { <4 x half>, i8 } %1955, 0 + %1957 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1956, <4 x half> splat (half 0xH2724), <4 x half> %1951) #4 + %1958 = shufflevector <2 x float> %1921, <2 x float> poison, <2 x i32> zeroinitializer + %1959 = fmul fast <2 x float> %1958, %650 + %1960 = fadd fast <2 x float> %1959, %1 + %1961 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %1960, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %1962 = extractvalue { <4 x half>, i8 } %1961, 0 + %1963 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %1962, <4 x half> splat (half 0xH285A), <4 x half> %1957) #4 + %1964 = fmul fast <4 x half> %1963, %654 + %1965 = fadd fast <4 x half> %1964, %658 + %1966 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1965, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %1967 = add nuw i32 %1910, 1 + %1968 = icmp eq i32 %1967, %635 + br i1 %1968, label %1828, label %1908, !llvm.loop !55 + +1969: ; preds = %2049, %611 + %1970 = phi <4 x half> [ %621, %611 ], [ %632, %2049 ] + %1971 = phi <4 x half> [ %619, %611 ], [ %628, %2049 ] + %1972 = phi <2 x float> [ %617, %611 ], [ %624, %2049 ] + %1973 = phi <4 x half> [ zeroinitializer, %611 ], [ %2107, %2049 ] + %1974 = fmul fast <4 x half> %1973, %1973 + %1975 = fmul fast <4 x half> %1974, %1973 + %1976 = fmul fast <4 x half> %1975, splat (half 0xHAE97) + %1977 = fmul fast <4 x half> %1974, splat (half 0xH2AA8) + %1978 = fadd fast <4 x half> %1977, %1973 + %1979 = fadd fast <4 x half> %1978, %1976 + %1980 = fmul fast <4 x half> %1979, %1971 + %1981 = fadd fast <4 x half> %1980, %1970 + %1982 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %1981, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %1983 = fmul fast <4 x half> %1982, splat (half 0xH4C40) + %1984 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %1983) #4 + %1985 = fmul fast <4 x half> %1984, splat (half 0xH2B88) + %1986 = fmul fast <4 x half> %1974, splat (half 0xH1419) + %1987 = fadd fast <4 x half> %1985, %1986 + %1988 = fadd fast <4 x half> %1974, splat (half 0xHBC00) + %1989 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %1987, <4 x half> %1988) #4 + %1990 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %1991 = load <4 x half>, ptr addrspace(2) %1990, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1992 = fmul fast <4 x half> %1991, %1989 + %1993 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %1994 = load <4 x half>, ptr addrspace(2) %1993, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %1995 = fmul fast <4 x half> %1994, splat (half 0xH3400) + %1996 = fmul fast <4 x half> %1974, %1975 + %1997 = fsub fast <4 x half> %1974, %1996 + %1998 = fadd fast <4 x half> %1997, %1992 + %1999 = fadd fast <4 x half> %1998, %1995 + %2000 = fmul fast <4 x half> %1999, %1999 + %2001 = fmul fast <4 x half> %2000, %1999 + %2002 = fmul fast <4 x half> %2001, splat (half 0xHAEC8) + %2003 = fmul fast <4 x half> %2000, splat (half 0xH2AE9) + %2004 = fadd fast <4 x half> %2003, %1999 + %2005 = fadd fast <4 x half> %2004, %2002 + %2006 = fmul fast <4 x half> %2005, %1971 + %2007 = fadd fast <4 x half> %2006, %1970 + %2008 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2007, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2009 = fmul fast <4 x half> %2008, splat (half 0xH4C80) + %2010 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2009) #4 + %2011 = fmul fast <4 x half> %2010, splat (half 0xH2B1C) + %2012 = fmul fast <4 x half> %2000, splat (half 0xH1419) + %2013 = fadd fast <4 x half> %2012, %2011 + %2014 = fadd fast <4 x half> %2000, splat (half 0xHBC00) + %2015 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2013, <4 x half> %2014) #4 + %2016 = fmul fast <4 x half> %2015, %1991 + %2017 = fmul fast <4 x half> %1994, splat (half 0xH3800) + %2018 = fadd fast <4 x half> %2016, %2017 + %2019 = fadd fast <4 x half> %2018, %2000 + %2020 = fmul fast <4 x half> %2000, %2001 + %2021 = fsub fast <4 x half> %2019, %2020 + %2022 = fmul fast <4 x half> %2021, %2021 + %2023 = fmul fast <4 x half> %2022, %2021 + %2024 = fmul fast <4 x half> %2023, splat (half 0xHAEFA) + %2025 = fmul fast <4 x half> %2022, splat (half 0xH2B2B) + %2026 = fadd fast <4 x half> %2025, %2021 + %2027 = fadd fast <4 x half> %2026, %2024 + %2028 = fmul fast <4 x half> %2027, %1971 + %2029 = fadd fast <4 x half> %2028, %1970 + %2030 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2029, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2031 = fmul fast <4 x half> %2030, splat (half 0xH4CC0) + %2032 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2031) #4 + %2033 = fmul fast <4 x half> %2032, splat (half 0xH2ABD) + %2034 = fmul fast <4 x half> %2022, splat (half 0xH1419) + %2035 = fadd fast <4 x half> %2034, %2033 + %2036 = fadd fast <4 x half> %2022, splat (half 0xHBC00) + %2037 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2035, <4 x half> %2036) #4 + %2038 = fmul fast <4 x half> %2037, %1991 + %2039 = fmul fast <4 x half> %1994, splat (half 0xH3A00) + %2040 = fadd fast <4 x half> %2038, %2039 + %2041 = fadd fast <4 x half> %2040, %2022 + %2042 = fmul fast <4 x half> %2022, %2023 + %2043 = fsub fast <4 x half> %2041, %2042 + %2044 = fmul fast <2 x float> %1972, + %2045 = fadd fast <2 x float> %2044, %1 + %2046 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2045, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2047 = extractvalue { <4 x half>, i8 } %2046, 0 + %2048 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2047, <4 x half> splat (half 0xH3083), <4 x half> %2043) #4 + br label %5354 + +2049: ; preds = %2049, %622 + %2050 = phi <4 x half> [ zeroinitializer, %622 ], [ %2107, %2049 ] + %2051 = phi i32 [ 0, %622 ], [ %2108, %2049 ] + %2052 = tail call fast float @air.convert.f.f32.u.i32(i32 %2051) #4 + %2053 = fadd fast float %2052, 8.750000e-01 + %2054 = insertelement <2 x float> undef, float %2053, i64 0 + %2055 = insertelement <2 x float> %2054, float 0.000000e+00, i64 1 + %2056 = fmul fast <2 x float> %2055, %624 + %2057 = fadd fast <2 x float> %2056, %1 + %2058 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2057, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2059 = extractvalue { <4 x half>, i8 } %2058, 0 + %2060 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2059, <4 x half> splat (half 0xH2C83), <4 x half> %2050) #4 + %2061 = fneg fast float %2053 + %2062 = insertelement <2 x float> undef, float %2061, i64 0 + %2063 = insertelement <2 x float> %2062, float 0.000000e+00, i64 1 + %2064 = fmul fast <2 x float> %2063, %624 + %2065 = fadd fast <2 x float> %2064, %1 + %2066 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2065, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2067 = extractvalue { <4 x half>, i8 } %2066, 0 + %2068 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2067, <4 x half> splat (half 0xH2B48), <4 x half> %2060) #4 + %2069 = insertelement <2 x float> , float %2053, i64 1 + %2070 = fmul fast <2 x float> %2069, %624 + %2071 = fadd fast <2 x float> %2070, %1 + %2072 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2071, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2073 = extractvalue { <4 x half>, i8 } %2072, 0 + %2074 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2073, <4 x half> splat (half 0xH2A66), <4 x half> %2068) #4 + %2075 = insertelement <2 x float> , float %2061, i64 1 + %2076 = fmul fast <2 x float> %2075, %624 + %2077 = fadd fast <2 x float> %2076, %1 + %2078 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2077, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2079 = extractvalue { <4 x half>, i8 } %2078, 0 + %2080 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2079, <4 x half> splat (half 0xH2A66), <4 x half> %2074) #4 + %2081 = shufflevector <2 x float> %2054, <2 x float> poison, <2 x i32> zeroinitializer + %2082 = fmul fast <2 x float> %2081, %624 + %2083 = fadd fast <2 x float> %2082, %1 + %2084 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2083, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2085 = extractvalue { <4 x half>, i8 } %2084, 0 + %2086 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2085, <4 x half> splat (half 0xH285A), <4 x half> %2080) #4 + %2087 = insertelement <2 x float> %2062, float %2053, i64 1 + %2088 = fmul fast <2 x float> %2087, %624 + %2089 = fadd fast <2 x float> %2088, %1 + %2090 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2089, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2091 = extractvalue { <4 x half>, i8 } %2090, 0 + %2092 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2091, <4 x half> splat (half 0xH27AE), <4 x half> %2086) #4 + %2093 = insertelement <2 x float> %2054, float %2061, i64 1 + %2094 = fmul fast <2 x float> %2093, %624 + %2095 = fadd fast <2 x float> %2094, %1 + %2096 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2095, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2097 = extractvalue { <4 x half>, i8 } %2096, 0 + %2098 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2097, <4 x half> splat (half 0xH2711), <4 x half> %2092) #4 + %2099 = shufflevector <2 x float> %2062, <2 x float> poison, <2 x i32> zeroinitializer + %2100 = fmul fast <2 x float> %2099, %624 + %2101 = fadd fast <2 x float> %2100, %1 + %2102 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2101, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2103 = extractvalue { <4 x half>, i8 } %2102, 0 + %2104 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2103, <4 x half> splat (half 0xH27AE), <4 x half> %2098) #4 + %2105 = fmul fast <4 x half> %2104, %628 + %2106 = fadd fast <4 x half> %2105, %632 + %2107 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2106, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2108 = add nuw i32 %2051, 1 + %2109 = icmp eq i32 %2108, %609 + br i1 %2109, label %1969, label %2049, !llvm.loop !56 + +2110: ; preds = %2190, %585 + %2111 = phi <4 x half> [ %595, %585 ], [ %606, %2190 ] + %2112 = phi <4 x half> [ %593, %585 ], [ %602, %2190 ] + %2113 = phi <2 x float> [ %591, %585 ], [ %598, %2190 ] + %2114 = phi <4 x half> [ zeroinitializer, %585 ], [ %2248, %2190 ] + %2115 = fmul fast <4 x half> %2114, %2114 + %2116 = fmul fast <4 x half> %2115, %2114 + %2117 = fmul fast <4 x half> %2116, splat (half 0xHAF3B) + %2118 = fmul fast <4 x half> %2115, splat (half 0xH2AA8) + %2119 = fadd fast <4 x half> %2118, %2114 + %2120 = fadd fast <4 x half> %2119, %2117 + %2121 = fmul fast <4 x half> %2120, %2112 + %2122 = fadd fast <4 x half> %2121, %2111 + %2123 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2122, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2124 = fmul fast <4 x half> %2123, splat (half 0xH4C40) + %2125 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2124) #4 + %2126 = fmul fast <4 x half> %2125, splat (half 0xH2B88) + %2127 = fmul fast <4 x half> %2115, splat (half 0xH1419) + %2128 = fadd fast <4 x half> %2126, %2127 + %2129 = fadd fast <4 x half> %2115, splat (half 0xHBC00) + %2130 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2128, <4 x half> %2129) #4 + %2131 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2132 = load <4 x half>, ptr addrspace(2) %2131, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2133 = fmul fast <4 x half> %2132, %2130 + %2134 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2135 = load <4 x half>, ptr addrspace(2) %2134, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2136 = fmul fast <4 x half> %2135, splat (half 0xH3400) + %2137 = fmul fast <4 x half> %2115, %2116 + %2138 = fsub fast <4 x half> %2115, %2137 + %2139 = fadd fast <4 x half> %2138, %2133 + %2140 = fadd fast <4 x half> %2139, %2136 + %2141 = fmul fast <4 x half> %2140, %2140 + %2142 = fmul fast <4 x half> %2141, %2140 + %2143 = fmul fast <4 x half> %2142, splat (half 0xHAF6C) + %2144 = fmul fast <4 x half> %2141, splat (half 0xH2AE9) + %2145 = fadd fast <4 x half> %2144, %2140 + %2146 = fadd fast <4 x half> %2145, %2143 + %2147 = fmul fast <4 x half> %2146, %2112 + %2148 = fadd fast <4 x half> %2147, %2111 + %2149 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2148, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2150 = fmul fast <4 x half> %2149, splat (half 0xH4C80) + %2151 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2150) #4 + %2152 = fmul fast <4 x half> %2151, splat (half 0xH2B1C) + %2153 = fmul fast <4 x half> %2141, splat (half 0xH1419) + %2154 = fadd fast <4 x half> %2153, %2152 + %2155 = fadd fast <4 x half> %2141, splat (half 0xHBC00) + %2156 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2154, <4 x half> %2155) #4 + %2157 = fmul fast <4 x half> %2156, %2132 + %2158 = fmul fast <4 x half> %2135, splat (half 0xH3800) + %2159 = fadd fast <4 x half> %2157, %2158 + %2160 = fadd fast <4 x half> %2159, %2141 + %2161 = fmul fast <4 x half> %2141, %2142 + %2162 = fsub fast <4 x half> %2160, %2161 + %2163 = fmul fast <4 x half> %2162, %2162 + %2164 = fmul fast <4 x half> %2163, %2162 + %2165 = fmul fast <4 x half> %2164, splat (half 0xHAF9E) + %2166 = fmul fast <4 x half> %2163, splat (half 0xH2B2B) + %2167 = fadd fast <4 x half> %2166, %2162 + %2168 = fadd fast <4 x half> %2167, %2165 + %2169 = fmul fast <4 x half> %2168, %2112 + %2170 = fadd fast <4 x half> %2169, %2111 + %2171 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2170, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2172 = fmul fast <4 x half> %2171, splat (half 0xH4CC0) + %2173 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2172) #4 + %2174 = fmul fast <4 x half> %2173, splat (half 0xH2ABD) + %2175 = fmul fast <4 x half> %2163, splat (half 0xH1419) + %2176 = fadd fast <4 x half> %2175, %2174 + %2177 = fadd fast <4 x half> %2163, splat (half 0xHBC00) + %2178 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2176, <4 x half> %2177) #4 + %2179 = fmul fast <4 x half> %2178, %2132 + %2180 = fmul fast <4 x half> %2135, splat (half 0xH3A00) + %2181 = fadd fast <4 x half> %2179, %2180 + %2182 = fadd fast <4 x half> %2181, %2163 + %2183 = fmul fast <4 x half> %2163, %2164 + %2184 = fsub fast <4 x half> %2182, %2183 + %2185 = fmul fast <2 x float> %2113, + %2186 = fadd fast <2 x float> %2185, %1 + %2187 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2186, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2188 = extractvalue { <4 x half>, i8 } %2187, 0 + %2189 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2188, <4 x half> splat (half 0xH3094), <4 x half> %2184) #4 + br label %5354 + +2190: ; preds = %2190, %596 + %2191 = phi <4 x half> [ zeroinitializer, %596 ], [ %2248, %2190 ] + %2192 = phi i32 [ 0, %596 ], [ %2249, %2190 ] + %2193 = tail call fast float @air.convert.f.f32.u.i32(i32 %2192) #4 + %2194 = fadd fast float %2193, 1.000000e+00 + %2195 = insertelement <2 x float> undef, float %2194, i64 0 + %2196 = insertelement <2 x float> %2195, float 0.000000e+00, i64 1 + %2197 = fmul fast <2 x float> %2196, %598 + %2198 = fadd fast <2 x float> %2197, %1 + %2199 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2198, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2200 = extractvalue { <4 x half>, i8 } %2199, 0 + %2201 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2200, <4 x half> splat (half 0xH2C94), <4 x half> %2191) #4 + %2202 = fneg fast float %2194 + %2203 = insertelement <2 x float> undef, float %2202, i64 0 + %2204 = insertelement <2 x float> %2203, float 0.000000e+00, i64 1 + %2205 = fmul fast <2 x float> %2204, %598 + %2206 = fadd fast <2 x float> %2205, %1 + %2207 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2206, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2208 = extractvalue { <4 x half>, i8 } %2207, 0 + %2209 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2208, <4 x half> splat (half 0xH2B32), <4 x half> %2201) #4 + %2210 = insertelement <2 x float> , float %2194, i64 1 + %2211 = fmul fast <2 x float> %2210, %598 + %2212 = fadd fast <2 x float> %2211, %1 + %2213 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2212, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2214 = extractvalue { <4 x half>, i8 } %2213, 0 + %2215 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2214, <4 x half> splat (half 0xH2AA8), <4 x half> %2209) #4 + %2216 = insertelement <2 x float> , float %2202, i64 1 + %2217 = fmul fast <2 x float> %2216, %598 + %2218 = fadd fast <2 x float> %2217, %1 + %2219 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2218, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2220 = extractvalue { <4 x half>, i8 } %2219, 0 + %2221 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2220, <4 x half> splat (half 0xH2A45), <4 x half> %2215) #4 + %2222 = shufflevector <2 x float> %2195, <2 x float> poison, <2 x i32> zeroinitializer + %2223 = fmul fast <2 x float> %2222, %598 + %2224 = fadd fast <2 x float> %2223, %1 + %2225 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2224, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2226 = extractvalue { <4 x half>, i8 } %2225, 0 + %2227 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2226, <4 x half> splat (half 0xH286A), <4 x half> %2221) #4 + %2228 = insertelement <2 x float> %2203, float %2194, i64 1 + %2229 = fmul fast <2 x float> %2228, %598 + %2230 = fadd fast <2 x float> %2229, %1 + %2231 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2230, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2232 = extractvalue { <4 x half>, i8 } %2231, 0 + %2233 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2232, <4 x half> splat (half 0xH27AE), <4 x half> %2227) #4 + %2234 = insertelement <2 x float> %2195, float %2202, i64 1 + %2235 = fmul fast <2 x float> %2234, %598 + %2236 = fadd fast <2 x float> %2235, %1 + %2237 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2236, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2238 = extractvalue { <4 x half>, i8 } %2237, 0 + %2239 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2238, <4 x half> splat (half 0xH26FD), <4 x half> %2233) #4 + %2240 = shufflevector <2 x float> %2203, <2 x float> poison, <2 x i32> zeroinitializer + %2241 = fmul fast <2 x float> %2240, %598 + %2242 = fadd fast <2 x float> %2241, %1 + %2243 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2242, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2244 = extractvalue { <4 x half>, i8 } %2243, 0 + %2245 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2244, <4 x half> splat (half 0xH285A), <4 x half> %2239) #4 + %2246 = fmul fast <4 x half> %2245, %602 + %2247 = fadd fast <4 x half> %2246, %606 + %2248 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2247, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2249 = add nuw i32 %2192, 1 + %2250 = icmp eq i32 %2249, %583 + br i1 %2250, label %2110, label %2190, !llvm.loop !57 + +2251: ; preds = %2331, %559 + %2252 = phi <4 x half> [ %569, %559 ], [ %580, %2331 ] + %2253 = phi <4 x half> [ %567, %559 ], [ %576, %2331 ] + %2254 = phi <2 x float> [ %565, %559 ], [ %572, %2331 ] + %2255 = phi <4 x half> [ zeroinitializer, %559 ], [ %2389, %2331 ] + %2256 = fmul fast <4 x half> %2255, %2255 + %2257 = fmul fast <4 x half> %2256, %2255 + %2258 = fmul fast <4 x half> %2257, splat (half 0xHAFDF) + %2259 = fmul fast <4 x half> %2256, splat (half 0xH2AA8) + %2260 = fadd fast <4 x half> %2259, %2255 + %2261 = fadd fast <4 x half> %2260, %2258 + %2262 = fmul fast <4 x half> %2261, %2253 + %2263 = fadd fast <4 x half> %2262, %2252 + %2264 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2263, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2265 = fmul fast <4 x half> %2264, splat (half 0xH4C40) + %2266 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2265) #4 + %2267 = fmul fast <4 x half> %2266, splat (half 0xH2B88) + %2268 = fmul fast <4 x half> %2256, splat (half 0xH1419) + %2269 = fadd fast <4 x half> %2267, %2268 + %2270 = fadd fast <4 x half> %2256, splat (half 0xHBC00) + %2271 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2269, <4 x half> %2270) #4 + %2272 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2273 = load <4 x half>, ptr addrspace(2) %2272, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2274 = fmul fast <4 x half> %2273, %2271 + %2275 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2276 = load <4 x half>, ptr addrspace(2) %2275, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2277 = fmul fast <4 x half> %2276, splat (half 0xH3400) + %2278 = fmul fast <4 x half> %2256, %2257 + %2279 = fsub fast <4 x half> %2256, %2278 + %2280 = fadd fast <4 x half> %2279, %2274 + %2281 = fadd fast <4 x half> %2280, %2277 + %2282 = fmul fast <4 x half> %2281, %2281 + %2283 = fmul fast <4 x half> %2282, %2281 + %2284 = fmul fast <4 x half> %2283, splat (half 0xHB008) + %2285 = fmul fast <4 x half> %2282, splat (half 0xH2AE9) + %2286 = fadd fast <4 x half> %2285, %2281 + %2287 = fadd fast <4 x half> %2286, %2284 + %2288 = fmul fast <4 x half> %2287, %2253 + %2289 = fadd fast <4 x half> %2288, %2252 + %2290 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2289, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2291 = fmul fast <4 x half> %2290, splat (half 0xH4C80) + %2292 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2291) #4 + %2293 = fmul fast <4 x half> %2292, splat (half 0xH2B1C) + %2294 = fmul fast <4 x half> %2282, splat (half 0xH1419) + %2295 = fadd fast <4 x half> %2294, %2293 + %2296 = fadd fast <4 x half> %2282, splat (half 0xHBC00) + %2297 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2295, <4 x half> %2296) #4 + %2298 = fmul fast <4 x half> %2297, %2273 + %2299 = fmul fast <4 x half> %2276, splat (half 0xH3800) + %2300 = fadd fast <4 x half> %2298, %2299 + %2301 = fadd fast <4 x half> %2300, %2282 + %2302 = fmul fast <4 x half> %2282, %2283 + %2303 = fsub fast <4 x half> %2301, %2302 + %2304 = fmul fast <4 x half> %2303, %2303 + %2305 = fmul fast <4 x half> %2304, %2303 + %2306 = fmul fast <4 x half> %2305, splat (half 0xHB021) + %2307 = fmul fast <4 x half> %2304, splat (half 0xH2B2B) + %2308 = fadd fast <4 x half> %2307, %2303 + %2309 = fadd fast <4 x half> %2308, %2306 + %2310 = fmul fast <4 x half> %2309, %2253 + %2311 = fadd fast <4 x half> %2310, %2252 + %2312 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2311, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2313 = fmul fast <4 x half> %2312, splat (half 0xH4CC0) + %2314 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2313) #4 + %2315 = fmul fast <4 x half> %2314, splat (half 0xH2ABD) + %2316 = fmul fast <4 x half> %2304, splat (half 0xH1419) + %2317 = fadd fast <4 x half> %2316, %2315 + %2318 = fadd fast <4 x half> %2304, splat (half 0xHBC00) + %2319 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2317, <4 x half> %2318) #4 + %2320 = fmul fast <4 x half> %2319, %2273 + %2321 = fmul fast <4 x half> %2276, splat (half 0xH3A00) + %2322 = fadd fast <4 x half> %2320, %2321 + %2323 = fadd fast <4 x half> %2322, %2304 + %2324 = fmul fast <4 x half> %2304, %2305 + %2325 = fsub fast <4 x half> %2323, %2324 + %2326 = fmul fast <2 x float> %2254, + %2327 = fadd fast <2 x float> %2326, %1 + %2328 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2327, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2329 = extractvalue { <4 x half>, i8 } %2328, 0 + %2330 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2329, <4 x half> splat (half 0xH30A4), <4 x half> %2325) #4 + br label %5354 + +2331: ; preds = %2331, %570 + %2332 = phi <4 x half> [ zeroinitializer, %570 ], [ %2389, %2331 ] + %2333 = phi i32 [ 0, %570 ], [ %2390, %2331 ] + %2334 = tail call fast float @air.convert.f.f32.u.i32(i32 %2333) #4 + %2335 = fadd fast float %2334, 5.000000e-01 + %2336 = insertelement <2 x float> undef, float %2335, i64 0 + %2337 = insertelement <2 x float> %2336, float 0.000000e+00, i64 1 + %2338 = fmul fast <2 x float> %2337, %572 + %2339 = fadd fast <2 x float> %2338, %1 + %2340 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2339, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2341 = extractvalue { <4 x half>, i8 } %2340, 0 + %2342 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2341, <4 x half> splat (half 0xH2CA4), <4 x half> %2332) #4 + %2343 = fneg fast float %2335 + %2344 = insertelement <2 x float> undef, float %2343, i64 0 + %2345 = insertelement <2 x float> %2344, float 0.000000e+00, i64 1 + %2346 = fmul fast <2 x float> %2345, %572 + %2347 = fadd fast <2 x float> %2346, %1 + %2348 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2347, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2349 = extractvalue { <4 x half>, i8 } %2348, 0 + %2350 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2349, <4 x half> splat (half 0xH2B1B), <4 x half> %2342) #4 + %2351 = insertelement <2 x float> , float %2335, i64 1 + %2352 = fmul fast <2 x float> %2351, %572 + %2353 = fadd fast <2 x float> %2352, %1 + %2354 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2353, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2355 = extractvalue { <4 x half>, i8 } %2354, 0 + %2356 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2355, <4 x half> splat (half 0xH2AE9), <4 x half> %2350) #4 + %2357 = insertelement <2 x float> , float %2343, i64 1 + %2358 = fmul fast <2 x float> %2357, %572 + %2359 = fadd fast <2 x float> %2358, %1 + %2360 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2359, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2361 = extractvalue { <4 x half>, i8 } %2360, 0 + %2362 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2361, <4 x half> splat (half 0xH2A24), <4 x half> %2356) #4 + %2363 = shufflevector <2 x float> %2336, <2 x float> poison, <2 x i32> zeroinitializer + %2364 = fmul fast <2 x float> %2363, %572 + %2365 = fadd fast <2 x float> %2364, %1 + %2366 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2365, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2367 = extractvalue { <4 x half>, i8 } %2366, 0 + %2368 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2367, <4 x half> splat (half 0xH287B), <4 x half> %2362) #4 + %2369 = insertelement <2 x float> %2344, float %2335, i64 1 + %2370 = fmul fast <2 x float> %2369, %572 + %2371 = fadd fast <2 x float> %2370, %1 + %2372 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2371, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2373 = extractvalue { <4 x half>, i8 } %2372, 0 + %2374 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2373, <4 x half> splat (half 0xH27AE), <4 x half> %2368) #4 + %2375 = insertelement <2 x float> %2336, float %2343, i64 1 + %2376 = fmul fast <2 x float> %2375, %572 + %2377 = fadd fast <2 x float> %2376, %1 + %2378 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2377, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2379 = extractvalue { <4 x half>, i8 } %2378, 0 + %2380 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2379, <4 x half> splat (half 0xH26EA), <4 x half> %2374) #4 + %2381 = shufflevector <2 x float> %2344, <2 x float> poison, <2 x i32> zeroinitializer + %2382 = fmul fast <2 x float> %2381, %572 + %2383 = fadd fast <2 x float> %2382, %1 + %2384 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2383, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2385 = extractvalue { <4 x half>, i8 } %2384, 0 + %2386 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2385, <4 x half> splat (half 0xH27AE), <4 x half> %2380) #4 + %2387 = fmul fast <4 x half> %2386, %576 + %2388 = fadd fast <4 x half> %2387, %580 + %2389 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2388, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2390 = add nuw i32 %2333, 1 + %2391 = icmp eq i32 %2390, %557 + br i1 %2391, label %2251, label %2331, !llvm.loop !58 + +2392: ; preds = %2472, %533 + %2393 = phi <4 x half> [ %543, %533 ], [ %554, %2472 ] + %2394 = phi <4 x half> [ %541, %533 ], [ %550, %2472 ] + %2395 = phi <2 x float> [ %539, %533 ], [ %546, %2472 ] + %2396 = phi <4 x half> [ zeroinitializer, %533 ], [ %2530, %2472 ] + %2397 = fmul fast <4 x half> %2396, %2396 + %2398 = fmul fast <4 x half> %2397, %2396 + %2399 = fmul fast <4 x half> %2398, splat (half 0xHB042) + %2400 = fmul fast <4 x half> %2397, splat (half 0xH2AA8) + %2401 = fadd fast <4 x half> %2400, %2396 + %2402 = fadd fast <4 x half> %2401, %2399 + %2403 = fmul fast <4 x half> %2402, %2394 + %2404 = fadd fast <4 x half> %2403, %2393 + %2405 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2404, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2406 = fmul fast <4 x half> %2405, splat (half 0xH4C40) + %2407 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2406) #4 + %2408 = fmul fast <4 x half> %2407, splat (half 0xH2B88) + %2409 = fmul fast <4 x half> %2397, splat (half 0xH1419) + %2410 = fadd fast <4 x half> %2408, %2409 + %2411 = fadd fast <4 x half> %2397, splat (half 0xHBC00) + %2412 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2410, <4 x half> %2411) #4 + %2413 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2414 = load <4 x half>, ptr addrspace(2) %2413, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2415 = fmul fast <4 x half> %2414, %2412 + %2416 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2417 = load <4 x half>, ptr addrspace(2) %2416, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2418 = fmul fast <4 x half> %2417, splat (half 0xH3400) + %2419 = fmul fast <4 x half> %2397, %2398 + %2420 = fsub fast <4 x half> %2397, %2419 + %2421 = fadd fast <4 x half> %2420, %2415 + %2422 = fadd fast <4 x half> %2421, %2418 + %2423 = fmul fast <4 x half> %2422, %2422 + %2424 = fmul fast <4 x half> %2423, %2422 + %2425 = fmul fast <4 x half> %2424, splat (half 0xHB05A) + %2426 = fmul fast <4 x half> %2423, splat (half 0xH2AE9) + %2427 = fadd fast <4 x half> %2426, %2422 + %2428 = fadd fast <4 x half> %2427, %2425 + %2429 = fmul fast <4 x half> %2428, %2394 + %2430 = fadd fast <4 x half> %2429, %2393 + %2431 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2430, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2432 = fmul fast <4 x half> %2431, splat (half 0xH4C80) + %2433 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2432) #4 + %2434 = fmul fast <4 x half> %2433, splat (half 0xH2B1C) + %2435 = fmul fast <4 x half> %2423, splat (half 0xH1419) + %2436 = fadd fast <4 x half> %2435, %2434 + %2437 = fadd fast <4 x half> %2423, splat (half 0xHBC00) + %2438 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2436, <4 x half> %2437) #4 + %2439 = fmul fast <4 x half> %2438, %2414 + %2440 = fmul fast <4 x half> %2417, splat (half 0xH3800) + %2441 = fadd fast <4 x half> %2439, %2440 + %2442 = fadd fast <4 x half> %2441, %2423 + %2443 = fmul fast <4 x half> %2423, %2424 + %2444 = fsub fast <4 x half> %2442, %2443 + %2445 = fmul fast <4 x half> %2444, %2444 + %2446 = fmul fast <4 x half> %2445, %2444 + %2447 = fmul fast <4 x half> %2446, splat (half 0xHB073) + %2448 = fmul fast <4 x half> %2445, splat (half 0xH2B2B) + %2449 = fadd fast <4 x half> %2448, %2444 + %2450 = fadd fast <4 x half> %2449, %2447 + %2451 = fmul fast <4 x half> %2450, %2394 + %2452 = fadd fast <4 x half> %2451, %2393 + %2453 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2452, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2454 = fmul fast <4 x half> %2453, splat (half 0xH4CC0) + %2455 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2454) #4 + %2456 = fmul fast <4 x half> %2455, splat (half 0xH2ABD) + %2457 = fmul fast <4 x half> %2445, splat (half 0xH1419) + %2458 = fadd fast <4 x half> %2457, %2456 + %2459 = fadd fast <4 x half> %2445, splat (half 0xHBC00) + %2460 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2458, <4 x half> %2459) #4 + %2461 = fmul fast <4 x half> %2460, %2414 + %2462 = fmul fast <4 x half> %2417, splat (half 0xH3A00) + %2463 = fadd fast <4 x half> %2461, %2462 + %2464 = fadd fast <4 x half> %2463, %2445 + %2465 = fmul fast <4 x half> %2445, %2446 + %2466 = fsub fast <4 x half> %2464, %2465 + %2467 = fmul fast <2 x float> %2395, + %2468 = fadd fast <2 x float> %2467, %1 + %2469 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2468, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2470 = extractvalue { <4 x half>, i8 } %2469, 0 + %2471 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2470, <4 x half> splat (half 0xH30B4), <4 x half> %2466) #4 + br label %5354 + +2472: ; preds = %2472, %544 + %2473 = phi <4 x half> [ zeroinitializer, %544 ], [ %2530, %2472 ] + %2474 = phi i32 [ 0, %544 ], [ %2531, %2472 ] + %2475 = tail call fast float @air.convert.f.f32.u.i32(i32 %2474) #4 + %2476 = fadd fast float %2475, 6.250000e-01 + %2477 = insertelement <2 x float> undef, float %2476, i64 0 + %2478 = insertelement <2 x float> %2477, float 0.000000e+00, i64 1 + %2479 = fmul fast <2 x float> %2478, %546 + %2480 = fadd fast <2 x float> %2479, %1 + %2481 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2480, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2482 = extractvalue { <4 x half>, i8 } %2481, 0 + %2483 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2482, <4 x half> splat (half 0xH2CB4), <4 x half> %2473) #4 + %2484 = fneg fast float %2476 + %2485 = insertelement <2 x float> undef, float %2484, i64 0 + %2486 = insertelement <2 x float> %2485, float 0.000000e+00, i64 1 + %2487 = fmul fast <2 x float> %2486, %546 + %2488 = fadd fast <2 x float> %2487, %1 + %2489 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2488, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2490 = extractvalue { <4 x half>, i8 } %2489, 0 + %2491 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2490, <4 x half> splat (half 0xH2B04), <4 x half> %2483) #4 + %2492 = insertelement <2 x float> , float %2476, i64 1 + %2493 = fmul fast <2 x float> %2492, %546 + %2494 = fadd fast <2 x float> %2493, %1 + %2495 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2494, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2496 = extractvalue { <4 x half>, i8 } %2495, 0 + %2497 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2496, <4 x half> splat (half 0xH2B2B), <4 x half> %2491) #4 + %2498 = insertelement <2 x float> , float %2484, i64 1 + %2499 = fmul fast <2 x float> %2498, %546 + %2500 = fadd fast <2 x float> %2499, %1 + %2501 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2500, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2502 = extractvalue { <4 x half>, i8 } %2501, 0 + %2503 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2502, <4 x half> splat (half 0xH2A04), <4 x half> %2497) #4 + %2504 = shufflevector <2 x float> %2477, <2 x float> poison, <2 x i32> zeroinitializer + %2505 = fmul fast <2 x float> %2504, %546 + %2506 = fadd fast <2 x float> %2505, %1 + %2507 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2506, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2508 = extractvalue { <4 x half>, i8 } %2507, 0 + %2509 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2508, <4 x half> splat (half 0xH288B), <4 x half> %2503) #4 + %2510 = insertelement <2 x float> %2485, float %2476, i64 1 + %2511 = fmul fast <2 x float> %2510, %546 + %2512 = fadd fast <2 x float> %2511, %1 + %2513 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2512, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2514 = extractvalue { <4 x half>, i8 } %2513, 0 + %2515 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2514, <4 x half> splat (half 0xH27AE), <4 x half> %2509) #4 + %2516 = insertelement <2 x float> %2477, float %2484, i64 1 + %2517 = fmul fast <2 x float> %2516, %546 + %2518 = fadd fast <2 x float> %2517, %1 + %2519 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2518, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2520 = extractvalue { <4 x half>, i8 } %2519, 0 + %2521 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2520, <4 x half> splat (half 0xH26D6), <4 x half> %2515) #4 + %2522 = shufflevector <2 x float> %2485, <2 x float> poison, <2 x i32> zeroinitializer + %2523 = fmul fast <2 x float> %2522, %546 + %2524 = fadd fast <2 x float> %2523, %1 + %2525 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2524, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2526 = extractvalue { <4 x half>, i8 } %2525, 0 + %2527 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2526, <4 x half> splat (half 0xH285A), <4 x half> %2521) #4 + %2528 = fmul fast <4 x half> %2527, %550 + %2529 = fadd fast <4 x half> %2528, %554 + %2530 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2529, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2531 = add nuw i32 %2474, 1 + %2532 = icmp eq i32 %2531, %531 + br i1 %2532, label %2392, label %2472, !llvm.loop !59 + +2533: ; preds = %2613, %507 + %2534 = phi <4 x half> [ %517, %507 ], [ %528, %2613 ] + %2535 = phi <4 x half> [ %515, %507 ], [ %524, %2613 ] + %2536 = phi <2 x float> [ %513, %507 ], [ %520, %2613 ] + %2537 = phi <4 x half> [ zeroinitializer, %507 ], [ %2671, %2613 ] + %2538 = fmul fast <4 x half> %2537, %2537 + %2539 = fmul fast <4 x half> %2538, %2537 + %2540 = fmul fast <4 x half> %2539, splat (half 0xHAE97) + %2541 = fmul fast <4 x half> %2538, splat (half 0xH2AA8) + %2542 = fadd fast <4 x half> %2541, %2537 + %2543 = fadd fast <4 x half> %2542, %2540 + %2544 = fmul fast <4 x half> %2543, %2535 + %2545 = fadd fast <4 x half> %2544, %2534 + %2546 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2545, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2547 = fmul fast <4 x half> %2546, splat (half 0xH4C40) + %2548 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2547) #4 + %2549 = fmul fast <4 x half> %2548, splat (half 0xH2B88) + %2550 = fmul fast <4 x half> %2538, splat (half 0xH1419) + %2551 = fadd fast <4 x half> %2549, %2550 + %2552 = fadd fast <4 x half> %2538, splat (half 0xHBC00) + %2553 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2551, <4 x half> %2552) #4 + %2554 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2555 = load <4 x half>, ptr addrspace(2) %2554, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2556 = fmul fast <4 x half> %2555, %2553 + %2557 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2558 = load <4 x half>, ptr addrspace(2) %2557, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2559 = fmul fast <4 x half> %2558, splat (half 0xH3400) + %2560 = fmul fast <4 x half> %2538, %2539 + %2561 = fsub fast <4 x half> %2538, %2560 + %2562 = fadd fast <4 x half> %2561, %2556 + %2563 = fadd fast <4 x half> %2562, %2559 + %2564 = fmul fast <4 x half> %2563, %2563 + %2565 = fmul fast <4 x half> %2564, %2563 + %2566 = fmul fast <4 x half> %2565, splat (half 0xHAEC8) + %2567 = fmul fast <4 x half> %2564, splat (half 0xH2AE9) + %2568 = fadd fast <4 x half> %2567, %2563 + %2569 = fadd fast <4 x half> %2568, %2566 + %2570 = fmul fast <4 x half> %2569, %2535 + %2571 = fadd fast <4 x half> %2570, %2534 + %2572 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2571, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2573 = fmul fast <4 x half> %2572, splat (half 0xH4C80) + %2574 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2573) #4 + %2575 = fmul fast <4 x half> %2574, splat (half 0xH2B1C) + %2576 = fmul fast <4 x half> %2564, splat (half 0xH1419) + %2577 = fadd fast <4 x half> %2576, %2575 + %2578 = fadd fast <4 x half> %2564, splat (half 0xHBC00) + %2579 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2577, <4 x half> %2578) #4 + %2580 = fmul fast <4 x half> %2579, %2555 + %2581 = fmul fast <4 x half> %2558, splat (half 0xH3800) + %2582 = fadd fast <4 x half> %2580, %2581 + %2583 = fadd fast <4 x half> %2582, %2564 + %2584 = fmul fast <4 x half> %2564, %2565 + %2585 = fsub fast <4 x half> %2583, %2584 + %2586 = fmul fast <4 x half> %2585, %2585 + %2587 = fmul fast <4 x half> %2586, %2585 + %2588 = fmul fast <4 x half> %2587, splat (half 0xHAEFA) + %2589 = fmul fast <4 x half> %2586, splat (half 0xH2B2B) + %2590 = fadd fast <4 x half> %2589, %2585 + %2591 = fadd fast <4 x half> %2590, %2588 + %2592 = fmul fast <4 x half> %2591, %2535 + %2593 = fadd fast <4 x half> %2592, %2534 + %2594 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2593, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2595 = fmul fast <4 x half> %2594, splat (half 0xH4CC0) + %2596 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2595) #4 + %2597 = fmul fast <4 x half> %2596, splat (half 0xH2ABD) + %2598 = fmul fast <4 x half> %2586, splat (half 0xH1419) + %2599 = fadd fast <4 x half> %2598, %2597 + %2600 = fadd fast <4 x half> %2586, splat (half 0xHBC00) + %2601 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2599, <4 x half> %2600) #4 + %2602 = fmul fast <4 x half> %2601, %2555 + %2603 = fmul fast <4 x half> %2558, splat (half 0xH3A00) + %2604 = fadd fast <4 x half> %2602, %2603 + %2605 = fadd fast <4 x half> %2604, %2586 + %2606 = fmul fast <4 x half> %2586, %2587 + %2607 = fsub fast <4 x half> %2605, %2606 + %2608 = fmul fast <2 x float> %2536, + %2609 = fadd fast <2 x float> %2608, %1 + %2610 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2609, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2611 = extractvalue { <4 x half>, i8 } %2610, 0 + %2612 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2611, <4 x half> splat (half 0xH30C5), <4 x half> %2607) #4 + br label %5354 + +2613: ; preds = %2613, %518 + %2614 = phi <4 x half> [ zeroinitializer, %518 ], [ %2671, %2613 ] + %2615 = phi i32 [ 0, %518 ], [ %2672, %2613 ] + %2616 = tail call fast float @air.convert.f.f32.u.i32(i32 %2615) #4 + %2617 = fadd fast float %2616, 7.500000e-01 + %2618 = insertelement <2 x float> undef, float %2617, i64 0 + %2619 = insertelement <2 x float> %2618, float 0.000000e+00, i64 1 + %2620 = fmul fast <2 x float> %2619, %520 + %2621 = fadd fast <2 x float> %2620, %1 + %2622 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2621, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2623 = extractvalue { <4 x half>, i8 } %2622, 0 + %2624 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2623, <4 x half> splat (half 0xH2CC5), <4 x half> %2614) #4 + %2625 = fneg fast float %2617 + %2626 = insertelement <2 x float> undef, float %2625, i64 0 + %2627 = insertelement <2 x float> %2626, float 0.000000e+00, i64 1 + %2628 = fmul fast <2 x float> %2627, %520 + %2629 = fadd fast <2 x float> %2628, %1 + %2630 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2629, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2631 = extractvalue { <4 x half>, i8 } %2630, 0 + %2632 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2631, <4 x half> splat (half 0xH2AED), <4 x half> %2624) #4 + %2633 = insertelement <2 x float> , float %2617, i64 1 + %2634 = fmul fast <2 x float> %2633, %520 + %2635 = fadd fast <2 x float> %2634, %1 + %2636 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2635, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2637 = extractvalue { <4 x half>, i8 } %2636, 0 + %2638 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2637, <4 x half> splat (half 0xH2B6C), <4 x half> %2632) #4 + %2639 = insertelement <2 x float> , float %2625, i64 1 + %2640 = fmul fast <2 x float> %2639, %520 + %2641 = fadd fast <2 x float> %2640, %1 + %2642 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2641, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2643 = extractvalue { <4 x half>, i8 } %2642, 0 + %2644 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2643, <4 x half> splat (half 0xH2A66), <4 x half> %2638) #4 + %2645 = shufflevector <2 x float> %2618, <2 x float> poison, <2 x i32> zeroinitializer + %2646 = fmul fast <2 x float> %2645, %520 + %2647 = fadd fast <2 x float> %2646, %1 + %2648 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2647, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2649 = extractvalue { <4 x half>, i8 } %2648, 0 + %2650 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2649, <4 x half> splat (half 0xH289C), <4 x half> %2644) #4 + %2651 = insertelement <2 x float> %2626, float %2617, i64 1 + %2652 = fmul fast <2 x float> %2651, %520 + %2653 = fadd fast <2 x float> %2652, %1 + %2654 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2653, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2655 = extractvalue { <4 x half>, i8 } %2654, 0 + %2656 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2655, <4 x half> splat (half 0xH27AE), <4 x half> %2650) #4 + %2657 = insertelement <2 x float> %2618, float %2625, i64 1 + %2658 = fmul fast <2 x float> %2657, %520 + %2659 = fadd fast <2 x float> %2658, %1 + %2660 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2659, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2661 = extractvalue { <4 x half>, i8 } %2660, 0 + %2662 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2661, <4 x half> splat (half 0xH26C2), <4 x half> %2656) #4 + %2663 = shufflevector <2 x float> %2626, <2 x float> poison, <2 x i32> zeroinitializer + %2664 = fmul fast <2 x float> %2663, %520 + %2665 = fadd fast <2 x float> %2664, %1 + %2666 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2665, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2667 = extractvalue { <4 x half>, i8 } %2666, 0 + %2668 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2667, <4 x half> splat (half 0xH27AE), <4 x half> %2662) #4 + %2669 = fmul fast <4 x half> %2668, %524 + %2670 = fadd fast <4 x half> %2669, %528 + %2671 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2670, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2672 = add nuw i32 %2615, 1 + %2673 = icmp eq i32 %2672, %505 + br i1 %2673, label %2533, label %2613, !llvm.loop !60 + +2674: ; preds = %2754, %481 + %2675 = phi <4 x half> [ %491, %481 ], [ %502, %2754 ] + %2676 = phi <4 x half> [ %489, %481 ], [ %498, %2754 ] + %2677 = phi <2 x float> [ %487, %481 ], [ %494, %2754 ] + %2678 = phi <4 x half> [ zeroinitializer, %481 ], [ %2812, %2754 ] + %2679 = fmul fast <4 x half> %2678, %2678 + %2680 = fmul fast <4 x half> %2679, %2678 + %2681 = fmul fast <4 x half> %2680, splat (half 0xHAF3B) + %2682 = fmul fast <4 x half> %2679, splat (half 0xH2AA8) + %2683 = fadd fast <4 x half> %2682, %2678 + %2684 = fadd fast <4 x half> %2683, %2681 + %2685 = fmul fast <4 x half> %2684, %2676 + %2686 = fadd fast <4 x half> %2685, %2675 + %2687 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2686, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2688 = fmul fast <4 x half> %2687, splat (half 0xH4C40) + %2689 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2688) #4 + %2690 = fmul fast <4 x half> %2689, splat (half 0xH2B88) + %2691 = fmul fast <4 x half> %2679, splat (half 0xH1419) + %2692 = fadd fast <4 x half> %2690, %2691 + %2693 = fadd fast <4 x half> %2679, splat (half 0xHBC00) + %2694 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2692, <4 x half> %2693) #4 + %2695 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2696 = load <4 x half>, ptr addrspace(2) %2695, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2697 = fmul fast <4 x half> %2696, %2694 + %2698 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2699 = load <4 x half>, ptr addrspace(2) %2698, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2700 = fmul fast <4 x half> %2699, splat (half 0xH3400) + %2701 = fmul fast <4 x half> %2679, %2680 + %2702 = fsub fast <4 x half> %2679, %2701 + %2703 = fadd fast <4 x half> %2702, %2697 + %2704 = fadd fast <4 x half> %2703, %2700 + %2705 = fmul fast <4 x half> %2704, %2704 + %2706 = fmul fast <4 x half> %2705, %2704 + %2707 = fmul fast <4 x half> %2706, splat (half 0xHAF6C) + %2708 = fmul fast <4 x half> %2705, splat (half 0xH2AE9) + %2709 = fadd fast <4 x half> %2708, %2704 + %2710 = fadd fast <4 x half> %2709, %2707 + %2711 = fmul fast <4 x half> %2710, %2676 + %2712 = fadd fast <4 x half> %2711, %2675 + %2713 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2712, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2714 = fmul fast <4 x half> %2713, splat (half 0xH4C80) + %2715 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2714) #4 + %2716 = fmul fast <4 x half> %2715, splat (half 0xH2B1C) + %2717 = fmul fast <4 x half> %2705, splat (half 0xH1419) + %2718 = fadd fast <4 x half> %2717, %2716 + %2719 = fadd fast <4 x half> %2705, splat (half 0xHBC00) + %2720 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2718, <4 x half> %2719) #4 + %2721 = fmul fast <4 x half> %2720, %2696 + %2722 = fmul fast <4 x half> %2699, splat (half 0xH3800) + %2723 = fadd fast <4 x half> %2721, %2722 + %2724 = fadd fast <4 x half> %2723, %2705 + %2725 = fmul fast <4 x half> %2705, %2706 + %2726 = fsub fast <4 x half> %2724, %2725 + %2727 = fmul fast <4 x half> %2726, %2726 + %2728 = fmul fast <4 x half> %2727, %2726 + %2729 = fmul fast <4 x half> %2728, splat (half 0xHAF9E) + %2730 = fmul fast <4 x half> %2727, splat (half 0xH2B2B) + %2731 = fadd fast <4 x half> %2730, %2726 + %2732 = fadd fast <4 x half> %2731, %2729 + %2733 = fmul fast <4 x half> %2732, %2676 + %2734 = fadd fast <4 x half> %2733, %2675 + %2735 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2734, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2736 = fmul fast <4 x half> %2735, splat (half 0xH4CC0) + %2737 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2736) #4 + %2738 = fmul fast <4 x half> %2737, splat (half 0xH2ABD) + %2739 = fmul fast <4 x half> %2727, splat (half 0xH1419) + %2740 = fadd fast <4 x half> %2739, %2738 + %2741 = fadd fast <4 x half> %2727, splat (half 0xHBC00) + %2742 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2740, <4 x half> %2741) #4 + %2743 = fmul fast <4 x half> %2742, %2696 + %2744 = fmul fast <4 x half> %2699, splat (half 0xH3A00) + %2745 = fadd fast <4 x half> %2743, %2744 + %2746 = fadd fast <4 x half> %2745, %2727 + %2747 = fmul fast <4 x half> %2727, %2728 + %2748 = fsub fast <4 x half> %2746, %2747 + %2749 = fmul fast <2 x float> %2677, + %2750 = fadd fast <2 x float> %2749, %1 + %2751 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2750, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2752 = extractvalue { <4 x half>, i8 } %2751, 0 + %2753 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2752, <4 x half> splat (half 0xH30D5), <4 x half> %2748) #4 + br label %5354 + +2754: ; preds = %2754, %492 + %2755 = phi <4 x half> [ zeroinitializer, %492 ], [ %2812, %2754 ] + %2756 = phi i32 [ 0, %492 ], [ %2813, %2754 ] + %2757 = tail call fast float @air.convert.f.f32.u.i32(i32 %2756) #4 + %2758 = fadd fast float %2757, 8.750000e-01 + %2759 = insertelement <2 x float> undef, float %2758, i64 0 + %2760 = insertelement <2 x float> %2759, float 0.000000e+00, i64 1 + %2761 = fmul fast <2 x float> %2760, %494 + %2762 = fadd fast <2 x float> %2761, %1 + %2763 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2762, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2764 = extractvalue { <4 x half>, i8 } %2763, 0 + %2765 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2764, <4 x half> splat (half 0xH2CD5), <4 x half> %2755) #4 + %2766 = fneg fast float %2758 + %2767 = insertelement <2 x float> undef, float %2766, i64 0 + %2768 = insertelement <2 x float> %2767, float 0.000000e+00, i64 1 + %2769 = fmul fast <2 x float> %2768, %494 + %2770 = fadd fast <2 x float> %2769, %1 + %2771 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2770, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2772 = extractvalue { <4 x half>, i8 } %2771, 0 + %2773 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2772, <4 x half> splat (half 0xH2AD6), <4 x half> %2765) #4 + %2774 = insertelement <2 x float> , float %2758, i64 1 + %2775 = fmul fast <2 x float> %2774, %494 + %2776 = fadd fast <2 x float> %2775, %1 + %2777 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2776, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2778 = extractvalue { <4 x half>, i8 } %2777, 0 + %2779 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2778, <4 x half> splat (half 0xH2BAE), <4 x half> %2773) #4 + %2780 = insertelement <2 x float> , float %2766, i64 1 + %2781 = fmul fast <2 x float> %2780, %494 + %2782 = fadd fast <2 x float> %2781, %1 + %2783 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2782, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2784 = extractvalue { <4 x half>, i8 } %2783, 0 + %2785 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2784, <4 x half> splat (half 0xH2A45), <4 x half> %2779) #4 + %2786 = shufflevector <2 x float> %2759, <2 x float> poison, <2 x i32> zeroinitializer + %2787 = fmul fast <2 x float> %2786, %494 + %2788 = fadd fast <2 x float> %2787, %1 + %2789 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2788, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2790 = extractvalue { <4 x half>, i8 } %2789, 0 + %2791 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2790, <4 x half> splat (half 0xH28AC), <4 x half> %2785) #4 + %2792 = insertelement <2 x float> %2767, float %2758, i64 1 + %2793 = fmul fast <2 x float> %2792, %494 + %2794 = fadd fast <2 x float> %2793, %1 + %2795 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2794, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2796 = extractvalue { <4 x half>, i8 } %2795, 0 + %2797 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2796, <4 x half> splat (half 0xH27AE), <4 x half> %2791) #4 + %2798 = insertelement <2 x float> %2759, float %2766, i64 1 + %2799 = fmul fast <2 x float> %2798, %494 + %2800 = fadd fast <2 x float> %2799, %1 + %2801 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2800, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2802 = extractvalue { <4 x half>, i8 } %2801, 0 + %2803 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2802, <4 x half> splat (half 0xH26AE), <4 x half> %2797) #4 + %2804 = shufflevector <2 x float> %2767, <2 x float> poison, <2 x i32> zeroinitializer + %2805 = fmul fast <2 x float> %2804, %494 + %2806 = fadd fast <2 x float> %2805, %1 + %2807 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2806, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2808 = extractvalue { <4 x half>, i8 } %2807, 0 + %2809 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2808, <4 x half> splat (half 0xH285A), <4 x half> %2803) #4 + %2810 = fmul fast <4 x half> %2809, %498 + %2811 = fadd fast <4 x half> %2810, %502 + %2812 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2811, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2813 = add nuw i32 %2756, 1 + %2814 = icmp eq i32 %2813, %479 + br i1 %2814, label %2674, label %2754, !llvm.loop !61 + +2815: ; preds = %2895, %455 + %2816 = phi <4 x half> [ %465, %455 ], [ %476, %2895 ] + %2817 = phi <4 x half> [ %463, %455 ], [ %472, %2895 ] + %2818 = phi <2 x float> [ %461, %455 ], [ %468, %2895 ] + %2819 = phi <4 x half> [ zeroinitializer, %455 ], [ %2953, %2895 ] + %2820 = fmul fast <4 x half> %2819, %2819 + %2821 = fmul fast <4 x half> %2820, %2819 + %2822 = fmul fast <4 x half> %2821, splat (half 0xHAFDF) + %2823 = fmul fast <4 x half> %2820, splat (half 0xH2AA8) + %2824 = fadd fast <4 x half> %2823, %2819 + %2825 = fadd fast <4 x half> %2824, %2822 + %2826 = fmul fast <4 x half> %2825, %2817 + %2827 = fadd fast <4 x half> %2826, %2816 + %2828 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2827, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2829 = fmul fast <4 x half> %2828, splat (half 0xH4C40) + %2830 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2829) #4 + %2831 = fmul fast <4 x half> %2830, splat (half 0xH2B88) + %2832 = fmul fast <4 x half> %2820, splat (half 0xH1419) + %2833 = fadd fast <4 x half> %2831, %2832 + %2834 = fadd fast <4 x half> %2820, splat (half 0xHBC00) + %2835 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2833, <4 x half> %2834) #4 + %2836 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2837 = load <4 x half>, ptr addrspace(2) %2836, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2838 = fmul fast <4 x half> %2837, %2835 + %2839 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2840 = load <4 x half>, ptr addrspace(2) %2839, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2841 = fmul fast <4 x half> %2840, splat (half 0xH3400) + %2842 = fmul fast <4 x half> %2820, %2821 + %2843 = fsub fast <4 x half> %2820, %2842 + %2844 = fadd fast <4 x half> %2843, %2838 + %2845 = fadd fast <4 x half> %2844, %2841 + %2846 = fmul fast <4 x half> %2845, %2845 + %2847 = fmul fast <4 x half> %2846, %2845 + %2848 = fmul fast <4 x half> %2847, splat (half 0xHB008) + %2849 = fmul fast <4 x half> %2846, splat (half 0xH2AE9) + %2850 = fadd fast <4 x half> %2849, %2845 + %2851 = fadd fast <4 x half> %2850, %2848 + %2852 = fmul fast <4 x half> %2851, %2817 + %2853 = fadd fast <4 x half> %2852, %2816 + %2854 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2853, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2855 = fmul fast <4 x half> %2854, splat (half 0xH4C80) + %2856 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2855) #4 + %2857 = fmul fast <4 x half> %2856, splat (half 0xH2B1C) + %2858 = fmul fast <4 x half> %2846, splat (half 0xH1419) + %2859 = fadd fast <4 x half> %2858, %2857 + %2860 = fadd fast <4 x half> %2846, splat (half 0xHBC00) + %2861 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2859, <4 x half> %2860) #4 + %2862 = fmul fast <4 x half> %2861, %2837 + %2863 = fmul fast <4 x half> %2840, splat (half 0xH3800) + %2864 = fadd fast <4 x half> %2862, %2863 + %2865 = fadd fast <4 x half> %2864, %2846 + %2866 = fmul fast <4 x half> %2846, %2847 + %2867 = fsub fast <4 x half> %2865, %2866 + %2868 = fmul fast <4 x half> %2867, %2867 + %2869 = fmul fast <4 x half> %2868, %2867 + %2870 = fmul fast <4 x half> %2869, splat (half 0xHB021) + %2871 = fmul fast <4 x half> %2868, splat (half 0xH2B2B) + %2872 = fadd fast <4 x half> %2871, %2867 + %2873 = fadd fast <4 x half> %2872, %2870 + %2874 = fmul fast <4 x half> %2873, %2817 + %2875 = fadd fast <4 x half> %2874, %2816 + %2876 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2875, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %2877 = fmul fast <4 x half> %2876, splat (half 0xH4CC0) + %2878 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2877) #4 + %2879 = fmul fast <4 x half> %2878, splat (half 0xH2ABD) + %2880 = fmul fast <4 x half> %2868, splat (half 0xH1419) + %2881 = fadd fast <4 x half> %2880, %2879 + %2882 = fadd fast <4 x half> %2868, splat (half 0xHBC00) + %2883 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2881, <4 x half> %2882) #4 + %2884 = fmul fast <4 x half> %2883, %2837 + %2885 = fmul fast <4 x half> %2840, splat (half 0xH3A00) + %2886 = fadd fast <4 x half> %2884, %2885 + %2887 = fadd fast <4 x half> %2886, %2868 + %2888 = fmul fast <4 x half> %2868, %2869 + %2889 = fsub fast <4 x half> %2887, %2888 + %2890 = fmul fast <2 x float> %2818, + %2891 = fadd fast <2 x float> %2890, %1 + %2892 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2891, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2893 = extractvalue { <4 x half>, i8 } %2892, 0 + %2894 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2893, <4 x half> splat (half 0xH30E6), <4 x half> %2889) #4 + br label %5354 + +2895: ; preds = %2895, %466 + %2896 = phi <4 x half> [ zeroinitializer, %466 ], [ %2953, %2895 ] + %2897 = phi i32 [ 0, %466 ], [ %2954, %2895 ] + %2898 = tail call fast float @air.convert.f.f32.u.i32(i32 %2897) #4 + %2899 = fadd fast float %2898, 1.000000e+00 + %2900 = insertelement <2 x float> undef, float %2899, i64 0 + %2901 = insertelement <2 x float> %2900, float 0.000000e+00, i64 1 + %2902 = fmul fast <2 x float> %2901, %468 + %2903 = fadd fast <2 x float> %2902, %1 + %2904 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2903, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2905 = extractvalue { <4 x half>, i8 } %2904, 0 + %2906 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2905, <4 x half> splat (half 0xH2CE6), <4 x half> %2896) #4 + %2907 = fneg fast float %2899 + %2908 = insertelement <2 x float> undef, float %2907, i64 0 + %2909 = insertelement <2 x float> %2908, float 0.000000e+00, i64 1 + %2910 = fmul fast <2 x float> %2909, %468 + %2911 = fadd fast <2 x float> %2910, %1 + %2912 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2911, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2913 = extractvalue { <4 x half>, i8 } %2912, 0 + %2914 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2913, <4 x half> splat (half 0xH2ABF), <4 x half> %2906) #4 + %2915 = insertelement <2 x float> , float %2899, i64 1 + %2916 = fmul fast <2 x float> %2915, %468 + %2917 = fadd fast <2 x float> %2916, %1 + %2918 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2917, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2919 = extractvalue { <4 x half>, i8 } %2918, 0 + %2920 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2919, <4 x half> splat (half 0xH2BF0), <4 x half> %2914) #4 + %2921 = insertelement <2 x float> , float %2907, i64 1 + %2922 = fmul fast <2 x float> %2921, %468 + %2923 = fadd fast <2 x float> %2922, %1 + %2924 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2923, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2925 = extractvalue { <4 x half>, i8 } %2924, 0 + %2926 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2925, <4 x half> splat (half 0xH2A24), <4 x half> %2920) #4 + %2927 = shufflevector <2 x float> %2900, <2 x float> poison, <2 x i32> zeroinitializer + %2928 = fmul fast <2 x float> %2927, %468 + %2929 = fadd fast <2 x float> %2928, %1 + %2930 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2929, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2931 = extractvalue { <4 x half>, i8 } %2930, 0 + %2932 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2931, <4 x half> splat (half 0xH28BC), <4 x half> %2926) #4 + %2933 = insertelement <2 x float> %2908, float %2899, i64 1 + %2934 = fmul fast <2 x float> %2933, %468 + %2935 = fadd fast <2 x float> %2934, %1 + %2936 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2935, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2937 = extractvalue { <4 x half>, i8 } %2936, 0 + %2938 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2937, <4 x half> splat (half 0xH27AE), <4 x half> %2932) #4 + %2939 = insertelement <2 x float> %2900, float %2907, i64 1 + %2940 = fmul fast <2 x float> %2939, %468 + %2941 = fadd fast <2 x float> %2940, %1 + %2942 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2941, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2943 = extractvalue { <4 x half>, i8 } %2942, 0 + %2944 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2943, <4 x half> splat (half 0xH269B), <4 x half> %2938) #4 + %2945 = shufflevector <2 x float> %2908, <2 x float> poison, <2 x i32> zeroinitializer + %2946 = fmul fast <2 x float> %2945, %468 + %2947 = fadd fast <2 x float> %2946, %1 + %2948 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %2947, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %2949 = extractvalue { <4 x half>, i8 } %2948, 0 + %2950 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %2949, <4 x half> splat (half 0xH27AE), <4 x half> %2944) #4 + %2951 = fmul fast <4 x half> %2950, %472 + %2952 = fadd fast <4 x half> %2951, %476 + %2953 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2952, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %2954 = add nuw i32 %2897, 1 + %2955 = icmp eq i32 %2954, %453 + br i1 %2955, label %2815, label %2895, !llvm.loop !62 + +2956: ; preds = %3036, %429 + %2957 = phi <4 x half> [ %439, %429 ], [ %450, %3036 ] + %2958 = phi <4 x half> [ %437, %429 ], [ %446, %3036 ] + %2959 = phi <2 x float> [ %435, %429 ], [ %442, %3036 ] + %2960 = phi <4 x half> [ zeroinitializer, %429 ], [ %3094, %3036 ] + %2961 = fmul fast <4 x half> %2960, %2960 + %2962 = fmul fast <4 x half> %2961, %2960 + %2963 = fmul fast <4 x half> %2962, splat (half 0xHB042) + %2964 = fmul fast <4 x half> %2961, splat (half 0xH2AA8) + %2965 = fadd fast <4 x half> %2964, %2960 + %2966 = fadd fast <4 x half> %2965, %2963 + %2967 = fmul fast <4 x half> %2966, %2958 + %2968 = fadd fast <4 x half> %2967, %2957 + %2969 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2968, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2970 = fmul fast <4 x half> %2969, splat (half 0xH4C40) + %2971 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2970) #4 + %2972 = fmul fast <4 x half> %2971, splat (half 0xH2B88) + %2973 = fmul fast <4 x half> %2961, splat (half 0xH1419) + %2974 = fadd fast <4 x half> %2972, %2973 + %2975 = fadd fast <4 x half> %2961, splat (half 0xHBC00) + %2976 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %2974, <4 x half> %2975) #4 + %2977 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %2978 = load <4 x half>, ptr addrspace(2) %2977, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2979 = fmul fast <4 x half> %2978, %2976 + %2980 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %2981 = load <4 x half>, ptr addrspace(2) %2980, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %2982 = fmul fast <4 x half> %2981, splat (half 0xH3400) + %2983 = fmul fast <4 x half> %2961, %2962 + %2984 = fsub fast <4 x half> %2961, %2983 + %2985 = fadd fast <4 x half> %2984, %2979 + %2986 = fadd fast <4 x half> %2985, %2982 + %2987 = fmul fast <4 x half> %2986, %2986 + %2988 = fmul fast <4 x half> %2987, %2986 + %2989 = fmul fast <4 x half> %2988, splat (half 0xHB05A) + %2990 = fmul fast <4 x half> %2987, splat (half 0xH2AE9) + %2991 = fadd fast <4 x half> %2990, %2986 + %2992 = fadd fast <4 x half> %2991, %2989 + %2993 = fmul fast <4 x half> %2992, %2958 + %2994 = fadd fast <4 x half> %2993, %2957 + %2995 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %2994, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %2996 = fmul fast <4 x half> %2995, splat (half 0xH4C80) + %2997 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %2996) #4 + %2998 = fmul fast <4 x half> %2997, splat (half 0xH2B1C) + %2999 = fmul fast <4 x half> %2987, splat (half 0xH1419) + %3000 = fadd fast <4 x half> %2999, %2998 + %3001 = fadd fast <4 x half> %2987, splat (half 0xHBC00) + %3002 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3000, <4 x half> %3001) #4 + %3003 = fmul fast <4 x half> %3002, %2978 + %3004 = fmul fast <4 x half> %2981, splat (half 0xH3800) + %3005 = fadd fast <4 x half> %3003, %3004 + %3006 = fadd fast <4 x half> %3005, %2987 + %3007 = fmul fast <4 x half> %2987, %2988 + %3008 = fsub fast <4 x half> %3006, %3007 + %3009 = fmul fast <4 x half> %3008, %3008 + %3010 = fmul fast <4 x half> %3009, %3008 + %3011 = fmul fast <4 x half> %3010, splat (half 0xHB073) + %3012 = fmul fast <4 x half> %3009, splat (half 0xH2B2B) + %3013 = fadd fast <4 x half> %3012, %3008 + %3014 = fadd fast <4 x half> %3013, %3011 + %3015 = fmul fast <4 x half> %3014, %2958 + %3016 = fadd fast <4 x half> %3015, %2957 + %3017 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3016, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3018 = fmul fast <4 x half> %3017, splat (half 0xH4CC0) + %3019 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3018) #4 + %3020 = fmul fast <4 x half> %3019, splat (half 0xH2ABD) + %3021 = fmul fast <4 x half> %3009, splat (half 0xH1419) + %3022 = fadd fast <4 x half> %3021, %3020 + %3023 = fadd fast <4 x half> %3009, splat (half 0xHBC00) + %3024 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3022, <4 x half> %3023) #4 + %3025 = fmul fast <4 x half> %3024, %2978 + %3026 = fmul fast <4 x half> %2981, splat (half 0xH3A00) + %3027 = fadd fast <4 x half> %3025, %3026 + %3028 = fadd fast <4 x half> %3027, %3009 + %3029 = fmul fast <4 x half> %3009, %3010 + %3030 = fsub fast <4 x half> %3028, %3029 + %3031 = fmul fast <2 x float> %2959, + %3032 = fadd fast <2 x float> %3031, %1 + %3033 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3032, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3034 = extractvalue { <4 x half>, i8 } %3033, 0 + %3035 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3034, <4 x half> splat (half 0xH30F6), <4 x half> %3030) #4 + br label %5354 + +3036: ; preds = %3036, %440 + %3037 = phi <4 x half> [ zeroinitializer, %440 ], [ %3094, %3036 ] + %3038 = phi i32 [ 0, %440 ], [ %3095, %3036 ] + %3039 = tail call fast float @air.convert.f.f32.u.i32(i32 %3038) #4 + %3040 = fadd fast float %3039, 5.000000e-01 + %3041 = insertelement <2 x float> undef, float %3040, i64 0 + %3042 = insertelement <2 x float> %3041, float 0.000000e+00, i64 1 + %3043 = fmul fast <2 x float> %3042, %442 + %3044 = fadd fast <2 x float> %3043, %1 + %3045 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3044, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3046 = extractvalue { <4 x half>, i8 } %3045, 0 + %3047 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3046, <4 x half> splat (half 0xH2CF6), <4 x half> %3037) #4 + %3048 = fneg fast float %3040 + %3049 = insertelement <2 x float> undef, float %3048, i64 0 + %3050 = insertelement <2 x float> %3049, float 0.000000e+00, i64 1 + %3051 = fmul fast <2 x float> %3050, %442 + %3052 = fadd fast <2 x float> %3051, %1 + %3053 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3052, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3054 = extractvalue { <4 x half>, i8 } %3053, 0 + %3055 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3054, <4 x half> splat (half 0xH2AA8), <4 x half> %3047) #4 + %3056 = insertelement <2 x float> , float %3040, i64 1 + %3057 = fmul fast <2 x float> %3056, %442 + %3058 = fadd fast <2 x float> %3057, %1 + %3059 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3058, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3060 = extractvalue { <4 x half>, i8 } %3059, 0 + %3061 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3060, <4 x half> splat (half 0xH2C18), <4 x half> %3055) #4 + %3062 = insertelement <2 x float> , float %3048, i64 1 + %3063 = fmul fast <2 x float> %3062, %442 + %3064 = fadd fast <2 x float> %3063, %1 + %3065 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3064, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3066 = extractvalue { <4 x half>, i8 } %3065, 0 + %3067 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3066, <4 x half> splat (half 0xH2A04), <4 x half> %3061) #4 + %3068 = shufflevector <2 x float> %3041, <2 x float> poison, <2 x i32> zeroinitializer + %3069 = fmul fast <2 x float> %3068, %442 + %3070 = fadd fast <2 x float> %3069, %1 + %3071 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3070, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3072 = extractvalue { <4 x half>, i8 } %3071, 0 + %3073 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3072, <4 x half> splat (half 0xH28CD), <4 x half> %3067) #4 + %3074 = insertelement <2 x float> %3049, float %3040, i64 1 + %3075 = fmul fast <2 x float> %3074, %442 + %3076 = fadd fast <2 x float> %3075, %1 + %3077 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3076, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3078 = extractvalue { <4 x half>, i8 } %3077, 0 + %3079 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3078, <4 x half> splat (half 0xH27AE), <4 x half> %3073) #4 + %3080 = insertelement <2 x float> %3041, float %3048, i64 1 + %3081 = fmul fast <2 x float> %3080, %442 + %3082 = fadd fast <2 x float> %3081, %1 + %3083 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3082, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3084 = extractvalue { <4 x half>, i8 } %3083, 0 + %3085 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3084, <4 x half> splat (half 0xH2687), <4 x half> %3079) #4 + %3086 = shufflevector <2 x float> %3049, <2 x float> poison, <2 x i32> zeroinitializer + %3087 = fmul fast <2 x float> %3086, %442 + %3088 = fadd fast <2 x float> %3087, %1 + %3089 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3088, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3090 = extractvalue { <4 x half>, i8 } %3089, 0 + %3091 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3090, <4 x half> splat (half 0xH285A), <4 x half> %3085) #4 + %3092 = fmul fast <4 x half> %3091, %446 + %3093 = fadd fast <4 x half> %3092, %450 + %3094 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3093, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3095 = add nuw i32 %3038, 1 + %3096 = icmp eq i32 %3095, %427 + br i1 %3096, label %2956, label %3036, !llvm.loop !63 + +3097: ; preds = %3177, %403 + %3098 = phi <4 x half> [ %413, %403 ], [ %424, %3177 ] + %3099 = phi <4 x half> [ %411, %403 ], [ %420, %3177 ] + %3100 = phi <2 x float> [ %409, %403 ], [ %416, %3177 ] + %3101 = phi <4 x half> [ zeroinitializer, %403 ], [ %3235, %3177 ] + %3102 = fmul fast <4 x half> %3101, %3101 + %3103 = fmul fast <4 x half> %3102, %3101 + %3104 = fmul fast <4 x half> %3103, splat (half 0xHAE97) + %3105 = fmul fast <4 x half> %3102, splat (half 0xH2AA8) + %3106 = fadd fast <4 x half> %3105, %3101 + %3107 = fadd fast <4 x half> %3106, %3104 + %3108 = fmul fast <4 x half> %3107, %3099 + %3109 = fadd fast <4 x half> %3108, %3098 + %3110 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3109, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3111 = fmul fast <4 x half> %3110, splat (half 0xH4C40) + %3112 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3111) #4 + %3113 = fmul fast <4 x half> %3112, splat (half 0xH2B88) + %3114 = fmul fast <4 x half> %3102, splat (half 0xH1419) + %3115 = fadd fast <4 x half> %3113, %3114 + %3116 = fadd fast <4 x half> %3102, splat (half 0xHBC00) + %3117 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3115, <4 x half> %3116) #4 + %3118 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3119 = load <4 x half>, ptr addrspace(2) %3118, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3120 = fmul fast <4 x half> %3119, %3117 + %3121 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3122 = load <4 x half>, ptr addrspace(2) %3121, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3123 = fmul fast <4 x half> %3122, splat (half 0xH3400) + %3124 = fmul fast <4 x half> %3102, %3103 + %3125 = fsub fast <4 x half> %3102, %3124 + %3126 = fadd fast <4 x half> %3125, %3120 + %3127 = fadd fast <4 x half> %3126, %3123 + %3128 = fmul fast <4 x half> %3127, %3127 + %3129 = fmul fast <4 x half> %3128, %3127 + %3130 = fmul fast <4 x half> %3129, splat (half 0xHAEC8) + %3131 = fmul fast <4 x half> %3128, splat (half 0xH2AE9) + %3132 = fadd fast <4 x half> %3131, %3127 + %3133 = fadd fast <4 x half> %3132, %3130 + %3134 = fmul fast <4 x half> %3133, %3099 + %3135 = fadd fast <4 x half> %3134, %3098 + %3136 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3135, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3137 = fmul fast <4 x half> %3136, splat (half 0xH4C80) + %3138 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3137) #4 + %3139 = fmul fast <4 x half> %3138, splat (half 0xH2B1C) + %3140 = fmul fast <4 x half> %3128, splat (half 0xH1419) + %3141 = fadd fast <4 x half> %3140, %3139 + %3142 = fadd fast <4 x half> %3128, splat (half 0xHBC00) + %3143 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3141, <4 x half> %3142) #4 + %3144 = fmul fast <4 x half> %3143, %3119 + %3145 = fmul fast <4 x half> %3122, splat (half 0xH3800) + %3146 = fadd fast <4 x half> %3144, %3145 + %3147 = fadd fast <4 x half> %3146, %3128 + %3148 = fmul fast <4 x half> %3128, %3129 + %3149 = fsub fast <4 x half> %3147, %3148 + %3150 = fmul fast <4 x half> %3149, %3149 + %3151 = fmul fast <4 x half> %3150, %3149 + %3152 = fmul fast <4 x half> %3151, splat (half 0xHAEFA) + %3153 = fmul fast <4 x half> %3150, splat (half 0xH2B2B) + %3154 = fadd fast <4 x half> %3153, %3149 + %3155 = fadd fast <4 x half> %3154, %3152 + %3156 = fmul fast <4 x half> %3155, %3099 + %3157 = fadd fast <4 x half> %3156, %3098 + %3158 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3157, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3159 = fmul fast <4 x half> %3158, splat (half 0xH4CC0) + %3160 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3159) #4 + %3161 = fmul fast <4 x half> %3160, splat (half 0xH2ABD) + %3162 = fmul fast <4 x half> %3150, splat (half 0xH1419) + %3163 = fadd fast <4 x half> %3162, %3161 + %3164 = fadd fast <4 x half> %3150, splat (half 0xHBC00) + %3165 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3163, <4 x half> %3164) #4 + %3166 = fmul fast <4 x half> %3165, %3119 + %3167 = fmul fast <4 x half> %3122, splat (half 0xH3A00) + %3168 = fadd fast <4 x half> %3166, %3167 + %3169 = fadd fast <4 x half> %3168, %3150 + %3170 = fmul fast <4 x half> %3150, %3151 + %3171 = fsub fast <4 x half> %3169, %3170 + %3172 = fmul fast <2 x float> %3100, + %3173 = fadd fast <2 x float> %3172, %1 + %3174 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3173, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3175 = extractvalue { <4 x half>, i8 } %3174, 0 + %3176 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3175, <4 x half> splat (half 0xH3106), <4 x half> %3171) #4 + br label %5354 + +3177: ; preds = %3177, %414 + %3178 = phi <4 x half> [ zeroinitializer, %414 ], [ %3235, %3177 ] + %3179 = phi i32 [ 0, %414 ], [ %3236, %3177 ] + %3180 = tail call fast float @air.convert.f.f32.u.i32(i32 %3179) #4 + %3181 = fadd fast float %3180, 6.250000e-01 + %3182 = insertelement <2 x float> undef, float %3181, i64 0 + %3183 = insertelement <2 x float> %3182, float 0.000000e+00, i64 1 + %3184 = fmul fast <2 x float> %3183, %416 + %3185 = fadd fast <2 x float> %3184, %1 + %3186 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3185, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3187 = extractvalue { <4 x half>, i8 } %3186, 0 + %3188 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3187, <4 x half> splat (half 0xH2D06), <4 x half> %3178) #4 + %3189 = fneg fast float %3181 + %3190 = insertelement <2 x float> undef, float %3189, i64 0 + %3191 = insertelement <2 x float> %3190, float 0.000000e+00, i64 1 + %3192 = fmul fast <2 x float> %3191, %416 + %3193 = fadd fast <2 x float> %3192, %1 + %3194 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3193, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3195 = extractvalue { <4 x half>, i8 } %3194, 0 + %3196 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3195, <4 x half> splat (half 0xH2A91), <4 x half> %3188) #4 + %3197 = insertelement <2 x float> , float %3181, i64 1 + %3198 = fmul fast <2 x float> %3197, %416 + %3199 = fadd fast <2 x float> %3198, %1 + %3200 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3199, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3201 = extractvalue { <4 x half>, i8 } %3200, 0 + %3202 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3201, <4 x half> splat (half 0xH2A66), <4 x half> %3196) #4 + %3203 = insertelement <2 x float> , float %3189, i64 1 + %3204 = fmul fast <2 x float> %3203, %416 + %3205 = fadd fast <2 x float> %3204, %1 + %3206 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3205, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3207 = extractvalue { <4 x half>, i8 } %3206, 0 + %3208 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3207, <4 x half> splat (half 0xH2A66), <4 x half> %3202) #4 + %3209 = shufflevector <2 x float> %3182, <2 x float> poison, <2 x i32> zeroinitializer + %3210 = fmul fast <2 x float> %3209, %416 + %3211 = fadd fast <2 x float> %3210, %1 + %3212 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3211, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3213 = extractvalue { <4 x half>, i8 } %3212, 0 + %3214 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3213, <4 x half> splat (half 0xH28DD), <4 x half> %3208) #4 + %3215 = insertelement <2 x float> %3190, float %3181, i64 1 + %3216 = fmul fast <2 x float> %3215, %416 + %3217 = fadd fast <2 x float> %3216, %1 + %3218 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3217, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3219 = extractvalue { <4 x half>, i8 } %3218, 0 + %3220 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3219, <4 x half> splat (half 0xH27AE), <4 x half> %3214) #4 + %3221 = insertelement <2 x float> %3182, float %3189, i64 1 + %3222 = fmul fast <2 x float> %3221, %416 + %3223 = fadd fast <2 x float> %3222, %1 + %3224 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3223, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3225 = extractvalue { <4 x half>, i8 } %3224, 0 + %3226 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3225, <4 x half> splat (half 0xH2674), <4 x half> %3220) #4 + %3227 = shufflevector <2 x float> %3190, <2 x float> poison, <2 x i32> zeroinitializer + %3228 = fmul fast <2 x float> %3227, %416 + %3229 = fadd fast <2 x float> %3228, %1 + %3230 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3229, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3231 = extractvalue { <4 x half>, i8 } %3230, 0 + %3232 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3231, <4 x half> splat (half 0xH27AE), <4 x half> %3226) #4 + %3233 = fmul fast <4 x half> %3232, %420 + %3234 = fadd fast <4 x half> %3233, %424 + %3235 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3234, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3236 = add nuw i32 %3179, 1 + %3237 = icmp eq i32 %3236, %401 + br i1 %3237, label %3097, label %3177, !llvm.loop !64 + +3238: ; preds = %3318, %377 + %3239 = phi <4 x half> [ %387, %377 ], [ %398, %3318 ] + %3240 = phi <4 x half> [ %385, %377 ], [ %394, %3318 ] + %3241 = phi <2 x float> [ %383, %377 ], [ %390, %3318 ] + %3242 = phi <4 x half> [ zeroinitializer, %377 ], [ %3376, %3318 ] + %3243 = fmul fast <4 x half> %3242, %3242 + %3244 = fmul fast <4 x half> %3243, %3242 + %3245 = fmul fast <4 x half> %3244, splat (half 0xHAF3B) + %3246 = fmul fast <4 x half> %3243, splat (half 0xH2AA8) + %3247 = fadd fast <4 x half> %3246, %3242 + %3248 = fadd fast <4 x half> %3247, %3245 + %3249 = fmul fast <4 x half> %3248, %3240 + %3250 = fadd fast <4 x half> %3249, %3239 + %3251 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3250, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3252 = fmul fast <4 x half> %3251, splat (half 0xH4C40) + %3253 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3252) #4 + %3254 = fmul fast <4 x half> %3253, splat (half 0xH2B88) + %3255 = fmul fast <4 x half> %3243, splat (half 0xH1419) + %3256 = fadd fast <4 x half> %3254, %3255 + %3257 = fadd fast <4 x half> %3243, splat (half 0xHBC00) + %3258 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3256, <4 x half> %3257) #4 + %3259 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3260 = load <4 x half>, ptr addrspace(2) %3259, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3261 = fmul fast <4 x half> %3260, %3258 + %3262 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3263 = load <4 x half>, ptr addrspace(2) %3262, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3264 = fmul fast <4 x half> %3263, splat (half 0xH3400) + %3265 = fmul fast <4 x half> %3243, %3244 + %3266 = fsub fast <4 x half> %3243, %3265 + %3267 = fadd fast <4 x half> %3266, %3261 + %3268 = fadd fast <4 x half> %3267, %3264 + %3269 = fmul fast <4 x half> %3268, %3268 + %3270 = fmul fast <4 x half> %3269, %3268 + %3271 = fmul fast <4 x half> %3270, splat (half 0xHAF6C) + %3272 = fmul fast <4 x half> %3269, splat (half 0xH2AE9) + %3273 = fadd fast <4 x half> %3272, %3268 + %3274 = fadd fast <4 x half> %3273, %3271 + %3275 = fmul fast <4 x half> %3274, %3240 + %3276 = fadd fast <4 x half> %3275, %3239 + %3277 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3276, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3278 = fmul fast <4 x half> %3277, splat (half 0xH4C80) + %3279 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3278) #4 + %3280 = fmul fast <4 x half> %3279, splat (half 0xH2B1C) + %3281 = fmul fast <4 x half> %3269, splat (half 0xH1419) + %3282 = fadd fast <4 x half> %3281, %3280 + %3283 = fadd fast <4 x half> %3269, splat (half 0xHBC00) + %3284 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3282, <4 x half> %3283) #4 + %3285 = fmul fast <4 x half> %3284, %3260 + %3286 = fmul fast <4 x half> %3263, splat (half 0xH3800) + %3287 = fadd fast <4 x half> %3285, %3286 + %3288 = fadd fast <4 x half> %3287, %3269 + %3289 = fmul fast <4 x half> %3269, %3270 + %3290 = fsub fast <4 x half> %3288, %3289 + %3291 = fmul fast <4 x half> %3290, %3290 + %3292 = fmul fast <4 x half> %3291, %3290 + %3293 = fmul fast <4 x half> %3292, splat (half 0xHAF9E) + %3294 = fmul fast <4 x half> %3291, splat (half 0xH2B2B) + %3295 = fadd fast <4 x half> %3294, %3290 + %3296 = fadd fast <4 x half> %3295, %3293 + %3297 = fmul fast <4 x half> %3296, %3240 + %3298 = fadd fast <4 x half> %3297, %3239 + %3299 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3298, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3300 = fmul fast <4 x half> %3299, splat (half 0xH4CC0) + %3301 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3300) #4 + %3302 = fmul fast <4 x half> %3301, splat (half 0xH2ABD) + %3303 = fmul fast <4 x half> %3291, splat (half 0xH1419) + %3304 = fadd fast <4 x half> %3303, %3302 + %3305 = fadd fast <4 x half> %3291, splat (half 0xHBC00) + %3306 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3304, <4 x half> %3305) #4 + %3307 = fmul fast <4 x half> %3306, %3260 + %3308 = fmul fast <4 x half> %3263, splat (half 0xH3A00) + %3309 = fadd fast <4 x half> %3307, %3308 + %3310 = fadd fast <4 x half> %3309, %3291 + %3311 = fmul fast <4 x half> %3291, %3292 + %3312 = fsub fast <4 x half> %3310, %3311 + %3313 = fmul fast <2 x float> %3241, + %3314 = fadd fast <2 x float> %3313, %1 + %3315 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3314, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3316 = extractvalue { <4 x half>, i8 } %3315, 0 + %3317 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3316, <4 x half> splat (half 0xH3117), <4 x half> %3312) #4 + br label %5354 + +3318: ; preds = %3318, %388 + %3319 = phi <4 x half> [ zeroinitializer, %388 ], [ %3376, %3318 ] + %3320 = phi i32 [ 0, %388 ], [ %3377, %3318 ] + %3321 = tail call fast float @air.convert.f.f32.u.i32(i32 %3320) #4 + %3322 = fadd fast float %3321, 7.500000e-01 + %3323 = insertelement <2 x float> undef, float %3322, i64 0 + %3324 = insertelement <2 x float> %3323, float 0.000000e+00, i64 1 + %3325 = fmul fast <2 x float> %3324, %390 + %3326 = fadd fast <2 x float> %3325, %1 + %3327 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3326, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3328 = extractvalue { <4 x half>, i8 } %3327, 0 + %3329 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3328, <4 x half> splat (half 0xH2D17), <4 x half> %3319) #4 + %3330 = fneg fast float %3322 + %3331 = insertelement <2 x float> undef, float %3330, i64 0 + %3332 = insertelement <2 x float> %3331, float 0.000000e+00, i64 1 + %3333 = fmul fast <2 x float> %3332, %390 + %3334 = fadd fast <2 x float> %3333, %1 + %3335 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3334, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3336 = extractvalue { <4 x half>, i8 } %3335, 0 + %3337 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3336, <4 x half> splat (half 0xH2A7A), <4 x half> %3329) #4 + %3338 = insertelement <2 x float> , float %3322, i64 1 + %3339 = fmul fast <2 x float> %3338, %390 + %3340 = fadd fast <2 x float> %3339, %1 + %3341 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3340, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3342 = extractvalue { <4 x half>, i8 } %3341, 0 + %3343 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3342, <4 x half> splat (half 0xH2AA8), <4 x half> %3337) #4 + %3344 = insertelement <2 x float> , float %3330, i64 1 + %3345 = fmul fast <2 x float> %3344, %390 + %3346 = fadd fast <2 x float> %3345, %1 + %3347 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3346, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3348 = extractvalue { <4 x half>, i8 } %3347, 0 + %3349 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3348, <4 x half> splat (half 0xH2A45), <4 x half> %3343) #4 + %3350 = shufflevector <2 x float> %3323, <2 x float> poison, <2 x i32> zeroinitializer + %3351 = fmul fast <2 x float> %3350, %390 + %3352 = fadd fast <2 x float> %3351, %1 + %3353 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3352, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3354 = extractvalue { <4 x half>, i8 } %3353, 0 + %3355 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3354, <4 x half> splat (half 0xH28EE), <4 x half> %3349) #4 + %3356 = insertelement <2 x float> %3331, float %3322, i64 1 + %3357 = fmul fast <2 x float> %3356, %390 + %3358 = fadd fast <2 x float> %3357, %1 + %3359 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3358, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3360 = extractvalue { <4 x half>, i8 } %3359, 0 + %3361 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3360, <4 x half> splat (half 0xH27AE), <4 x half> %3355) #4 + %3362 = insertelement <2 x float> %3323, float %3330, i64 1 + %3363 = fmul fast <2 x float> %3362, %390 + %3364 = fadd fast <2 x float> %3363, %1 + %3365 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3364, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3366 = extractvalue { <4 x half>, i8 } %3365, 0 + %3367 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3366, <4 x half> splat (half 0xH2660), <4 x half> %3361) #4 + %3368 = shufflevector <2 x float> %3331, <2 x float> poison, <2 x i32> zeroinitializer + %3369 = fmul fast <2 x float> %3368, %390 + %3370 = fadd fast <2 x float> %3369, %1 + %3371 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3370, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3372 = extractvalue { <4 x half>, i8 } %3371, 0 + %3373 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3372, <4 x half> splat (half 0xH285A), <4 x half> %3367) #4 + %3374 = fmul fast <4 x half> %3373, %394 + %3375 = fadd fast <4 x half> %3374, %398 + %3376 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3375, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3377 = add nuw i32 %3320, 1 + %3378 = icmp eq i32 %3377, %375 + br i1 %3378, label %3238, label %3318, !llvm.loop !65 + +3379: ; preds = %3459, %351 + %3380 = phi <4 x half> [ %361, %351 ], [ %372, %3459 ] + %3381 = phi <4 x half> [ %359, %351 ], [ %368, %3459 ] + %3382 = phi <2 x float> [ %357, %351 ], [ %364, %3459 ] + %3383 = phi <4 x half> [ zeroinitializer, %351 ], [ %3517, %3459 ] + %3384 = fmul fast <4 x half> %3383, %3383 + %3385 = fmul fast <4 x half> %3384, %3383 + %3386 = fmul fast <4 x half> %3385, splat (half 0xHAFDF) + %3387 = fmul fast <4 x half> %3384, splat (half 0xH2AA8) + %3388 = fadd fast <4 x half> %3387, %3383 + %3389 = fadd fast <4 x half> %3388, %3386 + %3390 = fmul fast <4 x half> %3389, %3381 + %3391 = fadd fast <4 x half> %3390, %3380 + %3392 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3391, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3393 = fmul fast <4 x half> %3392, splat (half 0xH4C40) + %3394 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3393) #4 + %3395 = fmul fast <4 x half> %3394, splat (half 0xH2B88) + %3396 = fmul fast <4 x half> %3384, splat (half 0xH1419) + %3397 = fadd fast <4 x half> %3395, %3396 + %3398 = fadd fast <4 x half> %3384, splat (half 0xHBC00) + %3399 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3397, <4 x half> %3398) #4 + %3400 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3401 = load <4 x half>, ptr addrspace(2) %3400, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3402 = fmul fast <4 x half> %3401, %3399 + %3403 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3404 = load <4 x half>, ptr addrspace(2) %3403, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3405 = fmul fast <4 x half> %3404, splat (half 0xH3400) + %3406 = fmul fast <4 x half> %3384, %3385 + %3407 = fsub fast <4 x half> %3384, %3406 + %3408 = fadd fast <4 x half> %3407, %3402 + %3409 = fadd fast <4 x half> %3408, %3405 + %3410 = fmul fast <4 x half> %3409, %3409 + %3411 = fmul fast <4 x half> %3410, %3409 + %3412 = fmul fast <4 x half> %3411, splat (half 0xHB008) + %3413 = fmul fast <4 x half> %3410, splat (half 0xH2AE9) + %3414 = fadd fast <4 x half> %3413, %3409 + %3415 = fadd fast <4 x half> %3414, %3412 + %3416 = fmul fast <4 x half> %3415, %3381 + %3417 = fadd fast <4 x half> %3416, %3380 + %3418 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3417, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3419 = fmul fast <4 x half> %3418, splat (half 0xH4C80) + %3420 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3419) #4 + %3421 = fmul fast <4 x half> %3420, splat (half 0xH2B1C) + %3422 = fmul fast <4 x half> %3410, splat (half 0xH1419) + %3423 = fadd fast <4 x half> %3422, %3421 + %3424 = fadd fast <4 x half> %3410, splat (half 0xHBC00) + %3425 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3423, <4 x half> %3424) #4 + %3426 = fmul fast <4 x half> %3425, %3401 + %3427 = fmul fast <4 x half> %3404, splat (half 0xH3800) + %3428 = fadd fast <4 x half> %3426, %3427 + %3429 = fadd fast <4 x half> %3428, %3410 + %3430 = fmul fast <4 x half> %3410, %3411 + %3431 = fsub fast <4 x half> %3429, %3430 + %3432 = fmul fast <4 x half> %3431, %3431 + %3433 = fmul fast <4 x half> %3432, %3431 + %3434 = fmul fast <4 x half> %3433, splat (half 0xHB021) + %3435 = fmul fast <4 x half> %3432, splat (half 0xH2B2B) + %3436 = fadd fast <4 x half> %3435, %3431 + %3437 = fadd fast <4 x half> %3436, %3434 + %3438 = fmul fast <4 x half> %3437, %3381 + %3439 = fadd fast <4 x half> %3438, %3380 + %3440 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3439, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3441 = fmul fast <4 x half> %3440, splat (half 0xH4CC0) + %3442 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3441) #4 + %3443 = fmul fast <4 x half> %3442, splat (half 0xH2ABD) + %3444 = fmul fast <4 x half> %3432, splat (half 0xH1419) + %3445 = fadd fast <4 x half> %3444, %3443 + %3446 = fadd fast <4 x half> %3432, splat (half 0xHBC00) + %3447 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3445, <4 x half> %3446) #4 + %3448 = fmul fast <4 x half> %3447, %3401 + %3449 = fmul fast <4 x half> %3404, splat (half 0xH3A00) + %3450 = fadd fast <4 x half> %3448, %3449 + %3451 = fadd fast <4 x half> %3450, %3432 + %3452 = fmul fast <4 x half> %3432, %3433 + %3453 = fsub fast <4 x half> %3451, %3452 + %3454 = fmul fast <2 x float> %3382, + %3455 = fadd fast <2 x float> %3454, %1 + %3456 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3455, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3457 = extractvalue { <4 x half>, i8 } %3456, 0 + %3458 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3457, <4 x half> splat (half 0xH3127), <4 x half> %3453) #4 + br label %5354 + +3459: ; preds = %3459, %362 + %3460 = phi <4 x half> [ zeroinitializer, %362 ], [ %3517, %3459 ] + %3461 = phi i32 [ 0, %362 ], [ %3518, %3459 ] + %3462 = tail call fast float @air.convert.f.f32.u.i32(i32 %3461) #4 + %3463 = fadd fast float %3462, 8.750000e-01 + %3464 = insertelement <2 x float> undef, float %3463, i64 0 + %3465 = insertelement <2 x float> %3464, float 0.000000e+00, i64 1 + %3466 = fmul fast <2 x float> %3465, %364 + %3467 = fadd fast <2 x float> %3466, %1 + %3468 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3467, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3469 = extractvalue { <4 x half>, i8 } %3468, 0 + %3470 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3469, <4 x half> splat (half 0xH2D27), <4 x half> %3460) #4 + %3471 = fneg fast float %3463 + %3472 = insertelement <2 x float> undef, float %3471, i64 0 + %3473 = insertelement <2 x float> %3472, float 0.000000e+00, i64 1 + %3474 = fmul fast <2 x float> %3473, %364 + %3475 = fadd fast <2 x float> %3474, %1 + %3476 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3475, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3477 = extractvalue { <4 x half>, i8 } %3476, 0 + %3478 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3477, <4 x half> splat (half 0xH2A63), <4 x half> %3470) #4 + %3479 = insertelement <2 x float> , float %3463, i64 1 + %3480 = fmul fast <2 x float> %3479, %364 + %3481 = fadd fast <2 x float> %3480, %1 + %3482 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3481, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3483 = extractvalue { <4 x half>, i8 } %3482, 0 + %3484 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3483, <4 x half> splat (half 0xH2AE9), <4 x half> %3478) #4 + %3485 = insertelement <2 x float> , float %3471, i64 1 + %3486 = fmul fast <2 x float> %3485, %364 + %3487 = fadd fast <2 x float> %3486, %1 + %3488 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3487, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3489 = extractvalue { <4 x half>, i8 } %3488, 0 + %3490 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3489, <4 x half> splat (half 0xH2A24), <4 x half> %3484) #4 + %3491 = shufflevector <2 x float> %3464, <2 x float> poison, <2 x i32> zeroinitializer + %3492 = fmul fast <2 x float> %3491, %364 + %3493 = fadd fast <2 x float> %3492, %1 + %3494 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3493, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3495 = extractvalue { <4 x half>, i8 } %3494, 0 + %3496 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3495, <4 x half> splat (half 0xH28FE), <4 x half> %3490) #4 + %3497 = insertelement <2 x float> %3472, float %3463, i64 1 + %3498 = fmul fast <2 x float> %3497, %364 + %3499 = fadd fast <2 x float> %3498, %1 + %3500 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3499, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3501 = extractvalue { <4 x half>, i8 } %3500, 0 + %3502 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3501, <4 x half> splat (half 0xH27AE), <4 x half> %3496) #4 + %3503 = insertelement <2 x float> %3464, float %3471, i64 1 + %3504 = fmul fast <2 x float> %3503, %364 + %3505 = fadd fast <2 x float> %3504, %1 + %3506 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3505, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3507 = extractvalue { <4 x half>, i8 } %3506, 0 + %3508 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3507, <4 x half> splat (half 0xH264C), <4 x half> %3502) #4 + %3509 = shufflevector <2 x float> %3472, <2 x float> poison, <2 x i32> zeroinitializer + %3510 = fmul fast <2 x float> %3509, %364 + %3511 = fadd fast <2 x float> %3510, %1 + %3512 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3511, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3513 = extractvalue { <4 x half>, i8 } %3512, 0 + %3514 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3513, <4 x half> splat (half 0xH27AE), <4 x half> %3508) #4 + %3515 = fmul fast <4 x half> %3514, %368 + %3516 = fadd fast <4 x half> %3515, %372 + %3517 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3516, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3518 = add nuw i32 %3461, 1 + %3519 = icmp eq i32 %3518, %349 + br i1 %3519, label %3379, label %3459, !llvm.loop !66 + +3520: ; preds = %3600, %325 + %3521 = phi <4 x half> [ %335, %325 ], [ %346, %3600 ] + %3522 = phi <4 x half> [ %333, %325 ], [ %342, %3600 ] + %3523 = phi <2 x float> [ %331, %325 ], [ %338, %3600 ] + %3524 = phi <4 x half> [ zeroinitializer, %325 ], [ %3658, %3600 ] + %3525 = fmul fast <4 x half> %3524, %3524 + %3526 = fmul fast <4 x half> %3525, %3524 + %3527 = fmul fast <4 x half> %3526, splat (half 0xHB042) + %3528 = fmul fast <4 x half> %3525, splat (half 0xH2AA8) + %3529 = fadd fast <4 x half> %3528, %3524 + %3530 = fadd fast <4 x half> %3529, %3527 + %3531 = fmul fast <4 x half> %3530, %3522 + %3532 = fadd fast <4 x half> %3531, %3521 + %3533 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3532, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3534 = fmul fast <4 x half> %3533, splat (half 0xH4C40) + %3535 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3534) #4 + %3536 = fmul fast <4 x half> %3535, splat (half 0xH2B88) + %3537 = fmul fast <4 x half> %3525, splat (half 0xH1419) + %3538 = fadd fast <4 x half> %3536, %3537 + %3539 = fadd fast <4 x half> %3525, splat (half 0xHBC00) + %3540 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3538, <4 x half> %3539) #4 + %3541 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3542 = load <4 x half>, ptr addrspace(2) %3541, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3543 = fmul fast <4 x half> %3542, %3540 + %3544 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3545 = load <4 x half>, ptr addrspace(2) %3544, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3546 = fmul fast <4 x half> %3545, splat (half 0xH3400) + %3547 = fmul fast <4 x half> %3525, %3526 + %3548 = fsub fast <4 x half> %3525, %3547 + %3549 = fadd fast <4 x half> %3548, %3543 + %3550 = fadd fast <4 x half> %3549, %3546 + %3551 = fmul fast <4 x half> %3550, %3550 + %3552 = fmul fast <4 x half> %3551, %3550 + %3553 = fmul fast <4 x half> %3552, splat (half 0xHB05A) + %3554 = fmul fast <4 x half> %3551, splat (half 0xH2AE9) + %3555 = fadd fast <4 x half> %3554, %3550 + %3556 = fadd fast <4 x half> %3555, %3553 + %3557 = fmul fast <4 x half> %3556, %3522 + %3558 = fadd fast <4 x half> %3557, %3521 + %3559 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3558, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3560 = fmul fast <4 x half> %3559, splat (half 0xH4C80) + %3561 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3560) #4 + %3562 = fmul fast <4 x half> %3561, splat (half 0xH2B1C) + %3563 = fmul fast <4 x half> %3551, splat (half 0xH1419) + %3564 = fadd fast <4 x half> %3563, %3562 + %3565 = fadd fast <4 x half> %3551, splat (half 0xHBC00) + %3566 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3564, <4 x half> %3565) #4 + %3567 = fmul fast <4 x half> %3566, %3542 + %3568 = fmul fast <4 x half> %3545, splat (half 0xH3800) + %3569 = fadd fast <4 x half> %3567, %3568 + %3570 = fadd fast <4 x half> %3569, %3551 + %3571 = fmul fast <4 x half> %3551, %3552 + %3572 = fsub fast <4 x half> %3570, %3571 + %3573 = fmul fast <4 x half> %3572, %3572 + %3574 = fmul fast <4 x half> %3573, %3572 + %3575 = fmul fast <4 x half> %3574, splat (half 0xHB073) + %3576 = fmul fast <4 x half> %3573, splat (half 0xH2B2B) + %3577 = fadd fast <4 x half> %3576, %3572 + %3578 = fadd fast <4 x half> %3577, %3575 + %3579 = fmul fast <4 x half> %3578, %3522 + %3580 = fadd fast <4 x half> %3579, %3521 + %3581 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3580, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3582 = fmul fast <4 x half> %3581, splat (half 0xH4CC0) + %3583 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3582) #4 + %3584 = fmul fast <4 x half> %3583, splat (half 0xH2ABD) + %3585 = fmul fast <4 x half> %3573, splat (half 0xH1419) + %3586 = fadd fast <4 x half> %3585, %3584 + %3587 = fadd fast <4 x half> %3573, splat (half 0xHBC00) + %3588 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3586, <4 x half> %3587) #4 + %3589 = fmul fast <4 x half> %3588, %3542 + %3590 = fmul fast <4 x half> %3545, splat (half 0xH3A00) + %3591 = fadd fast <4 x half> %3589, %3590 + %3592 = fadd fast <4 x half> %3591, %3573 + %3593 = fmul fast <4 x half> %3573, %3574 + %3594 = fsub fast <4 x half> %3592, %3593 + %3595 = fmul fast <2 x float> %3523, + %3596 = fadd fast <2 x float> %3595, %1 + %3597 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3596, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3598 = extractvalue { <4 x half>, i8 } %3597, 0 + %3599 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3598, <4 x half> splat (half 0xH3138), <4 x half> %3594) #4 + br label %5354 + +3600: ; preds = %3600, %336 + %3601 = phi <4 x half> [ zeroinitializer, %336 ], [ %3658, %3600 ] + %3602 = phi i32 [ 0, %336 ], [ %3659, %3600 ] + %3603 = tail call fast float @air.convert.f.f32.u.i32(i32 %3602) #4 + %3604 = fadd fast float %3603, 1.000000e+00 + %3605 = insertelement <2 x float> undef, float %3604, i64 0 + %3606 = insertelement <2 x float> %3605, float 0.000000e+00, i64 1 + %3607 = fmul fast <2 x float> %3606, %338 + %3608 = fadd fast <2 x float> %3607, %1 + %3609 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3608, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3610 = extractvalue { <4 x half>, i8 } %3609, 0 + %3611 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3610, <4 x half> splat (half 0xH2D38), <4 x half> %3601) #4 + %3612 = fneg fast float %3604 + %3613 = insertelement <2 x float> undef, float %3612, i64 0 + %3614 = insertelement <2 x float> %3613, float 0.000000e+00, i64 1 + %3615 = fmul fast <2 x float> %3614, %338 + %3616 = fadd fast <2 x float> %3615, %1 + %3617 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3616, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3618 = extractvalue { <4 x half>, i8 } %3617, 0 + %3619 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3618, <4 x half> splat (half 0xH2A4C), <4 x half> %3611) #4 + %3620 = insertelement <2 x float> , float %3604, i64 1 + %3621 = fmul fast <2 x float> %3620, %338 + %3622 = fadd fast <2 x float> %3621, %1 + %3623 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3622, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3624 = extractvalue { <4 x half>, i8 } %3623, 0 + %3625 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3624, <4 x half> splat (half 0xH2B2B), <4 x half> %3619) #4 + %3626 = insertelement <2 x float> , float %3612, i64 1 + %3627 = fmul fast <2 x float> %3626, %338 + %3628 = fadd fast <2 x float> %3627, %1 + %3629 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3628, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3630 = extractvalue { <4 x half>, i8 } %3629, 0 + %3631 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3630, <4 x half> splat (half 0xH2A04), <4 x half> %3625) #4 + %3632 = shufflevector <2 x float> %3605, <2 x float> poison, <2 x i32> zeroinitializer + %3633 = fmul fast <2 x float> %3632, %338 + %3634 = fadd fast <2 x float> %3633, %1 + %3635 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3634, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3636 = extractvalue { <4 x half>, i8 } %3635, 0 + %3637 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3636, <4 x half> splat (half 0xH290E), <4 x half> %3631) #4 + %3638 = insertelement <2 x float> %3613, float %3604, i64 1 + %3639 = fmul fast <2 x float> %3638, %338 + %3640 = fadd fast <2 x float> %3639, %1 + %3641 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3640, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3642 = extractvalue { <4 x half>, i8 } %3641, 0 + %3643 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3642, <4 x half> splat (half 0xH27AE), <4 x half> %3637) #4 + %3644 = insertelement <2 x float> %3605, float %3612, i64 1 + %3645 = fmul fast <2 x float> %3644, %338 + %3646 = fadd fast <2 x float> %3645, %1 + %3647 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3646, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3648 = extractvalue { <4 x half>, i8 } %3647, 0 + %3649 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3648, <4 x half> splat (half 0xH2638), <4 x half> %3643) #4 + %3650 = shufflevector <2 x float> %3613, <2 x float> poison, <2 x i32> zeroinitializer + %3651 = fmul fast <2 x float> %3650, %338 + %3652 = fadd fast <2 x float> %3651, %1 + %3653 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3652, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3654 = extractvalue { <4 x half>, i8 } %3653, 0 + %3655 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3654, <4 x half> splat (half 0xH285A), <4 x half> %3649) #4 + %3656 = fmul fast <4 x half> %3655, %342 + %3657 = fadd fast <4 x half> %3656, %346 + %3658 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3657, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3659 = add nuw i32 %3602, 1 + %3660 = icmp eq i32 %3659, %323 + br i1 %3660, label %3520, label %3600, !llvm.loop !67 + +3661: ; preds = %3741, %299 + %3662 = phi <4 x half> [ %309, %299 ], [ %320, %3741 ] + %3663 = phi <4 x half> [ %307, %299 ], [ %316, %3741 ] + %3664 = phi <2 x float> [ %305, %299 ], [ %312, %3741 ] + %3665 = phi <4 x half> [ zeroinitializer, %299 ], [ %3799, %3741 ] + %3666 = fmul fast <4 x half> %3665, %3665 + %3667 = fmul fast <4 x half> %3666, %3665 + %3668 = fmul fast <4 x half> %3667, splat (half 0xHAE97) + %3669 = fmul fast <4 x half> %3666, splat (half 0xH2AA8) + %3670 = fadd fast <4 x half> %3669, %3665 + %3671 = fadd fast <4 x half> %3670, %3668 + %3672 = fmul fast <4 x half> %3671, %3663 + %3673 = fadd fast <4 x half> %3672, %3662 + %3674 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3673, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3675 = fmul fast <4 x half> %3674, splat (half 0xH4C40) + %3676 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3675) #4 + %3677 = fmul fast <4 x half> %3676, splat (half 0xH2B88) + %3678 = fmul fast <4 x half> %3666, splat (half 0xH1419) + %3679 = fadd fast <4 x half> %3677, %3678 + %3680 = fadd fast <4 x half> %3666, splat (half 0xHBC00) + %3681 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3679, <4 x half> %3680) #4 + %3682 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3683 = load <4 x half>, ptr addrspace(2) %3682, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3684 = fmul fast <4 x half> %3683, %3681 + %3685 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3686 = load <4 x half>, ptr addrspace(2) %3685, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3687 = fmul fast <4 x half> %3686, splat (half 0xH3400) + %3688 = fmul fast <4 x half> %3666, %3667 + %3689 = fsub fast <4 x half> %3666, %3688 + %3690 = fadd fast <4 x half> %3689, %3684 + %3691 = fadd fast <4 x half> %3690, %3687 + %3692 = fmul fast <4 x half> %3691, %3691 + %3693 = fmul fast <4 x half> %3692, %3691 + %3694 = fmul fast <4 x half> %3693, splat (half 0xHAEC8) + %3695 = fmul fast <4 x half> %3692, splat (half 0xH2AE9) + %3696 = fadd fast <4 x half> %3695, %3691 + %3697 = fadd fast <4 x half> %3696, %3694 + %3698 = fmul fast <4 x half> %3697, %3663 + %3699 = fadd fast <4 x half> %3698, %3662 + %3700 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3699, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3701 = fmul fast <4 x half> %3700, splat (half 0xH4C80) + %3702 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3701) #4 + %3703 = fmul fast <4 x half> %3702, splat (half 0xH2B1C) + %3704 = fmul fast <4 x half> %3692, splat (half 0xH1419) + %3705 = fadd fast <4 x half> %3704, %3703 + %3706 = fadd fast <4 x half> %3692, splat (half 0xHBC00) + %3707 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3705, <4 x half> %3706) #4 + %3708 = fmul fast <4 x half> %3707, %3683 + %3709 = fmul fast <4 x half> %3686, splat (half 0xH3800) + %3710 = fadd fast <4 x half> %3708, %3709 + %3711 = fadd fast <4 x half> %3710, %3692 + %3712 = fmul fast <4 x half> %3692, %3693 + %3713 = fsub fast <4 x half> %3711, %3712 + %3714 = fmul fast <4 x half> %3713, %3713 + %3715 = fmul fast <4 x half> %3714, %3713 + %3716 = fmul fast <4 x half> %3715, splat (half 0xHAEFA) + %3717 = fmul fast <4 x half> %3714, splat (half 0xH2B2B) + %3718 = fadd fast <4 x half> %3717, %3713 + %3719 = fadd fast <4 x half> %3718, %3716 + %3720 = fmul fast <4 x half> %3719, %3663 + %3721 = fadd fast <4 x half> %3720, %3662 + %3722 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3721, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3723 = fmul fast <4 x half> %3722, splat (half 0xH4CC0) + %3724 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3723) #4 + %3725 = fmul fast <4 x half> %3724, splat (half 0xH2ABD) + %3726 = fmul fast <4 x half> %3714, splat (half 0xH1419) + %3727 = fadd fast <4 x half> %3726, %3725 + %3728 = fadd fast <4 x half> %3714, splat (half 0xHBC00) + %3729 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3727, <4 x half> %3728) #4 + %3730 = fmul fast <4 x half> %3729, %3683 + %3731 = fmul fast <4 x half> %3686, splat (half 0xH3A00) + %3732 = fadd fast <4 x half> %3730, %3731 + %3733 = fadd fast <4 x half> %3732, %3714 + %3734 = fmul fast <4 x half> %3714, %3715 + %3735 = fsub fast <4 x half> %3733, %3734 + %3736 = fmul fast <2 x float> %3664, + %3737 = fadd fast <2 x float> %3736, %1 + %3738 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3737, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3739 = extractvalue { <4 x half>, i8 } %3738, 0 + %3740 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3739, <4 x half> splat (half 0xH3148), <4 x half> %3735) #4 + br label %5354 + +3741: ; preds = %3741, %310 + %3742 = phi <4 x half> [ zeroinitializer, %310 ], [ %3799, %3741 ] + %3743 = phi i32 [ 0, %310 ], [ %3800, %3741 ] + %3744 = tail call fast float @air.convert.f.f32.u.i32(i32 %3743) #4 + %3745 = fadd fast float %3744, 5.000000e-01 + %3746 = insertelement <2 x float> undef, float %3745, i64 0 + %3747 = insertelement <2 x float> %3746, float 0.000000e+00, i64 1 + %3748 = fmul fast <2 x float> %3747, %312 + %3749 = fadd fast <2 x float> %3748, %1 + %3750 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3749, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3751 = extractvalue { <4 x half>, i8 } %3750, 0 + %3752 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3751, <4 x half> splat (half 0xH2D48), <4 x half> %3742) #4 + %3753 = fneg fast float %3745 + %3754 = insertelement <2 x float> undef, float %3753, i64 0 + %3755 = insertelement <2 x float> %3754, float 0.000000e+00, i64 1 + %3756 = fmul fast <2 x float> %3755, %312 + %3757 = fadd fast <2 x float> %3756, %1 + %3758 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3757, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3759 = extractvalue { <4 x half>, i8 } %3758, 0 + %3760 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3759, <4 x half> splat (half 0xH2A35), <4 x half> %3752) #4 + %3761 = insertelement <2 x float> , float %3745, i64 1 + %3762 = fmul fast <2 x float> %3761, %312 + %3763 = fadd fast <2 x float> %3762, %1 + %3764 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3763, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3765 = extractvalue { <4 x half>, i8 } %3764, 0 + %3766 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3765, <4 x half> splat (half 0xH2B6C), <4 x half> %3760) #4 + %3767 = insertelement <2 x float> , float %3753, i64 1 + %3768 = fmul fast <2 x float> %3767, %312 + %3769 = fadd fast <2 x float> %3768, %1 + %3770 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3769, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3771 = extractvalue { <4 x half>, i8 } %3770, 0 + %3772 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3771, <4 x half> splat (half 0xH2A66), <4 x half> %3766) #4 + %3773 = shufflevector <2 x float> %3746, <2 x float> poison, <2 x i32> zeroinitializer + %3774 = fmul fast <2 x float> %3773, %312 + %3775 = fadd fast <2 x float> %3774, %1 + %3776 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3775, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3777 = extractvalue { <4 x half>, i8 } %3776, 0 + %3778 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3777, <4 x half> splat (half 0xH291F), <4 x half> %3772) #4 + %3779 = insertelement <2 x float> %3754, float %3745, i64 1 + %3780 = fmul fast <2 x float> %3779, %312 + %3781 = fadd fast <2 x float> %3780, %1 + %3782 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3781, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3783 = extractvalue { <4 x half>, i8 } %3782, 0 + %3784 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3783, <4 x half> splat (half 0xH27AE), <4 x half> %3778) #4 + %3785 = insertelement <2 x float> %3746, float %3753, i64 1 + %3786 = fmul fast <2 x float> %3785, %312 + %3787 = fadd fast <2 x float> %3786, %1 + %3788 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3787, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3789 = extractvalue { <4 x half>, i8 } %3788, 0 + %3790 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3789, <4 x half> splat (half 0xH2625), <4 x half> %3784) #4 + %3791 = shufflevector <2 x float> %3754, <2 x float> poison, <2 x i32> zeroinitializer + %3792 = fmul fast <2 x float> %3791, %312 + %3793 = fadd fast <2 x float> %3792, %1 + %3794 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3793, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3795 = extractvalue { <4 x half>, i8 } %3794, 0 + %3796 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3795, <4 x half> splat (half 0xH27AE), <4 x half> %3790) #4 + %3797 = fmul fast <4 x half> %3796, %316 + %3798 = fadd fast <4 x half> %3797, %320 + %3799 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3798, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3800 = add nuw i32 %3743, 1 + %3801 = icmp eq i32 %3800, %297 + br i1 %3801, label %3661, label %3741, !llvm.loop !68 + +3802: ; preds = %3882, %273 + %3803 = phi <4 x half> [ %283, %273 ], [ %294, %3882 ] + %3804 = phi <4 x half> [ %281, %273 ], [ %290, %3882 ] + %3805 = phi <2 x float> [ %279, %273 ], [ %286, %3882 ] + %3806 = phi <4 x half> [ zeroinitializer, %273 ], [ %3940, %3882 ] + %3807 = fmul fast <4 x half> %3806, %3806 + %3808 = fmul fast <4 x half> %3807, %3806 + %3809 = fmul fast <4 x half> %3808, splat (half 0xHAF3B) + %3810 = fmul fast <4 x half> %3807, splat (half 0xH2AA8) + %3811 = fadd fast <4 x half> %3810, %3806 + %3812 = fadd fast <4 x half> %3811, %3809 + %3813 = fmul fast <4 x half> %3812, %3804 + %3814 = fadd fast <4 x half> %3813, %3803 + %3815 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3814, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3816 = fmul fast <4 x half> %3815, splat (half 0xH4C40) + %3817 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3816) #4 + %3818 = fmul fast <4 x half> %3817, splat (half 0xH2B88) + %3819 = fmul fast <4 x half> %3807, splat (half 0xH1419) + %3820 = fadd fast <4 x half> %3818, %3819 + %3821 = fadd fast <4 x half> %3807, splat (half 0xHBC00) + %3822 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3820, <4 x half> %3821) #4 + %3823 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3824 = load <4 x half>, ptr addrspace(2) %3823, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3825 = fmul fast <4 x half> %3824, %3822 + %3826 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3827 = load <4 x half>, ptr addrspace(2) %3826, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3828 = fmul fast <4 x half> %3827, splat (half 0xH3400) + %3829 = fmul fast <4 x half> %3807, %3808 + %3830 = fsub fast <4 x half> %3807, %3829 + %3831 = fadd fast <4 x half> %3830, %3825 + %3832 = fadd fast <4 x half> %3831, %3828 + %3833 = fmul fast <4 x half> %3832, %3832 + %3834 = fmul fast <4 x half> %3833, %3832 + %3835 = fmul fast <4 x half> %3834, splat (half 0xHAF6C) + %3836 = fmul fast <4 x half> %3833, splat (half 0xH2AE9) + %3837 = fadd fast <4 x half> %3836, %3832 + %3838 = fadd fast <4 x half> %3837, %3835 + %3839 = fmul fast <4 x half> %3838, %3804 + %3840 = fadd fast <4 x half> %3839, %3803 + %3841 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3840, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3842 = fmul fast <4 x half> %3841, splat (half 0xH4C80) + %3843 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3842) #4 + %3844 = fmul fast <4 x half> %3843, splat (half 0xH2B1C) + %3845 = fmul fast <4 x half> %3833, splat (half 0xH1419) + %3846 = fadd fast <4 x half> %3845, %3844 + %3847 = fadd fast <4 x half> %3833, splat (half 0xHBC00) + %3848 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3846, <4 x half> %3847) #4 + %3849 = fmul fast <4 x half> %3848, %3824 + %3850 = fmul fast <4 x half> %3827, splat (half 0xH3800) + %3851 = fadd fast <4 x half> %3849, %3850 + %3852 = fadd fast <4 x half> %3851, %3833 + %3853 = fmul fast <4 x half> %3833, %3834 + %3854 = fsub fast <4 x half> %3852, %3853 + %3855 = fmul fast <4 x half> %3854, %3854 + %3856 = fmul fast <4 x half> %3855, %3854 + %3857 = fmul fast <4 x half> %3856, splat (half 0xHAF9E) + %3858 = fmul fast <4 x half> %3855, splat (half 0xH2B2B) + %3859 = fadd fast <4 x half> %3858, %3854 + %3860 = fadd fast <4 x half> %3859, %3857 + %3861 = fmul fast <4 x half> %3860, %3804 + %3862 = fadd fast <4 x half> %3861, %3803 + %3863 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3862, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %3864 = fmul fast <4 x half> %3863, splat (half 0xH4CC0) + %3865 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3864) #4 + %3866 = fmul fast <4 x half> %3865, splat (half 0xH2ABD) + %3867 = fmul fast <4 x half> %3855, splat (half 0xH1419) + %3868 = fadd fast <4 x half> %3867, %3866 + %3869 = fadd fast <4 x half> %3855, splat (half 0xHBC00) + %3870 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3868, <4 x half> %3869) #4 + %3871 = fmul fast <4 x half> %3870, %3824 + %3872 = fmul fast <4 x half> %3827, splat (half 0xH3A00) + %3873 = fadd fast <4 x half> %3871, %3872 + %3874 = fadd fast <4 x half> %3873, %3855 + %3875 = fmul fast <4 x half> %3855, %3856 + %3876 = fsub fast <4 x half> %3874, %3875 + %3877 = fmul fast <2 x float> %3805, + %3878 = fadd fast <2 x float> %3877, %1 + %3879 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3878, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3880 = extractvalue { <4 x half>, i8 } %3879, 0 + %3881 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3880, <4 x half> splat (half 0xH3158), <4 x half> %3876) #4 + br label %5354 + +3882: ; preds = %3882, %284 + %3883 = phi <4 x half> [ zeroinitializer, %284 ], [ %3940, %3882 ] + %3884 = phi i32 [ 0, %284 ], [ %3941, %3882 ] + %3885 = tail call fast float @air.convert.f.f32.u.i32(i32 %3884) #4 + %3886 = fadd fast float %3885, 6.250000e-01 + %3887 = insertelement <2 x float> undef, float %3886, i64 0 + %3888 = insertelement <2 x float> %3887, float 0.000000e+00, i64 1 + %3889 = fmul fast <2 x float> %3888, %286 + %3890 = fadd fast <2 x float> %3889, %1 + %3891 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3890, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3892 = extractvalue { <4 x half>, i8 } %3891, 0 + %3893 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3892, <4 x half> splat (half 0xH2D58), <4 x half> %3883) #4 + %3894 = fneg fast float %3886 + %3895 = insertelement <2 x float> undef, float %3894, i64 0 + %3896 = insertelement <2 x float> %3895, float 0.000000e+00, i64 1 + %3897 = fmul fast <2 x float> %3896, %286 + %3898 = fadd fast <2 x float> %3897, %1 + %3899 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3898, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3900 = extractvalue { <4 x half>, i8 } %3899, 0 + %3901 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3900, <4 x half> splat (half 0xH2A1E), <4 x half> %3893) #4 + %3902 = insertelement <2 x float> , float %3886, i64 1 + %3903 = fmul fast <2 x float> %3902, %286 + %3904 = fadd fast <2 x float> %3903, %1 + %3905 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3904, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3906 = extractvalue { <4 x half>, i8 } %3905, 0 + %3907 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3906, <4 x half> splat (half 0xH2BAE), <4 x half> %3901) #4 + %3908 = insertelement <2 x float> , float %3894, i64 1 + %3909 = fmul fast <2 x float> %3908, %286 + %3910 = fadd fast <2 x float> %3909, %1 + %3911 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3910, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3912 = extractvalue { <4 x half>, i8 } %3911, 0 + %3913 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3912, <4 x half> splat (half 0xH2A45), <4 x half> %3907) #4 + %3914 = shufflevector <2 x float> %3887, <2 x float> poison, <2 x i32> zeroinitializer + %3915 = fmul fast <2 x float> %3914, %286 + %3916 = fadd fast <2 x float> %3915, %1 + %3917 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3916, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3918 = extractvalue { <4 x half>, i8 } %3917, 0 + %3919 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3918, <4 x half> splat (half 0xH292F), <4 x half> %3913) #4 + %3920 = insertelement <2 x float> %3895, float %3886, i64 1 + %3921 = fmul fast <2 x float> %3920, %286 + %3922 = fadd fast <2 x float> %3921, %1 + %3923 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3922, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3924 = extractvalue { <4 x half>, i8 } %3923, 0 + %3925 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3924, <4 x half> splat (half 0xH27AE), <4 x half> %3919) #4 + %3926 = insertelement <2 x float> %3887, float %3894, i64 1 + %3927 = fmul fast <2 x float> %3926, %286 + %3928 = fadd fast <2 x float> %3927, %1 + %3929 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3928, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3930 = extractvalue { <4 x half>, i8 } %3929, 0 + %3931 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3930, <4 x half> splat (half 0xH2611), <4 x half> %3925) #4 + %3932 = shufflevector <2 x float> %3895, <2 x float> poison, <2 x i32> zeroinitializer + %3933 = fmul fast <2 x float> %3932, %286 + %3934 = fadd fast <2 x float> %3933, %1 + %3935 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %3934, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %3936 = extractvalue { <4 x half>, i8 } %3935, 0 + %3937 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %3936, <4 x half> splat (half 0xH285A), <4 x half> %3931) #4 + %3938 = fmul fast <4 x half> %3937, %290 + %3939 = fadd fast <4 x half> %3938, %294 + %3940 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3939, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %3941 = add nuw i32 %3884, 1 + %3942 = icmp eq i32 %3941, %271 + br i1 %3942, label %3802, label %3882, !llvm.loop !69 + +3943: ; preds = %4023, %247 + %3944 = phi <4 x half> [ %257, %247 ], [ %268, %4023 ] + %3945 = phi <4 x half> [ %255, %247 ], [ %264, %4023 ] + %3946 = phi <2 x float> [ %253, %247 ], [ %260, %4023 ] + %3947 = phi <4 x half> [ zeroinitializer, %247 ], [ %4081, %4023 ] + %3948 = fmul fast <4 x half> %3947, %3947 + %3949 = fmul fast <4 x half> %3948, %3947 + %3950 = fmul fast <4 x half> %3949, splat (half 0xHAFDF) + %3951 = fmul fast <4 x half> %3948, splat (half 0xH2AA8) + %3952 = fadd fast <4 x half> %3951, %3947 + %3953 = fadd fast <4 x half> %3952, %3950 + %3954 = fmul fast <4 x half> %3953, %3945 + %3955 = fadd fast <4 x half> %3954, %3944 + %3956 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3955, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3957 = fmul fast <4 x half> %3956, splat (half 0xH4C40) + %3958 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3957) #4 + %3959 = fmul fast <4 x half> %3958, splat (half 0xH2B88) + %3960 = fmul fast <4 x half> %3948, splat (half 0xH1419) + %3961 = fadd fast <4 x half> %3959, %3960 + %3962 = fadd fast <4 x half> %3948, splat (half 0xHBC00) + %3963 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3961, <4 x half> %3962) #4 + %3964 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %3965 = load <4 x half>, ptr addrspace(2) %3964, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3966 = fmul fast <4 x half> %3965, %3963 + %3967 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %3968 = load <4 x half>, ptr addrspace(2) %3967, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %3969 = fmul fast <4 x half> %3968, splat (half 0xH3400) + %3970 = fmul fast <4 x half> %3948, %3949 + %3971 = fsub fast <4 x half> %3948, %3970 + %3972 = fadd fast <4 x half> %3971, %3966 + %3973 = fadd fast <4 x half> %3972, %3969 + %3974 = fmul fast <4 x half> %3973, %3973 + %3975 = fmul fast <4 x half> %3974, %3973 + %3976 = fmul fast <4 x half> %3975, splat (half 0xHB008) + %3977 = fmul fast <4 x half> %3974, splat (half 0xH2AE9) + %3978 = fadd fast <4 x half> %3977, %3973 + %3979 = fadd fast <4 x half> %3978, %3976 + %3980 = fmul fast <4 x half> %3979, %3945 + %3981 = fadd fast <4 x half> %3980, %3944 + %3982 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %3981, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %3983 = fmul fast <4 x half> %3982, splat (half 0xH4C80) + %3984 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %3983) #4 + %3985 = fmul fast <4 x half> %3984, splat (half 0xH2B1C) + %3986 = fmul fast <4 x half> %3974, splat (half 0xH1419) + %3987 = fadd fast <4 x half> %3986, %3985 + %3988 = fadd fast <4 x half> %3974, splat (half 0xHBC00) + %3989 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %3987, <4 x half> %3988) #4 + %3990 = fmul fast <4 x half> %3989, %3965 + %3991 = fmul fast <4 x half> %3968, splat (half 0xH3800) + %3992 = fadd fast <4 x half> %3990, %3991 + %3993 = fadd fast <4 x half> %3992, %3974 + %3994 = fmul fast <4 x half> %3974, %3975 + %3995 = fsub fast <4 x half> %3993, %3994 + %3996 = fmul fast <4 x half> %3995, %3995 + %3997 = fmul fast <4 x half> %3996, %3995 + %3998 = fmul fast <4 x half> %3997, splat (half 0xHB021) + %3999 = fmul fast <4 x half> %3996, splat (half 0xH2B2B) + %4000 = fadd fast <4 x half> %3999, %3995 + %4001 = fadd fast <4 x half> %4000, %3998 + %4002 = fmul fast <4 x half> %4001, %3945 + %4003 = fadd fast <4 x half> %4002, %3944 + %4004 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4003, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4005 = fmul fast <4 x half> %4004, splat (half 0xH4CC0) + %4006 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4005) #4 + %4007 = fmul fast <4 x half> %4006, splat (half 0xH2ABD) + %4008 = fmul fast <4 x half> %3996, splat (half 0xH1419) + %4009 = fadd fast <4 x half> %4008, %4007 + %4010 = fadd fast <4 x half> %3996, splat (half 0xHBC00) + %4011 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4009, <4 x half> %4010) #4 + %4012 = fmul fast <4 x half> %4011, %3965 + %4013 = fmul fast <4 x half> %3968, splat (half 0xH3A00) + %4014 = fadd fast <4 x half> %4012, %4013 + %4015 = fadd fast <4 x half> %4014, %3996 + %4016 = fmul fast <4 x half> %3996, %3997 + %4017 = fsub fast <4 x half> %4015, %4016 + %4018 = fmul fast <2 x float> %3946, + %4019 = fadd fast <2 x float> %4018, %1 + %4020 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4019, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4021 = extractvalue { <4 x half>, i8 } %4020, 0 + %4022 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4021, <4 x half> splat (half 0xH3168), <4 x half> %4017) #4 + br label %5354 + +4023: ; preds = %4023, %258 + %4024 = phi <4 x half> [ zeroinitializer, %258 ], [ %4081, %4023 ] + %4025 = phi i32 [ 0, %258 ], [ %4082, %4023 ] + %4026 = tail call fast float @air.convert.f.f32.u.i32(i32 %4025) #4 + %4027 = fadd fast float %4026, 7.500000e-01 + %4028 = insertelement <2 x float> undef, float %4027, i64 0 + %4029 = insertelement <2 x float> %4028, float 0.000000e+00, i64 1 + %4030 = fmul fast <2 x float> %4029, %260 + %4031 = fadd fast <2 x float> %4030, %1 + %4032 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4031, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4033 = extractvalue { <4 x half>, i8 } %4032, 0 + %4034 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4033, <4 x half> splat (half 0xH2D68), <4 x half> %4024) #4 + %4035 = fneg fast float %4027 + %4036 = insertelement <2 x float> undef, float %4035, i64 0 + %4037 = insertelement <2 x float> %4036, float 0.000000e+00, i64 1 + %4038 = fmul fast <2 x float> %4037, %260 + %4039 = fadd fast <2 x float> %4038, %1 + %4040 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4039, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4041 = extractvalue { <4 x half>, i8 } %4040, 0 + %4042 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4041, <4 x half> splat (half 0xH2A08), <4 x half> %4034) #4 + %4043 = insertelement <2 x float> , float %4027, i64 1 + %4044 = fmul fast <2 x float> %4043, %260 + %4045 = fadd fast <2 x float> %4044, %1 + %4046 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4045, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4047 = extractvalue { <4 x half>, i8 } %4046, 0 + %4048 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4047, <4 x half> splat (half 0xH2BF0), <4 x half> %4042) #4 + %4049 = insertelement <2 x float> , float %4035, i64 1 + %4050 = fmul fast <2 x float> %4049, %260 + %4051 = fadd fast <2 x float> %4050, %1 + %4052 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4051, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4053 = extractvalue { <4 x half>, i8 } %4052, 0 + %4054 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4053, <4 x half> splat (half 0xH2A24), <4 x half> %4048) #4 + %4055 = shufflevector <2 x float> %4028, <2 x float> poison, <2 x i32> zeroinitializer + %4056 = fmul fast <2 x float> %4055, %260 + %4057 = fadd fast <2 x float> %4056, %1 + %4058 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4057, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4059 = extractvalue { <4 x half>, i8 } %4058, 0 + %4060 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4059, <4 x half> splat (half 0xH2940), <4 x half> %4054) #4 + %4061 = insertelement <2 x float> %4036, float %4027, i64 1 + %4062 = fmul fast <2 x float> %4061, %260 + %4063 = fadd fast <2 x float> %4062, %1 + %4064 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4063, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4065 = extractvalue { <4 x half>, i8 } %4064, 0 + %4066 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4065, <4 x half> splat (half 0xH27AE), <4 x half> %4060) #4 + %4067 = insertelement <2 x float> %4028, float %4035, i64 1 + %4068 = fmul fast <2 x float> %4067, %260 + %4069 = fadd fast <2 x float> %4068, %1 + %4070 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4069, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4071 = extractvalue { <4 x half>, i8 } %4070, 0 + %4072 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4071, <4 x half> splat (half 0xH25FE), <4 x half> %4066) #4 + %4073 = shufflevector <2 x float> %4036, <2 x float> poison, <2 x i32> zeroinitializer + %4074 = fmul fast <2 x float> %4073, %260 + %4075 = fadd fast <2 x float> %4074, %1 + %4076 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4075, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4077 = extractvalue { <4 x half>, i8 } %4076, 0 + %4078 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4077, <4 x half> splat (half 0xH27AE), <4 x half> %4072) #4 + %4079 = fmul fast <4 x half> %4078, %264 + %4080 = fadd fast <4 x half> %4079, %268 + %4081 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4080, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4082 = add nuw i32 %4025, 1 + %4083 = icmp eq i32 %4082, %245 + br i1 %4083, label %3943, label %4023, !llvm.loop !70 + +4084: ; preds = %4164, %221 + %4085 = phi <4 x half> [ %231, %221 ], [ %242, %4164 ] + %4086 = phi <4 x half> [ %229, %221 ], [ %238, %4164 ] + %4087 = phi <2 x float> [ %227, %221 ], [ %234, %4164 ] + %4088 = phi <4 x half> [ zeroinitializer, %221 ], [ %4222, %4164 ] + %4089 = fmul fast <4 x half> %4088, %4088 + %4090 = fmul fast <4 x half> %4089, %4088 + %4091 = fmul fast <4 x half> %4090, splat (half 0xHB042) + %4092 = fmul fast <4 x half> %4089, splat (half 0xH2AA8) + %4093 = fadd fast <4 x half> %4092, %4088 + %4094 = fadd fast <4 x half> %4093, %4091 + %4095 = fmul fast <4 x half> %4094, %4086 + %4096 = fadd fast <4 x half> %4095, %4085 + %4097 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4096, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4098 = fmul fast <4 x half> %4097, splat (half 0xH4C40) + %4099 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4098) #4 + %4100 = fmul fast <4 x half> %4099, splat (half 0xH2B88) + %4101 = fmul fast <4 x half> %4089, splat (half 0xH1419) + %4102 = fadd fast <4 x half> %4100, %4101 + %4103 = fadd fast <4 x half> %4089, splat (half 0xHBC00) + %4104 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4102, <4 x half> %4103) #4 + %4105 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4106 = load <4 x half>, ptr addrspace(2) %4105, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4107 = fmul fast <4 x half> %4106, %4104 + %4108 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4109 = load <4 x half>, ptr addrspace(2) %4108, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4110 = fmul fast <4 x half> %4109, splat (half 0xH3400) + %4111 = fmul fast <4 x half> %4089, %4090 + %4112 = fsub fast <4 x half> %4089, %4111 + %4113 = fadd fast <4 x half> %4112, %4107 + %4114 = fadd fast <4 x half> %4113, %4110 + %4115 = fmul fast <4 x half> %4114, %4114 + %4116 = fmul fast <4 x half> %4115, %4114 + %4117 = fmul fast <4 x half> %4116, splat (half 0xHB05A) + %4118 = fmul fast <4 x half> %4115, splat (half 0xH2AE9) + %4119 = fadd fast <4 x half> %4118, %4114 + %4120 = fadd fast <4 x half> %4119, %4117 + %4121 = fmul fast <4 x half> %4120, %4086 + %4122 = fadd fast <4 x half> %4121, %4085 + %4123 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4122, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4124 = fmul fast <4 x half> %4123, splat (half 0xH4C80) + %4125 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4124) #4 + %4126 = fmul fast <4 x half> %4125, splat (half 0xH2B1C) + %4127 = fmul fast <4 x half> %4115, splat (half 0xH1419) + %4128 = fadd fast <4 x half> %4127, %4126 + %4129 = fadd fast <4 x half> %4115, splat (half 0xHBC00) + %4130 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4128, <4 x half> %4129) #4 + %4131 = fmul fast <4 x half> %4130, %4106 + %4132 = fmul fast <4 x half> %4109, splat (half 0xH3800) + %4133 = fadd fast <4 x half> %4131, %4132 + %4134 = fadd fast <4 x half> %4133, %4115 + %4135 = fmul fast <4 x half> %4115, %4116 + %4136 = fsub fast <4 x half> %4134, %4135 + %4137 = fmul fast <4 x half> %4136, %4136 + %4138 = fmul fast <4 x half> %4137, %4136 + %4139 = fmul fast <4 x half> %4138, splat (half 0xHB073) + %4140 = fmul fast <4 x half> %4137, splat (half 0xH2B2B) + %4141 = fadd fast <4 x half> %4140, %4136 + %4142 = fadd fast <4 x half> %4141, %4139 + %4143 = fmul fast <4 x half> %4142, %4086 + %4144 = fadd fast <4 x half> %4143, %4085 + %4145 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4144, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4146 = fmul fast <4 x half> %4145, splat (half 0xH4CC0) + %4147 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4146) #4 + %4148 = fmul fast <4 x half> %4147, splat (half 0xH2ABD) + %4149 = fmul fast <4 x half> %4137, splat (half 0xH1419) + %4150 = fadd fast <4 x half> %4149, %4148 + %4151 = fadd fast <4 x half> %4137, splat (half 0xHBC00) + %4152 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4150, <4 x half> %4151) #4 + %4153 = fmul fast <4 x half> %4152, %4106 + %4154 = fmul fast <4 x half> %4109, splat (half 0xH3A00) + %4155 = fadd fast <4 x half> %4153, %4154 + %4156 = fadd fast <4 x half> %4155, %4137 + %4157 = fmul fast <4 x half> %4137, %4138 + %4158 = fsub fast <4 x half> %4156, %4157 + %4159 = fmul fast <2 x float> %4087, + %4160 = fadd fast <2 x float> %4159, %1 + %4161 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4160, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4162 = extractvalue { <4 x half>, i8 } %4161, 0 + %4163 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4162, <4 x half> splat (half 0xH3179), <4 x half> %4158) #4 + br label %5354 + +4164: ; preds = %4164, %232 + %4165 = phi <4 x half> [ zeroinitializer, %232 ], [ %4222, %4164 ] + %4166 = phi i32 [ 0, %232 ], [ %4223, %4164 ] + %4167 = tail call fast float @air.convert.f.f32.u.i32(i32 %4166) #4 + %4168 = fadd fast float %4167, 8.750000e-01 + %4169 = insertelement <2 x float> undef, float %4168, i64 0 + %4170 = insertelement <2 x float> %4169, float 0.000000e+00, i64 1 + %4171 = fmul fast <2 x float> %4170, %234 + %4172 = fadd fast <2 x float> %4171, %1 + %4173 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4172, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4174 = extractvalue { <4 x half>, i8 } %4173, 0 + %4175 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4174, <4 x half> splat (half 0xH2D79), <4 x half> %4165) #4 + %4176 = fneg fast float %4168 + %4177 = insertelement <2 x float> undef, float %4176, i64 0 + %4178 = insertelement <2 x float> %4177, float 0.000000e+00, i64 1 + %4179 = fmul fast <2 x float> %4178, %234 + %4180 = fadd fast <2 x float> %4179, %1 + %4181 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4180, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4182 = extractvalue { <4 x half>, i8 } %4181, 0 + %4183 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4182, <4 x half> splat (half 0xH29F0), <4 x half> %4175) #4 + %4184 = insertelement <2 x float> , float %4168, i64 1 + %4185 = fmul fast <2 x float> %4184, %234 + %4186 = fadd fast <2 x float> %4185, %1 + %4187 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4186, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4188 = extractvalue { <4 x half>, i8 } %4187, 0 + %4189 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4188, <4 x half> splat (half 0xH2C18), <4 x half> %4183) #4 + %4190 = insertelement <2 x float> , float %4176, i64 1 + %4191 = fmul fast <2 x float> %4190, %234 + %4192 = fadd fast <2 x float> %4191, %1 + %4193 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4192, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4194 = extractvalue { <4 x half>, i8 } %4193, 0 + %4195 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4194, <4 x half> splat (half 0xH2A04), <4 x half> %4189) #4 + %4196 = shufflevector <2 x float> %4169, <2 x float> poison, <2 x i32> zeroinitializer + %4197 = fmul fast <2 x float> %4196, %234 + %4198 = fadd fast <2 x float> %4197, %1 + %4199 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4198, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4200 = extractvalue { <4 x half>, i8 } %4199, 0 + %4201 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4200, <4 x half> splat (half 0xH2950), <4 x half> %4195) #4 + %4202 = insertelement <2 x float> %4177, float %4168, i64 1 + %4203 = fmul fast <2 x float> %4202, %234 + %4204 = fadd fast <2 x float> %4203, %1 + %4205 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4204, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4206 = extractvalue { <4 x half>, i8 } %4205, 0 + %4207 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4206, <4 x half> splat (half 0xH27AE), <4 x half> %4201) #4 + %4208 = insertelement <2 x float> %4169, float %4176, i64 1 + %4209 = fmul fast <2 x float> %4208, %234 + %4210 = fadd fast <2 x float> %4209, %1 + %4211 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4210, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4212 = extractvalue { <4 x half>, i8 } %4211, 0 + %4213 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4212, <4 x half> splat (half 0xH25EA), <4 x half> %4207) #4 + %4214 = shufflevector <2 x float> %4177, <2 x float> poison, <2 x i32> zeroinitializer + %4215 = fmul fast <2 x float> %4214, %234 + %4216 = fadd fast <2 x float> %4215, %1 + %4217 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4216, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4218 = extractvalue { <4 x half>, i8 } %4217, 0 + %4219 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4218, <4 x half> splat (half 0xH285A), <4 x half> %4213) #4 + %4220 = fmul fast <4 x half> %4219, %238 + %4221 = fadd fast <4 x half> %4220, %242 + %4222 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4221, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4223 = add nuw i32 %4166, 1 + %4224 = icmp eq i32 %4223, %219 + br i1 %4224, label %4084, label %4164, !llvm.loop !71 + +4225: ; preds = %4305, %195 + %4226 = phi <4 x half> [ %205, %195 ], [ %216, %4305 ] + %4227 = phi <4 x half> [ %203, %195 ], [ %212, %4305 ] + %4228 = phi <2 x float> [ %201, %195 ], [ %208, %4305 ] + %4229 = phi <4 x half> [ zeroinitializer, %195 ], [ %4363, %4305 ] + %4230 = fmul fast <4 x half> %4229, %4229 + %4231 = fmul fast <4 x half> %4230, %4229 + %4232 = fmul fast <4 x half> %4231, splat (half 0xHAE97) + %4233 = fmul fast <4 x half> %4230, splat (half 0xH2AA8) + %4234 = fadd fast <4 x half> %4233, %4229 + %4235 = fadd fast <4 x half> %4234, %4232 + %4236 = fmul fast <4 x half> %4235, %4227 + %4237 = fadd fast <4 x half> %4236, %4226 + %4238 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4237, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4239 = fmul fast <4 x half> %4238, splat (half 0xH4C40) + %4240 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4239) #4 + %4241 = fmul fast <4 x half> %4240, splat (half 0xH2B88) + %4242 = fmul fast <4 x half> %4230, splat (half 0xH1419) + %4243 = fadd fast <4 x half> %4241, %4242 + %4244 = fadd fast <4 x half> %4230, splat (half 0xHBC00) + %4245 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4243, <4 x half> %4244) #4 + %4246 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4247 = load <4 x half>, ptr addrspace(2) %4246, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4248 = fmul fast <4 x half> %4247, %4245 + %4249 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4250 = load <4 x half>, ptr addrspace(2) %4249, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4251 = fmul fast <4 x half> %4250, splat (half 0xH3400) + %4252 = fmul fast <4 x half> %4230, %4231 + %4253 = fsub fast <4 x half> %4230, %4252 + %4254 = fadd fast <4 x half> %4253, %4248 + %4255 = fadd fast <4 x half> %4254, %4251 + %4256 = fmul fast <4 x half> %4255, %4255 + %4257 = fmul fast <4 x half> %4256, %4255 + %4258 = fmul fast <4 x half> %4257, splat (half 0xHAEC8) + %4259 = fmul fast <4 x half> %4256, splat (half 0xH2AE9) + %4260 = fadd fast <4 x half> %4259, %4255 + %4261 = fadd fast <4 x half> %4260, %4258 + %4262 = fmul fast <4 x half> %4261, %4227 + %4263 = fadd fast <4 x half> %4262, %4226 + %4264 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4263, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4265 = fmul fast <4 x half> %4264, splat (half 0xH4C80) + %4266 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4265) #4 + %4267 = fmul fast <4 x half> %4266, splat (half 0xH2B1C) + %4268 = fmul fast <4 x half> %4256, splat (half 0xH1419) + %4269 = fadd fast <4 x half> %4268, %4267 + %4270 = fadd fast <4 x half> %4256, splat (half 0xHBC00) + %4271 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4269, <4 x half> %4270) #4 + %4272 = fmul fast <4 x half> %4271, %4247 + %4273 = fmul fast <4 x half> %4250, splat (half 0xH3800) + %4274 = fadd fast <4 x half> %4272, %4273 + %4275 = fadd fast <4 x half> %4274, %4256 + %4276 = fmul fast <4 x half> %4256, %4257 + %4277 = fsub fast <4 x half> %4275, %4276 + %4278 = fmul fast <4 x half> %4277, %4277 + %4279 = fmul fast <4 x half> %4278, %4277 + %4280 = fmul fast <4 x half> %4279, splat (half 0xHAEFA) + %4281 = fmul fast <4 x half> %4278, splat (half 0xH2B2B) + %4282 = fadd fast <4 x half> %4281, %4277 + %4283 = fadd fast <4 x half> %4282, %4280 + %4284 = fmul fast <4 x half> %4283, %4227 + %4285 = fadd fast <4 x half> %4284, %4226 + %4286 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4285, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4287 = fmul fast <4 x half> %4286, splat (half 0xH4CC0) + %4288 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4287) #4 + %4289 = fmul fast <4 x half> %4288, splat (half 0xH2ABD) + %4290 = fmul fast <4 x half> %4278, splat (half 0xH1419) + %4291 = fadd fast <4 x half> %4290, %4289 + %4292 = fadd fast <4 x half> %4278, splat (half 0xHBC00) + %4293 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4291, <4 x half> %4292) #4 + %4294 = fmul fast <4 x half> %4293, %4247 + %4295 = fmul fast <4 x half> %4250, splat (half 0xH3A00) + %4296 = fadd fast <4 x half> %4294, %4295 + %4297 = fadd fast <4 x half> %4296, %4278 + %4298 = fmul fast <4 x half> %4278, %4279 + %4299 = fsub fast <4 x half> %4297, %4298 + %4300 = fmul fast <2 x float> %4228, + %4301 = fadd fast <2 x float> %4300, %1 + %4302 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4301, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4303 = extractvalue { <4 x half>, i8 } %4302, 0 + %4304 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4303, <4 x half> splat (half 0xH318A), <4 x half> %4299) #4 + br label %5354 + +4305: ; preds = %4305, %206 + %4306 = phi <4 x half> [ zeroinitializer, %206 ], [ %4363, %4305 ] + %4307 = phi i32 [ 0, %206 ], [ %4364, %4305 ] + %4308 = tail call fast float @air.convert.f.f32.u.i32(i32 %4307) #4 + %4309 = fadd fast float %4308, 1.000000e+00 + %4310 = insertelement <2 x float> undef, float %4309, i64 0 + %4311 = insertelement <2 x float> %4310, float 0.000000e+00, i64 1 + %4312 = fmul fast <2 x float> %4311, %208 + %4313 = fadd fast <2 x float> %4312, %1 + %4314 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4313, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4315 = extractvalue { <4 x half>, i8 } %4314, 0 + %4316 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4315, <4 x half> splat (half 0xH2D8A), <4 x half> %4306) #4 + %4317 = fneg fast float %4309 + %4318 = insertelement <2 x float> undef, float %4317, i64 0 + %4319 = insertelement <2 x float> %4318, float 0.000000e+00, i64 1 + %4320 = fmul fast <2 x float> %4319, %208 + %4321 = fadd fast <2 x float> %4320, %1 + %4322 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4321, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4323 = extractvalue { <4 x half>, i8 } %4322, 0 + %4324 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4323, <4 x half> splat (half 0xH29DA), <4 x half> %4316) #4 + %4325 = insertelement <2 x float> , float %4309, i64 1 + %4326 = fmul fast <2 x float> %4325, %208 + %4327 = fadd fast <2 x float> %4326, %1 + %4328 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4327, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4329 = extractvalue { <4 x half>, i8 } %4328, 0 + %4330 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4329, <4 x half> splat (half 0xH2A66), <4 x half> %4324) #4 + %4331 = insertelement <2 x float> , float %4317, i64 1 + %4332 = fmul fast <2 x float> %4331, %208 + %4333 = fadd fast <2 x float> %4332, %1 + %4334 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4333, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4335 = extractvalue { <4 x half>, i8 } %4334, 0 + %4336 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4335, <4 x half> splat (half 0xH2A66), <4 x half> %4330) #4 + %4337 = shufflevector <2 x float> %4310, <2 x float> poison, <2 x i32> zeroinitializer + %4338 = fmul fast <2 x float> %4337, %208 + %4339 = fadd fast <2 x float> %4338, %1 + %4340 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4339, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4341 = extractvalue { <4 x half>, i8 } %4340, 0 + %4342 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4341, <4 x half> splat (half 0xH2960), <4 x half> %4336) #4 + %4343 = insertelement <2 x float> %4318, float %4309, i64 1 + %4344 = fmul fast <2 x float> %4343, %208 + %4345 = fadd fast <2 x float> %4344, %1 + %4346 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4345, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4347 = extractvalue { <4 x half>, i8 } %4346, 0 + %4348 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4347, <4 x half> splat (half 0xH27AE), <4 x half> %4342) #4 + %4349 = insertelement <2 x float> %4310, float %4317, i64 1 + %4350 = fmul fast <2 x float> %4349, %208 + %4351 = fadd fast <2 x float> %4350, %1 + %4352 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4351, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4353 = extractvalue { <4 x half>, i8 } %4352, 0 + %4354 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4353, <4 x half> splat (half 0xH25D6), <4 x half> %4348) #4 + %4355 = shufflevector <2 x float> %4318, <2 x float> poison, <2 x i32> zeroinitializer + %4356 = fmul fast <2 x float> %4355, %208 + %4357 = fadd fast <2 x float> %4356, %1 + %4358 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4357, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4359 = extractvalue { <4 x half>, i8 } %4358, 0 + %4360 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4359, <4 x half> splat (half 0xH27AE), <4 x half> %4354) #4 + %4361 = fmul fast <4 x half> %4360, %212 + %4362 = fadd fast <4 x half> %4361, %216 + %4363 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4362, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4364 = add nuw i32 %4307, 1 + %4365 = icmp eq i32 %4364, %193 + br i1 %4365, label %4225, label %4305, !llvm.loop !72 + +4366: ; preds = %4446, %169 + %4367 = phi <4 x half> [ %179, %169 ], [ %190, %4446 ] + %4368 = phi <4 x half> [ %177, %169 ], [ %186, %4446 ] + %4369 = phi <2 x float> [ %175, %169 ], [ %182, %4446 ] + %4370 = phi <4 x half> [ zeroinitializer, %169 ], [ %4504, %4446 ] + %4371 = fmul fast <4 x half> %4370, %4370 + %4372 = fmul fast <4 x half> %4371, %4370 + %4373 = fmul fast <4 x half> %4372, splat (half 0xHAF3B) + %4374 = fmul fast <4 x half> %4371, splat (half 0xH2AA8) + %4375 = fadd fast <4 x half> %4374, %4370 + %4376 = fadd fast <4 x half> %4375, %4373 + %4377 = fmul fast <4 x half> %4376, %4368 + %4378 = fadd fast <4 x half> %4377, %4367 + %4379 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4378, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4380 = fmul fast <4 x half> %4379, splat (half 0xH4C40) + %4381 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4380) #4 + %4382 = fmul fast <4 x half> %4381, splat (half 0xH2B88) + %4383 = fmul fast <4 x half> %4371, splat (half 0xH1419) + %4384 = fadd fast <4 x half> %4382, %4383 + %4385 = fadd fast <4 x half> %4371, splat (half 0xHBC00) + %4386 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4384, <4 x half> %4385) #4 + %4387 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4388 = load <4 x half>, ptr addrspace(2) %4387, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4389 = fmul fast <4 x half> %4388, %4386 + %4390 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4391 = load <4 x half>, ptr addrspace(2) %4390, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4392 = fmul fast <4 x half> %4391, splat (half 0xH3400) + %4393 = fmul fast <4 x half> %4371, %4372 + %4394 = fsub fast <4 x half> %4371, %4393 + %4395 = fadd fast <4 x half> %4394, %4389 + %4396 = fadd fast <4 x half> %4395, %4392 + %4397 = fmul fast <4 x half> %4396, %4396 + %4398 = fmul fast <4 x half> %4397, %4396 + %4399 = fmul fast <4 x half> %4398, splat (half 0xHAF6C) + %4400 = fmul fast <4 x half> %4397, splat (half 0xH2AE9) + %4401 = fadd fast <4 x half> %4400, %4396 + %4402 = fadd fast <4 x half> %4401, %4399 + %4403 = fmul fast <4 x half> %4402, %4368 + %4404 = fadd fast <4 x half> %4403, %4367 + %4405 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4404, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4406 = fmul fast <4 x half> %4405, splat (half 0xH4C80) + %4407 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4406) #4 + %4408 = fmul fast <4 x half> %4407, splat (half 0xH2B1C) + %4409 = fmul fast <4 x half> %4397, splat (half 0xH1419) + %4410 = fadd fast <4 x half> %4409, %4408 + %4411 = fadd fast <4 x half> %4397, splat (half 0xHBC00) + %4412 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4410, <4 x half> %4411) #4 + %4413 = fmul fast <4 x half> %4412, %4388 + %4414 = fmul fast <4 x half> %4391, splat (half 0xH3800) + %4415 = fadd fast <4 x half> %4413, %4414 + %4416 = fadd fast <4 x half> %4415, %4397 + %4417 = fmul fast <4 x half> %4397, %4398 + %4418 = fsub fast <4 x half> %4416, %4417 + %4419 = fmul fast <4 x half> %4418, %4418 + %4420 = fmul fast <4 x half> %4419, %4418 + %4421 = fmul fast <4 x half> %4420, splat (half 0xHAF9E) + %4422 = fmul fast <4 x half> %4419, splat (half 0xH2B2B) + %4423 = fadd fast <4 x half> %4422, %4418 + %4424 = fadd fast <4 x half> %4423, %4421 + %4425 = fmul fast <4 x half> %4424, %4368 + %4426 = fadd fast <4 x half> %4425, %4367 + %4427 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4426, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4428 = fmul fast <4 x half> %4427, splat (half 0xH4CC0) + %4429 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4428) #4 + %4430 = fmul fast <4 x half> %4429, splat (half 0xH2ABD) + %4431 = fmul fast <4 x half> %4419, splat (half 0xH1419) + %4432 = fadd fast <4 x half> %4431, %4430 + %4433 = fadd fast <4 x half> %4419, splat (half 0xHBC00) + %4434 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4432, <4 x half> %4433) #4 + %4435 = fmul fast <4 x half> %4434, %4388 + %4436 = fmul fast <4 x half> %4391, splat (half 0xH3A00) + %4437 = fadd fast <4 x half> %4435, %4436 + %4438 = fadd fast <4 x half> %4437, %4419 + %4439 = fmul fast <4 x half> %4419, %4420 + %4440 = fsub fast <4 x half> %4438, %4439 + %4441 = fmul fast <2 x float> %4369, + %4442 = fadd fast <2 x float> %4441, %1 + %4443 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4442, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4444 = extractvalue { <4 x half>, i8 } %4443, 0 + %4445 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4444, <4 x half> splat (half 0xH319A), <4 x half> %4440) #4 + br label %5354 + +4446: ; preds = %4446, %180 + %4447 = phi <4 x half> [ zeroinitializer, %180 ], [ %4504, %4446 ] + %4448 = phi i32 [ 0, %180 ], [ %4505, %4446 ] + %4449 = tail call fast float @air.convert.f.f32.u.i32(i32 %4448) #4 + %4450 = fadd fast float %4449, 5.000000e-01 + %4451 = insertelement <2 x float> undef, float %4450, i64 0 + %4452 = insertelement <2 x float> %4451, float 0.000000e+00, i64 1 + %4453 = fmul fast <2 x float> %4452, %182 + %4454 = fadd fast <2 x float> %4453, %1 + %4455 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4454, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4456 = extractvalue { <4 x half>, i8 } %4455, 0 + %4457 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4456, <4 x half> splat (half 0xH2D9A), <4 x half> %4447) #4 + %4458 = fneg fast float %4450 + %4459 = insertelement <2 x float> undef, float %4458, i64 0 + %4460 = insertelement <2 x float> %4459, float 0.000000e+00, i64 1 + %4461 = fmul fast <2 x float> %4460, %182 + %4462 = fadd fast <2 x float> %4461, %1 + %4463 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4462, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4464 = extractvalue { <4 x half>, i8 } %4463, 0 + %4465 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4464, <4 x half> splat (half 0xH29C2), <4 x half> %4457) #4 + %4466 = insertelement <2 x float> , float %4450, i64 1 + %4467 = fmul fast <2 x float> %4466, %182 + %4468 = fadd fast <2 x float> %4467, %1 + %4469 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4468, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4470 = extractvalue { <4 x half>, i8 } %4469, 0 + %4471 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4470, <4 x half> splat (half 0xH2AA8), <4 x half> %4465) #4 + %4472 = insertelement <2 x float> , float %4458, i64 1 + %4473 = fmul fast <2 x float> %4472, %182 + %4474 = fadd fast <2 x float> %4473, %1 + %4475 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4474, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4476 = extractvalue { <4 x half>, i8 } %4475, 0 + %4477 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4476, <4 x half> splat (half 0xH2A45), <4 x half> %4471) #4 + %4478 = shufflevector <2 x float> %4451, <2 x float> poison, <2 x i32> zeroinitializer + %4479 = fmul fast <2 x float> %4478, %182 + %4480 = fadd fast <2 x float> %4479, %1 + %4481 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4480, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4482 = extractvalue { <4 x half>, i8 } %4481, 0 + %4483 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4482, <4 x half> splat (half 0xH2971), <4 x half> %4477) #4 + %4484 = insertelement <2 x float> %4459, float %4450, i64 1 + %4485 = fmul fast <2 x float> %4484, %182 + %4486 = fadd fast <2 x float> %4485, %1 + %4487 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4486, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4488 = extractvalue { <4 x half>, i8 } %4487, 0 + %4489 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4488, <4 x half> splat (half 0xH27AE), <4 x half> %4483) #4 + %4490 = insertelement <2 x float> %4451, float %4458, i64 1 + %4491 = fmul fast <2 x float> %4490, %182 + %4492 = fadd fast <2 x float> %4491, %1 + %4493 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4492, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4494 = extractvalue { <4 x half>, i8 } %4493, 0 + %4495 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4494, <4 x half> splat (half 0xH25C2), <4 x half> %4489) #4 + %4496 = shufflevector <2 x float> %4459, <2 x float> poison, <2 x i32> zeroinitializer + %4497 = fmul fast <2 x float> %4496, %182 + %4498 = fadd fast <2 x float> %4497, %1 + %4499 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4498, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4500 = extractvalue { <4 x half>, i8 } %4499, 0 + %4501 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4500, <4 x half> splat (half 0xH285A), <4 x half> %4495) #4 + %4502 = fmul fast <4 x half> %4501, %186 + %4503 = fadd fast <4 x half> %4502, %190 + %4504 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4503, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4505 = add nuw i32 %4448, 1 + %4506 = icmp eq i32 %4505, %167 + br i1 %4506, label %4366, label %4446, !llvm.loop !73 + +4507: ; preds = %4587, %143 + %4508 = phi <4 x half> [ %153, %143 ], [ %164, %4587 ] + %4509 = phi <4 x half> [ %151, %143 ], [ %160, %4587 ] + %4510 = phi <2 x float> [ %149, %143 ], [ %156, %4587 ] + %4511 = phi <4 x half> [ zeroinitializer, %143 ], [ %4645, %4587 ] + %4512 = fmul fast <4 x half> %4511, %4511 + %4513 = fmul fast <4 x half> %4512, %4511 + %4514 = fmul fast <4 x half> %4513, splat (half 0xHAFDF) + %4515 = fmul fast <4 x half> %4512, splat (half 0xH2AA8) + %4516 = fadd fast <4 x half> %4515, %4511 + %4517 = fadd fast <4 x half> %4516, %4514 + %4518 = fmul fast <4 x half> %4517, %4509 + %4519 = fadd fast <4 x half> %4518, %4508 + %4520 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4519, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4521 = fmul fast <4 x half> %4520, splat (half 0xH4C40) + %4522 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4521) #4 + %4523 = fmul fast <4 x half> %4522, splat (half 0xH2B88) + %4524 = fmul fast <4 x half> %4512, splat (half 0xH1419) + %4525 = fadd fast <4 x half> %4523, %4524 + %4526 = fadd fast <4 x half> %4512, splat (half 0xHBC00) + %4527 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4525, <4 x half> %4526) #4 + %4528 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4529 = load <4 x half>, ptr addrspace(2) %4528, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4530 = fmul fast <4 x half> %4529, %4527 + %4531 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4532 = load <4 x half>, ptr addrspace(2) %4531, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4533 = fmul fast <4 x half> %4532, splat (half 0xH3400) + %4534 = fmul fast <4 x half> %4512, %4513 + %4535 = fsub fast <4 x half> %4512, %4534 + %4536 = fadd fast <4 x half> %4535, %4530 + %4537 = fadd fast <4 x half> %4536, %4533 + %4538 = fmul fast <4 x half> %4537, %4537 + %4539 = fmul fast <4 x half> %4538, %4537 + %4540 = fmul fast <4 x half> %4539, splat (half 0xHB008) + %4541 = fmul fast <4 x half> %4538, splat (half 0xH2AE9) + %4542 = fadd fast <4 x half> %4541, %4537 + %4543 = fadd fast <4 x half> %4542, %4540 + %4544 = fmul fast <4 x half> %4543, %4509 + %4545 = fadd fast <4 x half> %4544, %4508 + %4546 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4545, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4547 = fmul fast <4 x half> %4546, splat (half 0xH4C80) + %4548 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4547) #4 + %4549 = fmul fast <4 x half> %4548, splat (half 0xH2B1C) + %4550 = fmul fast <4 x half> %4538, splat (half 0xH1419) + %4551 = fadd fast <4 x half> %4550, %4549 + %4552 = fadd fast <4 x half> %4538, splat (half 0xHBC00) + %4553 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4551, <4 x half> %4552) #4 + %4554 = fmul fast <4 x half> %4553, %4529 + %4555 = fmul fast <4 x half> %4532, splat (half 0xH3800) + %4556 = fadd fast <4 x half> %4554, %4555 + %4557 = fadd fast <4 x half> %4556, %4538 + %4558 = fmul fast <4 x half> %4538, %4539 + %4559 = fsub fast <4 x half> %4557, %4558 + %4560 = fmul fast <4 x half> %4559, %4559 + %4561 = fmul fast <4 x half> %4560, %4559 + %4562 = fmul fast <4 x half> %4561, splat (half 0xHB021) + %4563 = fmul fast <4 x half> %4560, splat (half 0xH2B2B) + %4564 = fadd fast <4 x half> %4563, %4559 + %4565 = fadd fast <4 x half> %4564, %4562 + %4566 = fmul fast <4 x half> %4565, %4509 + %4567 = fadd fast <4 x half> %4566, %4508 + %4568 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4567, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4569 = fmul fast <4 x half> %4568, splat (half 0xH4CC0) + %4570 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4569) #4 + %4571 = fmul fast <4 x half> %4570, splat (half 0xH2ABD) + %4572 = fmul fast <4 x half> %4560, splat (half 0xH1419) + %4573 = fadd fast <4 x half> %4572, %4571 + %4574 = fadd fast <4 x half> %4560, splat (half 0xHBC00) + %4575 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4573, <4 x half> %4574) #4 + %4576 = fmul fast <4 x half> %4575, %4529 + %4577 = fmul fast <4 x half> %4532, splat (half 0xH3A00) + %4578 = fadd fast <4 x half> %4576, %4577 + %4579 = fadd fast <4 x half> %4578, %4560 + %4580 = fmul fast <4 x half> %4560, %4561 + %4581 = fsub fast <4 x half> %4579, %4580 + %4582 = fmul fast <2 x float> %4510, + %4583 = fadd fast <2 x float> %4582, %1 + %4584 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4583, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4585 = extractvalue { <4 x half>, i8 } %4584, 0 + %4586 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4585, <4 x half> splat (half 0xH31AA), <4 x half> %4581) #4 + br label %5354 + +4587: ; preds = %4587, %154 + %4588 = phi <4 x half> [ zeroinitializer, %154 ], [ %4645, %4587 ] + %4589 = phi i32 [ 0, %154 ], [ %4646, %4587 ] + %4590 = tail call fast float @air.convert.f.f32.u.i32(i32 %4589) #4 + %4591 = fadd fast float %4590, 6.250000e-01 + %4592 = insertelement <2 x float> undef, float %4591, i64 0 + %4593 = insertelement <2 x float> %4592, float 0.000000e+00, i64 1 + %4594 = fmul fast <2 x float> %4593, %156 + %4595 = fadd fast <2 x float> %4594, %1 + %4596 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4595, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4597 = extractvalue { <4 x half>, i8 } %4596, 0 + %4598 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4597, <4 x half> splat (half 0xH2DAA), <4 x half> %4588) #4 + %4599 = fneg fast float %4591 + %4600 = insertelement <2 x float> undef, float %4599, i64 0 + %4601 = insertelement <2 x float> %4600, float 0.000000e+00, i64 1 + %4602 = fmul fast <2 x float> %4601, %156 + %4603 = fadd fast <2 x float> %4602, %1 + %4604 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4603, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4605 = extractvalue { <4 x half>, i8 } %4604, 0 + %4606 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4605, <4 x half> splat (half 0xH29AC), <4 x half> %4598) #4 + %4607 = insertelement <2 x float> , float %4591, i64 1 + %4608 = fmul fast <2 x float> %4607, %156 + %4609 = fadd fast <2 x float> %4608, %1 + %4610 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4609, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4611 = extractvalue { <4 x half>, i8 } %4610, 0 + %4612 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4611, <4 x half> splat (half 0xH2AE9), <4 x half> %4606) #4 + %4613 = insertelement <2 x float> , float %4599, i64 1 + %4614 = fmul fast <2 x float> %4613, %156 + %4615 = fadd fast <2 x float> %4614, %1 + %4616 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4615, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4617 = extractvalue { <4 x half>, i8 } %4616, 0 + %4618 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4617, <4 x half> splat (half 0xH2A24), <4 x half> %4612) #4 + %4619 = shufflevector <2 x float> %4592, <2 x float> poison, <2 x i32> zeroinitializer + %4620 = fmul fast <2 x float> %4619, %156 + %4621 = fadd fast <2 x float> %4620, %1 + %4622 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4621, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4623 = extractvalue { <4 x half>, i8 } %4622, 0 + %4624 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4623, <4 x half> splat (half 0xH2981), <4 x half> %4618) #4 + %4625 = insertelement <2 x float> %4600, float %4591, i64 1 + %4626 = fmul fast <2 x float> %4625, %156 + %4627 = fadd fast <2 x float> %4626, %1 + %4628 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4627, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4629 = extractvalue { <4 x half>, i8 } %4628, 0 + %4630 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4629, <4 x half> splat (half 0xH27AE), <4 x half> %4624) #4 + %4631 = insertelement <2 x float> %4592, float %4599, i64 1 + %4632 = fmul fast <2 x float> %4631, %156 + %4633 = fadd fast <2 x float> %4632, %1 + %4634 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4633, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4635 = extractvalue { <4 x half>, i8 } %4634, 0 + %4636 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4635, <4 x half> splat (half 0xH25AF), <4 x half> %4630) #4 + %4637 = shufflevector <2 x float> %4600, <2 x float> poison, <2 x i32> zeroinitializer + %4638 = fmul fast <2 x float> %4637, %156 + %4639 = fadd fast <2 x float> %4638, %1 + %4640 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4639, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4641 = extractvalue { <4 x half>, i8 } %4640, 0 + %4642 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4641, <4 x half> splat (half 0xH27AE), <4 x half> %4636) #4 + %4643 = fmul fast <4 x half> %4642, %160 + %4644 = fadd fast <4 x half> %4643, %164 + %4645 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4644, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4646 = add nuw i32 %4589, 1 + %4647 = icmp eq i32 %4646, %141 + br i1 %4647, label %4507, label %4587, !llvm.loop !74 + +4648: ; preds = %4728, %117 + %4649 = phi <4 x half> [ %127, %117 ], [ %138, %4728 ] + %4650 = phi <4 x half> [ %125, %117 ], [ %134, %4728 ] + %4651 = phi <2 x float> [ %123, %117 ], [ %130, %4728 ] + %4652 = phi <4 x half> [ zeroinitializer, %117 ], [ %4786, %4728 ] + %4653 = fmul fast <4 x half> %4652, %4652 + %4654 = fmul fast <4 x half> %4653, %4652 + %4655 = fmul fast <4 x half> %4654, splat (half 0xHB042) + %4656 = fmul fast <4 x half> %4653, splat (half 0xH2AA8) + %4657 = fadd fast <4 x half> %4656, %4652 + %4658 = fadd fast <4 x half> %4657, %4655 + %4659 = fmul fast <4 x half> %4658, %4650 + %4660 = fadd fast <4 x half> %4659, %4649 + %4661 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4660, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4662 = fmul fast <4 x half> %4661, splat (half 0xH4C40) + %4663 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4662) #4 + %4664 = fmul fast <4 x half> %4663, splat (half 0xH2B88) + %4665 = fmul fast <4 x half> %4653, splat (half 0xH1419) + %4666 = fadd fast <4 x half> %4664, %4665 + %4667 = fadd fast <4 x half> %4653, splat (half 0xHBC00) + %4668 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4666, <4 x half> %4667) #4 + %4669 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4670 = load <4 x half>, ptr addrspace(2) %4669, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4671 = fmul fast <4 x half> %4670, %4668 + %4672 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4673 = load <4 x half>, ptr addrspace(2) %4672, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4674 = fmul fast <4 x half> %4673, splat (half 0xH3400) + %4675 = fmul fast <4 x half> %4653, %4654 + %4676 = fsub fast <4 x half> %4653, %4675 + %4677 = fadd fast <4 x half> %4676, %4671 + %4678 = fadd fast <4 x half> %4677, %4674 + %4679 = fmul fast <4 x half> %4678, %4678 + %4680 = fmul fast <4 x half> %4679, %4678 + %4681 = fmul fast <4 x half> %4680, splat (half 0xHB05A) + %4682 = fmul fast <4 x half> %4679, splat (half 0xH2AE9) + %4683 = fadd fast <4 x half> %4682, %4678 + %4684 = fadd fast <4 x half> %4683, %4681 + %4685 = fmul fast <4 x half> %4684, %4650 + %4686 = fadd fast <4 x half> %4685, %4649 + %4687 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4686, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4688 = fmul fast <4 x half> %4687, splat (half 0xH4C80) + %4689 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4688) #4 + %4690 = fmul fast <4 x half> %4689, splat (half 0xH2B1C) + %4691 = fmul fast <4 x half> %4679, splat (half 0xH1419) + %4692 = fadd fast <4 x half> %4691, %4690 + %4693 = fadd fast <4 x half> %4679, splat (half 0xHBC00) + %4694 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4692, <4 x half> %4693) #4 + %4695 = fmul fast <4 x half> %4694, %4670 + %4696 = fmul fast <4 x half> %4673, splat (half 0xH3800) + %4697 = fadd fast <4 x half> %4695, %4696 + %4698 = fadd fast <4 x half> %4697, %4679 + %4699 = fmul fast <4 x half> %4679, %4680 + %4700 = fsub fast <4 x half> %4698, %4699 + %4701 = fmul fast <4 x half> %4700, %4700 + %4702 = fmul fast <4 x half> %4701, %4700 + %4703 = fmul fast <4 x half> %4702, splat (half 0xHB073) + %4704 = fmul fast <4 x half> %4701, splat (half 0xH2B2B) + %4705 = fadd fast <4 x half> %4704, %4700 + %4706 = fadd fast <4 x half> %4705, %4703 + %4707 = fmul fast <4 x half> %4706, %4650 + %4708 = fadd fast <4 x half> %4707, %4649 + %4709 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4708, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4710 = fmul fast <4 x half> %4709, splat (half 0xH4CC0) + %4711 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4710) #4 + %4712 = fmul fast <4 x half> %4711, splat (half 0xH2ABD) + %4713 = fmul fast <4 x half> %4701, splat (half 0xH1419) + %4714 = fadd fast <4 x half> %4713, %4712 + %4715 = fadd fast <4 x half> %4701, splat (half 0xHBC00) + %4716 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4714, <4 x half> %4715) #4 + %4717 = fmul fast <4 x half> %4716, %4670 + %4718 = fmul fast <4 x half> %4673, splat (half 0xH3A00) + %4719 = fadd fast <4 x half> %4717, %4718 + %4720 = fadd fast <4 x half> %4719, %4701 + %4721 = fmul fast <4 x half> %4701, %4702 + %4722 = fsub fast <4 x half> %4720, %4721 + %4723 = fmul fast <2 x float> %4651, + %4724 = fadd fast <2 x float> %4723, %1 + %4725 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4724, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4726 = extractvalue { <4 x half>, i8 } %4725, 0 + %4727 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4726, <4 x half> splat (half 0xH31BA), <4 x half> %4722) #4 + br label %5354 + +4728: ; preds = %4728, %128 + %4729 = phi <4 x half> [ zeroinitializer, %128 ], [ %4786, %4728 ] + %4730 = phi i32 [ 0, %128 ], [ %4787, %4728 ] + %4731 = tail call fast float @air.convert.f.f32.u.i32(i32 %4730) #4 + %4732 = fadd fast float %4731, 7.500000e-01 + %4733 = insertelement <2 x float> undef, float %4732, i64 0 + %4734 = insertelement <2 x float> %4733, float 0.000000e+00, i64 1 + %4735 = fmul fast <2 x float> %4734, %130 + %4736 = fadd fast <2 x float> %4735, %1 + %4737 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4736, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4738 = extractvalue { <4 x half>, i8 } %4737, 0 + %4739 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4738, <4 x half> splat (half 0xH2DBA), <4 x half> %4729) #4 + %4740 = fneg fast float %4732 + %4741 = insertelement <2 x float> undef, float %4740, i64 0 + %4742 = insertelement <2 x float> %4741, float 0.000000e+00, i64 1 + %4743 = fmul fast <2 x float> %4742, %130 + %4744 = fadd fast <2 x float> %4743, %1 + %4745 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4744, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4746 = extractvalue { <4 x half>, i8 } %4745, 0 + %4747 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4746, <4 x half> splat (half 0xH2994), <4 x half> %4739) #4 + %4748 = insertelement <2 x float> , float %4732, i64 1 + %4749 = fmul fast <2 x float> %4748, %130 + %4750 = fadd fast <2 x float> %4749, %1 + %4751 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4750, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4752 = extractvalue { <4 x half>, i8 } %4751, 0 + %4753 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4752, <4 x half> splat (half 0xH2B2B), <4 x half> %4747) #4 + %4754 = insertelement <2 x float> , float %4740, i64 1 + %4755 = fmul fast <2 x float> %4754, %130 + %4756 = fadd fast <2 x float> %4755, %1 + %4757 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4756, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4758 = extractvalue { <4 x half>, i8 } %4757, 0 + %4759 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4758, <4 x half> splat (half 0xH2A04), <4 x half> %4753) #4 + %4760 = shufflevector <2 x float> %4733, <2 x float> poison, <2 x i32> zeroinitializer + %4761 = fmul fast <2 x float> %4760, %130 + %4762 = fadd fast <2 x float> %4761, %1 + %4763 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4762, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4764 = extractvalue { <4 x half>, i8 } %4763, 0 + %4765 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4764, <4 x half> splat (half 0xH2992), <4 x half> %4759) #4 + %4766 = insertelement <2 x float> %4741, float %4732, i64 1 + %4767 = fmul fast <2 x float> %4766, %130 + %4768 = fadd fast <2 x float> %4767, %1 + %4769 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4768, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4770 = extractvalue { <4 x half>, i8 } %4769, 0 + %4771 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4770, <4 x half> splat (half 0xH27AE), <4 x half> %4765) #4 + %4772 = insertelement <2 x float> %4733, float %4740, i64 1 + %4773 = fmul fast <2 x float> %4772, %130 + %4774 = fadd fast <2 x float> %4773, %1 + %4775 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4774, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4776 = extractvalue { <4 x half>, i8 } %4775, 0 + %4777 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4776, <4 x half> splat (half 0xH259C), <4 x half> %4771) #4 + %4778 = shufflevector <2 x float> %4741, <2 x float> poison, <2 x i32> zeroinitializer + %4779 = fmul fast <2 x float> %4778, %130 + %4780 = fadd fast <2 x float> %4779, %1 + %4781 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4780, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4782 = extractvalue { <4 x half>, i8 } %4781, 0 + %4783 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4782, <4 x half> splat (half 0xH285A), <4 x half> %4777) #4 + %4784 = fmul fast <4 x half> %4783, %134 + %4785 = fadd fast <4 x half> %4784, %138 + %4786 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4785, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4787 = add nuw i32 %4730, 1 + %4788 = icmp eq i32 %4787, %115 + br i1 %4788, label %4648, label %4728, !llvm.loop !75 + +4789: ; preds = %4869, %91 + %4790 = phi <4 x half> [ %101, %91 ], [ %112, %4869 ] + %4791 = phi <4 x half> [ %99, %91 ], [ %108, %4869 ] + %4792 = phi <2 x float> [ %97, %91 ], [ %104, %4869 ] + %4793 = phi <4 x half> [ zeroinitializer, %91 ], [ %4927, %4869 ] + %4794 = fmul fast <4 x half> %4793, %4793 + %4795 = fmul fast <4 x half> %4794, %4793 + %4796 = fmul fast <4 x half> %4795, splat (half 0xHAE97) + %4797 = fmul fast <4 x half> %4794, splat (half 0xH2AA8) + %4798 = fadd fast <4 x half> %4797, %4793 + %4799 = fadd fast <4 x half> %4798, %4796 + %4800 = fmul fast <4 x half> %4799, %4791 + %4801 = fadd fast <4 x half> %4800, %4790 + %4802 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4801, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4803 = fmul fast <4 x half> %4802, splat (half 0xH4C40) + %4804 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4803) #4 + %4805 = fmul fast <4 x half> %4804, splat (half 0xH2B88) + %4806 = fmul fast <4 x half> %4794, splat (half 0xH1419) + %4807 = fadd fast <4 x half> %4805, %4806 + %4808 = fadd fast <4 x half> %4794, splat (half 0xHBC00) + %4809 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4807, <4 x half> %4808) #4 + %4810 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4811 = load <4 x half>, ptr addrspace(2) %4810, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4812 = fmul fast <4 x half> %4811, %4809 + %4813 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4814 = load <4 x half>, ptr addrspace(2) %4813, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4815 = fmul fast <4 x half> %4814, splat (half 0xH3400) + %4816 = fmul fast <4 x half> %4794, %4795 + %4817 = fsub fast <4 x half> %4794, %4816 + %4818 = fadd fast <4 x half> %4817, %4812 + %4819 = fadd fast <4 x half> %4818, %4815 + %4820 = fmul fast <4 x half> %4819, %4819 + %4821 = fmul fast <4 x half> %4820, %4819 + %4822 = fmul fast <4 x half> %4821, splat (half 0xHAEC8) + %4823 = fmul fast <4 x half> %4820, splat (half 0xH2AE9) + %4824 = fadd fast <4 x half> %4823, %4819 + %4825 = fadd fast <4 x half> %4824, %4822 + %4826 = fmul fast <4 x half> %4825, %4791 + %4827 = fadd fast <4 x half> %4826, %4790 + %4828 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4827, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4829 = fmul fast <4 x half> %4828, splat (half 0xH4C80) + %4830 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4829) #4 + %4831 = fmul fast <4 x half> %4830, splat (half 0xH2B1C) + %4832 = fmul fast <4 x half> %4820, splat (half 0xH1419) + %4833 = fadd fast <4 x half> %4832, %4831 + %4834 = fadd fast <4 x half> %4820, splat (half 0xHBC00) + %4835 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4833, <4 x half> %4834) #4 + %4836 = fmul fast <4 x half> %4835, %4811 + %4837 = fmul fast <4 x half> %4814, splat (half 0xH3800) + %4838 = fadd fast <4 x half> %4836, %4837 + %4839 = fadd fast <4 x half> %4838, %4820 + %4840 = fmul fast <4 x half> %4820, %4821 + %4841 = fsub fast <4 x half> %4839, %4840 + %4842 = fmul fast <4 x half> %4841, %4841 + %4843 = fmul fast <4 x half> %4842, %4841 + %4844 = fmul fast <4 x half> %4843, splat (half 0xHAEFA) + %4845 = fmul fast <4 x half> %4842, splat (half 0xH2B2B) + %4846 = fadd fast <4 x half> %4845, %4841 + %4847 = fadd fast <4 x half> %4846, %4844 + %4848 = fmul fast <4 x half> %4847, %4791 + %4849 = fadd fast <4 x half> %4848, %4790 + %4850 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4849, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %4851 = fmul fast <4 x half> %4850, splat (half 0xH4CC0) + %4852 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4851) #4 + %4853 = fmul fast <4 x half> %4852, splat (half 0xH2ABD) + %4854 = fmul fast <4 x half> %4842, splat (half 0xH1419) + %4855 = fadd fast <4 x half> %4854, %4853 + %4856 = fadd fast <4 x half> %4842, splat (half 0xHBC00) + %4857 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4855, <4 x half> %4856) #4 + %4858 = fmul fast <4 x half> %4857, %4811 + %4859 = fmul fast <4 x half> %4814, splat (half 0xH3A00) + %4860 = fadd fast <4 x half> %4858, %4859 + %4861 = fadd fast <4 x half> %4860, %4842 + %4862 = fmul fast <4 x half> %4842, %4843 + %4863 = fsub fast <4 x half> %4861, %4862 + %4864 = fmul fast <2 x float> %4792, + %4865 = fadd fast <2 x float> %4864, %1 + %4866 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4865, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4867 = extractvalue { <4 x half>, i8 } %4866, 0 + %4868 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4867, <4 x half> splat (half 0xH31CB), <4 x half> %4863) #4 + br label %5354 + +4869: ; preds = %4869, %102 + %4870 = phi <4 x half> [ zeroinitializer, %102 ], [ %4927, %4869 ] + %4871 = phi i32 [ 0, %102 ], [ %4928, %4869 ] + %4872 = tail call fast float @air.convert.f.f32.u.i32(i32 %4871) #4 + %4873 = fadd fast float %4872, 8.750000e-01 + %4874 = insertelement <2 x float> undef, float %4873, i64 0 + %4875 = insertelement <2 x float> %4874, float 0.000000e+00, i64 1 + %4876 = fmul fast <2 x float> %4875, %104 + %4877 = fadd fast <2 x float> %4876, %1 + %4878 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4877, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4879 = extractvalue { <4 x half>, i8 } %4878, 0 + %4880 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4879, <4 x half> splat (half 0xH2DCB), <4 x half> %4870) #4 + %4881 = fneg fast float %4873 + %4882 = insertelement <2 x float> undef, float %4881, i64 0 + %4883 = insertelement <2 x float> %4882, float 0.000000e+00, i64 1 + %4884 = fmul fast <2 x float> %4883, %104 + %4885 = fadd fast <2 x float> %4884, %1 + %4886 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4885, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4887 = extractvalue { <4 x half>, i8 } %4886, 0 + %4888 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4887, <4 x half> splat (half 0xH297E), <4 x half> %4880) #4 + %4889 = insertelement <2 x float> , float %4873, i64 1 + %4890 = fmul fast <2 x float> %4889, %104 + %4891 = fadd fast <2 x float> %4890, %1 + %4892 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4891, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4893 = extractvalue { <4 x half>, i8 } %4892, 0 + %4894 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4893, <4 x half> splat (half 0xH2B6C), <4 x half> %4888) #4 + %4895 = insertelement <2 x float> , float %4881, i64 1 + %4896 = fmul fast <2 x float> %4895, %104 + %4897 = fadd fast <2 x float> %4896, %1 + %4898 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4897, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4899 = extractvalue { <4 x half>, i8 } %4898, 0 + %4900 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4899, <4 x half> splat (half 0xH2A66), <4 x half> %4894) #4 + %4901 = shufflevector <2 x float> %4874, <2 x float> poison, <2 x i32> zeroinitializer + %4902 = fmul fast <2 x float> %4901, %104 + %4903 = fadd fast <2 x float> %4902, %1 + %4904 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4903, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4905 = extractvalue { <4 x half>, i8 } %4904, 0 + %4906 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4905, <4 x half> splat (half 0xH29A2), <4 x half> %4900) #4 + %4907 = insertelement <2 x float> %4882, float %4873, i64 1 + %4908 = fmul fast <2 x float> %4907, %104 + %4909 = fadd fast <2 x float> %4908, %1 + %4910 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4909, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4911 = extractvalue { <4 x half>, i8 } %4910, 0 + %4912 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4911, <4 x half> splat (half 0xH27AE), <4 x half> %4906) #4 + %4913 = insertelement <2 x float> %4874, float %4881, i64 1 + %4914 = fmul fast <2 x float> %4913, %104 + %4915 = fadd fast <2 x float> %4914, %1 + %4916 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4915, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4917 = extractvalue { <4 x half>, i8 } %4916, 0 + %4918 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4917, <4 x half> splat (half 0xH2588), <4 x half> %4912) #4 + %4919 = shufflevector <2 x float> %4882, <2 x float> poison, <2 x i32> zeroinitializer + %4920 = fmul fast <2 x float> %4919, %104 + %4921 = fadd fast <2 x float> %4920, %1 + %4922 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %4921, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %4923 = extractvalue { <4 x half>, i8 } %4922, 0 + %4924 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %4923, <4 x half> splat (half 0xH27AE), <4 x half> %4918) #4 + %4925 = fmul fast <4 x half> %4924, %108 + %4926 = fadd fast <4 x half> %4925, %112 + %4927 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4926, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %4928 = add nuw i32 %4871, 1 + %4929 = icmp eq i32 %4928, %89 + br i1 %4929, label %4789, label %4869, !llvm.loop !76 + +4930: ; preds = %5010, %65 + %4931 = phi <4 x half> [ %75, %65 ], [ %86, %5010 ] + %4932 = phi <4 x half> [ %73, %65 ], [ %82, %5010 ] + %4933 = phi <2 x float> [ %71, %65 ], [ %78, %5010 ] + %4934 = phi <4 x half> [ zeroinitializer, %65 ], [ %5068, %5010 ] + %4935 = fmul fast <4 x half> %4934, %4934 + %4936 = fmul fast <4 x half> %4935, %4934 + %4937 = fmul fast <4 x half> %4936, splat (half 0xHAF3B) + %4938 = fmul fast <4 x half> %4935, splat (half 0xH2AA8) + %4939 = fadd fast <4 x half> %4938, %4934 + %4940 = fadd fast <4 x half> %4939, %4937 + %4941 = fmul fast <4 x half> %4940, %4932 + %4942 = fadd fast <4 x half> %4941, %4931 + %4943 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4942, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4944 = fmul fast <4 x half> %4943, splat (half 0xH4C40) + %4945 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4944) #4 + %4946 = fmul fast <4 x half> %4945, splat (half 0xH2B88) + %4947 = fmul fast <4 x half> %4935, splat (half 0xH1419) + %4948 = fadd fast <4 x half> %4946, %4947 + %4949 = fadd fast <4 x half> %4935, splat (half 0xHBC00) + %4950 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4948, <4 x half> %4949) #4 + %4951 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %4952 = load <4 x half>, ptr addrspace(2) %4951, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4953 = fmul fast <4 x half> %4952, %4950 + %4954 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %4955 = load <4 x half>, ptr addrspace(2) %4954, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %4956 = fmul fast <4 x half> %4955, splat (half 0xH3400) + %4957 = fmul fast <4 x half> %4935, %4936 + %4958 = fsub fast <4 x half> %4935, %4957 + %4959 = fadd fast <4 x half> %4958, %4953 + %4960 = fadd fast <4 x half> %4959, %4956 + %4961 = fmul fast <4 x half> %4960, %4960 + %4962 = fmul fast <4 x half> %4961, %4960 + %4963 = fmul fast <4 x half> %4962, splat (half 0xHAF6C) + %4964 = fmul fast <4 x half> %4961, splat (half 0xH2AE9) + %4965 = fadd fast <4 x half> %4964, %4960 + %4966 = fadd fast <4 x half> %4965, %4963 + %4967 = fmul fast <4 x half> %4966, %4932 + %4968 = fadd fast <4 x half> %4967, %4931 + %4969 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4968, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4970 = fmul fast <4 x half> %4969, splat (half 0xH4C80) + %4971 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4970) #4 + %4972 = fmul fast <4 x half> %4971, splat (half 0xH2B1C) + %4973 = fmul fast <4 x half> %4961, splat (half 0xH1419) + %4974 = fadd fast <4 x half> %4973, %4972 + %4975 = fadd fast <4 x half> %4961, splat (half 0xHBC00) + %4976 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4974, <4 x half> %4975) #4 + %4977 = fmul fast <4 x half> %4976, %4952 + %4978 = fmul fast <4 x half> %4955, splat (half 0xH3800) + %4979 = fadd fast <4 x half> %4977, %4978 + %4980 = fadd fast <4 x half> %4979, %4961 + %4981 = fmul fast <4 x half> %4961, %4962 + %4982 = fsub fast <4 x half> %4980, %4981 + %4983 = fmul fast <4 x half> %4982, %4982 + %4984 = fmul fast <4 x half> %4983, %4982 + %4985 = fmul fast <4 x half> %4984, splat (half 0xHAF9E) + %4986 = fmul fast <4 x half> %4983, splat (half 0xH2B2B) + %4987 = fadd fast <4 x half> %4986, %4982 + %4988 = fadd fast <4 x half> %4987, %4985 + %4989 = fmul fast <4 x half> %4988, %4932 + %4990 = fadd fast <4 x half> %4989, %4931 + %4991 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %4990, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %4992 = fmul fast <4 x half> %4991, splat (half 0xH4CC0) + %4993 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %4992) #4 + %4994 = fmul fast <4 x half> %4993, splat (half 0xH2ABD) + %4995 = fmul fast <4 x half> %4983, splat (half 0xH1419) + %4996 = fadd fast <4 x half> %4995, %4994 + %4997 = fadd fast <4 x half> %4983, splat (half 0xHBC00) + %4998 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %4996, <4 x half> %4997) #4 + %4999 = fmul fast <4 x half> %4998, %4952 + %5000 = fmul fast <4 x half> %4955, splat (half 0xH3A00) + %5001 = fadd fast <4 x half> %4999, %5000 + %5002 = fadd fast <4 x half> %5001, %4983 + %5003 = fmul fast <4 x half> %4983, %4984 + %5004 = fsub fast <4 x half> %5002, %5003 + %5005 = fmul fast <2 x float> %4933, + %5006 = fadd fast <2 x float> %5005, %1 + %5007 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5006, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5008 = extractvalue { <4 x half>, i8 } %5007, 0 + %5009 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5008, <4 x half> splat (half 0xH31DB), <4 x half> %5004) #4 + br label %5354 + +5010: ; preds = %5010, %76 + %5011 = phi i32 [ 0, %76 ], [ %5069, %5010 ] + %5012 = phi <4 x half> [ zeroinitializer, %76 ], [ %5068, %5010 ] + %5013 = tail call fast float @air.convert.f.f32.u.i32(i32 %5011) #4 + %5014 = fadd fast float %5013, 1.000000e+00 + %5015 = insertelement <2 x float> undef, float %5014, i64 0 + %5016 = insertelement <2 x float> %5015, float 0.000000e+00, i64 1 + %5017 = fmul fast <2 x float> %5016, %78 + %5018 = fadd fast <2 x float> %5017, %1 + %5019 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5018, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5020 = extractvalue { <4 x half>, i8 } %5019, 0 + %5021 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5020, <4 x half> splat (half 0xH2DDB), <4 x half> %5012) #4 + %5022 = fneg fast float %5014 + %5023 = insertelement <2 x float> undef, float %5022, i64 0 + %5024 = insertelement <2 x float> %5023, float 0.000000e+00, i64 1 + %5025 = fmul fast <2 x float> %5024, %78 + %5026 = fadd fast <2 x float> %5025, %1 + %5027 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5026, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5028 = extractvalue { <4 x half>, i8 } %5027, 0 + %5029 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5028, <4 x half> splat (half 0xH2967), <4 x half> %5021) #4 + %5030 = insertelement <2 x float> , float %5014, i64 1 + %5031 = fmul fast <2 x float> %5030, %78 + %5032 = fadd fast <2 x float> %5031, %1 + %5033 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5032, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5034 = extractvalue { <4 x half>, i8 } %5033, 0 + %5035 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5034, <4 x half> splat (half 0xH2BAE), <4 x half> %5029) #4 + %5036 = insertelement <2 x float> , float %5022, i64 1 + %5037 = fmul fast <2 x float> %5036, %78 + %5038 = fadd fast <2 x float> %5037, %1 + %5039 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5038, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5040 = extractvalue { <4 x half>, i8 } %5039, 0 + %5041 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5040, <4 x half> splat (half 0xH2A45), <4 x half> %5035) #4 + %5042 = shufflevector <2 x float> %5015, <2 x float> poison, <2 x i32> zeroinitializer + %5043 = fmul fast <2 x float> %5042, %78 + %5044 = fadd fast <2 x float> %5043, %1 + %5045 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5044, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5046 = extractvalue { <4 x half>, i8 } %5045, 0 + %5047 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5046, <4 x half> splat (half 0xH29B2), <4 x half> %5041) #4 + %5048 = insertelement <2 x float> %5023, float %5014, i64 1 + %5049 = fmul fast <2 x float> %5048, %78 + %5050 = fadd fast <2 x float> %5049, %1 + %5051 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5050, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5052 = extractvalue { <4 x half>, i8 } %5051, 0 + %5053 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5052, <4 x half> splat (half 0xH27AE), <4 x half> %5047) #4 + %5054 = insertelement <2 x float> %5015, float %5022, i64 1 + %5055 = fmul fast <2 x float> %5054, %78 + %5056 = fadd fast <2 x float> %5055, %1 + %5057 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5056, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5058 = extractvalue { <4 x half>, i8 } %5057, 0 + %5059 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5058, <4 x half> splat (half 0xH2574), <4 x half> %5053) #4 + %5060 = shufflevector <2 x float> %5023, <2 x float> poison, <2 x i32> zeroinitializer + %5061 = fmul fast <2 x float> %5060, %78 + %5062 = fadd fast <2 x float> %5061, %1 + %5063 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5062, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5064 = extractvalue { <4 x half>, i8 } %5063, 0 + %5065 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5064, <4 x half> splat (half 0xH285A), <4 x half> %5059) #4 + %5066 = fmul fast <4 x half> %5065, %82 + %5067 = fadd fast <4 x half> %5066, %86 + %5068 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5067, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %5069 = add nuw i32 %5011, 1 + %5070 = icmp eq i32 %5069, %63 + br i1 %5070, label %4930, label %5010, !llvm.loop !77 + +5071: ; preds = %5151, %39 + %5072 = phi <4 x half> [ %49, %39 ], [ %60, %5151 ] + %5073 = phi <4 x half> [ %47, %39 ], [ %56, %5151 ] + %5074 = phi <2 x float> [ %45, %39 ], [ %52, %5151 ] + %5075 = phi <4 x half> [ zeroinitializer, %39 ], [ %5209, %5151 ] + %5076 = fmul fast <4 x half> %5075, %5075 + %5077 = fmul fast <4 x half> %5076, %5075 + %5078 = fmul fast <4 x half> %5077, splat (half 0xHAFDF) + %5079 = fmul fast <4 x half> %5076, splat (half 0xH2AA8) + %5080 = fadd fast <4 x half> %5079, %5075 + %5081 = fadd fast <4 x half> %5080, %5078 + %5082 = fmul fast <4 x half> %5081, %5073 + %5083 = fadd fast <4 x half> %5082, %5072 + %5084 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5083, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %5085 = fmul fast <4 x half> %5084, splat (half 0xH4C40) + %5086 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5085) #4 + %5087 = fmul fast <4 x half> %5086, splat (half 0xH2B88) + %5088 = fmul fast <4 x half> %5076, splat (half 0xH1419) + %5089 = fadd fast <4 x half> %5087, %5088 + %5090 = fadd fast <4 x half> %5076, splat (half 0xHBC00) + %5091 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5089, <4 x half> %5090) #4 + %5092 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %5093 = load <4 x half>, ptr addrspace(2) %5092, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5094 = fmul fast <4 x half> %5093, %5091 + %5095 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %5096 = load <4 x half>, ptr addrspace(2) %5095, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5097 = fmul fast <4 x half> %5096, splat (half 0xH3400) + %5098 = fmul fast <4 x half> %5076, %5077 + %5099 = fsub fast <4 x half> %5076, %5098 + %5100 = fadd fast <4 x half> %5099, %5094 + %5101 = fadd fast <4 x half> %5100, %5097 + %5102 = fmul fast <4 x half> %5101, %5101 + %5103 = fmul fast <4 x half> %5102, %5101 + %5104 = fmul fast <4 x half> %5103, splat (half 0xHB008) + %5105 = fmul fast <4 x half> %5102, splat (half 0xH2AE9) + %5106 = fadd fast <4 x half> %5105, %5101 + %5107 = fadd fast <4 x half> %5106, %5104 + %5108 = fmul fast <4 x half> %5107, %5073 + %5109 = fadd fast <4 x half> %5108, %5072 + %5110 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5109, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %5111 = fmul fast <4 x half> %5110, splat (half 0xH4C80) + %5112 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5111) #4 + %5113 = fmul fast <4 x half> %5112, splat (half 0xH2B1C) + %5114 = fmul fast <4 x half> %5102, splat (half 0xH1419) + %5115 = fadd fast <4 x half> %5114, %5113 + %5116 = fadd fast <4 x half> %5102, splat (half 0xHBC00) + %5117 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5115, <4 x half> %5116) #4 + %5118 = fmul fast <4 x half> %5117, %5093 + %5119 = fmul fast <4 x half> %5096, splat (half 0xH3800) + %5120 = fadd fast <4 x half> %5118, %5119 + %5121 = fadd fast <4 x half> %5120, %5102 + %5122 = fmul fast <4 x half> %5102, %5103 + %5123 = fsub fast <4 x half> %5121, %5122 + %5124 = fmul fast <4 x half> %5123, %5123 + %5125 = fmul fast <4 x half> %5124, %5123 + %5126 = fmul fast <4 x half> %5125, splat (half 0xHB021) + %5127 = fmul fast <4 x half> %5124, splat (half 0xH2B2B) + %5128 = fadd fast <4 x half> %5127, %5123 + %5129 = fadd fast <4 x half> %5128, %5126 + %5130 = fmul fast <4 x half> %5129, %5073 + %5131 = fadd fast <4 x half> %5130, %5072 + %5132 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5131, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4000)) #4 + %5133 = fmul fast <4 x half> %5132, splat (half 0xH4CC0) + %5134 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5133) #4 + %5135 = fmul fast <4 x half> %5134, splat (half 0xH2ABD) + %5136 = fmul fast <4 x half> %5124, splat (half 0xH1419) + %5137 = fadd fast <4 x half> %5136, %5135 + %5138 = fadd fast <4 x half> %5124, splat (half 0xHBC00) + %5139 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5137, <4 x half> %5138) #4 + %5140 = fmul fast <4 x half> %5139, %5093 + %5141 = fmul fast <4 x half> %5096, splat (half 0xH3A00) + %5142 = fadd fast <4 x half> %5140, %5141 + %5143 = fadd fast <4 x half> %5142, %5124 + %5144 = fmul fast <4 x half> %5124, %5125 + %5145 = fsub fast <4 x half> %5143, %5144 + %5146 = fmul fast <2 x float> %5074, + %5147 = fadd fast <2 x float> %5146, %1 + %5148 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5147, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5149 = extractvalue { <4 x half>, i8 } %5148, 0 + %5150 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5149, <4 x half> splat (half 0xH31EC), <4 x half> %5145) #4 + br label %5354 + +5151: ; preds = %5151, %50 + %5152 = phi i32 [ 0, %50 ], [ %5210, %5151 ] + %5153 = phi <4 x half> [ zeroinitializer, %50 ], [ %5209, %5151 ] + %5154 = tail call fast float @air.convert.f.f32.u.i32(i32 %5152) #4 + %5155 = fadd fast float %5154, 5.000000e-01 + %5156 = insertelement <2 x float> undef, float %5155, i64 0 + %5157 = insertelement <2 x float> %5156, float 0.000000e+00, i64 1 + %5158 = fmul fast <2 x float> %5157, %52 + %5159 = fadd fast <2 x float> %5158, %1 + %5160 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5159, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5161 = extractvalue { <4 x half>, i8 } %5160, 0 + %5162 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5161, <4 x half> splat (half 0xH2DEC), <4 x half> %5153) #4 + %5163 = fneg fast float %5155 + %5164 = insertelement <2 x float> undef, float %5163, i64 0 + %5165 = insertelement <2 x float> %5164, float 0.000000e+00, i64 1 + %5166 = fmul fast <2 x float> %5165, %52 + %5167 = fadd fast <2 x float> %5166, %1 + %5168 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5167, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5169 = extractvalue { <4 x half>, i8 } %5168, 0 + %5170 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5169, <4 x half> splat (half 0xH2950), <4 x half> %5162) #4 + %5171 = insertelement <2 x float> , float %5155, i64 1 + %5172 = fmul fast <2 x float> %5171, %52 + %5173 = fadd fast <2 x float> %5172, %1 + %5174 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5173, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5175 = extractvalue { <4 x half>, i8 } %5174, 0 + %5176 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5175, <4 x half> splat (half 0xH2BF0), <4 x half> %5170) #4 + %5177 = insertelement <2 x float> , float %5163, i64 1 + %5178 = fmul fast <2 x float> %5177, %52 + %5179 = fadd fast <2 x float> %5178, %1 + %5180 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5179, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5181 = extractvalue { <4 x half>, i8 } %5180, 0 + %5182 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5181, <4 x half> splat (half 0xH2A24), <4 x half> %5176) #4 + %5183 = shufflevector <2 x float> %5156, <2 x float> poison, <2 x i32> zeroinitializer + %5184 = fmul fast <2 x float> %5183, %52 + %5185 = fadd fast <2 x float> %5184, %1 + %5186 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5185, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5187 = extractvalue { <4 x half>, i8 } %5186, 0 + %5188 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5187, <4 x half> splat (half 0xH29C3), <4 x half> %5182) #4 + %5189 = insertelement <2 x float> %5164, float %5155, i64 1 + %5190 = fmul fast <2 x float> %5189, %52 + %5191 = fadd fast <2 x float> %5190, %1 + %5192 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5191, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5193 = extractvalue { <4 x half>, i8 } %5192, 0 + %5194 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5193, <4 x half> splat (half 0xH27AE), <4 x half> %5188) #4 + %5195 = insertelement <2 x float> %5156, float %5163, i64 1 + %5196 = fmul fast <2 x float> %5195, %52 + %5197 = fadd fast <2 x float> %5196, %1 + %5198 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5197, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5199 = extractvalue { <4 x half>, i8 } %5198, 0 + %5200 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5199, <4 x half> splat (half 0xH2560), <4 x half> %5194) #4 + %5201 = shufflevector <2 x float> %5164, <2 x float> poison, <2 x i32> zeroinitializer + %5202 = fmul fast <2 x float> %5201, %52 + %5203 = fadd fast <2 x float> %5202, %1 + %5204 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5203, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5205 = extractvalue { <4 x half>, i8 } %5204, 0 + %5206 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5205, <4 x half> splat (half 0xH27AE), <4 x half> %5200) #4 + %5207 = fmul fast <4 x half> %5206, %56 + %5208 = fadd fast <4 x half> %5207, %60 + %5209 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5208, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %5210 = add nuw i32 %5152, 1 + %5211 = icmp eq i32 %5210, %37 + br i1 %5211, label %5071, label %5151, !llvm.loop !78 + +5212: ; preds = %5292, %13 + %5213 = phi <4 x half> [ %23, %13 ], [ %34, %5292 ] + %5214 = phi <4 x half> [ %21, %13 ], [ %30, %5292 ] + %5215 = phi <2 x float> [ %19, %13 ], [ %26, %5292 ] + %5216 = phi <4 x half> [ zeroinitializer, %13 ], [ %5350, %5292 ] + %5217 = fmul fast <4 x half> %5216, %5216 + %5218 = fmul fast <4 x half> %5217, %5216 + %5219 = fmul fast <4 x half> %5218, splat (half 0xHB042) + %5220 = fmul fast <4 x half> %5217, splat (half 0xH2AA8) + %5221 = fadd fast <4 x half> %5220, %5216 + %5222 = fadd fast <4 x half> %5221, %5219 + %5223 = fmul fast <4 x half> %5222, %5214 + %5224 = fadd fast <4 x half> %5223, %5213 + %5225 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5224, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %5226 = fmul fast <4 x half> %5225, splat (half 0xH4C40) + %5227 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5226) #4 + %5228 = fmul fast <4 x half> %5227, splat (half 0xH2B88) + %5229 = fmul fast <4 x half> %5217, splat (half 0xH1419) + %5230 = fadd fast <4 x half> %5228, %5229 + %5231 = fadd fast <4 x half> %5217, splat (half 0xHBC00) + %5232 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5230, <4 x half> %5231) #4 + %5233 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 3 + %5234 = load <4 x half>, ptr addrspace(2) %5233, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5235 = fmul fast <4 x half> %5234, %5232 + %5236 = getelementptr inbounds %struct.HfbParams, ptr addrspace(2) %4, i64 0, i32 4 + %5237 = load <4 x half>, ptr addrspace(2) %5236, align 8, !tbaa !46, !alias.scope !37, !noalias !40 + %5238 = fmul fast <4 x half> %5237, splat (half 0xH3400) + %5239 = fmul fast <4 x half> %5217, %5218 + %5240 = fsub fast <4 x half> %5217, %5239 + %5241 = fadd fast <4 x half> %5240, %5235 + %5242 = fadd fast <4 x half> %5241, %5238 + %5243 = fmul fast <4 x half> %5242, %5242 + %5244 = fmul fast <4 x half> %5243, %5242 + %5245 = fmul fast <4 x half> %5244, splat (half 0xHB05A) + %5246 = fmul fast <4 x half> %5243, splat (half 0xH2AE9) + %5247 = fadd fast <4 x half> %5246, %5242 + %5248 = fadd fast <4 x half> %5247, %5245 + %5249 = fmul fast <4 x half> %5248, %5214 + %5250 = fadd fast <4 x half> %5249, %5213 + %5251 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5250, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %5252 = fmul fast <4 x half> %5251, splat (half 0xH4C80) + %5253 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5252) #4 + %5254 = fmul fast <4 x half> %5253, splat (half 0xH2B1C) + %5255 = fmul fast <4 x half> %5243, splat (half 0xH1419) + %5256 = fadd fast <4 x half> %5255, %5254 + %5257 = fadd fast <4 x half> %5243, splat (half 0xHBC00) + %5258 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5256, <4 x half> %5257) #4 + %5259 = fmul fast <4 x half> %5258, %5234 + %5260 = fmul fast <4 x half> %5237, splat (half 0xH3800) + %5261 = fadd fast <4 x half> %5259, %5260 + %5262 = fadd fast <4 x half> %5261, %5243 + %5263 = fmul fast <4 x half> %5243, %5244 + %5264 = fsub fast <4 x half> %5262, %5263 + %5265 = fmul fast <4 x half> %5264, %5264 + %5266 = fmul fast <4 x half> %5265, %5264 + %5267 = fmul fast <4 x half> %5266, splat (half 0xHB073) + %5268 = fmul fast <4 x half> %5265, splat (half 0xH2B2B) + %5269 = fadd fast <4 x half> %5268, %5264 + %5270 = fadd fast <4 x half> %5269, %5267 + %5271 = fmul fast <4 x half> %5270, %5214 + %5272 = fadd fast <4 x half> %5271, %5213 + %5273 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5272, <4 x half> splat (half 0xHC000), <4 x half> splat (half 0xH4200)) #4 + %5274 = fmul fast <4 x half> %5273, splat (half 0xH4CC0) + %5275 = tail call fast <4 x half> @air.floor.v4f16(<4 x half> %5274) #4 + %5276 = fmul fast <4 x half> %5275, splat (half 0xH2ABD) + %5277 = fmul fast <4 x half> %5265, splat (half 0xH1419) + %5278 = fadd fast <4 x half> %5277, %5276 + %5279 = fadd fast <4 x half> %5265, splat (half 0xHBC00) + %5280 = tail call fast <4 x half> @air.fmax.v4f16(<4 x half> %5278, <4 x half> %5279) #4 + %5281 = fmul fast <4 x half> %5280, %5234 + %5282 = fmul fast <4 x half> %5237, splat (half 0xH3A00) + %5283 = fadd fast <4 x half> %5281, %5282 + %5284 = fadd fast <4 x half> %5283, %5265 + %5285 = fmul fast <4 x half> %5265, %5266 + %5286 = fsub fast <4 x half> %5284, %5285 + %5287 = fmul fast <2 x float> %5215, + %5288 = fadd fast <2 x float> %5287, %1 + %5289 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5288, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5290 = extractvalue { <4 x half>, i8 } %5289, 0 + %5291 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5290, <4 x half> splat (half 0xH31FC), <4 x half> %5286) #4 + br label %5354 + +5292: ; preds = %5292, %24 + %5293 = phi i32 [ 0, %24 ], [ %5351, %5292 ] + %5294 = phi <4 x half> [ zeroinitializer, %24 ], [ %5350, %5292 ] + %5295 = tail call fast float @air.convert.f.f32.u.i32(i32 %5293) #4 + %5296 = fadd fast float %5295, 6.250000e-01 + %5297 = insertelement <2 x float> undef, float %5296, i64 0 + %5298 = insertelement <2 x float> %5297, float 0.000000e+00, i64 1 + %5299 = fmul fast <2 x float> %5298, %26 + %5300 = fadd fast <2 x float> %5299, %1 + %5301 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5300, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5302 = extractvalue { <4 x half>, i8 } %5301, 0 + %5303 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5302, <4 x half> splat (half 0xH2DFC), <4 x half> %5294) #4 + %5304 = fneg fast float %5296 + %5305 = insertelement <2 x float> undef, float %5304, i64 0 + %5306 = insertelement <2 x float> %5305, float 0.000000e+00, i64 1 + %5307 = fmul fast <2 x float> %5306, %26 + %5308 = fadd fast <2 x float> %5307, %1 + %5309 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5308, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5310 = extractvalue { <4 x half>, i8 } %5309, 0 + %5311 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5310, <4 x half> splat (half 0xH2939), <4 x half> %5303) #4 + %5312 = insertelement <2 x float> , float %5296, i64 1 + %5313 = fmul fast <2 x float> %5312, %26 + %5314 = fadd fast <2 x float> %5313, %1 + %5315 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5314, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5316 = extractvalue { <4 x half>, i8 } %5315, 0 + %5317 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5316, <4 x half> splat (half 0xH2C18), <4 x half> %5311) #4 + %5318 = insertelement <2 x float> , float %5304, i64 1 + %5319 = fmul fast <2 x float> %5318, %26 + %5320 = fadd fast <2 x float> %5319, %1 + %5321 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5320, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5322 = extractvalue { <4 x half>, i8 } %5321, 0 + %5323 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5322, <4 x half> splat (half 0xH2A04), <4 x half> %5317) #4 + %5324 = shufflevector <2 x float> %5297, <2 x float> poison, <2 x i32> zeroinitializer + %5325 = fmul fast <2 x float> %5324, %26 + %5326 = fadd fast <2 x float> %5325, %1 + %5327 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5326, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5328 = extractvalue { <4 x half>, i8 } %5327, 0 + %5329 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5328, <4 x half> splat (half 0xH29D3), <4 x half> %5323) #4 + %5330 = insertelement <2 x float> %5305, float %5296, i64 1 + %5331 = fmul fast <2 x float> %5330, %26 + %5332 = fadd fast <2 x float> %5331, %1 + %5333 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5332, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5334 = extractvalue { <4 x half>, i8 } %5333, 0 + %5335 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5334, <4 x half> splat (half 0xH27AE), <4 x half> %5329) #4 + %5336 = insertelement <2 x float> %5297, float %5304, i64 1 + %5337 = fmul fast <2 x float> %5336, %26 + %5338 = fadd fast <2 x float> %5337, %1 + %5339 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5338, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5340 = extractvalue { <4 x half>, i8 } %5339, 0 + %5341 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5340, <4 x half> splat (half 0xH254C), <4 x half> %5335) #4 + %5342 = shufflevector <2 x float> %5305, <2 x float> poison, <2 x i32> zeroinitializer + %5343 = fmul fast <2 x float> %5342, %26 + %5344 = fadd fast <2 x float> %5343, %1 + %5345 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none) %2, ptr addrspace(2) readonly captures(none) %3, <2 x float> %5344, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #5, !alias.scope !40, !noalias !37 + %5346 = extractvalue { <4 x half>, i8 } %5345, 0 + %5347 = tail call fast <4 x half> @air.fma.v4f16(<4 x half> %5346, <4 x half> splat (half 0xH285A), <4 x half> %5341) #4 + %5348 = fmul fast <4 x half> %5347, %30 + %5349 = fadd fast <4 x half> %5348, %34 + %5350 = tail call fast <4 x half> @air.clamp.v4f16(<4 x half> %5349, <4 x half> zeroinitializer, <4 x half> splat (half 0xH4400)) #4 + %5351 = add nuw i32 %5293, 1 + %5352 = icmp eq i32 %5351, %11 + br i1 %5352, label %5212, label %5292, !llvm.loop !79 + +5353: ; preds = %5 + unreachable + +5354: ; preds = %5212, %5071, %4930, %4789, %4648, %4507, %4366, %4225, %4084, %3943, %3802, %3661, %3520, %3379, %3238, %3097, %2956, %2815, %2674, %2533, %2392, %2251, %2110, %1969, %1828, %1687, %1546, %1405, %1264, %1123, %982, %841 + %5355 = phi <4 x half> [ %5291, %5212 ], [ %5150, %5071 ], [ %5009, %4930 ], [ %4868, %4789 ], [ %4727, %4648 ], [ %4586, %4507 ], [ %4445, %4366 ], [ %4304, %4225 ], [ %4163, %4084 ], [ %4022, %3943 ], [ %3881, %3802 ], [ %3740, %3661 ], [ %3599, %3520 ], [ %3458, %3379 ], [ %3317, %3238 ], [ %3176, %3097 ], [ %3035, %2956 ], [ %2894, %2815 ], [ %2753, %2674 ], [ %2612, %2533 ], [ %2471, %2392 ], [ %2330, %2251 ], [ %2189, %2110 ], [ %2048, %1969 ], [ %1907, %1828 ], [ %1766, %1687 ], [ %1625, %1546 ], [ %1484, %1405 ], [ %1343, %1264 ], [ %1202, %1123 ], [ %1061, %982 ], [ %920, %841 ] + ret <4 x half> %5355 +} + +; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) +declare float @air.convert.f.f32.u.i32(i32) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) +declare <4 x half> @air.fma.v4f16(<4 x half>, <4 x half>, <4 x half>) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) +declare <4 x half> @air.clamp.v4f16(<4 x half>, <4 x half>, <4 x half>) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) +declare <4 x half> @air.floor.v4f16(<4 x half>) local_unnamed_addr #2 + +; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) +declare <4 x half> @air.fmax.v4f16(<4 x half>, <4 x half>) local_unnamed_addr #2 + +; Function Attrs: convergent mustprogress nofree nounwind willreturn memory(argmem: read) +declare { <4 x half>, i8 } @air.sample_texture_2d.v4f16(ptr addrspace(1) readonly captures(none), ptr addrspace(2) readonly captures(none), <2 x float>, i1, <2 x i32>, i1, float, float, i32) local_unnamed_addr #3 + +attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" } +attributes #1 = { convergent mustprogress nofree nounwind willreturn memory(read) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" } +attributes #2 = { mustprogress nofree nosync nounwind willreturn memory(none) } +attributes #3 = { convergent mustprogress nofree nounwind willreturn memory(argmem: read) } +attributes #4 = { nounwind willreturn memory(none) } +attributes #5 = { convergent nounwind willreturn memory(argmem: read) } + +!llvm.module.flags = !{!0, !1, !2, !3, !4, !5, !6, !7, !8} +!air.vertex = !{!9} +!air.fragment = !{!15} +!air.compile_options = !{!25, !26, !27} +!llvm.ident = !{!28} +!air.version = !{!29} +!air.language_version = !{!30} + +!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 27, i32 0]} +!1 = !{i32 1, !"wchar_size", i32 4} +!2 = !{i32 7, !"frame-pointer", i32 2} +!3 = !{i32 7, !"air.max_device_buffers", i32 31} +!4 = !{i32 7, !"air.max_constant_buffers", i32 31} +!5 = !{i32 7, !"air.max_threadgroup_buffers", i32 31} +!6 = !{i32 7, !"air.max_textures", i32 128} +!7 = !{i32 7, !"air.max_read_write_textures", i32 8} +!8 = !{i32 7, !"air.max_samplers", i32 16} +!9 = !{ptr @hfb_quad, !10, !13} +!10 = !{!11, !12} +!11 = !{!"air.position", !"air.arg_type_name", !"float4", !"air.arg_name", !"position"} +!12 = !{!"air.vertex_output", !"generated(2uvDv2_f)", !"air.arg_type_name", !"float2", !"air.arg_name", !"uv"} +!13 = !{!14} +!14 = !{i32 0, !"air.vertex_id", !"air.arg_type_name", !"uint", !"air.arg_name", !"vid"} +!15 = !{ptr @hfb_filter_bank, !16, !18} +!16 = !{!17} +!17 = !{!"air.render_target", i32 0, i32 0, !"air.arg_type_name", !"half4"} +!18 = !{!19, !20, !21, !22, !23} +!19 = !{i32 0, !"air.position", !"air.center", !"air.no_perspective", !"air.arg_type_name", !"float4", !"air.arg_name", !"position", !"air.arg_unused"} +!20 = !{i32 1, !"air.fragment_input", !"generated(2uvDv2_f)", !"air.center", !"air.perspective", !"air.arg_type_name", !"float2", !"air.arg_name", !"uv"} +!21 = !{i32 2, !"air.texture", !"air.location_index", i32 0, i32 1, !"air.sample", !"air.arg_type_name", !"texture2d", !"air.arg_name", !"src"} +!22 = !{i32 3, !"air.sampler", !"air.location_index", i32 0, i32 1, !"air.arg_type_name", !"sampler", !"air.arg_name", !"smp"} +!23 = !{i32 4, !"air.buffer", !"air.buffer_size", i32 40, !"air.location_index", i32 0, i32 1, !"air.read", !"air.address_space", i32 2, !"air.struct_type_info", !24, !"air.arg_type_size", i32 40, !"air.arg_type_align_size", i32 8, !"air.arg_type_name", !"HfbParams", !"air.arg_name", !"p"} +!24 = !{i32 0, i32 4, i32 0, !"uint", !"mode", i32 4, i32 4, i32 0, !"uint", !"taps", i32 8, i32 8, i32 0, !"float2", !"texel", i32 16, i32 8, i32 0, !"half4", !"tint", i32 24, i32 8, i32 0, !"half4", !"lift", i32 32, i32 2, i32 0, !"half", !"gain", i32 34, i32 2, i32 0, !"half", !"bias"} +!25 = !{!"air.compile.denorms_disable"} +!26 = !{!"air.compile.fast_math_enable"} +!27 = !{!"air.compile.framebuffer_fetch_enable"} +!28 = !{!"Apple metal version 32023.921 (metalfe-32023.921.6)"} +!29 = !{i32 2, i32 8, i32 0} +!30 = !{!"Metal", i32 4, i32 0, i32 0} +!31 = !{!32, !33, i64 0} +!32 = !{!"_ZTS9HfbParams", !33, i64 0, !33, i64 4, !34, i64 8, !34, i64 16, !34, i64 24, !36, i64 32, !36, i64 34} +!33 = !{!"int", !34, i64 0} +!34 = !{!"omnipotent char", !35, i64 0} +!35 = !{!"Simple C++ TBAA"} +!36 = !{!"half", !34, i64 0} +!37 = !{!38} +!38 = distinct !{!38, !39, !"air-alias-scope-arg(4)"} +!39 = distinct !{!39, !"air-alias-scopes(hfb_filter_bank)"} +!40 = !{!41, !42} +!41 = distinct !{!41, !39, !"air-alias-scope-textures"} +!42 = distinct !{!42, !39, !"air-alias-scope-samplers"} +!43 = !{!32, !33, i64 4} +!44 = !{!32, !36, i64 32} +!45 = !{!32, !36, i64 34} +!46 = !{!34, !34, i64 0} +!47 = distinct !{!47, !48} +!48 = !{!"llvm.loop.mustprogress"} +!49 = distinct !{!49, !48} +!50 = distinct !{!50, !48} +!51 = distinct !{!51, !48} +!52 = distinct !{!52, !48} +!53 = distinct !{!53, !48} +!54 = distinct !{!54, !48} +!55 = distinct !{!55, !48} +!56 = distinct !{!56, !48} +!57 = distinct !{!57, !48} +!58 = distinct !{!58, !48} +!59 = distinct !{!59, !48} +!60 = distinct !{!60, !48} +!61 = distinct !{!61, !48} +!62 = distinct !{!62, !48} +!63 = distinct !{!63, !48} +!64 = distinct !{!64, !48} +!65 = distinct !{!65, !48} +!66 = distinct !{!66, !48} +!67 = distinct !{!67, !48} +!68 = distinct !{!68, !48} +!69 = distinct !{!69, !48} +!70 = distinct !{!70, !48} +!71 = distinct !{!71, !48} +!72 = distinct !{!72, !48} +!73 = distinct !{!73, !48} +!74 = distinct !{!74, !48} +!75 = distinct !{!75, !48} +!76 = distinct !{!76, !48} +!77 = distinct !{!77, !48} +!78 = distinct !{!78, !48} +!79 = distinct !{!79, !48} diff --git a/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.metal b/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.metal new file mode 100644 index 000000000..b65cd9510 --- /dev/null +++ b/crates/metal2vulkan-validation/fixtures/public/engine/hfb_filter_bank.metal @@ -0,0 +1,118 @@ +// Owned fixture: a large `half` fragment function, for the size of its translation and the time a +// device's compiler takes to make its fragment library. A pass mode (`HfbParams::mode`) picks one +// of 32 filters in a switch; each filter loops over its taps, eight samples of a texture through a +// runtime sampler an iteration, accumulated by `half` fused multiply-adds, and then runs chains of +// `half` arithmetic (products kept apart, sums, differences, clamps, floors, maxima). Every filter +// differs in its constants, so no compiler merges two. `hfb_quad` draws the full-target triangle +// the fragment function runs over. +// +// Written for this repository; no third-party source. +#include +using namespace metal; + +struct HfbIn { + float4 position [[position]]; + float2 uv; +}; + +struct HfbParams { + uint mode; + uint taps; + float2 texel; + half4 tint; + half4 lift; + half gain; + half bias; +}; + +// The triangle over the whole target, its texture coordinates over the unit square. +vertex HfbIn hfb_quad(uint vid [[vertex_id]]) { + float2 corner = float2(vid == 1u ? 2.0f : 0.0f, vid == 2u ? 2.0f : 0.0f); + HfbIn out; + out.position = float4(corner * 2.0f - 1.0f, 0.0f, 1.0f); + out.uv = corner; + return out; +} + +// One tap: the sample at `uv + o * texel` weighted by `w` into `acc`. +#define HFB_TAP(acc, o, w) acc = fma(src.sample(smp, uv + (o) * p.texel), half4(w), acc) + +// A chain of `half` arithmetic on `v`: the product `t0` is used twice, so it stays its own +// rounding; `t1 * x + y` fuses. +#define HFB_STAGE(v, k, s) \ + { \ + half4 t0 = v * v; \ + half4 t1 = t0 * v; \ + v = v - t1 * half(0.1h + half(k & 3) * 0.01h + half(s) * 0.003h) \ + + t0 * half(0.05h + half(s) * 0.002h); \ + v = clamp(v * p.gain + p.bias, half4(-2.0h), half4(2.0h + half(k & 1))); \ + v = floor(v * half(16 + s)) * half(1.0h / half(16 + s)) + t0 * 0.001h; \ + v = max(v, t0 - half4(1.0h)) * p.tint + p.lift * half(0.25h * half(s)); \ + v = v - t0 * t1 + t0; \ + } + +// Filter `k`: its loop of taps, then three chains and one more sample. +#define HFB_CASE(k) \ + case k: { \ + half4 acc = half4(0.0h); \ + for (uint i = 0; i < p.taps; i++) { \ + float d = float(i) + 0.5f + 0.125f * float(k % 5); \ + HFB_TAP(acc, float2(d, 0.0f), 0.0625h + half(k) * 0.001h); \ + HFB_TAP(acc, float2(-d, 0.0f), 0.0625h - half(k) * 0.0007h); \ + HFB_TAP(acc, float2(0.0f, d), 0.05h + half(k & 7) * 0.002h); \ + HFB_TAP(acc, float2(0.0f, -d), 0.05h - half(k & 3) * 0.001h); \ + HFB_TAP(acc, float2(d, d), 0.03h + half(k) * 0.0005h); \ + HFB_TAP(acc, float2(-d, d), 0.03h); \ + HFB_TAP(acc, float2(d, -d), 0.03h - half(k) * 0.0003h); \ + HFB_TAP(acc, float2(-d, -d), 0.03h + half(k & 1) * 0.004h); \ + acc = clamp(acc * p.gain + p.bias, half4(0.0h), half4(4.0h)); \ + } \ + HFB_STAGE(acc, k, 1) \ + HFB_STAGE(acc, k, 2) \ + HFB_STAGE(acc, k, 3) \ + HFB_TAP(acc, float2(0.5f * float(k), 0.25f), 0.125h + half(k) * 0.002h); \ + c = acc; \ + } break; + +fragment half4 hfb_filter_bank(HfbIn in [[stage_in]], + texture2d src [[texture(0)]], + sampler smp [[sampler(0)]], + constant HfbParams &p [[buffer(0)]]) { + float2 uv = in.uv; + half4 c = half4(0.0h); + switch (p.mode & 31u) { + HFB_CASE(0) + HFB_CASE(1) + HFB_CASE(2) + HFB_CASE(3) + HFB_CASE(4) + HFB_CASE(5) + HFB_CASE(6) + HFB_CASE(7) + HFB_CASE(8) + HFB_CASE(9) + HFB_CASE(10) + HFB_CASE(11) + HFB_CASE(12) + HFB_CASE(13) + HFB_CASE(14) + HFB_CASE(15) + HFB_CASE(16) + HFB_CASE(17) + HFB_CASE(18) + HFB_CASE(19) + HFB_CASE(20) + HFB_CASE(21) + HFB_CASE(22) + HFB_CASE(23) + HFB_CASE(24) + HFB_CASE(25) + HFB_CASE(26) + HFB_CASE(27) + HFB_CASE(28) + HFB_CASE(29) + HFB_CASE(30) + HFB_CASE(31) + } + return c; +} diff --git a/crates/metal2vulkan-validation/src/candidate/platform/enables.rs b/crates/metal2vulkan-validation/src/candidate/platform/enables.rs index 87f83e483..07a7dadbf 100644 --- a/crates/metal2vulkan-validation/src/candidate/platform/enables.rs +++ b/crates/metal2vulkan-validation/src/candidate/platform/enables.rs @@ -1102,6 +1102,7 @@ members! { RasterOrder.raster_order.rasterization_order_stencil_attachment_access => Some(F::RasterizationOrderStencilAttachmentAccess); Maintenance8.maintenance8.maintenance8 => Some(F::Maintenance8); + ShaderFma.shader_fma.shader_fma_float16 => Some(F::ShaderFmaFloat16); ShaderFma.shader_fma.shader_fma_float32 => Some(F::ShaderFmaFloat32); FloatControls2.float_controls2.shader_float_controls2 => None; Maintenance5.maintenance5.maintenance5 => Some(F::Maintenance5); diff --git a/crates/metal2vulkan-validation/src/candidate/platform/enables/opened_chains.txt b/crates/metal2vulkan-validation/src/candidate/platform/enables/opened_chains.txt index 6df2f06bb..76cdc753a 100644 --- a/crates/metal2vulkan-validation/src/candidate/platform/enables/opened_chains.txt +++ b/crates/metal2vulkan-validation/src/candidate/platform/enables/opened_chains.txt @@ -1,3 +1,15 @@ +amd-780m-radv device Stated 0cc531dd635d7d82e73477489d07ce6ba405d531fa5683c335770b23b77edd67 members=142 extensions=47 +amd-780m-radv device RobustnessOff f33782de62b710a0814dcb662ebdfb6f7de6706f24985ff41e1341d06f532f4d members=138 extensions=47 +amd-780m-radv restricted Stated 1b5f9f1fc3798e0010ad6acb6b78e91a8776a453fbd5c2cab55734b5112f74f4 members=141 extensions=29 +amd-780m-radv restricted RobustnessOff 07e19d701860f12bce0b1e49c8c8e29191c2675038a795f2da8b226eebc2e514 members=137 extensions=29 +amd-rdna2-apu-radv device Stated b76f37f55200d1fced399f18d8fe0475891f9b6cf2226e06724cd8b42d1dcc76 members=143 extensions=47 +amd-rdna2-apu-radv device RobustnessOff e2e16838fd44bdb782ce48775d8355f53c9aed2b84f9ce0718bfd134e62c7c4c members=139 extensions=47 +amd-rdna2-apu-radv restricted Stated 13caf55aab9e1c9666affed572011479938670505a4a2f365d9631d0052ec4d0 members=142 extensions=29 +amd-rdna2-apu-radv restricted RobustnessOff 2b63ab2428b460150ce4118b9071bf2b5c67488071187011750cfbb1acef10a0 members=138 extensions=29 +amd-rdna3-radv device Stated 0cc531dd635d7d82e73477489d07ce6ba405d531fa5683c335770b23b77edd67 members=142 extensions=47 +amd-rdna3-radv device RobustnessOff f33782de62b710a0814dcb662ebdfb6f7de6706f24985ff41e1341d06f532f4d members=138 extensions=47 +amd-rdna3-radv restricted Stated 1b5f9f1fc3798e0010ad6acb6b78e91a8776a453fbd5c2cab55734b5112f74f4 members=141 extensions=29 +amd-rdna3-radv restricted RobustnessOff 07e19d701860f12bce0b1e49c8c8e29191c2675038a795f2da8b226eebc2e514 members=137 extensions=29 gate-lavapipe device Stated a1c8cb8a8f52f3b551a37fc379805f3efa45b9e9249a016eb0a304c1938c0769 members=139 extensions=44 gate-lavapipe device RobustnessOff 7e77da3e144cb073d55ba58c930ad035c54f1a8776f8c78b30d73144f1c9b906 members=135 extensions=44 gate-lavapipe restricted Stated 259dd14f4c73f675744f93724edeee7daf175f02da3b05611ff848b750c7c683 members=138 extensions=26 @@ -6,6 +18,22 @@ gate-lavapipe-x86_64 device Stated a1c8cb8a8f52f3b551a37fc379805f3efa45b9e9249a0 gate-lavapipe-x86_64 device RobustnessOff 7e77da3e144cb073d55ba58c930ad035c54f1a8776f8c78b30d73144f1c9b906 members=135 extensions=44 gate-lavapipe-x86_64 restricted Stated 259dd14f4c73f675744f93724edeee7daf175f02da3b05611ff848b750c7c683 members=138 extensions=26 gate-lavapipe-x86_64 restricted RobustnessOff 71ad847017a2e5b5f9611f81943bc4ddeff7067b2ac04252fec17ba5ba448809 members=134 extensions=26 +intel-arl-anv device Stated cb9e4b907a81bd6dc754581a08efbab5a667af40f782758914fb09bbaac38577 members=141 extensions=45 +intel-arl-anv device RobustnessOff 97e150de6bb0cc7652dcdf6809230b487429f6bfbd4a30badd106e00ebfdb487 members=137 extensions=45 +intel-arl-anv restricted Stated 22a946c2c1a345e47a1c2425f714ee5e49c59562cefd2a7570380753e8ee5abc members=140 extensions=27 +intel-arl-anv restricted RobustnessOff 8c79afd1fd77f53e199c0f11d7afd81b25d793e280c53f1450ad239b8a575309 members=136 extensions=27 +intel-irisxe-anv device Stated e5c10329557a57ed0a95bfa3d127331fe8612a79291eb7046407f49655007174 members=128 extensions=41 +intel-irisxe-anv device RobustnessOff 1320d61dd3886a50881d42fd799ab9cbb35849d7b10db21bf514e5671ce641de members=124 extensions=41 +intel-irisxe-anv restricted Stated e6a13df8106972a9adb8dc93f6be5ee8ce0871842614a0bfa8a49d34c69184fb members=127 extensions=23 +intel-irisxe-anv restricted RobustnessOff 9ac5e8302022bcc1a32e81e0239936cb54b9f662cd3e141ebe2873e004ed9c5e members=123 extensions=23 +intel-irisxe-rplp-anv device Stated e5c10329557a57ed0a95bfa3d127331fe8612a79291eb7046407f49655007174 members=128 extensions=41 +intel-irisxe-rplp-anv device RobustnessOff 1320d61dd3886a50881d42fd799ab9cbb35849d7b10db21bf514e5671ce641de members=124 extensions=41 +intel-irisxe-rplp-anv restricted Stated e6a13df8106972a9adb8dc93f6be5ee8ce0871842614a0bfa8a49d34c69184fb members=127 extensions=23 +intel-irisxe-rplp-anv restricted RobustnessOff 9ac5e8302022bcc1a32e81e0239936cb54b9f662cd3e141ebe2873e004ed9c5e members=123 extensions=23 +intel-uhd770-rpls-anv device Stated e5c10329557a57ed0a95bfa3d127331fe8612a79291eb7046407f49655007174 members=128 extensions=41 +intel-uhd770-rpls-anv device RobustnessOff 1320d61dd3886a50881d42fd799ab9cbb35849d7b10db21bf514e5671ce641de members=124 extensions=41 +intel-uhd770-rpls-anv restricted Stated e6a13df8106972a9adb8dc93f6be5ee8ce0871842614a0bfa8a49d34c69184fb members=127 extensions=23 +intel-uhd770-rpls-anv restricted RobustnessOff 9ac5e8302022bcc1a32e81e0239936cb54b9f662cd3e141ebe2873e004ed9c5e members=123 extensions=23 lavapipe device Stated a1c8cb8a8f52f3b551a37fc379805f3efa45b9e9249a016eb0a304c1938c0769 members=139 extensions=44 lavapipe device RobustnessOff 7e77da3e144cb073d55ba58c930ad035c54f1a8776f8c78b30d73144f1c9b906 members=135 extensions=44 lavapipe restricted Stated 259dd14f4c73f675744f93724edeee7daf175f02da3b05611ff848b750c7c683 members=138 extensions=26 @@ -14,18 +42,26 @@ lunarg-desktop-baseline-2023 device Stated 874afb3cbcd8a813f7d1dffaf2b3108c612fa lunarg-desktop-baseline-2023 device RobustnessOff 3d72e0d627ce569a8a6750f24d89b3d1afc4b2c175c30ddb66428a92fdc37584 members=53 extensions=5 lunarg-desktop-baseline-2023 restricted Stated 874afb3cbcd8a813f7d1dffaf2b3108c612fa8910dee201427eeec23b291383a members=56 extensions=5 lunarg-desktop-baseline-2023 restricted RobustnessOff 3d72e0d627ce569a8a6750f24d89b3d1afc4b2c175c30ddb66428a92fdc37584 members=53 extensions=5 +moltenvk-m3 device Stated 5472a8522c4d442b37c18839e5e2bcba4bfdf3c33f371a80773473c9462fbdec members=113 extensions=34 +moltenvk-m3 device RobustnessOff 503ff67e7aac3df8846d123d8284d0d6341092fb35813dc19a8f4dff8b3dae70 members=110 extensions=34 +moltenvk-m3 restricted Stated 2bc2afb190da2862d60f3b2704519d23f731955b139577cd4f7f3c664361f6c6 members=111 extensions=15 +moltenvk-m3 restricted RobustnessOff 0158036adc6c623fddbd24085ada8feb6d4f2e1257d66aed0527e99a1bc82753 members=108 extensions=15 +moltenvk-m4 device Stated 5472a8522c4d442b37c18839e5e2bcba4bfdf3c33f371a80773473c9462fbdec members=113 extensions=34 +moltenvk-m4 device RobustnessOff 503ff67e7aac3df8846d123d8284d0d6341092fb35813dc19a8f4dff8b3dae70 members=110 extensions=34 +moltenvk-m4 restricted Stated 2bc2afb190da2862d60f3b2704519d23f731955b139577cd4f7f3c664361f6c6 members=111 extensions=15 +moltenvk-m4 restricted RobustnessOff 0158036adc6c623fddbd24085ada8feb6d4f2e1257d66aed0527e99a1bc82753 members=108 extensions=15 nvidia-pascal-linux device Stated 435f6082527ee3bc09c5445c399dde4f5760ebdbfb86d993506f8d0e5ea0654e members=128 extensions=37 nvidia-pascal-linux device RobustnessOff 77f450c5aad37db19d52ee6df004e767d1a0a1341708ecd5b93804c68468b3d2 members=124 extensions=37 nvidia-pascal-linux restricted Stated 649cabe33b51c8b1345c1144f6ba1232aba48a021381b11b3131fef26c0c92b5 members=127 extensions=19 nvidia-pascal-linux restricted RobustnessOff 13271c88375fe5daa18c52337b3b46584f40e81c5737f5109403345d6bcad309 members=123 extensions=19 -nvidia-rtx50-linux device Stated 2783205fec5c67405a65e21fcefabd9ead9b23d0be560d49ee22ab7c1458db36 members=139 extensions=44 -nvidia-rtx50-linux device RobustnessOff a77a5aa2fc03ec1de7c3a985b7f9e2d9695b7cb2191021a38fca9ededa8d1a59 members=135 extensions=44 -nvidia-rtx50-linux restricted Stated d8e7c3aa62da331a03997a65a418b45be5b7e8d1e41049c8a3e7558588d6938d members=138 extensions=27 -nvidia-rtx50-linux restricted RobustnessOff 6ed2d128b2eefd0cdad09c2432fa943d986e27a3cbb26ef1102977297eb38e2b members=134 extensions=27 -nvidia-rtx5080-laptop device Stated 2783205fec5c67405a65e21fcefabd9ead9b23d0be560d49ee22ab7c1458db36 members=139 extensions=44 -nvidia-rtx5080-laptop device RobustnessOff a77a5aa2fc03ec1de7c3a985b7f9e2d9695b7cb2191021a38fca9ededa8d1a59 members=135 extensions=44 -nvidia-rtx5080-laptop restricted Stated d8e7c3aa62da331a03997a65a418b45be5b7e8d1e41049c8a3e7558588d6938d members=138 extensions=27 -nvidia-rtx5080-laptop restricted RobustnessOff 6ed2d128b2eefd0cdad09c2432fa943d986e27a3cbb26ef1102977297eb38e2b members=134 extensions=27 +nvidia-rtx50-linux device Stated a5ac45edd9b82e1a2abb93f299480e4e1facbfa5aab8a5a1660a61a11449351d members=140 extensions=45 +nvidia-rtx50-linux device RobustnessOff b35ed123271a2bfb2f52047b610f3c2239703b1ba38fb5ea590ace146943a3b4 members=136 extensions=45 +nvidia-rtx50-linux restricted Stated da49a0b31d535cc4e3ee98796915342db1f1484b6538f7fad8c0ff5e059eba29 members=139 extensions=27 +nvidia-rtx50-linux restricted RobustnessOff 59b0405779a2fd38ca3fb3c93bc8784ebc8395fa3b04dbb1bf2dd7aba86d7ecb members=135 extensions=27 +nvidia-rtx5080-laptop device Stated a5ac45edd9b82e1a2abb93f299480e4e1facbfa5aab8a5a1660a61a11449351d members=140 extensions=45 +nvidia-rtx5080-laptop device RobustnessOff b35ed123271a2bfb2f52047b610f3c2239703b1ba38fb5ea590ace146943a3b4 members=136 extensions=45 +nvidia-rtx5080-laptop restricted Stated da49a0b31d535cc4e3ee98796915342db1f1484b6538f7fad8c0ff5e059eba29 members=139 extensions=27 +nvidia-rtx5080-laptop restricted RobustnessOff 59b0405779a2fd38ca3fb3c93bc8784ebc8395fa3b04dbb1bf2dd7aba86d7ecb members=135 extensions=27 roadmap-2022 device Stated ea14a46708f56d5478ab06ec0852c15420809b3e7d942a028f6d6289a46e12fd members=42 extensions=1 roadmap-2022 device RobustnessOff bea5bd603a66d567ab6f940ab92a878cf3d449d44d4ca8e300ef41956271b1cb members=41 extensions=1 roadmap-2022 restricted Stated dc3f83af671640f6f93547f5e595a81efd20e15be8b01b66847fddba2db1332c members=51 extensions=1 diff --git a/crates/metal2vulkan/src/ash_interop/query.rs b/crates/metal2vulkan/src/ash_interop/query.rs index 2182b266b..3748f0abc 100644 --- a/crates/metal2vulkan/src/ash_interop/query.rs +++ b/crates/metal2vulkan/src/ash_interop/query.rs @@ -771,6 +771,7 @@ feature_sources! { c, x; ImageView2DOn3DImage => on(c.portability_subset.image_view2_d_on3_d_image); SeparateStencilMaskRef => on(c.portability_subset.separate_stencil_mask_ref); ImageViewFormatSwizzle => on(c.portability_subset.image_view_format_swizzle); + ShaderFmaFloat16 => on(c.shader_fma.shader_fma_float16); ShaderFmaFloat32 => on(c.shader_fma.shader_fma_float32); Maintenance5 => on(c.maintenance5.maintenance5); TaskShader => on(c.mesh_shader.task_shader); diff --git a/crates/metal2vulkan/src/ash_interop/tests.rs b/crates/metal2vulkan/src/ash_interop/tests.rs index 24fb2a872..f8250dcd7 100644 --- a/crates/metal2vulkan/src/ash_interop/tests.rs +++ b/crates/metal2vulkan/src/ash_interop/tests.rs @@ -572,6 +572,7 @@ fn unexposed_structures_are_never_chained() { VkFeature::ExtendedDynamicState2, VkFeature::ShaderSubgroupRotate, VkFeature::Maintenance8, + VkFeature::ShaderFmaFloat16, VkFeature::ShaderFmaFloat32, VkFeature::Maintenance5, VkFeature::DepthBiasControl, diff --git a/crates/metal2vulkan/src/cache/codec.rs b/crates/metal2vulkan/src/cache/codec.rs index d372a4496..6657137b7 100644 --- a/crates/metal2vulkan/src/cache/codec.rs +++ b/crates/metal2vulkan/src/cache/codec.rs @@ -926,6 +926,7 @@ codec_enum! { ShaderQuadControl, ShaderTessellationAndGeometryPointSize, MultiviewGeometryShader, AttachmentFeedbackLoopLayout, ExtendedDynamicState3ColorWriteMask, + ShaderFmaFloat16, } VkExtension { ExtRobustness2, ExtImageRobustness, ExtShaderAtomicFloat, ExtShaderAtomicFloat2, diff --git a/crates/metal2vulkan/src/device/derive.rs b/crates/metal2vulkan/src/device/derive.rs index 8be188d8b..1d7de3cfc 100644 --- a/crates/metal2vulkan/src/device/derive.rs +++ b/crates/metal2vulkan/src/device/derive.rs @@ -255,6 +255,7 @@ fn derive_fields( fragment_stores_and_atomics: has(VkFeature::FragmentStoresAndAtomics), zero_initialize_workgroup_memory: has(VkFeature::ShaderZeroInitializeWorkgroupMemory), fma32: has(VkFeature::ShaderFmaFloat32), + fma16: has(VkFeature::ShaderFmaFloat16), }; let images = ImageCaps { storage_read_without_format: has(VkFeature::ShaderStorageImageReadWithoutFormat), diff --git a/crates/metal2vulkan/src/device/enables.rs b/crates/metal2vulkan/src/device/enables.rs index 1da6a25bb..a3129deed 100644 --- a/crates/metal2vulkan/src/device/enables.rs +++ b/crates/metal2vulkan/src/device/enables.rs @@ -286,7 +286,7 @@ exposures! { Extension(&[E::KhrShaderSubgroupUniformControlFlow]) => [ShaderSubgroupUniformControlFlow]; Extension(DERIVATIVES) => [ComputeDerivativeGroupQuads, ComputeDerivativeGroupLinear]; Extension(&[E::KhrMaintenance8]) => [Maintenance8]; - Extension(&[E::KhrShaderFma]) => [ShaderFmaFloat32]; + Extension(&[E::KhrShaderFma]) => [ShaderFmaFloat16, ShaderFmaFloat32]; Extension(BORDER_SWIZZLE) => [BorderColorSwizzle, BorderColorSwizzleFromImage]; Extension(&[E::ExtDepthBiasControl]) => [DepthBiasControl, FloatRepresentation, DepthBiasExact]; Extension(&[E::ExtDepthClipEnable]) => [DepthClipEnable]; diff --git a/crates/metal2vulkan/src/device/khronos.rs b/crates/metal2vulkan/src/device/khronos.rs index 639392f20..854d0b27a 100644 --- a/crates/metal2vulkan/src/device/khronos.rs +++ b/crates/metal2vulkan/src/device/khronos.rs @@ -1530,6 +1530,7 @@ pub(super) const FEATURE_MEMBERS: &[(&str, VkFeature)] = { ("depthBiasControl", F::DepthBiasControl), ("floatRepresentation", F::FloatRepresentation), ("depthBiasExact", F::DepthBiasExact), + ("shaderFmaFloat16", F::ShaderFmaFloat16), ("shaderFmaFloat32", F::ShaderFmaFloat32), ("synchronization2", F::Synchronization2), ("extendedDynamicState", F::ExtendedDynamicState), diff --git a/crates/metal2vulkan/src/device/profile.rs b/crates/metal2vulkan/src/device/profile.rs index 217dda003..9aad80b71 100644 --- a/crates/metal2vulkan/src/device/profile.rs +++ b/crates/metal2vulkan/src/device/profile.rs @@ -817,6 +817,8 @@ pub struct LeafCaps { pub zero_initialize_workgroup_memory: bool, /// `OpFmaKHR` on 32-bit floats (`shaderFmaFloat32`): a correctly rounded fused multiply-add. pub fma32: bool, + /// `OpFmaKHR` on 16-bit floats (`shaderFmaFloat16`): a correctly rounded fused multiply-add. + pub fma16: bool, } /// Image and sampler capabilities ([`DeviceProfile::images`]). Each field without its own note is diff --git a/crates/metal2vulkan/src/device/requirements.rs b/crates/metal2vulkan/src/device/requirements.rs index 49f3c87fe..d5241c996 100644 --- a/crates/metal2vulkan/src/device/requirements.rs +++ b/crates/metal2vulkan/src/device/requirements.rs @@ -316,6 +316,11 @@ pub enum VkFeature { /// `VK_EXT_extended_dynamic_state3`'s `extendedDynamicState3ColorWriteMask`: the dynamic /// state `VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT`, set by `vkCmdSetColorWriteMaskEXT`. ExtendedDynamicState3ColorWriteMask, + // Appended. + /// `VK_KHR_shader_fma`'s `shaderFmaFloat16`: `OpFmaKHR` on 16-bit floats + /// (`VUID-RuntimeSpirv-shaderFmaFloat16-10977`), which Vulkan's precision table makes correctly + /// rounded: a `half` fused multiply-add in one instruction under the 16-bit float controls. + ShaderFmaFloat16, } /// A Vulkan device extension the new core can require. diff --git a/crates/metal2vulkan/src/lower/arith/divide.rs b/crates/metal2vulkan/src/lower/arith/divide.rs index 43c8b1649..661b5184d 100644 --- a/crates/metal2vulkan/src/lower/arith/divide.rs +++ b/crates/metal2vulkan/src/lower/arith/divide.rs @@ -114,9 +114,12 @@ impl Path { pub fn on(p: &DeviceProfile) -> Path { match fma::float_route(p) { Route::Khr => Path::Fused, - Route::Wide | Route::Soft | Route::HalfOdd | Route::F16 | Route::Native => { - Path::Integer - } + Route::Wide + | Route::Soft + | Route::HalfOdd + | Route::F16 + | Route::F16Khr + | Route::Native => Path::Integer, } } } @@ -291,9 +294,12 @@ impl Reciprocal { pub fn of(route: Route) -> Reciprocal { match route { Route::Khr => Reciprocal::Rounded, - Route::Wide | Route::Soft | Route::HalfOdd | Route::F16 | Route::Native => { - Reciprocal::Device - } + Route::Wide + | Route::Soft + | Route::HalfOdd + | Route::F16 + | Route::F16Khr + | Route::Native => Reciprocal::Device, } } diff --git a/crates/metal2vulkan/src/lower/arith/fma.rs b/crates/metal2vulkan/src/lower/arith/fma.rs index 50f5d2b69..a5b244b4d 100644 --- a/crates/metal2vulkan/src/lower/arith/fma.rs +++ b/crates/metal2vulkan/src/lower/arith/fma.rs @@ -62,6 +62,19 @@ //! a few instructions per use and no routine, where MoltenVK inlines [`Route::HalfOdd`]'s routine //! at every call and Metal's back end compiles each copy: one corpus kernel with 800 `half` fused //! multiply-adds took 6 s to create through the routine. +//! +//! Where the profile has `shaderFmaFloat16` and rounds to `half` under the 16-bit float controls +//! ([`QuantizeForm::Controlled`], [`narrow::controlled_modes`]), a `half` one takes +//! [`Route::F16Khr`]: its operands convert to 16 bits exactly, `OpFmaKHR` on them rounds the exact +//! sum once, and its result widens exactly. Vulkan's precision table lists `OpFmaKHR` as "Correctly +//! rounded", "according to IEEE 754 roundTiesToEven" under `RoundingModeRTE`, with denormals kept +//! under `DenormPreserve` and zero signs under `SignedZeroInfNanPreserve`, which the entry then +//! declares (`narrow::computes_in_16_bits`): the one rounding [`Route::HalfOdd`]'s round-to-odd +//! sequence emulates, and Metal's `half` `fma`, with no fact. A NaN's bits are the device's, as the +//! controlled rounding's are; a fused pair's NaN is selected as on every route +//! (`super::contract`). It replaces that sequence, or native device maths' `float` `Fma` and its +//! rounding to `half` ([`Route::Native`], noted `NativeFma`), with one instruction whose +//! conversions the device folds into its neighbours'. use crate::device::profile::FloatFunctions; use crate::device::DeviceProfile; @@ -90,6 +103,9 @@ pub enum Route { /// A `half` fused multiply-add by the device's `Fma` on 16-bit floats, Metal's own /// ([`half_route`]). F16, + /// A `half` fused multiply-add by `OpFmaKHR` on 16-bit floats under the 16-bit float + /// controls, correctly rounded by the Vulkan spec ([`half_route`]). + F16Khr, /// Native device maths (`FloatFunctions::Native`): the device's `GLSL.std.450 Fma` on the /// `float` lanes (a `half`'s held in `float`, its result rounded to `half`), within /// Vulkan's precision rather than rounded once (`PrecisionNote::NativeFma`). @@ -118,6 +134,8 @@ pub const HALF: &str = "arith.fma.half"; /// See [`KHR`]. pub const F16: &str = "arith.fma.f16"; /// See [`KHR`]. +pub const F16_KHR: &str = "arith.fma.f16.khr"; +/// See [`KHR`]. pub const NATIVE: &str = "arith.fma.native"; /// Every route [`float_route`] answers, which the tests run each of. @@ -163,11 +181,15 @@ pub fn tiny_route(p: &DeviceProfile) -> Option { /// The `half` route profile `p` offers: [`Route::F16`] where the driver is measured to compute a /// 16-bit `Fma` as Metal's own `half` `fma` (`DriverDeviation::MetalHalfFma`) and `shaderFloat16` -/// is enabled, else the device's `float` `Fma` rounded to `half` under native device maths, else +/// is enabled, else [`Route::F16Khr`] where `shaderFmaFloat16` is and the profile rounds to `half` +/// under the 16-bit float controls (which need `shaderFloat16`), under either policy since it is +/// Metal's, else the device's `float` `Fma` rounded to `half` under native device maths, else /// [`Route::HalfOdd`]. pub fn half_route(p: &DeviceProfile) -> Route { if p.takes_driver_deviation(DriverDeviation::MetalHalfFma) && p.fields().leaf.float16 { Route::F16 + } else if p.fields().leaf.fma16 && narrow::quantize_form(p) == QuantizeForm::Controlled { + Route::F16Khr } else if p.fields().float_functions == FloatFunctions::Native { Route::Native } else { @@ -249,7 +271,7 @@ impl Fma { (Route::Wide | Route::Soft | Route::HalfOdd, _) => self.route, (Route::Khr, Some(Route::Wide)) => Route::Khr, (Route::Khr, Some(tiny)) => tiny, - (Route::Khr | Route::F16 | Route::Native, _) => return None, + (Route::Khr | Route::F16 | Route::F16Khr | Route::Native, _) => return None, }; Some(Routine { route, @@ -266,12 +288,14 @@ impl Fma { Route::Soft => SOFT, Route::HalfOdd => HALF, Route::F16 => F16, + Route::F16Khr => F16_KHR, Route::Native => NATIVE, } } /// An upper estimate of the SPIR-V words per use: the instruction or the call; on - /// [`Route::F16`] the three conversions, the instruction and the widening; checked + /// [`Route::F16`] and [`Route::F16Khr`] the three conversions, the instruction and the + /// widening; checked /// ([`checked`]), the instruction, the test of its magnitude, the selection, the call and the /// merge. A routine's own words are the module's, charged once ([`Routine::words`]). pub fn words(self) -> u32 { @@ -279,7 +303,7 @@ impl Fma { Route::Khr if self.checked() => 112, Route::Khr => 16, Route::Wide | Route::Soft | Route::HalfOdd => 24, - Route::F16 => 32, + Route::F16 | Route::F16Khr => 32, // The instruction, and a `half` result's rounding. Route::Native => 64, } @@ -450,7 +474,9 @@ pub fn define(mb: &mut ModuleBuilder, r: Routine) -> BResult { let s = half_sum(&mut fb, h, a, b, c)?; narrow::round(&mut fb, h, s)? } - Route::F16 | Route::Native => return Err(BuildError::Type(TypeRule::FunctionSignature)), + Route::F16 | Route::F16Khr | Route::Native => { + return Err(BuildError::Type(TypeRule::FunctionSignature)) + } }; fb.ret(Some(v))?; fb.finish() @@ -500,7 +526,8 @@ pub fn emit( | (Route::Khr | Route::Wide | Route::Soft, Some(FloatFmt::F32)) => { float(fb, fma, a, b, c, routine) } - (Route::F16, Some(FloatFmt::Half)) => f16(fb, fma.form.lanes, a, b, c), + (Route::F16, Some(FloatFmt::Half)) => f16(fb, fma.form.lanes, [a, b, c], false), + (Route::F16Khr, Some(FloatFmt::Half)) => f16(fb, fma.form.lanes, [a, b, c], true), // Native device maths: the device's `Fma`; on `half` operands held in `float` the product // is exact, so only the sum's rounding and the rounding to `half` differ from Metal's one // rounding. @@ -514,11 +541,17 @@ pub fn emit( } /// The `half` fused multiply-add of `a`, `b`, `c` (`half` values held in `float` lanes of -/// `lanes` lanes) by the device's `Fma` on 16-bit floats ([`Route::F16`]): each operand converted -/// to 16 bits, exactly since it is a `half`, the `Fma`, and its result widened, exactly. The -/// device rounds the exact sum once, as Metal's `half` `fma` does where the profile takes -/// `DriverDeviation::MetalHalfFma`. -fn f16(fb: &mut FunctionBuilder<'_>, lanes: u8, a: Value, b: Value, c: Value) -> BResult { +/// `lanes` lanes) by the device's `Fma` on 16-bit floats ([`Route::F16`]), or by `OpFmaKHR` on +/// them where `khr` ([`Route::F16Khr`]): each operand converted to 16 bits, exactly since it is a +/// `half`, the instruction, and its result widened, exactly. The device rounds the exact sum once, +/// as Metal's `half` `fma` does: measured where the profile takes `DriverDeviation::MetalHalfFma`, +/// by the Vulkan spec for `OpFmaKHR` under the 16-bit float controls. +fn f16( + fb: &mut FunctionBuilder<'_>, + lanes: u8, + [a, b, c]: [Value; 3], + khr: bool, +) -> BResult { let lanes_of = |fb: &mut FunctionBuilder<'_>, width: u8| -> BResult<_> { let e = fb.module().ty(Type::Float { width })?; match lanes { @@ -529,7 +562,11 @@ fn f16(fb: &mut FunctionBuilder<'_>, lanes: u8, a: Value, b: Value, c: Value) -> let (h, w) = (lanes_of(fb, 16)?, lanes_of(fb, 32)?); let narrow = |fb: &mut FunctionBuilder<'_>, x: Value| fb.convert(ConvOp::FConvert, x, h); let (a, b, c) = (narrow(fb, a)?, narrow(fb, b)?, narrow(fb, c)?); - let r = fb.glsl(GlslOp::Fma, &[a, b, c])?; + let r = if khr { + fb.fma(a, b, c)? + } else { + fb.glsl(GlslOp::Fma, &[a, b, c])? + }; fb.convert(ConvOp::FConvert, r, w) } diff --git a/crates/metal2vulkan/src/lower/arith/mod.rs b/crates/metal2vulkan/src/lower/arith/mod.rs index b270eaad6..0f152a0b6 100644 --- a/crates/metal2vulkan/src/lower/arith/mod.rs +++ b/crates/metal2vulkan/src/lower/arith/mod.rs @@ -23,9 +23,10 @@ //! and `double` are native (`f64` needs `shaderFloat64`), and `half` and `bfloat` are held widened //! in an `f32` that is always a value of the narrow format ([`narrow`]): each operation rounds its //! `f32` result back to the format, so no profile needs `shaderFloat16`; where the device's 16-bit -//! `+ - *` is measured to be Metal's `half` arithmetic and the profile has `shaderFloat16`, a -//! `half` `+ - *` is that instruction, kept apart, between exact conversions instead -//! ([`ArithStrategy::F16`]). +//! `+ - *` is Metal's `half` arithmetic and the profile has `shaderFloat16`, a `half` `+ - *` is +//! that instruction, kept apart, between exact conversions instead ([`ArithStrategy::F16`]): where +//! it is measured to be, and where the 16-bit float controls the module then declares make it so +//! by the Vulkan spec ([`narrow::controlled_modes`]). //! //! Precision: a `half` rounding keeps half denormals, as Metal does; a `float` or `half` fused //! multiply-add (`air.fma`, `llvm.fma`, and `llvm.fmuladd`, which Metal fuses) rounds once on every @@ -199,9 +200,9 @@ pub enum ArithStrategy { contract: Contraction, }, /// A `half` `fadd`, `fsub` or `fmul` on lanes of `form` by the device's 16-bit arithmetic, - /// Metal's own in the forms that keep it apart (`DriverDeviation::MetalHalfArithmetic`, - /// [`ops::f16_binary`]): the operands narrowed to 16 bits, exactly, the instruction kept - /// apart, and its result widened, exactly. + /// Metal's own in the forms that keep it apart (measured, `DriverDeviation::MetalHalfArithmetic`, + /// or by the Vulkan spec under the 16-bit float controls, [`ops::f16_binary`]): the operands + /// narrowed to 16 bits, exactly, the instruction kept apart, and its result widened, exactly. F16 { op: AirBin, form: Form, @@ -2256,10 +2257,12 @@ fn select_in( } else { s } - } else if f16_arithmetic(cx.profile, *op, f) { - // The device's own `half` arithmetic, measured to be Metal's in the forms - // that keep it apart, which the AIR's flags allow whatever they are. - cx.families.arith.f16_arith = true; + } else if let Some(basis) = f16_arithmetic(cx.profile, *op, f) { + // The device's own `half` arithmetic, Metal's in the forms that keep it + // apart, which the AIR's flags allow whatever they are. Only the measured + // basis is a property the module requires; the float controls are modes + // its entry declares. + cx.families.arith.f16_arith |= basis == F16Basis::Measured; let s = S::F16 { op: *op, form: f }; with_nan(cx, at, s, nan::binary_answer(*op, fmt), f) } else { @@ -2946,19 +2949,42 @@ fn native_min_max(p: &DeviceProfile, op: FloatFn, f: Form) -> bool { && p.fields().min_max == MinMaxRoute::Native } +/// Why the device's 16-bit `+ - *` answers as Metal's `half` arithmetic ([`f16_arithmetic`]). +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum F16Basis { + /// Measured (`DriverDeviation::MetalHalfArithmetic`): the module requires + /// `VkProperty::MetalHalfArithmetic`. + Measured, + /// The 16-bit float controls the module's `half` roundings take ([`QuantizeForm::Controlled`], + /// [`narrow::controlled_modes`]), which its entry then declares ([`narrow::computes_in_16_bits`]): + /// no fact. + Controlled, +} + /// Whether the float binary operator `op` on lanes of form `f` takes the device's 16-bit -/// arithmetic ([`ArithStrategy::F16`]): a `half` `fadd`, `fsub` or `fmul`, on one to four lanes (a -/// chunk's own form), where profile `p` takes `DriverDeviation::MetalHalfArithmetic` and has -/// `shaderFloat16`. A `half` `fdiv` keeps the shared precise routine: Metal's fast and relaxed -/// compiles answer the device's 16-bit quotient of widened operands as a `float` one (EV -/// `CRT2-ha2-m4`), and it has no form that keeps it apart. A `half` `frem` is not measured. -fn f16_arithmetic(p: &DeviceProfile, op: AirBin, f: Form) -> bool { +/// arithmetic ([`ArithStrategy::F16`]), and on what basis: a `half` `fadd`, `fsub` or `fmul`, on +/// one to four lanes (a chunk's own form), where profile `p` has `shaderFloat16` and takes +/// `DriverDeviation::MetalHalfArithmetic` ([`F16Basis::Measured`]) or rounds to `half` under the +/// 16-bit float controls ([`F16Basis::Controlled`]). Under those controls the instruction is Metal's +/// by the Vulkan spec ([`ops::f16_binary`]). A `half` `fdiv` keeps the shared precise routine: +/// Metal's fast and relaxed compiles answer the device's 16-bit quotient of widened operands as a +/// `float` one, it has no form that keeps it apart, and Vulkan's precision table +/// does not make a 16-bit quotient correctly rounded. A `half` `frem` is not measured. +fn f16_arithmetic(p: &DeviceProfile, op: AirBin, f: Form) -> Option { use crate::error::DriverDeviation; - matches!(op, AirBin::FAdd | AirBin::FSub | AirBin::FMul) + let applies = matches!(op, AirBin::FAdd | AirBin::FSub | AirBin::FMul) && f.float_fmt() == Some(FloatFmt::Half) && (1..=4).contains(&f.lanes) - && p.takes_driver_deviation(DriverDeviation::MetalHalfArithmetic) - && p.fields().leaf.float16 + && p.fields().leaf.float16; + if !applies { + None + } else if p.takes_driver_deviation(DriverDeviation::MetalHalfArithmetic) { + Some(F16Basis::Measured) + } else if narrow::quantize_form(p) == QuantizeForm::Controlled { + Some(F16Basis::Controlled) + } else { + None + } } /// The fast division routine a float function call of form `f` lowered as `how` calls: diff --git a/crates/metal2vulkan/src/lower/arith/narrow.rs b/crates/metal2vulkan/src/lower/arith/narrow.rs index d50334b3c..b267290ea 100644 --- a/crates/metal2vulkan/src/lower/arith/narrow.rs +++ b/crates/metal2vulkan/src/lower/arith/narrow.rs @@ -29,9 +29,11 @@ //! device decoded ([`round_texel`]) unless the profile leaves NaN bits to the device under native //! half rounding or the float controls; `bfloat` rounds through an //! exact integer round-to-nearest-even of the `f32` bits. Where the device's 16-bit `+ - *`, kept -//! apart, is measured to be Metal's `half` arithmetic (`DriverDeviation::MetalHalfArithmetic`) and -//! the profile has `shaderFloat16`, a `half` `+ - *` is that instruction between exact conversions -//! instead, with no rounding here (`ops::f16_binary`). For `+ - * /` and square root the double +//! apart, is Metal's `half` arithmetic and the profile has `shaderFloat16`, a `half` `+ - *` is +//! that instruction between exact conversions instead, with no rounding here (`ops::f16_binary`): +//! where it is measured to be (`DriverDeviation::MetalHalfArithmetic`), and under the float +//! controls of [`QuantizeForm::Controlled`], which make it so by the Vulkan spec and which the +//! entry then declares ([`computes_in_16_bits`]). For `+ - * /` and square root the double //! rounding (the exact result to `f32`, then to the narrow format) is innocuous, because `f32` //! carries at least `2p + 2` significand bits for both formats; a `half` fused multiply-add is not, //! so it rounds its exact `f32` sum to odd first (`super::fma`), and a `bfloat` one is corrected @@ -1271,6 +1273,33 @@ pub fn widens_bits(m: &TypedModule, meter: &mut Meter) -> Result { Ok(found) } +/// Whether module `m` computes in 16-bit floats: an `OpFAdd`, `OpFSub` or `OpFMul`, an `OpFmaKHR` +/// or a `GLSL.std.450 Fma` whose result is a 16-bit float or a vector of them, the device's own +/// `half` arithmetic (`super::ops::f16_binary`, `super::fma`). Under the 16-bit float controls +/// ([`QuantizeForm::Controlled`]) the entry then declares [`controlled_modes`], which make that +/// arithmetic Metal's. One pass over the instructions. +pub fn computes_in_16_bits(m: &TypedModule) -> bool { + let half = |v: Value| -> bool { + let Ok(ty) = m.value(v).map(|v| v.ty) else { + return false; + }; + let ty = match m.types().get(ty) { + Ok(Type::Vector { elem, .. }) => *elem, + _ => ty, + }; + matches!(m.types().get(ty), Ok(Type::Float { width: 16 })) + }; + m.blocks().iter().flat_map(|b| &b.insts).any(|n| { + let arithmetic = match &n.inst { + Inst::Binary { op, .. } => matches!(op, BinOp::FAdd | BinOp::FSub | BinOp::FMul), + Inst::Fma { .. } => true, + Inst::Glsl { op, .. } => *op == GlslOp::Fma, + _ => false, + }; + arithmetic && n.result.is_some_and(half) + }) +} + /// Half bits `h` (the low 16 bits of each lane) to the `f32` bits of the same value: the /// magnitude's bits moved up by 13 and rebiased by `112 << 23`, or, for an infinity or NaN, by `224 /// << 23`, which gives the `f32`'s all-ones exponent with the payload moved up (the half exponent diff --git a/crates/metal2vulkan/src/lower/arith/ops.rs b/crates/metal2vulkan/src/lower/arith/ops.rs index 3fae3b891..57aa05655 100644 --- a/crates/metal2vulkan/src/lower/arith/ops.rs +++ b/crates/metal2vulkan/src/lower/arith/ops.rs @@ -271,11 +271,24 @@ pub fn f16_binary_words(f: Form) -> u32 { } /// The `half` `fadd`, `fsub` or `fmul` of `a` and `b` (`half` values held in `float` lanes of -/// `lanes` lanes) by the device's 16-bit arithmetic, Metal's own where the profile takes -/// `DriverDeviation::MetalHalfArithmetic`: each operand narrowed to 16 bits, exactly since it is a -/// `half`, the instruction, which rounds the exact result once as Metal's `half` arithmetic does, -/// and its result widened, exactly. No rounding of the module's own ([`narrow::round`]), so no -/// conversion barrier. +/// `lanes` lanes) by the device's 16-bit arithmetic: each operand narrowed to 16 bits, exactly +/// since it is a `half`, the instruction, which rounds the exact result once as Metal's `half` +/// arithmetic does, and its result widened, exactly. No rounding of the module's own +/// ([`narrow::round`]), so no conversion barrier and no conversion pair, which a device's compiler +/// spends most on (ANV's register allocation grows with the values the pairs add). +/// +/// The instruction is Metal's where the profile takes `DriverDeviation::MetalHalfArithmetic`, and, +/// by the Vulkan spec, in an entry declaring the 16-bit float controls the module's roundings take +/// ([`narrow::controlled_modes`]): the precision table "for IEEE754 half- (16 bit) and single- (32 +/// bit) precision instructions" lists `OpFAdd`, `OpFSub` and `OpFMul` as "Correctly rounded", +/// "according to IEEE 754 roundTiesToEven" under `RoundingModeRTE`, `DenormPreserve` keeps +/// denormal operands and results, and `SignedZeroInfNanPreserve` the zero signs IEEE 754 gives. That +/// is the value the `float` operation rounded once to `half` gives too ([`f16_binary`]'s +/// alternative, [`float_binary`]): `float`'s 24-bit significand is at least `2 · 11 + 2` bits, so +/// rounding its correctly rounded sum, difference or product to `half` rounds the exact result once +/// (the double rounding is innocuous). A NaN's bits are the device's, as the controlled rounding's +/// are; Metal's NaN, where the profile asks for it, is selected around the instruction +/// (`ArithStrategy::Nan`). /// /// The instruction is always kept apart, whatever the AIR's flags allow: a sum or difference /// decorated `NoContraction` (SPIRV-Cross writes its `[[clang::optnone]]` `spvFAdd` or `spvFSub`), diff --git a/crates/metal2vulkan/src/lower/arith/tests/fused.rs b/crates/metal2vulkan/src/lower/arith/tests/fused.rs index aad99452b..dd324c2ac 100644 --- a/crates/metal2vulkan/src/lower/arith/tests/fused.rs +++ b/crates/metal2vulkan/src/lower/arith/tests/fused.rs @@ -707,8 +707,9 @@ fn the_half_reference_rounds_the_exact_sum() { /// The route follows the profile: `OpFmaKHR` where `shaderFmaFloat32` is enabled, else `double` /// where 64-bit floats and integers are, else the integer routine; `half` has its own, the device's /// 16-bit `Fma` where the driver is measured to compute it as Metal's `half` `fma` and -/// `shaderFloat16` is enabled (the MoltenVK captures alone), and `bfloat` and `double` keep their -/// own lowering. +/// `shaderFloat16` is enabled (the MoltenVK captures alone), else `OpFmaKHR` on 16 bits where +/// `shaderFmaFloat16` is enabled and the profile rounds under the 16-bit float controls, under +/// either policy, and `bfloat` and `double` keep their own lowering. /// /// Under native device maths (the default policy) a profile whose functions are not Metal's takes /// the device's `Fma` ([`Route::Native`]) where it would take a routine. Under @@ -722,7 +723,23 @@ fn the_fused_multiply_add_route_follows_the_profile() { use crate::error::DriverDeviation; use crate::pipeline::testing::exact_maths; use crate::spirv::testing::{committed_profiles_with, is_moltenvk_capture}; + // The `half` route a profile offers whatever its policy: Metal's measured `Fma`, or `OpFmaKHR` + // on 16 bits under the float controls, or none. + let exact_half = |p: &crate::device::DeviceProfile| { + let l = &p.fields().leaf; + if p.takes_driver_deviation(DriverDeviation::MetalHalfFma) && l.float16 { + Some(Route::F16) + } else if l.fma16 + && crate::lower::arith::narrow::quantize_form(p) + == crate::spirv::builder::QuantizeForm::Controlled + { + Some(Route::F16Khr) + } else { + None + } + }; let mut native = 0; + let mut khr16 = 0; for (stem, p) in committed_profiles().expect("profiles") { let l = &p.fields().leaf; if p.fields().float_functions != FloatFunctions::Native { @@ -733,13 +750,12 @@ fn the_fused_multiply_add_route_follows_the_profile() { let f = Fma::on(&p, float(32)).expect("float"); assert_eq!((f.route, f.routine()), (want, None), "{stem}"); let h = Fma::on(&p, float(16)).expect("half"); - let half = match p.takes_driver_deviation(DriverDeviation::MetalHalfFma) && l.float16 { - true => Route::F16, - false => Route::Native, - }; + let half = exact_half(&p).unwrap_or(Route::Native); assert_eq!((h.route, h.routine()), (half, None), "{stem}"); + khr16 += usize::from(half == Route::F16Khr); } assert!(native >= 10, "{native} profiles take native device maths"); + assert!(khr16 >= 2, "{khr16} profiles take OpFmaKHR on 16 bits"); let mut seen = std::collections::BTreeSet::new(); let mut f16 = Vec::new(); let mut checked = 0; @@ -779,10 +795,7 @@ fn the_fused_multiply_add_route_follows_the_profile() { flushing += usize::from( tiny.is_some() && p.takes_driver_deviation(DriverDeviation::MetalFloatDenormals), ); - let half = match p.takes_driver_deviation(DriverDeviation::MetalHalfFma) && l.float16 { - true => Route::F16, - false => Route::HalfOdd, - }; + let half = exact_half(&p).unwrap_or(Route::HalfOdd); let h = Fma::on(&p, float(16)).expect("half"); assert_eq!(h.route, half, "{stem}"); assert_eq!( diff --git a/crates/metal2vulkan/src/lower/arith/tests/narrow.rs b/crates/metal2vulkan/src/lower/arith/tests/narrow.rs index 19d4f3a21..f58bbfac9 100644 --- a/crates/metal2vulkan/src/lower/arith/tests/narrow.rs +++ b/crates/metal2vulkan/src/lower/arith/tests/narrow.rs @@ -2678,43 +2678,59 @@ fn srgb_conversions_are_named_apart_and_charge_their_table_once() { assert_eq!(routine_words(&ArithPlan::default()).count(), 0); } -/// A `half` `fadd`, `fsub` or `fmul` takes the device's 16-bit arithmetic exactly where the profile -/// takes `DriverDeviation::MetalHalfArithmetic` and has `shaderFloat16` (the MoltenVK captures -/// alone), on one to four lanes; `fdiv`, `frem`, other formats, and a chunk wider than four lanes +/// A `half` `fadd`, `fsub` or `fmul` takes the device's 16-bit arithmetic, on one to four lanes, +/// exactly where the profile has `shaderFloat16` and takes `DriverDeviation::MetalHalfArithmetic` +/// (the MoltenVK captures alone, measured) or rounds to `half` under the 16-bit float controls (by +/// the Vulkan spec, with no fact); `fdiv`, `frem`, other formats, and a chunk wider than four lanes /// never do. #[test] fn half_arithmetic_on_the_device_follows_the_profile() { + use super::super::F16Basis; use crate::error::DriverDeviation; + use crate::spirv::builder::QuantizeForm; use crate::spirv::testing::is_moltenvk_capture; - let mut taken = 0; + let (mut measured, mut controlled) = (0, 0); for (stem, p) in committed_profiles().expect("profiles") { - let device = p.takes_driver_deviation(DriverDeviation::MetalHalfArithmetic) - && p.fields().leaf.float16; - assert_eq!(device, is_moltenvk_capture(&stem), "{stem}"); + let float16 = p.fields().leaf.float16; + let fact = p.takes_driver_deviation(DriverDeviation::MetalHalfArithmetic) && float16; + assert_eq!(fact, is_moltenvk_capture(&stem), "{stem}"); + let controls = super::super::narrow::quantize_form(&p) == QuantizeForm::Controlled; + let basis = match (fact, controls) { + (true, _) => Some(F16Basis::Measured), + (false, true) => Some(F16Basis::Controlled), + (false, false) => None, + }; for op in [AirBin::FAdd, AirBin::FSub, AirBin::FMul] { for lanes in 1..=4 { assert_eq!( super::super::f16_arithmetic(&p, op, vec(half(), lanes)), - device, + basis, "{stem}: {op:?} on {lanes} lanes" ); } for f in [vec(half(), 8), float(32), bfloat(), float(64)] { - assert!( - !super::super::f16_arithmetic(&p, op, f), + assert_eq!( + super::super::f16_arithmetic(&p, op, f), + None, "{stem}: {op:?} on {f:?}" ); } } for op in [AirBin::FDiv, AirBin::FRem] { - assert!( - !super::super::f16_arithmetic(&p, op, half()), + assert_eq!( + super::super::f16_arithmetic(&p, op, half()), + None, "{stem}: {op:?}" ); } - taken += usize::from(device); + measured += usize::from(basis == Some(F16Basis::Measured)); + controlled += usize::from(basis == Some(F16Basis::Controlled)); } - assert!(taken >= 2, "the MoltenVK captures take it"); + assert!(measured >= 2, "the MoltenVK captures take it, measured"); + assert!( + controlled >= 2, + "the float-controls profiles take it, by the spec" + ); } /// The device's `half` `+ - *` ([`ops::f16_binary`]) is the exact result rounded once to `half`, on diff --git a/crates/metal2vulkan/src/lower/sampler/face/tests/snap.rs b/crates/metal2vulkan/src/lower/sampler/face/tests/snap.rs index 976da1b0e..7c70ebb0e 100644 --- a/crates/metal2vulkan/src/lower/sampler/face/tests/snap.rs +++ b/crates/metal2vulkan/src/lower/sampler/face/tests/snap.rs @@ -23,7 +23,7 @@ use crate::spirv::ir::TypedModule; fn routines(b: &mut ModuleBuilder, fma: Fma) -> BResult { let (path, khr) = match fma.route { Route::Khr => (Path::Fused, true), - Route::Wide | Route::Soft | Route::HalfOdd | Route::F16 | Route::Native => { + Route::Wide | Route::Soft | Route::HalfOdd | Route::F16 | Route::F16Khr | Route::Native => { (Path::Integer, false) } }; diff --git a/crates/metal2vulkan/src/pipeline/artifact.rs b/crates/metal2vulkan/src/pipeline/artifact.rs index f8c2c9560..1b5a20cd1 100644 --- a/crates/metal2vulkan/src/pipeline/artifact.rs +++ b/crates/metal2vulkan/src/pipeline/artifact.rs @@ -1531,8 +1531,9 @@ pub enum PrecisionNote { /// tolerance from it. NativeDivision, /// Native device maths: a `float` fused multiply-add on a device without `OpFmaKHR`, or a - /// `half` one where the device's 16-bit `Fma` is not measured to be Metal's, is the device's - /// `GLSL.std.450 Fma` (on the `half` operands held in `float`, its result rounded to `half`), + /// `half` one where the device's 16-bit `Fma` is not measured to be Metal's and the device has + /// no 16-bit `OpFmaKHR` under the 16-bit float controls, is the device's `GLSL.std.450 Fma` + /// (on the `half` operands held in `float`, its result rounded to `half`), /// not the translation's correctly rounded routine, under `FloatMathsPolicy::Native` (the /// default). **Recorded bound:** a `half` result within one unit in its last place of /// Metal's (the product of two `half` values is exact in `float`, so only the two roundings diff --git a/crates/metal2vulkan/src/pipeline/compile.rs b/crates/metal2vulkan/src/pipeline/compile.rs index 08c7a66d2..b0e4a3bf4 100644 --- a/crates/metal2vulkan/src/pipeline/compile.rs +++ b/crates/metal2vulkan/src/pipeline/compile.rs @@ -2248,13 +2248,17 @@ fn compile_kept( let converts = plan.families.arith.quantize == crate::spirv::builder::QuantizeForm::Converted && crate::lower::arith::narrow::rounds_by_conversion(&module, m)?; // A `half` rounded through the device's conversion and its widening, each decorated - // `NoContraction`, under the float controls that make it Metal's, or read from its bits by the - // device's widening, which they make exact but for a NaN's bits: the entry declares them, and - // so requires the device's float-controls properties for them, and no fact. A module that - // widens so leaves a NaN's bits to the device, as the profile does (`NanMinMaxPolicy::Native`). + // `NoContraction`, under the float controls that make it Metal's, computed by the device's + // 16-bit arithmetic, which they make Metal's too, or read from its bits by the device's + // widening, which they make exact but for a NaN's bits: the entry declares them, and so + // requires the device's float-controls properties for them, and no fact. A module that widens + // so leaves a NaN's bits to the device, as the profile does (`NanMinMaxPolicy::Native`). if plan.families.arith.quantize == crate::spirv::builder::QuantizeForm::Controlled { let widens = crate::lower::arith::narrow::widens_bits(&module, m)?; - if widens || crate::lower::arith::narrow::rounds_by_conversion(&module, m)? { + if widens + || crate::lower::arith::narrow::computes_in_16_bits(&module) + || crate::lower::arith::narrow::rounds_by_conversion(&module, m)? + { let modes = crate::lower::arith::narrow::controlled_modes(p).unwrap_or_default(); module.declare_modes(&modes)?; } diff --git a/crates/metal2vulkan/src/spirv/builder/ops/arith.rs b/crates/metal2vulkan/src/spirv/builder/ops/arith.rs index f0a4a94d9..172286485 100644 --- a/crates/metal2vulkan/src/spirv/builder/ops/arith.rs +++ b/crates/metal2vulkan/src/spirv/builder/ops/arith.rs @@ -348,12 +348,13 @@ impl FunctionBuilder<'_> { } /// `OpFmaKHR` (`SPV_KHR_fma`): `a * b + c` with one rounding, which Vulkan's precision table - /// makes correctly rounded. The three operands share one 32-bit float scalar or vector type, - /// the only width the core emits it at (its feature is `shaderFmaFloat32`). Result: that type. + /// makes correctly rounded. The three operands share one 16- or 32-bit float scalar or vector + /// type, the widths the core emits it at (its feature is `shaderFmaFloat16` or + /// `shaderFmaFloat32`). Result: that type. pub fn fma(&mut self, a: Value, b: Value, c: Value) -> BResult { const OP: crate::spv::Op = crate::spv::Op::FmaKHR; let x = self.want(OP, 0, a, Num::is_float)?; - if x.width != 32 { + if x.width != 32 && x.width != 16 { return Err(err(OP, OperandRule::Width(0))); } if self.value_ty(b)? != x.ty { diff --git a/crates/metal2vulkan/src/spirv/builder/ops/tests.rs b/crates/metal2vulkan/src/spirv/builder/ops/tests.rs index 773a143f0..c6c67859f 100644 --- a/crates/metal2vulkan/src/spirv/builder/ops/tests.rs +++ b/crates/metal2vulkan/src/spirv/builder/ops/tests.rs @@ -201,10 +201,11 @@ fn comparisons_derive_bool_of_the_component_count() { }); } -/// `OpFmaKHR` takes three operands of one 32-bit float scalar or vector type and gives that type; -/// the core never emits it at another width (its feature is `shaderFmaFloat32`). +/// `OpFmaKHR` takes three operands of one 16- or 32-bit float scalar or vector type and gives that +/// type; the core never emits it at another width (its feature is `shaderFmaFloat16` or +/// `shaderFmaFloat32`). #[test] -fn fma_khr_takes_three_floats_of_one_32_bit_type() { +fn fma_khr_takes_three_floats_of_one_16_or_32_bit_type() { in_fn(|f, t| { let (x, v) = (p(f, t.f32_), p(f, t.vec4)); let r = f.fma(x, x, x).expect("scalar"); @@ -212,7 +213,8 @@ fn fma_khr_takes_three_floats_of_one_32_bit_type() { let r = f.fma(v, v, v).expect("vector"); assert_eq!(ty(f, r), t.vec4); let (h, d, u) = (p(f, t.f16), p(f, t.f64_), p(f, t.u32_)); - assert_eq!(f.fma(h, h, h), op_err(Op::FmaKHR, OperandRule::Width(0))); + let r = f.fma(h, h, h).expect("16-bit scalar"); + assert_eq!(ty(f, r), t.f16); assert_eq!(f.fma(d, d, d), op_err(Op::FmaKHR, OperandRule::Width(0))); assert_eq!(f.fma(u, u, u), op_err(Op::FmaKHR, OperandRule::Category(0))); assert_eq!(f.fma(x, v, x), op_err(Op::FmaKHR, OperandRule::Mismatch(1))); diff --git a/crates/metal2vulkan/src/spirv/requirements/mod.rs b/crates/metal2vulkan/src/spirv/requirements/mod.rs index 4f57a8ffe..5d88536e6 100644 --- a/crates/metal2vulkan/src/spirv/requirements/mod.rs +++ b/crates/metal2vulkan/src/spirv/requirements/mod.rs @@ -1157,12 +1157,21 @@ impl Deriver<'_> { self.cap(Cap::RayTraversalPrimitiveCullingKHR); } } - // The builder admits 32-bit floats only (`FunctionBuilder::fma`), so `shaderFmaFloat32` - // is the feature (VUID-RuntimeSpirv-shaderFmaFloat32-10978). - Inst::Fma { .. } => { + // The builder admits 16- and 32-bit floats (`FunctionBuilder::fma`): `shaderFmaFloat16` + // or `shaderFmaFloat32` by the operands' width, the result's + // (VUID-RuntimeSpirv-shaderFmaFloat16-10977, VUID-RuntimeSpirv-shaderFmaFloat32-10978). + Inst::Fma { a, .. } => { self.cap(Cap::Fmakhr); self.ext(SpirvExtension::KhrFma); - self.feat(VkFeature::ShaderFmaFloat32); + let half = matches!( + self.scalar_of(self.value_ty(*a)?)?, + Type::Float { width: 16 } + ); + self.feat(if half { + VkFeature::ShaderFmaFloat16 + } else { + VkFeature::ShaderFmaFloat32 + }); } Inst::DemoteToHelperInvocation | Inst::IsHelperInvocation => { self.cap(Cap::DemoteToHelperInvocation); diff --git a/crates/metal2vulkan/src/spirv/serialize/tests/derivation.rs b/crates/metal2vulkan/src/spirv/serialize/tests/derivation.rs index 2f53d9f23..536eb2b31 100644 --- a/crates/metal2vulkan/src/spirv/serialize/tests/derivation.rs +++ b/crates/metal2vulkan/src/spirv/serialize/tests/derivation.rs @@ -8,8 +8,8 @@ use crate::device::requirements::{Requirements, SpirvCapability, VkExtension, Vk use crate::pipeline::sym::ResourceKind; use crate::spirv::builder::ModuleBuilder; use crate::spirv::ir::{ - natural_layout, AtomicOp, ExecModel, ImageOperands, IoDir, LayoutRule, MemAccess, MemoryOrder, - Scope, Semantics, StorageClass, Type, TypedModule, + natural_layout, AtomicOp, ConvOp, ExecModel, ImageOperands, IoDir, LayoutRule, MemAccess, + MemoryOrder, Scope, Semantics, StorageClass, Type, TypedModule, }; use crate::spirv::requirements::{uses_physical_storage_buffer, uses_vulkan_memory_model}; use crate::spirv::testing::{spirv_val_with, TargetEnv, ValOptions}; @@ -78,6 +78,28 @@ fn fma_khr_derives_its_capability_extension_and_feature() { assert!(r.extensions.contains(&VkExtension::KhrShaderFma), "{r:?}"); } +/// `OpFmaKHR` on 16-bit floats derives `shaderFmaFloat16` in place of `shaderFmaFloat32`, beside +/// the 16-bit float's own `Float16`, and passes `spirv-val`. +#[test] +fn fma_khr_on_16_bit_floats_derives_the_16_bit_feature() { + let mut b = ModuleBuilder::new(); + let t = tys(&mut b); + let buf = ssbo(&mut b, 0, t.f32_, 4); + let main = compute(&mut b, |f| { + let i = gid_x(f); + let p = elem_ptr(f, buf, i); + let x = f.load(p, MemAccess::default()).expect("load"); + let h = f.convert(ConvOp::FConvert, x, t.f16).expect("narrow"); + let r = f.fma(h, h, h).expect("fma"); + let w = f.convert(ConvOp::FConvert, r, t.f32_).expect("widen"); + f.store(p, w, MemAccess::default()).expect("store"); + }); + let r = checked(finish_compute(b, main)); + has(&r, &[Capability::Fmakhr], &[VkFeature::ShaderFmaFloat16]); + assert!(!r.features.contains(&VkFeature::ShaderFmaFloat32), "{r:?}"); + assert!(r.extensions.contains(&VkExtension::KhrShaderFma), "{r:?}"); +} + #[test] fn availability_semantics_select_the_vulkan_memory_model() { let mut b = ModuleBuilder::new(); diff --git a/crates/metal2vulkan/src/tests/engine_arith.rs b/crates/metal2vulkan/src/tests/engine_arith.rs index d069f2dba..e667dc00e 100644 --- a/crates/metal2vulkan/src/tests/engine_arith.rs +++ b/crates/metal2vulkan/src/tests/engine_arith.rs @@ -3034,8 +3034,13 @@ fn half_rounding_follows_the_operation() { let round_even = count_ops(&words, |w| { w[0] & 0xFFFF == crate::spv::Op::ExtInst as u32 && w.len() > 4 && w[4] == 2 }); + // The fused pairs on 16-bit floats: the device's `Fma` measured Metal's, or `OpFmaKHR` + // under the 16-bit float controls; each converts three operands and widens its result. let f16 = kk.name == "fast_chain" - && p.takes_driver_deviation(crate::error::DriverDeviation::MetalHalfFma); + && matches!( + crate::lower::arith::fma::half_route(&p), + crate::lower::arith::fma::Route::F16 | crate::lower::arith::fma::Route::F16Khr + ); let (q, c, r) = match (kk.name == "fast_chain", f16) { (true, true) => (3, 7 * 4, 2), (true, false) => (4, 0, 3), @@ -3056,13 +3061,15 @@ fn half_rounding_follows_the_operation() { let device = p.takes_driver_deviation(crate::error::DriverDeviation::MetalHalfQuantize) && !converted && !controlled; - // Where the device's 16-bit `+ - *` is Metal's, the operations among the roundings: - // sixteen of the strict chain's seventeen, the first addition and the last multiply of - // the fast chain's three. The conversion's rounding stays the module's. - let ha = p.takes_driver_deviation(crate::error::DriverDeviation::MetalHalfArithmetic) - && p.fields().leaf.float16; + // Where the device's 16-bit `+ - *` is Metal's, measured or under the 16-bit float + // controls, the operations among the roundings: sixteen of the strict chain's + // seventeen, the first addition and the last multiply of the fast chain's three. The + // conversion's rounding stays the module's. + let ha = (p.takes_driver_deviation(crate::error::DriverDeviation::MetalHalfArithmetic) + && p.fields().leaf.float16) + || controlled; assert!( - !ha || converted, + !ha || converted || controlled, "{what}: the half arithmetic beside the conversion" ); let kept = match (ha, kk.name == "fast_chain") { diff --git a/crates/metal2vulkan/src/tests/engine_native_half.rs b/crates/metal2vulkan/src/tests/engine_native_half.rs index 8a96033f3..be4155533 100644 --- a/crates/metal2vulkan/src/tests/engine_native_half.rs +++ b/crates/metal2vulkan/src/tests/engine_native_half.rs @@ -532,8 +532,8 @@ fn a_texels_nan_is_kept_under_native_half_rounding_only_where_the_nan_switch_ask } /// What a module's words say of its `half` rounding: its execution modes with a float width, the -/// conversions from 32- to 16-bit floats and back with how many carry `NoContraction`, and its -/// `OpQuantizeToF16`s. +/// conversions from 32- to 16-bit floats and back with how many carry `NoContraction`, its +/// `OpQuantizeToF16`s, and its 16-bit float arithmetic. #[derive(Debug, Default)] struct Rounding { modes: std::collections::BTreeSet<(u32, u32)>, @@ -543,6 +543,9 @@ struct Rounding { quantizes: usize, /// `OpConstant`s of 32-bit float type with Metal's canonical NaN, `0x7FC00000`. canonical_nans: usize, + /// `OpFAdd`s, `OpFSub`s and extended instructions of a 16-bit float type: a `half` operation + /// on the device's 16-bit arithmetic (`ops::f16_binary`), between exact conversions. + f16_ops: usize, } /// [`Rounding`] of `words`, read back through the test parser. @@ -604,6 +607,10 @@ fn rounding(words: &[u32]) -> Rounding { } } for i in &parsed.instructions { + let width = i.result_type.and_then(|t| widths.get(&t).copied()); + if matches!(i.opcode, Op::FAdd | Op::FSub | Op::ExtInst) && width == Some(16) { + r.f16_ops += 1; + } if i.opcode != Op::FConvert { continue; } @@ -627,8 +634,9 @@ fn rounding(words: &[u32]) -> Rounding { /// Where the profile has `shaderFloat16` and the float controls that make a conversion to 16 bits /// Metal's `half(float)` by the Vulkan spec (every ANV and RADV profile), and its driver does not /// fold the round trip (`DriverWorkaround::HalfConversionPairFolded`, NVIDIA's), each kernel -/// rounds its `half` through that conversion and its -/// widening, every one decorated `NoContraction`, with no quantize, under either policy; its entry +/// rounds its `half` through that conversion and its widening, every one decorated +/// `NoContraction`, with no quantize, under either policy, and computes its `half` sum on the +/// device's 16-bit arithmetic, between conversions that are exact and undecorated; its entry /// declares `RoundingModeRTE`, `DenormPreserve` and `SignedZeroInfNanPreserve` for 16 bits and the /// modes the device's independence ties to them (`RoundingModeRTE` for 32 and 64 bits on ANV, /// whose rounding modes are not independent; `RoundingModeRTE` and `DenormPreserve` for 64 bits on @@ -693,7 +701,13 @@ fn a_controlled_conversion_rounds_half_where_the_float_controls_allow() { let r = rounding(&a.module.words); assert_eq!(r.quantizes, 0, "{what}: {r:?}"); assert!(r.narrowings > 0 && r.widenings > 0, "{what}: {r:?}"); - assert_eq!(r.uncontracted, r.narrowings + r.widenings, "{what}: {r:?}"); + assert_eq!(r.f16_ops, usize::from(*name == "half_sum"), "{what}: {r:?}"); + // Each 16-bit operation narrows its two operands and widens its result, exactly. + assert_eq!( + r.uncontracted + 3 * r.f16_ops, + r.narrowings + r.widenings, + "{what}: {r:?}" + ); // Less `SignedZeroInfNanPreserve` for 32 and 64 bits, which the entry's own `float` // arithmetic declares. let declared: std::collections::BTreeSet<(u32, u32)> = r diff --git a/crates/metal2vulkan/src/tests/engine_spirv_cross_forms.rs b/crates/metal2vulkan/src/tests/engine_spirv_cross_forms.rs index 98734760e..e380e1f00 100644 --- a/crates/metal2vulkan/src/tests/engine_spirv_cross_forms.rs +++ b/crates/metal2vulkan/src/tests/engine_spirv_cross_forms.rs @@ -286,12 +286,14 @@ fn only_the_entry_reads_the_coverage_of_a_looped_body() { /// `fmx_fma_precise` computes a `half` `fma` and a `half` `a * b + c` (`llvm.fmuladd`, which Metal /// fuses) beside their `float` forms. On a MoltenVK capture each `half` one is the device's 16-bit /// `Fma`, inline: the module defines no function but its entry, declares a 16-bit float, and -/// requires `VkProperty::MetalHalfFma`; on macOS it compiles as MoltenVK's MSL. Every other -/// committed profile takes native device maths (the default): the device's `float` `Fma` rounded to -/// `half`, inline too, under `PrecisionNote::NativeFma`; it holds a 16-bit float only where it -/// rounds a `half` through the device's conversion, measured (`QuantizeForm::Converted`) or under -/// the float controls (`QuantizeForm::Controlled`: ANV and RADV). Under `FloatMathsPolicy::Exact` -/// it calls the `half` routine. +/// requires `VkProperty::MetalHalfFma`; on macOS it compiles as MoltenVK's MSL. A profile that +/// rounds a `half` under the 16-bit float controls (`QuantizeForm::Controlled`: ANV and RADV) with +/// `shaderFmaFloat16` takes `OpFmaKHR` on 16 bits (`fma::Route::F16Khr`), inline and under no note. +/// Every other committed profile takes native device maths (the default): the device's `float` +/// `Fma` rounded to `half`, inline too, under `PrecisionNote::NativeFma`; it holds a 16-bit float +/// only where it rounds a `half` through the device's conversion, measured +/// (`QuantizeForm::Converted`) or under the float controls. Under `FloatMathsPolicy::Exact` it +/// calls the `half` routine where it takes neither 16-bit form. #[test] fn a_half_fused_multiply_add_is_inline_on_moltenvk() { let Some(lib) = library("fmx_fma_precise") else { @@ -332,7 +334,9 @@ fn a_half_fused_multiply_add_is_inline_on_moltenvk() { .stage .precision_notes .contains(&crate::pipeline::PrecisionNote::NativeFma); - assert_eq!(native, !moltenvk, "{what}"); + let khr16 = crate::lower::arith::fma::half_route(dev.profile()) + == crate::lower::arith::fma::Route::F16Khr; + assert_eq!(native, !moltenvk && !khr16, "{what}"); inline += usize::from(moltenvk); compiles_as_moltenvk_msl(&stem, words, &what); } diff --git a/crates/metal2vulkan/tests/air_input/hfb_filter_bank.txt b/crates/metal2vulkan/tests/air_input/hfb_filter_bank.txt new file mode 100644 index 000000000..9ffd2985b --- /dev/null +++ b/crates/metal2vulkan/tests/air_input/hfb_filter_bank.txt @@ -0,0 +1,5906 @@ +target triple = "air64_v28-apple-macosx26.0.0" +source_filename = "-" +; datalayout DataLayout { endian: Little, pointers: {0: PointerSpec { size_bits: 64, abi_bits: 64, pref_bits: 64, index_bits: 64 }}, ints: {1: AlignSpec { abi_bits: 8, pref_bits: 8 }, 8: AlignSpec { abi_bits: 8, pref_bits: 8 }, 16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }}, floats: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }}, vectors: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 24: AlignSpec { abi_bits: 32, pref_bits: 32 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 48: AlignSpec { abi_bits: 64, pref_bits: 64 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 96: AlignSpec { abi_bits: 128, pref_bits: 128 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }, 192: AlignSpec { abi_bits: 256, pref_bits: 256 }, 256: AlignSpec { abi_bits: 256, pref_bits: 256 }, 512: AlignSpec { abi_bits: 512, pref_bits: 512 }, 1024: AlignSpec { abi_bits: 1024, pref_bits: 1024 }}, aggregate: AlignSpec { abi_bits: 0, pref_bits: 64 }, native_ints: [8, 16, 32], stack_align_bits: None, alloca_space: 0, program_space: 0, globals_space: 0, mangling: None, fn_ptr_align: None, non_integral: [] } +%t4 = type <{ <4 x float>, <2 x float> }> +%t6 = type %t4 (i32) +%t11 = type <4 x half> (<4 x float>, <2 x float>, ptr addrspace(1), ptr addrspace(2), ptr addrspace(2)) +%t12 = type float (i32) +%t13 = type <4 x half> (<4 x half>, <4 x half>, <4 x half>) +%t14 = type <4 x half> (<4 x half>) +%t15 = type <4 x half> (<4 x half>, <4 x half>) +%t17 = type { <4 x half>, i8 } +%t20 = type %t17 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32) +%t22 = type [2 x i32] +%t26 = type { i32, i32, <2 x float>, <4 x half>, <4 x half>, half, half } ; "struct.HfbParams" +c11 = %t22 [27, 0] +c37 = <2 x float> [0x40000000, 0x40000000] +c38 = <2 x float> [0xBF800000, 0xBF800000] +c41 = <4 x i32> [0, 1, poison, poison] +c44 = <4 x float> [poison, poison, 0x0, 0x3F800000] +c45 = <4 x i32> [0, 1, 6, 7] +c294 = <4 x half> [0xAE97, 0xAE97, 0xAE97, 0xAE97] +c295 = <4 x half> [0x2AA8, 0x2AA8, 0x2AA8, 0x2AA8] +c296 = <4 x half> [0xC000, 0xC000, 0xC000, 0xC000] +c297 = <4 x half> [0x4000, 0x4000, 0x4000, 0x4000] +c298 = <4 x half> [0x4C40, 0x4C40, 0x4C40, 0x4C40] +c299 = <4 x half> [0x2B88, 0x2B88, 0x2B88, 0x2B88] +c300 = <4 x half> [0x1419, 0x1419, 0x1419, 0x1419] +c301 = <4 x half> [0xBC00, 0xBC00, 0xBC00, 0xBC00] +c302 = <4 x half> [0x3400, 0x3400, 0x3400, 0x3400] +c303 = <4 x half> [0xAEC8, 0xAEC8, 0xAEC8, 0xAEC8] +c304 = <4 x half> [0x2AE9, 0x2AE9, 0x2AE9, 0x2AE9] +c305 = <4 x half> [0x4C80, 0x4C80, 0x4C80, 0x4C80] +c306 = <4 x half> [0x2B1C, 0x2B1C, 0x2B1C, 0x2B1C] +c307 = <4 x half> [0x3800, 0x3800, 0x3800, 0x3800] +c308 = <4 x half> [0xAEFA, 0xAEFA, 0xAEFA, 0xAEFA] +c309 = <4 x half> [0x2B2B, 0x2B2B, 0x2B2B, 0x2B2B] +c310 = <4 x half> [0x4CC0, 0x4CC0, 0x4CC0, 0x4CC0] +c311 = <4 x half> [0x2ABD, 0x2ABD, 0x2ABD, 0x2ABD] +c312 = <4 x half> [0x3A00, 0x3A00, 0x3A00, 0x3A00] +c313 = <2 x float> [0x0, 0x3E800000] +c317 = <4 x half> [0x3000, 0x3000, 0x3000, 0x3000] +c318 = <4 x half> [0x2C00, 0x2C00, 0x2C00, 0x2C00] +c319 = <2 x float> [0x0, poison] +c320 = <4 x half> [0x2A66, 0x2A66, 0x2A66, 0x2A66] +c321 = <4 x half> [0x27AE, 0x27AE, 0x27AE, 0x27AE] +c322 = <4 x half> [0x4400, 0x4400, 0x4400, 0x4400] +c323 = <4 x half> [0xAF3B, 0xAF3B, 0xAF3B, 0xAF3B] +c324 = <4 x half> [0x4200, 0x4200, 0x4200, 0x4200] +c325 = <4 x half> [0xAF6C, 0xAF6C, 0xAF6C, 0xAF6C] +c326 = <4 x half> [0xAF9E, 0xAF9E, 0xAF9E, 0xAF9E] +c327 = <2 x float> [0x3F000000, 0x3E800000] +c328 = <4 x half> [0x3010, 0x3010, 0x3010, 0x3010] +c330 = <4 x half> [0x2C10, 0x2C10, 0x2C10, 0x2C10] +c331 = <4 x half> [0x2BE9, 0x2BE9, 0x2BE9, 0x2BE9] +c332 = <4 x half> [0x2A45, 0x2A45, 0x2A45, 0x2A45] +c333 = <4 x half> [0x27CF, 0x27CF, 0x27CF, 0x27CF] +c334 = <4 x half> [0x279A, 0x279A, 0x279A, 0x279A] +c335 = <4 x half> [0x285A, 0x285A, 0x285A, 0x285A] +c336 = <4 x half> [0xAFDF, 0xAFDF, 0xAFDF, 0xAFDF] +c337 = <4 x half> [0xB008, 0xB008, 0xB008, 0xB008] +c338 = <4 x half> [0xB021, 0xB021, 0xB021, 0xB021] +c339 = <2 x float> [0x3F800000, 0x3E800000] +c340 = <4 x half> [0x3021, 0x3021, 0x3021, 0x3021] +c342 = <4 x half> [0x2C21, 0x2C21, 0x2C21, 0x2C21] +c343 = <4 x half> [0x2BD2, 0x2BD2, 0x2BD2, 0x2BD2] +c344 = <4 x half> [0x2A24, 0x2A24, 0x2A24, 0x2A24] +c345 = <4 x half> [0x27F0, 0x27F0, 0x27F0, 0x27F0] +c346 = <4 x half> [0x2787, 0x2787, 0x2787, 0x2787] +c347 = <4 x half> [0xB042, 0xB042, 0xB042, 0xB042] +c348 = <4 x half> [0xB05A, 0xB05A, 0xB05A, 0xB05A] +c349 = <4 x half> [0xB073, 0xB073, 0xB073, 0xB073] +c350 = <2 x float> [0x3FC00000, 0x3E800000] +c351 = <4 x half> [0x3031, 0x3031, 0x3031, 0x3031] +c353 = <4 x half> [0x2C31, 0x2C31, 0x2C31, 0x2C31] +c354 = <4 x half> [0x2BBB, 0x2BBB, 0x2BBB, 0x2BBB] +c355 = <4 x half> [0x2A04, 0x2A04, 0x2A04, 0x2A04] +c356 = <4 x half> [0x2808, 0x2808, 0x2808, 0x2808] +c357 = <4 x half> [0x2773, 0x2773, 0x2773, 0x2773] +c358 = <2 x float> [0x40000000, 0x3E800000] +c359 = <4 x half> [0x3042, 0x3042, 0x3042, 0x3042] +c360 = <4 x half> [0x2C42, 0x2C42, 0x2C42, 0x2C42] +c361 = <4 x half> [0x2BA4, 0x2BA4, 0x2BA4, 0x2BA4] +c362 = <4 x half> [0x2B6C, 0x2B6C, 0x2B6C, 0x2B6C] +c363 = <4 x half> [0x2819, 0x2819, 0x2819, 0x2819] +c364 = <4 x half> [0x275F, 0x275F, 0x275F, 0x275F] +c365 = <2 x float> [0x40200000, 0x3E800000] +c366 = <4 x half> [0x3052, 0x3052, 0x3052, 0x3052] +c367 = <4 x half> [0x2C52, 0x2C52, 0x2C52, 0x2C52] +c368 = <4 x half> [0x2B8D, 0x2B8D, 0x2B8D, 0x2B8D] +c369 = <4 x half> [0x2BAE, 0x2BAE, 0x2BAE, 0x2BAE] +c370 = <4 x half> [0x2829, 0x2829, 0x2829, 0x2829] +c371 = <4 x half> [0x274C, 0x274C, 0x274C, 0x274C] +c372 = <2 x float> [0x40400000, 0x3E800000] +c373 = <4 x half> [0x3062, 0x3062, 0x3062, 0x3062] +c374 = <4 x half> [0x2C62, 0x2C62, 0x2C62, 0x2C62] +c375 = <4 x half> [0x2B76, 0x2B76, 0x2B76, 0x2B76] +c376 = <4 x half> [0x2BF0, 0x2BF0, 0x2BF0, 0x2BF0] +c377 = <4 x half> [0x2839, 0x2839, 0x2839, 0x2839] +c378 = <4 x half> [0x2738, 0x2738, 0x2738, 0x2738] +c379 = <2 x float> [0x40600000, 0x3E800000] +c380 = <4 x half> [0x3073, 0x3073, 0x3073, 0x3073] +c381 = <4 x half> [0x2C73, 0x2C73, 0x2C73, 0x2C73] +c382 = <4 x half> [0x2B60, 0x2B60, 0x2B60, 0x2B60] +c383 = <4 x half> [0x2C18, 0x2C18, 0x2C18, 0x2C18] +c384 = <4 x half> [0x284A, 0x284A, 0x284A, 0x284A] +c385 = <4 x half> [0x2724, 0x2724, 0x2724, 0x2724] +c386 = <2 x float> [0x40800000, 0x3E800000] +c387 = <4 x half> [0x3083, 0x3083, 0x3083, 0x3083] +c388 = <4 x half> [0x2C83, 0x2C83, 0x2C83, 0x2C83] +c389 = <4 x half> [0x2B48, 0x2B48, 0x2B48, 0x2B48] +c390 = <4 x half> [0x2711, 0x2711, 0x2711, 0x2711] +c391 = <2 x float> [0x40900000, 0x3E800000] +c392 = <4 x half> [0x3094, 0x3094, 0x3094, 0x3094] +c393 = <4 x half> [0x2C94, 0x2C94, 0x2C94, 0x2C94] +c394 = <4 x half> [0x2B32, 0x2B32, 0x2B32, 0x2B32] +c395 = <4 x half> [0x286A, 0x286A, 0x286A, 0x286A] +c396 = <4 x half> [0x26FD, 0x26FD, 0x26FD, 0x26FD] +c397 = <2 x float> [0x40A00000, 0x3E800000] +c398 = <4 x half> [0x30A4, 0x30A4, 0x30A4, 0x30A4] +c399 = <4 x half> [0x2CA4, 0x2CA4, 0x2CA4, 0x2CA4] +c400 = <4 x half> [0x2B1B, 0x2B1B, 0x2B1B, 0x2B1B] +c401 = <4 x half> [0x287B, 0x287B, 0x287B, 0x287B] +c402 = <4 x half> [0x26EA, 0x26EA, 0x26EA, 0x26EA] +c403 = <2 x float> [0x40B00000, 0x3E800000] +c404 = <4 x half> [0x30B4, 0x30B4, 0x30B4, 0x30B4] +c405 = <4 x half> [0x2CB4, 0x2CB4, 0x2CB4, 0x2CB4] +c406 = <4 x half> [0x2B04, 0x2B04, 0x2B04, 0x2B04] +c407 = <4 x half> [0x288B, 0x288B, 0x288B, 0x288B] +c408 = <4 x half> [0x26D6, 0x26D6, 0x26D6, 0x26D6] +c409 = <2 x float> [0x40C00000, 0x3E800000] +c410 = <4 x half> [0x30C5, 0x30C5, 0x30C5, 0x30C5] +c411 = <4 x half> [0x2CC5, 0x2CC5, 0x2CC5, 0x2CC5] +c412 = <4 x half> [0x2AED, 0x2AED, 0x2AED, 0x2AED] +c413 = <4 x half> [0x289C, 0x289C, 0x289C, 0x289C] +c414 = <4 x half> [0x26C2, 0x26C2, 0x26C2, 0x26C2] +c415 = <2 x float> [0x40D00000, 0x3E800000] +c416 = <4 x half> [0x30D5, 0x30D5, 0x30D5, 0x30D5] +c417 = <4 x half> [0x2CD5, 0x2CD5, 0x2CD5, 0x2CD5] +c418 = <4 x half> [0x2AD6, 0x2AD6, 0x2AD6, 0x2AD6] +c419 = <4 x half> [0x28AC, 0x28AC, 0x28AC, 0x28AC] +c420 = <4 x half> [0x26AE, 0x26AE, 0x26AE, 0x26AE] +c421 = <2 x float> [0x40E00000, 0x3E800000] +c422 = <4 x half> [0x30E6, 0x30E6, 0x30E6, 0x30E6] +c423 = <4 x half> [0x2CE6, 0x2CE6, 0x2CE6, 0x2CE6] +c424 = <4 x half> [0x2ABF, 0x2ABF, 0x2ABF, 0x2ABF] +c425 = <4 x half> [0x28BC, 0x28BC, 0x28BC, 0x28BC] +c426 = <4 x half> [0x269B, 0x269B, 0x269B, 0x269B] +c427 = <2 x float> [0x40F00000, 0x3E800000] +c428 = <4 x half> [0x30F6, 0x30F6, 0x30F6, 0x30F6] +c429 = <4 x half> [0x2CF6, 0x2CF6, 0x2CF6, 0x2CF6] +c430 = <4 x half> [0x28CD, 0x28CD, 0x28CD, 0x28CD] +c431 = <4 x half> [0x2687, 0x2687, 0x2687, 0x2687] +c432 = <2 x float> [0x41000000, 0x3E800000] +c433 = <4 x half> [0x3106, 0x3106, 0x3106, 0x3106] +c434 = <4 x half> [0x2D06, 0x2D06, 0x2D06, 0x2D06] +c435 = <4 x half> [0x2A91, 0x2A91, 0x2A91, 0x2A91] +c436 = <4 x half> [0x28DD, 0x28DD, 0x28DD, 0x28DD] +c437 = <4 x half> [0x2674, 0x2674, 0x2674, 0x2674] +c438 = <2 x float> [0x41080000, 0x3E800000] +c439 = <4 x half> [0x3117, 0x3117, 0x3117, 0x3117] +c440 = <4 x half> [0x2D17, 0x2D17, 0x2D17, 0x2D17] +c441 = <4 x half> [0x2A7A, 0x2A7A, 0x2A7A, 0x2A7A] +c442 = <4 x half> [0x28EE, 0x28EE, 0x28EE, 0x28EE] +c443 = <4 x half> [0x2660, 0x2660, 0x2660, 0x2660] +c444 = <2 x float> [0x41100000, 0x3E800000] +c445 = <4 x half> [0x3127, 0x3127, 0x3127, 0x3127] +c446 = <4 x half> [0x2D27, 0x2D27, 0x2D27, 0x2D27] +c447 = <4 x half> [0x2A63, 0x2A63, 0x2A63, 0x2A63] +c448 = <4 x half> [0x28FE, 0x28FE, 0x28FE, 0x28FE] +c449 = <4 x half> [0x264C, 0x264C, 0x264C, 0x264C] +c450 = <2 x float> [0x41180000, 0x3E800000] +c451 = <4 x half> [0x3138, 0x3138, 0x3138, 0x3138] +c452 = <4 x half> [0x2D38, 0x2D38, 0x2D38, 0x2D38] +c453 = <4 x half> [0x2A4C, 0x2A4C, 0x2A4C, 0x2A4C] +c454 = <4 x half> [0x290E, 0x290E, 0x290E, 0x290E] +c455 = <4 x half> [0x2638, 0x2638, 0x2638, 0x2638] +c456 = <2 x float> [0x41200000, 0x3E800000] +c457 = <4 x half> [0x3148, 0x3148, 0x3148, 0x3148] +c458 = <4 x half> [0x2D48, 0x2D48, 0x2D48, 0x2D48] +c459 = <4 x half> [0x2A35, 0x2A35, 0x2A35, 0x2A35] +c460 = <4 x half> [0x291F, 0x291F, 0x291F, 0x291F] +c461 = <4 x half> [0x2625, 0x2625, 0x2625, 0x2625] +c462 = <2 x float> [0x41280000, 0x3E800000] +c463 = <4 x half> [0x3158, 0x3158, 0x3158, 0x3158] +c464 = <4 x half> [0x2D58, 0x2D58, 0x2D58, 0x2D58] +c465 = <4 x half> [0x2A1E, 0x2A1E, 0x2A1E, 0x2A1E] +c466 = <4 x half> [0x292F, 0x292F, 0x292F, 0x292F] +c467 = <4 x half> [0x2611, 0x2611, 0x2611, 0x2611] +c468 = <2 x float> [0x41300000, 0x3E800000] +c469 = <4 x half> [0x3168, 0x3168, 0x3168, 0x3168] +c470 = <4 x half> [0x2D68, 0x2D68, 0x2D68, 0x2D68] +c471 = <4 x half> [0x2A08, 0x2A08, 0x2A08, 0x2A08] +c472 = <4 x half> [0x2940, 0x2940, 0x2940, 0x2940] +c473 = <4 x half> [0x25FE, 0x25FE, 0x25FE, 0x25FE] +c474 = <2 x float> [0x41380000, 0x3E800000] +c475 = <4 x half> [0x3179, 0x3179, 0x3179, 0x3179] +c476 = <4 x half> [0x2D79, 0x2D79, 0x2D79, 0x2D79] +c477 = <4 x half> [0x29F0, 0x29F0, 0x29F0, 0x29F0] +c478 = <4 x half> [0x2950, 0x2950, 0x2950, 0x2950] +c479 = <4 x half> [0x25EA, 0x25EA, 0x25EA, 0x25EA] +c480 = <2 x float> [0x41400000, 0x3E800000] +c481 = <4 x half> [0x318A, 0x318A, 0x318A, 0x318A] +c482 = <4 x half> [0x2D8A, 0x2D8A, 0x2D8A, 0x2D8A] +c483 = <4 x half> [0x29DA, 0x29DA, 0x29DA, 0x29DA] +c484 = <4 x half> [0x2960, 0x2960, 0x2960, 0x2960] +c485 = <4 x half> [0x25D6, 0x25D6, 0x25D6, 0x25D6] +c486 = <2 x float> [0x41480000, 0x3E800000] +c487 = <4 x half> [0x319A, 0x319A, 0x319A, 0x319A] +c488 = <4 x half> [0x2D9A, 0x2D9A, 0x2D9A, 0x2D9A] +c489 = <4 x half> [0x29C2, 0x29C2, 0x29C2, 0x29C2] +c490 = <4 x half> [0x2971, 0x2971, 0x2971, 0x2971] +c491 = <4 x half> [0x25C2, 0x25C2, 0x25C2, 0x25C2] +c492 = <2 x float> [0x41500000, 0x3E800000] +c493 = <4 x half> [0x31AA, 0x31AA, 0x31AA, 0x31AA] +c494 = <4 x half> [0x2DAA, 0x2DAA, 0x2DAA, 0x2DAA] +c495 = <4 x half> [0x29AC, 0x29AC, 0x29AC, 0x29AC] +c496 = <4 x half> [0x2981, 0x2981, 0x2981, 0x2981] +c497 = <4 x half> [0x25AF, 0x25AF, 0x25AF, 0x25AF] +c498 = <2 x float> [0x41580000, 0x3E800000] +c499 = <4 x half> [0x31BA, 0x31BA, 0x31BA, 0x31BA] +c500 = <4 x half> [0x2DBA, 0x2DBA, 0x2DBA, 0x2DBA] +c501 = <4 x half> [0x2994, 0x2994, 0x2994, 0x2994] +c502 = <4 x half> [0x2992, 0x2992, 0x2992, 0x2992] +c503 = <4 x half> [0x259C, 0x259C, 0x259C, 0x259C] +c504 = <2 x float> [0x41600000, 0x3E800000] +c505 = <4 x half> [0x31CB, 0x31CB, 0x31CB, 0x31CB] +c506 = <4 x half> [0x2DCB, 0x2DCB, 0x2DCB, 0x2DCB] +c507 = <4 x half> [0x297E, 0x297E, 0x297E, 0x297E] +c508 = <4 x half> [0x29A2, 0x29A2, 0x29A2, 0x29A2] +c509 = <4 x half> [0x2588, 0x2588, 0x2588, 0x2588] +c510 = <2 x float> [0x41680000, 0x3E800000] +c511 = <4 x half> [0x31DB, 0x31DB, 0x31DB, 0x31DB] +c512 = <4 x half> [0x2DDB, 0x2DDB, 0x2DDB, 0x2DDB] +c513 = <4 x half> [0x2967, 0x2967, 0x2967, 0x2967] +c514 = <4 x half> [0x29B2, 0x29B2, 0x29B2, 0x29B2] +c515 = <4 x half> [0x2574, 0x2574, 0x2574, 0x2574] +c516 = <2 x float> [0x41700000, 0x3E800000] +c517 = <4 x half> [0x31EC, 0x31EC, 0x31EC, 0x31EC] +c518 = <4 x half> [0x2DEC, 0x2DEC, 0x2DEC, 0x2DEC] +c519 = <4 x half> [0x29C3, 0x29C3, 0x29C3, 0x29C3] +c520 = <4 x half> [0x2560, 0x2560, 0x2560, 0x2560] +c521 = <2 x float> [0x41780000, 0x3E800000] +c522 = <4 x half> [0x31FC, 0x31FC, 0x31FC, 0x31FC] +c523 = <4 x half> [0x2DFC, 0x2DFC, 0x2DFC, 0x2DFC] +c524 = <4 x half> [0x2939, 0x2939, 0x2939, 0x2939] +c525 = <4 x half> [0x29D3, 0x29D3, 0x29D3, 0x29D3] +c526 = <4 x half> [0x254C, 0x254C, 0x254C, 0x254C] + +define %t6 @f0 "hfb_quad" memory(NoModRef, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" { +bb0: + %i0 = icmp eq %a0, i32 1 + %i1 = select reassoc nnan ninf nsz arcp contract afn float %i0, float 0x40000000, float 0x0 + %i2 = insertelement <2 x float> undef, %i1, i64 0 + %i3 = icmp eq %a0, i32 2 + %i4 = select reassoc nnan ninf nsz arcp contract afn float %i3, float 0x40000000, float 0x0 + %i5 = insertelement %i2, %i4, i64 1 + %i6 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5, <2 x float> c37 + %i7 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i6, <2 x float> c38 + %i8 = shufflevector <4 x float> %i7, <2 x float> poison, <0, 1, poison, poison> + %i9 = shufflevector <4 x float> %i8, <4 x float> c44, <0, 1, 6, 7> + %i10 = insertvalue %t4 undef %i9, 0 + %i11 = insertvalue %i10 %i5, 1 + ret %i11 +} + +define %t11 @f1 "hfb_filter_bank" convergent memory(Ref, Ref, Ref) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a3( Ref ) %a4( align 8 dereferenceable(40) Ref "air-buffer-no-alias"="" ) { +bb0: + %i0 = getelementptr inbounds %t26, %a4, i64 0, i32 0 + %i1 = load i32, %i0, align 8 + %i2 = and i32 %i1, i32 31 + switch %i2, bb161 [ 0: bb94 1: bb91 2: bb88 3: bb85 4: bb82 5: bb79 6: bb76 7: bb73 8: bb70 9: bb67 10: bb64 11: bb61 12: bb58 13: bb55 14: bb52 15: bb49 16: bb46 17: bb43 18: bb40 19: bb37 20: bb34 21: bb31 22: bb28 23: bb25 24: bb22 25: bb19 26: bb16 27: bb13 28: bb10 29: bb7 30: bb4 31: bb1 ] +bb1: + %i4 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i5 = load i32, %i4, align 4 + %i6 = icmp eq %i5, i32 0 + br %i6, bb2, bb3 +bb2: + %i8 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i9 = load half, %i8, align 8 + %i10 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i11 = load half, %i10, align 2 + %i12 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i13 = load <2 x float>, %i12, align 8 + %i14 = insertelement <4 x half> poison, %i9, i64 0 + %i15 = shufflevector <4 x half> %i14, <4 x half> poison, <0, 0, 0, 0> + %i16 = insertelement <4 x half> poison, %i11, i64 0 + %i17 = shufflevector <4 x half> %i16, <4 x half> poison, <0, 0, 0, 0> + br bb159 +bb3: + %i19 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i20 = load <2 x float>, %i19, align 8 + %i21 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i22 = load half, %i21, align 8 + %i23 = insertelement <4 x half> poison, %i22, i64 0 + %i24 = shufflevector <4 x half> %i23, <4 x half> poison, <0, 0, 0, 0> + %i25 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i26 = load half, %i25, align 2 + %i27 = insertelement <4 x half> poison, %i26, i64 0 + %i28 = shufflevector <4 x half> %i27, <4 x half> poison, <0, 0, 0, 0> + br bb160 +bb4: + %i30 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i31 = load i32, %i30, align 4 + %i32 = icmp eq %i31, i32 0 + br %i32, bb5, bb6 +bb5: + %i34 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i35 = load half, %i34, align 8 + %i36 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i37 = load half, %i36, align 2 + %i38 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i39 = load <2 x float>, %i38, align 8 + %i40 = insertelement <4 x half> poison, %i35, i64 0 + %i41 = shufflevector <4 x half> %i40, <4 x half> poison, <0, 0, 0, 0> + %i42 = insertelement <4 x half> poison, %i37, i64 0 + %i43 = shufflevector <4 x half> %i42, <4 x half> poison, <0, 0, 0, 0> + br bb157 +bb6: + %i45 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i46 = load <2 x float>, %i45, align 8 + %i47 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i48 = load half, %i47, align 8 + %i49 = insertelement <4 x half> poison, %i48, i64 0 + %i50 = shufflevector <4 x half> %i49, <4 x half> poison, <0, 0, 0, 0> + %i51 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i52 = load half, %i51, align 2 + %i53 = insertelement <4 x half> poison, %i52, i64 0 + %i54 = shufflevector <4 x half> %i53, <4 x half> poison, <0, 0, 0, 0> + br bb158 +bb7: + %i56 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i57 = load i32, %i56, align 4 + %i58 = icmp eq %i57, i32 0 + br %i58, bb8, bb9 +bb8: + %i60 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i61 = load half, %i60, align 8 + %i62 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i63 = load half, %i62, align 2 + %i64 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i65 = load <2 x float>, %i64, align 8 + %i66 = insertelement <4 x half> poison, %i61, i64 0 + %i67 = shufflevector <4 x half> %i66, <4 x half> poison, <0, 0, 0, 0> + %i68 = insertelement <4 x half> poison, %i63, i64 0 + %i69 = shufflevector <4 x half> %i68, <4 x half> poison, <0, 0, 0, 0> + br bb155 +bb9: + %i71 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i72 = load <2 x float>, %i71, align 8 + %i73 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i74 = load half, %i73, align 8 + %i75 = insertelement <4 x half> poison, %i74, i64 0 + %i76 = shufflevector <4 x half> %i75, <4 x half> poison, <0, 0, 0, 0> + %i77 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i78 = load half, %i77, align 2 + %i79 = insertelement <4 x half> poison, %i78, i64 0 + %i80 = shufflevector <4 x half> %i79, <4 x half> poison, <0, 0, 0, 0> + br bb156 +bb10: + %i82 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i83 = load i32, %i82, align 4 + %i84 = icmp eq %i83, i32 0 + br %i84, bb11, bb12 +bb11: + %i86 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i87 = load half, %i86, align 8 + %i88 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i89 = load half, %i88, align 2 + %i90 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i91 = load <2 x float>, %i90, align 8 + %i92 = insertelement <4 x half> poison, %i87, i64 0 + %i93 = shufflevector <4 x half> %i92, <4 x half> poison, <0, 0, 0, 0> + %i94 = insertelement <4 x half> poison, %i89, i64 0 + %i95 = shufflevector <4 x half> %i94, <4 x half> poison, <0, 0, 0, 0> + br bb153 +bb12: + %i97 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i98 = load <2 x float>, %i97, align 8 + %i99 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i100 = load half, %i99, align 8 + %i101 = insertelement <4 x half> poison, %i100, i64 0 + %i102 = shufflevector <4 x half> %i101, <4 x half> poison, <0, 0, 0, 0> + %i103 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i104 = load half, %i103, align 2 + %i105 = insertelement <4 x half> poison, %i104, i64 0 + %i106 = shufflevector <4 x half> %i105, <4 x half> poison, <0, 0, 0, 0> + br bb154 +bb13: + %i108 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i109 = load i32, %i108, align 4 + %i110 = icmp eq %i109, i32 0 + br %i110, bb14, bb15 +bb14: + %i112 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i113 = load half, %i112, align 8 + %i114 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i115 = load half, %i114, align 2 + %i116 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i117 = load <2 x float>, %i116, align 8 + %i118 = insertelement <4 x half> poison, %i113, i64 0 + %i119 = shufflevector <4 x half> %i118, <4 x half> poison, <0, 0, 0, 0> + %i120 = insertelement <4 x half> poison, %i115, i64 0 + %i121 = shufflevector <4 x half> %i120, <4 x half> poison, <0, 0, 0, 0> + br bb151 +bb15: + %i123 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i124 = load <2 x float>, %i123, align 8 + %i125 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i126 = load half, %i125, align 8 + %i127 = insertelement <4 x half> poison, %i126, i64 0 + %i128 = shufflevector <4 x half> %i127, <4 x half> poison, <0, 0, 0, 0> + %i129 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i130 = load half, %i129, align 2 + %i131 = insertelement <4 x half> poison, %i130, i64 0 + %i132 = shufflevector <4 x half> %i131, <4 x half> poison, <0, 0, 0, 0> + br bb152 +bb16: + %i134 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i135 = load i32, %i134, align 4 + %i136 = icmp eq %i135, i32 0 + br %i136, bb17, bb18 +bb17: + %i138 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i139 = load half, %i138, align 8 + %i140 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i141 = load half, %i140, align 2 + %i142 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i143 = load <2 x float>, %i142, align 8 + %i144 = insertelement <4 x half> poison, %i139, i64 0 + %i145 = shufflevector <4 x half> %i144, <4 x half> poison, <0, 0, 0, 0> + %i146 = insertelement <4 x half> poison, %i141, i64 0 + %i147 = shufflevector <4 x half> %i146, <4 x half> poison, <0, 0, 0, 0> + br bb149 +bb18: + %i149 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i150 = load <2 x float>, %i149, align 8 + %i151 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i152 = load half, %i151, align 8 + %i153 = insertelement <4 x half> poison, %i152, i64 0 + %i154 = shufflevector <4 x half> %i153, <4 x half> poison, <0, 0, 0, 0> + %i155 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i156 = load half, %i155, align 2 + %i157 = insertelement <4 x half> poison, %i156, i64 0 + %i158 = shufflevector <4 x half> %i157, <4 x half> poison, <0, 0, 0, 0> + br bb150 +bb19: + %i160 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i161 = load i32, %i160, align 4 + %i162 = icmp eq %i161, i32 0 + br %i162, bb20, bb21 +bb20: + %i164 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i165 = load half, %i164, align 8 + %i166 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i167 = load half, %i166, align 2 + %i168 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i169 = load <2 x float>, %i168, align 8 + %i170 = insertelement <4 x half> poison, %i165, i64 0 + %i171 = shufflevector <4 x half> %i170, <4 x half> poison, <0, 0, 0, 0> + %i172 = insertelement <4 x half> poison, %i167, i64 0 + %i173 = shufflevector <4 x half> %i172, <4 x half> poison, <0, 0, 0, 0> + br bb147 +bb21: + %i175 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i176 = load <2 x float>, %i175, align 8 + %i177 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i178 = load half, %i177, align 8 + %i179 = insertelement <4 x half> poison, %i178, i64 0 + %i180 = shufflevector <4 x half> %i179, <4 x half> poison, <0, 0, 0, 0> + %i181 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i182 = load half, %i181, align 2 + %i183 = insertelement <4 x half> poison, %i182, i64 0 + %i184 = shufflevector <4 x half> %i183, <4 x half> poison, <0, 0, 0, 0> + br bb148 +bb22: + %i186 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i187 = load i32, %i186, align 4 + %i188 = icmp eq %i187, i32 0 + br %i188, bb23, bb24 +bb23: + %i190 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i191 = load half, %i190, align 8 + %i192 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i193 = load half, %i192, align 2 + %i194 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i195 = load <2 x float>, %i194, align 8 + %i196 = insertelement <4 x half> poison, %i191, i64 0 + %i197 = shufflevector <4 x half> %i196, <4 x half> poison, <0, 0, 0, 0> + %i198 = insertelement <4 x half> poison, %i193, i64 0 + %i199 = shufflevector <4 x half> %i198, <4 x half> poison, <0, 0, 0, 0> + br bb145 +bb24: + %i201 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i202 = load <2 x float>, %i201, align 8 + %i203 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i204 = load half, %i203, align 8 + %i205 = insertelement <4 x half> poison, %i204, i64 0 + %i206 = shufflevector <4 x half> %i205, <4 x half> poison, <0, 0, 0, 0> + %i207 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i208 = load half, %i207, align 2 + %i209 = insertelement <4 x half> poison, %i208, i64 0 + %i210 = shufflevector <4 x half> %i209, <4 x half> poison, <0, 0, 0, 0> + br bb146 +bb25: + %i212 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i213 = load i32, %i212, align 4 + %i214 = icmp eq %i213, i32 0 + br %i214, bb26, bb27 +bb26: + %i216 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i217 = load half, %i216, align 8 + %i218 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i219 = load half, %i218, align 2 + %i220 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i221 = load <2 x float>, %i220, align 8 + %i222 = insertelement <4 x half> poison, %i217, i64 0 + %i223 = shufflevector <4 x half> %i222, <4 x half> poison, <0, 0, 0, 0> + %i224 = insertelement <4 x half> poison, %i219, i64 0 + %i225 = shufflevector <4 x half> %i224, <4 x half> poison, <0, 0, 0, 0> + br bb143 +bb27: + %i227 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i228 = load <2 x float>, %i227, align 8 + %i229 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i230 = load half, %i229, align 8 + %i231 = insertelement <4 x half> poison, %i230, i64 0 + %i232 = shufflevector <4 x half> %i231, <4 x half> poison, <0, 0, 0, 0> + %i233 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i234 = load half, %i233, align 2 + %i235 = insertelement <4 x half> poison, %i234, i64 0 + %i236 = shufflevector <4 x half> %i235, <4 x half> poison, <0, 0, 0, 0> + br bb144 +bb28: + %i238 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i239 = load i32, %i238, align 4 + %i240 = icmp eq %i239, i32 0 + br %i240, bb29, bb30 +bb29: + %i242 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i243 = load half, %i242, align 8 + %i244 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i245 = load half, %i244, align 2 + %i246 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i247 = load <2 x float>, %i246, align 8 + %i248 = insertelement <4 x half> poison, %i243, i64 0 + %i249 = shufflevector <4 x half> %i248, <4 x half> poison, <0, 0, 0, 0> + %i250 = insertelement <4 x half> poison, %i245, i64 0 + %i251 = shufflevector <4 x half> %i250, <4 x half> poison, <0, 0, 0, 0> + br bb141 +bb30: + %i253 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i254 = load <2 x float>, %i253, align 8 + %i255 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i256 = load half, %i255, align 8 + %i257 = insertelement <4 x half> poison, %i256, i64 0 + %i258 = shufflevector <4 x half> %i257, <4 x half> poison, <0, 0, 0, 0> + %i259 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i260 = load half, %i259, align 2 + %i261 = insertelement <4 x half> poison, %i260, i64 0 + %i262 = shufflevector <4 x half> %i261, <4 x half> poison, <0, 0, 0, 0> + br bb142 +bb31: + %i264 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i265 = load i32, %i264, align 4 + %i266 = icmp eq %i265, i32 0 + br %i266, bb32, bb33 +bb32: + %i268 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i269 = load half, %i268, align 8 + %i270 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i271 = load half, %i270, align 2 + %i272 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i273 = load <2 x float>, %i272, align 8 + %i274 = insertelement <4 x half> poison, %i269, i64 0 + %i275 = shufflevector <4 x half> %i274, <4 x half> poison, <0, 0, 0, 0> + %i276 = insertelement <4 x half> poison, %i271, i64 0 + %i277 = shufflevector <4 x half> %i276, <4 x half> poison, <0, 0, 0, 0> + br bb139 +bb33: + %i279 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i280 = load <2 x float>, %i279, align 8 + %i281 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i282 = load half, %i281, align 8 + %i283 = insertelement <4 x half> poison, %i282, i64 0 + %i284 = shufflevector <4 x half> %i283, <4 x half> poison, <0, 0, 0, 0> + %i285 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i286 = load half, %i285, align 2 + %i287 = insertelement <4 x half> poison, %i286, i64 0 + %i288 = shufflevector <4 x half> %i287, <4 x half> poison, <0, 0, 0, 0> + br bb140 +bb34: + %i290 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i291 = load i32, %i290, align 4 + %i292 = icmp eq %i291, i32 0 + br %i292, bb35, bb36 +bb35: + %i294 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i295 = load half, %i294, align 8 + %i296 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i297 = load half, %i296, align 2 + %i298 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i299 = load <2 x float>, %i298, align 8 + %i300 = insertelement <4 x half> poison, %i295, i64 0 + %i301 = shufflevector <4 x half> %i300, <4 x half> poison, <0, 0, 0, 0> + %i302 = insertelement <4 x half> poison, %i297, i64 0 + %i303 = shufflevector <4 x half> %i302, <4 x half> poison, <0, 0, 0, 0> + br bb137 +bb36: + %i305 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i306 = load <2 x float>, %i305, align 8 + %i307 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i308 = load half, %i307, align 8 + %i309 = insertelement <4 x half> poison, %i308, i64 0 + %i310 = shufflevector <4 x half> %i309, <4 x half> poison, <0, 0, 0, 0> + %i311 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i312 = load half, %i311, align 2 + %i313 = insertelement <4 x half> poison, %i312, i64 0 + %i314 = shufflevector <4 x half> %i313, <4 x half> poison, <0, 0, 0, 0> + br bb138 +bb37: + %i316 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i317 = load i32, %i316, align 4 + %i318 = icmp eq %i317, i32 0 + br %i318, bb38, bb39 +bb38: + %i320 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i321 = load half, %i320, align 8 + %i322 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i323 = load half, %i322, align 2 + %i324 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i325 = load <2 x float>, %i324, align 8 + %i326 = insertelement <4 x half> poison, %i321, i64 0 + %i327 = shufflevector <4 x half> %i326, <4 x half> poison, <0, 0, 0, 0> + %i328 = insertelement <4 x half> poison, %i323, i64 0 + %i329 = shufflevector <4 x half> %i328, <4 x half> poison, <0, 0, 0, 0> + br bb135 +bb39: + %i331 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i332 = load <2 x float>, %i331, align 8 + %i333 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i334 = load half, %i333, align 8 + %i335 = insertelement <4 x half> poison, %i334, i64 0 + %i336 = shufflevector <4 x half> %i335, <4 x half> poison, <0, 0, 0, 0> + %i337 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i338 = load half, %i337, align 2 + %i339 = insertelement <4 x half> poison, %i338, i64 0 + %i340 = shufflevector <4 x half> %i339, <4 x half> poison, <0, 0, 0, 0> + br bb136 +bb40: + %i342 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i343 = load i32, %i342, align 4 + %i344 = icmp eq %i343, i32 0 + br %i344, bb41, bb42 +bb41: + %i346 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i347 = load half, %i346, align 8 + %i348 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i349 = load half, %i348, align 2 + %i350 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i351 = load <2 x float>, %i350, align 8 + %i352 = insertelement <4 x half> poison, %i347, i64 0 + %i353 = shufflevector <4 x half> %i352, <4 x half> poison, <0, 0, 0, 0> + %i354 = insertelement <4 x half> poison, %i349, i64 0 + %i355 = shufflevector <4 x half> %i354, <4 x half> poison, <0, 0, 0, 0> + br bb133 +bb42: + %i357 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i358 = load <2 x float>, %i357, align 8 + %i359 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i360 = load half, %i359, align 8 + %i361 = insertelement <4 x half> poison, %i360, i64 0 + %i362 = shufflevector <4 x half> %i361, <4 x half> poison, <0, 0, 0, 0> + %i363 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i364 = load half, %i363, align 2 + %i365 = insertelement <4 x half> poison, %i364, i64 0 + %i366 = shufflevector <4 x half> %i365, <4 x half> poison, <0, 0, 0, 0> + br bb134 +bb43: + %i368 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i369 = load i32, %i368, align 4 + %i370 = icmp eq %i369, i32 0 + br %i370, bb44, bb45 +bb44: + %i372 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i373 = load half, %i372, align 8 + %i374 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i375 = load half, %i374, align 2 + %i376 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i377 = load <2 x float>, %i376, align 8 + %i378 = insertelement <4 x half> poison, %i373, i64 0 + %i379 = shufflevector <4 x half> %i378, <4 x half> poison, <0, 0, 0, 0> + %i380 = insertelement <4 x half> poison, %i375, i64 0 + %i381 = shufflevector <4 x half> %i380, <4 x half> poison, <0, 0, 0, 0> + br bb131 +bb45: + %i383 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i384 = load <2 x float>, %i383, align 8 + %i385 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i386 = load half, %i385, align 8 + %i387 = insertelement <4 x half> poison, %i386, i64 0 + %i388 = shufflevector <4 x half> %i387, <4 x half> poison, <0, 0, 0, 0> + %i389 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i390 = load half, %i389, align 2 + %i391 = insertelement <4 x half> poison, %i390, i64 0 + %i392 = shufflevector <4 x half> %i391, <4 x half> poison, <0, 0, 0, 0> + br bb132 +bb46: + %i394 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i395 = load i32, %i394, align 4 + %i396 = icmp eq %i395, i32 0 + br %i396, bb47, bb48 +bb47: + %i398 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i399 = load half, %i398, align 8 + %i400 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i401 = load half, %i400, align 2 + %i402 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i403 = load <2 x float>, %i402, align 8 + %i404 = insertelement <4 x half> poison, %i399, i64 0 + %i405 = shufflevector <4 x half> %i404, <4 x half> poison, <0, 0, 0, 0> + %i406 = insertelement <4 x half> poison, %i401, i64 0 + %i407 = shufflevector <4 x half> %i406, <4 x half> poison, <0, 0, 0, 0> + br bb129 +bb48: + %i409 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i410 = load <2 x float>, %i409, align 8 + %i411 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i412 = load half, %i411, align 8 + %i413 = insertelement <4 x half> poison, %i412, i64 0 + %i414 = shufflevector <4 x half> %i413, <4 x half> poison, <0, 0, 0, 0> + %i415 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i416 = load half, %i415, align 2 + %i417 = insertelement <4 x half> poison, %i416, i64 0 + %i418 = shufflevector <4 x half> %i417, <4 x half> poison, <0, 0, 0, 0> + br bb130 +bb49: + %i420 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i421 = load i32, %i420, align 4 + %i422 = icmp eq %i421, i32 0 + br %i422, bb50, bb51 +bb50: + %i424 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i425 = load half, %i424, align 8 + %i426 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i427 = load half, %i426, align 2 + %i428 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i429 = load <2 x float>, %i428, align 8 + %i430 = insertelement <4 x half> poison, %i425, i64 0 + %i431 = shufflevector <4 x half> %i430, <4 x half> poison, <0, 0, 0, 0> + %i432 = insertelement <4 x half> poison, %i427, i64 0 + %i433 = shufflevector <4 x half> %i432, <4 x half> poison, <0, 0, 0, 0> + br bb127 +bb51: + %i435 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i436 = load <2 x float>, %i435, align 8 + %i437 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i438 = load half, %i437, align 8 + %i439 = insertelement <4 x half> poison, %i438, i64 0 + %i440 = shufflevector <4 x half> %i439, <4 x half> poison, <0, 0, 0, 0> + %i441 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i442 = load half, %i441, align 2 + %i443 = insertelement <4 x half> poison, %i442, i64 0 + %i444 = shufflevector <4 x half> %i443, <4 x half> poison, <0, 0, 0, 0> + br bb128 +bb52: + %i446 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i447 = load i32, %i446, align 4 + %i448 = icmp eq %i447, i32 0 + br %i448, bb53, bb54 +bb53: + %i450 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i451 = load half, %i450, align 8 + %i452 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i453 = load half, %i452, align 2 + %i454 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i455 = load <2 x float>, %i454, align 8 + %i456 = insertelement <4 x half> poison, %i451, i64 0 + %i457 = shufflevector <4 x half> %i456, <4 x half> poison, <0, 0, 0, 0> + %i458 = insertelement <4 x half> poison, %i453, i64 0 + %i459 = shufflevector <4 x half> %i458, <4 x half> poison, <0, 0, 0, 0> + br bb125 +bb54: + %i461 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i462 = load <2 x float>, %i461, align 8 + %i463 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i464 = load half, %i463, align 8 + %i465 = insertelement <4 x half> poison, %i464, i64 0 + %i466 = shufflevector <4 x half> %i465, <4 x half> poison, <0, 0, 0, 0> + %i467 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i468 = load half, %i467, align 2 + %i469 = insertelement <4 x half> poison, %i468, i64 0 + %i470 = shufflevector <4 x half> %i469, <4 x half> poison, <0, 0, 0, 0> + br bb126 +bb55: + %i472 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i473 = load i32, %i472, align 4 + %i474 = icmp eq %i473, i32 0 + br %i474, bb56, bb57 +bb56: + %i476 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i477 = load half, %i476, align 8 + %i478 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i479 = load half, %i478, align 2 + %i480 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i481 = load <2 x float>, %i480, align 8 + %i482 = insertelement <4 x half> poison, %i477, i64 0 + %i483 = shufflevector <4 x half> %i482, <4 x half> poison, <0, 0, 0, 0> + %i484 = insertelement <4 x half> poison, %i479, i64 0 + %i485 = shufflevector <4 x half> %i484, <4 x half> poison, <0, 0, 0, 0> + br bb123 +bb57: + %i487 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i488 = load <2 x float>, %i487, align 8 + %i489 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i490 = load half, %i489, align 8 + %i491 = insertelement <4 x half> poison, %i490, i64 0 + %i492 = shufflevector <4 x half> %i491, <4 x half> poison, <0, 0, 0, 0> + %i493 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i494 = load half, %i493, align 2 + %i495 = insertelement <4 x half> poison, %i494, i64 0 + %i496 = shufflevector <4 x half> %i495, <4 x half> poison, <0, 0, 0, 0> + br bb124 +bb58: + %i498 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i499 = load i32, %i498, align 4 + %i500 = icmp eq %i499, i32 0 + br %i500, bb59, bb60 +bb59: + %i502 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i503 = load half, %i502, align 8 + %i504 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i505 = load half, %i504, align 2 + %i506 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i507 = load <2 x float>, %i506, align 8 + %i508 = insertelement <4 x half> poison, %i503, i64 0 + %i509 = shufflevector <4 x half> %i508, <4 x half> poison, <0, 0, 0, 0> + %i510 = insertelement <4 x half> poison, %i505, i64 0 + %i511 = shufflevector <4 x half> %i510, <4 x half> poison, <0, 0, 0, 0> + br bb121 +bb60: + %i513 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i514 = load <2 x float>, %i513, align 8 + %i515 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i516 = load half, %i515, align 8 + %i517 = insertelement <4 x half> poison, %i516, i64 0 + %i518 = shufflevector <4 x half> %i517, <4 x half> poison, <0, 0, 0, 0> + %i519 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i520 = load half, %i519, align 2 + %i521 = insertelement <4 x half> poison, %i520, i64 0 + %i522 = shufflevector <4 x half> %i521, <4 x half> poison, <0, 0, 0, 0> + br bb122 +bb61: + %i524 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i525 = load i32, %i524, align 4 + %i526 = icmp eq %i525, i32 0 + br %i526, bb62, bb63 +bb62: + %i528 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i529 = load half, %i528, align 8 + %i530 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i531 = load half, %i530, align 2 + %i532 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i533 = load <2 x float>, %i532, align 8 + %i534 = insertelement <4 x half> poison, %i529, i64 0 + %i535 = shufflevector <4 x half> %i534, <4 x half> poison, <0, 0, 0, 0> + %i536 = insertelement <4 x half> poison, %i531, i64 0 + %i537 = shufflevector <4 x half> %i536, <4 x half> poison, <0, 0, 0, 0> + br bb119 +bb63: + %i539 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i540 = load <2 x float>, %i539, align 8 + %i541 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i542 = load half, %i541, align 8 + %i543 = insertelement <4 x half> poison, %i542, i64 0 + %i544 = shufflevector <4 x half> %i543, <4 x half> poison, <0, 0, 0, 0> + %i545 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i546 = load half, %i545, align 2 + %i547 = insertelement <4 x half> poison, %i546, i64 0 + %i548 = shufflevector <4 x half> %i547, <4 x half> poison, <0, 0, 0, 0> + br bb120 +bb64: + %i550 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i551 = load i32, %i550, align 4 + %i552 = icmp eq %i551, i32 0 + br %i552, bb65, bb66 +bb65: + %i554 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i555 = load half, %i554, align 8 + %i556 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i557 = load half, %i556, align 2 + %i558 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i559 = load <2 x float>, %i558, align 8 + %i560 = insertelement <4 x half> poison, %i555, i64 0 + %i561 = shufflevector <4 x half> %i560, <4 x half> poison, <0, 0, 0, 0> + %i562 = insertelement <4 x half> poison, %i557, i64 0 + %i563 = shufflevector <4 x half> %i562, <4 x half> poison, <0, 0, 0, 0> + br bb117 +bb66: + %i565 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i566 = load <2 x float>, %i565, align 8 + %i567 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i568 = load half, %i567, align 8 + %i569 = insertelement <4 x half> poison, %i568, i64 0 + %i570 = shufflevector <4 x half> %i569, <4 x half> poison, <0, 0, 0, 0> + %i571 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i572 = load half, %i571, align 2 + %i573 = insertelement <4 x half> poison, %i572, i64 0 + %i574 = shufflevector <4 x half> %i573, <4 x half> poison, <0, 0, 0, 0> + br bb118 +bb67: + %i576 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i577 = load i32, %i576, align 4 + %i578 = icmp eq %i577, i32 0 + br %i578, bb68, bb69 +bb68: + %i580 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i581 = load half, %i580, align 8 + %i582 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i583 = load half, %i582, align 2 + %i584 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i585 = load <2 x float>, %i584, align 8 + %i586 = insertelement <4 x half> poison, %i581, i64 0 + %i587 = shufflevector <4 x half> %i586, <4 x half> poison, <0, 0, 0, 0> + %i588 = insertelement <4 x half> poison, %i583, i64 0 + %i589 = shufflevector <4 x half> %i588, <4 x half> poison, <0, 0, 0, 0> + br bb115 +bb69: + %i591 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i592 = load <2 x float>, %i591, align 8 + %i593 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i594 = load half, %i593, align 8 + %i595 = insertelement <4 x half> poison, %i594, i64 0 + %i596 = shufflevector <4 x half> %i595, <4 x half> poison, <0, 0, 0, 0> + %i597 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i598 = load half, %i597, align 2 + %i599 = insertelement <4 x half> poison, %i598, i64 0 + %i600 = shufflevector <4 x half> %i599, <4 x half> poison, <0, 0, 0, 0> + br bb116 +bb70: + %i602 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i603 = load i32, %i602, align 4 + %i604 = icmp eq %i603, i32 0 + br %i604, bb71, bb72 +bb71: + %i606 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i607 = load half, %i606, align 8 + %i608 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i609 = load half, %i608, align 2 + %i610 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i611 = load <2 x float>, %i610, align 8 + %i612 = insertelement <4 x half> poison, %i607, i64 0 + %i613 = shufflevector <4 x half> %i612, <4 x half> poison, <0, 0, 0, 0> + %i614 = insertelement <4 x half> poison, %i609, i64 0 + %i615 = shufflevector <4 x half> %i614, <4 x half> poison, <0, 0, 0, 0> + br bb113 +bb72: + %i617 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i618 = load <2 x float>, %i617, align 8 + %i619 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i620 = load half, %i619, align 8 + %i621 = insertelement <4 x half> poison, %i620, i64 0 + %i622 = shufflevector <4 x half> %i621, <4 x half> poison, <0, 0, 0, 0> + %i623 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i624 = load half, %i623, align 2 + %i625 = insertelement <4 x half> poison, %i624, i64 0 + %i626 = shufflevector <4 x half> %i625, <4 x half> poison, <0, 0, 0, 0> + br bb114 +bb73: + %i628 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i629 = load i32, %i628, align 4 + %i630 = icmp eq %i629, i32 0 + br %i630, bb74, bb75 +bb74: + %i632 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i633 = load half, %i632, align 8 + %i634 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i635 = load half, %i634, align 2 + %i636 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i637 = load <2 x float>, %i636, align 8 + %i638 = insertelement <4 x half> poison, %i633, i64 0 + %i639 = shufflevector <4 x half> %i638, <4 x half> poison, <0, 0, 0, 0> + %i640 = insertelement <4 x half> poison, %i635, i64 0 + %i641 = shufflevector <4 x half> %i640, <4 x half> poison, <0, 0, 0, 0> + br bb111 +bb75: + %i643 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i644 = load <2 x float>, %i643, align 8 + %i645 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i646 = load half, %i645, align 8 + %i647 = insertelement <4 x half> poison, %i646, i64 0 + %i648 = shufflevector <4 x half> %i647, <4 x half> poison, <0, 0, 0, 0> + %i649 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i650 = load half, %i649, align 2 + %i651 = insertelement <4 x half> poison, %i650, i64 0 + %i652 = shufflevector <4 x half> %i651, <4 x half> poison, <0, 0, 0, 0> + br bb112 +bb76: + %i654 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i655 = load i32, %i654, align 4 + %i656 = icmp eq %i655, i32 0 + br %i656, bb77, bb78 +bb77: + %i658 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i659 = load half, %i658, align 8 + %i660 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i661 = load half, %i660, align 2 + %i662 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i663 = load <2 x float>, %i662, align 8 + %i664 = insertelement <4 x half> poison, %i659, i64 0 + %i665 = shufflevector <4 x half> %i664, <4 x half> poison, <0, 0, 0, 0> + %i666 = insertelement <4 x half> poison, %i661, i64 0 + %i667 = shufflevector <4 x half> %i666, <4 x half> poison, <0, 0, 0, 0> + br bb109 +bb78: + %i669 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i670 = load <2 x float>, %i669, align 8 + %i671 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i672 = load half, %i671, align 8 + %i673 = insertelement <4 x half> poison, %i672, i64 0 + %i674 = shufflevector <4 x half> %i673, <4 x half> poison, <0, 0, 0, 0> + %i675 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i676 = load half, %i675, align 2 + %i677 = insertelement <4 x half> poison, %i676, i64 0 + %i678 = shufflevector <4 x half> %i677, <4 x half> poison, <0, 0, 0, 0> + br bb110 +bb79: + %i680 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i681 = load i32, %i680, align 4 + %i682 = icmp eq %i681, i32 0 + br %i682, bb80, bb81 +bb80: + %i684 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i685 = load half, %i684, align 8 + %i686 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i687 = load half, %i686, align 2 + %i688 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i689 = load <2 x float>, %i688, align 8 + %i690 = insertelement <4 x half> poison, %i685, i64 0 + %i691 = shufflevector <4 x half> %i690, <4 x half> poison, <0, 0, 0, 0> + %i692 = insertelement <4 x half> poison, %i687, i64 0 + %i693 = shufflevector <4 x half> %i692, <4 x half> poison, <0, 0, 0, 0> + br bb107 +bb81: + %i695 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i696 = load <2 x float>, %i695, align 8 + %i697 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i698 = load half, %i697, align 8 + %i699 = insertelement <4 x half> poison, %i698, i64 0 + %i700 = shufflevector <4 x half> %i699, <4 x half> poison, <0, 0, 0, 0> + %i701 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i702 = load half, %i701, align 2 + %i703 = insertelement <4 x half> poison, %i702, i64 0 + %i704 = shufflevector <4 x half> %i703, <4 x half> poison, <0, 0, 0, 0> + br bb108 +bb82: + %i706 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i707 = load i32, %i706, align 4 + %i708 = icmp eq %i707, i32 0 + br %i708, bb83, bb84 +bb83: + %i710 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i711 = load half, %i710, align 8 + %i712 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i713 = load half, %i712, align 2 + %i714 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i715 = load <2 x float>, %i714, align 8 + %i716 = insertelement <4 x half> poison, %i711, i64 0 + %i717 = shufflevector <4 x half> %i716, <4 x half> poison, <0, 0, 0, 0> + %i718 = insertelement <4 x half> poison, %i713, i64 0 + %i719 = shufflevector <4 x half> %i718, <4 x half> poison, <0, 0, 0, 0> + br bb105 +bb84: + %i721 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i722 = load <2 x float>, %i721, align 8 + %i723 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i724 = load half, %i723, align 8 + %i725 = insertelement <4 x half> poison, %i724, i64 0 + %i726 = shufflevector <4 x half> %i725, <4 x half> poison, <0, 0, 0, 0> + %i727 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i728 = load half, %i727, align 2 + %i729 = insertelement <4 x half> poison, %i728, i64 0 + %i730 = shufflevector <4 x half> %i729, <4 x half> poison, <0, 0, 0, 0> + br bb106 +bb85: + %i732 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i733 = load i32, %i732, align 4 + %i734 = icmp eq %i733, i32 0 + br %i734, bb86, bb87 +bb86: + %i736 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i737 = load half, %i736, align 8 + %i738 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i739 = load half, %i738, align 2 + %i740 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i741 = load <2 x float>, %i740, align 8 + %i742 = insertelement <4 x half> poison, %i737, i64 0 + %i743 = shufflevector <4 x half> %i742, <4 x half> poison, <0, 0, 0, 0> + %i744 = insertelement <4 x half> poison, %i739, i64 0 + %i745 = shufflevector <4 x half> %i744, <4 x half> poison, <0, 0, 0, 0> + br bb103 +bb87: + %i747 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i748 = load <2 x float>, %i747, align 8 + %i749 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i750 = load half, %i749, align 8 + %i751 = insertelement <4 x half> poison, %i750, i64 0 + %i752 = shufflevector <4 x half> %i751, <4 x half> poison, <0, 0, 0, 0> + %i753 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i754 = load half, %i753, align 2 + %i755 = insertelement <4 x half> poison, %i754, i64 0 + %i756 = shufflevector <4 x half> %i755, <4 x half> poison, <0, 0, 0, 0> + br bb104 +bb88: + %i758 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i759 = load i32, %i758, align 4 + %i760 = icmp eq %i759, i32 0 + br %i760, bb89, bb90 +bb89: + %i762 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i763 = load half, %i762, align 8 + %i764 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i765 = load half, %i764, align 2 + %i766 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i767 = load <2 x float>, %i766, align 8 + %i768 = insertelement <4 x half> poison, %i763, i64 0 + %i769 = shufflevector <4 x half> %i768, <4 x half> poison, <0, 0, 0, 0> + %i770 = insertelement <4 x half> poison, %i765, i64 0 + %i771 = shufflevector <4 x half> %i770, <4 x half> poison, <0, 0, 0, 0> + br bb101 +bb90: + %i773 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i774 = load <2 x float>, %i773, align 8 + %i775 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i776 = load half, %i775, align 8 + %i777 = insertelement <4 x half> poison, %i776, i64 0 + %i778 = shufflevector <4 x half> %i777, <4 x half> poison, <0, 0, 0, 0> + %i779 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i780 = load half, %i779, align 2 + %i781 = insertelement <4 x half> poison, %i780, i64 0 + %i782 = shufflevector <4 x half> %i781, <4 x half> poison, <0, 0, 0, 0> + br bb102 +bb91: + %i784 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i785 = load i32, %i784, align 4 + %i786 = icmp eq %i785, i32 0 + br %i786, bb92, bb93 +bb92: + %i788 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i789 = load half, %i788, align 8 + %i790 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i791 = load half, %i790, align 2 + %i792 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i793 = load <2 x float>, %i792, align 8 + %i794 = insertelement <4 x half> poison, %i789, i64 0 + %i795 = shufflevector <4 x half> %i794, <4 x half> poison, <0, 0, 0, 0> + %i796 = insertelement <4 x half> poison, %i791, i64 0 + %i797 = shufflevector <4 x half> %i796, <4 x half> poison, <0, 0, 0, 0> + br bb99 +bb93: + %i799 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i800 = load <2 x float>, %i799, align 8 + %i801 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i802 = load half, %i801, align 8 + %i803 = insertelement <4 x half> poison, %i802, i64 0 + %i804 = shufflevector <4 x half> %i803, <4 x half> poison, <0, 0, 0, 0> + %i805 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i806 = load half, %i805, align 2 + %i807 = insertelement <4 x half> poison, %i806, i64 0 + %i808 = shufflevector <4 x half> %i807, <4 x half> poison, <0, 0, 0, 0> + br bb100 +bb94: + %i810 = getelementptr inbounds %t26, %a4, i64 0, i32 1 + %i811 = load i32, %i810, align 4 + %i812 = icmp eq %i811, i32 0 + br %i812, bb95, bb96 +bb95: + %i814 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i815 = load half, %i814, align 8 + %i816 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i817 = load half, %i816, align 2 + %i818 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i819 = load <2 x float>, %i818, align 8 + %i820 = insertelement <4 x half> poison, %i815, i64 0 + %i821 = shufflevector <4 x half> %i820, <4 x half> poison, <0, 0, 0, 0> + %i822 = insertelement <4 x half> poison, %i817, i64 0 + %i823 = shufflevector <4 x half> %i822, <4 x half> poison, <0, 0, 0, 0> + br bb97 +bb96: + %i825 = getelementptr inbounds %t26, %a4, i64 0, i32 2 + %i826 = load <2 x float>, %i825, align 8 + %i827 = getelementptr inbounds %t26, %a4, i64 0, i32 5 + %i828 = load half, %i827, align 8 + %i829 = insertelement <4 x half> poison, %i828, i64 0 + %i830 = shufflevector <4 x half> %i829, <4 x half> poison, <0, 0, 0, 0> + %i831 = getelementptr inbounds %t26, %a4, i64 0, i32 6 + %i832 = load half, %i831, align 2 + %i833 = insertelement <4 x half> poison, %i832, i64 0 + %i834 = shufflevector <4 x half> %i833, <4 x half> poison, <0, 0, 0, 0> + br bb98 +bb97: + %i836 = phi <4 x half> [%i823, bb95], [%i834, bb98] + %i837 = phi <4 x half> [%i821, bb95], [%i830, bb98] + %i838 = phi <2 x float> [%i819, bb95], [%i826, bb98] + %i839 = phi <4 x half> [<4 x half> zeroinitializer, bb95], [%i973, bb98] + %i840 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i839, %i839 + %i841 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i840, %i839 + %i842 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i841, <4 x half> c294 + %i843 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i840, <4 x half> c295 + %i844 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i843, %i839 + %i845 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i844, %i842 + %i846 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i845, %i837 + %i847 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i846, %i836 + %i848 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i847, <4 x half> c296, <4 x half> c297) + %i849 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i848, <4 x half> c298 + %i850 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i849) + %i851 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i850, <4 x half> c299 + %i852 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i840, <4 x half> c300 + %i853 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i851, %i852 + %i854 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i840, <4 x half> c301 + %i855 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i853, %i854) + %i856 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i857 = load <4 x half>, %i856, align 8 + %i858 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i857, %i855 + %i859 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i860 = load <4 x half>, %i859, align 8 + %i861 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i860, <4 x half> c302 + %i862 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i840, %i841 + %i863 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i840, %i862 + %i864 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i863, %i858 + %i865 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i864, %i861 + %i866 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i865, %i865 + %i867 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i866, %i865 + %i868 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i867, <4 x half> c303 + %i869 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i866, <4 x half> c304 + %i870 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i869, %i865 + %i871 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i870, %i868 + %i872 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i871, %i837 + %i873 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i872, %i836 + %i874 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i873, <4 x half> c296, <4 x half> c297) + %i875 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i874, <4 x half> c305 + %i876 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i875) + %i877 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i876, <4 x half> c306 + %i878 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i866, <4 x half> c300 + %i879 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i878, %i877 + %i880 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i866, <4 x half> c301 + %i881 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i879, %i880) + %i882 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i881, %i857 + %i883 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i860, <4 x half> c307 + %i884 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i882, %i883 + %i885 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i884, %i866 + %i886 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i866, %i867 + %i887 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i885, %i886 + %i888 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i887, %i887 + %i889 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i888, %i887 + %i890 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i889, <4 x half> c308 + %i891 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i888, <4 x half> c309 + %i892 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i891, %i887 + %i893 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i892, %i890 + %i894 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i893, %i837 + %i895 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i894, %i836 + %i896 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i895, <4 x half> c296, <4 x half> c297) + %i897 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i896, <4 x half> c310 + %i898 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i897) + %i899 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i898, <4 x half> c311 + %i900 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i888, <4 x half> c300 + %i901 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i900, %i899 + %i902 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i888, <4 x half> c301 + %i903 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i901, %i902) + %i904 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i903, %i857 + %i905 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i860, <4 x half> c312 + %i906 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i904, %i905 + %i907 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i906, %i888 + %i908 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i888, %i889 + %i909 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i907, %i908 + %i910 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i838, <2 x float> c313 + %i911 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i910, %a1 + %i912 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i911, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i913 = extractvalue <4 x half> %i912, 0 + %i914 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i913, <4 x half> c317, %i909) + br bb162 +bb98: + %i916 = phi <4 x half> [<4 x half> zeroinitializer, bb96], [%i973, bb98] + %i917 = phi i32 [i32 0, bb96], [%i974, bb98] + %i918 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i917) + %i919 = fadd reassoc nnan ninf nsz arcp contract afn float %i918, float 0x3F000000 + %i920 = insertelement <2 x float> undef, %i919, i64 0 + %i921 = insertelement %i920, float 0x0, i64 1 + %i922 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i921, %i826 + %i923 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i922, %a1 + %i924 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i923, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i925 = extractvalue <4 x half> %i924, 0 + %i926 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i925, <4 x half> c318, %i916) + %i927 = fneg reassoc nnan ninf nsz arcp contract afn float %i919 + %i928 = insertelement <2 x float> undef, %i927, i64 0 + %i929 = insertelement %i928, float 0x0, i64 1 + %i930 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i929, %i826 + %i931 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i930, %a1 + %i932 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i931, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i933 = extractvalue <4 x half> %i932, 0 + %i934 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i933, <4 x half> c318, %i926) + %i935 = insertelement <2 x float> c319, %i919, i64 1 + %i936 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i935, %i826 + %i937 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i936, %a1 + %i938 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i937, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i939 = extractvalue <4 x half> %i938, 0 + %i940 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i939, <4 x half> c320, %i934) + %i941 = insertelement <2 x float> c319, %i927, i64 1 + %i942 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i941, %i826 + %i943 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i942, %a1 + %i944 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i943, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i945 = extractvalue <4 x half> %i944, 0 + %i946 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i945, <4 x half> c320, %i940) + %i947 = shufflevector <2 x float> %i920, <2 x float> poison, <0, 0> + %i948 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i947, %i826 + %i949 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i948, %a1 + %i950 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i949, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i951 = extractvalue <4 x half> %i950, 0 + %i952 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i951, <4 x half> c321, %i946) + %i953 = insertelement %i928, %i919, i64 1 + %i954 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i953, %i826 + %i955 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i954, %a1 + %i956 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i955, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i957 = extractvalue <4 x half> %i956, 0 + %i958 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i957, <4 x half> c321, %i952) + %i959 = insertelement %i920, %i927, i64 1 + %i960 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i959, %i826 + %i961 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i960, %a1 + %i962 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i961, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i963 = extractvalue <4 x half> %i962, 0 + %i964 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i963, <4 x half> c321, %i958) + %i965 = shufflevector <2 x float> %i928, <2 x float> poison, <0, 0> + %i966 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i965, %i826 + %i967 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i966, %a1 + %i968 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i967, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i969 = extractvalue <4 x half> %i968, 0 + %i970 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i969, <4 x half> c321, %i964) + %i971 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i970, %i830 + %i972 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i971, %i834 + %i973 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i972, <4 x half> zeroinitializer, <4 x half> c322) + %i974 = add nuw i32 %i917, i32 1 + %i975 = icmp eq %i974, %i811 + br %i975, bb97, bb98, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb99: + %i977 = phi <4 x half> [%i797, bb92], [%i808, bb100] + %i978 = phi <4 x half> [%i795, bb92], [%i804, bb100] + %i979 = phi <2 x float> [%i793, bb92], [%i800, bb100] + %i980 = phi <4 x half> [<4 x half> zeroinitializer, bb92], [%i1114, bb100] + %i981 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i980, %i980 + %i982 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i981, %i980 + %i983 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i982, <4 x half> c323 + %i984 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i981, <4 x half> c295 + %i985 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i984, %i980 + %i986 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i985, %i983 + %i987 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i986, %i978 + %i988 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i987, %i977 + %i989 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i988, <4 x half> c296, <4 x half> c324) + %i990 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i989, <4 x half> c298 + %i991 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i990) + %i992 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i991, <4 x half> c299 + %i993 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i981, <4 x half> c300 + %i994 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i992, %i993 + %i995 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i981, <4 x half> c301 + %i996 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i994, %i995) + %i997 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i998 = load <4 x half>, %i997, align 8 + %i999 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i998, %i996 + %i1000 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1001 = load <4 x half>, %i1000, align 8 + %i1002 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1001, <4 x half> c302 + %i1003 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i981, %i982 + %i1004 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i981, %i1003 + %i1005 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1004, %i999 + %i1006 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1005, %i1002 + %i1007 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1006, %i1006 + %i1008 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1007, %i1006 + %i1009 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1008, <4 x half> c325 + %i1010 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1007, <4 x half> c304 + %i1011 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1010, %i1006 + %i1012 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1011, %i1009 + %i1013 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1012, %i978 + %i1014 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1013, %i977 + %i1015 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1014, <4 x half> c296, <4 x half> c324) + %i1016 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1015, <4 x half> c305 + %i1017 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1016) + %i1018 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1017, <4 x half> c306 + %i1019 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1007, <4 x half> c300 + %i1020 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1019, %i1018 + %i1021 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1007, <4 x half> c301 + %i1022 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1020, %i1021) + %i1023 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1022, %i998 + %i1024 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1001, <4 x half> c307 + %i1025 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1023, %i1024 + %i1026 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1025, %i1007 + %i1027 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1007, %i1008 + %i1028 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1026, %i1027 + %i1029 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1028, %i1028 + %i1030 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1029, %i1028 + %i1031 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1030, <4 x half> c326 + %i1032 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1029, <4 x half> c309 + %i1033 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1032, %i1028 + %i1034 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1033, %i1031 + %i1035 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1034, %i978 + %i1036 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1035, %i977 + %i1037 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1036, <4 x half> c296, <4 x half> c324) + %i1038 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1037, <4 x half> c310 + %i1039 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1038) + %i1040 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1039, <4 x half> c311 + %i1041 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1029, <4 x half> c300 + %i1042 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1041, %i1040 + %i1043 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1029, <4 x half> c301 + %i1044 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1042, %i1043) + %i1045 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1044, %i998 + %i1046 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1001, <4 x half> c312 + %i1047 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1045, %i1046 + %i1048 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1047, %i1029 + %i1049 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1029, %i1030 + %i1050 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1048, %i1049 + %i1051 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i979, <2 x float> c327 + %i1052 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1051, %a1 + %i1053 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1052, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1054 = extractvalue <4 x half> %i1053, 0 + %i1055 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1054, <4 x half> c328, %i1050) + br bb162 +bb100: + %i1057 = phi <4 x half> [<4 x half> zeroinitializer, bb93], [%i1114, bb100] + %i1058 = phi i32 [i32 0, bb93], [%i1115, bb100] + %i1059 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1058) + %i1060 = fadd reassoc nnan ninf nsz arcp contract afn float %i1059, float 0x3F200000 + %i1061 = insertelement <2 x float> undef, %i1060, i64 0 + %i1062 = insertelement %i1061, float 0x0, i64 1 + %i1063 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1062, %i800 + %i1064 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1063, %a1 + %i1065 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1064, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1066 = extractvalue <4 x half> %i1065, 0 + %i1067 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1066, <4 x half> c330, %i1057) + %i1068 = fneg reassoc nnan ninf nsz arcp contract afn float %i1060 + %i1069 = insertelement <2 x float> undef, %i1068, i64 0 + %i1070 = insertelement %i1069, float 0x0, i64 1 + %i1071 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1070, %i800 + %i1072 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1071, %a1 + %i1073 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1072, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1074 = extractvalue <4 x half> %i1073, 0 + %i1075 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1074, <4 x half> c331, %i1067) + %i1076 = insertelement <2 x float> c319, %i1060, i64 1 + %i1077 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1076, %i800 + %i1078 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1077, %a1 + %i1079 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1078, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1080 = extractvalue <4 x half> %i1079, 0 + %i1081 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1080, <4 x half> c295, %i1075) + %i1082 = insertelement <2 x float> c319, %i1068, i64 1 + %i1083 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1082, %i800 + %i1084 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1083, %a1 + %i1085 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1084, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1086 = extractvalue <4 x half> %i1085, 0 + %i1087 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1086, <4 x half> c332, %i1081) + %i1088 = shufflevector <2 x float> %i1061, <2 x float> poison, <0, 0> + %i1089 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1088, %i800 + %i1090 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1089, %a1 + %i1091 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1090, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1092 = extractvalue <4 x half> %i1091, 0 + %i1093 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1092, <4 x half> c333, %i1087) + %i1094 = insertelement %i1069, %i1060, i64 1 + %i1095 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1094, %i800 + %i1096 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1095, %a1 + %i1097 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1096, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1098 = extractvalue <4 x half> %i1097, 0 + %i1099 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1098, <4 x half> c321, %i1093) + %i1100 = insertelement %i1061, %i1068, i64 1 + %i1101 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1100, %i800 + %i1102 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1101, %a1 + %i1103 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1102, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1104 = extractvalue <4 x half> %i1103, 0 + %i1105 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1104, <4 x half> c334, %i1099) + %i1106 = shufflevector <2 x float> %i1069, <2 x float> poison, <0, 0> + %i1107 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1106, %i800 + %i1108 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1107, %a1 + %i1109 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1108, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1110 = extractvalue <4 x half> %i1109, 0 + %i1111 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1110, <4 x half> c335, %i1105) + %i1112 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1111, %i804 + %i1113 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1112, %i808 + %i1114 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1113, <4 x half> zeroinitializer, <4 x half> c322) + %i1115 = add nuw i32 %i1058, i32 1 + %i1116 = icmp eq %i1115, %i785 + br %i1116, bb99, bb100, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb101: + %i1118 = phi <4 x half> [%i771, bb89], [%i782, bb102] + %i1119 = phi <4 x half> [%i769, bb89], [%i778, bb102] + %i1120 = phi <2 x float> [%i767, bb89], [%i774, bb102] + %i1121 = phi <4 x half> [<4 x half> zeroinitializer, bb89], [%i1255, bb102] + %i1122 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1121, %i1121 + %i1123 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1122, %i1121 + %i1124 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1123, <4 x half> c336 + %i1125 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1122, <4 x half> c295 + %i1126 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1125, %i1121 + %i1127 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1126, %i1124 + %i1128 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1127, %i1119 + %i1129 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1128, %i1118 + %i1130 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1129, <4 x half> c296, <4 x half> c297) + %i1131 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1130, <4 x half> c298 + %i1132 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1131) + %i1133 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1132, <4 x half> c299 + %i1134 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1122, <4 x half> c300 + %i1135 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1133, %i1134 + %i1136 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1122, <4 x half> c301 + %i1137 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1135, %i1136) + %i1138 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1139 = load <4 x half>, %i1138, align 8 + %i1140 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1139, %i1137 + %i1141 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1142 = load <4 x half>, %i1141, align 8 + %i1143 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1142, <4 x half> c302 + %i1144 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1122, %i1123 + %i1145 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1122, %i1144 + %i1146 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1145, %i1140 + %i1147 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1146, %i1143 + %i1148 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1147, %i1147 + %i1149 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1148, %i1147 + %i1150 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1149, <4 x half> c337 + %i1151 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1148, <4 x half> c304 + %i1152 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1151, %i1147 + %i1153 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1152, %i1150 + %i1154 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1153, %i1119 + %i1155 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1154, %i1118 + %i1156 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1155, <4 x half> c296, <4 x half> c297) + %i1157 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1156, <4 x half> c305 + %i1158 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1157) + %i1159 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1158, <4 x half> c306 + %i1160 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1148, <4 x half> c300 + %i1161 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1160, %i1159 + %i1162 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1148, <4 x half> c301 + %i1163 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1161, %i1162) + %i1164 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1163, %i1139 + %i1165 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1142, <4 x half> c307 + %i1166 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1164, %i1165 + %i1167 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1166, %i1148 + %i1168 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1148, %i1149 + %i1169 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1167, %i1168 + %i1170 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1169, %i1169 + %i1171 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1170, %i1169 + %i1172 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1171, <4 x half> c338 + %i1173 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1170, <4 x half> c309 + %i1174 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1173, %i1169 + %i1175 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1174, %i1172 + %i1176 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1175, %i1119 + %i1177 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1176, %i1118 + %i1178 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1177, <4 x half> c296, <4 x half> c297) + %i1179 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1178, <4 x half> c310 + %i1180 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1179) + %i1181 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1180, <4 x half> c311 + %i1182 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1170, <4 x half> c300 + %i1183 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1182, %i1181 + %i1184 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1170, <4 x half> c301 + %i1185 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1183, %i1184) + %i1186 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1185, %i1139 + %i1187 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1142, <4 x half> c312 + %i1188 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1186, %i1187 + %i1189 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1188, %i1170 + %i1190 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1170, %i1171 + %i1191 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1189, %i1190 + %i1192 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1120, <2 x float> c339 + %i1193 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1192, %a1 + %i1194 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1193, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1195 = extractvalue <4 x half> %i1194, 0 + %i1196 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1195, <4 x half> c340, %i1191) + br bb162 +bb102: + %i1198 = phi <4 x half> [<4 x half> zeroinitializer, bb90], [%i1255, bb102] + %i1199 = phi i32 [i32 0, bb90], [%i1256, bb102] + %i1200 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1199) + %i1201 = fadd reassoc nnan ninf nsz arcp contract afn float %i1200, float 0x3F400000 + %i1202 = insertelement <2 x float> undef, %i1201, i64 0 + %i1203 = insertelement %i1202, float 0x0, i64 1 + %i1204 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1203, %i774 + %i1205 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1204, %a1 + %i1206 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1205, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1207 = extractvalue <4 x half> %i1206, 0 + %i1208 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1207, <4 x half> c342, %i1198) + %i1209 = fneg reassoc nnan ninf nsz arcp contract afn float %i1201 + %i1210 = insertelement <2 x float> undef, %i1209, i64 0 + %i1211 = insertelement %i1210, float 0x0, i64 1 + %i1212 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1211, %i774 + %i1213 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1212, %a1 + %i1214 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1213, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1215 = extractvalue <4 x half> %i1214, 0 + %i1216 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1215, <4 x half> c343, %i1208) + %i1217 = insertelement <2 x float> c319, %i1201, i64 1 + %i1218 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1217, %i774 + %i1219 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1218, %a1 + %i1220 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1219, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1221 = extractvalue <4 x half> %i1220, 0 + %i1222 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1221, <4 x half> c304, %i1216) + %i1223 = insertelement <2 x float> c319, %i1209, i64 1 + %i1224 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1223, %i774 + %i1225 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1224, %a1 + %i1226 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1225, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1227 = extractvalue <4 x half> %i1226, 0 + %i1228 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1227, <4 x half> c344, %i1222) + %i1229 = shufflevector <2 x float> %i1202, <2 x float> poison, <0, 0> + %i1230 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1229, %i774 + %i1231 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1230, %a1 + %i1232 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1231, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1233 = extractvalue <4 x half> %i1232, 0 + %i1234 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1233, <4 x half> c345, %i1228) + %i1235 = insertelement %i1210, %i1201, i64 1 + %i1236 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1235, %i774 + %i1237 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1236, %a1 + %i1238 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1237, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1239 = extractvalue <4 x half> %i1238, 0 + %i1240 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1239, <4 x half> c321, %i1234) + %i1241 = insertelement %i1202, %i1209, i64 1 + %i1242 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1241, %i774 + %i1243 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1242, %a1 + %i1244 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1243, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1245 = extractvalue <4 x half> %i1244, 0 + %i1246 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1245, <4 x half> c346, %i1240) + %i1247 = shufflevector <2 x float> %i1210, <2 x float> poison, <0, 0> + %i1248 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1247, %i774 + %i1249 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1248, %a1 + %i1250 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1249, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1251 = extractvalue <4 x half> %i1250, 0 + %i1252 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1251, <4 x half> c321, %i1246) + %i1253 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1252, %i778 + %i1254 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1253, %i782 + %i1255 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1254, <4 x half> zeroinitializer, <4 x half> c322) + %i1256 = add nuw i32 %i1199, i32 1 + %i1257 = icmp eq %i1256, %i759 + br %i1257, bb101, bb102, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb103: + %i1259 = phi <4 x half> [%i745, bb86], [%i756, bb104] + %i1260 = phi <4 x half> [%i743, bb86], [%i752, bb104] + %i1261 = phi <2 x float> [%i741, bb86], [%i748, bb104] + %i1262 = phi <4 x half> [<4 x half> zeroinitializer, bb86], [%i1396, bb104] + %i1263 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1262, %i1262 + %i1264 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1263, %i1262 + %i1265 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1264, <4 x half> c347 + %i1266 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1263, <4 x half> c295 + %i1267 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1266, %i1262 + %i1268 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1267, %i1265 + %i1269 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1268, %i1260 + %i1270 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1269, %i1259 + %i1271 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1270, <4 x half> c296, <4 x half> c324) + %i1272 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1271, <4 x half> c298 + %i1273 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1272) + %i1274 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1273, <4 x half> c299 + %i1275 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1263, <4 x half> c300 + %i1276 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1274, %i1275 + %i1277 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1263, <4 x half> c301 + %i1278 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1276, %i1277) + %i1279 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1280 = load <4 x half>, %i1279, align 8 + %i1281 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1280, %i1278 + %i1282 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1283 = load <4 x half>, %i1282, align 8 + %i1284 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1283, <4 x half> c302 + %i1285 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1263, %i1264 + %i1286 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1263, %i1285 + %i1287 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1286, %i1281 + %i1288 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1287, %i1284 + %i1289 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1288, %i1288 + %i1290 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1289, %i1288 + %i1291 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1290, <4 x half> c348 + %i1292 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1289, <4 x half> c304 + %i1293 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1292, %i1288 + %i1294 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1293, %i1291 + %i1295 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1294, %i1260 + %i1296 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1295, %i1259 + %i1297 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1296, <4 x half> c296, <4 x half> c324) + %i1298 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1297, <4 x half> c305 + %i1299 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1298) + %i1300 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1299, <4 x half> c306 + %i1301 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1289, <4 x half> c300 + %i1302 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1301, %i1300 + %i1303 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1289, <4 x half> c301 + %i1304 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1302, %i1303) + %i1305 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1304, %i1280 + %i1306 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1283, <4 x half> c307 + %i1307 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1305, %i1306 + %i1308 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1307, %i1289 + %i1309 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1289, %i1290 + %i1310 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1308, %i1309 + %i1311 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1310, %i1310 + %i1312 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1311, %i1310 + %i1313 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1312, <4 x half> c349 + %i1314 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1311, <4 x half> c309 + %i1315 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1314, %i1310 + %i1316 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1315, %i1313 + %i1317 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1316, %i1260 + %i1318 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1317, %i1259 + %i1319 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1318, <4 x half> c296, <4 x half> c324) + %i1320 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1319, <4 x half> c310 + %i1321 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1320) + %i1322 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1321, <4 x half> c311 + %i1323 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1311, <4 x half> c300 + %i1324 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1323, %i1322 + %i1325 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1311, <4 x half> c301 + %i1326 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1324, %i1325) + %i1327 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1326, %i1280 + %i1328 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1283, <4 x half> c312 + %i1329 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1327, %i1328 + %i1330 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1329, %i1311 + %i1331 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1311, %i1312 + %i1332 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1330, %i1331 + %i1333 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1261, <2 x float> c350 + %i1334 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1333, %a1 + %i1335 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1334, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1336 = extractvalue <4 x half> %i1335, 0 + %i1337 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1336, <4 x half> c351, %i1332) + br bb162 +bb104: + %i1339 = phi <4 x half> [<4 x half> zeroinitializer, bb87], [%i1396, bb104] + %i1340 = phi i32 [i32 0, bb87], [%i1397, bb104] + %i1341 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1340) + %i1342 = fadd reassoc nnan ninf nsz arcp contract afn float %i1341, float 0x3F600000 + %i1343 = insertelement <2 x float> undef, %i1342, i64 0 + %i1344 = insertelement %i1343, float 0x0, i64 1 + %i1345 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1344, %i748 + %i1346 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1345, %a1 + %i1347 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1346, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1348 = extractvalue <4 x half> %i1347, 0 + %i1349 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1348, <4 x half> c353, %i1339) + %i1350 = fneg reassoc nnan ninf nsz arcp contract afn float %i1342 + %i1351 = insertelement <2 x float> undef, %i1350, i64 0 + %i1352 = insertelement %i1351, float 0x0, i64 1 + %i1353 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1352, %i748 + %i1354 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1353, %a1 + %i1355 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1354, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1356 = extractvalue <4 x half> %i1355, 0 + %i1357 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1356, <4 x half> c354, %i1349) + %i1358 = insertelement <2 x float> c319, %i1342, i64 1 + %i1359 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1358, %i748 + %i1360 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1359, %a1 + %i1361 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1360, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1362 = extractvalue <4 x half> %i1361, 0 + %i1363 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1362, <4 x half> c309, %i1357) + %i1364 = insertelement <2 x float> c319, %i1350, i64 1 + %i1365 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1364, %i748 + %i1366 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1365, %a1 + %i1367 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1366, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1368 = extractvalue <4 x half> %i1367, 0 + %i1369 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1368, <4 x half> c355, %i1363) + %i1370 = shufflevector <2 x float> %i1343, <2 x float> poison, <0, 0> + %i1371 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1370, %i748 + %i1372 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1371, %a1 + %i1373 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1372, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1374 = extractvalue <4 x half> %i1373, 0 + %i1375 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1374, <4 x half> c356, %i1369) + %i1376 = insertelement %i1351, %i1342, i64 1 + %i1377 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1376, %i748 + %i1378 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1377, %a1 + %i1379 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1378, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1380 = extractvalue <4 x half> %i1379, 0 + %i1381 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1380, <4 x half> c321, %i1375) + %i1382 = insertelement %i1343, %i1350, i64 1 + %i1383 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1382, %i748 + %i1384 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1383, %a1 + %i1385 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1384, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1386 = extractvalue <4 x half> %i1385, 0 + %i1387 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1386, <4 x half> c357, %i1381) + %i1388 = shufflevector <2 x float> %i1351, <2 x float> poison, <0, 0> + %i1389 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1388, %i748 + %i1390 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1389, %a1 + %i1391 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1390, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1392 = extractvalue <4 x half> %i1391, 0 + %i1393 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1392, <4 x half> c335, %i1387) + %i1394 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1393, %i752 + %i1395 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1394, %i756 + %i1396 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1395, <4 x half> zeroinitializer, <4 x half> c322) + %i1397 = add nuw i32 %i1340, i32 1 + %i1398 = icmp eq %i1397, %i733 + br %i1398, bb103, bb104, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb105: + %i1400 = phi <4 x half> [%i719, bb83], [%i730, bb106] + %i1401 = phi <4 x half> [%i717, bb83], [%i726, bb106] + %i1402 = phi <2 x float> [%i715, bb83], [%i722, bb106] + %i1403 = phi <4 x half> [<4 x half> zeroinitializer, bb83], [%i1537, bb106] + %i1404 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1403, %i1403 + %i1405 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1404, %i1403 + %i1406 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1405, <4 x half> c294 + %i1407 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1404, <4 x half> c295 + %i1408 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1407, %i1403 + %i1409 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1408, %i1406 + %i1410 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1409, %i1401 + %i1411 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1410, %i1400 + %i1412 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1411, <4 x half> c296, <4 x half> c297) + %i1413 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1412, <4 x half> c298 + %i1414 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1413) + %i1415 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1414, <4 x half> c299 + %i1416 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1404, <4 x half> c300 + %i1417 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1415, %i1416 + %i1418 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1404, <4 x half> c301 + %i1419 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1417, %i1418) + %i1420 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1421 = load <4 x half>, %i1420, align 8 + %i1422 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1421, %i1419 + %i1423 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1424 = load <4 x half>, %i1423, align 8 + %i1425 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1424, <4 x half> c302 + %i1426 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1404, %i1405 + %i1427 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1404, %i1426 + %i1428 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1427, %i1422 + %i1429 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1428, %i1425 + %i1430 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1429, %i1429 + %i1431 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1430, %i1429 + %i1432 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1431, <4 x half> c303 + %i1433 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1430, <4 x half> c304 + %i1434 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1433, %i1429 + %i1435 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1434, %i1432 + %i1436 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1435, %i1401 + %i1437 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1436, %i1400 + %i1438 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1437, <4 x half> c296, <4 x half> c297) + %i1439 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1438, <4 x half> c305 + %i1440 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1439) + %i1441 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1440, <4 x half> c306 + %i1442 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1430, <4 x half> c300 + %i1443 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1442, %i1441 + %i1444 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1430, <4 x half> c301 + %i1445 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1443, %i1444) + %i1446 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1445, %i1421 + %i1447 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1424, <4 x half> c307 + %i1448 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1446, %i1447 + %i1449 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1448, %i1430 + %i1450 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1430, %i1431 + %i1451 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1449, %i1450 + %i1452 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1451, %i1451 + %i1453 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1452, %i1451 + %i1454 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1453, <4 x half> c308 + %i1455 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1452, <4 x half> c309 + %i1456 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1455, %i1451 + %i1457 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1456, %i1454 + %i1458 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1457, %i1401 + %i1459 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1458, %i1400 + %i1460 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1459, <4 x half> c296, <4 x half> c297) + %i1461 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1460, <4 x half> c310 + %i1462 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1461) + %i1463 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1462, <4 x half> c311 + %i1464 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1452, <4 x half> c300 + %i1465 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1464, %i1463 + %i1466 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1452, <4 x half> c301 + %i1467 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1465, %i1466) + %i1468 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1467, %i1421 + %i1469 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1424, <4 x half> c312 + %i1470 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1468, %i1469 + %i1471 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1470, %i1452 + %i1472 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1452, %i1453 + %i1473 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1471, %i1472 + %i1474 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1402, <2 x float> c358 + %i1475 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1474, %a1 + %i1476 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1475, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1477 = extractvalue <4 x half> %i1476, 0 + %i1478 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1477, <4 x half> c359, %i1473) + br bb162 +bb106: + %i1480 = phi <4 x half> [<4 x half> zeroinitializer, bb84], [%i1537, bb106] + %i1481 = phi i32 [i32 0, bb84], [%i1538, bb106] + %i1482 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1481) + %i1483 = fadd reassoc nnan ninf nsz arcp contract afn float %i1482, float 0x3F800000 + %i1484 = insertelement <2 x float> undef, %i1483, i64 0 + %i1485 = insertelement %i1484, float 0x0, i64 1 + %i1486 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1485, %i722 + %i1487 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1486, %a1 + %i1488 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1487, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1489 = extractvalue <4 x half> %i1488, 0 + %i1490 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1489, <4 x half> c360, %i1480) + %i1491 = fneg reassoc nnan ninf nsz arcp contract afn float %i1483 + %i1492 = insertelement <2 x float> undef, %i1491, i64 0 + %i1493 = insertelement %i1492, float 0x0, i64 1 + %i1494 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1493, %i722 + %i1495 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1494, %a1 + %i1496 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1495, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1497 = extractvalue <4 x half> %i1496, 0 + %i1498 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1497, <4 x half> c361, %i1490) + %i1499 = insertelement <2 x float> c319, %i1483, i64 1 + %i1500 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1499, %i722 + %i1501 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1500, %a1 + %i1502 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1501, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1503 = extractvalue <4 x half> %i1502, 0 + %i1504 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1503, <4 x half> c362, %i1498) + %i1505 = insertelement <2 x float> c319, %i1491, i64 1 + %i1506 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1505, %i722 + %i1507 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1506, %a1 + %i1508 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1507, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1509 = extractvalue <4 x half> %i1508, 0 + %i1510 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1509, <4 x half> c320, %i1504) + %i1511 = shufflevector <2 x float> %i1484, <2 x float> poison, <0, 0> + %i1512 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1511, %i722 + %i1513 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1512, %a1 + %i1514 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1513, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1515 = extractvalue <4 x half> %i1514, 0 + %i1516 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1515, <4 x half> c363, %i1510) + %i1517 = insertelement %i1492, %i1483, i64 1 + %i1518 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1517, %i722 + %i1519 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1518, %a1 + %i1520 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1519, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1521 = extractvalue <4 x half> %i1520, 0 + %i1522 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1521, <4 x half> c321, %i1516) + %i1523 = insertelement %i1484, %i1491, i64 1 + %i1524 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1523, %i722 + %i1525 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1524, %a1 + %i1526 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1525, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1527 = extractvalue <4 x half> %i1526, 0 + %i1528 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1527, <4 x half> c364, %i1522) + %i1529 = shufflevector <2 x float> %i1492, <2 x float> poison, <0, 0> + %i1530 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1529, %i722 + %i1531 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1530, %a1 + %i1532 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1531, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1533 = extractvalue <4 x half> %i1532, 0 + %i1534 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1533, <4 x half> c321, %i1528) + %i1535 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1534, %i726 + %i1536 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1535, %i730 + %i1537 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1536, <4 x half> zeroinitializer, <4 x half> c322) + %i1538 = add nuw i32 %i1481, i32 1 + %i1539 = icmp eq %i1538, %i707 + br %i1539, bb105, bb106, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb107: + %i1541 = phi <4 x half> [%i693, bb80], [%i704, bb108] + %i1542 = phi <4 x half> [%i691, bb80], [%i700, bb108] + %i1543 = phi <2 x float> [%i689, bb80], [%i696, bb108] + %i1544 = phi <4 x half> [<4 x half> zeroinitializer, bb80], [%i1678, bb108] + %i1545 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1544, %i1544 + %i1546 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1545, %i1544 + %i1547 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1546, <4 x half> c323 + %i1548 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1545, <4 x half> c295 + %i1549 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1548, %i1544 + %i1550 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1549, %i1547 + %i1551 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1550, %i1542 + %i1552 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1551, %i1541 + %i1553 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1552, <4 x half> c296, <4 x half> c324) + %i1554 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1553, <4 x half> c298 + %i1555 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1554) + %i1556 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1555, <4 x half> c299 + %i1557 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1545, <4 x half> c300 + %i1558 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1556, %i1557 + %i1559 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1545, <4 x half> c301 + %i1560 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1558, %i1559) + %i1561 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1562 = load <4 x half>, %i1561, align 8 + %i1563 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1562, %i1560 + %i1564 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1565 = load <4 x half>, %i1564, align 8 + %i1566 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1565, <4 x half> c302 + %i1567 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1545, %i1546 + %i1568 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1545, %i1567 + %i1569 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1568, %i1563 + %i1570 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1569, %i1566 + %i1571 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1570, %i1570 + %i1572 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1571, %i1570 + %i1573 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1572, <4 x half> c325 + %i1574 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1571, <4 x half> c304 + %i1575 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1574, %i1570 + %i1576 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1575, %i1573 + %i1577 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1576, %i1542 + %i1578 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1577, %i1541 + %i1579 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1578, <4 x half> c296, <4 x half> c324) + %i1580 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1579, <4 x half> c305 + %i1581 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1580) + %i1582 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1581, <4 x half> c306 + %i1583 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1571, <4 x half> c300 + %i1584 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1583, %i1582 + %i1585 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1571, <4 x half> c301 + %i1586 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1584, %i1585) + %i1587 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1586, %i1562 + %i1588 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1565, <4 x half> c307 + %i1589 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1587, %i1588 + %i1590 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1589, %i1571 + %i1591 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1571, %i1572 + %i1592 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1590, %i1591 + %i1593 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1592, %i1592 + %i1594 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1593, %i1592 + %i1595 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1594, <4 x half> c326 + %i1596 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1593, <4 x half> c309 + %i1597 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1596, %i1592 + %i1598 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1597, %i1595 + %i1599 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1598, %i1542 + %i1600 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1599, %i1541 + %i1601 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1600, <4 x half> c296, <4 x half> c324) + %i1602 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1601, <4 x half> c310 + %i1603 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1602) + %i1604 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1603, <4 x half> c311 + %i1605 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1593, <4 x half> c300 + %i1606 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1605, %i1604 + %i1607 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1593, <4 x half> c301 + %i1608 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1606, %i1607) + %i1609 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1608, %i1562 + %i1610 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1565, <4 x half> c312 + %i1611 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1609, %i1610 + %i1612 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1611, %i1593 + %i1613 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1593, %i1594 + %i1614 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1612, %i1613 + %i1615 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1543, <2 x float> c365 + %i1616 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1615, %a1 + %i1617 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1616, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1618 = extractvalue <4 x half> %i1617, 0 + %i1619 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1618, <4 x half> c366, %i1614) + br bb162 +bb108: + %i1621 = phi <4 x half> [<4 x half> zeroinitializer, bb81], [%i1678, bb108] + %i1622 = phi i32 [i32 0, bb81], [%i1679, bb108] + %i1623 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1622) + %i1624 = fadd reassoc nnan ninf nsz arcp contract afn float %i1623, float 0x3F000000 + %i1625 = insertelement <2 x float> undef, %i1624, i64 0 + %i1626 = insertelement %i1625, float 0x0, i64 1 + %i1627 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1626, %i696 + %i1628 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1627, %a1 + %i1629 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1628, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1630 = extractvalue <4 x half> %i1629, 0 + %i1631 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1630, <4 x half> c367, %i1621) + %i1632 = fneg reassoc nnan ninf nsz arcp contract afn float %i1624 + %i1633 = insertelement <2 x float> undef, %i1632, i64 0 + %i1634 = insertelement %i1633, float 0x0, i64 1 + %i1635 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1634, %i696 + %i1636 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1635, %a1 + %i1637 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1636, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1638 = extractvalue <4 x half> %i1637, 0 + %i1639 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1638, <4 x half> c368, %i1631) + %i1640 = insertelement <2 x float> c319, %i1624, i64 1 + %i1641 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1640, %i696 + %i1642 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1641, %a1 + %i1643 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1642, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1644 = extractvalue <4 x half> %i1643, 0 + %i1645 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1644, <4 x half> c369, %i1639) + %i1646 = insertelement <2 x float> c319, %i1632, i64 1 + %i1647 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1646, %i696 + %i1648 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1647, %a1 + %i1649 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1648, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1650 = extractvalue <4 x half> %i1649, 0 + %i1651 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1650, <4 x half> c332, %i1645) + %i1652 = shufflevector <2 x float> %i1625, <2 x float> poison, <0, 0> + %i1653 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1652, %i696 + %i1654 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1653, %a1 + %i1655 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1654, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1656 = extractvalue <4 x half> %i1655, 0 + %i1657 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1656, <4 x half> c370, %i1651) + %i1658 = insertelement %i1633, %i1624, i64 1 + %i1659 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1658, %i696 + %i1660 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1659, %a1 + %i1661 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1660, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1662 = extractvalue <4 x half> %i1661, 0 + %i1663 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1662, <4 x half> c321, %i1657) + %i1664 = insertelement %i1625, %i1632, i64 1 + %i1665 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1664, %i696 + %i1666 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1665, %a1 + %i1667 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1666, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1668 = extractvalue <4 x half> %i1667, 0 + %i1669 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1668, <4 x half> c371, %i1663) + %i1670 = shufflevector <2 x float> %i1633, <2 x float> poison, <0, 0> + %i1671 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1670, %i696 + %i1672 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1671, %a1 + %i1673 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1672, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1674 = extractvalue <4 x half> %i1673, 0 + %i1675 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1674, <4 x half> c335, %i1669) + %i1676 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1675, %i700 + %i1677 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1676, %i704 + %i1678 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1677, <4 x half> zeroinitializer, <4 x half> c322) + %i1679 = add nuw i32 %i1622, i32 1 + %i1680 = icmp eq %i1679, %i681 + br %i1680, bb107, bb108, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb109: + %i1682 = phi <4 x half> [%i667, bb77], [%i678, bb110] + %i1683 = phi <4 x half> [%i665, bb77], [%i674, bb110] + %i1684 = phi <2 x float> [%i663, bb77], [%i670, bb110] + %i1685 = phi <4 x half> [<4 x half> zeroinitializer, bb77], [%i1819, bb110] + %i1686 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1685, %i1685 + %i1687 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1686, %i1685 + %i1688 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1687, <4 x half> c336 + %i1689 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1686, <4 x half> c295 + %i1690 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1689, %i1685 + %i1691 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1690, %i1688 + %i1692 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1691, %i1683 + %i1693 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1692, %i1682 + %i1694 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1693, <4 x half> c296, <4 x half> c297) + %i1695 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1694, <4 x half> c298 + %i1696 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1695) + %i1697 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1696, <4 x half> c299 + %i1698 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1686, <4 x half> c300 + %i1699 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1697, %i1698 + %i1700 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1686, <4 x half> c301 + %i1701 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1699, %i1700) + %i1702 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1703 = load <4 x half>, %i1702, align 8 + %i1704 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1703, %i1701 + %i1705 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1706 = load <4 x half>, %i1705, align 8 + %i1707 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1706, <4 x half> c302 + %i1708 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1686, %i1687 + %i1709 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1686, %i1708 + %i1710 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1709, %i1704 + %i1711 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1710, %i1707 + %i1712 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1711, %i1711 + %i1713 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1712, %i1711 + %i1714 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1713, <4 x half> c337 + %i1715 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1712, <4 x half> c304 + %i1716 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1715, %i1711 + %i1717 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1716, %i1714 + %i1718 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1717, %i1683 + %i1719 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1718, %i1682 + %i1720 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1719, <4 x half> c296, <4 x half> c297) + %i1721 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1720, <4 x half> c305 + %i1722 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1721) + %i1723 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1722, <4 x half> c306 + %i1724 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1712, <4 x half> c300 + %i1725 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1724, %i1723 + %i1726 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1712, <4 x half> c301 + %i1727 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1725, %i1726) + %i1728 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1727, %i1703 + %i1729 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1706, <4 x half> c307 + %i1730 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1728, %i1729 + %i1731 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1730, %i1712 + %i1732 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1712, %i1713 + %i1733 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1731, %i1732 + %i1734 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1733, %i1733 + %i1735 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1734, %i1733 + %i1736 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1735, <4 x half> c338 + %i1737 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1734, <4 x half> c309 + %i1738 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1737, %i1733 + %i1739 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1738, %i1736 + %i1740 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1739, %i1683 + %i1741 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1740, %i1682 + %i1742 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1741, <4 x half> c296, <4 x half> c297) + %i1743 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1742, <4 x half> c310 + %i1744 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1743) + %i1745 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1744, <4 x half> c311 + %i1746 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1734, <4 x half> c300 + %i1747 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1746, %i1745 + %i1748 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1734, <4 x half> c301 + %i1749 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1747, %i1748) + %i1750 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1749, %i1703 + %i1751 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1706, <4 x half> c312 + %i1752 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1750, %i1751 + %i1753 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1752, %i1734 + %i1754 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1734, %i1735 + %i1755 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1753, %i1754 + %i1756 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1684, <2 x float> c372 + %i1757 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1756, %a1 + %i1758 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1757, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1759 = extractvalue <4 x half> %i1758, 0 + %i1760 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1759, <4 x half> c373, %i1755) + br bb162 +bb110: + %i1762 = phi <4 x half> [<4 x half> zeroinitializer, bb78], [%i1819, bb110] + %i1763 = phi i32 [i32 0, bb78], [%i1820, bb110] + %i1764 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1763) + %i1765 = fadd reassoc nnan ninf nsz arcp contract afn float %i1764, float 0x3F200000 + %i1766 = insertelement <2 x float> undef, %i1765, i64 0 + %i1767 = insertelement %i1766, float 0x0, i64 1 + %i1768 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1767, %i670 + %i1769 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1768, %a1 + %i1770 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1769, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1771 = extractvalue <4 x half> %i1770, 0 + %i1772 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1771, <4 x half> c374, %i1762) + %i1773 = fneg reassoc nnan ninf nsz arcp contract afn float %i1765 + %i1774 = insertelement <2 x float> undef, %i1773, i64 0 + %i1775 = insertelement %i1774, float 0x0, i64 1 + %i1776 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1775, %i670 + %i1777 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1776, %a1 + %i1778 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1777, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1779 = extractvalue <4 x half> %i1778, 0 + %i1780 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1779, <4 x half> c375, %i1772) + %i1781 = insertelement <2 x float> c319, %i1765, i64 1 + %i1782 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1781, %i670 + %i1783 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1782, %a1 + %i1784 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1783, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1785 = extractvalue <4 x half> %i1784, 0 + %i1786 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1785, <4 x half> c376, %i1780) + %i1787 = insertelement <2 x float> c319, %i1773, i64 1 + %i1788 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1787, %i670 + %i1789 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1788, %a1 + %i1790 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1789, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1791 = extractvalue <4 x half> %i1790, 0 + %i1792 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1791, <4 x half> c344, %i1786) + %i1793 = shufflevector <2 x float> %i1766, <2 x float> poison, <0, 0> + %i1794 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1793, %i670 + %i1795 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1794, %a1 + %i1796 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1795, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1797 = extractvalue <4 x half> %i1796, 0 + %i1798 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1797, <4 x half> c377, %i1792) + %i1799 = insertelement %i1774, %i1765, i64 1 + %i1800 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1799, %i670 + %i1801 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1800, %a1 + %i1802 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1801, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1803 = extractvalue <4 x half> %i1802, 0 + %i1804 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1803, <4 x half> c321, %i1798) + %i1805 = insertelement %i1766, %i1773, i64 1 + %i1806 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1805, %i670 + %i1807 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1806, %a1 + %i1808 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1807, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1809 = extractvalue <4 x half> %i1808, 0 + %i1810 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1809, <4 x half> c378, %i1804) + %i1811 = shufflevector <2 x float> %i1774, <2 x float> poison, <0, 0> + %i1812 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1811, %i670 + %i1813 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1812, %a1 + %i1814 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1813, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1815 = extractvalue <4 x half> %i1814, 0 + %i1816 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1815, <4 x half> c321, %i1810) + %i1817 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1816, %i674 + %i1818 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1817, %i678 + %i1819 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1818, <4 x half> zeroinitializer, <4 x half> c322) + %i1820 = add nuw i32 %i1763, i32 1 + %i1821 = icmp eq %i1820, %i655 + br %i1821, bb109, bb110, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb111: + %i1823 = phi <4 x half> [%i641, bb74], [%i652, bb112] + %i1824 = phi <4 x half> [%i639, bb74], [%i648, bb112] + %i1825 = phi <2 x float> [%i637, bb74], [%i644, bb112] + %i1826 = phi <4 x half> [<4 x half> zeroinitializer, bb74], [%i1960, bb112] + %i1827 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1826, %i1826 + %i1828 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1827, %i1826 + %i1829 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1828, <4 x half> c347 + %i1830 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1827, <4 x half> c295 + %i1831 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1830, %i1826 + %i1832 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1831, %i1829 + %i1833 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1832, %i1824 + %i1834 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1833, %i1823 + %i1835 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1834, <4 x half> c296, <4 x half> c324) + %i1836 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1835, <4 x half> c298 + %i1837 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1836) + %i1838 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1837, <4 x half> c299 + %i1839 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1827, <4 x half> c300 + %i1840 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1838, %i1839 + %i1841 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1827, <4 x half> c301 + %i1842 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1840, %i1841) + %i1843 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1844 = load <4 x half>, %i1843, align 8 + %i1845 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1844, %i1842 + %i1846 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1847 = load <4 x half>, %i1846, align 8 + %i1848 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1847, <4 x half> c302 + %i1849 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1827, %i1828 + %i1850 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1827, %i1849 + %i1851 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1850, %i1845 + %i1852 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1851, %i1848 + %i1853 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1852, %i1852 + %i1854 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1853, %i1852 + %i1855 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1854, <4 x half> c348 + %i1856 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1853, <4 x half> c304 + %i1857 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1856, %i1852 + %i1858 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1857, %i1855 + %i1859 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1858, %i1824 + %i1860 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1859, %i1823 + %i1861 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1860, <4 x half> c296, <4 x half> c324) + %i1862 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1861, <4 x half> c305 + %i1863 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1862) + %i1864 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1863, <4 x half> c306 + %i1865 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1853, <4 x half> c300 + %i1866 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1865, %i1864 + %i1867 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1853, <4 x half> c301 + %i1868 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1866, %i1867) + %i1869 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1868, %i1844 + %i1870 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1847, <4 x half> c307 + %i1871 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1869, %i1870 + %i1872 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1871, %i1853 + %i1873 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1853, %i1854 + %i1874 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1872, %i1873 + %i1875 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1874, %i1874 + %i1876 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1875, %i1874 + %i1877 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1876, <4 x half> c349 + %i1878 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1875, <4 x half> c309 + %i1879 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1878, %i1874 + %i1880 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1879, %i1877 + %i1881 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1880, %i1824 + %i1882 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1881, %i1823 + %i1883 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1882, <4 x half> c296, <4 x half> c324) + %i1884 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1883, <4 x half> c310 + %i1885 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1884) + %i1886 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1885, <4 x half> c311 + %i1887 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1875, <4 x half> c300 + %i1888 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1887, %i1886 + %i1889 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1875, <4 x half> c301 + %i1890 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1888, %i1889) + %i1891 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1890, %i1844 + %i1892 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1847, <4 x half> c312 + %i1893 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1891, %i1892 + %i1894 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1893, %i1875 + %i1895 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1875, %i1876 + %i1896 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1894, %i1895 + %i1897 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1825, <2 x float> c379 + %i1898 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1897, %a1 + %i1899 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1898, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1900 = extractvalue <4 x half> %i1899, 0 + %i1901 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1900, <4 x half> c380, %i1896) + br bb162 +bb112: + %i1903 = phi <4 x half> [<4 x half> zeroinitializer, bb75], [%i1960, bb112] + %i1904 = phi i32 [i32 0, bb75], [%i1961, bb112] + %i1905 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i1904) + %i1906 = fadd reassoc nnan ninf nsz arcp contract afn float %i1905, float 0x3F400000 + %i1907 = insertelement <2 x float> undef, %i1906, i64 0 + %i1908 = insertelement %i1907, float 0x0, i64 1 + %i1909 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1908, %i644 + %i1910 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1909, %a1 + %i1911 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1910, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1912 = extractvalue <4 x half> %i1911, 0 + %i1913 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1912, <4 x half> c381, %i1903) + %i1914 = fneg reassoc nnan ninf nsz arcp contract afn float %i1906 + %i1915 = insertelement <2 x float> undef, %i1914, i64 0 + %i1916 = insertelement %i1915, float 0x0, i64 1 + %i1917 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1916, %i644 + %i1918 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1917, %a1 + %i1919 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1918, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1920 = extractvalue <4 x half> %i1919, 0 + %i1921 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1920, <4 x half> c382, %i1913) + %i1922 = insertelement <2 x float> c319, %i1906, i64 1 + %i1923 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1922, %i644 + %i1924 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1923, %a1 + %i1925 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1924, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1926 = extractvalue <4 x half> %i1925, 0 + %i1927 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1926, <4 x half> c383, %i1921) + %i1928 = insertelement <2 x float> c319, %i1914, i64 1 + %i1929 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1928, %i644 + %i1930 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1929, %a1 + %i1931 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1930, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1932 = extractvalue <4 x half> %i1931, 0 + %i1933 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1932, <4 x half> c355, %i1927) + %i1934 = shufflevector <2 x float> %i1907, <2 x float> poison, <0, 0> + %i1935 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1934, %i644 + %i1936 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1935, %a1 + %i1937 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1936, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1938 = extractvalue <4 x half> %i1937, 0 + %i1939 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1938, <4 x half> c384, %i1933) + %i1940 = insertelement %i1915, %i1906, i64 1 + %i1941 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1940, %i644 + %i1942 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1941, %a1 + %i1943 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1942, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1944 = extractvalue <4 x half> %i1943, 0 + %i1945 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1944, <4 x half> c321, %i1939) + %i1946 = insertelement %i1907, %i1914, i64 1 + %i1947 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1946, %i644 + %i1948 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1947, %a1 + %i1949 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1948, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1950 = extractvalue <4 x half> %i1949, 0 + %i1951 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1950, <4 x half> c385, %i1945) + %i1952 = shufflevector <2 x float> %i1915, <2 x float> poison, <0, 0> + %i1953 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1952, %i644 + %i1954 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i1953, %a1 + %i1955 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i1954, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i1956 = extractvalue <4 x half> %i1955, 0 + %i1957 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1956, <4 x half> c335, %i1951) + %i1958 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1957, %i648 + %i1959 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1958, %i652 + %i1960 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1959, <4 x half> zeroinitializer, <4 x half> c322) + %i1961 = add nuw i32 %i1904, i32 1 + %i1962 = icmp eq %i1961, %i629 + br %i1962, bb111, bb112, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb113: + %i1964 = phi <4 x half> [%i615, bb71], [%i626, bb114] + %i1965 = phi <4 x half> [%i613, bb71], [%i622, bb114] + %i1966 = phi <2 x float> [%i611, bb71], [%i618, bb114] + %i1967 = phi <4 x half> [<4 x half> zeroinitializer, bb71], [%i2101, bb114] + %i1968 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1967, %i1967 + %i1969 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1968, %i1967 + %i1970 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1969, <4 x half> c294 + %i1971 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1968, <4 x half> c295 + %i1972 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1971, %i1967 + %i1973 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1972, %i1970 + %i1974 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1973, %i1965 + %i1975 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1974, %i1964 + %i1976 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1975, <4 x half> c296, <4 x half> c297) + %i1977 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1976, <4 x half> c298 + %i1978 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1977) + %i1979 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1978, <4 x half> c299 + %i1980 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1968, <4 x half> c300 + %i1981 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1979, %i1980 + %i1982 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1968, <4 x half> c301 + %i1983 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i1981, %i1982) + %i1984 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i1985 = load <4 x half>, %i1984, align 8 + %i1986 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1985, %i1983 + %i1987 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i1988 = load <4 x half>, %i1987, align 8 + %i1989 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1988, <4 x half> c302 + %i1990 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1968, %i1969 + %i1991 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i1968, %i1990 + %i1992 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1991, %i1986 + %i1993 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1992, %i1989 + %i1994 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1993, %i1993 + %i1995 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1994, %i1993 + %i1996 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1995, <4 x half> c303 + %i1997 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1994, <4 x half> c304 + %i1998 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1997, %i1993 + %i1999 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1998, %i1996 + %i2000 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1999, %i1965 + %i2001 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2000, %i1964 + %i2002 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2001, <4 x half> c296, <4 x half> c297) + %i2003 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2002, <4 x half> c305 + %i2004 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2003) + %i2005 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2004, <4 x half> c306 + %i2006 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1994, <4 x half> c300 + %i2007 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2006, %i2005 + %i2008 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i1994, <4 x half> c301 + %i2009 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2007, %i2008) + %i2010 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2009, %i1985 + %i2011 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1988, <4 x half> c307 + %i2012 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2010, %i2011 + %i2013 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2012, %i1994 + %i2014 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1994, %i1995 + %i2015 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2013, %i2014 + %i2016 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2015, %i2015 + %i2017 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2016, %i2015 + %i2018 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2017, <4 x half> c308 + %i2019 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2016, <4 x half> c309 + %i2020 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2019, %i2015 + %i2021 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2020, %i2018 + %i2022 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2021, %i1965 + %i2023 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2022, %i1964 + %i2024 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2023, <4 x half> c296, <4 x half> c297) + %i2025 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2024, <4 x half> c310 + %i2026 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2025) + %i2027 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2026, <4 x half> c311 + %i2028 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2016, <4 x half> c300 + %i2029 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2028, %i2027 + %i2030 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2016, <4 x half> c301 + %i2031 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2029, %i2030) + %i2032 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2031, %i1985 + %i2033 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i1988, <4 x half> c312 + %i2034 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2032, %i2033 + %i2035 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2034, %i2016 + %i2036 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2016, %i2017 + %i2037 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2035, %i2036 + %i2038 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1966, <2 x float> c386 + %i2039 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2038, %a1 + %i2040 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2039, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2041 = extractvalue <4 x half> %i2040, 0 + %i2042 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2041, <4 x half> c387, %i2037) + br bb162 +bb114: + %i2044 = phi <4 x half> [<4 x half> zeroinitializer, bb72], [%i2101, bb114] + %i2045 = phi i32 [i32 0, bb72], [%i2102, bb114] + %i2046 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2045) + %i2047 = fadd reassoc nnan ninf nsz arcp contract afn float %i2046, float 0x3F600000 + %i2048 = insertelement <2 x float> undef, %i2047, i64 0 + %i2049 = insertelement %i2048, float 0x0, i64 1 + %i2050 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2049, %i618 + %i2051 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2050, %a1 + %i2052 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2051, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2053 = extractvalue <4 x half> %i2052, 0 + %i2054 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2053, <4 x half> c388, %i2044) + %i2055 = fneg reassoc nnan ninf nsz arcp contract afn float %i2047 + %i2056 = insertelement <2 x float> undef, %i2055, i64 0 + %i2057 = insertelement %i2056, float 0x0, i64 1 + %i2058 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2057, %i618 + %i2059 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2058, %a1 + %i2060 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2059, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2061 = extractvalue <4 x half> %i2060, 0 + %i2062 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2061, <4 x half> c389, %i2054) + %i2063 = insertelement <2 x float> c319, %i2047, i64 1 + %i2064 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2063, %i618 + %i2065 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2064, %a1 + %i2066 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2065, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2067 = extractvalue <4 x half> %i2066, 0 + %i2068 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2067, <4 x half> c320, %i2062) + %i2069 = insertelement <2 x float> c319, %i2055, i64 1 + %i2070 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2069, %i618 + %i2071 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2070, %a1 + %i2072 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2071, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2073 = extractvalue <4 x half> %i2072, 0 + %i2074 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2073, <4 x half> c320, %i2068) + %i2075 = shufflevector <2 x float> %i2048, <2 x float> poison, <0, 0> + %i2076 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2075, %i618 + %i2077 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2076, %a1 + %i2078 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2077, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2079 = extractvalue <4 x half> %i2078, 0 + %i2080 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2079, <4 x half> c335, %i2074) + %i2081 = insertelement %i2056, %i2047, i64 1 + %i2082 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2081, %i618 + %i2083 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2082, %a1 + %i2084 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2083, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2085 = extractvalue <4 x half> %i2084, 0 + %i2086 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2085, <4 x half> c321, %i2080) + %i2087 = insertelement %i2048, %i2055, i64 1 + %i2088 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2087, %i618 + %i2089 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2088, %a1 + %i2090 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2089, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2091 = extractvalue <4 x half> %i2090, 0 + %i2092 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2091, <4 x half> c390, %i2086) + %i2093 = shufflevector <2 x float> %i2056, <2 x float> poison, <0, 0> + %i2094 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2093, %i618 + %i2095 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2094, %a1 + %i2096 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2095, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2097 = extractvalue <4 x half> %i2096, 0 + %i2098 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2097, <4 x half> c321, %i2092) + %i2099 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2098, %i622 + %i2100 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2099, %i626 + %i2101 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2100, <4 x half> zeroinitializer, <4 x half> c322) + %i2102 = add nuw i32 %i2045, i32 1 + %i2103 = icmp eq %i2102, %i603 + br %i2103, bb113, bb114, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb115: + %i2105 = phi <4 x half> [%i589, bb68], [%i600, bb116] + %i2106 = phi <4 x half> [%i587, bb68], [%i596, bb116] + %i2107 = phi <2 x float> [%i585, bb68], [%i592, bb116] + %i2108 = phi <4 x half> [<4 x half> zeroinitializer, bb68], [%i2242, bb116] + %i2109 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2108, %i2108 + %i2110 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2109, %i2108 + %i2111 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2110, <4 x half> c323 + %i2112 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2109, <4 x half> c295 + %i2113 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2112, %i2108 + %i2114 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2113, %i2111 + %i2115 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2114, %i2106 + %i2116 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2115, %i2105 + %i2117 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2116, <4 x half> c296, <4 x half> c324) + %i2118 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2117, <4 x half> c298 + %i2119 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2118) + %i2120 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2119, <4 x half> c299 + %i2121 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2109, <4 x half> c300 + %i2122 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2120, %i2121 + %i2123 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2109, <4 x half> c301 + %i2124 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2122, %i2123) + %i2125 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2126 = load <4 x half>, %i2125, align 8 + %i2127 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2126, %i2124 + %i2128 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2129 = load <4 x half>, %i2128, align 8 + %i2130 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2129, <4 x half> c302 + %i2131 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2109, %i2110 + %i2132 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2109, %i2131 + %i2133 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2132, %i2127 + %i2134 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2133, %i2130 + %i2135 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2134, %i2134 + %i2136 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2135, %i2134 + %i2137 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2136, <4 x half> c325 + %i2138 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2135, <4 x half> c304 + %i2139 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2138, %i2134 + %i2140 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2139, %i2137 + %i2141 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2140, %i2106 + %i2142 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2141, %i2105 + %i2143 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2142, <4 x half> c296, <4 x half> c324) + %i2144 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2143, <4 x half> c305 + %i2145 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2144) + %i2146 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2145, <4 x half> c306 + %i2147 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2135, <4 x half> c300 + %i2148 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2147, %i2146 + %i2149 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2135, <4 x half> c301 + %i2150 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2148, %i2149) + %i2151 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2150, %i2126 + %i2152 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2129, <4 x half> c307 + %i2153 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2151, %i2152 + %i2154 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2153, %i2135 + %i2155 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2135, %i2136 + %i2156 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2154, %i2155 + %i2157 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2156, %i2156 + %i2158 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2157, %i2156 + %i2159 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2158, <4 x half> c326 + %i2160 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2157, <4 x half> c309 + %i2161 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2160, %i2156 + %i2162 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2161, %i2159 + %i2163 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2162, %i2106 + %i2164 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2163, %i2105 + %i2165 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2164, <4 x half> c296, <4 x half> c324) + %i2166 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2165, <4 x half> c310 + %i2167 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2166) + %i2168 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2167, <4 x half> c311 + %i2169 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2157, <4 x half> c300 + %i2170 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2169, %i2168 + %i2171 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2157, <4 x half> c301 + %i2172 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2170, %i2171) + %i2173 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2172, %i2126 + %i2174 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2129, <4 x half> c312 + %i2175 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2173, %i2174 + %i2176 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2175, %i2157 + %i2177 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2157, %i2158 + %i2178 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2176, %i2177 + %i2179 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2107, <2 x float> c391 + %i2180 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2179, %a1 + %i2181 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2180, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2182 = extractvalue <4 x half> %i2181, 0 + %i2183 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2182, <4 x half> c392, %i2178) + br bb162 +bb116: + %i2185 = phi <4 x half> [<4 x half> zeroinitializer, bb69], [%i2242, bb116] + %i2186 = phi i32 [i32 0, bb69], [%i2243, bb116] + %i2187 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2186) + %i2188 = fadd reassoc nnan ninf nsz arcp contract afn float %i2187, float 0x3F800000 + %i2189 = insertelement <2 x float> undef, %i2188, i64 0 + %i2190 = insertelement %i2189, float 0x0, i64 1 + %i2191 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2190, %i592 + %i2192 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2191, %a1 + %i2193 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2192, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2194 = extractvalue <4 x half> %i2193, 0 + %i2195 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2194, <4 x half> c393, %i2185) + %i2196 = fneg reassoc nnan ninf nsz arcp contract afn float %i2188 + %i2197 = insertelement <2 x float> undef, %i2196, i64 0 + %i2198 = insertelement %i2197, float 0x0, i64 1 + %i2199 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2198, %i592 + %i2200 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2199, %a1 + %i2201 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2200, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2202 = extractvalue <4 x half> %i2201, 0 + %i2203 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2202, <4 x half> c394, %i2195) + %i2204 = insertelement <2 x float> c319, %i2188, i64 1 + %i2205 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2204, %i592 + %i2206 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2205, %a1 + %i2207 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2206, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2208 = extractvalue <4 x half> %i2207, 0 + %i2209 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2208, <4 x half> c295, %i2203) + %i2210 = insertelement <2 x float> c319, %i2196, i64 1 + %i2211 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2210, %i592 + %i2212 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2211, %a1 + %i2213 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2212, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2214 = extractvalue <4 x half> %i2213, 0 + %i2215 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2214, <4 x half> c332, %i2209) + %i2216 = shufflevector <2 x float> %i2189, <2 x float> poison, <0, 0> + %i2217 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2216, %i592 + %i2218 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2217, %a1 + %i2219 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2218, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2220 = extractvalue <4 x half> %i2219, 0 + %i2221 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2220, <4 x half> c395, %i2215) + %i2222 = insertelement %i2197, %i2188, i64 1 + %i2223 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2222, %i592 + %i2224 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2223, %a1 + %i2225 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2224, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2226 = extractvalue <4 x half> %i2225, 0 + %i2227 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2226, <4 x half> c321, %i2221) + %i2228 = insertelement %i2189, %i2196, i64 1 + %i2229 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2228, %i592 + %i2230 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2229, %a1 + %i2231 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2230, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2232 = extractvalue <4 x half> %i2231, 0 + %i2233 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2232, <4 x half> c396, %i2227) + %i2234 = shufflevector <2 x float> %i2197, <2 x float> poison, <0, 0> + %i2235 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2234, %i592 + %i2236 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2235, %a1 + %i2237 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2236, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2238 = extractvalue <4 x half> %i2237, 0 + %i2239 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2238, <4 x half> c335, %i2233) + %i2240 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2239, %i596 + %i2241 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2240, %i600 + %i2242 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2241, <4 x half> zeroinitializer, <4 x half> c322) + %i2243 = add nuw i32 %i2186, i32 1 + %i2244 = icmp eq %i2243, %i577 + br %i2244, bb115, bb116, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb117: + %i2246 = phi <4 x half> [%i563, bb65], [%i574, bb118] + %i2247 = phi <4 x half> [%i561, bb65], [%i570, bb118] + %i2248 = phi <2 x float> [%i559, bb65], [%i566, bb118] + %i2249 = phi <4 x half> [<4 x half> zeroinitializer, bb65], [%i2383, bb118] + %i2250 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2249, %i2249 + %i2251 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2250, %i2249 + %i2252 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2251, <4 x half> c336 + %i2253 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2250, <4 x half> c295 + %i2254 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2253, %i2249 + %i2255 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2254, %i2252 + %i2256 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2255, %i2247 + %i2257 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2256, %i2246 + %i2258 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2257, <4 x half> c296, <4 x half> c297) + %i2259 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2258, <4 x half> c298 + %i2260 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2259) + %i2261 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2260, <4 x half> c299 + %i2262 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2250, <4 x half> c300 + %i2263 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2261, %i2262 + %i2264 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2250, <4 x half> c301 + %i2265 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2263, %i2264) + %i2266 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2267 = load <4 x half>, %i2266, align 8 + %i2268 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2267, %i2265 + %i2269 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2270 = load <4 x half>, %i2269, align 8 + %i2271 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2270, <4 x half> c302 + %i2272 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2250, %i2251 + %i2273 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2250, %i2272 + %i2274 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2273, %i2268 + %i2275 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2274, %i2271 + %i2276 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2275, %i2275 + %i2277 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2276, %i2275 + %i2278 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2277, <4 x half> c337 + %i2279 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2276, <4 x half> c304 + %i2280 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2279, %i2275 + %i2281 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2280, %i2278 + %i2282 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2281, %i2247 + %i2283 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2282, %i2246 + %i2284 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2283, <4 x half> c296, <4 x half> c297) + %i2285 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2284, <4 x half> c305 + %i2286 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2285) + %i2287 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2286, <4 x half> c306 + %i2288 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2276, <4 x half> c300 + %i2289 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2288, %i2287 + %i2290 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2276, <4 x half> c301 + %i2291 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2289, %i2290) + %i2292 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2291, %i2267 + %i2293 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2270, <4 x half> c307 + %i2294 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2292, %i2293 + %i2295 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2294, %i2276 + %i2296 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2276, %i2277 + %i2297 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2295, %i2296 + %i2298 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2297, %i2297 + %i2299 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2298, %i2297 + %i2300 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2299, <4 x half> c338 + %i2301 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2298, <4 x half> c309 + %i2302 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2301, %i2297 + %i2303 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2302, %i2300 + %i2304 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2303, %i2247 + %i2305 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2304, %i2246 + %i2306 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2305, <4 x half> c296, <4 x half> c297) + %i2307 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2306, <4 x half> c310 + %i2308 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2307) + %i2309 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2308, <4 x half> c311 + %i2310 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2298, <4 x half> c300 + %i2311 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2310, %i2309 + %i2312 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2298, <4 x half> c301 + %i2313 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2311, %i2312) + %i2314 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2313, %i2267 + %i2315 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2270, <4 x half> c312 + %i2316 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2314, %i2315 + %i2317 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2316, %i2298 + %i2318 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2298, %i2299 + %i2319 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2317, %i2318 + %i2320 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2248, <2 x float> c397 + %i2321 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2320, %a1 + %i2322 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2321, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2323 = extractvalue <4 x half> %i2322, 0 + %i2324 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2323, <4 x half> c398, %i2319) + br bb162 +bb118: + %i2326 = phi <4 x half> [<4 x half> zeroinitializer, bb66], [%i2383, bb118] + %i2327 = phi i32 [i32 0, bb66], [%i2384, bb118] + %i2328 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2327) + %i2329 = fadd reassoc nnan ninf nsz arcp contract afn float %i2328, float 0x3F000000 + %i2330 = insertelement <2 x float> undef, %i2329, i64 0 + %i2331 = insertelement %i2330, float 0x0, i64 1 + %i2332 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2331, %i566 + %i2333 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2332, %a1 + %i2334 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2333, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2335 = extractvalue <4 x half> %i2334, 0 + %i2336 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2335, <4 x half> c399, %i2326) + %i2337 = fneg reassoc nnan ninf nsz arcp contract afn float %i2329 + %i2338 = insertelement <2 x float> undef, %i2337, i64 0 + %i2339 = insertelement %i2338, float 0x0, i64 1 + %i2340 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2339, %i566 + %i2341 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2340, %a1 + %i2342 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2341, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2343 = extractvalue <4 x half> %i2342, 0 + %i2344 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2343, <4 x half> c400, %i2336) + %i2345 = insertelement <2 x float> c319, %i2329, i64 1 + %i2346 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2345, %i566 + %i2347 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2346, %a1 + %i2348 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2347, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2349 = extractvalue <4 x half> %i2348, 0 + %i2350 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2349, <4 x half> c304, %i2344) + %i2351 = insertelement <2 x float> c319, %i2337, i64 1 + %i2352 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2351, %i566 + %i2353 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2352, %a1 + %i2354 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2353, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2355 = extractvalue <4 x half> %i2354, 0 + %i2356 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2355, <4 x half> c344, %i2350) + %i2357 = shufflevector <2 x float> %i2330, <2 x float> poison, <0, 0> + %i2358 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2357, %i566 + %i2359 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2358, %a1 + %i2360 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2359, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2361 = extractvalue <4 x half> %i2360, 0 + %i2362 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2361, <4 x half> c401, %i2356) + %i2363 = insertelement %i2338, %i2329, i64 1 + %i2364 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2363, %i566 + %i2365 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2364, %a1 + %i2366 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2365, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2367 = extractvalue <4 x half> %i2366, 0 + %i2368 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2367, <4 x half> c321, %i2362) + %i2369 = insertelement %i2330, %i2337, i64 1 + %i2370 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2369, %i566 + %i2371 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2370, %a1 + %i2372 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2371, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2373 = extractvalue <4 x half> %i2372, 0 + %i2374 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2373, <4 x half> c402, %i2368) + %i2375 = shufflevector <2 x float> %i2338, <2 x float> poison, <0, 0> + %i2376 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2375, %i566 + %i2377 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2376, %a1 + %i2378 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2377, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2379 = extractvalue <4 x half> %i2378, 0 + %i2380 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2379, <4 x half> c321, %i2374) + %i2381 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2380, %i570 + %i2382 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2381, %i574 + %i2383 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2382, <4 x half> zeroinitializer, <4 x half> c322) + %i2384 = add nuw i32 %i2327, i32 1 + %i2385 = icmp eq %i2384, %i551 + br %i2385, bb117, bb118, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb119: + %i2387 = phi <4 x half> [%i537, bb62], [%i548, bb120] + %i2388 = phi <4 x half> [%i535, bb62], [%i544, bb120] + %i2389 = phi <2 x float> [%i533, bb62], [%i540, bb120] + %i2390 = phi <4 x half> [<4 x half> zeroinitializer, bb62], [%i2524, bb120] + %i2391 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2390, %i2390 + %i2392 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2391, %i2390 + %i2393 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2392, <4 x half> c347 + %i2394 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2391, <4 x half> c295 + %i2395 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2394, %i2390 + %i2396 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2395, %i2393 + %i2397 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2396, %i2388 + %i2398 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2397, %i2387 + %i2399 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2398, <4 x half> c296, <4 x half> c324) + %i2400 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2399, <4 x half> c298 + %i2401 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2400) + %i2402 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2401, <4 x half> c299 + %i2403 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2391, <4 x half> c300 + %i2404 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2402, %i2403 + %i2405 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2391, <4 x half> c301 + %i2406 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2404, %i2405) + %i2407 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2408 = load <4 x half>, %i2407, align 8 + %i2409 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2408, %i2406 + %i2410 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2411 = load <4 x half>, %i2410, align 8 + %i2412 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2411, <4 x half> c302 + %i2413 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2391, %i2392 + %i2414 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2391, %i2413 + %i2415 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2414, %i2409 + %i2416 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2415, %i2412 + %i2417 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2416, %i2416 + %i2418 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2417, %i2416 + %i2419 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2418, <4 x half> c348 + %i2420 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2417, <4 x half> c304 + %i2421 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2420, %i2416 + %i2422 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2421, %i2419 + %i2423 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2422, %i2388 + %i2424 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2423, %i2387 + %i2425 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2424, <4 x half> c296, <4 x half> c324) + %i2426 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2425, <4 x half> c305 + %i2427 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2426) + %i2428 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2427, <4 x half> c306 + %i2429 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2417, <4 x half> c300 + %i2430 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2429, %i2428 + %i2431 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2417, <4 x half> c301 + %i2432 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2430, %i2431) + %i2433 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2432, %i2408 + %i2434 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2411, <4 x half> c307 + %i2435 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2433, %i2434 + %i2436 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2435, %i2417 + %i2437 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2417, %i2418 + %i2438 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2436, %i2437 + %i2439 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2438, %i2438 + %i2440 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2439, %i2438 + %i2441 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2440, <4 x half> c349 + %i2442 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2439, <4 x half> c309 + %i2443 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2442, %i2438 + %i2444 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2443, %i2441 + %i2445 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2444, %i2388 + %i2446 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2445, %i2387 + %i2447 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2446, <4 x half> c296, <4 x half> c324) + %i2448 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2447, <4 x half> c310 + %i2449 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2448) + %i2450 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2449, <4 x half> c311 + %i2451 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2439, <4 x half> c300 + %i2452 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2451, %i2450 + %i2453 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2439, <4 x half> c301 + %i2454 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2452, %i2453) + %i2455 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2454, %i2408 + %i2456 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2411, <4 x half> c312 + %i2457 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2455, %i2456 + %i2458 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2457, %i2439 + %i2459 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2439, %i2440 + %i2460 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2458, %i2459 + %i2461 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2389, <2 x float> c403 + %i2462 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2461, %a1 + %i2463 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2462, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2464 = extractvalue <4 x half> %i2463, 0 + %i2465 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2464, <4 x half> c404, %i2460) + br bb162 +bb120: + %i2467 = phi <4 x half> [<4 x half> zeroinitializer, bb63], [%i2524, bb120] + %i2468 = phi i32 [i32 0, bb63], [%i2525, bb120] + %i2469 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2468) + %i2470 = fadd reassoc nnan ninf nsz arcp contract afn float %i2469, float 0x3F200000 + %i2471 = insertelement <2 x float> undef, %i2470, i64 0 + %i2472 = insertelement %i2471, float 0x0, i64 1 + %i2473 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2472, %i540 + %i2474 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2473, %a1 + %i2475 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2474, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2476 = extractvalue <4 x half> %i2475, 0 + %i2477 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2476, <4 x half> c405, %i2467) + %i2478 = fneg reassoc nnan ninf nsz arcp contract afn float %i2470 + %i2479 = insertelement <2 x float> undef, %i2478, i64 0 + %i2480 = insertelement %i2479, float 0x0, i64 1 + %i2481 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2480, %i540 + %i2482 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2481, %a1 + %i2483 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2482, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2484 = extractvalue <4 x half> %i2483, 0 + %i2485 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2484, <4 x half> c406, %i2477) + %i2486 = insertelement <2 x float> c319, %i2470, i64 1 + %i2487 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2486, %i540 + %i2488 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2487, %a1 + %i2489 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2488, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2490 = extractvalue <4 x half> %i2489, 0 + %i2491 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2490, <4 x half> c309, %i2485) + %i2492 = insertelement <2 x float> c319, %i2478, i64 1 + %i2493 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2492, %i540 + %i2494 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2493, %a1 + %i2495 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2494, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2496 = extractvalue <4 x half> %i2495, 0 + %i2497 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2496, <4 x half> c355, %i2491) + %i2498 = shufflevector <2 x float> %i2471, <2 x float> poison, <0, 0> + %i2499 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2498, %i540 + %i2500 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2499, %a1 + %i2501 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2500, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2502 = extractvalue <4 x half> %i2501, 0 + %i2503 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2502, <4 x half> c407, %i2497) + %i2504 = insertelement %i2479, %i2470, i64 1 + %i2505 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2504, %i540 + %i2506 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2505, %a1 + %i2507 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2506, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2508 = extractvalue <4 x half> %i2507, 0 + %i2509 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2508, <4 x half> c321, %i2503) + %i2510 = insertelement %i2471, %i2478, i64 1 + %i2511 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2510, %i540 + %i2512 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2511, %a1 + %i2513 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2512, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2514 = extractvalue <4 x half> %i2513, 0 + %i2515 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2514, <4 x half> c408, %i2509) + %i2516 = shufflevector <2 x float> %i2479, <2 x float> poison, <0, 0> + %i2517 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2516, %i540 + %i2518 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2517, %a1 + %i2519 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2518, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2520 = extractvalue <4 x half> %i2519, 0 + %i2521 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2520, <4 x half> c335, %i2515) + %i2522 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2521, %i544 + %i2523 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2522, %i548 + %i2524 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2523, <4 x half> zeroinitializer, <4 x half> c322) + %i2525 = add nuw i32 %i2468, i32 1 + %i2526 = icmp eq %i2525, %i525 + br %i2526, bb119, bb120, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb121: + %i2528 = phi <4 x half> [%i511, bb59], [%i522, bb122] + %i2529 = phi <4 x half> [%i509, bb59], [%i518, bb122] + %i2530 = phi <2 x float> [%i507, bb59], [%i514, bb122] + %i2531 = phi <4 x half> [<4 x half> zeroinitializer, bb59], [%i2665, bb122] + %i2532 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2531, %i2531 + %i2533 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2532, %i2531 + %i2534 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2533, <4 x half> c294 + %i2535 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2532, <4 x half> c295 + %i2536 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2535, %i2531 + %i2537 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2536, %i2534 + %i2538 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2537, %i2529 + %i2539 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2538, %i2528 + %i2540 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2539, <4 x half> c296, <4 x half> c297) + %i2541 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2540, <4 x half> c298 + %i2542 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2541) + %i2543 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2542, <4 x half> c299 + %i2544 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2532, <4 x half> c300 + %i2545 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2543, %i2544 + %i2546 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2532, <4 x half> c301 + %i2547 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2545, %i2546) + %i2548 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2549 = load <4 x half>, %i2548, align 8 + %i2550 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2549, %i2547 + %i2551 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2552 = load <4 x half>, %i2551, align 8 + %i2553 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2552, <4 x half> c302 + %i2554 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2532, %i2533 + %i2555 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2532, %i2554 + %i2556 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2555, %i2550 + %i2557 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2556, %i2553 + %i2558 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2557, %i2557 + %i2559 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2558, %i2557 + %i2560 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2559, <4 x half> c303 + %i2561 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2558, <4 x half> c304 + %i2562 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2561, %i2557 + %i2563 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2562, %i2560 + %i2564 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2563, %i2529 + %i2565 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2564, %i2528 + %i2566 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2565, <4 x half> c296, <4 x half> c297) + %i2567 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2566, <4 x half> c305 + %i2568 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2567) + %i2569 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2568, <4 x half> c306 + %i2570 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2558, <4 x half> c300 + %i2571 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2570, %i2569 + %i2572 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2558, <4 x half> c301 + %i2573 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2571, %i2572) + %i2574 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2573, %i2549 + %i2575 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2552, <4 x half> c307 + %i2576 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2574, %i2575 + %i2577 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2576, %i2558 + %i2578 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2558, %i2559 + %i2579 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2577, %i2578 + %i2580 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2579, %i2579 + %i2581 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2580, %i2579 + %i2582 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2581, <4 x half> c308 + %i2583 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2580, <4 x half> c309 + %i2584 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2583, %i2579 + %i2585 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2584, %i2582 + %i2586 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2585, %i2529 + %i2587 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2586, %i2528 + %i2588 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2587, <4 x half> c296, <4 x half> c297) + %i2589 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2588, <4 x half> c310 + %i2590 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2589) + %i2591 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2590, <4 x half> c311 + %i2592 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2580, <4 x half> c300 + %i2593 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2592, %i2591 + %i2594 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2580, <4 x half> c301 + %i2595 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2593, %i2594) + %i2596 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2595, %i2549 + %i2597 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2552, <4 x half> c312 + %i2598 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2596, %i2597 + %i2599 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2598, %i2580 + %i2600 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2580, %i2581 + %i2601 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2599, %i2600 + %i2602 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2530, <2 x float> c409 + %i2603 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2602, %a1 + %i2604 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2603, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2605 = extractvalue <4 x half> %i2604, 0 + %i2606 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2605, <4 x half> c410, %i2601) + br bb162 +bb122: + %i2608 = phi <4 x half> [<4 x half> zeroinitializer, bb60], [%i2665, bb122] + %i2609 = phi i32 [i32 0, bb60], [%i2666, bb122] + %i2610 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2609) + %i2611 = fadd reassoc nnan ninf nsz arcp contract afn float %i2610, float 0x3F400000 + %i2612 = insertelement <2 x float> undef, %i2611, i64 0 + %i2613 = insertelement %i2612, float 0x0, i64 1 + %i2614 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2613, %i514 + %i2615 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2614, %a1 + %i2616 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2615, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2617 = extractvalue <4 x half> %i2616, 0 + %i2618 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2617, <4 x half> c411, %i2608) + %i2619 = fneg reassoc nnan ninf nsz arcp contract afn float %i2611 + %i2620 = insertelement <2 x float> undef, %i2619, i64 0 + %i2621 = insertelement %i2620, float 0x0, i64 1 + %i2622 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2621, %i514 + %i2623 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2622, %a1 + %i2624 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2623, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2625 = extractvalue <4 x half> %i2624, 0 + %i2626 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2625, <4 x half> c412, %i2618) + %i2627 = insertelement <2 x float> c319, %i2611, i64 1 + %i2628 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2627, %i514 + %i2629 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2628, %a1 + %i2630 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2629, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2631 = extractvalue <4 x half> %i2630, 0 + %i2632 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2631, <4 x half> c362, %i2626) + %i2633 = insertelement <2 x float> c319, %i2619, i64 1 + %i2634 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2633, %i514 + %i2635 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2634, %a1 + %i2636 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2635, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2637 = extractvalue <4 x half> %i2636, 0 + %i2638 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2637, <4 x half> c320, %i2632) + %i2639 = shufflevector <2 x float> %i2612, <2 x float> poison, <0, 0> + %i2640 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2639, %i514 + %i2641 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2640, %a1 + %i2642 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2641, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2643 = extractvalue <4 x half> %i2642, 0 + %i2644 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2643, <4 x half> c413, %i2638) + %i2645 = insertelement %i2620, %i2611, i64 1 + %i2646 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2645, %i514 + %i2647 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2646, %a1 + %i2648 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2647, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2649 = extractvalue <4 x half> %i2648, 0 + %i2650 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2649, <4 x half> c321, %i2644) + %i2651 = insertelement %i2612, %i2619, i64 1 + %i2652 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2651, %i514 + %i2653 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2652, %a1 + %i2654 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2653, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2655 = extractvalue <4 x half> %i2654, 0 + %i2656 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2655, <4 x half> c414, %i2650) + %i2657 = shufflevector <2 x float> %i2620, <2 x float> poison, <0, 0> + %i2658 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2657, %i514 + %i2659 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2658, %a1 + %i2660 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2659, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2661 = extractvalue <4 x half> %i2660, 0 + %i2662 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2661, <4 x half> c321, %i2656) + %i2663 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2662, %i518 + %i2664 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2663, %i522 + %i2665 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2664, <4 x half> zeroinitializer, <4 x half> c322) + %i2666 = add nuw i32 %i2609, i32 1 + %i2667 = icmp eq %i2666, %i499 + br %i2667, bb121, bb122, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb123: + %i2669 = phi <4 x half> [%i485, bb56], [%i496, bb124] + %i2670 = phi <4 x half> [%i483, bb56], [%i492, bb124] + %i2671 = phi <2 x float> [%i481, bb56], [%i488, bb124] + %i2672 = phi <4 x half> [<4 x half> zeroinitializer, bb56], [%i2806, bb124] + %i2673 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2672, %i2672 + %i2674 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2673, %i2672 + %i2675 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2674, <4 x half> c323 + %i2676 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2673, <4 x half> c295 + %i2677 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2676, %i2672 + %i2678 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2677, %i2675 + %i2679 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2678, %i2670 + %i2680 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2679, %i2669 + %i2681 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2680, <4 x half> c296, <4 x half> c324) + %i2682 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2681, <4 x half> c298 + %i2683 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2682) + %i2684 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2683, <4 x half> c299 + %i2685 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2673, <4 x half> c300 + %i2686 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2684, %i2685 + %i2687 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2673, <4 x half> c301 + %i2688 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2686, %i2687) + %i2689 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2690 = load <4 x half>, %i2689, align 8 + %i2691 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2690, %i2688 + %i2692 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2693 = load <4 x half>, %i2692, align 8 + %i2694 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2693, <4 x half> c302 + %i2695 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2673, %i2674 + %i2696 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2673, %i2695 + %i2697 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2696, %i2691 + %i2698 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2697, %i2694 + %i2699 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2698, %i2698 + %i2700 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2699, %i2698 + %i2701 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2700, <4 x half> c325 + %i2702 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2699, <4 x half> c304 + %i2703 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2702, %i2698 + %i2704 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2703, %i2701 + %i2705 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2704, %i2670 + %i2706 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2705, %i2669 + %i2707 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2706, <4 x half> c296, <4 x half> c324) + %i2708 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2707, <4 x half> c305 + %i2709 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2708) + %i2710 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2709, <4 x half> c306 + %i2711 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2699, <4 x half> c300 + %i2712 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2711, %i2710 + %i2713 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2699, <4 x half> c301 + %i2714 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2712, %i2713) + %i2715 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2714, %i2690 + %i2716 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2693, <4 x half> c307 + %i2717 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2715, %i2716 + %i2718 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2717, %i2699 + %i2719 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2699, %i2700 + %i2720 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2718, %i2719 + %i2721 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2720, %i2720 + %i2722 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2721, %i2720 + %i2723 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2722, <4 x half> c326 + %i2724 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2721, <4 x half> c309 + %i2725 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2724, %i2720 + %i2726 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2725, %i2723 + %i2727 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2726, %i2670 + %i2728 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2727, %i2669 + %i2729 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2728, <4 x half> c296, <4 x half> c324) + %i2730 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2729, <4 x half> c310 + %i2731 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2730) + %i2732 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2731, <4 x half> c311 + %i2733 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2721, <4 x half> c300 + %i2734 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2733, %i2732 + %i2735 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2721, <4 x half> c301 + %i2736 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2734, %i2735) + %i2737 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2736, %i2690 + %i2738 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2693, <4 x half> c312 + %i2739 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2737, %i2738 + %i2740 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2739, %i2721 + %i2741 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2721, %i2722 + %i2742 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2740, %i2741 + %i2743 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2671, <2 x float> c415 + %i2744 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2743, %a1 + %i2745 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2744, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2746 = extractvalue <4 x half> %i2745, 0 + %i2747 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2746, <4 x half> c416, %i2742) + br bb162 +bb124: + %i2749 = phi <4 x half> [<4 x half> zeroinitializer, bb57], [%i2806, bb124] + %i2750 = phi i32 [i32 0, bb57], [%i2807, bb124] + %i2751 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2750) + %i2752 = fadd reassoc nnan ninf nsz arcp contract afn float %i2751, float 0x3F600000 + %i2753 = insertelement <2 x float> undef, %i2752, i64 0 + %i2754 = insertelement %i2753, float 0x0, i64 1 + %i2755 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2754, %i488 + %i2756 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2755, %a1 + %i2757 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2756, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2758 = extractvalue <4 x half> %i2757, 0 + %i2759 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2758, <4 x half> c417, %i2749) + %i2760 = fneg reassoc nnan ninf nsz arcp contract afn float %i2752 + %i2761 = insertelement <2 x float> undef, %i2760, i64 0 + %i2762 = insertelement %i2761, float 0x0, i64 1 + %i2763 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2762, %i488 + %i2764 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2763, %a1 + %i2765 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2764, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2766 = extractvalue <4 x half> %i2765, 0 + %i2767 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2766, <4 x half> c418, %i2759) + %i2768 = insertelement <2 x float> c319, %i2752, i64 1 + %i2769 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2768, %i488 + %i2770 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2769, %a1 + %i2771 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2770, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2772 = extractvalue <4 x half> %i2771, 0 + %i2773 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2772, <4 x half> c369, %i2767) + %i2774 = insertelement <2 x float> c319, %i2760, i64 1 + %i2775 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2774, %i488 + %i2776 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2775, %a1 + %i2777 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2776, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2778 = extractvalue <4 x half> %i2777, 0 + %i2779 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2778, <4 x half> c332, %i2773) + %i2780 = shufflevector <2 x float> %i2753, <2 x float> poison, <0, 0> + %i2781 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2780, %i488 + %i2782 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2781, %a1 + %i2783 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2782, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2784 = extractvalue <4 x half> %i2783, 0 + %i2785 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2784, <4 x half> c419, %i2779) + %i2786 = insertelement %i2761, %i2752, i64 1 + %i2787 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2786, %i488 + %i2788 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2787, %a1 + %i2789 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2788, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2790 = extractvalue <4 x half> %i2789, 0 + %i2791 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2790, <4 x half> c321, %i2785) + %i2792 = insertelement %i2753, %i2760, i64 1 + %i2793 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2792, %i488 + %i2794 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2793, %a1 + %i2795 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2794, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2796 = extractvalue <4 x half> %i2795, 0 + %i2797 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2796, <4 x half> c420, %i2791) + %i2798 = shufflevector <2 x float> %i2761, <2 x float> poison, <0, 0> + %i2799 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2798, %i488 + %i2800 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2799, %a1 + %i2801 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2800, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2802 = extractvalue <4 x half> %i2801, 0 + %i2803 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2802, <4 x half> c335, %i2797) + %i2804 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2803, %i492 + %i2805 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2804, %i496 + %i2806 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2805, <4 x half> zeroinitializer, <4 x half> c322) + %i2807 = add nuw i32 %i2750, i32 1 + %i2808 = icmp eq %i2807, %i473 + br %i2808, bb123, bb124, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb125: + %i2810 = phi <4 x half> [%i459, bb53], [%i470, bb126] + %i2811 = phi <4 x half> [%i457, bb53], [%i466, bb126] + %i2812 = phi <2 x float> [%i455, bb53], [%i462, bb126] + %i2813 = phi <4 x half> [<4 x half> zeroinitializer, bb53], [%i2947, bb126] + %i2814 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2813, %i2813 + %i2815 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2814, %i2813 + %i2816 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2815, <4 x half> c336 + %i2817 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2814, <4 x half> c295 + %i2818 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2817, %i2813 + %i2819 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2818, %i2816 + %i2820 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2819, %i2811 + %i2821 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2820, %i2810 + %i2822 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2821, <4 x half> c296, <4 x half> c297) + %i2823 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2822, <4 x half> c298 + %i2824 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2823) + %i2825 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2824, <4 x half> c299 + %i2826 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2814, <4 x half> c300 + %i2827 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2825, %i2826 + %i2828 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2814, <4 x half> c301 + %i2829 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2827, %i2828) + %i2830 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2831 = load <4 x half>, %i2830, align 8 + %i2832 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2831, %i2829 + %i2833 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2834 = load <4 x half>, %i2833, align 8 + %i2835 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2834, <4 x half> c302 + %i2836 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2814, %i2815 + %i2837 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2814, %i2836 + %i2838 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2837, %i2832 + %i2839 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2838, %i2835 + %i2840 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2839, %i2839 + %i2841 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2840, %i2839 + %i2842 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2841, <4 x half> c337 + %i2843 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2840, <4 x half> c304 + %i2844 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2843, %i2839 + %i2845 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2844, %i2842 + %i2846 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2845, %i2811 + %i2847 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2846, %i2810 + %i2848 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2847, <4 x half> c296, <4 x half> c297) + %i2849 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2848, <4 x half> c305 + %i2850 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2849) + %i2851 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2850, <4 x half> c306 + %i2852 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2840, <4 x half> c300 + %i2853 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2852, %i2851 + %i2854 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2840, <4 x half> c301 + %i2855 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2853, %i2854) + %i2856 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2855, %i2831 + %i2857 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2834, <4 x half> c307 + %i2858 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2856, %i2857 + %i2859 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2858, %i2840 + %i2860 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2840, %i2841 + %i2861 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2859, %i2860 + %i2862 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2861, %i2861 + %i2863 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2862, %i2861 + %i2864 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2863, <4 x half> c338 + %i2865 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2862, <4 x half> c309 + %i2866 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2865, %i2861 + %i2867 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2866, %i2864 + %i2868 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2867, %i2811 + %i2869 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2868, %i2810 + %i2870 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2869, <4 x half> c296, <4 x half> c297) + %i2871 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2870, <4 x half> c310 + %i2872 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2871) + %i2873 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2872, <4 x half> c311 + %i2874 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2862, <4 x half> c300 + %i2875 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2874, %i2873 + %i2876 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2862, <4 x half> c301 + %i2877 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2875, %i2876) + %i2878 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2877, %i2831 + %i2879 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2834, <4 x half> c312 + %i2880 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2878, %i2879 + %i2881 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2880, %i2862 + %i2882 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2862, %i2863 + %i2883 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2881, %i2882 + %i2884 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2812, <2 x float> c421 + %i2885 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2884, %a1 + %i2886 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2885, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2887 = extractvalue <4 x half> %i2886, 0 + %i2888 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2887, <4 x half> c422, %i2883) + br bb162 +bb126: + %i2890 = phi <4 x half> [<4 x half> zeroinitializer, bb54], [%i2947, bb126] + %i2891 = phi i32 [i32 0, bb54], [%i2948, bb126] + %i2892 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i2891) + %i2893 = fadd reassoc nnan ninf nsz arcp contract afn float %i2892, float 0x3F800000 + %i2894 = insertelement <2 x float> undef, %i2893, i64 0 + %i2895 = insertelement %i2894, float 0x0, i64 1 + %i2896 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2895, %i462 + %i2897 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2896, %a1 + %i2898 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2897, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2899 = extractvalue <4 x half> %i2898, 0 + %i2900 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2899, <4 x half> c423, %i2890) + %i2901 = fneg reassoc nnan ninf nsz arcp contract afn float %i2893 + %i2902 = insertelement <2 x float> undef, %i2901, i64 0 + %i2903 = insertelement %i2902, float 0x0, i64 1 + %i2904 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2903, %i462 + %i2905 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2904, %a1 + %i2906 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2905, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2907 = extractvalue <4 x half> %i2906, 0 + %i2908 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2907, <4 x half> c424, %i2900) + %i2909 = insertelement <2 x float> c319, %i2893, i64 1 + %i2910 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2909, %i462 + %i2911 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2910, %a1 + %i2912 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2911, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2913 = extractvalue <4 x half> %i2912, 0 + %i2914 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2913, <4 x half> c376, %i2908) + %i2915 = insertelement <2 x float> c319, %i2901, i64 1 + %i2916 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2915, %i462 + %i2917 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2916, %a1 + %i2918 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2917, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2919 = extractvalue <4 x half> %i2918, 0 + %i2920 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2919, <4 x half> c344, %i2914) + %i2921 = shufflevector <2 x float> %i2894, <2 x float> poison, <0, 0> + %i2922 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2921, %i462 + %i2923 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2922, %a1 + %i2924 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2923, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2925 = extractvalue <4 x half> %i2924, 0 + %i2926 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2925, <4 x half> c425, %i2920) + %i2927 = insertelement %i2902, %i2893, i64 1 + %i2928 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2927, %i462 + %i2929 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2928, %a1 + %i2930 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2929, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2931 = extractvalue <4 x half> %i2930, 0 + %i2932 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2931, <4 x half> c321, %i2926) + %i2933 = insertelement %i2894, %i2901, i64 1 + %i2934 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2933, %i462 + %i2935 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2934, %a1 + %i2936 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2935, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2937 = extractvalue <4 x half> %i2936, 0 + %i2938 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2937, <4 x half> c426, %i2932) + %i2939 = shufflevector <2 x float> %i2902, <2 x float> poison, <0, 0> + %i2940 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2939, %i462 + %i2941 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i2940, %a1 + %i2942 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i2941, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i2943 = extractvalue <4 x half> %i2942, 0 + %i2944 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2943, <4 x half> c321, %i2938) + %i2945 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2944, %i466 + %i2946 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2945, %i470 + %i2947 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2946, <4 x half> zeroinitializer, <4 x half> c322) + %i2948 = add nuw i32 %i2891, i32 1 + %i2949 = icmp eq %i2948, %i447 + br %i2949, bb125, bb126, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb127: + %i2951 = phi <4 x half> [%i433, bb50], [%i444, bb128] + %i2952 = phi <4 x half> [%i431, bb50], [%i440, bb128] + %i2953 = phi <2 x float> [%i429, bb50], [%i436, bb128] + %i2954 = phi <4 x half> [<4 x half> zeroinitializer, bb50], [%i3088, bb128] + %i2955 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2954, %i2954 + %i2956 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2955, %i2954 + %i2957 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2956, <4 x half> c347 + %i2958 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2955, <4 x half> c295 + %i2959 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2958, %i2954 + %i2960 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2959, %i2957 + %i2961 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2960, %i2952 + %i2962 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2961, %i2951 + %i2963 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2962, <4 x half> c296, <4 x half> c324) + %i2964 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2963, <4 x half> c298 + %i2965 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2964) + %i2966 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2965, <4 x half> c299 + %i2967 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2955, <4 x half> c300 + %i2968 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2966, %i2967 + %i2969 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2955, <4 x half> c301 + %i2970 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2968, %i2969) + %i2971 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i2972 = load <4 x half>, %i2971, align 8 + %i2973 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2972, %i2970 + %i2974 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i2975 = load <4 x half>, %i2974, align 8 + %i2976 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2975, <4 x half> c302 + %i2977 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2955, %i2956 + %i2978 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i2955, %i2977 + %i2979 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2978, %i2973 + %i2980 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2979, %i2976 + %i2981 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2980, %i2980 + %i2982 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2981, %i2980 + %i2983 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2982, <4 x half> c348 + %i2984 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2981, <4 x half> c304 + %i2985 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2984, %i2980 + %i2986 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2985, %i2983 + %i2987 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2986, %i2952 + %i2988 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2987, %i2951 + %i2989 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2988, <4 x half> c296, <4 x half> c324) + %i2990 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2989, <4 x half> c305 + %i2991 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2990) + %i2992 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2991, <4 x half> c306 + %i2993 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2981, <4 x half> c300 + %i2994 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2993, %i2992 + %i2995 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2981, <4 x half> c301 + %i2996 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i2994, %i2995) + %i2997 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2996, %i2972 + %i2998 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2975, <4 x half> c307 + %i2999 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2997, %i2998 + %i3000 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i2999, %i2981 + %i3001 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2981, %i2982 + %i3002 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3000, %i3001 + %i3003 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3002, %i3002 + %i3004 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3003, %i3002 + %i3005 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3004, <4 x half> c349 + %i3006 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3003, <4 x half> c309 + %i3007 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3006, %i3002 + %i3008 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3007, %i3005 + %i3009 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3008, %i2952 + %i3010 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3009, %i2951 + %i3011 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3010, <4 x half> c296, <4 x half> c324) + %i3012 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3011, <4 x half> c310 + %i3013 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3012) + %i3014 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3013, <4 x half> c311 + %i3015 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3003, <4 x half> c300 + %i3016 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3015, %i3014 + %i3017 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3003, <4 x half> c301 + %i3018 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3016, %i3017) + %i3019 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3018, %i2972 + %i3020 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i2975, <4 x half> c312 + %i3021 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3019, %i3020 + %i3022 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3021, %i3003 + %i3023 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3003, %i3004 + %i3024 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3022, %i3023 + %i3025 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i2953, <2 x float> c427 + %i3026 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3025, %a1 + %i3027 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3026, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3028 = extractvalue <4 x half> %i3027, 0 + %i3029 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3028, <4 x half> c428, %i3024) + br bb162 +bb128: + %i3031 = phi <4 x half> [<4 x half> zeroinitializer, bb51], [%i3088, bb128] + %i3032 = phi i32 [i32 0, bb51], [%i3089, bb128] + %i3033 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3032) + %i3034 = fadd reassoc nnan ninf nsz arcp contract afn float %i3033, float 0x3F000000 + %i3035 = insertelement <2 x float> undef, %i3034, i64 0 + %i3036 = insertelement %i3035, float 0x0, i64 1 + %i3037 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3036, %i436 + %i3038 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3037, %a1 + %i3039 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3038, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3040 = extractvalue <4 x half> %i3039, 0 + %i3041 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3040, <4 x half> c429, %i3031) + %i3042 = fneg reassoc nnan ninf nsz arcp contract afn float %i3034 + %i3043 = insertelement <2 x float> undef, %i3042, i64 0 + %i3044 = insertelement %i3043, float 0x0, i64 1 + %i3045 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3044, %i436 + %i3046 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3045, %a1 + %i3047 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3046, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3048 = extractvalue <4 x half> %i3047, 0 + %i3049 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3048, <4 x half> c295, %i3041) + %i3050 = insertelement <2 x float> c319, %i3034, i64 1 + %i3051 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3050, %i436 + %i3052 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3051, %a1 + %i3053 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3052, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3054 = extractvalue <4 x half> %i3053, 0 + %i3055 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3054, <4 x half> c383, %i3049) + %i3056 = insertelement <2 x float> c319, %i3042, i64 1 + %i3057 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3056, %i436 + %i3058 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3057, %a1 + %i3059 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3058, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3060 = extractvalue <4 x half> %i3059, 0 + %i3061 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3060, <4 x half> c355, %i3055) + %i3062 = shufflevector <2 x float> %i3035, <2 x float> poison, <0, 0> + %i3063 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3062, %i436 + %i3064 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3063, %a1 + %i3065 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3064, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3066 = extractvalue <4 x half> %i3065, 0 + %i3067 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3066, <4 x half> c430, %i3061) + %i3068 = insertelement %i3043, %i3034, i64 1 + %i3069 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3068, %i436 + %i3070 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3069, %a1 + %i3071 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3070, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3072 = extractvalue <4 x half> %i3071, 0 + %i3073 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3072, <4 x half> c321, %i3067) + %i3074 = insertelement %i3035, %i3042, i64 1 + %i3075 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3074, %i436 + %i3076 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3075, %a1 + %i3077 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3076, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3078 = extractvalue <4 x half> %i3077, 0 + %i3079 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3078, <4 x half> c431, %i3073) + %i3080 = shufflevector <2 x float> %i3043, <2 x float> poison, <0, 0> + %i3081 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3080, %i436 + %i3082 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3081, %a1 + %i3083 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3082, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3084 = extractvalue <4 x half> %i3083, 0 + %i3085 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3084, <4 x half> c335, %i3079) + %i3086 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3085, %i440 + %i3087 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3086, %i444 + %i3088 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3087, <4 x half> zeroinitializer, <4 x half> c322) + %i3089 = add nuw i32 %i3032, i32 1 + %i3090 = icmp eq %i3089, %i421 + br %i3090, bb127, bb128, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb129: + %i3092 = phi <4 x half> [%i407, bb47], [%i418, bb130] + %i3093 = phi <4 x half> [%i405, bb47], [%i414, bb130] + %i3094 = phi <2 x float> [%i403, bb47], [%i410, bb130] + %i3095 = phi <4 x half> [<4 x half> zeroinitializer, bb47], [%i3229, bb130] + %i3096 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3095, %i3095 + %i3097 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3096, %i3095 + %i3098 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3097, <4 x half> c294 + %i3099 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3096, <4 x half> c295 + %i3100 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3099, %i3095 + %i3101 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3100, %i3098 + %i3102 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3101, %i3093 + %i3103 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3102, %i3092 + %i3104 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3103, <4 x half> c296, <4 x half> c297) + %i3105 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3104, <4 x half> c298 + %i3106 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3105) + %i3107 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3106, <4 x half> c299 + %i3108 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3096, <4 x half> c300 + %i3109 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3107, %i3108 + %i3110 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3096, <4 x half> c301 + %i3111 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3109, %i3110) + %i3112 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3113 = load <4 x half>, %i3112, align 8 + %i3114 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3113, %i3111 + %i3115 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3116 = load <4 x half>, %i3115, align 8 + %i3117 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3116, <4 x half> c302 + %i3118 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3096, %i3097 + %i3119 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3096, %i3118 + %i3120 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3119, %i3114 + %i3121 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3120, %i3117 + %i3122 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3121, %i3121 + %i3123 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3122, %i3121 + %i3124 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3123, <4 x half> c303 + %i3125 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3122, <4 x half> c304 + %i3126 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3125, %i3121 + %i3127 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3126, %i3124 + %i3128 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3127, %i3093 + %i3129 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3128, %i3092 + %i3130 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3129, <4 x half> c296, <4 x half> c297) + %i3131 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3130, <4 x half> c305 + %i3132 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3131) + %i3133 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3132, <4 x half> c306 + %i3134 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3122, <4 x half> c300 + %i3135 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3134, %i3133 + %i3136 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3122, <4 x half> c301 + %i3137 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3135, %i3136) + %i3138 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3137, %i3113 + %i3139 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3116, <4 x half> c307 + %i3140 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3138, %i3139 + %i3141 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3140, %i3122 + %i3142 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3122, %i3123 + %i3143 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3141, %i3142 + %i3144 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3143, %i3143 + %i3145 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3144, %i3143 + %i3146 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3145, <4 x half> c308 + %i3147 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3144, <4 x half> c309 + %i3148 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3147, %i3143 + %i3149 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3148, %i3146 + %i3150 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3149, %i3093 + %i3151 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3150, %i3092 + %i3152 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3151, <4 x half> c296, <4 x half> c297) + %i3153 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3152, <4 x half> c310 + %i3154 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3153) + %i3155 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3154, <4 x half> c311 + %i3156 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3144, <4 x half> c300 + %i3157 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3156, %i3155 + %i3158 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3144, <4 x half> c301 + %i3159 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3157, %i3158) + %i3160 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3159, %i3113 + %i3161 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3116, <4 x half> c312 + %i3162 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3160, %i3161 + %i3163 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3162, %i3144 + %i3164 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3144, %i3145 + %i3165 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3163, %i3164 + %i3166 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3094, <2 x float> c432 + %i3167 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3166, %a1 + %i3168 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3167, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3169 = extractvalue <4 x half> %i3168, 0 + %i3170 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3169, <4 x half> c433, %i3165) + br bb162 +bb130: + %i3172 = phi <4 x half> [<4 x half> zeroinitializer, bb48], [%i3229, bb130] + %i3173 = phi i32 [i32 0, bb48], [%i3230, bb130] + %i3174 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3173) + %i3175 = fadd reassoc nnan ninf nsz arcp contract afn float %i3174, float 0x3F200000 + %i3176 = insertelement <2 x float> undef, %i3175, i64 0 + %i3177 = insertelement %i3176, float 0x0, i64 1 + %i3178 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3177, %i410 + %i3179 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3178, %a1 + %i3180 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3179, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3181 = extractvalue <4 x half> %i3180, 0 + %i3182 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3181, <4 x half> c434, %i3172) + %i3183 = fneg reassoc nnan ninf nsz arcp contract afn float %i3175 + %i3184 = insertelement <2 x float> undef, %i3183, i64 0 + %i3185 = insertelement %i3184, float 0x0, i64 1 + %i3186 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3185, %i410 + %i3187 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3186, %a1 + %i3188 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3187, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3189 = extractvalue <4 x half> %i3188, 0 + %i3190 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3189, <4 x half> c435, %i3182) + %i3191 = insertelement <2 x float> c319, %i3175, i64 1 + %i3192 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3191, %i410 + %i3193 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3192, %a1 + %i3194 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3193, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3195 = extractvalue <4 x half> %i3194, 0 + %i3196 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3195, <4 x half> c320, %i3190) + %i3197 = insertelement <2 x float> c319, %i3183, i64 1 + %i3198 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3197, %i410 + %i3199 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3198, %a1 + %i3200 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3199, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3201 = extractvalue <4 x half> %i3200, 0 + %i3202 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3201, <4 x half> c320, %i3196) + %i3203 = shufflevector <2 x float> %i3176, <2 x float> poison, <0, 0> + %i3204 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3203, %i410 + %i3205 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3204, %a1 + %i3206 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3205, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3207 = extractvalue <4 x half> %i3206, 0 + %i3208 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3207, <4 x half> c436, %i3202) + %i3209 = insertelement %i3184, %i3175, i64 1 + %i3210 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3209, %i410 + %i3211 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3210, %a1 + %i3212 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3211, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3213 = extractvalue <4 x half> %i3212, 0 + %i3214 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3213, <4 x half> c321, %i3208) + %i3215 = insertelement %i3176, %i3183, i64 1 + %i3216 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3215, %i410 + %i3217 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3216, %a1 + %i3218 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3217, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3219 = extractvalue <4 x half> %i3218, 0 + %i3220 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3219, <4 x half> c437, %i3214) + %i3221 = shufflevector <2 x float> %i3184, <2 x float> poison, <0, 0> + %i3222 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3221, %i410 + %i3223 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3222, %a1 + %i3224 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3223, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3225 = extractvalue <4 x half> %i3224, 0 + %i3226 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3225, <4 x half> c321, %i3220) + %i3227 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3226, %i414 + %i3228 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3227, %i418 + %i3229 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3228, <4 x half> zeroinitializer, <4 x half> c322) + %i3230 = add nuw i32 %i3173, i32 1 + %i3231 = icmp eq %i3230, %i395 + br %i3231, bb129, bb130, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb131: + %i3233 = phi <4 x half> [%i381, bb44], [%i392, bb132] + %i3234 = phi <4 x half> [%i379, bb44], [%i388, bb132] + %i3235 = phi <2 x float> [%i377, bb44], [%i384, bb132] + %i3236 = phi <4 x half> [<4 x half> zeroinitializer, bb44], [%i3370, bb132] + %i3237 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3236, %i3236 + %i3238 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3237, %i3236 + %i3239 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3238, <4 x half> c323 + %i3240 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3237, <4 x half> c295 + %i3241 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3240, %i3236 + %i3242 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3241, %i3239 + %i3243 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3242, %i3234 + %i3244 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3243, %i3233 + %i3245 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3244, <4 x half> c296, <4 x half> c324) + %i3246 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3245, <4 x half> c298 + %i3247 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3246) + %i3248 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3247, <4 x half> c299 + %i3249 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3237, <4 x half> c300 + %i3250 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3248, %i3249 + %i3251 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3237, <4 x half> c301 + %i3252 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3250, %i3251) + %i3253 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3254 = load <4 x half>, %i3253, align 8 + %i3255 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3254, %i3252 + %i3256 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3257 = load <4 x half>, %i3256, align 8 + %i3258 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3257, <4 x half> c302 + %i3259 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3237, %i3238 + %i3260 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3237, %i3259 + %i3261 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3260, %i3255 + %i3262 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3261, %i3258 + %i3263 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3262, %i3262 + %i3264 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3263, %i3262 + %i3265 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3264, <4 x half> c325 + %i3266 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3263, <4 x half> c304 + %i3267 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3266, %i3262 + %i3268 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3267, %i3265 + %i3269 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3268, %i3234 + %i3270 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3269, %i3233 + %i3271 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3270, <4 x half> c296, <4 x half> c324) + %i3272 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3271, <4 x half> c305 + %i3273 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3272) + %i3274 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3273, <4 x half> c306 + %i3275 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3263, <4 x half> c300 + %i3276 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3275, %i3274 + %i3277 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3263, <4 x half> c301 + %i3278 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3276, %i3277) + %i3279 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3278, %i3254 + %i3280 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3257, <4 x half> c307 + %i3281 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3279, %i3280 + %i3282 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3281, %i3263 + %i3283 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3263, %i3264 + %i3284 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3282, %i3283 + %i3285 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3284, %i3284 + %i3286 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3285, %i3284 + %i3287 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3286, <4 x half> c326 + %i3288 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3285, <4 x half> c309 + %i3289 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3288, %i3284 + %i3290 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3289, %i3287 + %i3291 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3290, %i3234 + %i3292 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3291, %i3233 + %i3293 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3292, <4 x half> c296, <4 x half> c324) + %i3294 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3293, <4 x half> c310 + %i3295 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3294) + %i3296 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3295, <4 x half> c311 + %i3297 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3285, <4 x half> c300 + %i3298 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3297, %i3296 + %i3299 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3285, <4 x half> c301 + %i3300 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3298, %i3299) + %i3301 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3300, %i3254 + %i3302 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3257, <4 x half> c312 + %i3303 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3301, %i3302 + %i3304 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3303, %i3285 + %i3305 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3285, %i3286 + %i3306 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3304, %i3305 + %i3307 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3235, <2 x float> c438 + %i3308 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3307, %a1 + %i3309 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3308, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3310 = extractvalue <4 x half> %i3309, 0 + %i3311 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3310, <4 x half> c439, %i3306) + br bb162 +bb132: + %i3313 = phi <4 x half> [<4 x half> zeroinitializer, bb45], [%i3370, bb132] + %i3314 = phi i32 [i32 0, bb45], [%i3371, bb132] + %i3315 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3314) + %i3316 = fadd reassoc nnan ninf nsz arcp contract afn float %i3315, float 0x3F400000 + %i3317 = insertelement <2 x float> undef, %i3316, i64 0 + %i3318 = insertelement %i3317, float 0x0, i64 1 + %i3319 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3318, %i384 + %i3320 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3319, %a1 + %i3321 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3320, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3322 = extractvalue <4 x half> %i3321, 0 + %i3323 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3322, <4 x half> c440, %i3313) + %i3324 = fneg reassoc nnan ninf nsz arcp contract afn float %i3316 + %i3325 = insertelement <2 x float> undef, %i3324, i64 0 + %i3326 = insertelement %i3325, float 0x0, i64 1 + %i3327 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3326, %i384 + %i3328 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3327, %a1 + %i3329 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3328, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3330 = extractvalue <4 x half> %i3329, 0 + %i3331 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3330, <4 x half> c441, %i3323) + %i3332 = insertelement <2 x float> c319, %i3316, i64 1 + %i3333 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3332, %i384 + %i3334 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3333, %a1 + %i3335 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3334, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3336 = extractvalue <4 x half> %i3335, 0 + %i3337 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3336, <4 x half> c295, %i3331) + %i3338 = insertelement <2 x float> c319, %i3324, i64 1 + %i3339 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3338, %i384 + %i3340 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3339, %a1 + %i3341 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3340, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3342 = extractvalue <4 x half> %i3341, 0 + %i3343 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3342, <4 x half> c332, %i3337) + %i3344 = shufflevector <2 x float> %i3317, <2 x float> poison, <0, 0> + %i3345 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3344, %i384 + %i3346 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3345, %a1 + %i3347 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3346, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3348 = extractvalue <4 x half> %i3347, 0 + %i3349 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3348, <4 x half> c442, %i3343) + %i3350 = insertelement %i3325, %i3316, i64 1 + %i3351 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3350, %i384 + %i3352 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3351, %a1 + %i3353 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3352, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3354 = extractvalue <4 x half> %i3353, 0 + %i3355 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3354, <4 x half> c321, %i3349) + %i3356 = insertelement %i3317, %i3324, i64 1 + %i3357 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3356, %i384 + %i3358 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3357, %a1 + %i3359 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3358, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3360 = extractvalue <4 x half> %i3359, 0 + %i3361 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3360, <4 x half> c443, %i3355) + %i3362 = shufflevector <2 x float> %i3325, <2 x float> poison, <0, 0> + %i3363 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3362, %i384 + %i3364 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3363, %a1 + %i3365 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3364, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3366 = extractvalue <4 x half> %i3365, 0 + %i3367 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3366, <4 x half> c335, %i3361) + %i3368 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3367, %i388 + %i3369 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3368, %i392 + %i3370 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3369, <4 x half> zeroinitializer, <4 x half> c322) + %i3371 = add nuw i32 %i3314, i32 1 + %i3372 = icmp eq %i3371, %i369 + br %i3372, bb131, bb132, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb133: + %i3374 = phi <4 x half> [%i355, bb41], [%i366, bb134] + %i3375 = phi <4 x half> [%i353, bb41], [%i362, bb134] + %i3376 = phi <2 x float> [%i351, bb41], [%i358, bb134] + %i3377 = phi <4 x half> [<4 x half> zeroinitializer, bb41], [%i3511, bb134] + %i3378 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3377, %i3377 + %i3379 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3378, %i3377 + %i3380 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3379, <4 x half> c336 + %i3381 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3378, <4 x half> c295 + %i3382 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3381, %i3377 + %i3383 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3382, %i3380 + %i3384 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3383, %i3375 + %i3385 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3384, %i3374 + %i3386 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3385, <4 x half> c296, <4 x half> c297) + %i3387 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3386, <4 x half> c298 + %i3388 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3387) + %i3389 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3388, <4 x half> c299 + %i3390 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3378, <4 x half> c300 + %i3391 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3389, %i3390 + %i3392 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3378, <4 x half> c301 + %i3393 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3391, %i3392) + %i3394 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3395 = load <4 x half>, %i3394, align 8 + %i3396 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3395, %i3393 + %i3397 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3398 = load <4 x half>, %i3397, align 8 + %i3399 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3398, <4 x half> c302 + %i3400 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3378, %i3379 + %i3401 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3378, %i3400 + %i3402 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3401, %i3396 + %i3403 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3402, %i3399 + %i3404 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3403, %i3403 + %i3405 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3404, %i3403 + %i3406 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3405, <4 x half> c337 + %i3407 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3404, <4 x half> c304 + %i3408 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3407, %i3403 + %i3409 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3408, %i3406 + %i3410 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3409, %i3375 + %i3411 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3410, %i3374 + %i3412 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3411, <4 x half> c296, <4 x half> c297) + %i3413 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3412, <4 x half> c305 + %i3414 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3413) + %i3415 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3414, <4 x half> c306 + %i3416 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3404, <4 x half> c300 + %i3417 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3416, %i3415 + %i3418 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3404, <4 x half> c301 + %i3419 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3417, %i3418) + %i3420 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3419, %i3395 + %i3421 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3398, <4 x half> c307 + %i3422 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3420, %i3421 + %i3423 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3422, %i3404 + %i3424 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3404, %i3405 + %i3425 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3423, %i3424 + %i3426 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3425, %i3425 + %i3427 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3426, %i3425 + %i3428 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3427, <4 x half> c338 + %i3429 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3426, <4 x half> c309 + %i3430 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3429, %i3425 + %i3431 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3430, %i3428 + %i3432 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3431, %i3375 + %i3433 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3432, %i3374 + %i3434 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3433, <4 x half> c296, <4 x half> c297) + %i3435 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3434, <4 x half> c310 + %i3436 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3435) + %i3437 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3436, <4 x half> c311 + %i3438 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3426, <4 x half> c300 + %i3439 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3438, %i3437 + %i3440 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3426, <4 x half> c301 + %i3441 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3439, %i3440) + %i3442 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3441, %i3395 + %i3443 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3398, <4 x half> c312 + %i3444 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3442, %i3443 + %i3445 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3444, %i3426 + %i3446 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3426, %i3427 + %i3447 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3445, %i3446 + %i3448 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3376, <2 x float> c444 + %i3449 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3448, %a1 + %i3450 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3449, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3451 = extractvalue <4 x half> %i3450, 0 + %i3452 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3451, <4 x half> c445, %i3447) + br bb162 +bb134: + %i3454 = phi <4 x half> [<4 x half> zeroinitializer, bb42], [%i3511, bb134] + %i3455 = phi i32 [i32 0, bb42], [%i3512, bb134] + %i3456 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3455) + %i3457 = fadd reassoc nnan ninf nsz arcp contract afn float %i3456, float 0x3F600000 + %i3458 = insertelement <2 x float> undef, %i3457, i64 0 + %i3459 = insertelement %i3458, float 0x0, i64 1 + %i3460 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3459, %i358 + %i3461 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3460, %a1 + %i3462 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3461, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3463 = extractvalue <4 x half> %i3462, 0 + %i3464 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3463, <4 x half> c446, %i3454) + %i3465 = fneg reassoc nnan ninf nsz arcp contract afn float %i3457 + %i3466 = insertelement <2 x float> undef, %i3465, i64 0 + %i3467 = insertelement %i3466, float 0x0, i64 1 + %i3468 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3467, %i358 + %i3469 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3468, %a1 + %i3470 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3469, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3471 = extractvalue <4 x half> %i3470, 0 + %i3472 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3471, <4 x half> c447, %i3464) + %i3473 = insertelement <2 x float> c319, %i3457, i64 1 + %i3474 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3473, %i358 + %i3475 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3474, %a1 + %i3476 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3475, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3477 = extractvalue <4 x half> %i3476, 0 + %i3478 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3477, <4 x half> c304, %i3472) + %i3479 = insertelement <2 x float> c319, %i3465, i64 1 + %i3480 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3479, %i358 + %i3481 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3480, %a1 + %i3482 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3481, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3483 = extractvalue <4 x half> %i3482, 0 + %i3484 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3483, <4 x half> c344, %i3478) + %i3485 = shufflevector <2 x float> %i3458, <2 x float> poison, <0, 0> + %i3486 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3485, %i358 + %i3487 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3486, %a1 + %i3488 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3487, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3489 = extractvalue <4 x half> %i3488, 0 + %i3490 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3489, <4 x half> c448, %i3484) + %i3491 = insertelement %i3466, %i3457, i64 1 + %i3492 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3491, %i358 + %i3493 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3492, %a1 + %i3494 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3493, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3495 = extractvalue <4 x half> %i3494, 0 + %i3496 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3495, <4 x half> c321, %i3490) + %i3497 = insertelement %i3458, %i3465, i64 1 + %i3498 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3497, %i358 + %i3499 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3498, %a1 + %i3500 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3499, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3501 = extractvalue <4 x half> %i3500, 0 + %i3502 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3501, <4 x half> c449, %i3496) + %i3503 = shufflevector <2 x float> %i3466, <2 x float> poison, <0, 0> + %i3504 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3503, %i358 + %i3505 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3504, %a1 + %i3506 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3505, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3507 = extractvalue <4 x half> %i3506, 0 + %i3508 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3507, <4 x half> c321, %i3502) + %i3509 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3508, %i362 + %i3510 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3509, %i366 + %i3511 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3510, <4 x half> zeroinitializer, <4 x half> c322) + %i3512 = add nuw i32 %i3455, i32 1 + %i3513 = icmp eq %i3512, %i343 + br %i3513, bb133, bb134, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb135: + %i3515 = phi <4 x half> [%i329, bb38], [%i340, bb136] + %i3516 = phi <4 x half> [%i327, bb38], [%i336, bb136] + %i3517 = phi <2 x float> [%i325, bb38], [%i332, bb136] + %i3518 = phi <4 x half> [<4 x half> zeroinitializer, bb38], [%i3652, bb136] + %i3519 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3518, %i3518 + %i3520 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3519, %i3518 + %i3521 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3520, <4 x half> c347 + %i3522 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3519, <4 x half> c295 + %i3523 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3522, %i3518 + %i3524 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3523, %i3521 + %i3525 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3524, %i3516 + %i3526 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3525, %i3515 + %i3527 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3526, <4 x half> c296, <4 x half> c324) + %i3528 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3527, <4 x half> c298 + %i3529 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3528) + %i3530 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3529, <4 x half> c299 + %i3531 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3519, <4 x half> c300 + %i3532 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3530, %i3531 + %i3533 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3519, <4 x half> c301 + %i3534 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3532, %i3533) + %i3535 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3536 = load <4 x half>, %i3535, align 8 + %i3537 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3536, %i3534 + %i3538 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3539 = load <4 x half>, %i3538, align 8 + %i3540 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3539, <4 x half> c302 + %i3541 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3519, %i3520 + %i3542 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3519, %i3541 + %i3543 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3542, %i3537 + %i3544 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3543, %i3540 + %i3545 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3544, %i3544 + %i3546 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3545, %i3544 + %i3547 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3546, <4 x half> c348 + %i3548 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3545, <4 x half> c304 + %i3549 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3548, %i3544 + %i3550 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3549, %i3547 + %i3551 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3550, %i3516 + %i3552 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3551, %i3515 + %i3553 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3552, <4 x half> c296, <4 x half> c324) + %i3554 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3553, <4 x half> c305 + %i3555 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3554) + %i3556 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3555, <4 x half> c306 + %i3557 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3545, <4 x half> c300 + %i3558 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3557, %i3556 + %i3559 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3545, <4 x half> c301 + %i3560 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3558, %i3559) + %i3561 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3560, %i3536 + %i3562 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3539, <4 x half> c307 + %i3563 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3561, %i3562 + %i3564 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3563, %i3545 + %i3565 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3545, %i3546 + %i3566 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3564, %i3565 + %i3567 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3566, %i3566 + %i3568 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3567, %i3566 + %i3569 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3568, <4 x half> c349 + %i3570 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3567, <4 x half> c309 + %i3571 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3570, %i3566 + %i3572 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3571, %i3569 + %i3573 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3572, %i3516 + %i3574 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3573, %i3515 + %i3575 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3574, <4 x half> c296, <4 x half> c324) + %i3576 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3575, <4 x half> c310 + %i3577 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3576) + %i3578 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3577, <4 x half> c311 + %i3579 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3567, <4 x half> c300 + %i3580 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3579, %i3578 + %i3581 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3567, <4 x half> c301 + %i3582 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3580, %i3581) + %i3583 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3582, %i3536 + %i3584 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3539, <4 x half> c312 + %i3585 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3583, %i3584 + %i3586 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3585, %i3567 + %i3587 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3567, %i3568 + %i3588 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3586, %i3587 + %i3589 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3517, <2 x float> c450 + %i3590 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3589, %a1 + %i3591 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3590, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3592 = extractvalue <4 x half> %i3591, 0 + %i3593 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3592, <4 x half> c451, %i3588) + br bb162 +bb136: + %i3595 = phi <4 x half> [<4 x half> zeroinitializer, bb39], [%i3652, bb136] + %i3596 = phi i32 [i32 0, bb39], [%i3653, bb136] + %i3597 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3596) + %i3598 = fadd reassoc nnan ninf nsz arcp contract afn float %i3597, float 0x3F800000 + %i3599 = insertelement <2 x float> undef, %i3598, i64 0 + %i3600 = insertelement %i3599, float 0x0, i64 1 + %i3601 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3600, %i332 + %i3602 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3601, %a1 + %i3603 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3602, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3604 = extractvalue <4 x half> %i3603, 0 + %i3605 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3604, <4 x half> c452, %i3595) + %i3606 = fneg reassoc nnan ninf nsz arcp contract afn float %i3598 + %i3607 = insertelement <2 x float> undef, %i3606, i64 0 + %i3608 = insertelement %i3607, float 0x0, i64 1 + %i3609 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3608, %i332 + %i3610 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3609, %a1 + %i3611 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3610, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3612 = extractvalue <4 x half> %i3611, 0 + %i3613 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3612, <4 x half> c453, %i3605) + %i3614 = insertelement <2 x float> c319, %i3598, i64 1 + %i3615 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3614, %i332 + %i3616 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3615, %a1 + %i3617 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3616, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3618 = extractvalue <4 x half> %i3617, 0 + %i3619 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3618, <4 x half> c309, %i3613) + %i3620 = insertelement <2 x float> c319, %i3606, i64 1 + %i3621 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3620, %i332 + %i3622 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3621, %a1 + %i3623 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3622, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3624 = extractvalue <4 x half> %i3623, 0 + %i3625 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3624, <4 x half> c355, %i3619) + %i3626 = shufflevector <2 x float> %i3599, <2 x float> poison, <0, 0> + %i3627 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3626, %i332 + %i3628 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3627, %a1 + %i3629 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3628, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3630 = extractvalue <4 x half> %i3629, 0 + %i3631 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3630, <4 x half> c454, %i3625) + %i3632 = insertelement %i3607, %i3598, i64 1 + %i3633 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3632, %i332 + %i3634 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3633, %a1 + %i3635 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3634, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3636 = extractvalue <4 x half> %i3635, 0 + %i3637 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3636, <4 x half> c321, %i3631) + %i3638 = insertelement %i3599, %i3606, i64 1 + %i3639 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3638, %i332 + %i3640 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3639, %a1 + %i3641 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3640, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3642 = extractvalue <4 x half> %i3641, 0 + %i3643 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3642, <4 x half> c455, %i3637) + %i3644 = shufflevector <2 x float> %i3607, <2 x float> poison, <0, 0> + %i3645 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3644, %i332 + %i3646 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3645, %a1 + %i3647 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3646, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3648 = extractvalue <4 x half> %i3647, 0 + %i3649 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3648, <4 x half> c335, %i3643) + %i3650 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3649, %i336 + %i3651 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3650, %i340 + %i3652 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3651, <4 x half> zeroinitializer, <4 x half> c322) + %i3653 = add nuw i32 %i3596, i32 1 + %i3654 = icmp eq %i3653, %i317 + br %i3654, bb135, bb136, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb137: + %i3656 = phi <4 x half> [%i303, bb35], [%i314, bb138] + %i3657 = phi <4 x half> [%i301, bb35], [%i310, bb138] + %i3658 = phi <2 x float> [%i299, bb35], [%i306, bb138] + %i3659 = phi <4 x half> [<4 x half> zeroinitializer, bb35], [%i3793, bb138] + %i3660 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3659, %i3659 + %i3661 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3660, %i3659 + %i3662 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3661, <4 x half> c294 + %i3663 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3660, <4 x half> c295 + %i3664 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3663, %i3659 + %i3665 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3664, %i3662 + %i3666 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3665, %i3657 + %i3667 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3666, %i3656 + %i3668 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3667, <4 x half> c296, <4 x half> c297) + %i3669 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3668, <4 x half> c298 + %i3670 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3669) + %i3671 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3670, <4 x half> c299 + %i3672 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3660, <4 x half> c300 + %i3673 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3671, %i3672 + %i3674 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3660, <4 x half> c301 + %i3675 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3673, %i3674) + %i3676 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3677 = load <4 x half>, %i3676, align 8 + %i3678 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3677, %i3675 + %i3679 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3680 = load <4 x half>, %i3679, align 8 + %i3681 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3680, <4 x half> c302 + %i3682 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3660, %i3661 + %i3683 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3660, %i3682 + %i3684 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3683, %i3678 + %i3685 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3684, %i3681 + %i3686 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3685, %i3685 + %i3687 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3686, %i3685 + %i3688 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3687, <4 x half> c303 + %i3689 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3686, <4 x half> c304 + %i3690 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3689, %i3685 + %i3691 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3690, %i3688 + %i3692 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3691, %i3657 + %i3693 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3692, %i3656 + %i3694 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3693, <4 x half> c296, <4 x half> c297) + %i3695 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3694, <4 x half> c305 + %i3696 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3695) + %i3697 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3696, <4 x half> c306 + %i3698 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3686, <4 x half> c300 + %i3699 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3698, %i3697 + %i3700 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3686, <4 x half> c301 + %i3701 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3699, %i3700) + %i3702 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3701, %i3677 + %i3703 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3680, <4 x half> c307 + %i3704 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3702, %i3703 + %i3705 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3704, %i3686 + %i3706 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3686, %i3687 + %i3707 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3705, %i3706 + %i3708 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3707, %i3707 + %i3709 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3708, %i3707 + %i3710 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3709, <4 x half> c308 + %i3711 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3708, <4 x half> c309 + %i3712 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3711, %i3707 + %i3713 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3712, %i3710 + %i3714 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3713, %i3657 + %i3715 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3714, %i3656 + %i3716 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3715, <4 x half> c296, <4 x half> c297) + %i3717 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3716, <4 x half> c310 + %i3718 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3717) + %i3719 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3718, <4 x half> c311 + %i3720 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3708, <4 x half> c300 + %i3721 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3720, %i3719 + %i3722 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3708, <4 x half> c301 + %i3723 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3721, %i3722) + %i3724 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3723, %i3677 + %i3725 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3680, <4 x half> c312 + %i3726 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3724, %i3725 + %i3727 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3726, %i3708 + %i3728 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3708, %i3709 + %i3729 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3727, %i3728 + %i3730 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3658, <2 x float> c456 + %i3731 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3730, %a1 + %i3732 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3731, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3733 = extractvalue <4 x half> %i3732, 0 + %i3734 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3733, <4 x half> c457, %i3729) + br bb162 +bb138: + %i3736 = phi <4 x half> [<4 x half> zeroinitializer, bb36], [%i3793, bb138] + %i3737 = phi i32 [i32 0, bb36], [%i3794, bb138] + %i3738 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3737) + %i3739 = fadd reassoc nnan ninf nsz arcp contract afn float %i3738, float 0x3F000000 + %i3740 = insertelement <2 x float> undef, %i3739, i64 0 + %i3741 = insertelement %i3740, float 0x0, i64 1 + %i3742 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3741, %i306 + %i3743 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3742, %a1 + %i3744 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3743, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3745 = extractvalue <4 x half> %i3744, 0 + %i3746 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3745, <4 x half> c458, %i3736) + %i3747 = fneg reassoc nnan ninf nsz arcp contract afn float %i3739 + %i3748 = insertelement <2 x float> undef, %i3747, i64 0 + %i3749 = insertelement %i3748, float 0x0, i64 1 + %i3750 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3749, %i306 + %i3751 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3750, %a1 + %i3752 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3751, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3753 = extractvalue <4 x half> %i3752, 0 + %i3754 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3753, <4 x half> c459, %i3746) + %i3755 = insertelement <2 x float> c319, %i3739, i64 1 + %i3756 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3755, %i306 + %i3757 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3756, %a1 + %i3758 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3757, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3759 = extractvalue <4 x half> %i3758, 0 + %i3760 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3759, <4 x half> c362, %i3754) + %i3761 = insertelement <2 x float> c319, %i3747, i64 1 + %i3762 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3761, %i306 + %i3763 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3762, %a1 + %i3764 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3763, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3765 = extractvalue <4 x half> %i3764, 0 + %i3766 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3765, <4 x half> c320, %i3760) + %i3767 = shufflevector <2 x float> %i3740, <2 x float> poison, <0, 0> + %i3768 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3767, %i306 + %i3769 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3768, %a1 + %i3770 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3769, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3771 = extractvalue <4 x half> %i3770, 0 + %i3772 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3771, <4 x half> c460, %i3766) + %i3773 = insertelement %i3748, %i3739, i64 1 + %i3774 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3773, %i306 + %i3775 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3774, %a1 + %i3776 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3775, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3777 = extractvalue <4 x half> %i3776, 0 + %i3778 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3777, <4 x half> c321, %i3772) + %i3779 = insertelement %i3740, %i3747, i64 1 + %i3780 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3779, %i306 + %i3781 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3780, %a1 + %i3782 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3781, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3783 = extractvalue <4 x half> %i3782, 0 + %i3784 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3783, <4 x half> c461, %i3778) + %i3785 = shufflevector <2 x float> %i3748, <2 x float> poison, <0, 0> + %i3786 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3785, %i306 + %i3787 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3786, %a1 + %i3788 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3787, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3789 = extractvalue <4 x half> %i3788, 0 + %i3790 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3789, <4 x half> c321, %i3784) + %i3791 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3790, %i310 + %i3792 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3791, %i314 + %i3793 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3792, <4 x half> zeroinitializer, <4 x half> c322) + %i3794 = add nuw i32 %i3737, i32 1 + %i3795 = icmp eq %i3794, %i291 + br %i3795, bb137, bb138, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb139: + %i3797 = phi <4 x half> [%i277, bb32], [%i288, bb140] + %i3798 = phi <4 x half> [%i275, bb32], [%i284, bb140] + %i3799 = phi <2 x float> [%i273, bb32], [%i280, bb140] + %i3800 = phi <4 x half> [<4 x half> zeroinitializer, bb32], [%i3934, bb140] + %i3801 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3800, %i3800 + %i3802 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3801, %i3800 + %i3803 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3802, <4 x half> c323 + %i3804 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3801, <4 x half> c295 + %i3805 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3804, %i3800 + %i3806 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3805, %i3803 + %i3807 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3806, %i3798 + %i3808 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3807, %i3797 + %i3809 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3808, <4 x half> c296, <4 x half> c324) + %i3810 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3809, <4 x half> c298 + %i3811 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3810) + %i3812 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3811, <4 x half> c299 + %i3813 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3801, <4 x half> c300 + %i3814 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3812, %i3813 + %i3815 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3801, <4 x half> c301 + %i3816 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3814, %i3815) + %i3817 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3818 = load <4 x half>, %i3817, align 8 + %i3819 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3818, %i3816 + %i3820 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3821 = load <4 x half>, %i3820, align 8 + %i3822 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3821, <4 x half> c302 + %i3823 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3801, %i3802 + %i3824 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3801, %i3823 + %i3825 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3824, %i3819 + %i3826 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3825, %i3822 + %i3827 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3826, %i3826 + %i3828 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3827, %i3826 + %i3829 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3828, <4 x half> c325 + %i3830 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3827, <4 x half> c304 + %i3831 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3830, %i3826 + %i3832 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3831, %i3829 + %i3833 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3832, %i3798 + %i3834 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3833, %i3797 + %i3835 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3834, <4 x half> c296, <4 x half> c324) + %i3836 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3835, <4 x half> c305 + %i3837 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3836) + %i3838 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3837, <4 x half> c306 + %i3839 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3827, <4 x half> c300 + %i3840 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3839, %i3838 + %i3841 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3827, <4 x half> c301 + %i3842 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3840, %i3841) + %i3843 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3842, %i3818 + %i3844 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3821, <4 x half> c307 + %i3845 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3843, %i3844 + %i3846 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3845, %i3827 + %i3847 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3827, %i3828 + %i3848 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3846, %i3847 + %i3849 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3848, %i3848 + %i3850 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3849, %i3848 + %i3851 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3850, <4 x half> c326 + %i3852 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3849, <4 x half> c309 + %i3853 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3852, %i3848 + %i3854 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3853, %i3851 + %i3855 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3854, %i3798 + %i3856 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3855, %i3797 + %i3857 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3856, <4 x half> c296, <4 x half> c324) + %i3858 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3857, <4 x half> c310 + %i3859 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3858) + %i3860 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3859, <4 x half> c311 + %i3861 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3849, <4 x half> c300 + %i3862 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3861, %i3860 + %i3863 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3849, <4 x half> c301 + %i3864 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3862, %i3863) + %i3865 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3864, %i3818 + %i3866 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3821, <4 x half> c312 + %i3867 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3865, %i3866 + %i3868 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3867, %i3849 + %i3869 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3849, %i3850 + %i3870 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3868, %i3869 + %i3871 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3799, <2 x float> c462 + %i3872 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3871, %a1 + %i3873 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3872, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3874 = extractvalue <4 x half> %i3873, 0 + %i3875 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3874, <4 x half> c463, %i3870) + br bb162 +bb140: + %i3877 = phi <4 x half> [<4 x half> zeroinitializer, bb33], [%i3934, bb140] + %i3878 = phi i32 [i32 0, bb33], [%i3935, bb140] + %i3879 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i3878) + %i3880 = fadd reassoc nnan ninf nsz arcp contract afn float %i3879, float 0x3F200000 + %i3881 = insertelement <2 x float> undef, %i3880, i64 0 + %i3882 = insertelement %i3881, float 0x0, i64 1 + %i3883 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3882, %i280 + %i3884 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3883, %a1 + %i3885 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3884, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3886 = extractvalue <4 x half> %i3885, 0 + %i3887 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3886, <4 x half> c464, %i3877) + %i3888 = fneg reassoc nnan ninf nsz arcp contract afn float %i3880 + %i3889 = insertelement <2 x float> undef, %i3888, i64 0 + %i3890 = insertelement %i3889, float 0x0, i64 1 + %i3891 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3890, %i280 + %i3892 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3891, %a1 + %i3893 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3892, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3894 = extractvalue <4 x half> %i3893, 0 + %i3895 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3894, <4 x half> c465, %i3887) + %i3896 = insertelement <2 x float> c319, %i3880, i64 1 + %i3897 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3896, %i280 + %i3898 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3897, %a1 + %i3899 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3898, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3900 = extractvalue <4 x half> %i3899, 0 + %i3901 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3900, <4 x half> c369, %i3895) + %i3902 = insertelement <2 x float> c319, %i3888, i64 1 + %i3903 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3902, %i280 + %i3904 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3903, %a1 + %i3905 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3904, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3906 = extractvalue <4 x half> %i3905, 0 + %i3907 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3906, <4 x half> c332, %i3901) + %i3908 = shufflevector <2 x float> %i3881, <2 x float> poison, <0, 0> + %i3909 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3908, %i280 + %i3910 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3909, %a1 + %i3911 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3910, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3912 = extractvalue <4 x half> %i3911, 0 + %i3913 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3912, <4 x half> c466, %i3907) + %i3914 = insertelement %i3889, %i3880, i64 1 + %i3915 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3914, %i280 + %i3916 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3915, %a1 + %i3917 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3916, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3918 = extractvalue <4 x half> %i3917, 0 + %i3919 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3918, <4 x half> c321, %i3913) + %i3920 = insertelement %i3881, %i3888, i64 1 + %i3921 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3920, %i280 + %i3922 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3921, %a1 + %i3923 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3922, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3924 = extractvalue <4 x half> %i3923, 0 + %i3925 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3924, <4 x half> c467, %i3919) + %i3926 = shufflevector <2 x float> %i3889, <2 x float> poison, <0, 0> + %i3927 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3926, %i280 + %i3928 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i3927, %a1 + %i3929 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i3928, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i3930 = extractvalue <4 x half> %i3929, 0 + %i3931 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3930, <4 x half> c335, %i3925) + %i3932 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3931, %i284 + %i3933 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3932, %i288 + %i3934 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3933, <4 x half> zeroinitializer, <4 x half> c322) + %i3935 = add nuw i32 %i3878, i32 1 + %i3936 = icmp eq %i3935, %i265 + br %i3936, bb139, bb140, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb141: + %i3938 = phi <4 x half> [%i251, bb29], [%i262, bb142] + %i3939 = phi <4 x half> [%i249, bb29], [%i258, bb142] + %i3940 = phi <2 x float> [%i247, bb29], [%i254, bb142] + %i3941 = phi <4 x half> [<4 x half> zeroinitializer, bb29], [%i4075, bb142] + %i3942 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3941, %i3941 + %i3943 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3942, %i3941 + %i3944 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3943, <4 x half> c336 + %i3945 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3942, <4 x half> c295 + %i3946 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3945, %i3941 + %i3947 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3946, %i3944 + %i3948 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3947, %i3939 + %i3949 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3948, %i3938 + %i3950 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3949, <4 x half> c296, <4 x half> c297) + %i3951 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3950, <4 x half> c298 + %i3952 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3951) + %i3953 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3952, <4 x half> c299 + %i3954 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3942, <4 x half> c300 + %i3955 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3953, %i3954 + %i3956 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3942, <4 x half> c301 + %i3957 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3955, %i3956) + %i3958 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i3959 = load <4 x half>, %i3958, align 8 + %i3960 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3959, %i3957 + %i3961 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i3962 = load <4 x half>, %i3961, align 8 + %i3963 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3962, <4 x half> c302 + %i3964 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3942, %i3943 + %i3965 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3942, %i3964 + %i3966 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3965, %i3960 + %i3967 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3966, %i3963 + %i3968 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3967, %i3967 + %i3969 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3968, %i3967 + %i3970 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3969, <4 x half> c337 + %i3971 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3968, <4 x half> c304 + %i3972 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3971, %i3967 + %i3973 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3972, %i3970 + %i3974 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3973, %i3939 + %i3975 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3974, %i3938 + %i3976 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3975, <4 x half> c296, <4 x half> c297) + %i3977 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3976, <4 x half> c305 + %i3978 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3977) + %i3979 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3978, <4 x half> c306 + %i3980 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3968, <4 x half> c300 + %i3981 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3980, %i3979 + %i3982 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3968, <4 x half> c301 + %i3983 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3981, %i3982) + %i3984 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3983, %i3959 + %i3985 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3962, <4 x half> c307 + %i3986 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3984, %i3985 + %i3987 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3986, %i3968 + %i3988 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3968, %i3969 + %i3989 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i3987, %i3988 + %i3990 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3989, %i3989 + %i3991 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3990, %i3989 + %i3992 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3991, <4 x half> c338 + %i3993 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3990, <4 x half> c309 + %i3994 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3993, %i3989 + %i3995 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3994, %i3992 + %i3996 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3995, %i3939 + %i3997 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3996, %i3938 + %i3998 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3997, <4 x half> c296, <4 x half> c297) + %i3999 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3998, <4 x half> c310 + %i4000 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3999) + %i4001 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4000, <4 x half> c311 + %i4002 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3990, <4 x half> c300 + %i4003 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4002, %i4001 + %i4004 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i3990, <4 x half> c301 + %i4005 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4003, %i4004) + %i4006 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4005, %i3959 + %i4007 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3962, <4 x half> c312 + %i4008 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4006, %i4007 + %i4009 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4008, %i3990 + %i4010 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i3990, %i3991 + %i4011 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4009, %i4010 + %i4012 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i3940, <2 x float> c468 + %i4013 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4012, %a1 + %i4014 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4013, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4015 = extractvalue <4 x half> %i4014, 0 + %i4016 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4015, <4 x half> c469, %i4011) + br bb162 +bb142: + %i4018 = phi <4 x half> [<4 x half> zeroinitializer, bb30], [%i4075, bb142] + %i4019 = phi i32 [i32 0, bb30], [%i4076, bb142] + %i4020 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4019) + %i4021 = fadd reassoc nnan ninf nsz arcp contract afn float %i4020, float 0x3F400000 + %i4022 = insertelement <2 x float> undef, %i4021, i64 0 + %i4023 = insertelement %i4022, float 0x0, i64 1 + %i4024 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4023, %i254 + %i4025 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4024, %a1 + %i4026 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4025, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4027 = extractvalue <4 x half> %i4026, 0 + %i4028 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4027, <4 x half> c470, %i4018) + %i4029 = fneg reassoc nnan ninf nsz arcp contract afn float %i4021 + %i4030 = insertelement <2 x float> undef, %i4029, i64 0 + %i4031 = insertelement %i4030, float 0x0, i64 1 + %i4032 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4031, %i254 + %i4033 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4032, %a1 + %i4034 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4033, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4035 = extractvalue <4 x half> %i4034, 0 + %i4036 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4035, <4 x half> c471, %i4028) + %i4037 = insertelement <2 x float> c319, %i4021, i64 1 + %i4038 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4037, %i254 + %i4039 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4038, %a1 + %i4040 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4039, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4041 = extractvalue <4 x half> %i4040, 0 + %i4042 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4041, <4 x half> c376, %i4036) + %i4043 = insertelement <2 x float> c319, %i4029, i64 1 + %i4044 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4043, %i254 + %i4045 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4044, %a1 + %i4046 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4045, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4047 = extractvalue <4 x half> %i4046, 0 + %i4048 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4047, <4 x half> c344, %i4042) + %i4049 = shufflevector <2 x float> %i4022, <2 x float> poison, <0, 0> + %i4050 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4049, %i254 + %i4051 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4050, %a1 + %i4052 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4051, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4053 = extractvalue <4 x half> %i4052, 0 + %i4054 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4053, <4 x half> c472, %i4048) + %i4055 = insertelement %i4030, %i4021, i64 1 + %i4056 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4055, %i254 + %i4057 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4056, %a1 + %i4058 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4057, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4059 = extractvalue <4 x half> %i4058, 0 + %i4060 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4059, <4 x half> c321, %i4054) + %i4061 = insertelement %i4022, %i4029, i64 1 + %i4062 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4061, %i254 + %i4063 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4062, %a1 + %i4064 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4063, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4065 = extractvalue <4 x half> %i4064, 0 + %i4066 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4065, <4 x half> c473, %i4060) + %i4067 = shufflevector <2 x float> %i4030, <2 x float> poison, <0, 0> + %i4068 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4067, %i254 + %i4069 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4068, %a1 + %i4070 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4069, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4071 = extractvalue <4 x half> %i4070, 0 + %i4072 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4071, <4 x half> c321, %i4066) + %i4073 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4072, %i258 + %i4074 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4073, %i262 + %i4075 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4074, <4 x half> zeroinitializer, <4 x half> c322) + %i4076 = add nuw i32 %i4019, i32 1 + %i4077 = icmp eq %i4076, %i239 + br %i4077, bb141, bb142, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb143: + %i4079 = phi <4 x half> [%i225, bb26], [%i236, bb144] + %i4080 = phi <4 x half> [%i223, bb26], [%i232, bb144] + %i4081 = phi <2 x float> [%i221, bb26], [%i228, bb144] + %i4082 = phi <4 x half> [<4 x half> zeroinitializer, bb26], [%i4216, bb144] + %i4083 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4082, %i4082 + %i4084 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4083, %i4082 + %i4085 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4084, <4 x half> c347 + %i4086 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4083, <4 x half> c295 + %i4087 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4086, %i4082 + %i4088 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4087, %i4085 + %i4089 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4088, %i4080 + %i4090 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4089, %i4079 + %i4091 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4090, <4 x half> c296, <4 x half> c324) + %i4092 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4091, <4 x half> c298 + %i4093 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4092) + %i4094 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4093, <4 x half> c299 + %i4095 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4083, <4 x half> c300 + %i4096 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4094, %i4095 + %i4097 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4083, <4 x half> c301 + %i4098 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4096, %i4097) + %i4099 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4100 = load <4 x half>, %i4099, align 8 + %i4101 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4100, %i4098 + %i4102 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4103 = load <4 x half>, %i4102, align 8 + %i4104 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4103, <4 x half> c302 + %i4105 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4083, %i4084 + %i4106 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4083, %i4105 + %i4107 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4106, %i4101 + %i4108 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4107, %i4104 + %i4109 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4108, %i4108 + %i4110 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4109, %i4108 + %i4111 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4110, <4 x half> c348 + %i4112 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4109, <4 x half> c304 + %i4113 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4112, %i4108 + %i4114 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4113, %i4111 + %i4115 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4114, %i4080 + %i4116 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4115, %i4079 + %i4117 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4116, <4 x half> c296, <4 x half> c324) + %i4118 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4117, <4 x half> c305 + %i4119 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4118) + %i4120 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4119, <4 x half> c306 + %i4121 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4109, <4 x half> c300 + %i4122 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4121, %i4120 + %i4123 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4109, <4 x half> c301 + %i4124 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4122, %i4123) + %i4125 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4124, %i4100 + %i4126 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4103, <4 x half> c307 + %i4127 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4125, %i4126 + %i4128 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4127, %i4109 + %i4129 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4109, %i4110 + %i4130 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4128, %i4129 + %i4131 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4130, %i4130 + %i4132 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4131, %i4130 + %i4133 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4132, <4 x half> c349 + %i4134 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4131, <4 x half> c309 + %i4135 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4134, %i4130 + %i4136 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4135, %i4133 + %i4137 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4136, %i4080 + %i4138 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4137, %i4079 + %i4139 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4138, <4 x half> c296, <4 x half> c324) + %i4140 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4139, <4 x half> c310 + %i4141 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4140) + %i4142 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4141, <4 x half> c311 + %i4143 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4131, <4 x half> c300 + %i4144 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4143, %i4142 + %i4145 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4131, <4 x half> c301 + %i4146 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4144, %i4145) + %i4147 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4146, %i4100 + %i4148 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4103, <4 x half> c312 + %i4149 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4147, %i4148 + %i4150 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4149, %i4131 + %i4151 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4131, %i4132 + %i4152 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4150, %i4151 + %i4153 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4081, <2 x float> c474 + %i4154 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4153, %a1 + %i4155 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4154, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4156 = extractvalue <4 x half> %i4155, 0 + %i4157 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4156, <4 x half> c475, %i4152) + br bb162 +bb144: + %i4159 = phi <4 x half> [<4 x half> zeroinitializer, bb27], [%i4216, bb144] + %i4160 = phi i32 [i32 0, bb27], [%i4217, bb144] + %i4161 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4160) + %i4162 = fadd reassoc nnan ninf nsz arcp contract afn float %i4161, float 0x3F600000 + %i4163 = insertelement <2 x float> undef, %i4162, i64 0 + %i4164 = insertelement %i4163, float 0x0, i64 1 + %i4165 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4164, %i228 + %i4166 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4165, %a1 + %i4167 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4166, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4168 = extractvalue <4 x half> %i4167, 0 + %i4169 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4168, <4 x half> c476, %i4159) + %i4170 = fneg reassoc nnan ninf nsz arcp contract afn float %i4162 + %i4171 = insertelement <2 x float> undef, %i4170, i64 0 + %i4172 = insertelement %i4171, float 0x0, i64 1 + %i4173 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4172, %i228 + %i4174 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4173, %a1 + %i4175 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4174, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4176 = extractvalue <4 x half> %i4175, 0 + %i4177 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4176, <4 x half> c477, %i4169) + %i4178 = insertelement <2 x float> c319, %i4162, i64 1 + %i4179 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4178, %i228 + %i4180 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4179, %a1 + %i4181 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4180, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4182 = extractvalue <4 x half> %i4181, 0 + %i4183 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4182, <4 x half> c383, %i4177) + %i4184 = insertelement <2 x float> c319, %i4170, i64 1 + %i4185 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4184, %i228 + %i4186 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4185, %a1 + %i4187 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4186, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4188 = extractvalue <4 x half> %i4187, 0 + %i4189 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4188, <4 x half> c355, %i4183) + %i4190 = shufflevector <2 x float> %i4163, <2 x float> poison, <0, 0> + %i4191 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4190, %i228 + %i4192 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4191, %a1 + %i4193 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4192, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4194 = extractvalue <4 x half> %i4193, 0 + %i4195 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4194, <4 x half> c478, %i4189) + %i4196 = insertelement %i4171, %i4162, i64 1 + %i4197 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4196, %i228 + %i4198 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4197, %a1 + %i4199 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4198, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4200 = extractvalue <4 x half> %i4199, 0 + %i4201 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4200, <4 x half> c321, %i4195) + %i4202 = insertelement %i4163, %i4170, i64 1 + %i4203 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4202, %i228 + %i4204 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4203, %a1 + %i4205 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4204, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4206 = extractvalue <4 x half> %i4205, 0 + %i4207 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4206, <4 x half> c479, %i4201) + %i4208 = shufflevector <2 x float> %i4171, <2 x float> poison, <0, 0> + %i4209 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4208, %i228 + %i4210 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4209, %a1 + %i4211 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4210, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4212 = extractvalue <4 x half> %i4211, 0 + %i4213 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4212, <4 x half> c335, %i4207) + %i4214 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4213, %i232 + %i4215 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4214, %i236 + %i4216 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4215, <4 x half> zeroinitializer, <4 x half> c322) + %i4217 = add nuw i32 %i4160, i32 1 + %i4218 = icmp eq %i4217, %i213 + br %i4218, bb143, bb144, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb145: + %i4220 = phi <4 x half> [%i199, bb23], [%i210, bb146] + %i4221 = phi <4 x half> [%i197, bb23], [%i206, bb146] + %i4222 = phi <2 x float> [%i195, bb23], [%i202, bb146] + %i4223 = phi <4 x half> [<4 x half> zeroinitializer, bb23], [%i4357, bb146] + %i4224 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4223, %i4223 + %i4225 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4224, %i4223 + %i4226 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4225, <4 x half> c294 + %i4227 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4224, <4 x half> c295 + %i4228 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4227, %i4223 + %i4229 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4228, %i4226 + %i4230 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4229, %i4221 + %i4231 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4230, %i4220 + %i4232 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4231, <4 x half> c296, <4 x half> c297) + %i4233 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4232, <4 x half> c298 + %i4234 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4233) + %i4235 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4234, <4 x half> c299 + %i4236 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4224, <4 x half> c300 + %i4237 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4235, %i4236 + %i4238 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4224, <4 x half> c301 + %i4239 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4237, %i4238) + %i4240 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4241 = load <4 x half>, %i4240, align 8 + %i4242 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4241, %i4239 + %i4243 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4244 = load <4 x half>, %i4243, align 8 + %i4245 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4244, <4 x half> c302 + %i4246 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4224, %i4225 + %i4247 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4224, %i4246 + %i4248 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4247, %i4242 + %i4249 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4248, %i4245 + %i4250 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4249, %i4249 + %i4251 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4250, %i4249 + %i4252 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4251, <4 x half> c303 + %i4253 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4250, <4 x half> c304 + %i4254 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4253, %i4249 + %i4255 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4254, %i4252 + %i4256 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4255, %i4221 + %i4257 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4256, %i4220 + %i4258 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4257, <4 x half> c296, <4 x half> c297) + %i4259 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4258, <4 x half> c305 + %i4260 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4259) + %i4261 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4260, <4 x half> c306 + %i4262 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4250, <4 x half> c300 + %i4263 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4262, %i4261 + %i4264 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4250, <4 x half> c301 + %i4265 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4263, %i4264) + %i4266 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4265, %i4241 + %i4267 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4244, <4 x half> c307 + %i4268 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4266, %i4267 + %i4269 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4268, %i4250 + %i4270 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4250, %i4251 + %i4271 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4269, %i4270 + %i4272 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4271, %i4271 + %i4273 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4272, %i4271 + %i4274 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4273, <4 x half> c308 + %i4275 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4272, <4 x half> c309 + %i4276 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4275, %i4271 + %i4277 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4276, %i4274 + %i4278 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4277, %i4221 + %i4279 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4278, %i4220 + %i4280 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4279, <4 x half> c296, <4 x half> c297) + %i4281 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4280, <4 x half> c310 + %i4282 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4281) + %i4283 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4282, <4 x half> c311 + %i4284 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4272, <4 x half> c300 + %i4285 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4284, %i4283 + %i4286 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4272, <4 x half> c301 + %i4287 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4285, %i4286) + %i4288 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4287, %i4241 + %i4289 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4244, <4 x half> c312 + %i4290 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4288, %i4289 + %i4291 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4290, %i4272 + %i4292 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4272, %i4273 + %i4293 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4291, %i4292 + %i4294 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4222, <2 x float> c480 + %i4295 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4294, %a1 + %i4296 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4295, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4297 = extractvalue <4 x half> %i4296, 0 + %i4298 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4297, <4 x half> c481, %i4293) + br bb162 +bb146: + %i4300 = phi <4 x half> [<4 x half> zeroinitializer, bb24], [%i4357, bb146] + %i4301 = phi i32 [i32 0, bb24], [%i4358, bb146] + %i4302 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4301) + %i4303 = fadd reassoc nnan ninf nsz arcp contract afn float %i4302, float 0x3F800000 + %i4304 = insertelement <2 x float> undef, %i4303, i64 0 + %i4305 = insertelement %i4304, float 0x0, i64 1 + %i4306 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4305, %i202 + %i4307 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4306, %a1 + %i4308 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4307, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4309 = extractvalue <4 x half> %i4308, 0 + %i4310 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4309, <4 x half> c482, %i4300) + %i4311 = fneg reassoc nnan ninf nsz arcp contract afn float %i4303 + %i4312 = insertelement <2 x float> undef, %i4311, i64 0 + %i4313 = insertelement %i4312, float 0x0, i64 1 + %i4314 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4313, %i202 + %i4315 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4314, %a1 + %i4316 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4315, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4317 = extractvalue <4 x half> %i4316, 0 + %i4318 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4317, <4 x half> c483, %i4310) + %i4319 = insertelement <2 x float> c319, %i4303, i64 1 + %i4320 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4319, %i202 + %i4321 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4320, %a1 + %i4322 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4321, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4323 = extractvalue <4 x half> %i4322, 0 + %i4324 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4323, <4 x half> c320, %i4318) + %i4325 = insertelement <2 x float> c319, %i4311, i64 1 + %i4326 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4325, %i202 + %i4327 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4326, %a1 + %i4328 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4327, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4329 = extractvalue <4 x half> %i4328, 0 + %i4330 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4329, <4 x half> c320, %i4324) + %i4331 = shufflevector <2 x float> %i4304, <2 x float> poison, <0, 0> + %i4332 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4331, %i202 + %i4333 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4332, %a1 + %i4334 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4333, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4335 = extractvalue <4 x half> %i4334, 0 + %i4336 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4335, <4 x half> c484, %i4330) + %i4337 = insertelement %i4312, %i4303, i64 1 + %i4338 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4337, %i202 + %i4339 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4338, %a1 + %i4340 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4339, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4341 = extractvalue <4 x half> %i4340, 0 + %i4342 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4341, <4 x half> c321, %i4336) + %i4343 = insertelement %i4304, %i4311, i64 1 + %i4344 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4343, %i202 + %i4345 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4344, %a1 + %i4346 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4345, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4347 = extractvalue <4 x half> %i4346, 0 + %i4348 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4347, <4 x half> c485, %i4342) + %i4349 = shufflevector <2 x float> %i4312, <2 x float> poison, <0, 0> + %i4350 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4349, %i202 + %i4351 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4350, %a1 + %i4352 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4351, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4353 = extractvalue <4 x half> %i4352, 0 + %i4354 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4353, <4 x half> c321, %i4348) + %i4355 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4354, %i206 + %i4356 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4355, %i210 + %i4357 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4356, <4 x half> zeroinitializer, <4 x half> c322) + %i4358 = add nuw i32 %i4301, i32 1 + %i4359 = icmp eq %i4358, %i187 + br %i4359, bb145, bb146, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb147: + %i4361 = phi <4 x half> [%i173, bb20], [%i184, bb148] + %i4362 = phi <4 x half> [%i171, bb20], [%i180, bb148] + %i4363 = phi <2 x float> [%i169, bb20], [%i176, bb148] + %i4364 = phi <4 x half> [<4 x half> zeroinitializer, bb20], [%i4498, bb148] + %i4365 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4364, %i4364 + %i4366 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4365, %i4364 + %i4367 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4366, <4 x half> c323 + %i4368 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4365, <4 x half> c295 + %i4369 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4368, %i4364 + %i4370 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4369, %i4367 + %i4371 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4370, %i4362 + %i4372 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4371, %i4361 + %i4373 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4372, <4 x half> c296, <4 x half> c324) + %i4374 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4373, <4 x half> c298 + %i4375 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4374) + %i4376 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4375, <4 x half> c299 + %i4377 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4365, <4 x half> c300 + %i4378 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4376, %i4377 + %i4379 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4365, <4 x half> c301 + %i4380 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4378, %i4379) + %i4381 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4382 = load <4 x half>, %i4381, align 8 + %i4383 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4382, %i4380 + %i4384 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4385 = load <4 x half>, %i4384, align 8 + %i4386 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4385, <4 x half> c302 + %i4387 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4365, %i4366 + %i4388 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4365, %i4387 + %i4389 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4388, %i4383 + %i4390 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4389, %i4386 + %i4391 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4390, %i4390 + %i4392 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4391, %i4390 + %i4393 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4392, <4 x half> c325 + %i4394 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4391, <4 x half> c304 + %i4395 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4394, %i4390 + %i4396 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4395, %i4393 + %i4397 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4396, %i4362 + %i4398 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4397, %i4361 + %i4399 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4398, <4 x half> c296, <4 x half> c324) + %i4400 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4399, <4 x half> c305 + %i4401 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4400) + %i4402 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4401, <4 x half> c306 + %i4403 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4391, <4 x half> c300 + %i4404 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4403, %i4402 + %i4405 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4391, <4 x half> c301 + %i4406 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4404, %i4405) + %i4407 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4406, %i4382 + %i4408 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4385, <4 x half> c307 + %i4409 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4407, %i4408 + %i4410 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4409, %i4391 + %i4411 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4391, %i4392 + %i4412 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4410, %i4411 + %i4413 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4412, %i4412 + %i4414 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4413, %i4412 + %i4415 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4414, <4 x half> c326 + %i4416 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4413, <4 x half> c309 + %i4417 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4416, %i4412 + %i4418 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4417, %i4415 + %i4419 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4418, %i4362 + %i4420 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4419, %i4361 + %i4421 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4420, <4 x half> c296, <4 x half> c324) + %i4422 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4421, <4 x half> c310 + %i4423 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4422) + %i4424 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4423, <4 x half> c311 + %i4425 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4413, <4 x half> c300 + %i4426 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4425, %i4424 + %i4427 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4413, <4 x half> c301 + %i4428 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4426, %i4427) + %i4429 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4428, %i4382 + %i4430 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4385, <4 x half> c312 + %i4431 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4429, %i4430 + %i4432 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4431, %i4413 + %i4433 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4413, %i4414 + %i4434 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4432, %i4433 + %i4435 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4363, <2 x float> c486 + %i4436 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4435, %a1 + %i4437 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4436, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4438 = extractvalue <4 x half> %i4437, 0 + %i4439 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4438, <4 x half> c487, %i4434) + br bb162 +bb148: + %i4441 = phi <4 x half> [<4 x half> zeroinitializer, bb21], [%i4498, bb148] + %i4442 = phi i32 [i32 0, bb21], [%i4499, bb148] + %i4443 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4442) + %i4444 = fadd reassoc nnan ninf nsz arcp contract afn float %i4443, float 0x3F000000 + %i4445 = insertelement <2 x float> undef, %i4444, i64 0 + %i4446 = insertelement %i4445, float 0x0, i64 1 + %i4447 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4446, %i176 + %i4448 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4447, %a1 + %i4449 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4448, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4450 = extractvalue <4 x half> %i4449, 0 + %i4451 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4450, <4 x half> c488, %i4441) + %i4452 = fneg reassoc nnan ninf nsz arcp contract afn float %i4444 + %i4453 = insertelement <2 x float> undef, %i4452, i64 0 + %i4454 = insertelement %i4453, float 0x0, i64 1 + %i4455 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4454, %i176 + %i4456 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4455, %a1 + %i4457 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4456, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4458 = extractvalue <4 x half> %i4457, 0 + %i4459 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4458, <4 x half> c489, %i4451) + %i4460 = insertelement <2 x float> c319, %i4444, i64 1 + %i4461 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4460, %i176 + %i4462 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4461, %a1 + %i4463 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4462, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4464 = extractvalue <4 x half> %i4463, 0 + %i4465 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4464, <4 x half> c295, %i4459) + %i4466 = insertelement <2 x float> c319, %i4452, i64 1 + %i4467 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4466, %i176 + %i4468 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4467, %a1 + %i4469 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4468, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4470 = extractvalue <4 x half> %i4469, 0 + %i4471 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4470, <4 x half> c332, %i4465) + %i4472 = shufflevector <2 x float> %i4445, <2 x float> poison, <0, 0> + %i4473 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4472, %i176 + %i4474 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4473, %a1 + %i4475 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4474, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4476 = extractvalue <4 x half> %i4475, 0 + %i4477 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4476, <4 x half> c490, %i4471) + %i4478 = insertelement %i4453, %i4444, i64 1 + %i4479 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4478, %i176 + %i4480 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4479, %a1 + %i4481 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4480, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4482 = extractvalue <4 x half> %i4481, 0 + %i4483 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4482, <4 x half> c321, %i4477) + %i4484 = insertelement %i4445, %i4452, i64 1 + %i4485 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4484, %i176 + %i4486 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4485, %a1 + %i4487 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4486, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4488 = extractvalue <4 x half> %i4487, 0 + %i4489 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4488, <4 x half> c491, %i4483) + %i4490 = shufflevector <2 x float> %i4453, <2 x float> poison, <0, 0> + %i4491 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4490, %i176 + %i4492 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4491, %a1 + %i4493 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4492, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4494 = extractvalue <4 x half> %i4493, 0 + %i4495 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4494, <4 x half> c335, %i4489) + %i4496 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4495, %i180 + %i4497 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4496, %i184 + %i4498 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4497, <4 x half> zeroinitializer, <4 x half> c322) + %i4499 = add nuw i32 %i4442, i32 1 + %i4500 = icmp eq %i4499, %i161 + br %i4500, bb147, bb148, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb149: + %i4502 = phi <4 x half> [%i147, bb17], [%i158, bb150] + %i4503 = phi <4 x half> [%i145, bb17], [%i154, bb150] + %i4504 = phi <2 x float> [%i143, bb17], [%i150, bb150] + %i4505 = phi <4 x half> [<4 x half> zeroinitializer, bb17], [%i4639, bb150] + %i4506 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4505, %i4505 + %i4507 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4506, %i4505 + %i4508 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4507, <4 x half> c336 + %i4509 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4506, <4 x half> c295 + %i4510 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4509, %i4505 + %i4511 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4510, %i4508 + %i4512 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4511, %i4503 + %i4513 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4512, %i4502 + %i4514 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4513, <4 x half> c296, <4 x half> c297) + %i4515 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4514, <4 x half> c298 + %i4516 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4515) + %i4517 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4516, <4 x half> c299 + %i4518 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4506, <4 x half> c300 + %i4519 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4517, %i4518 + %i4520 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4506, <4 x half> c301 + %i4521 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4519, %i4520) + %i4522 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4523 = load <4 x half>, %i4522, align 8 + %i4524 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4523, %i4521 + %i4525 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4526 = load <4 x half>, %i4525, align 8 + %i4527 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4526, <4 x half> c302 + %i4528 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4506, %i4507 + %i4529 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4506, %i4528 + %i4530 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4529, %i4524 + %i4531 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4530, %i4527 + %i4532 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4531, %i4531 + %i4533 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4532, %i4531 + %i4534 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4533, <4 x half> c337 + %i4535 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4532, <4 x half> c304 + %i4536 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4535, %i4531 + %i4537 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4536, %i4534 + %i4538 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4537, %i4503 + %i4539 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4538, %i4502 + %i4540 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4539, <4 x half> c296, <4 x half> c297) + %i4541 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4540, <4 x half> c305 + %i4542 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4541) + %i4543 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4542, <4 x half> c306 + %i4544 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4532, <4 x half> c300 + %i4545 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4544, %i4543 + %i4546 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4532, <4 x half> c301 + %i4547 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4545, %i4546) + %i4548 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4547, %i4523 + %i4549 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4526, <4 x half> c307 + %i4550 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4548, %i4549 + %i4551 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4550, %i4532 + %i4552 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4532, %i4533 + %i4553 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4551, %i4552 + %i4554 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4553, %i4553 + %i4555 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4554, %i4553 + %i4556 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4555, <4 x half> c338 + %i4557 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4554, <4 x half> c309 + %i4558 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4557, %i4553 + %i4559 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4558, %i4556 + %i4560 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4559, %i4503 + %i4561 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4560, %i4502 + %i4562 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4561, <4 x half> c296, <4 x half> c297) + %i4563 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4562, <4 x half> c310 + %i4564 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4563) + %i4565 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4564, <4 x half> c311 + %i4566 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4554, <4 x half> c300 + %i4567 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4566, %i4565 + %i4568 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4554, <4 x half> c301 + %i4569 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4567, %i4568) + %i4570 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4569, %i4523 + %i4571 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4526, <4 x half> c312 + %i4572 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4570, %i4571 + %i4573 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4572, %i4554 + %i4574 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4554, %i4555 + %i4575 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4573, %i4574 + %i4576 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4504, <2 x float> c492 + %i4577 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4576, %a1 + %i4578 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4577, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4579 = extractvalue <4 x half> %i4578, 0 + %i4580 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4579, <4 x half> c493, %i4575) + br bb162 +bb150: + %i4582 = phi <4 x half> [<4 x half> zeroinitializer, bb18], [%i4639, bb150] + %i4583 = phi i32 [i32 0, bb18], [%i4640, bb150] + %i4584 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4583) + %i4585 = fadd reassoc nnan ninf nsz arcp contract afn float %i4584, float 0x3F200000 + %i4586 = insertelement <2 x float> undef, %i4585, i64 0 + %i4587 = insertelement %i4586, float 0x0, i64 1 + %i4588 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4587, %i150 + %i4589 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4588, %a1 + %i4590 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4589, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4591 = extractvalue <4 x half> %i4590, 0 + %i4592 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4591, <4 x half> c494, %i4582) + %i4593 = fneg reassoc nnan ninf nsz arcp contract afn float %i4585 + %i4594 = insertelement <2 x float> undef, %i4593, i64 0 + %i4595 = insertelement %i4594, float 0x0, i64 1 + %i4596 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4595, %i150 + %i4597 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4596, %a1 + %i4598 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4597, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4599 = extractvalue <4 x half> %i4598, 0 + %i4600 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4599, <4 x half> c495, %i4592) + %i4601 = insertelement <2 x float> c319, %i4585, i64 1 + %i4602 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4601, %i150 + %i4603 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4602, %a1 + %i4604 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4603, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4605 = extractvalue <4 x half> %i4604, 0 + %i4606 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4605, <4 x half> c304, %i4600) + %i4607 = insertelement <2 x float> c319, %i4593, i64 1 + %i4608 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4607, %i150 + %i4609 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4608, %a1 + %i4610 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4609, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4611 = extractvalue <4 x half> %i4610, 0 + %i4612 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4611, <4 x half> c344, %i4606) + %i4613 = shufflevector <2 x float> %i4586, <2 x float> poison, <0, 0> + %i4614 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4613, %i150 + %i4615 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4614, %a1 + %i4616 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4615, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4617 = extractvalue <4 x half> %i4616, 0 + %i4618 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4617, <4 x half> c496, %i4612) + %i4619 = insertelement %i4594, %i4585, i64 1 + %i4620 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4619, %i150 + %i4621 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4620, %a1 + %i4622 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4621, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4623 = extractvalue <4 x half> %i4622, 0 + %i4624 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4623, <4 x half> c321, %i4618) + %i4625 = insertelement %i4586, %i4593, i64 1 + %i4626 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4625, %i150 + %i4627 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4626, %a1 + %i4628 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4627, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4629 = extractvalue <4 x half> %i4628, 0 + %i4630 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4629, <4 x half> c497, %i4624) + %i4631 = shufflevector <2 x float> %i4594, <2 x float> poison, <0, 0> + %i4632 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4631, %i150 + %i4633 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4632, %a1 + %i4634 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4633, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4635 = extractvalue <4 x half> %i4634, 0 + %i4636 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4635, <4 x half> c321, %i4630) + %i4637 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4636, %i154 + %i4638 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4637, %i158 + %i4639 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4638, <4 x half> zeroinitializer, <4 x half> c322) + %i4640 = add nuw i32 %i4583, i32 1 + %i4641 = icmp eq %i4640, %i135 + br %i4641, bb149, bb150, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb151: + %i4643 = phi <4 x half> [%i121, bb14], [%i132, bb152] + %i4644 = phi <4 x half> [%i119, bb14], [%i128, bb152] + %i4645 = phi <2 x float> [%i117, bb14], [%i124, bb152] + %i4646 = phi <4 x half> [<4 x half> zeroinitializer, bb14], [%i4780, bb152] + %i4647 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4646, %i4646 + %i4648 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4647, %i4646 + %i4649 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4648, <4 x half> c347 + %i4650 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4647, <4 x half> c295 + %i4651 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4650, %i4646 + %i4652 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4651, %i4649 + %i4653 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4652, %i4644 + %i4654 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4653, %i4643 + %i4655 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4654, <4 x half> c296, <4 x half> c324) + %i4656 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4655, <4 x half> c298 + %i4657 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4656) + %i4658 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4657, <4 x half> c299 + %i4659 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4647, <4 x half> c300 + %i4660 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4658, %i4659 + %i4661 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4647, <4 x half> c301 + %i4662 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4660, %i4661) + %i4663 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4664 = load <4 x half>, %i4663, align 8 + %i4665 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4664, %i4662 + %i4666 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4667 = load <4 x half>, %i4666, align 8 + %i4668 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4667, <4 x half> c302 + %i4669 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4647, %i4648 + %i4670 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4647, %i4669 + %i4671 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4670, %i4665 + %i4672 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4671, %i4668 + %i4673 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4672, %i4672 + %i4674 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4673, %i4672 + %i4675 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4674, <4 x half> c348 + %i4676 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4673, <4 x half> c304 + %i4677 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4676, %i4672 + %i4678 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4677, %i4675 + %i4679 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4678, %i4644 + %i4680 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4679, %i4643 + %i4681 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4680, <4 x half> c296, <4 x half> c324) + %i4682 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4681, <4 x half> c305 + %i4683 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4682) + %i4684 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4683, <4 x half> c306 + %i4685 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4673, <4 x half> c300 + %i4686 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4685, %i4684 + %i4687 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4673, <4 x half> c301 + %i4688 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4686, %i4687) + %i4689 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4688, %i4664 + %i4690 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4667, <4 x half> c307 + %i4691 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4689, %i4690 + %i4692 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4691, %i4673 + %i4693 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4673, %i4674 + %i4694 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4692, %i4693 + %i4695 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4694, %i4694 + %i4696 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4695, %i4694 + %i4697 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4696, <4 x half> c349 + %i4698 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4695, <4 x half> c309 + %i4699 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4698, %i4694 + %i4700 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4699, %i4697 + %i4701 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4700, %i4644 + %i4702 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4701, %i4643 + %i4703 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4702, <4 x half> c296, <4 x half> c324) + %i4704 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4703, <4 x half> c310 + %i4705 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4704) + %i4706 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4705, <4 x half> c311 + %i4707 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4695, <4 x half> c300 + %i4708 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4707, %i4706 + %i4709 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4695, <4 x half> c301 + %i4710 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4708, %i4709) + %i4711 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4710, %i4664 + %i4712 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4667, <4 x half> c312 + %i4713 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4711, %i4712 + %i4714 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4713, %i4695 + %i4715 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4695, %i4696 + %i4716 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4714, %i4715 + %i4717 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4645, <2 x float> c498 + %i4718 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4717, %a1 + %i4719 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4718, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4720 = extractvalue <4 x half> %i4719, 0 + %i4721 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4720, <4 x half> c499, %i4716) + br bb162 +bb152: + %i4723 = phi <4 x half> [<4 x half> zeroinitializer, bb15], [%i4780, bb152] + %i4724 = phi i32 [i32 0, bb15], [%i4781, bb152] + %i4725 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4724) + %i4726 = fadd reassoc nnan ninf nsz arcp contract afn float %i4725, float 0x3F400000 + %i4727 = insertelement <2 x float> undef, %i4726, i64 0 + %i4728 = insertelement %i4727, float 0x0, i64 1 + %i4729 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4728, %i124 + %i4730 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4729, %a1 + %i4731 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4730, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4732 = extractvalue <4 x half> %i4731, 0 + %i4733 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4732, <4 x half> c500, %i4723) + %i4734 = fneg reassoc nnan ninf nsz arcp contract afn float %i4726 + %i4735 = insertelement <2 x float> undef, %i4734, i64 0 + %i4736 = insertelement %i4735, float 0x0, i64 1 + %i4737 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4736, %i124 + %i4738 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4737, %a1 + %i4739 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4738, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4740 = extractvalue <4 x half> %i4739, 0 + %i4741 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4740, <4 x half> c501, %i4733) + %i4742 = insertelement <2 x float> c319, %i4726, i64 1 + %i4743 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4742, %i124 + %i4744 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4743, %a1 + %i4745 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4744, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4746 = extractvalue <4 x half> %i4745, 0 + %i4747 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4746, <4 x half> c309, %i4741) + %i4748 = insertelement <2 x float> c319, %i4734, i64 1 + %i4749 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4748, %i124 + %i4750 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4749, %a1 + %i4751 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4750, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4752 = extractvalue <4 x half> %i4751, 0 + %i4753 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4752, <4 x half> c355, %i4747) + %i4754 = shufflevector <2 x float> %i4727, <2 x float> poison, <0, 0> + %i4755 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4754, %i124 + %i4756 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4755, %a1 + %i4757 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4756, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4758 = extractvalue <4 x half> %i4757, 0 + %i4759 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4758, <4 x half> c502, %i4753) + %i4760 = insertelement %i4735, %i4726, i64 1 + %i4761 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4760, %i124 + %i4762 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4761, %a1 + %i4763 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4762, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4764 = extractvalue <4 x half> %i4763, 0 + %i4765 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4764, <4 x half> c321, %i4759) + %i4766 = insertelement %i4727, %i4734, i64 1 + %i4767 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4766, %i124 + %i4768 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4767, %a1 + %i4769 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4768, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4770 = extractvalue <4 x half> %i4769, 0 + %i4771 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4770, <4 x half> c503, %i4765) + %i4772 = shufflevector <2 x float> %i4735, <2 x float> poison, <0, 0> + %i4773 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4772, %i124 + %i4774 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4773, %a1 + %i4775 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4774, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4776 = extractvalue <4 x half> %i4775, 0 + %i4777 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4776, <4 x half> c335, %i4771) + %i4778 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4777, %i128 + %i4779 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4778, %i132 + %i4780 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4779, <4 x half> zeroinitializer, <4 x half> c322) + %i4781 = add nuw i32 %i4724, i32 1 + %i4782 = icmp eq %i4781, %i109 + br %i4782, bb151, bb152, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb153: + %i4784 = phi <4 x half> [%i95, bb11], [%i106, bb154] + %i4785 = phi <4 x half> [%i93, bb11], [%i102, bb154] + %i4786 = phi <2 x float> [%i91, bb11], [%i98, bb154] + %i4787 = phi <4 x half> [<4 x half> zeroinitializer, bb11], [%i4921, bb154] + %i4788 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4787, %i4787 + %i4789 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4788, %i4787 + %i4790 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4789, <4 x half> c294 + %i4791 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4788, <4 x half> c295 + %i4792 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4791, %i4787 + %i4793 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4792, %i4790 + %i4794 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4793, %i4785 + %i4795 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4794, %i4784 + %i4796 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4795, <4 x half> c296, <4 x half> c297) + %i4797 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4796, <4 x half> c298 + %i4798 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4797) + %i4799 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4798, <4 x half> c299 + %i4800 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4788, <4 x half> c300 + %i4801 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4799, %i4800 + %i4802 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4788, <4 x half> c301 + %i4803 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4801, %i4802) + %i4804 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4805 = load <4 x half>, %i4804, align 8 + %i4806 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4805, %i4803 + %i4807 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4808 = load <4 x half>, %i4807, align 8 + %i4809 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4808, <4 x half> c302 + %i4810 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4788, %i4789 + %i4811 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4788, %i4810 + %i4812 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4811, %i4806 + %i4813 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4812, %i4809 + %i4814 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4813, %i4813 + %i4815 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4814, %i4813 + %i4816 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4815, <4 x half> c303 + %i4817 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4814, <4 x half> c304 + %i4818 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4817, %i4813 + %i4819 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4818, %i4816 + %i4820 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4819, %i4785 + %i4821 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4820, %i4784 + %i4822 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4821, <4 x half> c296, <4 x half> c297) + %i4823 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4822, <4 x half> c305 + %i4824 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4823) + %i4825 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4824, <4 x half> c306 + %i4826 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4814, <4 x half> c300 + %i4827 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4826, %i4825 + %i4828 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4814, <4 x half> c301 + %i4829 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4827, %i4828) + %i4830 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4829, %i4805 + %i4831 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4808, <4 x half> c307 + %i4832 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4830, %i4831 + %i4833 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4832, %i4814 + %i4834 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4814, %i4815 + %i4835 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4833, %i4834 + %i4836 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4835, %i4835 + %i4837 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4836, %i4835 + %i4838 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4837, <4 x half> c308 + %i4839 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4836, <4 x half> c309 + %i4840 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4839, %i4835 + %i4841 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4840, %i4838 + %i4842 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4841, %i4785 + %i4843 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4842, %i4784 + %i4844 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4843, <4 x half> c296, <4 x half> c297) + %i4845 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4844, <4 x half> c310 + %i4846 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4845) + %i4847 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4846, <4 x half> c311 + %i4848 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4836, <4 x half> c300 + %i4849 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4848, %i4847 + %i4850 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4836, <4 x half> c301 + %i4851 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4849, %i4850) + %i4852 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4851, %i4805 + %i4853 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4808, <4 x half> c312 + %i4854 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4852, %i4853 + %i4855 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4854, %i4836 + %i4856 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4836, %i4837 + %i4857 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4855, %i4856 + %i4858 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4786, <2 x float> c504 + %i4859 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4858, %a1 + %i4860 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4859, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4861 = extractvalue <4 x half> %i4860, 0 + %i4862 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4861, <4 x half> c505, %i4857) + br bb162 +bb154: + %i4864 = phi <4 x half> [<4 x half> zeroinitializer, bb12], [%i4921, bb154] + %i4865 = phi i32 [i32 0, bb12], [%i4922, bb154] + %i4866 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i4865) + %i4867 = fadd reassoc nnan ninf nsz arcp contract afn float %i4866, float 0x3F600000 + %i4868 = insertelement <2 x float> undef, %i4867, i64 0 + %i4869 = insertelement %i4868, float 0x0, i64 1 + %i4870 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4869, %i98 + %i4871 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4870, %a1 + %i4872 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4871, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4873 = extractvalue <4 x half> %i4872, 0 + %i4874 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4873, <4 x half> c506, %i4864) + %i4875 = fneg reassoc nnan ninf nsz arcp contract afn float %i4867 + %i4876 = insertelement <2 x float> undef, %i4875, i64 0 + %i4877 = insertelement %i4876, float 0x0, i64 1 + %i4878 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4877, %i98 + %i4879 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4878, %a1 + %i4880 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4879, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4881 = extractvalue <4 x half> %i4880, 0 + %i4882 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4881, <4 x half> c507, %i4874) + %i4883 = insertelement <2 x float> c319, %i4867, i64 1 + %i4884 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4883, %i98 + %i4885 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4884, %a1 + %i4886 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4885, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4887 = extractvalue <4 x half> %i4886, 0 + %i4888 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4887, <4 x half> c362, %i4882) + %i4889 = insertelement <2 x float> c319, %i4875, i64 1 + %i4890 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4889, %i98 + %i4891 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4890, %a1 + %i4892 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4891, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4893 = extractvalue <4 x half> %i4892, 0 + %i4894 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4893, <4 x half> c320, %i4888) + %i4895 = shufflevector <2 x float> %i4868, <2 x float> poison, <0, 0> + %i4896 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4895, %i98 + %i4897 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4896, %a1 + %i4898 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4897, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4899 = extractvalue <4 x half> %i4898, 0 + %i4900 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4899, <4 x half> c508, %i4894) + %i4901 = insertelement %i4876, %i4867, i64 1 + %i4902 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4901, %i98 + %i4903 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4902, %a1 + %i4904 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4903, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4905 = extractvalue <4 x half> %i4904, 0 + %i4906 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4905, <4 x half> c321, %i4900) + %i4907 = insertelement %i4868, %i4875, i64 1 + %i4908 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4907, %i98 + %i4909 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4908, %a1 + %i4910 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4909, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4911 = extractvalue <4 x half> %i4910, 0 + %i4912 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4911, <4 x half> c509, %i4906) + %i4913 = shufflevector <2 x float> %i4876, <2 x float> poison, <0, 0> + %i4914 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4913, %i98 + %i4915 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4914, %a1 + %i4916 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i4915, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i4917 = extractvalue <4 x half> %i4916, 0 + %i4918 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4917, <4 x half> c321, %i4912) + %i4919 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4918, %i102 + %i4920 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4919, %i106 + %i4921 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4920, <4 x half> zeroinitializer, <4 x half> c322) + %i4922 = add nuw i32 %i4865, i32 1 + %i4923 = icmp eq %i4922, %i83 + br %i4923, bb153, bb154, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb155: + %i4925 = phi <4 x half> [%i69, bb8], [%i80, bb156] + %i4926 = phi <4 x half> [%i67, bb8], [%i76, bb156] + %i4927 = phi <2 x float> [%i65, bb8], [%i72, bb156] + %i4928 = phi <4 x half> [<4 x half> zeroinitializer, bb8], [%i5062, bb156] + %i4929 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4928, %i4928 + %i4930 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4929, %i4928 + %i4931 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4930, <4 x half> c323 + %i4932 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4929, <4 x half> c295 + %i4933 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4932, %i4928 + %i4934 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4933, %i4931 + %i4935 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4934, %i4926 + %i4936 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4935, %i4925 + %i4937 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4936, <4 x half> c296, <4 x half> c324) + %i4938 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4937, <4 x half> c298 + %i4939 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4938) + %i4940 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4939, <4 x half> c299 + %i4941 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4929, <4 x half> c300 + %i4942 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4940, %i4941 + %i4943 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4929, <4 x half> c301 + %i4944 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4942, %i4943) + %i4945 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i4946 = load <4 x half>, %i4945, align 8 + %i4947 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4946, %i4944 + %i4948 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i4949 = load <4 x half>, %i4948, align 8 + %i4950 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4949, <4 x half> c302 + %i4951 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4929, %i4930 + %i4952 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4929, %i4951 + %i4953 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4952, %i4947 + %i4954 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4953, %i4950 + %i4955 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4954, %i4954 + %i4956 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4955, %i4954 + %i4957 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4956, <4 x half> c325 + %i4958 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4955, <4 x half> c304 + %i4959 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4958, %i4954 + %i4960 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4959, %i4957 + %i4961 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4960, %i4926 + %i4962 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4961, %i4925 + %i4963 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4962, <4 x half> c296, <4 x half> c324) + %i4964 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4963, <4 x half> c305 + %i4965 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4964) + %i4966 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4965, <4 x half> c306 + %i4967 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4955, <4 x half> c300 + %i4968 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4967, %i4966 + %i4969 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4955, <4 x half> c301 + %i4970 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4968, %i4969) + %i4971 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4970, %i4946 + %i4972 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4949, <4 x half> c307 + %i4973 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4971, %i4972 + %i4974 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4973, %i4955 + %i4975 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4955, %i4956 + %i4976 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4974, %i4975 + %i4977 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4976, %i4976 + %i4978 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4977, %i4976 + %i4979 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4978, <4 x half> c326 + %i4980 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4977, <4 x half> c309 + %i4981 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4980, %i4976 + %i4982 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4981, %i4979 + %i4983 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4982, %i4926 + %i4984 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4983, %i4925 + %i4985 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4984, <4 x half> c296, <4 x half> c324) + %i4986 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4985, <4 x half> c310 + %i4987 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4986) + %i4988 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4987, <4 x half> c311 + %i4989 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4977, <4 x half> c300 + %i4990 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4989, %i4988 + %i4991 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4977, <4 x half> c301 + %i4992 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i4990, %i4991) + %i4993 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4992, %i4946 + %i4994 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4949, <4 x half> c312 + %i4995 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4993, %i4994 + %i4996 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i4995, %i4977 + %i4997 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i4977, %i4978 + %i4998 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i4996, %i4997 + %i4999 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i4927, <2 x float> c510 + %i5000 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i4999, %a1 + %i5001 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5000, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5002 = extractvalue <4 x half> %i5001, 0 + %i5003 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5002, <4 x half> c511, %i4998) + br bb162 +bb156: + %i5005 = phi i32 [i32 0, bb9], [%i5063, bb156] + %i5006 = phi <4 x half> [<4 x half> zeroinitializer, bb9], [%i5062, bb156] + %i5007 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i5005) + %i5008 = fadd reassoc nnan ninf nsz arcp contract afn float %i5007, float 0x3F800000 + %i5009 = insertelement <2 x float> undef, %i5008, i64 0 + %i5010 = insertelement %i5009, float 0x0, i64 1 + %i5011 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5010, %i72 + %i5012 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5011, %a1 + %i5013 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5012, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5014 = extractvalue <4 x half> %i5013, 0 + %i5015 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5014, <4 x half> c512, %i5006) + %i5016 = fneg reassoc nnan ninf nsz arcp contract afn float %i5008 + %i5017 = insertelement <2 x float> undef, %i5016, i64 0 + %i5018 = insertelement %i5017, float 0x0, i64 1 + %i5019 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5018, %i72 + %i5020 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5019, %a1 + %i5021 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5020, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5022 = extractvalue <4 x half> %i5021, 0 + %i5023 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5022, <4 x half> c513, %i5015) + %i5024 = insertelement <2 x float> c319, %i5008, i64 1 + %i5025 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5024, %i72 + %i5026 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5025, %a1 + %i5027 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5026, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5028 = extractvalue <4 x half> %i5027, 0 + %i5029 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5028, <4 x half> c369, %i5023) + %i5030 = insertelement <2 x float> c319, %i5016, i64 1 + %i5031 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5030, %i72 + %i5032 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5031, %a1 + %i5033 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5032, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5034 = extractvalue <4 x half> %i5033, 0 + %i5035 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5034, <4 x half> c332, %i5029) + %i5036 = shufflevector <2 x float> %i5009, <2 x float> poison, <0, 0> + %i5037 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5036, %i72 + %i5038 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5037, %a1 + %i5039 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5038, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5040 = extractvalue <4 x half> %i5039, 0 + %i5041 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5040, <4 x half> c514, %i5035) + %i5042 = insertelement %i5017, %i5008, i64 1 + %i5043 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5042, %i72 + %i5044 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5043, %a1 + %i5045 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5044, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5046 = extractvalue <4 x half> %i5045, 0 + %i5047 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5046, <4 x half> c321, %i5041) + %i5048 = insertelement %i5009, %i5016, i64 1 + %i5049 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5048, %i72 + %i5050 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5049, %a1 + %i5051 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5050, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5052 = extractvalue <4 x half> %i5051, 0 + %i5053 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5052, <4 x half> c515, %i5047) + %i5054 = shufflevector <2 x float> %i5017, <2 x float> poison, <0, 0> + %i5055 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5054, %i72 + %i5056 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5055, %a1 + %i5057 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5056, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5058 = extractvalue <4 x half> %i5057, 0 + %i5059 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5058, <4 x half> c335, %i5053) + %i5060 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5059, %i76 + %i5061 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5060, %i80 + %i5062 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5061, <4 x half> zeroinitializer, <4 x half> c322) + %i5063 = add nuw i32 %i5005, i32 1 + %i5064 = icmp eq %i5063, %i57 + br %i5064, bb155, bb156, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb157: + %i5066 = phi <4 x half> [%i43, bb5], [%i54, bb158] + %i5067 = phi <4 x half> [%i41, bb5], [%i50, bb158] + %i5068 = phi <2 x float> [%i39, bb5], [%i46, bb158] + %i5069 = phi <4 x half> [<4 x half> zeroinitializer, bb5], [%i5203, bb158] + %i5070 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5069, %i5069 + %i5071 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5070, %i5069 + %i5072 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5071, <4 x half> c336 + %i5073 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5070, <4 x half> c295 + %i5074 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5073, %i5069 + %i5075 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5074, %i5072 + %i5076 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5075, %i5067 + %i5077 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5076, %i5066 + %i5078 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5077, <4 x half> c296, <4 x half> c297) + %i5079 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5078, <4 x half> c298 + %i5080 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5079) + %i5081 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5080, <4 x half> c299 + %i5082 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5070, <4 x half> c300 + %i5083 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5081, %i5082 + %i5084 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5070, <4 x half> c301 + %i5085 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5083, %i5084) + %i5086 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i5087 = load <4 x half>, %i5086, align 8 + %i5088 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5087, %i5085 + %i5089 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i5090 = load <4 x half>, %i5089, align 8 + %i5091 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5090, <4 x half> c302 + %i5092 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5070, %i5071 + %i5093 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i5070, %i5092 + %i5094 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5093, %i5088 + %i5095 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5094, %i5091 + %i5096 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5095, %i5095 + %i5097 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5096, %i5095 + %i5098 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5097, <4 x half> c337 + %i5099 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5096, <4 x half> c304 + %i5100 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5099, %i5095 + %i5101 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5100, %i5098 + %i5102 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5101, %i5067 + %i5103 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5102, %i5066 + %i5104 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5103, <4 x half> c296, <4 x half> c297) + %i5105 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5104, <4 x half> c305 + %i5106 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5105) + %i5107 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5106, <4 x half> c306 + %i5108 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5096, <4 x half> c300 + %i5109 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5108, %i5107 + %i5110 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5096, <4 x half> c301 + %i5111 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5109, %i5110) + %i5112 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5111, %i5087 + %i5113 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5090, <4 x half> c307 + %i5114 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5112, %i5113 + %i5115 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5114, %i5096 + %i5116 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5096, %i5097 + %i5117 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i5115, %i5116 + %i5118 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5117, %i5117 + %i5119 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5118, %i5117 + %i5120 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5119, <4 x half> c338 + %i5121 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5118, <4 x half> c309 + %i5122 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5121, %i5117 + %i5123 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5122, %i5120 + %i5124 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5123, %i5067 + %i5125 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5124, %i5066 + %i5126 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5125, <4 x half> c296, <4 x half> c297) + %i5127 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5126, <4 x half> c310 + %i5128 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5127) + %i5129 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5128, <4 x half> c311 + %i5130 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5118, <4 x half> c300 + %i5131 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5130, %i5129 + %i5132 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5118, <4 x half> c301 + %i5133 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5131, %i5132) + %i5134 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5133, %i5087 + %i5135 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5090, <4 x half> c312 + %i5136 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5134, %i5135 + %i5137 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5136, %i5118 + %i5138 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5118, %i5119 + %i5139 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i5137, %i5138 + %i5140 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5068, <2 x float> c516 + %i5141 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5140, %a1 + %i5142 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5141, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5143 = extractvalue <4 x half> %i5142, 0 + %i5144 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5143, <4 x half> c517, %i5139) + br bb162 +bb158: + %i5146 = phi i32 [i32 0, bb6], [%i5204, bb158] + %i5147 = phi <4 x half> [<4 x half> zeroinitializer, bb6], [%i5203, bb158] + %i5148 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i5146) + %i5149 = fadd reassoc nnan ninf nsz arcp contract afn float %i5148, float 0x3F000000 + %i5150 = insertelement <2 x float> undef, %i5149, i64 0 + %i5151 = insertelement %i5150, float 0x0, i64 1 + %i5152 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5151, %i46 + %i5153 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5152, %a1 + %i5154 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5153, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5155 = extractvalue <4 x half> %i5154, 0 + %i5156 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5155, <4 x half> c518, %i5147) + %i5157 = fneg reassoc nnan ninf nsz arcp contract afn float %i5149 + %i5158 = insertelement <2 x float> undef, %i5157, i64 0 + %i5159 = insertelement %i5158, float 0x0, i64 1 + %i5160 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5159, %i46 + %i5161 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5160, %a1 + %i5162 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5161, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5163 = extractvalue <4 x half> %i5162, 0 + %i5164 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5163, <4 x half> c478, %i5156) + %i5165 = insertelement <2 x float> c319, %i5149, i64 1 + %i5166 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5165, %i46 + %i5167 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5166, %a1 + %i5168 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5167, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5169 = extractvalue <4 x half> %i5168, 0 + %i5170 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5169, <4 x half> c376, %i5164) + %i5171 = insertelement <2 x float> c319, %i5157, i64 1 + %i5172 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5171, %i46 + %i5173 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5172, %a1 + %i5174 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5173, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5175 = extractvalue <4 x half> %i5174, 0 + %i5176 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5175, <4 x half> c344, %i5170) + %i5177 = shufflevector <2 x float> %i5150, <2 x float> poison, <0, 0> + %i5178 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5177, %i46 + %i5179 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5178, %a1 + %i5180 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5179, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5181 = extractvalue <4 x half> %i5180, 0 + %i5182 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5181, <4 x half> c519, %i5176) + %i5183 = insertelement %i5158, %i5149, i64 1 + %i5184 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5183, %i46 + %i5185 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5184, %a1 + %i5186 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5185, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5187 = extractvalue <4 x half> %i5186, 0 + %i5188 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5187, <4 x half> c321, %i5182) + %i5189 = insertelement %i5150, %i5157, i64 1 + %i5190 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5189, %i46 + %i5191 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5190, %a1 + %i5192 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5191, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5193 = extractvalue <4 x half> %i5192, 0 + %i5194 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5193, <4 x half> c520, %i5188) + %i5195 = shufflevector <2 x float> %i5158, <2 x float> poison, <0, 0> + %i5196 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5195, %i46 + %i5197 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5196, %a1 + %i5198 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5197, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5199 = extractvalue <4 x half> %i5198, 0 + %i5200 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5199, <4 x half> c321, %i5194) + %i5201 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5200, %i50 + %i5202 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5201, %i54 + %i5203 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5202, <4 x half> zeroinitializer, <4 x half> c322) + %i5204 = add nuw i32 %i5146, i32 1 + %i5205 = icmp eq %i5204, %i31 + br %i5205, bb157, bb158, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb159: + %i5207 = phi <4 x half> [%i17, bb2], [%i28, bb160] + %i5208 = phi <4 x half> [%i15, bb2], [%i24, bb160] + %i5209 = phi <2 x float> [%i13, bb2], [%i20, bb160] + %i5210 = phi <4 x half> [<4 x half> zeroinitializer, bb2], [%i5344, bb160] + %i5211 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5210, %i5210 + %i5212 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5211, %i5210 + %i5213 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5212, <4 x half> c347 + %i5214 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5211, <4 x half> c295 + %i5215 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5214, %i5210 + %i5216 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5215, %i5213 + %i5217 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5216, %i5208 + %i5218 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5217, %i5207 + %i5219 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5218, <4 x half> c296, <4 x half> c324) + %i5220 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5219, <4 x half> c298 + %i5221 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5220) + %i5222 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5221, <4 x half> c299 + %i5223 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5211, <4 x half> c300 + %i5224 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5222, %i5223 + %i5225 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5211, <4 x half> c301 + %i5226 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5224, %i5225) + %i5227 = getelementptr inbounds %t26, %a4, i64 0, i32 3 + %i5228 = load <4 x half>, %i5227, align 8 + %i5229 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5228, %i5226 + %i5230 = getelementptr inbounds %t26, %a4, i64 0, i32 4 + %i5231 = load <4 x half>, %i5230, align 8 + %i5232 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5231, <4 x half> c302 + %i5233 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5211, %i5212 + %i5234 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i5211, %i5233 + %i5235 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5234, %i5229 + %i5236 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5235, %i5232 + %i5237 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5236, %i5236 + %i5238 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5237, %i5236 + %i5239 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5238, <4 x half> c348 + %i5240 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5237, <4 x half> c304 + %i5241 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5240, %i5236 + %i5242 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5241, %i5239 + %i5243 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5242, %i5208 + %i5244 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5243, %i5207 + %i5245 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5244, <4 x half> c296, <4 x half> c324) + %i5246 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5245, <4 x half> c305 + %i5247 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5246) + %i5248 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5247, <4 x half> c306 + %i5249 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5237, <4 x half> c300 + %i5250 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5249, %i5248 + %i5251 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5237, <4 x half> c301 + %i5252 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5250, %i5251) + %i5253 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5252, %i5228 + %i5254 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5231, <4 x half> c307 + %i5255 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5253, %i5254 + %i5256 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5255, %i5237 + %i5257 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5237, %i5238 + %i5258 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i5256, %i5257 + %i5259 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5258, %i5258 + %i5260 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5259, %i5258 + %i5261 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5260, <4 x half> c349 + %i5262 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5259, <4 x half> c309 + %i5263 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5262, %i5258 + %i5264 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5263, %i5261 + %i5265 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5264, %i5208 + %i5266 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5265, %i5207 + %i5267 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5266, <4 x half> c296, <4 x half> c324) + %i5268 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5267, <4 x half> c310 + %i5269 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f5 [air Math(Math { f: Floor, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5268) + %i5270 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5269, <4 x half> c311 + %i5271 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5259, <4 x half> c300 + %i5272 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5271, %i5270 + %i5273 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5259, <4 x half> c301 + %i5274 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f6 [air Math(Math { f: FMax, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5272, %i5273) + %i5275 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5274, %i5228 + %i5276 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5231, <4 x half> c312 + %i5277 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5275, %i5276 + %i5278 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5277, %i5259 + %i5279 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5259, %i5260 + %i5280 = fsub reassoc nnan ninf nsz arcp contract afn <4 x half> %i5278, %i5279 + %i5281 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5209, <2 x float> c521 + %i5282 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5281, %a1 + %i5283 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5282, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5284 = extractvalue <4 x half> %i5283, 0 + %i5285 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5284, <4 x half> c522, %i5280) + br bb162 +bb160: + %i5287 = phi i32 [i32 0, bb3], [%i5345, bb160] + %i5288 = phi <4 x half> [<4 x half> zeroinitializer, bb3], [%i5344, bb160] + %i5289 = tail call reassoc nnan ninf nsz arcp contract afn float @f2 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None })](%i5287) + %i5290 = fadd reassoc nnan ninf nsz arcp contract afn float %i5289, float 0x3F200000 + %i5291 = insertelement <2 x float> undef, %i5290, i64 0 + %i5292 = insertelement %i5291, float 0x0, i64 1 + %i5293 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5292, %i20 + %i5294 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5293, %a1 + %i5295 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5294, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5296 = extractvalue <4 x half> %i5295, 0 + %i5297 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5296, <4 x half> c523, %i5288) + %i5298 = fneg reassoc nnan ninf nsz arcp contract afn float %i5290 + %i5299 = insertelement <2 x float> undef, %i5298, i64 0 + %i5300 = insertelement %i5299, float 0x0, i64 1 + %i5301 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5300, %i20 + %i5302 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5301, %a1 + %i5303 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5302, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5304 = extractvalue <4 x half> %i5303, 0 + %i5305 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5304, <4 x half> c524, %i5297) + %i5306 = insertelement <2 x float> c319, %i5290, i64 1 + %i5307 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5306, %i20 + %i5308 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5307, %a1 + %i5309 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5308, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5310 = extractvalue <4 x half> %i5309, 0 + %i5311 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5310, <4 x half> c383, %i5305) + %i5312 = insertelement <2 x float> c319, %i5298, i64 1 + %i5313 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5312, %i20 + %i5314 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5313, %a1 + %i5315 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5314, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5316 = extractvalue <4 x half> %i5315, 0 + %i5317 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5316, <4 x half> c355, %i5311) + %i5318 = shufflevector <2 x float> %i5291, <2 x float> poison, <0, 0> + %i5319 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5318, %i20 + %i5320 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5319, %a1 + %i5321 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5320, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5322 = extractvalue <4 x half> %i5321, 0 + %i5323 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5322, <4 x half> c525, %i5317) + %i5324 = insertelement %i5299, %i5290, i64 1 + %i5325 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5324, %i20 + %i5326 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5325, %a1 + %i5327 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5326, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5328 = extractvalue <4 x half> %i5327, 0 + %i5329 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5328, <4 x half> c321, %i5323) + %i5330 = insertelement %i5291, %i5298, i64 1 + %i5331 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5330, %i20 + %i5332 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5331, %a1 + %i5333 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5332, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5334 = extractvalue <4 x half> %i5333, 0 + %i5335 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5334, <4 x half> c526, %i5329) + %i5336 = shufflevector <2 x float> %i5299, <2 x float> poison, <0, 0> + %i5337 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5336, %i20 + %i5338 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i5337, %a1 + %i5339 = tail call %t17 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, access: Some(Sample) })](%a2, %a3, %i5338, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture ) + %i5340 = extractvalue <4 x half> %i5339, 0 + %i5341 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5340, <4 x half> c335, %i5335) + %i5342 = fmul reassoc nnan ninf nsz arcp contract afn <4 x half> %i5341, %i24 + %i5343 = fadd reassoc nnan ninf nsz arcp contract afn <4 x half> %i5342, %i28 + %i5344 = tail call reassoc nnan ninf nsz arcp contract afn <4 x half> @f4 [air Math(Math { f: Clamp, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i5343, <4 x half> zeroinitializer, <4 x half> c322) + %i5345 = add nuw i32 %i5287, i32 1 + %i5346 = icmp eq %i5345, %i5 + br %i5346, bb159, bb160, !llvm.loop LoopHints { unroll: Default, must_progress: true } +bb161: + unreachable +bb162: + %i5349 = phi <4 x half> [%i5285, bb159], [%i5144, bb157], [%i5003, bb155], [%i4862, bb153], [%i4721, bb151], [%i4580, bb149], [%i4439, bb147], [%i4298, bb145], [%i4157, bb143], [%i4016, bb141], [%i3875, bb139], [%i3734, bb137], [%i3593, bb135], [%i3452, bb133], [%i3311, bb131], [%i3170, bb129], [%i3029, bb127], [%i2888, bb125], [%i2747, bb123], [%i2606, bb121], [%i2465, bb119], [%i2324, bb117], [%i2183, bb115], [%i2042, bb113], [%i1901, bb111], [%i1760, bb109], [%i1619, bb107], [%i1478, bb105], [%i1337, bb103], [%i1196, bb101], [%i1055, bb99], [%i914, bb97] + ret %i5349 +} + +declare %t12 @f2 "air.convert.f.f32.u.i32" memory(NoModRef, NoModRef, NoModRef) + +declare %t13 @f3 "air.fma.v4f16" memory(NoModRef, NoModRef, NoModRef) + +declare %t13 @f4 "air.clamp.v4f16" memory(NoModRef, NoModRef, NoModRef) + +declare %t14 @f5 "air.floor.v4f16" memory(NoModRef, NoModRef, NoModRef) + +declare %t15 @f6 "air.fmax.v4f16" memory(NoModRef, NoModRef, NoModRef) + +declare %t20 @f7 "air.sample_texture_2d.v4f16" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture ) +!md0 = !"SDK Version" +!md1 = !"wchar_size" +!md2 = !"frame-pointer" +!md3 = !"air.max_device_buffers" +!md4 = !"air.max_constant_buffers" +!md5 = !"air.max_threadgroup_buffers" +!md6 = !"air.max_textures" +!md7 = !"air.max_read_write_textures" +!md8 = !"air.max_samplers" +!md9 = !"air.position" +!md10 = !"air.arg_type_name" +!md11 = !"float4" +!md12 = !"air.arg_name" +!md13 = !"position" +!md14 = !"air.vertex_output" +!md15 = !"generated(2uvDv2_f)" +!md16 = !"float2" +!md17 = !"uv" +!md18 = !"air.vertex_id" +!md19 = !"uint" +!md20 = !"vid" +!md21 = !"air.render_target" +!md22 = !"half4" +!md23 = !"air.center" +!md24 = !"air.no_perspective" +!md25 = !"air.arg_unused" +!md26 = !"air.fragment_input" +!md27 = !"air.perspective" +!md28 = !"air.texture" +!md29 = !"air.location_index" +!md30 = !"air.sample" +!md31 = !"texture2d" +!md32 = !"src" +!md33 = !"air.sampler" +!md34 = !"sampler" +!md35 = !"smp" +!md36 = !"air.buffer" +!md37 = !"air.buffer_size" +!md38 = !"air.read" +!md39 = !"air.address_space" +!md40 = !"air.struct_type_info" +!md41 = !"mode" +!md42 = !"taps" +!md43 = !"texel" +!md44 = !"tint" +!md45 = !"lift" +!md46 = !"half" +!md47 = !"gain" +!md48 = !"bias" +!md49 = !"air.arg_type_size" +!md50 = !"air.arg_type_align_size" +!md51 = !"HfbParams" +!md52 = !"p" +!md53 = !"air.compile.denorms_disable" +!md54 = !"air.compile.fast_math_enable" +!md55 = !"air.compile.framebuffer_fetch_enable" +!md56 = !"Apple metal version 32023.921 (metalfe-32023.921.6)" +!md57 = !"Metal" +!md58 = i32 2 +!md59 = %t22 c11 +!md60 = i32 1 +!md61 = i32 4 +!md62 = i32 7 +!md63 = i32 31 +!md64 = i32 128 +!md65 = i32 8 +!md66 = i32 16 +!md67 = ptr addrspace(0) @f0 +!md68 = i32 0 +!md69 = ptr addrspace(0) @f1 +!md70 = i32 3 +!md71 = i32 40 +!md72 = i32 24 +!md73 = i32 32 +!md74 = i32 34 +!md75 = !{!md58, !md0, !md59} +!md76 = !{!md60, !md1, !md61} +!md77 = !{!md62, !md2, !md58} +!md78 = !{!md62, !md3, !md63} +!md79 = !{!md62, !md4, !md63} +!md80 = !{!md62, !md5, !md63} +!md81 = !{!md62, !md6, !md64} +!md82 = !{!md62, !md7, !md65} +!md83 = !{!md62, !md8, !md66} +!md84 = !{!md9, !md10, !md11, !md12, !md13} +!md85 = !{!md14, !md15, !md10, !md16, !md12, !md17} +!md86 = !{!md84, !md85} +!md87 = !{!md68, !md18, !md10, !md19, !md12, !md20} +!md88 = !{!md87} +!md89 = !{!md67, !md86, !md88} +!md90 = !{!md21, !md68, !md68, !md10, !md22} +!md91 = !{!md90} +!md92 = !{!md68, !md9, !md23, !md24, !md10, !md11, !md12, !md13, !md25} +!md93 = !{!md60, !md26, !md15, !md23, !md27, !md10, !md16, !md12, !md17} +!md94 = !{!md58, !md28, !md29, !md68, !md60, !md30, !md10, !md31, !md12, !md32} +!md95 = !{!md70, !md33, !md29, !md68, !md60, !md10, !md34, !md12, !md35} +!md96 = !{!md68, !md61, !md68, !md19, !md41, !md61, !md61, !md68, !md19, !md42, !md65, !md65, !md68, !md16, !md43, !md66, !md65, !md68, !md22, !md44, !md72, !md65, !md68, !md22, !md45, !md73, !md58, !md68, !md46, !md47, !md74, !md58, !md68, !md46, !md48} +!md97 = !{!md61, !md36, !md37, !md71, !md29, !md68, !md60, !md38, !md39, !md58, !md40, !md96, !md49, !md71, !md50, !md65, !md10, !md51, !md12, !md52} +!md98 = !{!md92, !md93, !md94, !md95, !md97} +!md99 = !{!md69, !md91, !md98} +!md100 = !{!md53} +!md101 = !{!md54} +!md102 = !{!md55} +!md103 = !{!md56} +!md104 = !{!md58, !md65, !md68} +!md105 = !{!md57, !md61, !md68, !md68} +!"llvm.module.flags" = !{!md75, !md76, !md77, !md78, !md79, !md80, !md81, !md82, !md83} +!"air.vertex" = !{!md89} +!"air.fragment" = !{!md99} +!"air.compile_options" = !{!md100, !md101, !md102} +!"llvm.ident" = !{!md103} +!"air.version" = !{!md104} +!"air.language_version" = !{!md105} diff --git a/docs/API.md b/docs/API.md index b3842cfc5..12f87223a 100644 --- a/docs/API.md +++ b/docs/API.md @@ -2472,9 +2472,10 @@ fast forms record, and each `PrecisionNote`'s rustdoc states its bound. whose division is not Metal's own, under `FloatMathsPolicy::Native` (the default). - `metal2vulkan-degrade-native-fma` (precision). `PrecisionNote::NativeFma`: Native device maths: a `float` fused multiply-add on a device without `OpFmaKHR`, or a `half` one where the device's - 16-bit `Fma` is not measured to be Metal's, is the device's `GLSL.std.450 Fma` (on the `half` - operands held in `float`, its result rounded to `half`), not the translation's correctly rounded - routine, under `FloatMathsPolicy::Native` (the default). + 16-bit `Fma` is not measured to be Metal's and the device has no 16-bit `OpFmaKHR` under the + 16-bit float controls, is the device's `GLSL.std.450 Fma` (on the `half` operands held in + `float`, its result rounded to `half`), not the translation's correctly rounded routine, under + `FloatMathsPolicy::Native` (the default). - `metal2vulkan-degrade-device-texel-conversion` (precision). `PrecisionNote::DeviceTexelConversion`: Native device sampling (a texel conversion): the module hands a read, sample or gather with a `float` result the device's own conversion of the texel's diff --git a/docs/FAST-PATHS.md b/docs/FAST-PATHS.md index 6f3655349..f6563a37d 100644 --- a/docs/FAST-PATHS.md +++ b/docs/FAST-PATHS.md @@ -35,8 +35,7 @@ a cell that names another source took its numbers there. | The maths library (`sin`, `exp`, `log`, `pow`, `atan2`...), divisions and Metal's fast reciprocal, and a fused multiply-add without `OpFmaKHR` are the device's instructions, not routines of Metal's answers. Off MoltenVK a `float` multiply, and a fused multiply-add by `OpFmaKHR`, keep the device's rounding before Metal's flush: Metal flushes a result whose exact value lies below `2^-126` before rounding it. | `float_maths = FloatMathsPolicy::Native` | `float_maths = FloatMathsPolicy::Exact`; there off MoltenVK a `float` product of `±2^-126` is Metal's zero where the exact product lies below `2^-126`, decided inline without a branch by one `OpFmaKHR` on the operands' magnitudes, or by their bits without `OpFmaKHR` (`arith.float.tiny`, `dot`'s first product too), and `OpFmaKHR` is checked: a result at most `2^-126` in magnitude, zero included, is answered by a routine called only then, with `double` one that decides only the exact sum's sign and whether it lies below `2^-126`, else the integer `fma`; a module with either check, or with a fused multiply-add the translation computes itself (the `double` and integer routines without `OpFmaKHR`, and every `half` one), declares `SignedZeroInfNanPreserve` at 32 bits, and at 64 for a `double` routine, where the device supports it, so the device keeps the zero signs they answer (without it Vulkan lets the device answer a zero of either sign; else `DeviceSignedZeroInfNan`) | Vulkan's precision table (`Sin` 2^-11 absolute in [-π, π], `Exp` 3 + 2·\|x\| ulp, `Atan` 4096 ulp) against Metal's 4-6 ulp; division 2.5 ulp; `fma` one `half` ulp (a `float` one may round twice); an `f32` denormal in a maths function, `fast::fmod` among them, read as the device reads it (`DeviceDenormals`); a product or fused multiply-add whose exact value lies within half a unit below `2^-126` answers `2^-126` of its sign where Metal answers the zero of its sign, announced once per device as it is made. `NativeTranscendentals` (`native-transcendentals`), `NativeDivision` (`native-division`), `NativeFma` (`native-fma`), `FloatTininessAfterRounding` (`float-tininess-after-rounding`) | A2X 0.99-1.02 → 9.66-9.83 s, GPU 0.097-0.098 → 0.222-0.225 ms; Xgc14 0.87-0.90 → 12.6-13.6 s, 0.038 → 0.124-0.135 ms; Xgc15 0.63-0.65 → 9.40-9.54 s, 0.089 → 0.208 ms (at 7a9d65147f, before these modules declared `SignedZeroInfNanPreserve`; its cost is not measured). Off MoltenVK a product's check is 12 instructions inline (23 without `OpFmaKHR`), and a checked `OpFmaKHR` adds its test, a branch and a call of a routine of about 40 instructions (with `double`), which the device's compiler copies into each use | | A NaN result's bits are the device's (no select of Metal's NaN), and `fmin`, `fmax`, `min3`, `max3`, `clamp` and `saturate` are the device's `NMin`, `NMax` and `NClamp`. | `nan_and_min_max = NanMinMaxPolicy::Native` | `nan_and_min_max = NanMinMaxPolicy::Exact` | A NaN where Metal answers one, its bits the device's; the operand Metal picks but at two NaNs, `+0` against `-0`, and `f32` denormals. `NativeNanEncoding` (`native-nan-encoding`), `NativeMinMax` (`native-min-max`) | A2X 1.00-1.02 → 1.85-1.88 s, GPU 0.098 → 0.116 ms; Xgc14 0.88-0.89 → 1.59-1.63 s, 0.039 → 0.048 ms; Xgc15 0.65-0.66 → 1.25-1.28 s, 0.090 → 0.102 ms | | `dot`, `mix` and `fast::sqrt` are the device's `OpDot`, `FMix` and `Sqrt`, not Metal's fused chain, its two fused multiply-adds and `x · rsqrt(x)`; a `dot` of other than two to four lanes sums the `OpDot` of each chunk of up to four lanes. | `rounding_order = RoundingOrderPolicy::Native` | `rounding_order = RoundingOrderPolicy::Exact` (MoltenVK takes Metal's order under every policy): Metal's chain over every lane of a `dot` of any width (test `wide_dot_is_metals_fused_chain_in_metals_order`) | `float` `dot` of n lanes within (3n − 1)·2^-24·Σ\|aᵢbᵢ\|, `mix` within 2^-21 of its two terms, `fast::sqrt` 4.5 ulp; `FMix` and `Sqrt` read an `f32` denormal as the device does (`DeviceDenormals`). `NativeDot` (`native-dot`), `NativeMix` (`native-mix`), `NativeTranscendentals` (`native-transcendentals`); a `dot` of other than two to four lanes within Vulkan's precision of its chunks' `OpDot` and sum, an `f32` denormal read as the device reads it, `DeviceArithmetic` (`device-arithmetic`) and `DeviceDenormals` | A2X 1.00-1.02 → 1.03-1.06 s, GPU 0.098 → 0.101 ms; Xgc14 0.88-0.89 → 0.97-1.02 s, 0.039 → 0.041 ms; Xgc15 0.65-0.66 → 0.73 s, 0.090 → 0.088 ms | -| A `half` result computed in `float` rounds through the device's conversion to 16 bits (three instructions), or its `OpQuantizeToF16` without `shaderFloat16`, not Metal's rounding in integer arithmetic (about twenty), on a device whose conversion is neither measured to be Metal's nor made Metal's by its float controls. ANV and RADV round through the conversion and its widening, each `NoContraction`, under `RoundingModeRTE`, `DenormPreserve` and `SignedZeroInfNanPreserve` for 16 bits: exact by the Vulkan spec under either policy, no note. NVIDIA's driver folds that pair (`DriverWorkaround::HalfConversionPairFolded`), so NVIDIA takes this row. | `half_rounding = HalfRoundingPolicy::Native` | `half_rounding = HalfRoundingPolicy::Exact` | One `half` ulp; 65504 where Metal answers infinity on a device rounding toward zero; a half denormal may flush; NaN bits and a zero's sign the device's. Or no rounding at all, measured: NVIDIA (RTX 3090, 615.71.09) drops the conversion pair, and lavapipe does in arithmetic on Mesa 26.2.4 with LLVM 23.1.1 and for a loaded texel on Mesa 26.0.8 with LLVM 21.1.8, whose arithmetic measured rounded, so the result keeps `float` precision, its differences compounding across operations, and a value past `half`'s range stays finite until a `half` store saturates it to infinity; the RTX 5080 Laptop GPU (615.71.09) rounds, measured: 8192 of 8192 narrowed sums are Metal's. `NativeHalfConversion` (`native-half-conversion`), `NativeHalfQuantize` (`native-half-quantize`) | A2X 0.99-1.04 → 7.19-7.21 s, GPU 0.098-0.100 → 0.139-0.140 ms (+40%); Xgc14 0.86-0.87 → 0.87-0.92 s, Xgc15 0.63-0.66 → 0.69-0.70 s, GPU unchanged (RTX 5080). Rounding natively by `OpQuantizeToF16` instead, which the RTX 3090 and lavapipe honour (Metal's answer on every operand tested), was measured and declined: A2X 1.3 s → 18-22 s, GPU 0.14 → 1.5 ms on an RTX 3090 | -| A `half` read from its bits (a load, a reinterpretation, a texel's bits) outside every loop is widened by the device (`UnpackHalf2x16`), not decoded exactly. | `half_rounding = HalfRoundingPolicy::Native` | `half_rounding = HalfRoundingPolicy::Exact` (with the row above) | A half denormal may read as zero where the device flushes them; NaN payload the device's. `NativeHalfConversion` (`native-half-conversion`) | Not measured alone on today's master. At its merge: A2X 1.04-1.07 s with it against 1.27-1.28 s with the exact decode; Xgc unchanged | +| A `half` result computed in `float` rounds through the device's conversion to 16 bits (three instructions), or its `OpQuantizeToF16` without `shaderFloat16`, not Metal's rounding in integer arithmetic (about twenty), on a device whose conversion is neither measured to be Metal's nor made Metal's by its float controls. ANV and RADV round through the conversion and its widening, each `NoContraction`, under `RoundingModeRTE`, `DenormPreserve` and `SignedZeroInfNanPreserve` for 16 bits: exact by the Vulkan spec under either policy, no note. Under the same controls a `half` `+ - *` is the device's 16-bit instruction, kept apart, and a `half` fused multiply-add is `OpFmaKHR` on 16 bits where `shaderFmaFloat16` is enabled, each correctly rounded by Vulkan's precision table, so neither rounds through the pair. NVIDIA's driver folds that pair (`DriverWorkaround::HalfConversionPairFolded`), so NVIDIA takes this row. | `half_rounding = HalfRoundingPolicy::Native` | `half_rounding = HalfRoundingPolicy::Exact` | One `half` ulp; 65504 where Metal answers infinity on a device rounding toward zero; a half denormal may flush; NaN bits and a zero's sign the device's. Or no rounding at all, measured: NVIDIA (RTX 3090, 615.71.09) drops the conversion pair, and lavapipe does in arithmetic on Mesa 26.2.4 with LLVM 23.1.1 and for a loaded texel on Mesa 26.0.8 with LLVM 21.1.8, whose arithmetic measured rounded, so the result keeps `float` precision, its differences compounding across operations, and a value past `half`'s range stays finite until a `half` store saturates it to infinity; the RTX 5080 Laptop GPU (615.71.09) rounds, measured: 8192 of 8192 narrowed sums are Metal's. `NativeHalfConversion` (`native-half-conversion`), `NativeHalfQuantize` (`native-half-quantize`) | A2X 1.39-1.42 → 10.09-10.14 s, GPU 0.137-0.153 → 1.27-1.36 ms; Xgc14 1.15-1.16 → 1.16-1.19 s, Xgc15 0.81-0.87 → 0.82-0.86 s, GPU unchanged (RTX 3090). Rounding natively by `OpQuantizeToF16` instead, which the RTX 3090 and lavapipe honour (Metal's answer on every operand tested), was measured and declined: A2X 1.3 s → 18-22 s, GPU 0.14 → 1.5 ms on an RTX 3090 | | The `half` conversion converts the value itself (no `NoContraction` barrier), so the device's compiler may fold it into the instruction computing the value, rounding once. | `half_rounding = HalfRoundingPolicy::Native` | `half_rounding = HalfRoundingPolicy::Exact` (with the rows above) | The row above's: on NVIDIA (RTX 3090), and on lavapipe for a loaded texel (Mesa 26.0.8), the pair is dropped whether or not the barrier stands, so the barrier does not restore the rounding there. `NativeHalfConversion` (`native-half-conversion`) | At its merge: A2X 0.99-1.02 s without the barrier against 1.00-1.05 s with it; Xgc within a round's spread | | A `half` texel's NaN is the rounding's own NaN, not the texel's bits (the keep's four instructions a texel are left out). | `half_rounding = HalfRoundingPolicy::Native` and `nan_and_min_max = NanMinMaxPolicy::Native` | `nan_and_min_max = NanMinMaxPolicy::Exact` (the keep under native half rounding, master ecd39568bb); `half_rounding = HalfRoundingPolicy::Exact` also keeps it, at that row's cost. The same switch also gives Metal's full rule: `0x7e00` for every NaN but a one-texel read, nearest sample or gather of a 16-bit float texture, by the slot's format class read as data, a heap handle's class index and a runtime sampler's filter. A gather with a `half` result fetches its four texels where the class is a half-float one, since NVIDIA's gather hands back every NaN as `0x7fffffff`. **Not yet exact:** a cube gather, bicubic and emulated linear, fetched or compared samples; and on ANV (Iris Xe, Mesa 26.2.4) every 16-bit float texel's NaN, which its image decode answers as `0xFFC00000` (`0xFE00` as a `half`) before any keep: reading the texel's bits through an unsigned integer view would answer Metal's. Possible, not built: the runtime sampler's filter read as push data rather than specialized, which would spare the remake below. Measured on the RTX 5080: under the switch no `half` lane of the runtime lane's texel reads, samples and gathers differs from Metal's (1,469 differ by default). Under the switch `DeviceNanEncoding` is still announced; the consumer logs notes, so no device fact is built to drop it | NaN bits the device's (`0x7FFF` on the RTX 5080), where Metal hands back a 16-bit float texel's own bits on a read, nearest sample or gather, and `0x7e00` for a 32-bit or small float texel's NaN and a linear sample's. `NativeHalfConversion` (`native-half-conversion`); the read also records `DeviceNanEncoding` (`device-nan-encoding`) | Measured on top of the NaN switch's own row (its probe with the keep, c0a814a13, against its probe without, 3e8a01c54): A2X 341,299 → 347,519 words, 1.82-1.86 → 1.81-1.87 s, GPU 0.115-0.117 → 0.115-0.116 ms, within noise; Xgc14 and Xgc15 read no `half` texel (words unchanged). The full rule (its probe a5c642ebe against the same tip without it, 851650c81): A2X 347,519 → 372,429 words (+7.2%), creation 1.85-1.88 → 1.99-2.04 s; where a linear runtime sampler is bound at the draw the sampler word's filter is now specialized, so the first draw remakes (1.94-1.96 s) and its GPU time rises 0.115-0.117 → 0.124-0.125 ms; with a nearest sampler GPU 0.115-0.116 → 0.115-0.117 ms; Xgc14 and Xgc15 words unchanged. On the RTX 3090 the same pair: A2X creation 2.91-3.06 → 3.17-3.23 s, the first draw's remake 3.0 s and its GPU time 0.17-0.18 → 0.79-1.15 ms, with a nearest sampler 0.17-0.18 ms both | | On ANV and RADV, which round a `half` through the device's conversion under the float controls, a `half` read from its bits (a load, a reinterpretation, a texel's bits) is the device's widening of them as a 16-bit float, loops included, and a `half` texel takes that conversion's NaN (no keep): every value but a NaN is exact by the Vulkan spec. | `nan_and_min_max = NanMinMaxPolicy::Native` | `nan_and_min_max = NanMinMaxPolicy::Exact`: the integer decode and the texel's keep; a `half` widened to `float` then answers Metal's `0x7fc00000` for every NaN, read from memory, a texel or a select alike | A `half` NaN widened to `float` has the device's bits (ANV quiets a signalling NaN, RADV keeps it), where Metal answers `0x7fc00000`; a `half` stored back unchanged keeps its bits. `NativeNanEncoding` (`native-nan-encoding`); a texel's, `DeviceNanEncoding` (`device-nan-encoding`) | ANV (Iris Xe, Mesa 26.2.4), A2X: making 4.06-4.36 → 5.76-5.87 s, 269,828 → 280,070 words, peak RSS 0.35 → 0.51 GB, GPU 4.48 → 4.62 ms (warm); RADV (Radeon 780M, Mesa 26.2.4): 379-467 → 535-665 ms, GPU within its clock states' spread |