Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
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
Nim
Objective-C
Objective-C++
OCaml
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
Vyper
WASM
Zig
Javascript
GIMPLE
Ygen
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 4.0.1
clang 5.0.0
clang 6.0.0
clang 7.0.0
clang 8.0.0
clang 9.0.0
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 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 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
@arr = dso_local global [100 x i32] zeroinitializer, align 16 define dso_local void @_Z4funcv() #0 { store i32 0, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 0), align 16 store i32 1, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 1), align 4 store i32 2, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 2), align 8 store i32 3, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 3), align 4 store i32 4, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 4), align 16 store i32 5, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 5), align 4 store i32 6, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 6), align 8 store i32 7, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 7), align 4 store i32 8, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 8), align 16 store i32 9, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 9), align 4 store i32 10, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 10), align 8 store i32 11, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 11), align 4 store i32 12, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 12), align 16 store i32 13, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 13), align 4 store i32 14, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 14), align 8 store i32 15, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 15), align 4 store i32 16, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 16), align 16 store i32 17, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 17), align 4 store i32 18, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 18), align 8 store i32 19, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 19), align 4 store i32 20, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 20), align 16 store i32 21, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 21), align 4 store i32 22, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 22), align 8 store i32 23, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 23), align 4 store i32 24, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 24), align 16 store i32 25, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 25), align 4 store i32 26, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 26), align 8 store i32 27, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 27), align 4 store i32 28, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 28), align 16 store i32 29, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 29), align 4 store i32 30, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 30), align 8 store i32 31, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 31), align 4 store i32 32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 32), align 16 store i32 33, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 33), align 4 store i32 34, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 34), align 8 store i32 35, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 35), align 4 store i32 36, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 36), align 16 store i32 37, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 37), align 4 store i32 38, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 38), align 8 store i32 39, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 39), align 4 store i32 40, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 40), align 16 store i32 41, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 41), align 4 store i32 42, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 42), align 8 store i32 43, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 43), align 4 store i32 44, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 44), align 16 store i32 45, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 45), align 4 store i32 46, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 46), align 8 store i32 47, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 47), align 4 store i32 48, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 48), align 16 store i32 49, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 49), align 4 store i32 50, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 50), align 8 store i32 51, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 51), align 4 store i32 52, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 52), align 16 store i32 53, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 53), align 4 store i32 54, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 54), align 8 store i32 55, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 55), align 4 store i32 56, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 56), align 16 store i32 57, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 57), align 4 store i32 58, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 58), align 8 store i32 59, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 59), align 4 store i32 60, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 60), align 16 store i32 61, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 61), align 4 store i32 62, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 62), align 8 store i32 63, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 63), align 4 store i32 64, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 64), align 16 store i32 65, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 65), align 4 store i32 66, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 66), align 8 store i32 67, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 67), align 4 store i32 68, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 68), align 16 store i32 69, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 69), align 4 store i32 70, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 70), align 8 store i32 71, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 71), align 4 store i32 72, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 72), align 16 store i32 73, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 73), align 4 store i32 74, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 74), align 8 store i32 75, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 75), align 4 store i32 76, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 76), align 16 store i32 77, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 77), align 4 store i32 78, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 78), align 8 store i32 79, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 79), align 4 store i32 80, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 80), align 16 store i32 81, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 81), align 4 store i32 82, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 82), align 8 store i32 83, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 83), align 4 store i32 84, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 84), align 16 store i32 85, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 85), align 4 store i32 86, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 86), align 8 store i32 87, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 87), align 4 store i32 88, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 88), align 16 store i32 89, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 89), align 4 store i32 90, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 90), align 8 store i32 91, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @arr, i64 0, i64 1), align 4 ret void } attributes #0 = { mustprogress noinline nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
CE on Bluesky
About the author
Statistics
Changelog
Version tree