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
target datalayout = "e-p6:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64" target triple = "nvptx64-nvidia-cuda" %union.loadMeta = type { [2 x i64] } %struct.ulong3 = type { i64, i64, i64 } $__llvm_profile_raw_version = comdat any $__profc__Z16iovec_cpy_kernelPvPhi = comdat nodeduplicate $__profc__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb = comdat nodeduplicate $__profc__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_ = comdat nodeduplicate $__llvm_profile_filename = comdat any @_ZZN12cuda_helpers13memcmp_kernelEPjS0_mPbE17mismatch_happened = internal addrspace(3) global i8 undef, align 1 @_ZL17__cr_lgamma_table = dso_local addrspace(4) externally_initialized constant [9 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FE62E42FEFA39EF, double 0x3FFCAB0BFA2A2002, double 0x40096CA77C922CF9, double 0x401326643C4479C9, double 0x401A51273ACF01CA, double 0x40210CE1F32DCC30, double 0x4025358E82FCB70D], align 8 @__llvm_profile_raw_version = protected local_unnamed_addr constant i64 72057594037927946, comdat @__llvm_profile_runtime = external protected global i32 @__profc__Z16iovec_cpy_kernelPvPhi = protected global [3 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 @__profd__Z16iovec_cpy_kernelPvPhi = protected global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 -4827854118199207249, i64 536873293233297668, i64 sub (i64 ptrtoint (ptr @__profc__Z16iovec_cpy_kernelPvPhi to i64), i64 ptrtoint (ptr @__profd__Z16iovec_cpy_kernelPvPhi to i64)), i64 0, ptr @_Z16iovec_cpy_kernelPvPhi, ptr null, i32 3, [3 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__Z16iovec_cpy_kernelPvPhi), align 8 @__profc__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb = protected global [5 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 @__profd__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb = protected global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 322482019142718985, i64 287486624882456055, i64 sub (i64 ptrtoint (ptr @__profc__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb to i64), i64 ptrtoint (ptr @__profd__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb to i64)), i64 0, ptr @_ZN12cuda_helpers13memcmp_kernelEPjS0_mPb, ptr null, i32 5, [3 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb), align 8 @__profc__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_ = protected global [2 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 @__profd__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_ = protected global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 6751910081870359886, i64 146835646621254984, i64 sub (i64 ptrtoint (ptr @__profc__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_ to i64), i64 ptrtoint (ptr @__profd__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_ to i64)), i64 0, ptr @_ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_, ptr null, i32 2, [3 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_), align 8 @__llvm_prf_nm = protected constant [90 x i8] c"rXx\DA\8B\8F24\CB\CC/KM\8EO.\A8\8C\CFN-\CAK\CD\09(\0B\C8\C8d\8C\8F\F234J.MI\8C\CFH\CD)H-*64\CEM\CDM\CE-\80\AAr\0D\C8\0A6\88\CF\0DH\C2\A5\12n\9Ek\80YiN~^\BAq@F\B0Q<\00f\12)\AE", section "__llvm_prf_names", align 1 @__llvm_profile_filename = hidden local_unnamed_addr constant [46 x i8] c"/export/hda3/tmp/blaze-out/default_%m.profraw\00", comdat @llvm.used = appending global [1 x ptr] [ptr @__llvm_prf_nm], section "llvm.metadata" @llvm.compiler.used = appending global [5 x ptr] [ptr addrspacecast (ptr addrspace(4) @_ZL17__cr_lgamma_table to ptr), ptr @__llvm_profile_runtime, ptr @__profd__Z16iovec_cpy_kernelPvPhi, ptr @__profd__ZN12cuda_helpers13memcmp_kernelEPjS0_mPb, ptr @__profd__ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_], section "llvm.metadata" declare dso_local ptx_kernel void @_Z16iovec_cpy_kernelPvPhi(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) %1, i32 noundef %2) local_unnamed_addr #0 align 32; declare dso_local ptx_kernel void @_ZN12cuda_helpers13memcmp_kernelEPjS0_mPb(ptr noundef readonly captures(none) %0, ptr noundef readonly captures(none) %1, i64 noundef %2, ptr noundef writeonly captures(none) %3) local_unnamed_addr #1 align 32; declare dso_local ptx_kernel void @_ZN12cuda_helpers13memcpy_kernelEP6ulong3PhS2_(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) %1, ptr noundef readonly captures(none) %2) local_unnamed_addr #0 align 32;
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