Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Algol68
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C with Coccinelle
C++ with Coccinelle
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Mojo
Nim
Numba
Nix
Objective-C
Objective-C++
OCaml
Odin
OpenCL C
Pascal
Pony
PTX
Python
Racket
Raku
Ruby
Rust
Sail
Snowball
Scala
Slang
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
Triton
TypeScript Native
V
Vala
Visual Basic
Vyper
WASM
Zig
Javascript
GIMPLE
Ygen
sway
llvm source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
clang (assertions trunk)
clang (trunk)
clang 10.0.0
clang 10.0.1
clang 11.0.0
clang 11.0.1
clang 12.0.0
clang 12.0.1
clang 13.0.0
clang 14.0.0
clang 15.0.0
clang 16.0.0
clang 17.0.1
clang 18.1.0
clang 19.1.0
clang 20.1.0
clang 21.1.0
clang 4.0.1
clang 5.0.0
clang 6.0.0
clang 7.0.0
clang 8.0.0
clang 9.0.0
hexagon-clang 16.0.5
llc (assertions trunk)
llc (trunk)
llc 10.0.0
llc 10.0.1
llc 11.0.0
llc 11.0.1
llc 12.0.0
llc 12.0.1
llc 13.0.0
llc 14.0.0
llc 15.0.0
llc 16.0.0
llc 17.0.1
llc 18.1.0
llc 19.1.0
llc 20.1.0
llc 21.1.0
llc 3.2
llc 3.3
llc 3.9.1
llc 4.0.0
llc 4.0.1
llc 5.0.0
llc 6.0.0
llc 7.0.0
llc 8.0.0
llc 9.0.0
opt (assertions trunk)
opt (trunk)
opt 10.0.0
opt 10.0.1
opt 11.0.0
opt 11.0.1
opt 12.0.0
opt 12.0.1
opt 13.0.0
opt 14.0.0
opt 15.0.0
opt 16.0.0
opt 17.0.1
opt 18.1.0
opt 19.1.0
opt 20.1.0
opt 21.1.0
opt 3.2
opt 3.3
opt 3.9.1
opt 4.0.0
opt 4.0.1
opt 5.0.0
opt 6.0.0
opt 7.0.0
opt 8.0.0
opt 9.0.0
Options
Source code
; ModuleID = '/app/example.cpp' source_filename = "/app/example.cpp" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32" target triple = "aarch64-unknown-linux-gnu" @a = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable vscale_range(1,16) define dso_local void @_Z1cPA9_b(ptr noundef readonly captures(none) %b) local_unnamed_addr #0 { iter.check: %arrayidx3 = getelementptr inbounds nuw i8, ptr %b, i64 10 %0 = load i8, ptr %arrayidx3, align 1, !tbaa !7, !range !11, !noundef !12 %a.promoted = load i32, ptr @a, align 4, !tbaa !13 %1 = insertelement <16 x i32> <i32 poison, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>, i32 %a.promoted, i64 0 %broadcast.splatinsert = insertelement <16 x i8> poison, i8 %0, i64 0 %broadcast.splat = shufflevector <16 x i8> %broadcast.splatinsert, <16 x i8> poison, <16 x i32> zeroinitializer br label %vector.body vector.body: ; preds = %vector.body, %iter.check %index = phi i64 [ 0, %iter.check ], [ %index.next, %vector.body ] %vec.phi = phi <16 x i32> [ %1, %iter.check ], [ %267, %vector.body ] %vec.phi11 = phi <16 x i32> [ zeroinitializer, %iter.check ], [ %268, %vector.body ] %vec.phi12 = phi <16 x i32> [ zeroinitializer, %iter.check ], [ %269, %vector.body ] %vec.phi13 = phi <16 x i32> [ zeroinitializer, %iter.check ], [ %270, %vector.body ] %2 = shl i64 %index, 1 %3 = or disjoint i64 %2, 62 %4 = or disjoint i64 %2, 64 %5 = or disjoint i64 %2, 66 %6 = or disjoint i64 %2, 68 %7 = or disjoint i64 %2, 70 %8 = or disjoint i64 %2, 72 %9 = or disjoint i64 %2, 74 %10 = or disjoint i64 %2, 76 %11 = or disjoint i64 %2, 78 %12 = or disjoint i64 %2, 80 %13 = or disjoint i64 %2, 82 %14 = or disjoint i64 %2, 84 %15 = or disjoint i64 %2, 86 %16 = or disjoint i64 %2, 88 %17 = or disjoint i64 %2, 90 %18 = or disjoint i64 %2, 92 %19 = or disjoint i64 %2, 94 %20 = or disjoint i64 %2, 96 %21 = or disjoint i64 %2, 98 %22 = or disjoint i64 %2, 100 %23 = or disjoint i64 %2, 102 %24 = or disjoint i64 %2, 104 %25 = or disjoint i64 %2, 106 %26 = or disjoint i64 %2, 108 %27 = or disjoint i64 %2, 110 %28 = or disjoint i64 %2, 112 %29 = or disjoint i64 %2, 114 %30 = or disjoint i64 %2, 116 %31 = or disjoint i64 %2, 118 %32 = or disjoint i64 %2, 120 %33 = or disjoint i64 %2, 122 %34 = or disjoint i64 %2, 124 %35 = or disjoint i64 %2, 126 %36 = add i64 %2, 128 %37 = add i64 %2, 130 %38 = add i64 %2, 132 %39 = add i64 %2, 134 %40 = add i64 %2, 136 %41 = add i64 %2, 138 %42 = add i64 %2, 140 %43 = add i64 %2, 142 %44 = add i64 %2, 144 %45 = add i64 %2, 146 %46 = add i64 %2, 148 %47 = add i64 %2, 150 %48 = add i64 %2, 152 %49 = add i64 %2, 154 %50 = add i64 %2, 156 %51 = add i64 %2, 158 %52 = add i64 %2, 160 %53 = add i64 %2, 162 %54 = add i64 %2, 164 %55 = add i64 %2, 166 %56 = add i64 %2, 168 %57 = add i64 %2, 170 %58 = add i64 %2, 172 %59 = add i64 %2, 174 %60 = add i64 %2, 176 %61 = add i64 %2, 178 %62 = add i64 %2, 180 %63 = add i64 %2, 182 %64 = add i64 %2, 184 %65 = add i64 %2, 186 %66 = add i64 %2, 188 %67 = getelementptr inbounds [9 x i8], ptr %b, i64 %3, i64 %3 %68 = getelementptr inbounds [9 x i8], ptr %b, i64 %4, i64 %4 %69 = getelementptr inbounds [9 x i8], ptr %b, i64 %5, i64 %5 %70 = getelementptr inbounds [9 x i8], ptr %b, i64 %6, i64 %6 %71 = getelementptr inbounds [9 x i8], ptr %b, i64 %7, i64 %7 %72 = getelementptr inbounds [9 x i8], ptr %b, i64 %8, i64 %8 %73 = getelementptr inbounds [9 x i8], ptr %b, i64 %9, i64 %9 %74 = getelementptr inbounds [9 x i8], ptr %b, i64 %10, i64 %10 %75 = getelementptr inbounds [9 x i8], ptr %b, i64 %11, i64 %11 %76 = getelementptr inbounds [9 x i8], ptr %b, i64 %12, i64 %12 %77 = getelementptr inbounds [9 x i8], ptr %b, i64 %13, i64 %13 %78 = getelementptr inbounds [9 x i8], ptr %b, i64 %14, i64 %14 %79 = getelementptr inbounds [9 x i8], ptr %b, i64 %15, i64 %15 %80 = getelementptr inbounds [9 x i8], ptr %b, i64 %16, i64 %16 %81 = getelementptr inbounds [9 x i8], ptr %b, i64 %17, i64 %17 %82 = getelementptr inbounds [9 x i8], ptr %b, i64 %18, i64 %18 %83 = getelementptr inbounds [9 x i8], ptr %b, i64 %19, i64 %19 %84 = getelementptr inbounds [9 x i8], ptr %b, i64 %20, i64 %20 %85 = getelementptr inbounds [9 x i8], ptr %b, i64 %21, i64 %21 %86 = getelementptr inbounds [9 x i8], ptr %b, i64 %22, i64 %22 %87 = getelementptr inbounds [9 x i8], ptr %b, i64 %23, i64 %23 %88 = getelementptr inbounds [9 x i8], ptr %b, i64 %24, i64 %24 %89 = getelementptr inbounds [9 x i8], ptr %b, i64 %25, i64 %25 %90 = getelementptr inbounds [9 x i8], ptr %b, i64 %26, i64 %26 %91 = getelementptr inbounds [9 x i8], ptr %b, i64 %27, i64 %27 %92 = getelementptr inbounds [9 x i8], ptr %b, i64 %28, i64 %28 %93 = getelementptr inbounds [9 x i8], ptr %b, i64 %29, i64 %29 %94 = getelementptr inbounds [9 x i8], ptr %b, i64 %30, i64 %30 %95 = getelementptr inbounds [9 x i8], ptr %b, i64 %31, i64 %31 %96 = getelementptr inbounds [9 x i8], ptr %b, i64 %32, i64 %32 %97 = getelementptr inbounds [9 x i8], ptr %b, i64 %33, i64 %33 %98 = getelementptr inbounds [9 x i8], ptr %b, i64 %34, i64 %34 %99 = getelementptr inbounds [9 x i8], ptr %b, i64 %35, i64 %35 %100 = getelementptr inbounds [9 x i8], ptr %b, i64 %36, i64 %36 %101 = getelementptr inbounds [9 x i8], ptr %b, i64 %37, i64 %37 %102 = getelementptr inbounds [9 x i8], ptr %b, i64 %38, i64 %38 %103 = getelementptr inbounds [9 x i8], ptr %b, i64 %39, i64 %39 %104 = getelementptr inbounds [9 x i8], ptr %b, i64 %40, i64 %40 %105 = getelementptr inbounds [9 x i8], ptr %b, i64 %41, i64 %41 %106 = getelementptr inbounds [9 x i8], ptr %b, i64 %42, i64 %42 %107 = getelementptr inbounds [9 x i8], ptr %b, i64 %43, i64 %43 %108 = getelementptr inbounds [9 x i8], ptr %b, i64 %44, i64 %44 %109 = getelementptr inbounds [9 x i8], ptr %b, i64 %45, i64 %45 %110 = getelementptr inbounds [9 x i8], ptr %b, i64 %46, i64 %46 %111 = getelementptr inbounds [9 x i8], ptr %b, i64 %47, i64 %47 %112 = getelementptr inbounds [9 x i8], ptr %b, i64 %48, i64 %48 %113 = getelementptr inbounds [9 x i8], ptr %b, i64 %49, i64 %49 %114 = getelementptr inbounds [9 x i8], ptr %b, i64 %50, i64 %50 %115 = getelementptr inbounds [9 x i8], ptr %b, i64 %51, i64 %51 %116 = getelementptr inbounds [9 x i8], ptr %b, i64 %52, i64 %52 %117 = getelementptr inbounds [9 x i8], ptr %b, i64 %53, i64 %53 %118 = getelementptr inbounds [9 x i8], ptr %b, i64 %54, i64 %54 %119 = getelementptr inbounds [9 x i8], ptr %b, i64 %55, i64 %55 %120 = getelementptr inbounds [9 x i8], ptr %b, i64 %56, i64 %56 %121 = getelementptr inbounds [9 x i8], ptr %b, i64 %57, i64 %57 %122 = getelementptr inbounds [9 x i8], ptr %b, i64 %58, i64 %58 %123 = getelementptr inbounds [9 x i8], ptr %b, i64 %59, i64 %59 %124 = getelementptr inbounds [9 x i8], ptr %b, i64 %60, i64 %60 %125 = getelementptr inbounds [9 x i8], ptr %b, i64 %61, i64 %61 %126 = getelementptr inbounds [9 x i8], ptr %b, i64 %62, i64 %62 %127 = getelementptr inbounds [9 x i8], ptr %b, i64 %63, i64 %63 %128 = getelementptr inbounds [9 x i8], ptr %b, i64 %64, i64 %64 %129 = getelementptr inbounds [9 x i8], ptr %b, i64 %65, i64 %65 %130 = getelementptr inbounds [9 x i8], ptr %b, i64 %66, i64 %66 %131 = load i8, ptr %67, align 1, !tbaa !7, !range !11, !noundef !12 %132 = load i8, ptr %68, align 1, !tbaa !7, !range !11, !noundef !12 %133 = load i8, ptr %69, align 1, !tbaa !7, !range !11, !noundef !12 %134 = load i8, ptr %70, align 1, !tbaa !7, !range !11, !noundef !12 %135 = load i8, ptr %71, align 1, !tbaa !7, !range !11, !noundef !12 %136 = load i8, ptr %72, align 1, !tbaa !7, !range !11, !noundef !12 %137 = load i8, ptr %73, align 1, !tbaa !7, !range !11, !noundef !12 %138 = load i8, ptr %74, align 1, !tbaa !7, !range !11, !noundef !12 %139 = load i8, ptr %75, align 1, !tbaa !7, !range !11, !noundef !12 %140 = load i8, ptr %76, align 1, !tbaa !7, !range !11, !noundef !12 %141 = load i8, ptr %77, align 1, !tbaa !7, !range !11, !noundef !12 %142 = load i8, ptr %78, align 1, !tbaa !7, !range !11, !noundef !12 %143 = load i8, ptr %79, align 1, !tbaa !7, !range !11, !noundef !12 %144 = load i8, ptr %80, align 1, !tbaa !7, !range !11, !noundef !12 %145 = load i8, ptr %81, align 1, !tbaa !7, !range !11, !noundef !12 %146 = load i8, ptr %82, align 1, !tbaa !7, !range !11, !noundef !12 %147 = insertelement <16 x i8> poison, i8 %131, i64 0 %148 = insertelement <16 x i8> %147, i8 %132, i64 1 %149 = insertelement <16 x i8> %148, i8 %133, i64 2 %150 = insertelement <16 x i8> %149, i8 %134, i64 3 %151 = insertelement <16 x i8> %150, i8 %135, i64 4 %152 = insertelement <16 x i8> %151, i8 %136, i64 5 %153 = insertelement <16 x i8> %152, i8 %137, i64 6 %154 = insertelement <16 x i8> %153, i8 %138, i64 7 %155 = insertelement <16 x i8> %154, i8 %139, i64 8 %156 = insertelement <16 x i8> %155, i8 %140, i64 9 %157 = insertelement <16 x i8> %156, i8 %141, i64 10 %158 = insertelement <16 x i8> %157, i8 %142, i64 11 %159 = insertelement <16 x i8> %158, i8 %143, i64 12 %160 = insertelement <16 x i8> %159, i8 %144, i64 13 %161 = insertelement <16 x i8> %160, i8 %145, i64 14 %162 = insertelement <16 x i8> %161, i8 %146, i64 15 %163 = load i8, ptr %83, align 1, !tbaa !7, !range !11, !noundef !12 %164 = load i8, ptr %84, align 1, !tbaa !7, !range !11, !noundef !12 %165 = load i8, ptr %85, align 1, !tbaa !7, !range !11, !noundef !12 %166 = load i8, ptr %86, align 1, !tbaa !7, !range !11, !noundef !12 %167 = load i8, ptr %87, align 1, !tbaa !7, !range !11, !noundef !12 %168 = load i8, ptr %88, align 1, !tbaa !7, !range !11, !noundef !12 %169 = load i8, ptr %89, align 1, !tbaa !7, !range !11, !noundef !12 %170 = load i8, ptr %90, align 1, !tbaa !7, !range !11, !noundef !12 %171 = load i8, ptr %91, align 1, !tbaa !7, !range !11, !noundef !12 %172 = load i8, ptr %92, align 1, !tbaa !7, !range !11, !noundef !12 %173 = load i8, ptr %93, align 1, !tbaa !7, !range !11, !noundef !12 %174 = load i8, ptr %94, align 1, !tbaa !7, !range !11, !noundef !12 %175 = load i8, ptr %95, align 1, !tbaa !7, !range !11, !noundef !12 %176 = load i8, ptr %96, align 1, !tbaa !7, !range !11, !noundef !12 %177 = load i8, ptr %97, align 1, !tbaa !7, !range !11, !noundef !12 %178 = load i8, ptr %98, align 1, !tbaa !7, !range !11, !noundef !12 %179 = insertelement <16 x i8> poison, i8 %163, i64 0 %180 = insertelement <16 x i8> %179, i8 %164, i64 1 %181 = insertelement <16 x i8> %180, i8 %165, i64 2 %182 = insertelement <16 x i8> %181, i8 %166, i64 3 %183 = insertelement <16 x i8> %182, i8 %167, i64 4 %184 = insertelement <16 x i8> %183, i8 %168, i64 5 %185 = insertelement <16 x i8> %184, i8 %169, i64 6 %186 = insertelement <16 x i8> %185, i8 %170, i64 7 %187 = insertelement <16 x i8> %186, i8 %171, i64 8 %188 = insertelement <16 x i8> %187, i8 %172, i64 9 %189 = insertelement <16 x i8> %188, i8 %173, i64 10 %190 = insertelement <16 x i8> %189, i8 %174, i64 11 %191 = insertelement <16 x i8> %190, i8 %175, i64 12 %192 = insertelement <16 x i8> %191, i8 %176, i64 13 %193 = insertelement <16 x i8> %192, i8 %177, i64 14 %194 = insertelement <16 x i8> %193, i8 %178, i64 15 %195 = load i8, ptr %99, align 1, !tbaa !7, !range !11, !noundef !12 %196 = load i8, ptr %100, align 1, !tbaa !7, !range !11, !noundef !12 %197 = load i8, ptr %101, align 1, !tbaa !7, !range !11, !noundef !12 %198 = load i8, ptr %102, align 1, !tbaa !7, !range !11, !noundef !12 %199 = load i8, ptr %103, align 1, !tbaa !7, !range !11, !noundef !12 %200 = load i8, ptr %104, align 1, !tbaa !7, !range !11, !noundef !12 %201 = load i8, ptr %105, align 1, !tbaa !7, !range !11, !noundef !12 %202 = load i8, ptr %106, align 1, !tbaa !7, !range !11, !noundef !12 %203 = load i8, ptr %107, align 1, !tbaa !7, !range !11, !noundef !12 %204 = load i8, ptr %108, align 1, !tbaa !7, !range !11, !noundef !12 %205 = load i8, ptr %109, align 1, !tbaa !7, !range !11, !noundef !12 %206 = load i8, ptr %110, align 1, !tbaa !7, !range !11, !noundef !12 %207 = load i8, ptr %111, align 1, !tbaa !7, !range !11, !noundef !12 %208 = load i8, ptr %112, align 1, !tbaa !7, !range !11, !noundef !12 %209 = load i8, ptr %113, align 1, !tbaa !7, !range !11, !noundef !12 %210 = load i8, ptr %114, align 1, !tbaa !7, !range !11, !noundef !12 %211 = insertelement <16 x i8> poison, i8 %195, i64 0 %212 = insertelement <16 x i8> %211, i8 %196, i64 1 %213 = insertelement <16 x i8> %212, i8 %197, i64 2 %214 = insertelement <16 x i8> %213, i8 %198, i64 3 %215 = insertelement <16 x i8> %214, i8 %199, i64 4 %216 = insertelement <16 x i8> %215, i8 %200, i64 5 %217 = insertelement <16 x i8> %216, i8 %201, i64 6 %218 = insertelement <16 x i8> %217, i8 %202, i64 7 %219 = insertelement <16 x i8> %218, i8 %203, i64 8 %220 = insertelement <16 x i8> %219, i8 %204, i64 9 %221 = insertelement <16 x i8> %220, i8 %205, i64 10 %222 = insertelement <16 x i8> %221, i8 %206, i64 11 %223 = insertelement <16 x i8> %222, i8 %207, i64 12 %224 = insertelement <16 x i8> %223, i8 %208, i64 13 %225 = insertelement <16 x i8> %224, i8 %209, i64 14 %226 = insertelement <16 x i8> %225, i8 %210, i64 15 %227 = load i8, ptr %115, align 1, !tbaa !7, !range !11, !noundef !12 %228 = load i8, ptr %116, align 1, !tbaa !7, !range !11, !noundef !12 %229 = load i8, ptr %117, align 1, !tbaa !7, !range !11, !noundef !12 %230 = load i8, ptr %118, align 1, !tbaa !7, !range !11, !noundef !12 %231 = load i8, ptr %119, align 1, !tbaa !7, !range !11, !noundef !12 %232 = load i8, ptr %120, align 1, !tbaa !7, !range !11, !noundef !12 %233 = load i8, ptr %121, align 1, !tbaa !7, !range !11, !noundef !12 %234 = load i8, ptr %122, align 1, !tbaa !7, !range !11, !noundef !12 %235 = load i8, ptr %123, align 1, !tbaa !7, !range !11, !noundef !12 %236 = load i8, ptr %124, align 1, !tbaa !7, !range !11, !noundef !12 %237 = load i8, ptr %125, align 1, !tbaa !7, !range !11, !noundef !12 %238 = load i8, ptr %126, align 1, !tbaa !7, !range !11, !noundef !12 %239 = load i8, ptr %127, align 1, !tbaa !7, !range !11, !noundef !12 %240 = load i8, ptr %128, align 1, !tbaa !7, !range !11, !noundef !12 %241 = load i8, ptr %129, align 1, !tbaa !7, !range !11, !noundef !12 %242 = load i8, ptr %130, align 1, !tbaa !7, !range !11, !noundef !12 %243 = insertelement <16 x i8> poison, i8 %227, i64 0 %244 = insertelement <16 x i8> %243, i8 %228, i64 1 %245 = insertelement <16 x i8> %244, i8 %229, i64 2 %246 = insertelement <16 x i8> %245, i8 %230, i64 3 %247 = insertelement <16 x i8> %246, i8 %231, i64 4 %248 = insertelement <16 x i8> %247, i8 %232, i64 5 %249 = insertelement <16 x i8> %248, i8 %233, i64 6 %250 = insertelement <16 x i8> %249, i8 %234, i64 7 %251 = insertelement <16 x i8> %250, i8 %235, i64 8 %252 = insertelement <16 x i8> %251, i8 %236, i64 9 %253 = insertelement <16 x i8> %252, i8 %237, i64 10 %254 = insertelement <16 x i8> %253, i8 %238, i64 11 %255 = insertelement <16 x i8> %254, i8 %239, i64 12 %256 = insertelement <16 x i8> %255, i8 %240, i64 13 %257 = insertelement <16 x i8> %256, i8 %241, i64 14 %258 = insertelement <16 x i8> %257, i8 %242, i64 15 %259 = tail call <16 x i8> @llvm.umax.v16i8(<16 x i8> %162, <16 x i8> %broadcast.splat) %260 = tail call <16 x i8> @llvm.umax.v16i8(<16 x i8> %194, <16 x i8> %broadcast.splat) %261 = tail call <16 x i8> @llvm.umax.v16i8(<16 x i8> %226, <16 x i8> %broadcast.splat) %262 = tail call <16 x i8> @llvm.umax.v16i8(<16 x i8> %258, <16 x i8> %broadcast.splat) %263 = zext nneg <16 x i8> %259 to <16 x i32> %264 = zext nneg <16 x i8> %260 to <16 x i32> %265 = zext nneg <16 x i8> %261 to <16 x i32> %266 = zext nneg <16 x i8> %262 to <16 x i32> %267 = sub <16 x i32> %vec.phi, %263 %268 = sub <16 x i32> %vec.phi11, %264 %269 = sub <16 x i32> %vec.phi12, %265 %270 = sub <16 x i32> %vec.phi13, %266 %index.next = add nuw i64 %index, 64 %271 = icmp eq i64 %index.next, 9223372036854775744 br i1 %271, label %for.body, label %vector.body, !llvm.loop !15 for.body: ; preds = %vector.body %bin.rdx = add <16 x i32> %268, %267 %bin.rdx14 = add <16 x i32> %269, %bin.rdx %bin.rdx15 = add <16 x i32> %270, %bin.rdx14 %272 = tail call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %bin.rdx15) %273 = insertelement <16 x i32> <i32 poison, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>, i32 %272, i64 0 %274 = getelementptr inbounds i8, ptr %b, i64 -660 %275 = load i8, ptr %274, align 1, !tbaa !7, !range !11, !noundef !12 %276 = insertelement <16 x i8> poison, i8 %275, i64 0 %277 = getelementptr inbounds i8, ptr %b, i64 -640 %278 = load i8, ptr %277, align 1, !tbaa !7, !range !11, !noundef !12 %279 = insertelement <16 x i8> %276, i8 %278, i64 1 %280 = getelementptr inbounds i8, ptr %b, i64 -620 %281 = load i8, ptr %280, align 1, !tbaa !7, !range !11, !noundef !12 %282 = insertelement <16 x i8> %279, i8 %281, i64 2 %283 = getelementptr inbounds i8, ptr %b, i64 -600 %284 = load i8, ptr %283, align 1, !tbaa !7, !range !11, !noundef !12 %285 = insertelement <16 x i8> %282, i8 %284, i64 3 %286 = getelementptr inbounds i8, ptr %b, i64 -580 %287 = load i8, ptr %286, align 1, !tbaa !7, !range !11, !noundef !12 %288 = insertelement <16 x i8> %285, i8 %287, i64 4 %289 = getelementptr inbounds i8, ptr %b, i64 -560 %290 = load i8, ptr %289, align 1, !tbaa !7, !range !11, !noundef !12 %291 = insertelement <16 x i8> %288, i8 %290, i64 5 %292 = getelementptr inbounds i8, ptr %b, i64 -540 %293 = load i8, ptr %292, align 1, !tbaa !7, !range !11, !noundef !12 %294 = insertelement <16 x i8> %291, i8 %293, i64 6 %295 = getelementptr inbounds i8, ptr %b, i64 -520 %296 = load i8, ptr %295, align 1, !tbaa !7, !range !11, !noundef !12 %297 = insertelement <16 x i8> %294, i8 %296, i64 7 %298 = getelementptr inbounds i8, ptr %b, i64 -500 %299 = load i8, ptr %298, align 1, !tbaa !7, !range !11, !noundef !12 %300 = insertelement <16 x i8> %297, i8 %299, i64 8 %301 = getelementptr inbounds i8, ptr %b, i64 -480 %302 = load i8, ptr %301, align 1, !tbaa !7, !range !11, !noundef !12 %303 = insertelement <16 x i8> %300, i8 %302, i64 9 %304 = getelementptr inbounds i8, ptr %b, i64 -460 %305 = load i8, ptr %304, align 1, !tbaa !7, !range !11, !noundef !12 %306 = insertelement <16 x i8> %303, i8 %305, i64 10 %307 = getelementptr inbounds i8, ptr %b, i64 -440 %308 = load i8, ptr %307, align 1, !tbaa !7, !range !11, !noundef !12 %309 = insertelement <16 x i8> %306, i8 %308, i64 11 %310 = getelementptr inbounds i8, ptr %b, i64 -420 %311 = load i8, ptr %310, align 1, !tbaa !7, !range !11, !noundef !12 %312 = insertelement <16 x i8> %309, i8 %311, i64 12 %313 = getelementptr inbounds i8, ptr %b, i64 -400 %314 = load i8, ptr %313, align 1, !tbaa !7, !range !11, !noundef !12 %315 = insertelement <16 x i8> %312, i8 %314, i64 13 %316 = getelementptr inbounds i8, ptr %b, i64 -380 %317 = load i8, ptr %316, align 1, !tbaa !7, !range !11, !noundef !12 %318 = insertelement <16 x i8> %315, i8 %317, i64 14 %319 = getelementptr inbounds i8, ptr %b, i64 -360 %320 = load i8, ptr %319, align 1, !tbaa !7, !range !11, !noundef !12 %321 = insertelement <16 x i8> %318, i8 %320, i64 15 %broadcast.splatinsert16 = insertelement <16 x i8> poison, i8 %0, i64 0 %broadcast.splat17 = shufflevector <16 x i8> %broadcast.splatinsert16, <16 x i8> poison, <16 x i32> zeroinitializer %322 = tail call <16 x i8> @llvm.umax.v16i8(<16 x i8> %321, <16 x i8> %broadcast.splat17) %323 = zext nneg <16 x i8> %322 to <16 x i32> %324 = getelementptr inbounds i8, ptr %b, i64 -340 %325 = load i8, ptr %324, align 1, !tbaa !7, !range !11, !noundef !12 %326 = insertelement <16 x i8> poison, i8 %325, i64 0 %327 = getelementptr inbounds i8, ptr %b, i64 -320 %328 = load i8, ptr %327, align 1, !tbaa !7, !range !11, !noundef !12 %329 = insertelement <16 x i8> %326, i8 %328, i64 1 %330 = getelementptr inbounds i8, ptr %b, i64 -300 %331 = load i8, ptr %330, align 1, !tbaa !7, !range !11, !noundef !12 %332 = insertelement <16 x i8> %329, i8 %331, i64 2 %333 = getelementptr inbounds i8, ptr %b, i64 -280 %334 = load i8, ptr %333, align 1, !tbaa !7, !range !11, !noundef !12 %335 = insertelement <16 x i8> %332, i8 %334, i64 3 %336 = getelementptr inbounds i8, ptr %b, i64 -260 %337 = load i8, ptr %336, align 1, !tbaa !7, !range !11, !noundef !12 %338 = insertelement <16 x i8> %335, i8 %337, i64 4 %339 = getelementptr inbounds i8, ptr %b, i64 -240 %340 = load i8, ptr %339, align 1, !tbaa !7, !range !11, !noundef !12 %341 = insertelement <16 x i8> %338, i8 %340, i64 5 %342 = getelementptr inbounds i8, ptr %b, i64 -220 %343 = load i8, ptr %342, align 1, !tbaa !7, !range !11, !noundef !12 %344 = insertelement <16 x i8> %341, i8 %343, i64 6 %345 = getelementptr inbounds i8, ptr %b, i64 -200 %346 = load i8, ptr %345, align 1, !tbaa !7, !range !11, !noundef !12 %347 = insertelement <16 x i8> %344, i8 %346, i64 7 %348 = getelementptr inbounds i8, ptr %b, i64 -180 %349 = load i8, ptr %348, align 1, !tbaa !7, !range !11, !noundef !12 %350 = insertelement <16 x i8> %347, i8 %349, i64 8 %351 = getelementptr inbounds i8, ptr %b, i64 -160 %352 = load i8, ptr %351, align 1, !tbaa !7, !range !11, !noundef !12 %353 = insertelement <16 x i8> %350, i8 %352, i64 9 %354 = getelementptr inbounds i8, ptr %b, i64 -140 %355 = load i8, ptr %354, align 1, !tbaa !7, !range !11, !noundef !12 %356 = insertelement <16 x i8> %353, i8 %355, i64 10 %357 = getelementptr inbounds i8, ptr %b, i64 -120 %358 = load i8, ptr %357, align 1, !tbaa !7, !range !11, !noundef !12 %359 = insertelement <16 x i8> %356, i8 %358, i64 11 %360 = getelementptr inbounds i8, ptr %b, i64 -100 %361 = load i8, ptr %360, align 1, !tbaa !7, !range !11, !noundef !12 %362 = insertelement <16 x i8> %359, i8 %361, i64 12 %363 = getelementptr inbounds i8, ptr %b, i64 -80 %364 = load i8, ptr %363, align 1, !tbaa !7, !range !11, !noundef !12 %365 = insertelement <16 x i8> %362, i8 %364, i64 13 %366 = getelementptr inbounds i8, ptr %b, i64 -60 %367 = load i8, ptr %366, align 1, !tbaa !7, !range !11, !noundef !12 %368 = insertelement <16 x i8> %365, i8 %367, i64 14 %369 = getelementptr inbounds i8, ptr %b, i64 -40 %370 = load i8, ptr %369, align 1, !tbaa !7, !range !11, !noundef !12 %371 = insertelement <16 x i8> %368, i8 %370, i64 15 %372 = tail call <16 x i8> @llvm.umax.v16i8(<16 x i8> %371, <16 x i8> %broadcast.splat17) %373 = zext nneg <16 x i8> %372 to <16 x i32> %374 = add nuw nsw <16 x i32> %323, %373 %375 = sub <16 x i32> %273, %374 %376 = tail call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %375) %arrayidx1 = getelementptr inbounds i8, ptr %b, i64 -20 %377 = load i8, ptr %arrayidx1, align 1, !tbaa !7, !range !11, !noundef !12 %378 = tail call i8 @llvm.umax.i8(i8 %377, i8 %0) %loadedv = zext nneg i8 %378 to i32 %sub = sub nsw i32 %376, %loadedv store i32 %sub, ptr @a, align 4, !tbaa !13 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i8 @llvm.umax.i8(i8, i8) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare <16 x i8> @llvm.umax.v16i8(<16 x i8>, <16 x i8>) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v16i32(<16 x i32>) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable vscale_range(1,16) "approx-func-fp-math"="true" "frame-pointer"="non-leaf" "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" "target-cpu"="grace" "target-features"="+aes,+bf16,+bti,+ccidx,+complxnum,+crc,+dit,+dotprod,+ete,+flagm,+fp-armv8,+fp16fml,+fpac,+fullfp16,+i8mm,+jsconv,+lse,+mte,+neon,+outline-atomics,+pauth,+perfmon,+predres,+rand,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+sm4,+spe,+ssbs,+sve,+sve-aes,+sve-bitperm,+sve-sha3,+sve-sm4,+sve2,+trbe,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+v9a,-fmv" "unsafe-fp-math"="true" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} !llvm.ident = !{!6} !0 = !{i32 7, !"Dwarf Version", i32 4} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"PIE Level", i32 2} !4 = !{i32 7, !"uwtable", i32 2} !5 = !{i32 7, !"frame-pointer", i32 1} !6 = !{!"clang version 22.0.0git (https://github.com/llvm/llvm-project.git cd6311b50d4b9d87d986213db76d9810efd7df7e)"} !7 = !{!8, !8, i64 0} !8 = !{!"bool", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C++ TBAA"} !11 = !{i8 0, i8 2} !12 = !{} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = distinct !{!15, !16, !17, !18} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!"llvm.loop.isvectorized", i32 1} !18 = !{!"llvm.loop.unroll.runtime.disable"}
Become a Patron
Sponsor on GitHub
Donate via PayPal
Compiler Explorer Shop
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
CE on Bluesky
Statistics
Changelog
Version tree