llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpr15t1uyx.c'
source_filename = "/tmp/tmpr15t1uyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr15t1uyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8z6wznrg.c'
source_filename = "/tmp/tmp8z6wznrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %5, align 4
switch i32 %11, label %27 [
i32 128, label %12
]
12: ; preds = %3
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %23, %12
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %26
17: ; preds = %13
store i8 0, ptr %10, align 1
%18 = load i8, ptr %10, align 1
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %6, align 8
store i8 %18, ptr %19, align 1
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %9, align 4
br label %23
23: ; preds = %17
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
br label %29
27: ; preds = %3
%28 = load i32, ptr @EBADF, align 4
store i32 %28, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %31
29: ; preds = %26
%30 = load i32, ptr %9, align 4
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %29, %27
%32 = load i32, ptr %4, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8z6wznrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %5, align 4
switch i32 %11, label %29 [
i32 128, label %12
]
12: ; preds = %3
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %22
store i8 0, ptr %10, align 1
%17 = load i8, ptr %10, align 1
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %6, align 8
store i8 %17, ptr %18, align 1
%20 = load i32, ptr %9, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %9, align 4
br label %22
22: ; preds = %16
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %12
br label %31
29: ; preds = %3
%30 = load i32, ptr @EBADF, align 4
store i32 %30, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %33
31: ; preds = %28
%32 = load i32, ptr %9, align 4
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %31, %29
%34 = load i32, ptr %4, align 4
ret i32 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdf5mv5zl.c'
source_filename = "/tmp/tmpdf5mv5zl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BNCPulse() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 99, ptr %2, align 4
%5 = call i32 @BNCIO(i32 noundef 23)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @BNCIO(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdf5mv5zl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BNCPulse() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 99, ptr %2, align 4
%5 = call i32 @BNCIO(i32 noundef 23)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @BNCIO(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpumedne80.c'
source_filename = "/tmp/tmpumedne80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_one(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 1
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpumedne80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_one(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 1
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8q6sp6lz.c'
source_filename = "/tmp/tmp8q6sp6lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_unlink(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @unlink(ptr noundef %3)
ret i32 %4
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8q6sp6lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_unlink(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @unlink(ptr noundef %3)
ret i32 %4
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk4du73nu.c'
source_filename = "/tmp/tmpk4du73nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk4du73nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2o8_g3n.c'
source_filename = "/tmp/tmpw2o8_g3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsk_unlock() #0 {
%1 = call i32 (...) @OS_UNLOCK()
ret void
}
declare i32 @OS_UNLOCK(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2o8_g3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsk_unlock() #0 {
%1 = call i32 (...) @OS_UNLOCK()
ret void
}
declare i32 @OS_UNLOCK(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6uaps8pn.c'
source_filename = "/tmp/tmp6uaps8pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sca_fclose(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %7, %1
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fclose(ptr noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %4
%8 = load i64, ptr @errno, align 8
%9 = load i64, ptr @EINTR, align 8
%10 = icmp eq i64 %8, %9
br i1 %10, label %4, label %11, !llvm.loop !6
11: ; preds = %7
%12 = load i32, ptr %3, align 4
ret i32 %12
}
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6uaps8pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sca_fclose(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %7, %1
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fclose(ptr noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %4
%8 = load i64, ptr @errno, align 8
%9 = load i64, ptr @EINTR, align 8
%10 = icmp eq i64 %8, %9
br i1 %10, label %4, label %11, !llvm.loop !6
11: ; preds = %7
%12 = load i32, ptr %3, align 4
ret i32 %12
}
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphsgk55c9.c'
source_filename = "/tmp/tmphsgk55c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphsgk55c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgp4z8w7u.c'
source_filename = "/tmp/tmpgp4z8w7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X_OK = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgp4z8w7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X_OK = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt6uy_wz2.c'
source_filename = "/tmp/tmpt6uy_wz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Memory alloc error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cloneString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = add nsw i64 %6, 1
%8 = call i64 @calloc(i64 noundef %7, i32 noundef 1)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %1
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %1
br label %18
18: ; preds = %25, %17
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %18
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load ptr, ptr %4, align 8
ret ptr %38
}
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt6uy_wz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Memory alloc error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cloneString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = add nsw i64 %6, 1
%8 = call i64 @calloc(i64 noundef %7, i32 noundef 1)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %1
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = icmp ne i8 %22, 0
br i1 %23, label %.lr.ph, label %42
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %24
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = icmp ne i8 %40, 0
br i1 %41, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %42
42: ; preds = %._crit_edge, %17
%43 = load ptr, ptr %4, align 8
ret ptr %43
}
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqlocxcwn.c'
source_filename = "/tmp/tmpqlocxcwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Usage: %s login\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %14, label %8
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %8, %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @err_exit(ptr noundef @.str.1, ptr noundef %17)
br label %19
19: ; preds = %14, %8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @print_procs_by_login(ptr noundef %22)
%24 = load i32, ptr @EXIT_SUCCESS, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @err_exit(ptr noundef, ptr noundef) #1
declare i32 @print_procs_by_login(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqlocxcwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Usage: %s login\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %14, label %8
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %8, %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @err_exit(ptr noundef @.str.1, ptr noundef %17)
br label %19
19: ; preds = %14, %8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @print_procs_by_login(ptr noundef %22)
%24 = load i32, ptr @EXIT_SUCCESS, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @err_exit(ptr noundef, ptr noundef) #1
declare i32 @print_procs_by_login(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeqgy0n8c.c'
source_filename = "/tmp/tmpeqgy0n8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Memory overflow defining \\harvardcite(%s)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdAuxHarvardCite(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%7 = call ptr (...) @getBraceParam()
store ptr %7, ptr %3, align 8
%8 = call ptr (...) @getBraceParam()
store ptr %8, ptr %4, align 8
%9 = call ptr (...) @getBraceParam()
store ptr %9, ptr %5, align 8
%10 = call ptr (...) @getBraceParam()
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @newHarvardCite(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%16 = icmp eq ptr null, %15
br i1 %16, label %17, label %20
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @diagnostics(i32 noundef 0, ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %17, %1
ret void
}
declare ptr @getBraceParam(...) #1
declare ptr @newHarvardCite(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeqgy0n8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Memory overflow defining \\harvardcite(%s)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdAuxHarvardCite(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%7 = call ptr (...) @getBraceParam()
store ptr %7, ptr %3, align 8
%8 = call ptr (...) @getBraceParam()
store ptr %8, ptr %4, align 8
%9 = call ptr (...) @getBraceParam()
store ptr %9, ptr %5, align 8
%10 = call ptr (...) @getBraceParam()
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @newHarvardCite(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%16 = icmp eq ptr null, %15
br i1 %16, label %17, label %20
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @diagnostics(i32 noundef 0, ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %17, %1
ret void
}
declare ptr @getBraceParam(...) #1
declare ptr @newHarvardCite(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpws3zwu0r.c'
source_filename = "/tmp/tmpws3zwu0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.__sysctl_args = type { ptr, i32, ptr, ptr, ptr, i64, [4 x i64] }
@main.sysctl_args = internal global [2 x i32] [i32 99, i32 99], align 4
@SYS__sysctl = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ENOSYS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"ENOSYS\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"xyzzy\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca %struct.__sysctl_args, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 8, ptr %2, align 8
%5 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 0
store ptr @main.sysctl_args, ptr %5, align 8
%6 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 1
store i32 2, ptr %6, align 8
%7 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 2
store ptr inttoptr (i64 -1 to ptr), ptr %7, align 8
%8 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 3
store ptr %2, ptr %8, align 8
%9 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 4
store ptr null, ptr %9, align 8
%10 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 5
store i64 0, ptr %10, align 8
%11 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 6
call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 32, i1 false)
%12 = load i32, ptr @SYS__sysctl, align 4
%13 = call i32 @syscall(i32 noundef %12, ptr noundef %3)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %22
16: ; preds = %0
%17 = load i64, ptr @errno, align 8
%18 = load i64, ptr @ENOSYS, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = call i32 @printf(ptr noundef @.str)
br label %22
22: ; preds = %20, %16, %0
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @syscall(i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpws3zwu0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.__sysctl_args = type { ptr, i32, ptr, ptr, ptr, i64, [4 x i64] }
@main.sysctl_args = internal global [2 x i32] [i32 99, i32 99], align 4
@SYS__sysctl = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ENOSYS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"ENOSYS\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"xyzzy\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca %struct.__sysctl_args, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 8, ptr %2, align 8
%5 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 0
store ptr @main.sysctl_args, ptr %5, align 8
%6 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 1
store i32 2, ptr %6, align 8
%7 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 2
store ptr inttoptr (i64 -1 to ptr), ptr %7, align 8
%8 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 3
store ptr %2, ptr %8, align 8
%9 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 4
store ptr null, ptr %9, align 8
%10 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 5
store i64 0, ptr %10, align 8
%11 = getelementptr inbounds %struct.__sysctl_args, ptr %3, i32 0, i32 6
call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 32, i1 false)
%12 = load i32, ptr @SYS__sysctl, align 4
%13 = call i32 @syscall(i32 noundef %12, ptr noundef %3)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %22
16: ; preds = %0
%17 = load i64, ptr @errno, align 8
%18 = load i64, ptr @ENOSYS, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = call i32 @printf(ptr noundef @.str)
br label %22
22: ; preds = %20, %16, %0
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @syscall(i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpet16a3t6.c'
source_filename = "/tmp/tmpet16a3t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"\0A<-----> \09<-----> \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hr() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpet16a3t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"\0A<-----> \09<-----> \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hr() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkogpf7fr.c'
source_filename = "/tmp/tmpkogpf7fr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%.2f \09\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %35, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %38
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %30, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %33
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %28)
br label %30
30: ; preds = %18
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %14, !llvm.loop !6
33: ; preds = %14
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %9, !llvm.loop !8
38: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkogpf7fr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%.2f \09\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %36
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %28
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
%25 = load float, ptr %24, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %26)
br label %28
28: ; preds = %16
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7xz6surm.c'
source_filename = "/tmp/tmp7xz6surm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ieee_p_3499444699_sub_17241452391813765596_3536714472(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [24 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i8, align 1
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
br label %26
26: ; preds = %4
%27 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
%28 = getelementptr inbounds i8, ptr %27, i64 4
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %7, align 8
%30 = icmp ne ptr %29, null
%31 = zext i1 %30 to i32
%32 = trunc i32 %31 to i8
store i8 %32, ptr %12, align 1
%33 = load i8, ptr %12, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %37
36: ; preds = %26
br label %95
37: ; preds = %26
br label %38
38: ; preds = %95, %37
%39 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 12
store ptr %40, ptr %13, align 8
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %13, align 8
store ptr %41, ptr %42, align 8
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 12
store ptr %44, ptr %14, align 8
%45 = load ptr, ptr %14, align 8
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %15, align 4
%48 = mul i32 %47, 1
store i32 %48, ptr %15, align 4
%49 = load i32, ptr %15, align 4
%50 = call ptr @xsi_get_transient_memory(i32 noundef %49)
store ptr %50, ptr %10, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %15, align 4
%54 = call i32 @memcpy(ptr noundef %51, ptr noundef %52, i32 noundef %53)
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 0
store ptr %56, ptr %16, align 8
%57 = load ptr, ptr %16, align 8
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %17, align 4
%59 = load ptr, ptr %8, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 4
store ptr %60, ptr %18, align 8
%61 = load ptr, ptr %18, align 8
%62 = load i32, ptr %61, align 4
store i32 %62, ptr %19, align 4
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 8
store ptr %64, ptr %20, align 8
%65 = load ptr, ptr %20, align 8
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %21, align 4
%67 = load ptr, ptr %6, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 0
store ptr %68, ptr %22, align 8
%69 = load ptr, ptr %22, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
store ptr %70, ptr %23, align 8
%71 = load i32, ptr %17, align 4
%72 = load ptr, ptr %23, align 8
store i32 %71, ptr %72, align 4
%73 = load ptr, ptr %22, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 4
store ptr %74, ptr %23, align 8
%75 = load i32, ptr %19, align 4
%76 = load ptr, ptr %23, align 8
store i32 %75, ptr %76, align 4
%77 = load ptr, ptr %22, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 8
store ptr %78, ptr %23, align 8
%79 = load i32, ptr %21, align 4
%80 = load ptr, ptr %23, align 8
store i32 %79, ptr %80, align 4
%81 = load i32, ptr %19, align 4
%82 = load i32, ptr %17, align 4
%83 = sub nsw i32 %81, %82
store i32 %83, ptr %24, align 4
%84 = load i32, ptr %24, align 4
%85 = load i32, ptr %21, align 4
%86 = mul nsw i32 %84, %85
store i32 %86, ptr %25, align 4
%87 = load i32, ptr %25, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %25, align 4
%89 = load ptr, ptr %22, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 12
store ptr %90, ptr %23, align 8
%91 = load i32, ptr %25, align 4
%92 = load ptr, ptr %23, align 8
store i32 %91, ptr %92, align 4
br label %93
93: ; preds = %38
%94 = load ptr, ptr %10, align 8
br label %98
95: ; preds = %36
%96 = load ptr, ptr %7, align 8
%97 = load ptr, ptr %11, align 8
store ptr %96, ptr %97, align 8
br label %38
98: ; preds = %93
ret ptr %94
}
declare ptr @xsi_get_transient_memory(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7xz6surm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ieee_p_3499444699_sub_17241452391813765596_3536714472(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [24 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i8, align 1
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
br label %26
26: ; preds = %4
%27 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
%28 = getelementptr inbounds i8, ptr %27, i64 4
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %7, align 8
%30 = icmp ne ptr %29, null
%31 = zext i1 %30 to i32
%32 = trunc i32 %31 to i8
store i8 %32, ptr %12, align 1
%33 = load i8, ptr %12, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %37
36: ; preds = %26
br label %95
37: ; preds = %26
br label %38
38: ; preds = %95, %37
%39 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 12
store ptr %40, ptr %13, align 8
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %13, align 8
store ptr %41, ptr %42, align 8
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 12
store ptr %44, ptr %14, align 8
%45 = load ptr, ptr %14, align 8
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %15, align 4
%48 = mul i32 %47, 1
store i32 %48, ptr %15, align 4
%49 = load i32, ptr %15, align 4
%50 = call ptr @xsi_get_transient_memory(i32 noundef %49)
store ptr %50, ptr %10, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %15, align 4
%54 = call i32 @memcpy(ptr noundef %51, ptr noundef %52, i32 noundef %53)
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 0
store ptr %56, ptr %16, align 8
%57 = load ptr, ptr %16, align 8
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %17, align 4
%59 = load ptr, ptr %8, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 4
store ptr %60, ptr %18, align 8
%61 = load ptr, ptr %18, align 8
%62 = load i32, ptr %61, align 4
store i32 %62, ptr %19, align 4
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 8
store ptr %64, ptr %20, align 8
%65 = load ptr, ptr %20, align 8
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %21, align 4
%67 = load ptr, ptr %6, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 0
store ptr %68, ptr %22, align 8
%69 = load ptr, ptr %22, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
store ptr %70, ptr %23, align 8
%71 = load i32, ptr %17, align 4
%72 = load ptr, ptr %23, align 8
store i32 %71, ptr %72, align 4
%73 = load ptr, ptr %22, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 4
store ptr %74, ptr %23, align 8
%75 = load i32, ptr %19, align 4
%76 = load ptr, ptr %23, align 8
store i32 %75, ptr %76, align 4
%77 = load ptr, ptr %22, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 8
store ptr %78, ptr %23, align 8
%79 = load i32, ptr %21, align 4
%80 = load ptr, ptr %23, align 8
store i32 %79, ptr %80, align 4
%81 = load i32, ptr %19, align 4
%82 = load i32, ptr %17, align 4
%83 = sub nsw i32 %81, %82
store i32 %83, ptr %24, align 4
%84 = load i32, ptr %24, align 4
%85 = load i32, ptr %21, align 4
%86 = mul nsw i32 %84, %85
store i32 %86, ptr %25, align 4
%87 = load i32, ptr %25, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %25, align 4
%89 = load ptr, ptr %22, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 12
store ptr %90, ptr %23, align 8
%91 = load i32, ptr %25, align 4
%92 = load ptr, ptr %23, align 8
store i32 %91, ptr %92, align 4
br label %93
93: ; preds = %38
%94 = load ptr, ptr %10, align 8
br label %98
95: ; preds = %36
%96 = load ptr, ptr %7, align 8
%97 = load ptr, ptr %11, align 8
store ptr %96, ptr %97, align 8
br label %38
98: ; preds = %93
ret ptr %94
}
declare ptr @xsi_get_transient_memory(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq762b3nd.c'
source_filename = "/tmp/tmpq762b3nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @freeGlobalDynamicGrid(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @freeDynamicGrid(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
store ptr null, ptr %10, align 8
br label %11
11: ; preds = %6, %1
ret void
}
declare i32 @freeDynamicGrid(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq762b3nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @freeGlobalDynamicGrid(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @freeDynamicGrid(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
store ptr null, ptr %10, align 8
br label %11
11: ; preds = %6, %1
ret void
}
declare i32 @freeDynamicGrid(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpry407jew.c'
source_filename = "/tmp/tmpry407jew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Send transmit-request \0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"command register: 0x%X \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tx_request_command() #0 {
%1 = alloca i8, align 1
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i8, ptr inttoptr (i64 4294705153 to ptr), align 1
%4 = zext i8 %3 to i32
%5 = or i32 %4, 1
%6 = trunc i32 %5 to i8
store i8 %6, ptr %1, align 1
%7 = load i8, ptr %1, align 1
store i8 %7, ptr inttoptr (i64 4294705153 to ptr), align 1
%8 = load i8, ptr inttoptr (i64 4294705153 to ptr), align 1
%9 = zext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpry407jew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Send transmit-request \0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"command register: 0x%X \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tx_request_command() #0 {
%1 = alloca i8, align 1
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i8, ptr inttoptr (i64 4294705153 to ptr), align 1
%4 = zext i8 %3 to i32
%5 = or i32 %4, 1
%6 = trunc i32 %5 to i8
store i8 %6, ptr %1, align 1
%7 = load i8, ptr %1, align 1
store i8 %7, ptr inttoptr (i64 4294705153 to ptr), align 1
%8 = load i8, ptr inttoptr (i64 4294705153 to ptr), align 1
%9 = zext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zyp0jo0.c'
source_filename = "/tmp/tmp_zyp0jo0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"setprop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @of_setprop(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @of_call_prom(ptr noundef @.str, i32 noundef 4, i32 noundef 1, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @of_call_prom(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_zyp0jo0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"setprop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @of_setprop(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @of_call_prom(ptr noundef @.str, i32 noundef 4, i32 noundef 1, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @of_call_prom(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt9s9z906.c'
source_filename = "/tmp/tmpt9s9z906.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_JacobianSpace.Si = private unnamed_addr constant [6 x [4 x double]] [[4 x double] [double 0.000000e+00, double 1.000000e+00, double 0.000000e+00, double 1.000000e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00, double 0.000000e+00], [4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 0.000000e+00, double 2.000000e+00, double 0.000000e+00, double 2.000000e-01], [4 x double] [double 2.000000e-01, double 0.000000e+00, double 2.000000e+00, double 3.000000e-01], [4 x double] [double 2.000000e-01, double 3.000000e+00, double 1.000000e+00, double 4.000000e-01]], align 16
@__const.test_JacobianSpace.thetalist = private unnamed_addr constant [4 x double] [double 2.000000e-01, double 1.100000e+00, double 1.000000e-01, double 1.200000e+00], align 16
@.str = private unnamed_addr constant [5 x i8] c"Js:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lf \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_JacobianSpace() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [6 x [4 x double]], align 16
%5 = alloca [6 x [4 x double]], align 16
%6 = alloca [4 x double], align 16
%7 = alloca [6 x [4 x double]], align 16
store i32 4, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_JacobianSpace.Si, i64 192, i1 false)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %34, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 6
br i1 %10, label %11, label %37
11: ; preds = %8
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %30, %11
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %1, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %33
16: ; preds = %12
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [6 x [4 x double]], ptr %5, i64 0, i64 %18
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 %21
%23 = load double, ptr %22, align 8
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [6 x [4 x double]], ptr %4, i64 0, i64 %25
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [4 x double], ptr %26, i64 0, i64 %28
store double %23, ptr %29, align 8
br label %30
30: ; preds = %16
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %12, !llvm.loop !6
33: ; preds = %12
br label %34
34: ; preds = %33
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %2, align 4
br label %8, !llvm.loop !8
37: ; preds = %8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.test_JacobianSpace.thetalist, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 192, i1 false)
%38 = load i32, ptr %1, align 4
%39 = getelementptr inbounds [6 x [4 x double]], ptr %4, i64 0, i64 0
%40 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 0
%41 = getelementptr inbounds [6 x [4 x double]], ptr %7, i64 0, i64 0
%42 = call i32 @JacobianSpace(i32 noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %44
44: ; preds = %66, %37
%45 = load i32, ptr %2, align 4
%46 = icmp slt i32 %45, 6
br i1 %46, label %47, label %69
47: ; preds = %44
store i32 0, ptr %3, align 4
br label %48
48: ; preds = %61, %47
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr %1, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %64
52: ; preds = %48
%53 = load i32, ptr %2, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [6 x [4 x double]], ptr %7, i64 0, i64 %54
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [4 x double], ptr %55, i64 0, i64 %57
%59 = load double, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %59)
br label %61
61: ; preds = %52
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
br label %48, !llvm.loop !9
64: ; preds = %48
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %66
66: ; preds = %64
%67 = load i32, ptr %2, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %2, align 4
br label %44, !llvm.loop !10
69: ; preds = %44
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @JacobianSpace(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3
declare i32 @printf(ptr noundef, ...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt9s9z906.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_JacobianSpace.Si = private unnamed_addr constant [6 x [4 x double]] [[4 x double] [double 0.000000e+00, double 1.000000e+00, double 0.000000e+00, double 1.000000e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00, double 0.000000e+00], [4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 0.000000e+00, double 2.000000e+00, double 0.000000e+00, double 2.000000e-01], [4 x double] [double 2.000000e-01, double 0.000000e+00, double 2.000000e+00, double 3.000000e-01], [4 x double] [double 2.000000e-01, double 3.000000e+00, double 1.000000e+00, double 4.000000e-01]], align 16
@__const.test_JacobianSpace.thetalist = private unnamed_addr constant [4 x double] [double 2.000000e-01, double 1.100000e+00, double 1.000000e-01, double 1.200000e+00], align 16
@.str = private unnamed_addr constant [5 x i8] c"Js:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lf \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_JacobianSpace() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [6 x [4 x double]], align 16
%5 = alloca [6 x [4 x double]], align 16
%6 = alloca [4 x double], align 16
%7 = alloca [6 x [4 x double]], align 16
store i32 4, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_JacobianSpace.Si, i64 192, i1 false)
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 6
br i1 %9, label %.lr.ph2, label %40
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %35
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %34
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %28
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [6 x [4 x double]], ptr %5, i64 0, i64 %16
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 %19
%21 = load double, ptr %20, align 8
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [6 x [4 x double]], ptr %4, i64 0, i64 %23
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [4 x double], ptr %24, i64 0, i64 %26
store double %21, ptr %27, align 8
br label %28
28: ; preds = %14
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %1, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %10
br label %35
35: ; preds = %34
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp slt i32 %38, 6
br i1 %39, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %40
40: ; preds = %._crit_edge3, %0
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.test_JacobianSpace.thetalist, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 192, i1 false)
%41 = load i32, ptr %1, align 4
%42 = getelementptr inbounds [6 x [4 x double]], ptr %4, i64 0, i64 0
%43 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 0
%44 = getelementptr inbounds [6 x [4 x double]], ptr %7, i64 0, i64 0
%45 = call i32 @JacobianSpace(i32 noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%47 = load i32, ptr %2, align 4
%48 = icmp slt i32 %47, 6
br i1 %48, label %.lr.ph8, label %75
.lr.ph8: ; preds = %40
br label %49
49: ; preds = %.lr.ph8, %70
store i32 0, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %1, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph5, label %68
.lr.ph5: ; preds = %49
br label %53
53: ; preds = %.lr.ph5, %62
%54 = load i32, ptr %2, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [6 x [4 x double]], ptr %7, i64 0, i64 %55
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [4 x double], ptr %56, i64 0, i64 %58
%60 = load double, ptr %59, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %60)
br label %62
62: ; preds = %53
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = load i32, ptr %1, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %53, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %68
68: ; preds = %._crit_edge6, %49
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %70
70: ; preds = %68
%71 = load i32, ptr %2, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %2, align 4
%73 = load i32, ptr %2, align 4
%74 = icmp slt i32 %73, 6
br i1 %74, label %49, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %70
br label %75
75: ; preds = %._crit_edge9, %40
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @JacobianSpace(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3
declare i32 @printf(ptr noundef, ...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpba5jwe5e.c'
source_filename = "/tmp/tmpba5jwe5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @realpath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load i32, ptr @PATH_MAX, align 4
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %4, align 8
br label %11
11: ; preds = %7, %2
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 47
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18)
br label %29
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr @PATH_MAX, align 4
%23 = call i32 @getcwd(ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str)
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %3, align 8
%28 = call i32 @strcat(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %20, %16
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpba5jwe5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @realpath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load i32, ptr @PATH_MAX, align 4
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %4, align 8
br label %11
11: ; preds = %7, %2
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 47
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18)
br label %29
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr @PATH_MAX, align 4
%23 = call i32 @getcwd(ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str)
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %3, align 8
%28 = call i32 @strcat(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %20, %16
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjwwac0mw.c'
source_filename = "/tmp/tmpjwwac0mw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0AHello World...!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwwac0mw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0AHello World...!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb136i9k3.c'
source_filename = "/tmp/tmpb136i9k3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"Testing bfnew_ones(), bfsetall() and bfclearall()\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"[FAIL]\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"[PASS]\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.5 = private unnamed_addr constant [81 x i8] c"11111111111111111111111111111111111111111111111111111111111111111111111111111111\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 80, ptr %4, align 4
store ptr @.str, ptr %5, align 8
store ptr @.str.1, ptr %6, align 8
store ptr @.str.2, ptr %7, align 8
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sub nsw i32 %14, %16
%18 = sub nsw i32 %17, 6
store i32 %18, ptr %8, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %19)
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %27, %0
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %27
27: ; preds = %25
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %21, !llvm.loop !6
30: ; preds = %21
store ptr @.str.5, ptr %9, align 8
%31 = load ptr, ptr %9, align 8
%32 = call ptr @str2bf(ptr noundef %31)
store ptr %32, ptr %10, align 8
%33 = load i32, ptr %4, align 4
%34 = call ptr @bfnew_ones(i32 noundef %33)
store ptr %34, ptr %11, align 8
%35 = load ptr, ptr %10, align 8
%36 = load ptr, ptr %11, align 8
%37 = call i32 @bfcmp(ptr noundef %35, ptr noundef %36, ptr noundef null)
store i32 %37, ptr %3, align 4
%38 = load ptr, ptr %11, align 8
%39 = call i32 @bfdel(ptr noundef %38)
%40 = load i32, ptr %3, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %30
%43 = load ptr, ptr %6, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %43)
store i32 1, ptr %1, align 4
br label %80
45: ; preds = %30
%46 = load i32, ptr %4, align 4
%47 = call ptr @bfnew_quick(i32 noundef %46)
store ptr %47, ptr %12, align 8
%48 = load ptr, ptr %12, align 8
%49 = call i32 @bfsetall(ptr noundef %48)
%50 = load ptr, ptr %10, align 8
%51 = load ptr, ptr %12, align 8
%52 = call i32 @bfcmp(ptr noundef %50, ptr noundef %51, ptr noundef null)
store i32 %52, ptr %3, align 4
%53 = load ptr, ptr %10, align 8
%54 = call i32 @bfdel(ptr noundef %53)
%55 = load i32, ptr %3, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %45
%58 = load ptr, ptr %6, align 8
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %58)
store i32 1, ptr %1, align 4
br label %80
60: ; preds = %45
%61 = load i32, ptr %4, align 4
%62 = call ptr @bfnew(i32 noundef %61)
store ptr %62, ptr %13, align 8
%63 = load ptr, ptr %12, align 8
%64 = call i32 @bfclearall(ptr noundef %63)
%65 = load ptr, ptr %12, align 8
%66 = load ptr, ptr %13, align 8
%67 = call i32 @bfcmp(ptr noundef %65, ptr noundef %66, ptr noundef null)
store i32 %67, ptr %3, align 4
%68 = load ptr, ptr %12, align 8
%69 = call i32 @bfdel(ptr noundef %68)
%70 = load ptr, ptr %13, align 8
%71 = call i32 @bfdel(ptr noundef %70)
%72 = load i32, ptr %3, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %60
%75 = load ptr, ptr %6, align 8
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %75)
store i32 1, ptr %1, align 4
br label %80
77: ; preds = %60
%78 = load ptr, ptr %7, align 8
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %78)
store i32 0, ptr %1, align 4
br label %80
80: ; preds = %77, %74, %57, %42
%81 = load i32, ptr %1, align 4
ret i32 %81
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @str2bf(ptr noundef) #1
declare ptr @bfnew_ones(i32 noundef) #1
declare i32 @bfcmp(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @bfdel(ptr noundef) #1
declare ptr @bfnew_quick(i32 noundef) #1
declare i32 @bfsetall(ptr noundef) #1
declare ptr @bfnew(i32 noundef) #1
declare i32 @bfclearall(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb136i9k3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"Testing bfnew_ones(), bfsetall() and bfclearall()\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"[FAIL]\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"[PASS]\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.5 = private unnamed_addr constant [81 x i8] c"11111111111111111111111111111111111111111111111111111111111111111111111111111111\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 80, ptr %4, align 4
store ptr @.str, ptr %5, align 8
store ptr @.str.1, ptr %6, align 8
store ptr @.str.2, ptr %7, align 8
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sub nsw i32 %14, %16
%18 = sub nsw i32 %17, 6
store i32 %18, ptr %8, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %19)
store i32 0, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %26
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %26
26: ; preds = %24
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
store ptr @.str.5, ptr %9, align 8
%33 = load ptr, ptr %9, align 8
%34 = call ptr @str2bf(ptr noundef %33)
store ptr %34, ptr %10, align 8
%35 = load i32, ptr %4, align 4
%36 = call ptr @bfnew_ones(i32 noundef %35)
store ptr %36, ptr %11, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %11, align 8
%39 = call i32 @bfcmp(ptr noundef %37, ptr noundef %38, ptr noundef null)
store i32 %39, ptr %3, align 4
%40 = load ptr, ptr %11, align 8
%41 = call i32 @bfdel(ptr noundef %40)
%42 = load i32, ptr %3, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %32
%45 = load ptr, ptr %6, align 8
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %45)
store i32 1, ptr %1, align 4
br label %82
47: ; preds = %32
%48 = load i32, ptr %4, align 4
%49 = call ptr @bfnew_quick(i32 noundef %48)
store ptr %49, ptr %12, align 8
%50 = load ptr, ptr %12, align 8
%51 = call i32 @bfsetall(ptr noundef %50)
%52 = load ptr, ptr %10, align 8
%53 = load ptr, ptr %12, align 8
%54 = call i32 @bfcmp(ptr noundef %52, ptr noundef %53, ptr noundef null)
store i32 %54, ptr %3, align 4
%55 = load ptr, ptr %10, align 8
%56 = call i32 @bfdel(ptr noundef %55)
%57 = load i32, ptr %3, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %47
%60 = load ptr, ptr %6, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %60)
store i32 1, ptr %1, align 4
br label %82
62: ; preds = %47
%63 = load i32, ptr %4, align 4
%64 = call ptr @bfnew(i32 noundef %63)
store ptr %64, ptr %13, align 8
%65 = load ptr, ptr %12, align 8
%66 = call i32 @bfclearall(ptr noundef %65)
%67 = load ptr, ptr %12, align 8
%68 = load ptr, ptr %13, align 8
%69 = call i32 @bfcmp(ptr noundef %67, ptr noundef %68, ptr noundef null)
store i32 %69, ptr %3, align 4
%70 = load ptr, ptr %12, align 8
%71 = call i32 @bfdel(ptr noundef %70)
%72 = load ptr, ptr %13, align 8
%73 = call i32 @bfdel(ptr noundef %72)
%74 = load i32, ptr %3, align 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %62
%77 = load ptr, ptr %6, align 8
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %77)
store i32 1, ptr %1, align 4
br label %82
79: ; preds = %62
%80 = load ptr, ptr %7, align 8
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %80)
store i32 0, ptr %1, align 4
br label %82
82: ; preds = %79, %76, %59, %44
%83 = load i32, ptr %1, align 4
ret i32 %83
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @str2bf(ptr noundef) #1
declare ptr @bfnew_ones(i32 noundef) #1
declare i32 @bfcmp(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @bfdel(ptr noundef) #1
declare ptr @bfnew_quick(i32 noundef) #1
declare i32 @bfsetall(ptr noundef) #1
declare ptr @bfnew(i32 noundef) #1
declare i32 @bfclearall(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpku20p61a.c'
source_filename = "/tmp/tmpku20p61a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @randint(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 (...) @bigrand()
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %7, %8
%10 = add nsw i32 %9, 1
%11 = srem i32 %6, %10
%12 = add nsw i32 %5, %11
ret i32 %12
}
declare i32 @bigrand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpku20p61a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @randint(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 (...) @bigrand()
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %7, %8
%10 = add nsw i32 %9, 1
%11 = srem i32 %6, %10
%12 = add nsw i32 %5, %11
ret i32 %12
}
declare i32 @bigrand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2qnbouq_.c'
source_filename = "/tmp/tmp2qnbouq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"tests.pairs.10k\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%.20g\09%a\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10240
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = call double (...) @random_value()
store double %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.2, double noundef %12, double noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare double @random_value(...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2qnbouq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"tests.pairs.10k\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%.20g\09%a\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10240
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %14
%9 = call double (...) @random_value()
store double %9, ptr %4, align 8
%10 = load ptr, ptr %2, align 8
%11 = load double, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.2, double noundef %11, double noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10240
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare double @random_value(...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpufrj08cw.c'
source_filename = "/tmp/tmpufrj08cw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %9
9: ; preds = %58, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %61
13: ; preds = %9
store i32 1, ptr %7, align 4
br label %14
14: ; preds = %55, %13
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %58
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %25, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = call i64 @ft_strcmp(ptr noundef %24, ptr noundef %30)
%32 = icmp sgt i64 %31, 0
br i1 %32, label %33, label %55
33: ; preds = %19
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
store ptr %38, ptr %8, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %39, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
store ptr %44, ptr %48, align 8
%49 = load ptr, ptr %8, align 8
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %50, i64 %53
store ptr %49, ptr %54, align 8
br label %55
55: ; preds = %33, %19
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
br label %14, !llvm.loop !6
58: ; preds = %14
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %9, !llvm.loop !8
61: ; preds = %9
store i32 1, ptr %6, align 4
br label %62
62: ; preds = %66, %61
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %74
66: ; preds = %62
%67 = load ptr, ptr %5, align 8
%68 = load i32, ptr %6, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %6, align 4
%70 = sext i32 %68 to i64
%71 = getelementptr inbounds ptr, ptr %67, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = call i32 @ft_putstr(ptr noundef %72)
br label %62, !llvm.loop !9
74: ; preds = %62
ret i32 0
}
declare i64 @ft_strcmp(ptr noundef, ptr noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpufrj08cw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %66
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %60
store i32 1, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %60
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %53
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @ft_strcmp(ptr noundef %22, ptr noundef %28)
%30 = icmp sgt i64 %29, 0
br i1 %30, label %31, label %53
31: ; preds = %17
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %37, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
store ptr %42, ptr %46, align 8
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %48, i64 %51
store ptr %47, ptr %52, align 8
br label %53
53: ; preds = %31, %17
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
%58 = load i32, ptr %4, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %60
60: ; preds = %._crit_edge, %12
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %2
store i32 1, ptr %6, align 4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %.lr.ph5, label %81
.lr.ph5: ; preds = %66
br label %70
70: ; preds = %.lr.ph5, %70
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
%74 = sext i32 %72 to i64
%75 = getelementptr inbounds ptr, ptr %71, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = call i32 @ft_putstr(ptr noundef %76)
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %70, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %70
br label %81
81: ; preds = %._crit_edge6, %66
ret i32 0
}
declare i64 @ft_strcmp(ptr noundef, ptr noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpd1frztcl.c'
source_filename = "/tmp/tmpd1frztcl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %3, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %4, align 8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
%16 = zext i32 %15 to i64
%17 = alloca i8, i64 %16, align 16
store i64 %16, ptr %5, align 8
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17)
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %40, %0
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %43
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %17, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %13, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %29, %34
br i1 %35, label %36, label %39
36: ; preds = %24
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %39
39: ; preds = %36, %24
br label %40
40: ; preds = %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
br label %20, !llvm.loop !6
43: ; preds = %20
%44 = load i32, ptr %6, align 4
%45 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44)
store i32 0, ptr %1, align 4
%46 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %46)
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd1frztcl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %3, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %4, align 8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
%16 = zext i32 %15 to i64
%17 = alloca i8, i64 %16, align 16
store i64 %16, ptr %5, align 8
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17)
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %45
.lr.ph: ; preds = %0
br label %23
23: ; preds = %.lr.ph, %39
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %17, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %13, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %28, %33
br i1 %34, label %35, label %38
35: ; preds = %23
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %35, %23
br label %39
39: ; preds = %38
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %0
%46 = load i32, ptr %6, align 4
%47 = call i32 @printf(ptr noundef @.str.2, i32 noundef %46)
store i32 0, ptr %1, align 4
%48 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %48)
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp579bdphe.c'
source_filename = "/tmp/tmp579bdphe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @build_path(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @opendir(ptr noundef %13)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %53
17: ; preds = %4
br label %18
18: ; preds = %49, %17
%19 = load ptr, ptr %10, align 8
%20 = call ptr @readdir(ptr noundef %19)
store ptr %20, ptr %11, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %50
22: ; preds = %18
%23 = load ptr, ptr %11, align 8
%24 = getelementptr inbounds %struct.dirent, ptr %23, i32 0, i32 0
%25 = load ptr, ptr %24, align 8
%26 = load ptr, ptr %7, align 8
%27 = call ptr @strstr(ptr noundef %25, ptr noundef %26)
store ptr %27, ptr %12, align 8
%28 = load ptr, ptr %12, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %49
30: ; preds = %22
%31 = load ptr, ptr %11, align 8
%32 = getelementptr inbounds %struct.dirent, ptr %31, i32 0, i32 0
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %12, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %30
%40 = load ptr, ptr %8, align 8
%41 = load i64, ptr %9, align 8
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 0
%45 = load ptr, ptr %44, align 8
%46 = call i32 @snprintf(ptr noundef %40, i64 noundef %41, ptr noundef @.str, ptr noundef %42, ptr noundef %45)
%47 = load ptr, ptr %10, align 8
%48 = call i32 @closedir(ptr noundef %47)
store i32 1, ptr %5, align 4
br label %55
49: ; preds = %30, %22
br label %18, !llvm.loop !6
50: ; preds = %18
%51 = load ptr, ptr %10, align 8
%52 = call i32 @closedir(ptr noundef %51)
br label %54
53: ; preds = %4
store i32 0, ptr %5, align 4
br label %55
54: ; preds = %50
store i32 0, ptr %5, align 4
br label %55
55: ; preds = %54, %53, %39
%56 = load i32, ptr %5, align 4
ret i32 %56
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp579bdphe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @build_path(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @opendir(ptr noundef %13)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %55
17: ; preds = %4
%18 = load ptr, ptr %10, align 8
%19 = call ptr @readdir(ptr noundef %18)
store ptr %19, ptr %11, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %52
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %48
%22 = load ptr, ptr %11, align 8
%23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %7, align 8
%26 = call ptr @strstr(ptr noundef %24, ptr noundef %25)
store ptr %26, ptr %12, align 8
%27 = load ptr, ptr %12, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %48
29: ; preds = %21
%30 = load ptr, ptr %11, align 8
%31 = getelementptr inbounds %struct.dirent, ptr %30, i32 0, i32 0
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %12, align 8
%34 = ptrtoint ptr %32 to i64
%35 = ptrtoint ptr %33 to i64
%36 = sub i64 %34, %35
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %48
38: ; preds = %29
%39 = load ptr, ptr %8, align 8
%40 = load i64, ptr %9, align 8
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds %struct.dirent, ptr %42, i32 0, i32 0
%44 = load ptr, ptr %43, align 8
%45 = call i32 @snprintf(ptr noundef %39, i64 noundef %40, ptr noundef @.str, ptr noundef %41, ptr noundef %44)
%46 = load ptr, ptr %10, align 8
%47 = call i32 @closedir(ptr noundef %46)
store i32 1, ptr %5, align 4
br label %57
48: ; preds = %29, %21
%49 = load ptr, ptr %10, align 8
%50 = call ptr @readdir(ptr noundef %49)
store ptr %50, ptr %11, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %52
52: ; preds = %._crit_edge, %17
%53 = load ptr, ptr %10, align 8
%54 = call i32 @closedir(ptr noundef %53)
br label %56
55: ; preds = %4
store i32 0, ptr %5, align 4
br label %57
56: ; preds = %52
store i32 0, ptr %5, align 4
br label %57
57: ; preds = %56, %55, %38
%58 = load i32, ptr %5, align 4
ret i32 %58
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptflu7649.c'
source_filename = "/tmp/tmptflu7649.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %14, %3
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %4, align 8
br label %75
19: ; preds = %14
br label %20
20: ; preds = %71, %19
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %20
%28 = load i64, ptr %8, align 8
%29 = load i64, ptr %7, align 8
%30 = icmp ult i64 %28, %29
br label %31
31: ; preds = %27, %20
%32 = phi i1 [ false, %20 ], [ %30, %27 ]
br i1 %32, label %33, label %74
33: ; preds = %31
store i64 0, ptr %9, align 8
br label %34
34: ; preds = %68, %33
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %9, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %8, align 8
%42 = load i64, ptr %9, align 8
%43 = add i64 %41, %42
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %39, %46
br i1 %47, label %48, label %54
48: ; preds = %34
%49 = load i64, ptr %8, align 8
%50 = load i64, ptr %9, align 8
%51 = add i64 %49, %50
%52 = load i64, ptr %7, align 8
%53 = icmp ult i64 %51, %52
br label %54
54: ; preds = %48, %34
%55 = phi i1 [ false, %34 ], [ %53, %48 ]
br i1 %55, label %56, label %71
56: ; preds = %54
%57 = load ptr, ptr %6, align 8
%58 = load i64, ptr %9, align 8
%59 = add i64 %58, 1
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %56
%65 = load ptr, ptr %5, align 8
%66 = load i64, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %65, i64 %66
store ptr %67, ptr %4, align 8
br label %75
68: ; preds = %56
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %9, align 8
br label %34, !llvm.loop !6
71: ; preds = %54
%72 = load i64, ptr %8, align 8
%73 = add i64 %72, 1
store i64 %73, ptr %8, align 8
br label %20, !llvm.loop !8
74: ; preds = %31
store ptr null, ptr %4, align 8
br label %75
75: ; preds = %74, %64, %17
%76 = load ptr, ptr %4, align 8
ret ptr %76
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptflu7649.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %14, %3
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %4, align 8
br label %75
19: ; preds = %14
br label %20
20: ; preds = %71, %19
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %20
%28 = load i64, ptr %8, align 8
%29 = load i64, ptr %7, align 8
%30 = icmp ult i64 %28, %29
br label %31
31: ; preds = %27, %20
%32 = phi i1 [ false, %20 ], [ %30, %27 ]
br i1 %32, label %33, label %74
33: ; preds = %31
store i64 0, ptr %9, align 8
br label %34
34: ; preds = %68, %33
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %9, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %8, align 8
%42 = load i64, ptr %9, align 8
%43 = add i64 %41, %42
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %39, %46
br i1 %47, label %48, label %54
48: ; preds = %34
%49 = load i64, ptr %8, align 8
%50 = load i64, ptr %9, align 8
%51 = add i64 %49, %50
%52 = load i64, ptr %7, align 8
%53 = icmp ult i64 %51, %52
br label %54
54: ; preds = %48, %34
%55 = phi i1 [ false, %34 ], [ %53, %48 ]
br i1 %55, label %56, label %71
56: ; preds = %54
%57 = load ptr, ptr %6, align 8
%58 = load i64, ptr %9, align 8
%59 = add i64 %58, 1
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %56
%65 = load ptr, ptr %5, align 8
%66 = load i64, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %65, i64 %66
store ptr %67, ptr %4, align 8
br label %75
68: ; preds = %56
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %9, align 8
br label %34, !llvm.loop !6
71: ; preds = %54
%72 = load i64, ptr %8, align 8
%73 = add i64 %72, 1
store i64 %73, ptr %8, align 8
br label %20, !llvm.loop !8
74: ; preds = %31
store ptr null, ptr %4, align 8
br label %75
75: ; preds = %74, %64, %17
%76 = load ptr, ptr %4, align 8
ret ptr %76
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7r0i2hwv.c'
source_filename = "/tmp/tmp7r0i2hwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keyboard_set_unmap_any(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @keyboard_keysym_undef(i64 noundef %3)
ret void
}
declare i32 @keyboard_keysym_undef(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7r0i2hwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keyboard_set_unmap_any(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @keyboard_keysym_undef(i64 noundef %3)
ret void
}
declare i32 @keyboard_keysym_undef(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv3079ixg.c'
source_filename = "/tmp/tmpv3079ixg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @hex_char_to_double(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
store i64 0, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = zext i8 %7 to i64
%9 = shl i64 %8, 56
%10 = load i64, ptr %4, align 8
%11 = or i64 %10, %9
store i64 %11, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i64
%16 = shl i64 %15, 48
%17 = load i64, ptr %4, align 8
%18 = or i64 %17, %16
store i64 %18, ptr %4, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 2
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i64
%23 = shl i64 %22, 40
%24 = load i64, ptr %4, align 8
%25 = or i64 %24, %23
store i64 %25, ptr %4, align 8
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 3
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i64
%30 = shl i64 %29, 32
%31 = load i64, ptr %4, align 8
%32 = or i64 %31, %30
store i64 %32, ptr %4, align 8
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 4
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = shl i32 %36, 24
%38 = sext i32 %37 to i64
%39 = load i64, ptr %4, align 8
%40 = or i64 %39, %38
store i64 %40, ptr %4, align 8
%41 = load ptr, ptr %2, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 5
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = shl i32 %44, 16
%46 = sext i32 %45 to i64
%47 = load i64, ptr %4, align 8
%48 = or i64 %47, %46
store i64 %48, ptr %4, align 8
%49 = load ptr, ptr %2, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 6
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = shl i32 %52, 8
%54 = sext i32 %53 to i64
%55 = load i64, ptr %4, align 8
%56 = or i64 %55, %54
store i64 %56, ptr %4, align 8
%57 = load ptr, ptr %2, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 7
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = shl i32 %60, 0
%62 = sext i32 %61 to i64
%63 = load i64, ptr %4, align 8
%64 = or i64 %63, %62
store i64 %64, ptr %4, align 8
%65 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 8)
%66 = load double, ptr %3, align 8
ret double %66
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv3079ixg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @hex_char_to_double(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
store i64 0, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = zext i8 %7 to i64
%9 = shl i64 %8, 56
%10 = load i64, ptr %4, align 8
%11 = or i64 %10, %9
store i64 %11, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i64
%16 = shl i64 %15, 48
%17 = load i64, ptr %4, align 8
%18 = or i64 %17, %16
store i64 %18, ptr %4, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 2
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i64
%23 = shl i64 %22, 40
%24 = load i64, ptr %4, align 8
%25 = or i64 %24, %23
store i64 %25, ptr %4, align 8
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 3
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i64
%30 = shl i64 %29, 32
%31 = load i64, ptr %4, align 8
%32 = or i64 %31, %30
store i64 %32, ptr %4, align 8
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 4
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = shl i32 %36, 24
%38 = sext i32 %37 to i64
%39 = load i64, ptr %4, align 8
%40 = or i64 %39, %38
store i64 %40, ptr %4, align 8
%41 = load ptr, ptr %2, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 5
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = shl i32 %44, 16
%46 = sext i32 %45 to i64
%47 = load i64, ptr %4, align 8
%48 = or i64 %47, %46
store i64 %48, ptr %4, align 8
%49 = load ptr, ptr %2, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 6
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = shl i32 %52, 8
%54 = sext i32 %53 to i64
%55 = load i64, ptr %4, align 8
%56 = or i64 %55, %54
store i64 %56, ptr %4, align 8
%57 = load ptr, ptr %2, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 7
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = shl i32 %60, 0
%62 = sext i32 %61 to i64
%63 = load i64, ptr %4, align 8
%64 = or i64 %63, %62
store i64 %64, ptr %4, align 8
%65 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 8)
%66 = load double, ptr %3, align 8
ret double %66
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlmjnd17.c'
source_filename = "/tmp/tmpxlmjnd17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Usage: %s [OPTIONS] [<version>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"OPTIONS\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c" -i, --init: perform init_env and init_jdks.\0A\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c" -e, --init_env: prepare and check the environment.\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c" -j, --init_jdks: create symlinks for installed jdk.\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c" -v, --version: print the version and exit.\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c" -h, --help: print this message.\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [63 x i8] c"The program prints installed JDK versions on your environemnt\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"with no command line arguments.\0A\00", align 1
@.str.9 = private unnamed_addr constant [63 x i8] c"The program switches JDK version given command line argument.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @nopath(ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @nopath(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlmjnd17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Usage: %s [OPTIONS] [<version>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"OPTIONS\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c" -i, --init: perform init_env and init_jdks.\0A\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c" -e, --init_env: prepare and check the environment.\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c" -j, --init_jdks: create symlinks for installed jdk.\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c" -v, --version: print the version and exit.\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c" -h, --help: print this message.\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [63 x i8] c"The program prints installed JDK versions on your environemnt\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"with no command line arguments.\0A\00", align 1
@.str.9 = private unnamed_addr constant [63 x i8] c"The program switches JDK version given command line argument.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @nopath(ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @nopath(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo7bf5cl2.c'
source_filename = "/tmp/tmpo7bf5cl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @atanl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @atan2(x86_fp80 noundef %3, i32 noundef 1)
ret x86_fp80 %4
}
declare x86_fp80 @atan2(x86_fp80 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo7bf5cl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @atanl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @atan2(x86_fp80 noundef %3, i32 noundef 1)
ret x86_fp80 %4
}
declare x86_fp80 @atan2(x86_fp80 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbp1q1p6y.c'
source_filename = "/tmp/tmpbp1q1p6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @or_1()
%3 = call i32 (...) @or_2()
ret i32 0
}
declare i32 @or_1(...) #1
declare i32 @or_2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbp1q1p6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @or_1()
%3 = call i32 (...) @or_2()
ret i32 0
}
declare i32 @or_1(...) #1
declare i32 @or_2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp01mit0qk.c'
source_filename = "/tmp/tmp01mit0qk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fb_hStr2Longint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = call ptr @fb_hStrSkipChar(ptr noundef %9, i32 noundef %10, i32 noundef 32)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = ptrtoint ptr %12 to i64
%15 = ptrtoint ptr %13 to i64
%16 = sub i64 %14, %15
%17 = trunc i64 %16 to i32
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, %17
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %2
store i64 0, ptr %3, align 8
br label %54
23: ; preds = %2
store i32 10, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp sge i32 %24, 2
br i1 %25, label %26, label %50
26: ; preds = %23
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 38
br i1 %31, label %32, label %50
32: ; preds = %26
store i32 2, ptr %8, align 4
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
switch i32 %36, label %40 [
i32 104, label %37
i32 72, label %37
i32 111, label %38
i32 79, label %38
i32 98, label %39
i32 66, label %39
]
37: ; preds = %32, %32
store i32 16, ptr %7, align 4
br label %41
38: ; preds = %32, %32
store i32 8, ptr %7, align 4
br label %41
39: ; preds = %32, %32
store i32 2, ptr %7, align 4
br label %41
40: ; preds = %32
store i32 8, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %41
41: ; preds = %40, %39, %38, %37
%42 = load i32, ptr %7, align 4
%43 = icmp ne i32 %42, 10
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = load ptr, ptr %6, align 8
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds i8, ptr %46, i64 %47
store ptr %48, ptr %6, align 8
br label %49
49: ; preds = %44, %41
br label %50
50: ; preds = %49, %26, %23
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %7, align 4
%53 = call i64 @strtoull(ptr noundef %51, i32 noundef 0, i32 noundef %52)
store i64 %53, ptr %3, align 8
br label %54
54: ; preds = %50, %22
%55 = load i64, ptr %3, align 8
ret i64 %55
}
declare ptr @fb_hStrSkipChar(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strtoull(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp01mit0qk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fb_hStr2Longint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = call ptr @fb_hStrSkipChar(ptr noundef %9, i32 noundef %10, i32 noundef 32)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = ptrtoint ptr %12 to i64
%15 = ptrtoint ptr %13 to i64
%16 = sub i64 %14, %15
%17 = trunc i64 %16 to i32
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, %17
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %2
store i64 0, ptr %3, align 8
br label %54
23: ; preds = %2
store i32 10, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp sge i32 %24, 2
br i1 %25, label %26, label %50
26: ; preds = %23
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 38
br i1 %31, label %32, label %50
32: ; preds = %26
store i32 2, ptr %8, align 4
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
switch i32 %36, label %40 [
i32 104, label %37
i32 72, label %37
i32 111, label %38
i32 79, label %38
i32 98, label %39
i32 66, label %39
]
37: ; preds = %32, %32
store i32 16, ptr %7, align 4
br label %41
38: ; preds = %32, %32
store i32 8, ptr %7, align 4
br label %41
39: ; preds = %32, %32
store i32 2, ptr %7, align 4
br label %41
40: ; preds = %32
store i32 8, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %41
41: ; preds = %40, %39, %38, %37
%42 = load i32, ptr %7, align 4
%43 = icmp ne i32 %42, 10
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = load ptr, ptr %6, align 8
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds i8, ptr %46, i64 %47
store ptr %48, ptr %6, align 8
br label %49
49: ; preds = %44, %41
br label %50
50: ; preds = %49, %26, %23
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %7, align 4
%53 = call i64 @strtoull(ptr noundef %51, i32 noundef 0, i32 noundef %52)
store i64 %53, ptr %3, align 8
br label %54
54: ; preds = %50, %22
%55 = load i64, ptr %3, align 8
ret i64 %55
}
declare ptr @fb_hStrSkipChar(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strtoull(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_pv83czl.c'
source_filename = "/tmp/tmp_pv83czl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ip_mreq = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { ptr }
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @multicast_join_group(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.ip_mreq, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @inet_addr(ptr noundef %9)
%11 = getelementptr inbounds %struct.ip_mreq, ptr %8, i32 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0
store ptr %10, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = call ptr @inet_addr(ptr noundef %13)
%15 = getelementptr inbounds %struct.ip_mreq, ptr %8, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i32 0, i32 0
store ptr %14, ptr %16, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr @IPPROTO_IP, align 4
%19 = load i32, ptr @IP_ADD_MEMBERSHIP, align 4
%20 = call i64 @setsockopt(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %8, i32 noundef 16)
%21 = icmp slt i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %3
store i32 0, ptr %4, align 4
br label %25
23: ; preds = %3
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %23, %22
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare ptr @inet_addr(ptr noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_pv83czl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ip_mreq = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { ptr }
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @multicast_join_group(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.ip_mreq, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @inet_addr(ptr noundef %9)
%11 = getelementptr inbounds %struct.ip_mreq, ptr %8, i32 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0
store ptr %10, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = call ptr @inet_addr(ptr noundef %13)
%15 = getelementptr inbounds %struct.ip_mreq, ptr %8, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i32 0, i32 0
store ptr %14, ptr %16, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr @IPPROTO_IP, align 4
%19 = load i32, ptr @IP_ADD_MEMBERSHIP, align 4
%20 = call i64 @setsockopt(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %8, i32 noundef 16)
%21 = icmp slt i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %3
store i32 0, ptr %4, align 4
br label %25
23: ; preds = %3
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %23, %22
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare ptr @inet_addr(ptr noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcn27hddw.c'
source_filename = "/tmp/tmpcn27hddw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @charcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlength(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %30, %2
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %33
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %20, %26
br i1 %27, label %28, label %29
28: ; preds = %14
store i32 0, ptr %3, align 4
br label %34
29: ; preds = %14
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %10, !llvm.loop !6
33: ; preds = %10
store i32 1, ptr %3, align 4
br label %34
34: ; preds = %33, %28
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @strlength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcn27hddw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @charcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlength(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %29
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %19, %25
br i1 %26, label %27, label %28
27: ; preds = %13
store i32 0, ptr %3, align 4
br label %36
28: ; preds = %13
br label %29
29: ; preds = %28
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
store i32 1, ptr %3, align 4
br label %36
36: ; preds = %35, %27
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @strlength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps4hll0ea.c'
source_filename = "/tmp/tmps4hll0ea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sigaction = type { ptr, i32, i32 }
@SIGALRM = dso_local global i32 0, align 4
@SA_RESTART = dso_local global i32 0, align 4
@SA_RESETHAND = dso_local global i32 0, align 4
@SA_NODEFER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_signal(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sigaction, align 8
%7 = alloca %struct.sigaction, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0
store ptr %8, ptr %9, align 8
%10 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 2
%11 = call i32 @sigemptyset(ptr noundef %10)
%12 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
store i32 0, ptr %12, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @SIGALRM, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
br label %22
17: ; preds = %2
%18 = load i32, ptr @SA_RESTART, align 4
%19 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
%20 = load i32, ptr %19, align 8
%21 = or i32 %20, %18
store i32 %21, ptr %19, align 8
br label %22
22: ; preds = %17, %16
%23 = load i32, ptr @SA_RESETHAND, align 4
%24 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
%25 = load i32, ptr %24, align 8
%26 = or i32 %25, %23
store i32 %26, ptr %24, align 8
%27 = load i32, ptr @SA_NODEFER, align 4
%28 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
%29 = load i32, ptr %28, align 8
%30 = or i32 %29, %27
store i32 %30, ptr %28, align 8
%31 = load i32, ptr %4, align 4
%32 = call i64 @sigaction(i32 noundef %31, ptr noundef %7, ptr noundef %6)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %22
store ptr @SIG_ERR, ptr %3, align 8
br label %38
35: ; preds = %22
%36 = getelementptr inbounds %struct.sigaction, ptr %6, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
store ptr %37, ptr %3, align 8
br label %38
38: ; preds = %35, %34
%39 = load ptr, ptr %3, align 8
ret ptr %39
}
declare i32 @sigemptyset(ptr noundef) #1
declare i64 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
declare void @SIG_ERR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4hll0ea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sigaction = type { ptr, i32, i32 }
@SIGALRM = dso_local global i32 0, align 4
@SA_RESTART = dso_local global i32 0, align 4
@SA_RESETHAND = dso_local global i32 0, align 4
@SA_NODEFER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_signal(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sigaction, align 8
%7 = alloca %struct.sigaction, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0
store ptr %8, ptr %9, align 8
%10 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 2
%11 = call i32 @sigemptyset(ptr noundef %10)
%12 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
store i32 0, ptr %12, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @SIGALRM, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
br label %22
17: ; preds = %2
%18 = load i32, ptr @SA_RESTART, align 4
%19 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
%20 = load i32, ptr %19, align 8
%21 = or i32 %20, %18
store i32 %21, ptr %19, align 8
br label %22
22: ; preds = %17, %16
%23 = load i32, ptr @SA_RESETHAND, align 4
%24 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
%25 = load i32, ptr %24, align 8
%26 = or i32 %25, %23
store i32 %26, ptr %24, align 8
%27 = load i32, ptr @SA_NODEFER, align 4
%28 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 1
%29 = load i32, ptr %28, align 8
%30 = or i32 %29, %27
store i32 %30, ptr %28, align 8
%31 = load i32, ptr %4, align 4
%32 = call i64 @sigaction(i32 noundef %31, ptr noundef %7, ptr noundef %6)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %22
store ptr @SIG_ERR, ptr %3, align 8
br label %38
35: ; preds = %22
%36 = getelementptr inbounds %struct.sigaction, ptr %6, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
store ptr %37, ptr %3, align 8
br label %38
38: ; preds = %35, %34
%39 = load ptr, ptr %3, align 8
ret ptr %39
}
declare i32 @sigemptyset(ptr noundef) #1
declare i64 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
declare void @SIG_ERR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzde90ofe.c'
source_filename = "/tmp/tmpzde90ofe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"/proc/sys/vm/nr_hugepages\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Failed to open /proc/sys/vm/nr_hugepages\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Failed to read from /proc/sys/vm/nr_hugepages\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"Failed to write 0 to /proc/sys/vm/nr_hugepages\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [7 x i8] c"100000\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"Failed to write 100000 to /proc/sys/vm/nr_hugepages\0A\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"Failed to re-read from /proc/sys/vm/nr_hugepages\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"No of huge pages allocated = %d\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [60 x i8] c"ERROR: Less that 1/%d of memory is available\0Aas huge pages\0A\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c"Failed to write value to /proc/sys/vm/nr_hugepages\0A\00", align 1
@.str.11 = private unnamed_addr constant [32 x i8] c"Not OK. Compaction test failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_compaction(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [10 x i8], align 1
%9 = alloca [10 x i8], align 1
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 10, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 10, i1 false)
%10 = load i64, ptr %4, align 8
%11 = uitofp i64 %10 to double
%12 = fmul double %11, 8.000000e-01
%13 = fptoui double %12 to i64
store i64 %13, ptr %4, align 8
%14 = load i32, ptr @O_RDWR, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef @.str, i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %98
22: ; preds = %2
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%25 = call i64 @read(i32 noundef %23, ptr noundef %24, i32 noundef 10)
%26 = icmp sle i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str.2)
br label %94
29: ; preds = %22
%30 = load i32, ptr %6, align 4
%31 = call i32 @write(i32 noundef %30, ptr noundef @.str.3, i32 noundef 1)
%32 = sext i32 %31 to i64
%33 = icmp ne i64 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = call i32 @perror(ptr noundef @.str.4)
br label %94
36: ; preds = %29
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr @SEEK_SET, align 4
%39 = call i32 @lseek(i32 noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load i32, ptr %6, align 4
%41 = call i32 @write(i32 noundef %40, ptr noundef @.str.5, i32 noundef 6)
%42 = sext i32 %41 to i64
%43 = icmp ne i64 %42, 6
br i1 %43, label %44, label %46
44: ; preds = %36
%45 = call i32 @perror(ptr noundef @.str.6)
br label %94
46: ; preds = %36
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr @SEEK_SET, align 4
%49 = call i32 @lseek(i32 noundef %47, i32 noundef 0, i32 noundef %48)
%50 = load i32, ptr %6, align 4
%51 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%52 = call i64 @read(i32 noundef %50, ptr noundef %51, i32 noundef 10)
%53 = icmp sle i64 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %46
%55 = call i32 @perror(ptr noundef @.str.7)
br label %94
56: ; preds = %46
%57 = load i64, ptr %4, align 8
%58 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%59 = call i32 @atoi(ptr noundef %58)
%60 = load i32, ptr %5, align 4
%61 = mul i32 %59, %60
%62 = zext i32 %61 to i64
%63 = udiv i64 %57, %62
%64 = trunc i64 %63 to i32
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp sgt i32 %65, 3
br i1 %66, label %67, label %74
67: ; preds = %56
%68 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%69 = call i32 @atoi(ptr noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %69)
%71 = load i32, ptr @stderr, align 4
%72 = load i32, ptr %7, align 4
%73 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.9, i32 noundef %72)
br label %94
74: ; preds = %56
%75 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%76 = call i32 @atoi(ptr noundef %75)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %76)
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr @SEEK_SET, align 4
%80 = call i32 @lseek(i32 noundef %78, i32 noundef 0, i32 noundef %79)
%81 = load i32, ptr %6, align 4
%82 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%83 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%84 = call i32 @strlen(ptr noundef %83)
%85 = call i32 @write(i32 noundef %81, ptr noundef %82, i32 noundef %84)
%86 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%87 = call i32 @strlen(ptr noundef %86)
%88 = icmp ne i32 %85, %87
br i1 %88, label %89, label %91
89: ; preds = %74
%90 = call i32 @perror(ptr noundef @.str.10)
br label %94
91: ; preds = %74
%92 = load i32, ptr %6, align 4
%93 = call i32 @close(i32 noundef %92)
store i32 0, ptr %3, align 4
br label %98
94: ; preds = %89, %67, %54, %44, %34, %27
%95 = load i32, ptr %6, align 4
%96 = call i32 @close(i32 noundef %95)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 -1, ptr %3, align 4
br label %98
98: ; preds = %94, %91, %20
%99 = load i32, ptr %3, align 4
ret i32 %99
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzde90ofe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"/proc/sys/vm/nr_hugepages\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Failed to open /proc/sys/vm/nr_hugepages\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Failed to read from /proc/sys/vm/nr_hugepages\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"Failed to write 0 to /proc/sys/vm/nr_hugepages\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [7 x i8] c"100000\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"Failed to write 100000 to /proc/sys/vm/nr_hugepages\0A\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"Failed to re-read from /proc/sys/vm/nr_hugepages\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"No of huge pages allocated = %d\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [60 x i8] c"ERROR: Less that 1/%d of memory is available\0Aas huge pages\0A\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c"Failed to write value to /proc/sys/vm/nr_hugepages\0A\00", align 1
@.str.11 = private unnamed_addr constant [32 x i8] c"Not OK. Compaction test failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_compaction(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [10 x i8], align 1
%9 = alloca [10 x i8], align 1
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 10, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 10, i1 false)
%10 = load i64, ptr %4, align 8
%11 = uitofp i64 %10 to double
%12 = fmul double %11, 8.000000e-01
%13 = fptoui double %12 to i64
store i64 %13, ptr %4, align 8
%14 = load i32, ptr @O_RDWR, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef @.str, i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %98
22: ; preds = %2
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%25 = call i64 @read(i32 noundef %23, ptr noundef %24, i32 noundef 10)
%26 = icmp sle i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str.2)
br label %94
29: ; preds = %22
%30 = load i32, ptr %6, align 4
%31 = call i32 @write(i32 noundef %30, ptr noundef @.str.3, i32 noundef 1)
%32 = sext i32 %31 to i64
%33 = icmp ne i64 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = call i32 @perror(ptr noundef @.str.4)
br label %94
36: ; preds = %29
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr @SEEK_SET, align 4
%39 = call i32 @lseek(i32 noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load i32, ptr %6, align 4
%41 = call i32 @write(i32 noundef %40, ptr noundef @.str.5, i32 noundef 6)
%42 = sext i32 %41 to i64
%43 = icmp ne i64 %42, 6
br i1 %43, label %44, label %46
44: ; preds = %36
%45 = call i32 @perror(ptr noundef @.str.6)
br label %94
46: ; preds = %36
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr @SEEK_SET, align 4
%49 = call i32 @lseek(i32 noundef %47, i32 noundef 0, i32 noundef %48)
%50 = load i32, ptr %6, align 4
%51 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%52 = call i64 @read(i32 noundef %50, ptr noundef %51, i32 noundef 10)
%53 = icmp sle i64 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %46
%55 = call i32 @perror(ptr noundef @.str.7)
br label %94
56: ; preds = %46
%57 = load i64, ptr %4, align 8
%58 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%59 = call i32 @atoi(ptr noundef %58)
%60 = load i32, ptr %5, align 4
%61 = mul i32 %59, %60
%62 = zext i32 %61 to i64
%63 = udiv i64 %57, %62
%64 = trunc i64 %63 to i32
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp sgt i32 %65, 3
br i1 %66, label %67, label %74
67: ; preds = %56
%68 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%69 = call i32 @atoi(ptr noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %69)
%71 = load i32, ptr @stderr, align 4
%72 = load i32, ptr %7, align 4
%73 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.9, i32 noundef %72)
br label %94
74: ; preds = %56
%75 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%76 = call i32 @atoi(ptr noundef %75)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %76)
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr @SEEK_SET, align 4
%80 = call i32 @lseek(i32 noundef %78, i32 noundef 0, i32 noundef %79)
%81 = load i32, ptr %6, align 4
%82 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%83 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%84 = call i32 @strlen(ptr noundef %83)
%85 = call i32 @write(i32 noundef %81, ptr noundef %82, i32 noundef %84)
%86 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%87 = call i32 @strlen(ptr noundef %86)
%88 = icmp ne i32 %85, %87
br i1 %88, label %89, label %91
89: ; preds = %74
%90 = call i32 @perror(ptr noundef @.str.10)
br label %94
91: ; preds = %74
%92 = load i32, ptr %6, align 4
%93 = call i32 @close(i32 noundef %92)
store i32 0, ptr %3, align 4
br label %98
94: ; preds = %89, %67, %54, %44, %34, %27
%95 = load i32, ptr %6, align 4
%96 = call i32 @close(i32 noundef %95)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 -1, ptr %3, align 4
br label %98
98: ; preds = %94, %91, %20
%99 = load i32, ptr %3, align 4
ret i32 %99
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6kns78i6.c'
source_filename = "/tmp/tmp6kns78i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"struct\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"union\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_declarations(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [33 x i8], align 16
%12 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %12, align 4
%13 = call i32 (...) @blanks()
%14 = call i32 @amatch(ptr noundef @.str, i32 noundef 6)
store i32 %14, ptr %10, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = call i32 @amatch(ptr noundef @.str.1, i32 noundef 5)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %40
19: ; preds = %16, %3
%20 = getelementptr inbounds [33 x i8], ptr %11, i64 0, i64 0
%21 = call i64 @symname(ptr noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 (...) @illname()
br label %25
25: ; preds = %23, %19
%26 = getelementptr inbounds [33 x i8], ptr %11, i64 0, i64 0
%27 = call i32 @find_tag(ptr noundef %26)
store i32 %27, ptr %9, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = getelementptr inbounds [33 x i8], ptr %11, i64 0, i64 0
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %10, align 4
%33 = call i32 @define_struct(ptr noundef %30, i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %9, align 4
br label %34
34: ; preds = %29, %25
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 @declare_global(i32 noundef 2, i32 noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38)
br label %60
40: ; preds = %16
%41 = call i32 (...) @get_type()
store i32 %41, ptr %8, align 4
%42 = icmp ne i32 %41, 1
br i1 %42, label %43, label %49
43: ; preds = %40
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %5, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %7, align 4
%48 = call i32 @declare_global(i32 noundef %44, i32 noundef %45, ptr noundef %46, i32 noundef 0, i32 noundef %47)
store i32 %48, ptr %12, align 4
br label %59
49: ; preds = %40
%50 = load i32, ptr %5, align 4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 0, ptr %4, align 4
br label %66
53: ; preds = %49
%54 = load i32, ptr %5, align 4
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %7, align 4
%57 = call i32 @declare_global(i32 noundef 8, i32 noundef %54, ptr noundef %55, i32 noundef 0, i32 noundef %56)
store i32 %57, ptr %12, align 4
br label %58
58: ; preds = %53
br label %59
59: ; preds = %58, %43
br label %60
60: ; preds = %59, %34
%61 = load i32, ptr %12, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %60
%64 = call i32 (...) @need_semicolon()
br label %65
65: ; preds = %63, %60
store i32 1, ptr %4, align 4
br label %66
66: ; preds = %65, %52
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @blanks(...) #1
declare i32 @amatch(ptr noundef, i32 noundef) #1
declare i64 @symname(ptr noundef) #1
declare i32 @illname(...) #1
declare i32 @find_tag(ptr noundef) #1
declare i32 @define_struct(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @declare_global(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @get_type(...) #1
declare i32 @need_semicolon(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6kns78i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"struct\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"union\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_declarations(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [33 x i8], align 16
%12 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %12, align 4
%13 = call i32 (...) @blanks()
%14 = call i32 @amatch(ptr noundef @.str, i32 noundef 6)
store i32 %14, ptr %10, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = call i32 @amatch(ptr noundef @.str.1, i32 noundef 5)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %40
19: ; preds = %16, %3
%20 = getelementptr inbounds [33 x i8], ptr %11, i64 0, i64 0
%21 = call i64 @symname(ptr noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 (...) @illname()
br label %25
25: ; preds = %23, %19
%26 = getelementptr inbounds [33 x i8], ptr %11, i64 0, i64 0
%27 = call i32 @find_tag(ptr noundef %26)
store i32 %27, ptr %9, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = getelementptr inbounds [33 x i8], ptr %11, i64 0, i64 0
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %10, align 4
%33 = call i32 @define_struct(ptr noundef %30, i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %9, align 4
br label %34
34: ; preds = %29, %25
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 @declare_global(i32 noundef 2, i32 noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38)
br label %60
40: ; preds = %16
%41 = call i32 (...) @get_type()
store i32 %41, ptr %8, align 4
%42 = icmp ne i32 %41, 1
br i1 %42, label %43, label %49
43: ; preds = %40
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %5, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %7, align 4
%48 = call i32 @declare_global(i32 noundef %44, i32 noundef %45, ptr noundef %46, i32 noundef 0, i32 noundef %47)
store i32 %48, ptr %12, align 4
br label %59
49: ; preds = %40
%50 = load i32, ptr %5, align 4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 0, ptr %4, align 4
br label %66
53: ; preds = %49
%54 = load i32, ptr %5, align 4
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %7, align 4
%57 = call i32 @declare_global(i32 noundef 8, i32 noundef %54, ptr noundef %55, i32 noundef 0, i32 noundef %56)
store i32 %57, ptr %12, align 4
br label %58
58: ; preds = %53
br label %59
59: ; preds = %58, %43
br label %60
60: ; preds = %59, %34
%61 = load i32, ptr %12, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %60
%64 = call i32 (...) @need_semicolon()
br label %65
65: ; preds = %63, %60
store i32 1, ptr %4, align 4
br label %66
66: ; preds = %65, %52
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @blanks(...) #1
declare i32 @amatch(ptr noundef, i32 noundef) #1
declare i64 @symname(ptr noundef) #1
declare i32 @illname(...) #1
declare i32 @find_tag(ptr noundef) #1
declare i32 @define_struct(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @declare_global(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @get_type(...) #1
declare i32 @need_semicolon(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_cdl3jc.c'
source_filename = "/tmp/tmp4_cdl3jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexDump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [17 x i8], align 16
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %13, %3
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %78, %16
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %81
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = srem i32 %22, 16
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %34
25: ; preds = %21
%26 = load i32, ptr %7, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29)
br label %31
31: ; preds = %28, %25
%32 = load i32, ptr %7, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
br label %34
34: ; preds = %31, %21
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40)
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp slt i32 %47, 32
br i1 %48, label %57, label %49
49: ; preds = %34
%50 = load ptr, ptr %9, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = icmp sgt i32 %55, 126
br i1 %56, label %57, label %62
57: ; preds = %49, %34
%58 = load i32, ptr %7, align 4
%59 = srem i32 %58, 16
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %60
store i8 46, ptr %61, align 1
br label %72
62: ; preds = %49
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = load i32, ptr %7, align 4
%69 = srem i32 %68, 16
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %70
store i8 %67, ptr %71, align 1
br label %72
72: ; preds = %62, %57
%73 = load i32, ptr %7, align 4
%74 = srem i32 %73, 16
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %76
store i8 0, ptr %77, align 1
br label %78
78: ; preds = %72
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %17, !llvm.loop !6
81: ; preds = %17
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_cdl3jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexDump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [17 x i8], align 16
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %13, %3
store i32 0, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %83
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %77
%21 = load i32, ptr %7, align 4
%22 = srem i32 %21, 16
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %33
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28)
br label %30
30: ; preds = %27, %24
%31 = load i32, ptr %7, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31)
br label %33
33: ; preds = %30, %20
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39)
%41 = load ptr, ptr %9, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = icmp slt i32 %46, 32
br i1 %47, label %56, label %48
48: ; preds = %33
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = zext i8 %53 to i32
%55 = icmp sgt i32 %54, 126
br i1 %55, label %56, label %61
56: ; preds = %48, %33
%57 = load i32, ptr %7, align 4
%58 = srem i32 %57, 16
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %59
store i8 46, ptr %60, align 1
br label %71
61: ; preds = %48
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = load i32, ptr %7, align 4
%68 = srem i32 %67, 16
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %69
store i8 %66, ptr %70, align 1
br label %71
71: ; preds = %61, %56
%72 = load i32, ptr %7, align 4
%73 = srem i32 %72, 16
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %75
store i8 0, ptr %76, align 1
br label %77
77: ; preds = %71
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %7, align 4
%80 = load i32, ptr %7, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %16
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwh1jz3sb.c'
source_filename = "/tmp/tmpwh1jz3sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %12, %0
%4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 42
br label %9
9: ; preds = %6, %3
%10 = phi i1 [ false, %3 ], [ %8, %6 ]
br i1 %10, label %11, label %15
11: ; preds = %9
br label %12
12: ; preds = %11
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
br label %3, !llvm.loop !6
15: ; preds = %9
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwh1jz3sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %12, %0
%4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 42
br label %9
9: ; preds = %6, %3
%10 = phi i1 [ false, %3 ], [ %8, %6 ]
br i1 %10, label %11, label %15
11: ; preds = %9
br label %12
12: ; preds = %11
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
br label %3, !llvm.loop !6
15: ; preds = %9
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphufb6n9g.c'
source_filename = "/tmp/tmphufb6n9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tri_tri_intersect(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [3 x double], align 16
%15 = alloca [3 x double], align 16
%16 = alloca [3 x double], align 16
%17 = alloca [3 x double], align 16
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca [3 x double], align 16
%27 = alloca [2 x double], align 16
%28 = alloca [2 x double], align 16
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca i16, align 2
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca double, align 8
%41 = alloca double, align 8
%42 = alloca double, align 8
%43 = alloca double, align 8
%44 = alloca double, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds double, ptr %45, i64 0
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds double, ptr %48, i64 0
%50 = load double, ptr %49, align 8
%51 = fsub double %47, %50
%52 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
store double %51, ptr %52, align 16
%53 = load ptr, ptr %9, align 8
%54 = getelementptr inbounds double, ptr %53, i64 1
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds double, ptr %56, i64 1
%58 = load double, ptr %57, align 8
%59 = fsub double %55, %58
%60 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
store double %59, ptr %60, align 8
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds double, ptr %61, i64 2
%63 = load double, ptr %62, align 8
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds double, ptr %64, i64 2
%66 = load double, ptr %65, align 8
%67 = fsub double %63, %66
%68 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
store double %67, ptr %68, align 16
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds double, ptr %69, i64 0
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds double, ptr %72, i64 0
%74 = load double, ptr %73, align 8
%75 = fsub double %71, %74
%76 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
store double %75, ptr %76, align 16
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds double, ptr %77, i64 1
%79 = load double, ptr %78, align 8
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds double, ptr %80, i64 1
%82 = load double, ptr %81, align 8
%83 = fsub double %79, %82
%84 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
store double %83, ptr %84, align 8
%85 = load ptr, ptr %10, align 8
%86 = getelementptr inbounds double, ptr %85, i64 2
%87 = load double, ptr %86, align 8
%88 = load ptr, ptr %8, align 8
%89 = getelementptr inbounds double, ptr %88, i64 2
%90 = load double, ptr %89, align 8
%91 = fsub double %87, %90
%92 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
store double %91, ptr %92, align 16
%93 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%94 = load double, ptr %93, align 8
%95 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%96 = load double, ptr %95, align 16
%97 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%98 = load double, ptr %97, align 16
%99 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%100 = load double, ptr %99, align 8
%101 = fmul double %98, %100
%102 = fneg double %101
%103 = call double @llvm.fmuladd.f64(double %94, double %96, double %102)
%104 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
store double %103, ptr %104, align 16
%105 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%106 = load double, ptr %105, align 16
%107 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%108 = load double, ptr %107, align 16
%109 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%110 = load double, ptr %109, align 16
%111 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%112 = load double, ptr %111, align 16
%113 = fmul double %110, %112
%114 = fneg double %113
%115 = call double @llvm.fmuladd.f64(double %106, double %108, double %114)
%116 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
store double %115, ptr %116, align 8
%117 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%118 = load double, ptr %117, align 16
%119 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%120 = load double, ptr %119, align 8
%121 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%122 = load double, ptr %121, align 8
%123 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%124 = load double, ptr %123, align 16
%125 = fmul double %122, %124
%126 = fneg double %125
%127 = call double @llvm.fmuladd.f64(double %118, double %120, double %126)
%128 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
store double %127, ptr %128, align 16
%129 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%130 = load double, ptr %129, align 16
%131 = load ptr, ptr %8, align 8
%132 = getelementptr inbounds double, ptr %131, i64 0
%133 = load double, ptr %132, align 8
%134 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%135 = load double, ptr %134, align 8
%136 = load ptr, ptr %8, align 8
%137 = getelementptr inbounds double, ptr %136, i64 1
%138 = load double, ptr %137, align 8
%139 = fmul double %135, %138
%140 = call double @llvm.fmuladd.f64(double %130, double %133, double %139)
%141 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%142 = load double, ptr %141, align 16
%143 = load ptr, ptr %8, align 8
%144 = getelementptr inbounds double, ptr %143, i64 2
%145 = load double, ptr %144, align 8
%146 = call double @llvm.fmuladd.f64(double %142, double %145, double %140)
%147 = fneg double %146
store double %147, ptr %18, align 8
%148 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%149 = load double, ptr %148, align 16
%150 = load ptr, ptr %11, align 8
%151 = getelementptr inbounds double, ptr %150, i64 0
%152 = load double, ptr %151, align 8
%153 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%154 = load double, ptr %153, align 8
%155 = load ptr, ptr %11, align 8
%156 = getelementptr inbounds double, ptr %155, i64 1
%157 = load double, ptr %156, align 8
%158 = fmul double %154, %157
%159 = call double @llvm.fmuladd.f64(double %149, double %152, double %158)
%160 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%161 = load double, ptr %160, align 16
%162 = load ptr, ptr %11, align 8
%163 = getelementptr inbounds double, ptr %162, i64 2
%164 = load double, ptr %163, align 8
%165 = call double @llvm.fmuladd.f64(double %161, double %164, double %159)
%166 = load double, ptr %18, align 8
%167 = fadd double %165, %166
store double %167, ptr %20, align 8
%168 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%169 = load double, ptr %168, align 16
%170 = load ptr, ptr %12, align 8
%171 = getelementptr inbounds double, ptr %170, i64 0
%172 = load double, ptr %171, align 8
%173 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%174 = load double, ptr %173, align 8
%175 = load ptr, ptr %12, align 8
%176 = getelementptr inbounds double, ptr %175, i64 1
%177 = load double, ptr %176, align 8
%178 = fmul double %174, %177
%179 = call double @llvm.fmuladd.f64(double %169, double %172, double %178)
%180 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%181 = load double, ptr %180, align 16
%182 = load ptr, ptr %12, align 8
%183 = getelementptr inbounds double, ptr %182, i64 2
%184 = load double, ptr %183, align 8
%185 = call double @llvm.fmuladd.f64(double %181, double %184, double %179)
%186 = load double, ptr %18, align 8
%187 = fadd double %185, %186
store double %187, ptr %21, align 8
%188 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%189 = load double, ptr %188, align 16
%190 = load ptr, ptr %13, align 8
%191 = getelementptr inbounds double, ptr %190, i64 0
%192 = load double, ptr %191, align 8
%193 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%194 = load double, ptr %193, align 8
%195 = load ptr, ptr %13, align 8
%196 = getelementptr inbounds double, ptr %195, i64 1
%197 = load double, ptr %196, align 8
%198 = fmul double %194, %197
%199 = call double @llvm.fmuladd.f64(double %189, double %192, double %198)
%200 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%201 = load double, ptr %200, align 16
%202 = load ptr, ptr %13, align 8
%203 = getelementptr inbounds double, ptr %202, i64 2
%204 = load double, ptr %203, align 8
%205 = call double @llvm.fmuladd.f64(double %201, double %204, double %199)
%206 = load double, ptr %18, align 8
%207 = fadd double %205, %206
store double %207, ptr %22, align 8
%208 = load double, ptr %20, align 8
%209 = call i32 @fabs(double noundef %208)
%210 = sitofp i32 %209 to double
%211 = fcmp olt double %210, 1.000000e-05
br i1 %211, label %212, label %213
212: ; preds = %6
store double 0.000000e+00, ptr %20, align 8
br label %213
213: ; preds = %212, %6
%214 = load double, ptr %21, align 8
%215 = call i32 @fabs(double noundef %214)
%216 = sitofp i32 %215 to double
%217 = fcmp olt double %216, 1.000000e-05
br i1 %217, label %218, label %219
218: ; preds = %213
store double 0.000000e+00, ptr %21, align 8
br label %219
219: ; preds = %218, %213
%220 = load double, ptr %22, align 8
%221 = call i32 @fabs(double noundef %220)
%222 = sitofp i32 %221 to double
%223 = fcmp olt double %222, 1.000000e-05
br i1 %223, label %224, label %225
224: ; preds = %219
store double 0.000000e+00, ptr %22, align 8
br label %225
225: ; preds = %224, %219
%226 = load double, ptr %20, align 8
%227 = load double, ptr %21, align 8
%228 = fmul double %226, %227
store double %228, ptr %29, align 8
%229 = load double, ptr %20, align 8
%230 = load double, ptr %22, align 8
%231 = fmul double %229, %230
store double %231, ptr %30, align 8
%232 = load double, ptr %29, align 8
%233 = fcmp ogt double %232, 0.000000e+00
br i1 %233, label %234, label %238
234: ; preds = %225
%235 = load double, ptr %30, align 8
%236 = fcmp ogt double %235, 0.000000e+00
br i1 %236, label %237, label %238
237: ; preds = %234
store i32 0, ptr %7, align 4
br label %880
238: ; preds = %234, %225
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds double, ptr %239, i64 0
%241 = load double, ptr %240, align 8
%242 = load ptr, ptr %11, align 8
%243 = getelementptr inbounds double, ptr %242, i64 0
%244 = load double, ptr %243, align 8
%245 = fsub double %241, %244
%246 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
store double %245, ptr %246, align 16
%247 = load ptr, ptr %12, align 8
%248 = getelementptr inbounds double, ptr %247, i64 1
%249 = load double, ptr %248, align 8
%250 = load ptr, ptr %11, align 8
%251 = getelementptr inbounds double, ptr %250, i64 1
%252 = load double, ptr %251, align 8
%253 = fsub double %249, %252
%254 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
store double %253, ptr %254, align 8
%255 = load ptr, ptr %12, align 8
%256 = getelementptr inbounds double, ptr %255, i64 2
%257 = load double, ptr %256, align 8
%258 = load ptr, ptr %11, align 8
%259 = getelementptr inbounds double, ptr %258, i64 2
%260 = load double, ptr %259, align 8
%261 = fsub double %257, %260
%262 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
store double %261, ptr %262, align 16
%263 = load ptr, ptr %13, align 8
%264 = getelementptr inbounds double, ptr %263, i64 0
%265 = load double, ptr %264, align 8
%266 = load ptr, ptr %11, align 8
%267 = getelementptr inbounds double, ptr %266, i64 0
%268 = load double, ptr %267, align 8
%269 = fsub double %265, %268
%270 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
store double %269, ptr %270, align 16
%271 = load ptr, ptr %13, align 8
%272 = getelementptr inbounds double, ptr %271, i64 1
%273 = load double, ptr %272, align 8
%274 = load ptr, ptr %11, align 8
%275 = getelementptr inbounds double, ptr %274, i64 1
%276 = load double, ptr %275, align 8
%277 = fsub double %273, %276
%278 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
store double %277, ptr %278, align 8
%279 = load ptr, ptr %13, align 8
%280 = getelementptr inbounds double, ptr %279, i64 2
%281 = load double, ptr %280, align 8
%282 = load ptr, ptr %11, align 8
%283 = getelementptr inbounds double, ptr %282, i64 2
%284 = load double, ptr %283, align 8
%285 = fsub double %281, %284
%286 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
store double %285, ptr %286, align 16
%287 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%288 = load double, ptr %287, align 8
%289 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%290 = load double, ptr %289, align 16
%291 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%292 = load double, ptr %291, align 16
%293 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%294 = load double, ptr %293, align 8
%295 = fmul double %292, %294
%296 = fneg double %295
%297 = call double @llvm.fmuladd.f64(double %288, double %290, double %296)
%298 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
store double %297, ptr %298, align 16
%299 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%300 = load double, ptr %299, align 16
%301 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%302 = load double, ptr %301, align 16
%303 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%304 = load double, ptr %303, align 16
%305 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%306 = load double, ptr %305, align 16
%307 = fmul double %304, %306
%308 = fneg double %307
%309 = call double @llvm.fmuladd.f64(double %300, double %302, double %308)
%310 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
store double %309, ptr %310, align 8
%311 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%312 = load double, ptr %311, align 16
%313 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%314 = load double, ptr %313, align 8
%315 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%316 = load double, ptr %315, align 8
%317 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%318 = load double, ptr %317, align 16
%319 = fmul double %316, %318
%320 = fneg double %319
%321 = call double @llvm.fmuladd.f64(double %312, double %314, double %320)
%322 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
store double %321, ptr %322, align 16
%323 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%324 = load double, ptr %323, align 16
%325 = load ptr, ptr %11, align 8
%326 = getelementptr inbounds double, ptr %325, i64 0
%327 = load double, ptr %326, align 8
%328 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%329 = load double, ptr %328, align 8
%330 = load ptr, ptr %11, align 8
%331 = getelementptr inbounds double, ptr %330, i64 1
%332 = load double, ptr %331, align 8
%333 = fmul double %329, %332
%334 = call double @llvm.fmuladd.f64(double %324, double %327, double %333)
%335 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%336 = load double, ptr %335, align 16
%337 = load ptr, ptr %11, align 8
%338 = getelementptr inbounds double, ptr %337, i64 2
%339 = load double, ptr %338, align 8
%340 = call double @llvm.fmuladd.f64(double %336, double %339, double %334)
%341 = fneg double %340
store double %341, ptr %19, align 8
%342 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%343 = load double, ptr %342, align 16
%344 = load ptr, ptr %8, align 8
%345 = getelementptr inbounds double, ptr %344, i64 0
%346 = load double, ptr %345, align 8
%347 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%348 = load double, ptr %347, align 8
%349 = load ptr, ptr %8, align 8
%350 = getelementptr inbounds double, ptr %349, i64 1
%351 = load double, ptr %350, align 8
%352 = fmul double %348, %351
%353 = call double @llvm.fmuladd.f64(double %343, double %346, double %352)
%354 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%355 = load double, ptr %354, align 16
%356 = load ptr, ptr %8, align 8
%357 = getelementptr inbounds double, ptr %356, i64 2
%358 = load double, ptr %357, align 8
%359 = call double @llvm.fmuladd.f64(double %355, double %358, double %353)
%360 = load double, ptr %19, align 8
%361 = fadd double %359, %360
store double %361, ptr %23, align 8
%362 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%363 = load double, ptr %362, align 16
%364 = load ptr, ptr %9, align 8
%365 = getelementptr inbounds double, ptr %364, i64 0
%366 = load double, ptr %365, align 8
%367 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%368 = load double, ptr %367, align 8
%369 = load ptr, ptr %9, align 8
%370 = getelementptr inbounds double, ptr %369, i64 1
%371 = load double, ptr %370, align 8
%372 = fmul double %368, %371
%373 = call double @llvm.fmuladd.f64(double %363, double %366, double %372)
%374 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%375 = load double, ptr %374, align 16
%376 = load ptr, ptr %9, align 8
%377 = getelementptr inbounds double, ptr %376, i64 2
%378 = load double, ptr %377, align 8
%379 = call double @llvm.fmuladd.f64(double %375, double %378, double %373)
%380 = load double, ptr %19, align 8
%381 = fadd double %379, %380
store double %381, ptr %24, align 8
%382 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%383 = load double, ptr %382, align 16
%384 = load ptr, ptr %10, align 8
%385 = getelementptr inbounds double, ptr %384, i64 0
%386 = load double, ptr %385, align 8
%387 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%388 = load double, ptr %387, align 8
%389 = load ptr, ptr %10, align 8
%390 = getelementptr inbounds double, ptr %389, i64 1
%391 = load double, ptr %390, align 8
%392 = fmul double %388, %391
%393 = call double @llvm.fmuladd.f64(double %383, double %386, double %392)
%394 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%395 = load double, ptr %394, align 16
%396 = load ptr, ptr %10, align 8
%397 = getelementptr inbounds double, ptr %396, i64 2
%398 = load double, ptr %397, align 8
%399 = call double @llvm.fmuladd.f64(double %395, double %398, double %393)
%400 = load double, ptr %19, align 8
%401 = fadd double %399, %400
store double %401, ptr %25, align 8
%402 = load double, ptr %23, align 8
%403 = call i32 @fabs(double noundef %402)
%404 = sitofp i32 %403 to double
%405 = fcmp olt double %404, 1.000000e-05
br i1 %405, label %406, label %407
406: ; preds = %238
store double 0.000000e+00, ptr %23, align 8
br label %407
407: ; preds = %406, %238
%408 = load double, ptr %24, align 8
%409 = call i32 @fabs(double noundef %408)
%410 = sitofp i32 %409 to double
%411 = fcmp olt double %410, 1.000000e-05
br i1 %411, label %412, label %413
412: ; preds = %407
store double 0.000000e+00, ptr %24, align 8
br label %413
413: ; preds = %412, %407
%414 = load double, ptr %25, align 8
%415 = call i32 @fabs(double noundef %414)
%416 = sitofp i32 %415 to double
%417 = fcmp olt double %416, 1.000000e-05
br i1 %417, label %418, label %419
418: ; preds = %413
store double 0.000000e+00, ptr %25, align 8
br label %419
419: ; preds = %418, %413
%420 = load double, ptr %23, align 8
%421 = load double, ptr %24, align 8
%422 = fmul double %420, %421
store double %422, ptr %31, align 8
%423 = load double, ptr %23, align 8
%424 = load double, ptr %25, align 8
%425 = fmul double %423, %424
store double %425, ptr %32, align 8
%426 = load double, ptr %31, align 8
%427 = fcmp ogt double %426, 0.000000e+00
br i1 %427, label %428, label %432
428: ; preds = %419
%429 = load double, ptr %32, align 8
%430 = fcmp ogt double %429, 0.000000e+00
br i1 %430, label %431, label %432
431: ; preds = %428
store i32 0, ptr %7, align 4
br label %880
432: ; preds = %428, %419
%433 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%434 = load double, ptr %433, align 8
%435 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%436 = load double, ptr %435, align 16
%437 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%438 = load double, ptr %437, align 16
%439 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%440 = load double, ptr %439, align 8
%441 = fmul double %438, %440
%442 = fneg double %441
%443 = call double @llvm.fmuladd.f64(double %434, double %436, double %442)
%444 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
store double %443, ptr %444, align 16
%445 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%446 = load double, ptr %445, align 16
%447 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%448 = load double, ptr %447, align 16
%449 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%450 = load double, ptr %449, align 16
%451 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%452 = load double, ptr %451, align 16
%453 = fmul double %450, %452
%454 = fneg double %453
%455 = call double @llvm.fmuladd.f64(double %446, double %448, double %454)
%456 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 1
store double %455, ptr %456, align 8
%457 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%458 = load double, ptr %457, align 16
%459 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%460 = load double, ptr %459, align 8
%461 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%462 = load double, ptr %461, align 8
%463 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%464 = load double, ptr %463, align 16
%465 = fmul double %462, %464
%466 = fneg double %465
%467 = call double @llvm.fmuladd.f64(double %458, double %460, double %466)
%468 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 2
store double %467, ptr %468, align 16
%469 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%470 = load double, ptr %469, align 16
%471 = call i32 @fabs(double noundef %470)
%472 = sitofp i32 %471 to double
store double %472, ptr %42, align 8
store i16 0, ptr %33, align 2
%473 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 1
%474 = load double, ptr %473, align 8
%475 = call i32 @fabs(double noundef %474)
%476 = sitofp i32 %475 to double
store double %476, ptr %40, align 8
%477 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 2
%478 = load double, ptr %477, align 16
%479 = call i32 @fabs(double noundef %478)
%480 = sitofp i32 %479 to double
store double %480, ptr %41, align 8
%481 = load double, ptr %40, align 8
%482 = load double, ptr %42, align 8
%483 = fcmp ogt double %481, %482
br i1 %483, label %484, label %486
484: ; preds = %432
%485 = load double, ptr %40, align 8
store double %485, ptr %42, align 8
store i16 1, ptr %33, align 2
br label %486
486: ; preds = %484, %432
%487 = load double, ptr %41, align 8
%488 = load double, ptr %42, align 8
%489 = fcmp ogt double %487, %488
br i1 %489, label %490, label %492
490: ; preds = %486
%491 = load double, ptr %41, align 8
store double %491, ptr %42, align 8
store i16 2, ptr %33, align 2
br label %492
492: ; preds = %490, %486
%493 = load ptr, ptr %8, align 8
%494 = load i16, ptr %33, align 2
%495 = sext i16 %494 to i64
%496 = getelementptr inbounds double, ptr %493, i64 %495
%497 = load double, ptr %496, align 8
store double %497, ptr %34, align 8
%498 = load ptr, ptr %9, align 8
%499 = load i16, ptr %33, align 2
%500 = sext i16 %499 to i64
%501 = getelementptr inbounds double, ptr %498, i64 %500
%502 = load double, ptr %501, align 8
store double %502, ptr %35, align 8
%503 = load ptr, ptr %10, align 8
%504 = load i16, ptr %33, align 2
%505 = sext i16 %504 to i64
%506 = getelementptr inbounds double, ptr %503, i64 %505
%507 = load double, ptr %506, align 8
store double %507, ptr %36, align 8
%508 = load ptr, ptr %11, align 8
%509 = load i16, ptr %33, align 2
%510 = sext i16 %509 to i64
%511 = getelementptr inbounds double, ptr %508, i64 %510
%512 = load double, ptr %511, align 8
store double %512, ptr %37, align 8
%513 = load ptr, ptr %12, align 8
%514 = load i16, ptr %33, align 2
%515 = sext i16 %514 to i64
%516 = getelementptr inbounds double, ptr %513, i64 %515
%517 = load double, ptr %516, align 8
store double %517, ptr %38, align 8
%518 = load ptr, ptr %13, align 8
%519 = load i16, ptr %33, align 2
%520 = sext i16 %519 to i64
%521 = getelementptr inbounds double, ptr %518, i64 %520
%522 = load double, ptr %521, align 8
store double %522, ptr %39, align 8
%523 = load double, ptr %31, align 8
%524 = fcmp ogt double %523, 0.000000e+00
br i1 %524, label %525, label %550
525: ; preds = %492
%526 = load double, ptr %36, align 8
%527 = load double, ptr %34, align 8
%528 = load double, ptr %36, align 8
%529 = fsub double %527, %528
%530 = load double, ptr %25, align 8
%531 = fmul double %529, %530
%532 = load double, ptr %25, align 8
%533 = load double, ptr %23, align 8
%534 = fsub double %532, %533
%535 = fdiv double %531, %534
%536 = fadd double %526, %535
%537 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %536, ptr %537, align 16
%538 = load double, ptr %36, align 8
%539 = load double, ptr %35, align 8
%540 = load double, ptr %36, align 8
%541 = fsub double %539, %540
%542 = load double, ptr %25, align 8
%543 = fmul double %541, %542
%544 = load double, ptr %25, align 8
%545 = load double, ptr %24, align 8
%546 = fsub double %544, %545
%547 = fdiv double %543, %546
%548 = fadd double %538, %547
%549 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %548, ptr %549, align 8
br label %680
550: ; preds = %492
%551 = load double, ptr %32, align 8
%552 = fcmp ogt double %551, 0.000000e+00
br i1 %552, label %553, label %578
553: ; preds = %550
%554 = load double, ptr %35, align 8
%555 = load double, ptr %34, align 8
%556 = load double, ptr %35, align 8
%557 = fsub double %555, %556
%558 = load double, ptr %24, align 8
%559 = fmul double %557, %558
%560 = load double, ptr %24, align 8
%561 = load double, ptr %23, align 8
%562 = fsub double %560, %561
%563 = fdiv double %559, %562
%564 = fadd double %554, %563
%565 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %564, ptr %565, align 16
%566 = load double, ptr %35, align 8
%567 = load double, ptr %36, align 8
%568 = load double, ptr %35, align 8
%569 = fsub double %567, %568
%570 = load double, ptr %24, align 8
%571 = fmul double %569, %570
%572 = load double, ptr %24, align 8
%573 = load double, ptr %25, align 8
%574 = fsub double %572, %573
%575 = fdiv double %571, %574
%576 = fadd double %566, %575
%577 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %576, ptr %577, align 8
br label %679
578: ; preds = %550
%579 = load double, ptr %24, align 8
%580 = load double, ptr %25, align 8
%581 = fmul double %579, %580
%582 = fcmp ogt double %581, 0.000000e+00
br i1 %582, label %586, label %583
583: ; preds = %578
%584 = load double, ptr %23, align 8
%585 = fcmp une double %584, 0.000000e+00
br i1 %585, label %586, label %611
586: ; preds = %583, %578
%587 = load double, ptr %34, align 8
%588 = load double, ptr %35, align 8
%589 = load double, ptr %34, align 8
%590 = fsub double %588, %589
%591 = load double, ptr %23, align 8
%592 = fmul double %590, %591
%593 = load double, ptr %23, align 8
%594 = load double, ptr %24, align 8
%595 = fsub double %593, %594
%596 = fdiv double %592, %595
%597 = fadd double %587, %596
%598 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %597, ptr %598, align 16
%599 = load double, ptr %34, align 8
%600 = load double, ptr %36, align 8
%601 = load double, ptr %34, align 8
%602 = fsub double %600, %601
%603 = load double, ptr %23, align 8
%604 = fmul double %602, %603
%605 = load double, ptr %23, align 8
%606 = load double, ptr %25, align 8
%607 = fsub double %605, %606
%608 = fdiv double %604, %607
%609 = fadd double %599, %608
%610 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %609, ptr %610, align 8
br label %678
611: ; preds = %583
%612 = load double, ptr %24, align 8
%613 = fcmp une double %612, 0.000000e+00
br i1 %613, label %614, label %639
614: ; preds = %611
%615 = load double, ptr %35, align 8
%616 = load double, ptr %34, align 8
%617 = load double, ptr %35, align 8
%618 = fsub double %616, %617
%619 = load double, ptr %24, align 8
%620 = fmul double %618, %619
%621 = load double, ptr %24, align 8
%622 = load double, ptr %23, align 8
%623 = fsub double %621, %622
%624 = fdiv double %620, %623
%625 = fadd double %615, %624
%626 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %625, ptr %626, align 16
%627 = load double, ptr %35, align 8
%628 = load double, ptr %36, align 8
%629 = load double, ptr %35, align 8
%630 = fsub double %628, %629
%631 = load double, ptr %24, align 8
%632 = fmul double %630, %631
%633 = load double, ptr %24, align 8
%634 = load double, ptr %25, align 8
%635 = fsub double %633, %634
%636 = fdiv double %632, %635
%637 = fadd double %627, %636
%638 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %637, ptr %638, align 8
br label %677
639: ; preds = %611
%640 = load double, ptr %25, align 8
%641 = fcmp une double %640, 0.000000e+00
br i1 %641, label %642, label %667
642: ; preds = %639
%643 = load double, ptr %36, align 8
%644 = load double, ptr %34, align 8
%645 = load double, ptr %36, align 8
%646 = fsub double %644, %645
%647 = load double, ptr %25, align 8
%648 = fmul double %646, %647
%649 = load double, ptr %25, align 8
%650 = load double, ptr %23, align 8
%651 = fsub double %649, %650
%652 = fdiv double %648, %651
%653 = fadd double %643, %652
%654 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %653, ptr %654, align 16
%655 = load double, ptr %36, align 8
%656 = load double, ptr %35, align 8
%657 = load double, ptr %36, align 8
%658 = fsub double %656, %657
%659 = load double, ptr %25, align 8
%660 = fmul double %658, %659
%661 = load double, ptr %25, align 8
%662 = load double, ptr %24, align 8
%663 = fsub double %661, %662
%664 = fdiv double %660, %663
%665 = fadd double %655, %664
%666 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %665, ptr %666, align 8
br label %676
667: ; preds = %639
%668 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%669 = load ptr, ptr %8, align 8
%670 = load ptr, ptr %9, align 8
%671 = load ptr, ptr %10, align 8
%672 = load ptr, ptr %11, align 8
%673 = load ptr, ptr %12, align 8
%674 = load ptr, ptr %13, align 8
%675 = call i32 @coplanar_tri_tri(ptr noundef %668, ptr noundef %669, ptr noundef %670, ptr noundef %671, ptr noundef %672, ptr noundef %673, ptr noundef %674)
store i32 %675, ptr %7, align 4
br label %880
676: ; preds = %642
br label %677
677: ; preds = %676, %614
br label %678
678: ; preds = %677, %586
br label %679
679: ; preds = %678, %553
br label %680
680: ; preds = %679, %525
%681 = load double, ptr %29, align 8
%682 = fcmp ogt double %681, 0.000000e+00
br i1 %682, label %683, label %708
683: ; preds = %680
%684 = load double, ptr %39, align 8
%685 = load double, ptr %37, align 8
%686 = load double, ptr %39, align 8
%687 = fsub double %685, %686
%688 = load double, ptr %22, align 8
%689 = fmul double %687, %688
%690 = load double, ptr %22, align 8
%691 = load double, ptr %20, align 8
%692 = fsub double %690, %691
%693 = fdiv double %689, %692
%694 = fadd double %684, %693
%695 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %694, ptr %695, align 16
%696 = load double, ptr %39, align 8
%697 = load double, ptr %38, align 8
%698 = load double, ptr %39, align 8
%699 = fsub double %697, %698
%700 = load double, ptr %22, align 8
%701 = fmul double %699, %700
%702 = load double, ptr %22, align 8
%703 = load double, ptr %21, align 8
%704 = fsub double %702, %703
%705 = fdiv double %701, %704
%706 = fadd double %696, %705
%707 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %706, ptr %707, align 8
br label %838
708: ; preds = %680
%709 = load double, ptr %30, align 8
%710 = fcmp ogt double %709, 0.000000e+00
br i1 %710, label %711, label %736
711: ; preds = %708
%712 = load double, ptr %38, align 8
%713 = load double, ptr %37, align 8
%714 = load double, ptr %38, align 8
%715 = fsub double %713, %714
%716 = load double, ptr %21, align 8
%717 = fmul double %715, %716
%718 = load double, ptr %21, align 8
%719 = load double, ptr %20, align 8
%720 = fsub double %718, %719
%721 = fdiv double %717, %720
%722 = fadd double %712, %721
%723 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %722, ptr %723, align 16
%724 = load double, ptr %38, align 8
%725 = load double, ptr %39, align 8
%726 = load double, ptr %38, align 8
%727 = fsub double %725, %726
%728 = load double, ptr %21, align 8
%729 = fmul double %727, %728
%730 = load double, ptr %21, align 8
%731 = load double, ptr %22, align 8
%732 = fsub double %730, %731
%733 = fdiv double %729, %732
%734 = fadd double %724, %733
%735 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %734, ptr %735, align 8
br label %837
736: ; preds = %708
%737 = load double, ptr %21, align 8
%738 = load double, ptr %22, align 8
%739 = fmul double %737, %738
%740 = fcmp ogt double %739, 0.000000e+00
br i1 %740, label %744, label %741
741: ; preds = %736
%742 = load double, ptr %20, align 8
%743 = fcmp une double %742, 0.000000e+00
br i1 %743, label %744, label %769
744: ; preds = %741, %736
%745 = load double, ptr %37, align 8
%746 = load double, ptr %38, align 8
%747 = load double, ptr %37, align 8
%748 = fsub double %746, %747
%749 = load double, ptr %20, align 8
%750 = fmul double %748, %749
%751 = load double, ptr %20, align 8
%752 = load double, ptr %21, align 8
%753 = fsub double %751, %752
%754 = fdiv double %750, %753
%755 = fadd double %745, %754
%756 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %755, ptr %756, align 16
%757 = load double, ptr %37, align 8
%758 = load double, ptr %39, align 8
%759 = load double, ptr %37, align 8
%760 = fsub double %758, %759
%761 = load double, ptr %20, align 8
%762 = fmul double %760, %761
%763 = load double, ptr %20, align 8
%764 = load double, ptr %22, align 8
%765 = fsub double %763, %764
%766 = fdiv double %762, %765
%767 = fadd double %757, %766
%768 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %767, ptr %768, align 8
br label %836
769: ; preds = %741
%770 = load double, ptr %21, align 8
%771 = fcmp une double %770, 0.000000e+00
br i1 %771, label %772, label %797
772: ; preds = %769
%773 = load double, ptr %38, align 8
%774 = load double, ptr %37, align 8
%775 = load double, ptr %38, align 8
%776 = fsub double %774, %775
%777 = load double, ptr %21, align 8
%778 = fmul double %776, %777
%779 = load double, ptr %21, align 8
%780 = load double, ptr %20, align 8
%781 = fsub double %779, %780
%782 = fdiv double %778, %781
%783 = fadd double %773, %782
%784 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %783, ptr %784, align 16
%785 = load double, ptr %38, align 8
%786 = load double, ptr %39, align 8
%787 = load double, ptr %38, align 8
%788 = fsub double %786, %787
%789 = load double, ptr %21, align 8
%790 = fmul double %788, %789
%791 = load double, ptr %21, align 8
%792 = load double, ptr %22, align 8
%793 = fsub double %791, %792
%794 = fdiv double %790, %793
%795 = fadd double %785, %794
%796 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %795, ptr %796, align 8
br label %835
797: ; preds = %769
%798 = load double, ptr %22, align 8
%799 = fcmp une double %798, 0.000000e+00
br i1 %799, label %800, label %825
800: ; preds = %797
%801 = load double, ptr %39, align 8
%802 = load double, ptr %37, align 8
%803 = load double, ptr %39, align 8
%804 = fsub double %802, %803
%805 = load double, ptr %22, align 8
%806 = fmul double %804, %805
%807 = load double, ptr %22, align 8
%808 = load double, ptr %20, align 8
%809 = fsub double %807, %808
%810 = fdiv double %806, %809
%811 = fadd double %801, %810
%812 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %811, ptr %812, align 16
%813 = load double, ptr %39, align 8
%814 = load double, ptr %38, align 8
%815 = load double, ptr %39, align 8
%816 = fsub double %814, %815
%817 = load double, ptr %22, align 8
%818 = fmul double %816, %817
%819 = load double, ptr %22, align 8
%820 = load double, ptr %21, align 8
%821 = fsub double %819, %820
%822 = fdiv double %818, %821
%823 = fadd double %813, %822
%824 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %823, ptr %824, align 8
br label %834
825: ; preds = %797
%826 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%827 = load ptr, ptr %8, align 8
%828 = load ptr, ptr %9, align 8
%829 = load ptr, ptr %10, align 8
%830 = load ptr, ptr %11, align 8
%831 = load ptr, ptr %12, align 8
%832 = load ptr, ptr %13, align 8
%833 = call i32 @coplanar_tri_tri(ptr noundef %826, ptr noundef %827, ptr noundef %828, ptr noundef %829, ptr noundef %830, ptr noundef %831, ptr noundef %832)
store i32 %833, ptr %7, align 4
br label %880
834: ; preds = %800
br label %835
835: ; preds = %834, %772
br label %836
836: ; preds = %835, %744
br label %837
837: ; preds = %836, %711
br label %838
838: ; preds = %837, %683
%839 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
%840 = load double, ptr %839, align 16
%841 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
%842 = load double, ptr %841, align 8
%843 = fcmp ogt double %840, %842
br i1 %843, label %844, label %852
844: ; preds = %838
%845 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
%846 = load double, ptr %845, align 16
store double %846, ptr %43, align 8
%847 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
%848 = load double, ptr %847, align 8
%849 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %848, ptr %849, align 16
%850 = load double, ptr %43, align 8
%851 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %850, ptr %851, align 8
br label %852
852: ; preds = %844, %838
%853 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%854 = load double, ptr %853, align 16
%855 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
%856 = load double, ptr %855, align 8
%857 = fcmp ogt double %854, %856
br i1 %857, label %858, label %866
858: ; preds = %852
%859 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%860 = load double, ptr %859, align 16
store double %860, ptr %44, align 8
%861 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
%862 = load double, ptr %861, align 8
%863 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %862, ptr %863, align 16
%864 = load double, ptr %44, align 8
%865 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %864, ptr %865, align 8
br label %866
866: ; preds = %858, %852
%867 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
%868 = load double, ptr %867, align 8
%869 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%870 = load double, ptr %869, align 16
%871 = fcmp olt double %868, %870
br i1 %871, label %878, label %872
872: ; preds = %866
%873 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
%874 = load double, ptr %873, align 8
%875 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
%876 = load double, ptr %875, align 16
%877 = fcmp olt double %874, %876
br i1 %877, label %878, label %879
878: ; preds = %872, %866
store i32 0, ptr %7, align 4
br label %880
879: ; preds = %872
store i32 1, ptr %7, align 4
br label %880
880: ; preds = %879, %878, %825, %667, %431, %237
%881 = load i32, ptr %7, align 4
ret i32 %881
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @fabs(double noundef) #2
declare i32 @coplanar_tri_tri(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphufb6n9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tri_tri_intersect(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [3 x double], align 16
%15 = alloca [3 x double], align 16
%16 = alloca [3 x double], align 16
%17 = alloca [3 x double], align 16
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca [3 x double], align 16
%27 = alloca [2 x double], align 16
%28 = alloca [2 x double], align 16
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca i16, align 2
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca double, align 8
%41 = alloca double, align 8
%42 = alloca double, align 8
%43 = alloca double, align 8
%44 = alloca double, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds double, ptr %45, i64 0
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds double, ptr %48, i64 0
%50 = load double, ptr %49, align 8
%51 = fsub double %47, %50
%52 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
store double %51, ptr %52, align 16
%53 = load ptr, ptr %9, align 8
%54 = getelementptr inbounds double, ptr %53, i64 1
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds double, ptr %56, i64 1
%58 = load double, ptr %57, align 8
%59 = fsub double %55, %58
%60 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
store double %59, ptr %60, align 8
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds double, ptr %61, i64 2
%63 = load double, ptr %62, align 8
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds double, ptr %64, i64 2
%66 = load double, ptr %65, align 8
%67 = fsub double %63, %66
%68 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
store double %67, ptr %68, align 16
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds double, ptr %69, i64 0
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds double, ptr %72, i64 0
%74 = load double, ptr %73, align 8
%75 = fsub double %71, %74
%76 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
store double %75, ptr %76, align 16
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds double, ptr %77, i64 1
%79 = load double, ptr %78, align 8
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds double, ptr %80, i64 1
%82 = load double, ptr %81, align 8
%83 = fsub double %79, %82
%84 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
store double %83, ptr %84, align 8
%85 = load ptr, ptr %10, align 8
%86 = getelementptr inbounds double, ptr %85, i64 2
%87 = load double, ptr %86, align 8
%88 = load ptr, ptr %8, align 8
%89 = getelementptr inbounds double, ptr %88, i64 2
%90 = load double, ptr %89, align 8
%91 = fsub double %87, %90
%92 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
store double %91, ptr %92, align 16
%93 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%94 = load double, ptr %93, align 8
%95 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%96 = load double, ptr %95, align 16
%97 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%98 = load double, ptr %97, align 16
%99 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%100 = load double, ptr %99, align 8
%101 = fmul double %98, %100
%102 = fneg double %101
%103 = call double @llvm.fmuladd.f64(double %94, double %96, double %102)
%104 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
store double %103, ptr %104, align 16
%105 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%106 = load double, ptr %105, align 16
%107 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%108 = load double, ptr %107, align 16
%109 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%110 = load double, ptr %109, align 16
%111 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%112 = load double, ptr %111, align 16
%113 = fmul double %110, %112
%114 = fneg double %113
%115 = call double @llvm.fmuladd.f64(double %106, double %108, double %114)
%116 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
store double %115, ptr %116, align 8
%117 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%118 = load double, ptr %117, align 16
%119 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%120 = load double, ptr %119, align 8
%121 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%122 = load double, ptr %121, align 8
%123 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%124 = load double, ptr %123, align 16
%125 = fmul double %122, %124
%126 = fneg double %125
%127 = call double @llvm.fmuladd.f64(double %118, double %120, double %126)
%128 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
store double %127, ptr %128, align 16
%129 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%130 = load double, ptr %129, align 16
%131 = load ptr, ptr %8, align 8
%132 = getelementptr inbounds double, ptr %131, i64 0
%133 = load double, ptr %132, align 8
%134 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%135 = load double, ptr %134, align 8
%136 = load ptr, ptr %8, align 8
%137 = getelementptr inbounds double, ptr %136, i64 1
%138 = load double, ptr %137, align 8
%139 = fmul double %135, %138
%140 = call double @llvm.fmuladd.f64(double %130, double %133, double %139)
%141 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%142 = load double, ptr %141, align 16
%143 = load ptr, ptr %8, align 8
%144 = getelementptr inbounds double, ptr %143, i64 2
%145 = load double, ptr %144, align 8
%146 = call double @llvm.fmuladd.f64(double %142, double %145, double %140)
%147 = fneg double %146
store double %147, ptr %18, align 8
%148 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%149 = load double, ptr %148, align 16
%150 = load ptr, ptr %11, align 8
%151 = getelementptr inbounds double, ptr %150, i64 0
%152 = load double, ptr %151, align 8
%153 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%154 = load double, ptr %153, align 8
%155 = load ptr, ptr %11, align 8
%156 = getelementptr inbounds double, ptr %155, i64 1
%157 = load double, ptr %156, align 8
%158 = fmul double %154, %157
%159 = call double @llvm.fmuladd.f64(double %149, double %152, double %158)
%160 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%161 = load double, ptr %160, align 16
%162 = load ptr, ptr %11, align 8
%163 = getelementptr inbounds double, ptr %162, i64 2
%164 = load double, ptr %163, align 8
%165 = call double @llvm.fmuladd.f64(double %161, double %164, double %159)
%166 = load double, ptr %18, align 8
%167 = fadd double %165, %166
store double %167, ptr %20, align 8
%168 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%169 = load double, ptr %168, align 16
%170 = load ptr, ptr %12, align 8
%171 = getelementptr inbounds double, ptr %170, i64 0
%172 = load double, ptr %171, align 8
%173 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%174 = load double, ptr %173, align 8
%175 = load ptr, ptr %12, align 8
%176 = getelementptr inbounds double, ptr %175, i64 1
%177 = load double, ptr %176, align 8
%178 = fmul double %174, %177
%179 = call double @llvm.fmuladd.f64(double %169, double %172, double %178)
%180 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%181 = load double, ptr %180, align 16
%182 = load ptr, ptr %12, align 8
%183 = getelementptr inbounds double, ptr %182, i64 2
%184 = load double, ptr %183, align 8
%185 = call double @llvm.fmuladd.f64(double %181, double %184, double %179)
%186 = load double, ptr %18, align 8
%187 = fadd double %185, %186
store double %187, ptr %21, align 8
%188 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%189 = load double, ptr %188, align 16
%190 = load ptr, ptr %13, align 8
%191 = getelementptr inbounds double, ptr %190, i64 0
%192 = load double, ptr %191, align 8
%193 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%194 = load double, ptr %193, align 8
%195 = load ptr, ptr %13, align 8
%196 = getelementptr inbounds double, ptr %195, i64 1
%197 = load double, ptr %196, align 8
%198 = fmul double %194, %197
%199 = call double @llvm.fmuladd.f64(double %189, double %192, double %198)
%200 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%201 = load double, ptr %200, align 16
%202 = load ptr, ptr %13, align 8
%203 = getelementptr inbounds double, ptr %202, i64 2
%204 = load double, ptr %203, align 8
%205 = call double @llvm.fmuladd.f64(double %201, double %204, double %199)
%206 = load double, ptr %18, align 8
%207 = fadd double %205, %206
store double %207, ptr %22, align 8
%208 = load double, ptr %20, align 8
%209 = call i32 @fabs(double noundef %208)
%210 = sitofp i32 %209 to double
%211 = fcmp olt double %210, 1.000000e-05
br i1 %211, label %212, label %213
212: ; preds = %6
store double 0.000000e+00, ptr %20, align 8
br label %213
213: ; preds = %212, %6
%214 = load double, ptr %21, align 8
%215 = call i32 @fabs(double noundef %214)
%216 = sitofp i32 %215 to double
%217 = fcmp olt double %216, 1.000000e-05
br i1 %217, label %218, label %219
218: ; preds = %213
store double 0.000000e+00, ptr %21, align 8
br label %219
219: ; preds = %218, %213
%220 = load double, ptr %22, align 8
%221 = call i32 @fabs(double noundef %220)
%222 = sitofp i32 %221 to double
%223 = fcmp olt double %222, 1.000000e-05
br i1 %223, label %224, label %225
224: ; preds = %219
store double 0.000000e+00, ptr %22, align 8
br label %225
225: ; preds = %224, %219
%226 = load double, ptr %20, align 8
%227 = load double, ptr %21, align 8
%228 = fmul double %226, %227
store double %228, ptr %29, align 8
%229 = load double, ptr %20, align 8
%230 = load double, ptr %22, align 8
%231 = fmul double %229, %230
store double %231, ptr %30, align 8
%232 = load double, ptr %29, align 8
%233 = fcmp ogt double %232, 0.000000e+00
br i1 %233, label %234, label %238
234: ; preds = %225
%235 = load double, ptr %30, align 8
%236 = fcmp ogt double %235, 0.000000e+00
br i1 %236, label %237, label %238
237: ; preds = %234
store i32 0, ptr %7, align 4
br label %880
238: ; preds = %234, %225
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds double, ptr %239, i64 0
%241 = load double, ptr %240, align 8
%242 = load ptr, ptr %11, align 8
%243 = getelementptr inbounds double, ptr %242, i64 0
%244 = load double, ptr %243, align 8
%245 = fsub double %241, %244
%246 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
store double %245, ptr %246, align 16
%247 = load ptr, ptr %12, align 8
%248 = getelementptr inbounds double, ptr %247, i64 1
%249 = load double, ptr %248, align 8
%250 = load ptr, ptr %11, align 8
%251 = getelementptr inbounds double, ptr %250, i64 1
%252 = load double, ptr %251, align 8
%253 = fsub double %249, %252
%254 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
store double %253, ptr %254, align 8
%255 = load ptr, ptr %12, align 8
%256 = getelementptr inbounds double, ptr %255, i64 2
%257 = load double, ptr %256, align 8
%258 = load ptr, ptr %11, align 8
%259 = getelementptr inbounds double, ptr %258, i64 2
%260 = load double, ptr %259, align 8
%261 = fsub double %257, %260
%262 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
store double %261, ptr %262, align 16
%263 = load ptr, ptr %13, align 8
%264 = getelementptr inbounds double, ptr %263, i64 0
%265 = load double, ptr %264, align 8
%266 = load ptr, ptr %11, align 8
%267 = getelementptr inbounds double, ptr %266, i64 0
%268 = load double, ptr %267, align 8
%269 = fsub double %265, %268
%270 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
store double %269, ptr %270, align 16
%271 = load ptr, ptr %13, align 8
%272 = getelementptr inbounds double, ptr %271, i64 1
%273 = load double, ptr %272, align 8
%274 = load ptr, ptr %11, align 8
%275 = getelementptr inbounds double, ptr %274, i64 1
%276 = load double, ptr %275, align 8
%277 = fsub double %273, %276
%278 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
store double %277, ptr %278, align 8
%279 = load ptr, ptr %13, align 8
%280 = getelementptr inbounds double, ptr %279, i64 2
%281 = load double, ptr %280, align 8
%282 = load ptr, ptr %11, align 8
%283 = getelementptr inbounds double, ptr %282, i64 2
%284 = load double, ptr %283, align 8
%285 = fsub double %281, %284
%286 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
store double %285, ptr %286, align 16
%287 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%288 = load double, ptr %287, align 8
%289 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%290 = load double, ptr %289, align 16
%291 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%292 = load double, ptr %291, align 16
%293 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%294 = load double, ptr %293, align 8
%295 = fmul double %292, %294
%296 = fneg double %295
%297 = call double @llvm.fmuladd.f64(double %288, double %290, double %296)
%298 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
store double %297, ptr %298, align 16
%299 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2
%300 = load double, ptr %299, align 16
%301 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%302 = load double, ptr %301, align 16
%303 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%304 = load double, ptr %303, align 16
%305 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
%306 = load double, ptr %305, align 16
%307 = fmul double %304, %306
%308 = fneg double %307
%309 = call double @llvm.fmuladd.f64(double %300, double %302, double %308)
%310 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
store double %309, ptr %310, align 8
%311 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%312 = load double, ptr %311, align 16
%313 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 1
%314 = load double, ptr %313, align 8
%315 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1
%316 = load double, ptr %315, align 8
%317 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%318 = load double, ptr %317, align 16
%319 = fmul double %316, %318
%320 = fneg double %319
%321 = call double @llvm.fmuladd.f64(double %312, double %314, double %320)
%322 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
store double %321, ptr %322, align 16
%323 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%324 = load double, ptr %323, align 16
%325 = load ptr, ptr %11, align 8
%326 = getelementptr inbounds double, ptr %325, i64 0
%327 = load double, ptr %326, align 8
%328 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%329 = load double, ptr %328, align 8
%330 = load ptr, ptr %11, align 8
%331 = getelementptr inbounds double, ptr %330, i64 1
%332 = load double, ptr %331, align 8
%333 = fmul double %329, %332
%334 = call double @llvm.fmuladd.f64(double %324, double %327, double %333)
%335 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%336 = load double, ptr %335, align 16
%337 = load ptr, ptr %11, align 8
%338 = getelementptr inbounds double, ptr %337, i64 2
%339 = load double, ptr %338, align 8
%340 = call double @llvm.fmuladd.f64(double %336, double %339, double %334)
%341 = fneg double %340
store double %341, ptr %19, align 8
%342 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%343 = load double, ptr %342, align 16
%344 = load ptr, ptr %8, align 8
%345 = getelementptr inbounds double, ptr %344, i64 0
%346 = load double, ptr %345, align 8
%347 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%348 = load double, ptr %347, align 8
%349 = load ptr, ptr %8, align 8
%350 = getelementptr inbounds double, ptr %349, i64 1
%351 = load double, ptr %350, align 8
%352 = fmul double %348, %351
%353 = call double @llvm.fmuladd.f64(double %343, double %346, double %352)
%354 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%355 = load double, ptr %354, align 16
%356 = load ptr, ptr %8, align 8
%357 = getelementptr inbounds double, ptr %356, i64 2
%358 = load double, ptr %357, align 8
%359 = call double @llvm.fmuladd.f64(double %355, double %358, double %353)
%360 = load double, ptr %19, align 8
%361 = fadd double %359, %360
store double %361, ptr %23, align 8
%362 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%363 = load double, ptr %362, align 16
%364 = load ptr, ptr %9, align 8
%365 = getelementptr inbounds double, ptr %364, i64 0
%366 = load double, ptr %365, align 8
%367 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%368 = load double, ptr %367, align 8
%369 = load ptr, ptr %9, align 8
%370 = getelementptr inbounds double, ptr %369, i64 1
%371 = load double, ptr %370, align 8
%372 = fmul double %368, %371
%373 = call double @llvm.fmuladd.f64(double %363, double %366, double %372)
%374 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%375 = load double, ptr %374, align 16
%376 = load ptr, ptr %9, align 8
%377 = getelementptr inbounds double, ptr %376, i64 2
%378 = load double, ptr %377, align 8
%379 = call double @llvm.fmuladd.f64(double %375, double %378, double %373)
%380 = load double, ptr %19, align 8
%381 = fadd double %379, %380
store double %381, ptr %24, align 8
%382 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%383 = load double, ptr %382, align 16
%384 = load ptr, ptr %10, align 8
%385 = getelementptr inbounds double, ptr %384, i64 0
%386 = load double, ptr %385, align 8
%387 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%388 = load double, ptr %387, align 8
%389 = load ptr, ptr %10, align 8
%390 = getelementptr inbounds double, ptr %389, i64 1
%391 = load double, ptr %390, align 8
%392 = fmul double %388, %391
%393 = call double @llvm.fmuladd.f64(double %383, double %386, double %392)
%394 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%395 = load double, ptr %394, align 16
%396 = load ptr, ptr %10, align 8
%397 = getelementptr inbounds double, ptr %396, i64 2
%398 = load double, ptr %397, align 8
%399 = call double @llvm.fmuladd.f64(double %395, double %398, double %393)
%400 = load double, ptr %19, align 8
%401 = fadd double %399, %400
store double %401, ptr %25, align 8
%402 = load double, ptr %23, align 8
%403 = call i32 @fabs(double noundef %402)
%404 = sitofp i32 %403 to double
%405 = fcmp olt double %404, 1.000000e-05
br i1 %405, label %406, label %407
406: ; preds = %238
store double 0.000000e+00, ptr %23, align 8
br label %407
407: ; preds = %406, %238
%408 = load double, ptr %24, align 8
%409 = call i32 @fabs(double noundef %408)
%410 = sitofp i32 %409 to double
%411 = fcmp olt double %410, 1.000000e-05
br i1 %411, label %412, label %413
412: ; preds = %407
store double 0.000000e+00, ptr %24, align 8
br label %413
413: ; preds = %412, %407
%414 = load double, ptr %25, align 8
%415 = call i32 @fabs(double noundef %414)
%416 = sitofp i32 %415 to double
%417 = fcmp olt double %416, 1.000000e-05
br i1 %417, label %418, label %419
418: ; preds = %413
store double 0.000000e+00, ptr %25, align 8
br label %419
419: ; preds = %418, %413
%420 = load double, ptr %23, align 8
%421 = load double, ptr %24, align 8
%422 = fmul double %420, %421
store double %422, ptr %31, align 8
%423 = load double, ptr %23, align 8
%424 = load double, ptr %25, align 8
%425 = fmul double %423, %424
store double %425, ptr %32, align 8
%426 = load double, ptr %31, align 8
%427 = fcmp ogt double %426, 0.000000e+00
br i1 %427, label %428, label %432
428: ; preds = %419
%429 = load double, ptr %32, align 8
%430 = fcmp ogt double %429, 0.000000e+00
br i1 %430, label %431, label %432
431: ; preds = %428
store i32 0, ptr %7, align 4
br label %880
432: ; preds = %428, %419
%433 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%434 = load double, ptr %433, align 8
%435 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%436 = load double, ptr %435, align 16
%437 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%438 = load double, ptr %437, align 16
%439 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%440 = load double, ptr %439, align 8
%441 = fmul double %438, %440
%442 = fneg double %441
%443 = call double @llvm.fmuladd.f64(double %434, double %436, double %442)
%444 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
store double %443, ptr %444, align 16
%445 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
%446 = load double, ptr %445, align 16
%447 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%448 = load double, ptr %447, align 16
%449 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%450 = load double, ptr %449, align 16
%451 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
%452 = load double, ptr %451, align 16
%453 = fmul double %450, %452
%454 = fneg double %453
%455 = call double @llvm.fmuladd.f64(double %446, double %448, double %454)
%456 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 1
store double %455, ptr %456, align 8
%457 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%458 = load double, ptr %457, align 16
%459 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
%460 = load double, ptr %459, align 8
%461 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%462 = load double, ptr %461, align 8
%463 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%464 = load double, ptr %463, align 16
%465 = fmul double %462, %464
%466 = fneg double %465
%467 = call double @llvm.fmuladd.f64(double %458, double %460, double %466)
%468 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 2
store double %467, ptr %468, align 16
%469 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%470 = load double, ptr %469, align 16
%471 = call i32 @fabs(double noundef %470)
%472 = sitofp i32 %471 to double
store double %472, ptr %42, align 8
store i16 0, ptr %33, align 2
%473 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 1
%474 = load double, ptr %473, align 8
%475 = call i32 @fabs(double noundef %474)
%476 = sitofp i32 %475 to double
store double %476, ptr %40, align 8
%477 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 2
%478 = load double, ptr %477, align 16
%479 = call i32 @fabs(double noundef %478)
%480 = sitofp i32 %479 to double
store double %480, ptr %41, align 8
%481 = load double, ptr %40, align 8
%482 = load double, ptr %42, align 8
%483 = fcmp ogt double %481, %482
br i1 %483, label %484, label %486
484: ; preds = %432
%485 = load double, ptr %40, align 8
store double %485, ptr %42, align 8
store i16 1, ptr %33, align 2
br label %486
486: ; preds = %484, %432
%487 = load double, ptr %41, align 8
%488 = load double, ptr %42, align 8
%489 = fcmp ogt double %487, %488
br i1 %489, label %490, label %492
490: ; preds = %486
%491 = load double, ptr %41, align 8
store double %491, ptr %42, align 8
store i16 2, ptr %33, align 2
br label %492
492: ; preds = %490, %486
%493 = load ptr, ptr %8, align 8
%494 = load i16, ptr %33, align 2
%495 = sext i16 %494 to i64
%496 = getelementptr inbounds double, ptr %493, i64 %495
%497 = load double, ptr %496, align 8
store double %497, ptr %34, align 8
%498 = load ptr, ptr %9, align 8
%499 = load i16, ptr %33, align 2
%500 = sext i16 %499 to i64
%501 = getelementptr inbounds double, ptr %498, i64 %500
%502 = load double, ptr %501, align 8
store double %502, ptr %35, align 8
%503 = load ptr, ptr %10, align 8
%504 = load i16, ptr %33, align 2
%505 = sext i16 %504 to i64
%506 = getelementptr inbounds double, ptr %503, i64 %505
%507 = load double, ptr %506, align 8
store double %507, ptr %36, align 8
%508 = load ptr, ptr %11, align 8
%509 = load i16, ptr %33, align 2
%510 = sext i16 %509 to i64
%511 = getelementptr inbounds double, ptr %508, i64 %510
%512 = load double, ptr %511, align 8
store double %512, ptr %37, align 8
%513 = load ptr, ptr %12, align 8
%514 = load i16, ptr %33, align 2
%515 = sext i16 %514 to i64
%516 = getelementptr inbounds double, ptr %513, i64 %515
%517 = load double, ptr %516, align 8
store double %517, ptr %38, align 8
%518 = load ptr, ptr %13, align 8
%519 = load i16, ptr %33, align 2
%520 = sext i16 %519 to i64
%521 = getelementptr inbounds double, ptr %518, i64 %520
%522 = load double, ptr %521, align 8
store double %522, ptr %39, align 8
%523 = load double, ptr %31, align 8
%524 = fcmp ogt double %523, 0.000000e+00
br i1 %524, label %525, label %550
525: ; preds = %492
%526 = load double, ptr %36, align 8
%527 = load double, ptr %34, align 8
%528 = load double, ptr %36, align 8
%529 = fsub double %527, %528
%530 = load double, ptr %25, align 8
%531 = fmul double %529, %530
%532 = load double, ptr %25, align 8
%533 = load double, ptr %23, align 8
%534 = fsub double %532, %533
%535 = fdiv double %531, %534
%536 = fadd double %526, %535
%537 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %536, ptr %537, align 16
%538 = load double, ptr %36, align 8
%539 = load double, ptr %35, align 8
%540 = load double, ptr %36, align 8
%541 = fsub double %539, %540
%542 = load double, ptr %25, align 8
%543 = fmul double %541, %542
%544 = load double, ptr %25, align 8
%545 = load double, ptr %24, align 8
%546 = fsub double %544, %545
%547 = fdiv double %543, %546
%548 = fadd double %538, %547
%549 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %548, ptr %549, align 8
br label %680
550: ; preds = %492
%551 = load double, ptr %32, align 8
%552 = fcmp ogt double %551, 0.000000e+00
br i1 %552, label %553, label %578
553: ; preds = %550
%554 = load double, ptr %35, align 8
%555 = load double, ptr %34, align 8
%556 = load double, ptr %35, align 8
%557 = fsub double %555, %556
%558 = load double, ptr %24, align 8
%559 = fmul double %557, %558
%560 = load double, ptr %24, align 8
%561 = load double, ptr %23, align 8
%562 = fsub double %560, %561
%563 = fdiv double %559, %562
%564 = fadd double %554, %563
%565 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %564, ptr %565, align 16
%566 = load double, ptr %35, align 8
%567 = load double, ptr %36, align 8
%568 = load double, ptr %35, align 8
%569 = fsub double %567, %568
%570 = load double, ptr %24, align 8
%571 = fmul double %569, %570
%572 = load double, ptr %24, align 8
%573 = load double, ptr %25, align 8
%574 = fsub double %572, %573
%575 = fdiv double %571, %574
%576 = fadd double %566, %575
%577 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %576, ptr %577, align 8
br label %679
578: ; preds = %550
%579 = load double, ptr %24, align 8
%580 = load double, ptr %25, align 8
%581 = fmul double %579, %580
%582 = fcmp ogt double %581, 0.000000e+00
br i1 %582, label %586, label %583
583: ; preds = %578
%584 = load double, ptr %23, align 8
%585 = fcmp une double %584, 0.000000e+00
br i1 %585, label %586, label %611
586: ; preds = %583, %578
%587 = load double, ptr %34, align 8
%588 = load double, ptr %35, align 8
%589 = load double, ptr %34, align 8
%590 = fsub double %588, %589
%591 = load double, ptr %23, align 8
%592 = fmul double %590, %591
%593 = load double, ptr %23, align 8
%594 = load double, ptr %24, align 8
%595 = fsub double %593, %594
%596 = fdiv double %592, %595
%597 = fadd double %587, %596
%598 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %597, ptr %598, align 16
%599 = load double, ptr %34, align 8
%600 = load double, ptr %36, align 8
%601 = load double, ptr %34, align 8
%602 = fsub double %600, %601
%603 = load double, ptr %23, align 8
%604 = fmul double %602, %603
%605 = load double, ptr %23, align 8
%606 = load double, ptr %25, align 8
%607 = fsub double %605, %606
%608 = fdiv double %604, %607
%609 = fadd double %599, %608
%610 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %609, ptr %610, align 8
br label %678
611: ; preds = %583
%612 = load double, ptr %24, align 8
%613 = fcmp une double %612, 0.000000e+00
br i1 %613, label %614, label %639
614: ; preds = %611
%615 = load double, ptr %35, align 8
%616 = load double, ptr %34, align 8
%617 = load double, ptr %35, align 8
%618 = fsub double %616, %617
%619 = load double, ptr %24, align 8
%620 = fmul double %618, %619
%621 = load double, ptr %24, align 8
%622 = load double, ptr %23, align 8
%623 = fsub double %621, %622
%624 = fdiv double %620, %623
%625 = fadd double %615, %624
%626 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %625, ptr %626, align 16
%627 = load double, ptr %35, align 8
%628 = load double, ptr %36, align 8
%629 = load double, ptr %35, align 8
%630 = fsub double %628, %629
%631 = load double, ptr %24, align 8
%632 = fmul double %630, %631
%633 = load double, ptr %24, align 8
%634 = load double, ptr %25, align 8
%635 = fsub double %633, %634
%636 = fdiv double %632, %635
%637 = fadd double %627, %636
%638 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %637, ptr %638, align 8
br label %677
639: ; preds = %611
%640 = load double, ptr %25, align 8
%641 = fcmp une double %640, 0.000000e+00
br i1 %641, label %642, label %667
642: ; preds = %639
%643 = load double, ptr %36, align 8
%644 = load double, ptr %34, align 8
%645 = load double, ptr %36, align 8
%646 = fsub double %644, %645
%647 = load double, ptr %25, align 8
%648 = fmul double %646, %647
%649 = load double, ptr %25, align 8
%650 = load double, ptr %23, align 8
%651 = fsub double %649, %650
%652 = fdiv double %648, %651
%653 = fadd double %643, %652
%654 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %653, ptr %654, align 16
%655 = load double, ptr %36, align 8
%656 = load double, ptr %35, align 8
%657 = load double, ptr %36, align 8
%658 = fsub double %656, %657
%659 = load double, ptr %25, align 8
%660 = fmul double %658, %659
%661 = load double, ptr %25, align 8
%662 = load double, ptr %24, align 8
%663 = fsub double %661, %662
%664 = fdiv double %660, %663
%665 = fadd double %655, %664
%666 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %665, ptr %666, align 8
br label %676
667: ; preds = %639
%668 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%669 = load ptr, ptr %8, align 8
%670 = load ptr, ptr %9, align 8
%671 = load ptr, ptr %10, align 8
%672 = load ptr, ptr %11, align 8
%673 = load ptr, ptr %12, align 8
%674 = load ptr, ptr %13, align 8
%675 = call i32 @coplanar_tri_tri(ptr noundef %668, ptr noundef %669, ptr noundef %670, ptr noundef %671, ptr noundef %672, ptr noundef %673, ptr noundef %674)
store i32 %675, ptr %7, align 4
br label %880
676: ; preds = %642
br label %677
677: ; preds = %676, %614
br label %678
678: ; preds = %677, %586
br label %679
679: ; preds = %678, %553
br label %680
680: ; preds = %679, %525
%681 = load double, ptr %29, align 8
%682 = fcmp ogt double %681, 0.000000e+00
br i1 %682, label %683, label %708
683: ; preds = %680
%684 = load double, ptr %39, align 8
%685 = load double, ptr %37, align 8
%686 = load double, ptr %39, align 8
%687 = fsub double %685, %686
%688 = load double, ptr %22, align 8
%689 = fmul double %687, %688
%690 = load double, ptr %22, align 8
%691 = load double, ptr %20, align 8
%692 = fsub double %690, %691
%693 = fdiv double %689, %692
%694 = fadd double %684, %693
%695 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %694, ptr %695, align 16
%696 = load double, ptr %39, align 8
%697 = load double, ptr %38, align 8
%698 = load double, ptr %39, align 8
%699 = fsub double %697, %698
%700 = load double, ptr %22, align 8
%701 = fmul double %699, %700
%702 = load double, ptr %22, align 8
%703 = load double, ptr %21, align 8
%704 = fsub double %702, %703
%705 = fdiv double %701, %704
%706 = fadd double %696, %705
%707 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %706, ptr %707, align 8
br label %838
708: ; preds = %680
%709 = load double, ptr %30, align 8
%710 = fcmp ogt double %709, 0.000000e+00
br i1 %710, label %711, label %736
711: ; preds = %708
%712 = load double, ptr %38, align 8
%713 = load double, ptr %37, align 8
%714 = load double, ptr %38, align 8
%715 = fsub double %713, %714
%716 = load double, ptr %21, align 8
%717 = fmul double %715, %716
%718 = load double, ptr %21, align 8
%719 = load double, ptr %20, align 8
%720 = fsub double %718, %719
%721 = fdiv double %717, %720
%722 = fadd double %712, %721
%723 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %722, ptr %723, align 16
%724 = load double, ptr %38, align 8
%725 = load double, ptr %39, align 8
%726 = load double, ptr %38, align 8
%727 = fsub double %725, %726
%728 = load double, ptr %21, align 8
%729 = fmul double %727, %728
%730 = load double, ptr %21, align 8
%731 = load double, ptr %22, align 8
%732 = fsub double %730, %731
%733 = fdiv double %729, %732
%734 = fadd double %724, %733
%735 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %734, ptr %735, align 8
br label %837
736: ; preds = %708
%737 = load double, ptr %21, align 8
%738 = load double, ptr %22, align 8
%739 = fmul double %737, %738
%740 = fcmp ogt double %739, 0.000000e+00
br i1 %740, label %744, label %741
741: ; preds = %736
%742 = load double, ptr %20, align 8
%743 = fcmp une double %742, 0.000000e+00
br i1 %743, label %744, label %769
744: ; preds = %741, %736
%745 = load double, ptr %37, align 8
%746 = load double, ptr %38, align 8
%747 = load double, ptr %37, align 8
%748 = fsub double %746, %747
%749 = load double, ptr %20, align 8
%750 = fmul double %748, %749
%751 = load double, ptr %20, align 8
%752 = load double, ptr %21, align 8
%753 = fsub double %751, %752
%754 = fdiv double %750, %753
%755 = fadd double %745, %754
%756 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %755, ptr %756, align 16
%757 = load double, ptr %37, align 8
%758 = load double, ptr %39, align 8
%759 = load double, ptr %37, align 8
%760 = fsub double %758, %759
%761 = load double, ptr %20, align 8
%762 = fmul double %760, %761
%763 = load double, ptr %20, align 8
%764 = load double, ptr %22, align 8
%765 = fsub double %763, %764
%766 = fdiv double %762, %765
%767 = fadd double %757, %766
%768 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %767, ptr %768, align 8
br label %836
769: ; preds = %741
%770 = load double, ptr %21, align 8
%771 = fcmp une double %770, 0.000000e+00
br i1 %771, label %772, label %797
772: ; preds = %769
%773 = load double, ptr %38, align 8
%774 = load double, ptr %37, align 8
%775 = load double, ptr %38, align 8
%776 = fsub double %774, %775
%777 = load double, ptr %21, align 8
%778 = fmul double %776, %777
%779 = load double, ptr %21, align 8
%780 = load double, ptr %20, align 8
%781 = fsub double %779, %780
%782 = fdiv double %778, %781
%783 = fadd double %773, %782
%784 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %783, ptr %784, align 16
%785 = load double, ptr %38, align 8
%786 = load double, ptr %39, align 8
%787 = load double, ptr %38, align 8
%788 = fsub double %786, %787
%789 = load double, ptr %21, align 8
%790 = fmul double %788, %789
%791 = load double, ptr %21, align 8
%792 = load double, ptr %22, align 8
%793 = fsub double %791, %792
%794 = fdiv double %790, %793
%795 = fadd double %785, %794
%796 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %795, ptr %796, align 8
br label %835
797: ; preds = %769
%798 = load double, ptr %22, align 8
%799 = fcmp une double %798, 0.000000e+00
br i1 %799, label %800, label %825
800: ; preds = %797
%801 = load double, ptr %39, align 8
%802 = load double, ptr %37, align 8
%803 = load double, ptr %39, align 8
%804 = fsub double %802, %803
%805 = load double, ptr %22, align 8
%806 = fmul double %804, %805
%807 = load double, ptr %22, align 8
%808 = load double, ptr %20, align 8
%809 = fsub double %807, %808
%810 = fdiv double %806, %809
%811 = fadd double %801, %810
%812 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %811, ptr %812, align 16
%813 = load double, ptr %39, align 8
%814 = load double, ptr %38, align 8
%815 = load double, ptr %39, align 8
%816 = fsub double %814, %815
%817 = load double, ptr %22, align 8
%818 = fmul double %816, %817
%819 = load double, ptr %22, align 8
%820 = load double, ptr %21, align 8
%821 = fsub double %819, %820
%822 = fdiv double %818, %821
%823 = fadd double %813, %822
%824 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %823, ptr %824, align 8
br label %834
825: ; preds = %797
%826 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%827 = load ptr, ptr %8, align 8
%828 = load ptr, ptr %9, align 8
%829 = load ptr, ptr %10, align 8
%830 = load ptr, ptr %11, align 8
%831 = load ptr, ptr %12, align 8
%832 = load ptr, ptr %13, align 8
%833 = call i32 @coplanar_tri_tri(ptr noundef %826, ptr noundef %827, ptr noundef %828, ptr noundef %829, ptr noundef %830, ptr noundef %831, ptr noundef %832)
store i32 %833, ptr %7, align 4
br label %880
834: ; preds = %800
br label %835
835: ; preds = %834, %772
br label %836
836: ; preds = %835, %744
br label %837
837: ; preds = %836, %711
br label %838
838: ; preds = %837, %683
%839 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
%840 = load double, ptr %839, align 16
%841 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
%842 = load double, ptr %841, align 8
%843 = fcmp ogt double %840, %842
br i1 %843, label %844, label %852
844: ; preds = %838
%845 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
%846 = load double, ptr %845, align 16
store double %846, ptr %43, align 8
%847 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
%848 = load double, ptr %847, align 8
%849 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
store double %848, ptr %849, align 16
%850 = load double, ptr %43, align 8
%851 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
store double %850, ptr %851, align 8
br label %852
852: ; preds = %844, %838
%853 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%854 = load double, ptr %853, align 16
%855 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
%856 = load double, ptr %855, align 8
%857 = fcmp ogt double %854, %856
br i1 %857, label %858, label %866
858: ; preds = %852
%859 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%860 = load double, ptr %859, align 16
store double %860, ptr %44, align 8
%861 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
%862 = load double, ptr %861, align 8
%863 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
store double %862, ptr %863, align 16
%864 = load double, ptr %44, align 8
%865 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
store double %864, ptr %865, align 8
br label %866
866: ; preds = %858, %852
%867 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 1
%868 = load double, ptr %867, align 8
%869 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%870 = load double, ptr %869, align 16
%871 = fcmp olt double %868, %870
br i1 %871, label %878, label %872
872: ; preds = %866
%873 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 1
%874 = load double, ptr %873, align 8
%875 = getelementptr inbounds [2 x double], ptr %27, i64 0, i64 0
%876 = load double, ptr %875, align 16
%877 = fcmp olt double %874, %876
br i1 %877, label %878, label %879
878: ; preds = %872, %866
store i32 0, ptr %7, align 4
br label %880
879: ; preds = %872
store i32 1, ptr %7, align 4
br label %880
880: ; preds = %879, %878, %825, %667, %431, %237
%881 = load i32, ptr %7, align 4
ret i32 %881
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @fabs(double noundef) #2
declare i32 @coplanar_tri_tri(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzsiq9xgx.c'
source_filename = "/tmp/tmpzsiq9xgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal_error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @puts(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @puts(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzsiq9xgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal_error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @puts(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @puts(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ug3raz5.c'
source_filename = "/tmp/tmp5ug3raz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ug3raz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqmkmqbro.c'
source_filename = "/tmp/tmpqmkmqbro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqmkmqbro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8avezkl_.c'
source_filename = "/tmp/tmp8avezkl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ccor2(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
%17 = load double, ptr %7, align 8
%18 = load double, ptr %10, align 8
%19 = fsub double %17, %18
%20 = load double, ptr %9, align 8
%21 = fdiv double %19, %20
store double %21, ptr %12, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %10, align 8
%24 = fsub double %22, %23
%25 = load double, ptr %11, align 8
%26 = fdiv double %24, %25
store double %26, ptr %13, align 8
%27 = load double, ptr %12, align 8
%28 = fcmp ogt double %27, 7.000000e+01
br i1 %28, label %32, label %29
29: ; preds = %5
%30 = load double, ptr %13, align 8
%31 = fcmp ogt double %30, 7.000000e+01
br i1 %31, label %32, label %34
32: ; preds = %29, %5
%33 = call double @exp(double noundef 0.000000e+00) #3
store double %33, ptr %6, align 8
br label %56
34: ; preds = %29
%35 = load double, ptr %12, align 8
%36 = fcmp olt double %35, -7.000000e+01
br i1 %36, label %37, label %43
37: ; preds = %34
%38 = load double, ptr %13, align 8
%39 = fcmp olt double %38, -7.000000e+01
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load double, ptr %8, align 8
%42 = call double @exp(double noundef %41) #3
store double %42, ptr %6, align 8
br label %56
43: ; preds = %37, %34
%44 = load double, ptr %12, align 8
%45 = call double @exp(double noundef %44) #3
store double %45, ptr %14, align 8
%46 = load double, ptr %13, align 8
%47 = call double @exp(double noundef %46) #3
store double %47, ptr %15, align 8
%48 = load double, ptr %8, align 8
%49 = load double, ptr %14, align 8
%50 = load double, ptr %15, align 8
%51 = fadd double %49, %50
%52 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %51, double 1.000000e+00)
%53 = fdiv double %48, %52
store double %53, ptr %16, align 8
%54 = load double, ptr %16, align 8
%55 = call double @exp(double noundef %54) #3
store double %55, ptr %6, align 8
br label %56
56: ; preds = %43, %40, %32
%57 = load double, ptr %6, align 8
ret double %57
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8avezkl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ccor2(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
%17 = load double, ptr %7, align 8
%18 = load double, ptr %10, align 8
%19 = fsub double %17, %18
%20 = load double, ptr %9, align 8
%21 = fdiv double %19, %20
store double %21, ptr %12, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %10, align 8
%24 = fsub double %22, %23
%25 = load double, ptr %11, align 8
%26 = fdiv double %24, %25
store double %26, ptr %13, align 8
%27 = load double, ptr %12, align 8
%28 = fcmp ogt double %27, 7.000000e+01
br i1 %28, label %32, label %29
29: ; preds = %5
%30 = load double, ptr %13, align 8
%31 = fcmp ogt double %30, 7.000000e+01
br i1 %31, label %32, label %34
32: ; preds = %29, %5
%33 = call double @exp(double noundef 0.000000e+00) #3
store double %33, ptr %6, align 8
br label %56
34: ; preds = %29
%35 = load double, ptr %12, align 8
%36 = fcmp olt double %35, -7.000000e+01
br i1 %36, label %37, label %43
37: ; preds = %34
%38 = load double, ptr %13, align 8
%39 = fcmp olt double %38, -7.000000e+01
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load double, ptr %8, align 8
%42 = call double @exp(double noundef %41) #3
store double %42, ptr %6, align 8
br label %56
43: ; preds = %37, %34
%44 = load double, ptr %12, align 8
%45 = call double @exp(double noundef %44) #3
store double %45, ptr %14, align 8
%46 = load double, ptr %13, align 8
%47 = call double @exp(double noundef %46) #3
store double %47, ptr %15, align 8
%48 = load double, ptr %8, align 8
%49 = load double, ptr %14, align 8
%50 = load double, ptr %15, align 8
%51 = fadd double %49, %50
%52 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %51, double 1.000000e+00)
%53 = fdiv double %48, %52
store double %53, ptr %16, align 8
%54 = load double, ptr %16, align 8
%55 = call double @exp(double noundef %54) #3
store double %55, ptr %6, align 8
br label %56
56: ; preds = %43, %40, %32
%57 = load double, ptr %6, align 8
ret double %57
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd0zae9d1.c'
source_filename = "/tmp/tmpd0zae9d1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter a base number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Enter an exponent: 4\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Answer = %lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %4, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %9
9: ; preds = %12, %0
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = load i64, ptr %4, align 8
%16 = mul nsw i64 %15, %14
store i64 %16, ptr %4, align 8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %3, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
%20 = load i64, ptr %4, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %20)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0zae9d1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter a base number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Enter an exponent: 4\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Answer = %lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %4, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = load i64, ptr %4, align 8
%15 = mul nsw i64 %14, %13
store i64 %15, ptr %4, align 8
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %20
20: ; preds = %._crit_edge, %0
%21 = load i64, ptr %4, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnur_zpgq.c'
source_filename = "/tmp/tmpnur_zpgq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cm_nfree_1d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnur_zpgq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cm_nfree_1d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphea0q9_a.c'
source_filename = "/tmp/tmphea0q9_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpdateFileNidxHeader(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @rewind(ptr noundef %7)
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fwrite(ptr noundef %9, i32 noundef 4, i32 noundef 1, ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = call i32 @perror(ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %3
ret void
}
declare i32 @rewind(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphea0q9_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpdateFileNidxHeader(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @rewind(ptr noundef %7)
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fwrite(ptr noundef %9, i32 noundef 4, i32 noundef 1, ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = call i32 @perror(ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %3
ret void
}
declare i32 @rewind(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3le1djwt.c'
source_filename = "/tmp/tmp3le1djwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @FLEXRAM_IRQHandler() #0 {
%1 = call i32 (...) @FLEXRAM_DriverIRQHandler()
ret void
}
declare i32 @FLEXRAM_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3le1djwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @FLEXRAM_IRQHandler() #0 {
%1 = call i32 (...) @FLEXRAM_DriverIRQHandler()
ret void
}
declare i32 @FLEXRAM_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvvxnu6nf.c'
source_filename = "/tmp/tmpvvxnu6nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [12 x i8], align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @data(ptr noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @data(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvxnu6nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [12 x i8], align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @data(ptr noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @data(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnabnfwsb.c'
source_filename = "/tmp/tmpnabnfwsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CG_DrawSmallString(i32 noundef %0, i32 noundef %1, ptr noundef %2, float noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca [4 x float], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store float %3, ptr %8, align 4
%10 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 2
store float 1.000000e+00, ptr %10, align 8
%11 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 1
store float 1.000000e+00, ptr %11, align 4
%12 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
store float 1.000000e+00, ptr %12, align 16
%13 = load float, ptr %8, align 4
%14 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 3
store float %13, ptr %14, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %7, align 8
%19 = call i32 @UI_Text_Paint(i32 noundef %15, i32 noundef %16, float noundef 0x3FD3333340000000, ptr noundef %17, ptr noundef %18, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @UI_Text_Paint(i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnabnfwsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CG_DrawSmallString(i32 noundef %0, i32 noundef %1, ptr noundef %2, float noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca [4 x float], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store float %3, ptr %8, align 4
%10 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 2
store float 1.000000e+00, ptr %10, align 8
%11 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 1
store float 1.000000e+00, ptr %11, align 4
%12 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
store float 1.000000e+00, ptr %12, align 16
%13 = load float, ptr %8, align 4
%14 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 3
store float %13, ptr %14, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %7, align 8
%19 = call i32 @UI_Text_Paint(i32 noundef %15, i32 noundef %16, float noundef 0x3FD3333340000000, ptr noundef %17, ptr noundef %18, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @UI_Text_Paint(i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuclxs704.c'
source_filename = "/tmp/tmpuclxs704.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuclxs704.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyc5natod.c'
source_filename = "/tmp/tmpyc5natod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @euler_problem_8()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @euler_problem_8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyc5natod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @euler_problem_8()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @euler_problem_8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvnpu0yd7.c'
source_filename = "/tmp/tmpvnpu0yd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MemFree(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @munmap(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @munmap(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvnpu0yd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MemFree(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @munmap(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @munmap(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkx3n3k8a.c'
source_filename = "/tmp/tmpkx3n3k8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg_i() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkx3n3k8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg_i() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbnko2p2q.c'
source_filename = "/tmp/tmpbnko2p2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [100005 x i8], align 16
store i32 0, ptr %1, align 4
%10 = call i32 (...) @rin()
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %62, %0
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %15, label %65
15: ; preds = %11
%16 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %59, %15
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %62
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 60
br i1 %30, label %31, label %40
31: ; preds = %24
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
store i32 0, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp sgt i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %31
%38 = load i32, ptr %7, align 4
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %37, %31
br label %58
40: ; preds = %24
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 62
br i1 %46, label %47, label %57
47: ; preds = %40
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
store i32 1, ptr %7, align 4
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp sge i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %56
56: ; preds = %53, %47
br label %57
57: ; preds = %56, %40
br label %58
58: ; preds = %57, %39
br label %59
59: ; preds = %58
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %3, align 4
br label %20, !llvm.loop !6
62: ; preds = %20
%63 = load i32, ptr %5, align 4
%64 = call i32 @printf(ptr noundef @.str.1, i32 noundef %63)
br label %11, !llvm.loop !8
65: ; preds = %11
ret i32 0
}
declare i32 @rin(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbnko2p2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [100005 x i8], align 16
store i32 0, ptr %1, align 4
%10 = call i32 (...) @rin()
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %.lr.ph2, label %69
.lr.ph2: ; preds = %0
br label %14
14: ; preds = %.lr.ph2, %63
%15 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 0
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15)
%17 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 0
%18 = call i32 @strlen(ptr noundef %17)
store i32 %18, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %63
.lr.ph: ; preds = %14
br label %22
22: ; preds = %.lr.ph, %57
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 60
br i1 %28, label %29, label %38
29: ; preds = %22
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
store i32 0, ptr %8, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = load i32, ptr %7, align 4
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %35, %29
br label %56
38: ; preds = %22
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 62
br i1 %44, label %45, label %55
45: ; preds = %38
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
store i32 1, ptr %7, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp sge i32 %48, %49
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %54
54: ; preds = %51, %45
br label %55
55: ; preds = %54, %38
br label %56
56: ; preds = %55, %37
br label %57
57: ; preds = %56
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = load i32, ptr %4, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %14
%64 = load i32, ptr %5, align 4
%65 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64)
%66 = load i32, ptr %2, align 4
%67 = add nsw i32 %66, -1
store i32 %67, ptr %2, align 4
%68 = icmp ne i32 %66, 0
br i1 %68, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @rin(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpelw8royq.c'
source_filename = "/tmp/tmpelw8royq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"This is in main, VERSION=%s, min version=%d, major version=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1, i32 noundef 1)
%7 = call i32 (...) @help()
br label %8
8: ; preds = %11, %2
%9 = call i64 (...) @kbd()
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
br label %8, !llvm.loop !6
12: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @help(...) #1
declare i64 @kbd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpelw8royq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"This is in main, VERSION=%s, min version=%d, major version=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1, i32 noundef 1)
%7 = call i32 (...) @help()
br label %8
8: ; preds = %8, %2
%9 = call i64 (...) @kbd()
%10 = icmp ne i64 %9, 0
br i1 %10, label %8, label %11, !llvm.loop !6
11: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @help(...) #1
declare i64 @kbd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptn_aio7b.c'
source_filename = "/tmp/tmptn_aio7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"mu = %12.6f\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"sigma = %12.6f\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"rho = %12.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stats(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fileno(ptr noundef %15)
%17 = call i32 @fstat(i32 noundef %16, ptr noundef %3)
%18 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %1
%22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = mul nsw i32 2, %23
%25 = sext i32 %24 to i64
%26 = udiv i64 %25, 8
%27 = trunc i64 %26 to i32
store i32 %27, ptr %5, align 4
br label %29
28: ; preds = %1
store i32 10000, ptr %5, align 4
br label %29
29: ; preds = %28, %21
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call i64 @malloc(i32 noundef %33)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %4, align 8
store i32 0, ptr %7, align 4
br label %36
36: ; preds = %73, %29
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %76
40: ; preds = %36
%41 = load ptr, ptr %2, align 8
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = call i32 @fscanf(ptr noundef %41, ptr noundef @.str, ptr noundef %45)
%47 = load ptr, ptr %2, align 8
%48 = call i64 @feof(ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %40
br label %76
51: ; preds = %40
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
%61 = load double, ptr %60, align 8
%62 = load double, ptr %10, align 8
%63 = call double @llvm.fmuladd.f64(double %56, double %61, double %62)
store double %63, ptr %10, align 8
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
%68 = load double, ptr %67, align 8
%69 = load double, ptr %11, align 8
%70 = fadd double %69, %68
store double %70, ptr %11, align 8
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %6, align 4
br label %73
73: ; preds = %51
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
br label %36, !llvm.loop !6
76: ; preds = %50, %36
%77 = load double, ptr %11, align 8
%78 = load i32, ptr %6, align 4
%79 = sitofp i32 %78 to double
%80 = fdiv double %77, %79
store double %80, ptr %8, align 8
%81 = load double, ptr %10, align 8
%82 = load i32, ptr %6, align 4
%83 = sitofp i32 %82 to double
%84 = load double, ptr %8, align 8
%85 = fmul double %83, %84
%86 = load double, ptr %8, align 8
%87 = fneg double %85
%88 = call double @llvm.fmuladd.f64(double %87, double %86, double %81)
%89 = load i32, ptr %6, align 4
%90 = sub nsw i32 %89, 1
%91 = sitofp i32 %90 to double
%92 = fdiv double %88, %91
%93 = call double @sqrt(double noundef %92) #4
store double %93, ptr %9, align 8
store i32 1, ptr %7, align 4
br label %94
94: ; preds = %134, %76
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %6, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %137
98: ; preds = %94
%99 = load ptr, ptr %4, align 8
%100 = load i32, ptr %7, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %99, i64 %101
%103 = load double, ptr %102, align 8
%104 = load double, ptr %8, align 8
%105 = fsub double %103, %104
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %7, align 4
%108 = sub nsw i32 %107, 1
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %106, i64 %109
%111 = load double, ptr %110, align 8
%112 = load double, ptr %8, align 8
%113 = fsub double %111, %112
%114 = load double, ptr %12, align 8
%115 = call double @llvm.fmuladd.f64(double %105, double %113, double %114)
store double %115, ptr %12, align 8
%116 = load ptr, ptr %4, align 8
%117 = load i32, ptr %7, align 4
%118 = sub nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %116, i64 %119
%121 = load double, ptr %120, align 8
%122 = load double, ptr %8, align 8
%123 = fsub double %121, %122
%124 = load ptr, ptr %4, align 8
%125 = load i32, ptr %7, align 4
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %124, i64 %127
%129 = load double, ptr %128, align 8
%130 = load double, ptr %8, align 8
%131 = fsub double %129, %130
%132 = load double, ptr %14, align 8
%133 = call double @llvm.fmuladd.f64(double %123, double %131, double %132)
store double %133, ptr %14, align 8
br label %134
134: ; preds = %98
%135 = load i32, ptr %7, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %7, align 4
br label %94, !llvm.loop !8
137: ; preds = %94
%138 = load double, ptr %12, align 8
%139 = load double, ptr %14, align 8
%140 = fdiv double %138, %139
store double %140, ptr %13, align 8
%141 = load double, ptr %8, align 8
%142 = call i32 @printf(ptr noundef @.str.1, double noundef %141)
%143 = load double, ptr %9, align 8
%144 = call i32 @printf(ptr noundef @.str.2, double noundef %143)
%145 = load double, ptr %13, align 8
%146 = call i32 @printf(ptr noundef @.str.3, double noundef %145)
ret void
}
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptn_aio7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"mu = %12.6f\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"sigma = %12.6f\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"rho = %12.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stats(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fileno(ptr noundef %15)
%17 = call i32 @fstat(i32 noundef %16, ptr noundef %3)
%18 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %1
%22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = mul nsw i32 2, %23
%25 = sext i32 %24 to i64
%26 = udiv i64 %25, 8
%27 = trunc i64 %26 to i32
store i32 %27, ptr %5, align 4
br label %29
28: ; preds = %1
store i32 10000, ptr %5, align 4
br label %29
29: ; preds = %28, %21
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call i64 @malloc(i32 noundef %33)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %4, align 8
store i32 0, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %29
br label %39
39: ; preds = %.lr.ph, %72
%40 = load ptr, ptr %2, align 8
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
%45 = call i32 @fscanf(ptr noundef %40, ptr noundef @.str, ptr noundef %44)
%46 = load ptr, ptr %2, align 8
%47 = call i64 @feof(ptr noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %39
br label %78
50: ; preds = %39
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
%61 = load double, ptr %10, align 8
%62 = call double @llvm.fmuladd.f64(double %55, double %60, double %61)
store double %62, ptr %10, align 8
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load double, ptr %66, align 8
%68 = load double, ptr %11, align 8
%69 = fadd double %68, %67
store double %69, ptr %11, align 8
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
br label %72
72: ; preds = %50
%73 = load i32, ptr %7, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %7, align 4
%75 = load i32, ptr %7, align 4
%76 = load i32, ptr %5, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %39, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %72
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %29
br label %78
78: ; preds = %.loopexit, %49
%79 = load double, ptr %11, align 8
%80 = load i32, ptr %6, align 4
%81 = sitofp i32 %80 to double
%82 = fdiv double %79, %81
store double %82, ptr %8, align 8
%83 = load double, ptr %10, align 8
%84 = load i32, ptr %6, align 4
%85 = sitofp i32 %84 to double
%86 = load double, ptr %8, align 8
%87 = fmul double %85, %86
%88 = load double, ptr %8, align 8
%89 = fneg double %87
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load i32, ptr %6, align 4
%92 = sub nsw i32 %91, 1
%93 = sitofp i32 %92 to double
%94 = fdiv double %90, %93
%95 = call double @sqrt(double noundef %94) #4
store double %95, ptr %9, align 8
store i32 1, ptr %7, align 4
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %.lr.ph1, label %141
.lr.ph1: ; preds = %78
br label %99
99: ; preds = %.lr.ph1, %135
%100 = load ptr, ptr %4, align 8
%101 = load i32, ptr %7, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
%104 = load double, ptr %103, align 8
%105 = load double, ptr %8, align 8
%106 = fsub double %104, %105
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %7, align 4
%109 = sub nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %107, i64 %110
%112 = load double, ptr %111, align 8
%113 = load double, ptr %8, align 8
%114 = fsub double %112, %113
%115 = load double, ptr %12, align 8
%116 = call double @llvm.fmuladd.f64(double %106, double %114, double %115)
store double %116, ptr %12, align 8
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %7, align 4
%119 = sub nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %117, i64 %120
%122 = load double, ptr %121, align 8
%123 = load double, ptr %8, align 8
%124 = fsub double %122, %123
%125 = load ptr, ptr %4, align 8
%126 = load i32, ptr %7, align 4
%127 = sub nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %125, i64 %128
%130 = load double, ptr %129, align 8
%131 = load double, ptr %8, align 8
%132 = fsub double %130, %131
%133 = load double, ptr %14, align 8
%134 = call double @llvm.fmuladd.f64(double %124, double %132, double %133)
store double %134, ptr %14, align 8
br label %135
135: ; preds = %99
%136 = load i32, ptr %7, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %7, align 4
%138 = load i32, ptr %7, align 4
%139 = load i32, ptr %6, align 4
%140 = icmp slt i32 %138, %139
br i1 %140, label %99, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %135
br label %141
141: ; preds = %._crit_edge, %78
%142 = load double, ptr %12, align 8
%143 = load double, ptr %14, align 8
%144 = fdiv double %142, %143
store double %144, ptr %13, align 8
%145 = load double, ptr %8, align 8
%146 = call i32 @printf(ptr noundef @.str.1, double noundef %145)
%147 = load double, ptr %9, align 8
%148 = call i32 @printf(ptr noundef @.str.2, double noundef %147)
%149 = load double, ptr %13, align 8
%150 = call i32 @printf(ptr noundef @.str.3, double noundef %149)
ret void
}
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqp7nr0_r.c'
source_filename = "/tmp/tmpqp7nr0_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pixel_convert_8u_yuv422_to_8u_gray(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %17
17: ; preds = %53, %6
%18 = load i32, ptr %13, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %56
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %8, align 4
%25 = mul nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %22, i64 %26
store ptr %27, ptr %15, align 8
%28 = load ptr, ptr %11, align 8
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %12, align 4
%31 = mul nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %28, i64 %32
store ptr %33, ptr %16, align 8
store i32 0, ptr %14, align 4
br label %34
34: ; preds = %49, %21
%35 = load i32, ptr %14, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %52
38: ; preds = %34
%39 = load ptr, ptr %16, align 8
%40 = load i32, ptr %14, align 4
%41 = mul nsw i32 %40, 2
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %15, align 8
%46 = load i32, ptr %14, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
store i32 %44, ptr %48, align 4
br label %49
49: ; preds = %38
%50 = load i32, ptr %14, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %14, align 4
br label %34, !llvm.loop !6
52: ; preds = %34
br label %53
53: ; preds = %52
%54 = load i32, ptr %13, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %13, align 4
br label %17, !llvm.loop !8
56: ; preds = %17
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqp7nr0_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pixel_convert_8u_yuv422_to_8u_gray(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %10, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph2, label %60
.lr.ph2: ; preds = %6
br label %20
20: ; preds = %.lr.ph2, %54
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %21, i64 %25
store ptr %26, ptr %15, align 8
%27 = load ptr, ptr %11, align 8
%28 = load i32, ptr %13, align 4
%29 = load i32, ptr %12, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %27, i64 %31
store ptr %32, ptr %16, align 8
store i32 0, ptr %14, align 4
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %53
.lr.ph: ; preds = %20
br label %36
36: ; preds = %.lr.ph, %47
%37 = load ptr, ptr %16, align 8
%38 = load i32, ptr %14, align 4
%39 = mul nsw i32 %38, 2
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %15, align 8
%44 = load i32, ptr %14, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
br label %47
47: ; preds = %36
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %20
br label %54
54: ; preds = %53
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %6
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9i75yk8e.c'
source_filename = "/tmp/tmp9i75yk8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyPressedEvent_x(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9i75yk8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyPressedEvent_x(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3mtyv96u.c'
source_filename = "/tmp/tmp3mtyv96u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"hex: %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"char %d: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i32 28, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %24, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = ashr i32 %12, %13
%15 = and i32 %14, 15
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [17 x i8], ptr @.str.1, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %5, align 1
%20 = load i32, ptr %3, align 4
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %22)
br label %24
24: ; preds = %11
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 4
store i32 %26, ptr %3, align 4
br label %8, !llvm.loop !6
27: ; preds = %8
%28 = load i32, ptr %2, align 4
%29 = call i32 @hex2(i32 noundef %28)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @hex2(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3mtyv96u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"hex: %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"char %d: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i32 28, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %23
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = ashr i32 %11, %12
%14 = and i32 %13, 15
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [17 x i8], ptr @.str.1, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %5, align 1
%19 = load i32, ptr %3, align 4
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %21)
br label %23
23: ; preds = %10
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %24, 4
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp sge i32 %26, 0
br i1 %27, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %1
%29 = load i32, ptr %2, align 4
%30 = call i32 @hex2(i32 noundef %29)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @hex2(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwqo0gs6b.c'
source_filename = "/tmp/tmpwqo0gs6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XImage_blue_mask(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwqo0gs6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XImage_blue_mask(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt3yu1z94.c'
source_filename = "/tmp/tmpt3yu1z94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gen_35() #0 {
%1 = call i32 @handle_35(i32 noundef 0)
ret i32 0
}
declare i32 @handle_35(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt3yu1z94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gen_35() #0 {
%1 = call i32 @handle_35(i32 noundef 0)
ret i32 0
}
declare i32 @handle_35(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzjdyx5vj.c'
source_filename = "/tmp/tmpzjdyx5vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"1.locker\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @edit_locker1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = call i32 @creat(ptr noundef @.str, i32 noundef 438)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @close(i32 noundef %8)
br label %12
10: ; preds = %1
%11 = call i32 @remove(ptr noundef @.str)
br label %12
12: ; preds = %10, %6
ret void
}
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzjdyx5vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"1.locker\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @edit_locker1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = call i32 @creat(ptr noundef @.str, i32 noundef 438)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @close(i32 noundef %8)
br label %12
10: ; preds = %1
%11 = call i32 @remove(ptr noundef @.str)
br label %12
12: ; preds = %10, %6
ret void
}
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuak12u6i.c'
source_filename = "/tmp/tmpuak12u6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @net_interface_event_commit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @net_interface_obus_event(ptr noundef %3)
%5 = call i32 @obus_event_commit(i32 noundef %4)
ret i32 %5
}
declare i32 @obus_event_commit(i32 noundef) #1
declare i32 @net_interface_obus_event(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuak12u6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @net_interface_event_commit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @net_interface_obus_event(ptr noundef %3)
%5 = call i32 @obus_event_commit(i32 noundef %4)
ret i32 %5
}
declare i32 @obus_event_commit(i32 noundef) #1
declare i32 @net_interface_obus_event(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppg0th91x.c'
source_filename = "/tmp/tmppg0th91x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"ldd \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_immediate() #0 {
%1 = call i32 @output_with_tab(ptr noundef @.str)
ret void
}
declare i32 @output_with_tab(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppg0th91x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"ldd \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_immediate() #0 {
%1 = call i32 @output_with_tab(ptr noundef @.str)
ret void
}
declare i32 @output_with_tab(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0bnq0lq8.c'
source_filename = "/tmp/tmp0bnq0lq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"./prog -c connaddr -C connport\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @errx(ptr noundef @.str)
ret void
}
declare i32 @errx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0bnq0lq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"./prog -c connaddr -C connport\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @errx(ptr noundef @.str)
ret void
}
declare i32 @errx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3c67rws5.c'
source_filename = "/tmp/tmp3c67rws5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"\0AEnter the Length of Rectangle : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"\0AEnter the Breadth of Rectangle : \00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"\0AArea of Rectangle : %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3c67rws5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"\0AEnter the Length of Rectangle : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"\0AEnter the Breadth of Rectangle : \00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"\0AArea of Rectangle : %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpleyieodt.c'
source_filename = "/tmp/tmpleyieodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpleyieodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp37p1gl8z.c'
source_filename = "/tmp/tmp37p1gl8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call float @pow(double noundef 1.000000e+01, double noundef 3.800000e+01)
store float %3, ptr %2, align 4
ret i32 0
}
declare float @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp37p1gl8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call float @pow(double noundef 1.000000e+01, double noundef 3.800000e+01)
store float %3, ptr %2, align 4
ret i32 0
}
declare float @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpicdlkuk4.c'
source_filename = "/tmp/tmpicdlkuk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpicdlkuk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpydg1op6d.c'
source_filename = "/tmp/tmpydg1op6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"voer getal in: \00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"\0Ade som van de getallen is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store ptr %4, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %16, %0
%9 = call signext i8 (...) @getchar()
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %11
store i8 %9, ptr %12, align 1
%13 = sext i8 %9 to i32
%14 = icmp ne i32 %13, 10
br i1 %14, label %15, label %19
15: ; preds = %8
br label %16
16: ; preds = %15
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %21
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @cijfersom(i32 noundef %25, ptr noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
%32 = load i32, ptr %1, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @cijfersom(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydg1op6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"voer getal in: \00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"\0Ade som van de getallen is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store ptr %4, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%8 = call signext i8 (...) @getchar()
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %10
store i8 %8, ptr %11, align 1
%12 = sext i8 %8 to i32
%13 = icmp ne i32 %12, 10
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %15
br label %15
15: ; preds = %14
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = call signext i8 (...) @getchar()
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %20
store i8 %18, ptr %21, align 1
%22 = sext i8 %18 to i32
%23 = icmp ne i32 %22, 10
br i1 %23, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %26
store i8 0, ptr %27, align 1
%28 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @cijfersom(i32 noundef %30, ptr noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %34, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @cijfersom(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0fus8xko.c'
source_filename = "/tmp/tmp0fus8xko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @conv_argb8888_bgr24(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%20 = load ptr, ptr %8, align 8
store ptr %20, ptr %13, align 8
%21 = load ptr, ptr %7, align 8
store ptr %21, ptr %14, align 8
%22 = load i32, ptr %9, align 4
%23 = sub nsw i32 %22, 15
store i32 %23, ptr %15, align 4
store i32 0, ptr %16, align 4
br label %24
24: ; preds = %99, %6
%25 = load i32, ptr %16, align 4
%26 = load i32, ptr %10, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %111
28: ; preds = %24
%29 = load ptr, ptr %14, align 8
store ptr %29, ptr %17, align 8
store i32 0, ptr %18, align 4
br label %30
30: ; preds = %61, %28
%31 = load i32, ptr %18, align 4
%32 = load i32, ptr %15, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %66
34: ; preds = %30
%35 = load ptr, ptr %17, align 8
%36 = load ptr, ptr %13, align 8
%37 = load i32, ptr %18, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = getelementptr inbounds i32, ptr %39, i64 0
%41 = call i32 @_mm_loadu_si128(ptr noundef %40)
%42 = load ptr, ptr %13, align 8
%43 = load i32, ptr %18, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = getelementptr inbounds i32, ptr %45, i64 4
%47 = call i32 @_mm_loadu_si128(ptr noundef %46)
%48 = load ptr, ptr %13, align 8
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = getelementptr inbounds i32, ptr %51, i64 8
%53 = call i32 @_mm_loadu_si128(ptr noundef %52)
%54 = load ptr, ptr %13, align 8
%55 = load i32, ptr %18, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = getelementptr inbounds i32, ptr %57, i64 12
%59 = call i32 @_mm_loadu_si128(ptr noundef %58)
%60 = call i32 @store_bgr24_sse2(ptr noundef %35, i32 noundef %41, i32 noundef %47, i32 noundef %53, i32 noundef %59)
br label %61
61: ; preds = %34
%62 = load i32, ptr %18, align 4
%63 = add nsw i32 %62, 16
store i32 %63, ptr %18, align 4
%64 = load ptr, ptr %17, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 48
store ptr %65, ptr %17, align 8
br label %30, !llvm.loop !6
66: ; preds = %30
br label %67
67: ; preds = %95, %66
%68 = load i32, ptr %18, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %98
71: ; preds = %67
%72 = load ptr, ptr %13, align 8
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
store i32 %76, ptr %19, align 4
%77 = load i32, ptr %19, align 4
%78 = ashr i32 %77, 0
%79 = sext i32 %78 to i64
%80 = inttoptr i64 %79 to ptr
%81 = load ptr, ptr %17, align 8
%82 = getelementptr inbounds ptr, ptr %81, i32 1
store ptr %82, ptr %17, align 8
store ptr %80, ptr %81, align 8
%83 = load i32, ptr %19, align 4
%84 = ashr i32 %83, 8
%85 = sext i32 %84 to i64
%86 = inttoptr i64 %85 to ptr
%87 = load ptr, ptr %17, align 8
%88 = getelementptr inbounds ptr, ptr %87, i32 1
store ptr %88, ptr %17, align 8
store ptr %86, ptr %87, align 8
%89 = load i32, ptr %19, align 4
%90 = ashr i32 %89, 16
%91 = sext i32 %90 to i64
%92 = inttoptr i64 %91 to ptr
%93 = load ptr, ptr %17, align 8
%94 = getelementptr inbounds ptr, ptr %93, i32 1
store ptr %94, ptr %17, align 8
store ptr %92, ptr %93, align 8
br label %95
95: ; preds = %71
%96 = load i32, ptr %18, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %18, align 4
br label %67, !llvm.loop !8
98: ; preds = %67
br label %99
99: ; preds = %98
%100 = load i32, ptr %16, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %16, align 4
%102 = load i32, ptr %11, align 4
%103 = load ptr, ptr %14, align 8
%104 = sext i32 %102 to i64
%105 = getelementptr inbounds ptr, ptr %103, i64 %104
store ptr %105, ptr %14, align 8
%106 = load i32, ptr %12, align 4
%107 = ashr i32 %106, 2
%108 = load ptr, ptr %13, align 8
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds i32, ptr %108, i64 %109
store ptr %110, ptr %13, align 8
br label %24, !llvm.loop !9
111: ; preds = %24
ret void
}
declare i32 @store_bgr24_sse2(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_mm_loadu_si128(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0fus8xko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @conv_argb8888_bgr24(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%20 = load ptr, ptr %8, align 8
store ptr %20, ptr %13, align 8
%21 = load ptr, ptr %7, align 8
store ptr %21, ptr %14, align 8
%22 = load i32, ptr %9, align 4
%23 = sub nsw i32 %22, 15
store i32 %23, ptr %15, align 4
store i32 0, ptr %16, align 4
%24 = load i32, ptr %16, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph5, label %117
.lr.ph5: ; preds = %6
br label %27
27: ; preds = %.lr.ph5, %102
%28 = load ptr, ptr %14, align 8
store ptr %28, ptr %17, align 8
store i32 0, ptr %18, align 4
%29 = load i32, ptr %18, align 4
%30 = load i32, ptr %15, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph, label %67
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %59
%33 = load ptr, ptr %17, align 8
%34 = load ptr, ptr %13, align 8
%35 = load i32, ptr %18, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = getelementptr inbounds i32, ptr %37, i64 0
%39 = call i32 @_mm_loadu_si128(ptr noundef %38)
%40 = load ptr, ptr %13, align 8
%41 = load i32, ptr %18, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = getelementptr inbounds i32, ptr %43, i64 4
%45 = call i32 @_mm_loadu_si128(ptr noundef %44)
%46 = load ptr, ptr %13, align 8
%47 = load i32, ptr %18, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = getelementptr inbounds i32, ptr %49, i64 8
%51 = call i32 @_mm_loadu_si128(ptr noundef %50)
%52 = load ptr, ptr %13, align 8
%53 = load i32, ptr %18, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = getelementptr inbounds i32, ptr %55, i64 12
%57 = call i32 @_mm_loadu_si128(ptr noundef %56)
%58 = call i32 @store_bgr24_sse2(ptr noundef %33, i32 noundef %39, i32 noundef %45, i32 noundef %51, i32 noundef %57)
br label %59
59: ; preds = %32
%60 = load i32, ptr %18, align 4
%61 = add nsw i32 %60, 16
store i32 %61, ptr %18, align 4
%62 = load ptr, ptr %17, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 48
store ptr %63, ptr %17, align 8
%64 = load i32, ptr %18, align 4
%65 = load i32, ptr %15, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %67
67: ; preds = %._crit_edge, %27
%68 = load i32, ptr %18, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph2, label %101
.lr.ph2: ; preds = %67
br label %71
71: ; preds = %.lr.ph2, %95
%72 = load ptr, ptr %13, align 8
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
store i32 %76, ptr %19, align 4
%77 = load i32, ptr %19, align 4
%78 = ashr i32 %77, 0
%79 = sext i32 %78 to i64
%80 = inttoptr i64 %79 to ptr
%81 = load ptr, ptr %17, align 8
%82 = getelementptr inbounds ptr, ptr %81, i32 1
store ptr %82, ptr %17, align 8
store ptr %80, ptr %81, align 8
%83 = load i32, ptr %19, align 4
%84 = ashr i32 %83, 8
%85 = sext i32 %84 to i64
%86 = inttoptr i64 %85 to ptr
%87 = load ptr, ptr %17, align 8
%88 = getelementptr inbounds ptr, ptr %87, i32 1
store ptr %88, ptr %17, align 8
store ptr %86, ptr %87, align 8
%89 = load i32, ptr %19, align 4
%90 = ashr i32 %89, 16
%91 = sext i32 %90 to i64
%92 = inttoptr i64 %91 to ptr
%93 = load ptr, ptr %17, align 8
%94 = getelementptr inbounds ptr, ptr %93, i32 1
store ptr %94, ptr %17, align 8
store ptr %92, ptr %93, align 8
br label %95
95: ; preds = %71
%96 = load i32, ptr %18, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %18, align 4
%98 = load i32, ptr %18, align 4
%99 = load i32, ptr %9, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %71, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %101
101: ; preds = %._crit_edge3, %67
br label %102
102: ; preds = %101
%103 = load i32, ptr %16, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %16, align 4
%105 = load i32, ptr %11, align 4
%106 = load ptr, ptr %14, align 8
%107 = sext i32 %105 to i64
%108 = getelementptr inbounds ptr, ptr %106, i64 %107
store ptr %108, ptr %14, align 8
%109 = load i32, ptr %12, align 4
%110 = ashr i32 %109, 2
%111 = load ptr, ptr %13, align 8
%112 = sext i32 %110 to i64
%113 = getelementptr inbounds i32, ptr %111, i64 %112
store ptr %113, ptr %13, align 8
%114 = load i32, ptr %16, align 4
%115 = load i32, ptr %10, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %27, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %117
117: ; preds = %._crit_edge6, %6
ret void
}
declare i32 @store_bgr24_sse2(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_mm_loadu_si128(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmph59ns2vu.c'
source_filename = "/tmp/tmph59ns2vu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btor_is_zero_const(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
%12 = icmp sgt i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @is_valid_const(ptr noundef %15)
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %3, align 8
store ptr %18, ptr %4, align 8
br label %19
19: ; preds = %30, %1
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 48
br i1 %27, label %28, label %29
28: ; preds = %23
store i32 0, ptr %2, align 4
br label %34
29: ; preds = %23
br label %30
30: ; preds = %29
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
br label %19, !llvm.loop !6
33: ; preds = %19
store i32 1, ptr %2, align 4
br label %34
34: ; preds = %33, %28
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @is_valid_const(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph59ns2vu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btor_is_zero_const(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
%12 = icmp sgt i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @is_valid_const(ptr noundef %15)
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %3, align 8
store ptr %18, ptr %4, align 8
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %1
br label %22
22: ; preds = %.lr.ph, %29
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 48
br i1 %26, label %27, label %28
27: ; preds = %22
store i32 0, ptr %2, align 4
br label %36
28: ; preds = %22
br label %29
29: ; preds = %28
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %36
36: ; preds = %35, %27
%37 = load i32, ptr %2, align 4
ret i32 %37
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @is_valid_const(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9_j1a9ev.c'
source_filename = "/tmp/tmp9_j1a9ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"USAGE: realbay hashes <index>\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"ERROR: Failed to output hashes for index file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @realbay_hashes_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
%14 = load ptr, ptr %13, align 8
%15 = call i32 @realbay_hashes(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %21
20: ; preds = %11
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %17, %8
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @realbay_hashes(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_j1a9ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"USAGE: realbay hashes <index>\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"ERROR: Failed to output hashes for index file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @realbay_hashes_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
%14 = load ptr, ptr %13, align 8
%15 = call i32 @realbay_hashes(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %21
20: ; preds = %11
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %17, %8
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @realbay_hashes(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxkgxumf.c'
source_filename = "/tmp/tmpaxkgxumf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"tamas\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkpass(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [64 x i8], align 16
%8 = alloca [17 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %84
14: ; preds = %2
%15 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strncpy(ptr noundef %15, ptr noundef %16, i32 noundef 16)
%18 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2)
br label %20
20: ; preds = %32, %14
%21 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call ptr @fgets(ptr noundef %21, i32 noundef 64, ptr noundef %22)
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %33
25: ; preds = %20
%26 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%28 = call ptr @strstr(ptr noundef %26, ptr noundef %27)
%29 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%30 = icmp eq ptr %28, %29
br i1 %30, label %31, label %32
31: ; preds = %25
br label %33
32: ; preds = %25
br label %20, !llvm.loop !6
33: ; preds = %31, %20
%34 = load ptr, ptr %6, align 8
%35 = call i32 @fclose(ptr noundef %34)
store i32 0, ptr %9, align 4
br label %36
36: ; preds = %48, %33
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %37, 64
br i1 %38, label %39, label %51
39: ; preds = %36
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 58
br i1 %45, label %46, label %47
46: ; preds = %39
br label %51
47: ; preds = %39
br label %48
48: ; preds = %47
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
br label %36, !llvm.loop !8
51: ; preds = %46, %36
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %71, %51
%57 = load i32, ptr %9, align 4
%58 = icmp slt i32 %57, 64
br i1 %58, label %59, label %74
59: ; preds = %56
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 58
br i1 %65, label %66, label %70
66: ; preds = %59
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %68
store i8 0, ptr %69, align 1
br label %74
70: ; preds = %59
br label %71
71: ; preds = %70
%72 = load i32, ptr %9, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %9, align 4
br label %56, !llvm.loop !9
74: ; preds = %66, %56
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%77 = load i32, ptr %10, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = call i64 @strcmp(ptr noundef %75, ptr noundef %79)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %74
store i32 0, ptr %3, align 4
br label %84
83: ; preds = %74
store i32 -1, ptr %3, align 4
br label %84
84: ; preds = %83, %82, %13
%85 = load i32, ptr %3, align 4
ret i32 %85
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxkgxumf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"tamas\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkpass(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [64 x i8], align 16
%8 = alloca [17 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %88
14: ; preds = %2
%15 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strncpy(ptr noundef %15, ptr noundef %16, i32 noundef 16)
%18 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2)
%20 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%21 = load ptr, ptr %6, align 8
%22 = call ptr @fgets(ptr noundef %20, i32 noundef 64, ptr noundef %21)
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph, label %.loopexit2
.lr.ph: ; preds = %14
br label %28
24: ; preds = %28
%25 = load ptr, ptr %6, align 8
%26 = call ptr @fgets(ptr noundef %20, i32 noundef 64, ptr noundef %25)
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %..loopexit2_crit_edge, !llvm.loop !6
28: ; preds = %.lr.ph, %24
%29 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%30 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%31 = call ptr @strstr(ptr noundef %29, ptr noundef %30)
%32 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%33 = icmp eq ptr %31, %32
br i1 %33, label %34, label %24
34: ; preds = %28
br label %35
..loopexit2_crit_edge: ; preds = %24
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %14
br label %35
35: ; preds = %.loopexit2, %34
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fclose(ptr noundef %36)
store i32 0, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp slt i32 %38, 64
br i1 %39, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %35
br label %40
40: ; preds = %.lr.ph3, %49
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 58
br i1 %46, label %47, label %48
47: ; preds = %40
br label %54
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %9, align 4
%53 = icmp slt i32 %52, 64
br i1 %53, label %40, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %49
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %35
br label %54
54: ; preds = %.loopexit1, %47
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp slt i32 %59, 64
br i1 %60, label %.lr.ph4, label %.loopexit
.lr.ph4: ; preds = %54
br label %61
61: ; preds = %.lr.ph4, %73
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 58
br i1 %67, label %68, label %72
68: ; preds = %61
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %70
store i8 0, ptr %71, align 1
br label %78
72: ; preds = %61
br label %73
73: ; preds = %72
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
%76 = load i32, ptr %9, align 4
%77 = icmp slt i32 %76, 64
br i1 %77, label %61, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %73
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %54
br label %78
78: ; preds = %.loopexit, %68
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%81 = load i32, ptr %10, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = call i64 @strcmp(ptr noundef %79, ptr noundef %83)
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %78
store i32 0, ptr %3, align 4
br label %88
87: ; preds = %78
store i32 -1, ptr %3, align 4
br label %88
88: ; preds = %87, %86, %13
%89 = load i32, ptr %3, align 4
ret i32 %89
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_yci7a7r.c'
source_filename = "/tmp/tmp_yci7a7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vp8_sad16x8x8_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %9, align 4
%15 = call i64 @vp8_sad16x8_c(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 2147483647)
%16 = trunc i64 %15 to i16
%17 = load ptr, ptr %10, align 8
%18 = getelementptr inbounds i16, ptr %17, i64 0
store i16 %16, ptr %18, align 2
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i32, ptr %9, align 4
%24 = call i64 @vp8_sad16x8_c(ptr noundef %19, i32 noundef %20, ptr noundef %22, i32 noundef %23, i32 noundef 2147483647)
%25 = trunc i64 %24 to i16
%26 = load ptr, ptr %10, align 8
%27 = getelementptr inbounds i16, ptr %26, i64 1
store i16 %25, ptr %27, align 2
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 2
%32 = load i32, ptr %9, align 4
%33 = call i64 @vp8_sad16x8_c(ptr noundef %28, i32 noundef %29, ptr noundef %31, i32 noundef %32, i32 noundef 2147483647)
%34 = trunc i64 %33 to i16
%35 = load ptr, ptr %10, align 8
%36 = getelementptr inbounds i16, ptr %35, i64 2
store i16 %34, ptr %36, align 2
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 3
%41 = load i32, ptr %9, align 4
%42 = call i64 @vp8_sad16x8_c(ptr noundef %37, i32 noundef %38, ptr noundef %40, i32 noundef %41, i32 noundef 2147483647)
%43 = trunc i64 %42 to i16
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds i16, ptr %44, i64 3
store i16 %43, ptr %45, align 2
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %7, align 4
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 4
%50 = load i32, ptr %9, align 4
%51 = call i64 @vp8_sad16x8_c(ptr noundef %46, i32 noundef %47, ptr noundef %49, i32 noundef %50, i32 noundef 2147483647)
%52 = trunc i64 %51 to i16
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds i16, ptr %53, i64 4
store i16 %52, ptr %54, align 2
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 5
%59 = load i32, ptr %9, align 4
%60 = call i64 @vp8_sad16x8_c(ptr noundef %55, i32 noundef %56, ptr noundef %58, i32 noundef %59, i32 noundef 2147483647)
%61 = trunc i64 %60 to i16
%62 = load ptr, ptr %10, align 8
%63 = getelementptr inbounds i16, ptr %62, i64 5
store i16 %61, ptr %63, align 2
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %7, align 4
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 6
%68 = load i32, ptr %9, align 4
%69 = call i64 @vp8_sad16x8_c(ptr noundef %64, i32 noundef %65, ptr noundef %67, i32 noundef %68, i32 noundef 2147483647)
%70 = trunc i64 %69 to i16
%71 = load ptr, ptr %10, align 8
%72 = getelementptr inbounds i16, ptr %71, i64 6
store i16 %70, ptr %72, align 2
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %7, align 4
%75 = load ptr, ptr %8, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 7
%77 = load i32, ptr %9, align 4
%78 = call i64 @vp8_sad16x8_c(ptr noundef %73, i32 noundef %74, ptr noundef %76, i32 noundef %77, i32 noundef 2147483647)
%79 = trunc i64 %78 to i16
%80 = load ptr, ptr %10, align 8
%81 = getelementptr inbounds i16, ptr %80, i64 7
store i16 %79, ptr %81, align 2
ret void
}
declare i64 @vp8_sad16x8_c(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_yci7a7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vp8_sad16x8x8_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %9, align 4
%15 = call i64 @vp8_sad16x8_c(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 2147483647)
%16 = trunc i64 %15 to i16
%17 = load ptr, ptr %10, align 8
%18 = getelementptr inbounds i16, ptr %17, i64 0
store i16 %16, ptr %18, align 2
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i32, ptr %9, align 4
%24 = call i64 @vp8_sad16x8_c(ptr noundef %19, i32 noundef %20, ptr noundef %22, i32 noundef %23, i32 noundef 2147483647)
%25 = trunc i64 %24 to i16
%26 = load ptr, ptr %10, align 8
%27 = getelementptr inbounds i16, ptr %26, i64 1
store i16 %25, ptr %27, align 2
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 2
%32 = load i32, ptr %9, align 4
%33 = call i64 @vp8_sad16x8_c(ptr noundef %28, i32 noundef %29, ptr noundef %31, i32 noundef %32, i32 noundef 2147483647)
%34 = trunc i64 %33 to i16
%35 = load ptr, ptr %10, align 8
%36 = getelementptr inbounds i16, ptr %35, i64 2
store i16 %34, ptr %36, align 2
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 3
%41 = load i32, ptr %9, align 4
%42 = call i64 @vp8_sad16x8_c(ptr noundef %37, i32 noundef %38, ptr noundef %40, i32 noundef %41, i32 noundef 2147483647)
%43 = trunc i64 %42 to i16
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds i16, ptr %44, i64 3
store i16 %43, ptr %45, align 2
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %7, align 4
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 4
%50 = load i32, ptr %9, align 4
%51 = call i64 @vp8_sad16x8_c(ptr noundef %46, i32 noundef %47, ptr noundef %49, i32 noundef %50, i32 noundef 2147483647)
%52 = trunc i64 %51 to i16
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds i16, ptr %53, i64 4
store i16 %52, ptr %54, align 2
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 5
%59 = load i32, ptr %9, align 4
%60 = call i64 @vp8_sad16x8_c(ptr noundef %55, i32 noundef %56, ptr noundef %58, i32 noundef %59, i32 noundef 2147483647)
%61 = trunc i64 %60 to i16
%62 = load ptr, ptr %10, align 8
%63 = getelementptr inbounds i16, ptr %62, i64 5
store i16 %61, ptr %63, align 2
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %7, align 4
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 6
%68 = load i32, ptr %9, align 4
%69 = call i64 @vp8_sad16x8_c(ptr noundef %64, i32 noundef %65, ptr noundef %67, i32 noundef %68, i32 noundef 2147483647)
%70 = trunc i64 %69 to i16
%71 = load ptr, ptr %10, align 8
%72 = getelementptr inbounds i16, ptr %71, i64 6
store i16 %70, ptr %72, align 2
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %7, align 4
%75 = load ptr, ptr %8, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 7
%77 = load i32, ptr %9, align 4
%78 = call i64 @vp8_sad16x8_c(ptr noundef %73, i32 noundef %74, ptr noundef %76, i32 noundef %77, i32 noundef 2147483647)
%79 = trunc i64 %78 to i16
%80 = load ptr, ptr %10, align 8
%81 = getelementptr inbounds i16, ptr %80, i64 7
store i16 %79, ptr %81, align 2
ret void
}
declare i64 @vp8_sad16x8_c(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8vcxuucu.c'
source_filename = "/tmp/tmp8vcxuucu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %21, %1
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 92
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store ptr %20, ptr %3, align 8
br label %21
21: ; preds = %18, %13
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
br label %8, !llvm.loop !6
24: ; preds = %8
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strlen(ptr noundef %25)
store i32 %26, ptr %5, align 4
%27 = icmp sgt i32 %26, 16
br i1 %27, label %28, label %34
28: ; preds = %24
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %29, 16
%31 = load ptr, ptr %3, align 8
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds i8, ptr %31, i64 %32
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %28, %24
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8vcxuucu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %20
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 92
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
store ptr %19, ptr %3, align 8
br label %20
20: ; preds = %17, %12
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %1
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strlen(ptr noundef %28)
store i32 %29, ptr %5, align 4
%30 = icmp sgt i32 %29, 16
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %32, 16
%34 = load ptr, ptr %3, align 8
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store ptr %36, ptr %3, align 8
br label %37
37: ; preds = %31, %27
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgbvq2td4.c'
source_filename = "/tmp/tmpgbvq2td4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgbvq2td4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgddyczkv.c'
source_filename = "/tmp/tmpgddyczkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgddyczkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4bl1ykv5.c'
source_filename = "/tmp/tmp4bl1ykv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_navi_extern_scope_ref(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @_navi_scope_ref(ptr noundef %3)
ret ptr %4
}
declare ptr @_navi_scope_ref(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4bl1ykv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_navi_extern_scope_ref(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @_navi_scope_ref(ptr noundef %3)
ret ptr %4
}
declare ptr @_navi_scope_ref(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl9nq8s2j.c'
source_filename = "/tmp/tmpl9nq8s2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mstring_find_start(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i8, align 1
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%14 = load ptr, ptr %5, align 8
%15 = call i32 @mstring_get_length(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %10, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %11, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20)
%22 = load i32, ptr %7, align 4
store i32 %22, ptr %9, align 4
br label %23
23: ; preds = %40, %3
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %43
27: ; preds = %23
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %19, i64 %29
%31 = load i8, ptr %30, align 1
store i8 %31, ptr %12, align 1
%32 = load i8, ptr %12, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %39
37: ; preds = %27
%38 = load i32, ptr %9, align 4
store i32 %38, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %44
39: ; preds = %27
br label %40
40: ; preds = %39
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
br label %23, !llvm.loop !6
43: ; preds = %23
store i32 -1, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %44
44: ; preds = %43, %37
%45 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %45)
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @mstring_get_length(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl9nq8s2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mstring_find_start(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i8, align 1
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%14 = load ptr, ptr %5, align 8
%15 = call i32 @mstring_get_length(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %10, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %11, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20)
%22 = load i32, ptr %7, align 4
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %39
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %19, i64 %28
%30 = load i8, ptr %29, align 1
store i8 %30, ptr %12, align 1
%31 = load i8, ptr %12, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr %6, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %32, %34
br i1 %35, label %36, label %38
36: ; preds = %26
%37 = load i32, ptr %9, align 4
store i32 %37, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %46
38: ; preds = %26
br label %39
39: ; preds = %38
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp ne i32 %42, %43
br i1 %44, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %3
store i32 -1, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %46
46: ; preds = %45, %36
%47 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %47)
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare i32 @mstring_get_length(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpux3hs0h1.c'
source_filename = "/tmp/tmpux3hs0h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.buffer1 = private unnamed_addr constant [4 x i8] c"\00\00\00\FF", align 1
@__const.main.buffer2 = private unnamed_addr constant [4 x i8] c"\FF\00\00\00", align 1
@__const.main.buffer3 = private unnamed_addr constant [4 x i8] c"\00\00\00\FF", align 1
@__const.main.buffer4 = private unnamed_addr constant [4 x i8] c"\FF\00\00\00", align 1
@.str = private unnamed_addr constant [9 x i8] c"Max %lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Buffer1 BE %lu\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Buffer2 BE %lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Buffer3 LE %lu\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Buffer4 LE %lu\0A\00", align 1
@.str.5 = private unnamed_addr constant [47 x i8] c"Buffer4[0] Bit Values %i %i %i %i %i %i %i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [4 x i8], align 1
%4 = alloca [4 x i8], align 1
%5 = alloca [4 x i8], align 1
%6 = alloca [4 x i8], align 1
store i32 0, ptr %1, align 4
store i64 -1, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.buffer1, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.buffer2, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.buffer3, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.buffer4, i64 4, i1 false)
%7 = load i64, ptr %2, align 8
%8 = trunc i64 %7 to i32
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i64
%13 = mul i64 %12, 256
%14 = mul i64 %13, 256
%15 = mul i64 %14, 256
%16 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i64
%19 = mul i64 %18, 256
%20 = mul i64 %19, 256
%21 = add i64 %15, %20
%22 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i64
%25 = mul i64 %24, 256
%26 = add i64 %21, %25
%27 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i64
%30 = add i64 %26, %29
%31 = trunc i64 %30 to i32
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i64
%36 = shl i64 %35, 24
%37 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 1
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i64
%40 = shl i64 %39, 16
%41 = or i64 %36, %40
%42 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 2
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i64
%45 = shl i64 %44, 8
%46 = or i64 %41, %45
%47 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 3
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i64
%50 = or i64 %46, %49
%51 = trunc i64 %50 to i32
%52 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51)
%53 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i64
%56 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 1
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i64
%59 = mul i64 %58, 256
%60 = add i64 %55, %59
%61 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 2
%62 = load i8, ptr %61, align 1
%63 = zext i8 %62 to i64
%64 = mul i64 %63, 256
%65 = mul i64 %64, 256
%66 = add i64 %60, %65
%67 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 3
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i64
%70 = mul i64 %69, 256
%71 = mul i64 %70, 256
%72 = mul i64 %71, 256
%73 = add i64 %66, %72
%74 = trunc i64 %73 to i32
%75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %74)
%76 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i64
%79 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%80 = load i8, ptr %79, align 1
%81 = zext i8 %80 to i64
%82 = shl i64 %81, 8
%83 = or i64 %78, %82
%84 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%85 = load i8, ptr %84, align 1
%86 = zext i8 %85 to i64
%87 = shl i64 %86, 16
%88 = or i64 %83, %87
%89 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%90 = load i8, ptr %89, align 1
%91 = zext i8 %90 to i64
%92 = shl i64 %91, 24
%93 = or i64 %88, %92
%94 = trunc i64 %93 to i32
%95 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %94)
%96 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%97 = load i8, ptr %96, align 1
%98 = call i64 @bit_value(i8 noundef zeroext %97, i32 noundef 7)
%99 = trunc i64 %98 to i32
%100 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%101 = load i8, ptr %100, align 1
%102 = call i64 @bit_value(i8 noundef zeroext %101, i32 noundef 6)
%103 = trunc i64 %102 to i32
%104 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%105 = load i8, ptr %104, align 1
%106 = call i64 @bit_value(i8 noundef zeroext %105, i32 noundef 5)
%107 = trunc i64 %106 to i32
%108 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%109 = load i8, ptr %108, align 1
%110 = call i64 @bit_value(i8 noundef zeroext %109, i32 noundef 4)
%111 = trunc i64 %110 to i32
%112 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%113 = load i8, ptr %112, align 1
%114 = call i64 @bit_value(i8 noundef zeroext %113, i32 noundef 3)
%115 = trunc i64 %114 to i32
%116 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%117 = load i8, ptr %116, align 1
%118 = call i64 @bit_value(i8 noundef zeroext %117, i32 noundef 2)
%119 = trunc i64 %118 to i32
%120 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%121 = load i8, ptr %120, align 1
%122 = call i64 @bit_value(i8 noundef zeroext %121, i32 noundef 1)
%123 = trunc i64 %122 to i32
%124 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%125 = load i8, ptr %124, align 1
%126 = call i64 @bit_value(i8 noundef zeroext %125, i32 noundef 0)
%127 = trunc i64 %126 to i32
%128 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %99, i32 noundef %103, i32 noundef %107, i32 noundef %111, i32 noundef %115, i32 noundef %119, i32 noundef %123, i32 noundef %127)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i64 @bit_value(i8 noundef zeroext, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpux3hs0h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.buffer1 = private unnamed_addr constant [4 x i8] c"\00\00\00\FF", align 1
@__const.main.buffer2 = private unnamed_addr constant [4 x i8] c"\FF\00\00\00", align 1
@__const.main.buffer3 = private unnamed_addr constant [4 x i8] c"\00\00\00\FF", align 1
@__const.main.buffer4 = private unnamed_addr constant [4 x i8] c"\FF\00\00\00", align 1
@.str = private unnamed_addr constant [9 x i8] c"Max %lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Buffer1 BE %lu\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Buffer2 BE %lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Buffer3 LE %lu\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Buffer4 LE %lu\0A\00", align 1
@.str.5 = private unnamed_addr constant [47 x i8] c"Buffer4[0] Bit Values %i %i %i %i %i %i %i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [4 x i8], align 1
%4 = alloca [4 x i8], align 1
%5 = alloca [4 x i8], align 1
%6 = alloca [4 x i8], align 1
store i32 0, ptr %1, align 4
store i64 -1, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.buffer1, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.buffer2, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.buffer3, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.buffer4, i64 4, i1 false)
%7 = load i64, ptr %2, align 8
%8 = trunc i64 %7 to i32
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i64
%13 = mul i64 %12, 256
%14 = mul i64 %13, 256
%15 = mul i64 %14, 256
%16 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i64
%19 = mul i64 %18, 256
%20 = mul i64 %19, 256
%21 = add i64 %15, %20
%22 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i64
%25 = mul i64 %24, 256
%26 = add i64 %21, %25
%27 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i64
%30 = add i64 %26, %29
%31 = trunc i64 %30 to i32
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i64
%36 = shl i64 %35, 24
%37 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 1
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i64
%40 = shl i64 %39, 16
%41 = or i64 %36, %40
%42 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 2
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i64
%45 = shl i64 %44, 8
%46 = or i64 %41, %45
%47 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 3
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i64
%50 = or i64 %46, %49
%51 = trunc i64 %50 to i32
%52 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51)
%53 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i64
%56 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 1
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i64
%59 = mul i64 %58, 256
%60 = add i64 %55, %59
%61 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 2
%62 = load i8, ptr %61, align 1
%63 = zext i8 %62 to i64
%64 = mul i64 %63, 256
%65 = mul i64 %64, 256
%66 = add i64 %60, %65
%67 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 3
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i64
%70 = mul i64 %69, 256
%71 = mul i64 %70, 256
%72 = mul i64 %71, 256
%73 = add i64 %66, %72
%74 = trunc i64 %73 to i32
%75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %74)
%76 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i64
%79 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%80 = load i8, ptr %79, align 1
%81 = zext i8 %80 to i64
%82 = shl i64 %81, 8
%83 = or i64 %78, %82
%84 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%85 = load i8, ptr %84, align 1
%86 = zext i8 %85 to i64
%87 = shl i64 %86, 16
%88 = or i64 %83, %87
%89 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%90 = load i8, ptr %89, align 1
%91 = zext i8 %90 to i64
%92 = shl i64 %91, 24
%93 = or i64 %88, %92
%94 = trunc i64 %93 to i32
%95 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %94)
%96 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%97 = load i8, ptr %96, align 1
%98 = call i64 @bit_value(i8 noundef zeroext %97, i32 noundef 7)
%99 = trunc i64 %98 to i32
%100 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%101 = load i8, ptr %100, align 1
%102 = call i64 @bit_value(i8 noundef zeroext %101, i32 noundef 6)
%103 = trunc i64 %102 to i32
%104 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%105 = load i8, ptr %104, align 1
%106 = call i64 @bit_value(i8 noundef zeroext %105, i32 noundef 5)
%107 = trunc i64 %106 to i32
%108 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%109 = load i8, ptr %108, align 1
%110 = call i64 @bit_value(i8 noundef zeroext %109, i32 noundef 4)
%111 = trunc i64 %110 to i32
%112 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%113 = load i8, ptr %112, align 1
%114 = call i64 @bit_value(i8 noundef zeroext %113, i32 noundef 3)
%115 = trunc i64 %114 to i32
%116 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%117 = load i8, ptr %116, align 1
%118 = call i64 @bit_value(i8 noundef zeroext %117, i32 noundef 2)
%119 = trunc i64 %118 to i32
%120 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%121 = load i8, ptr %120, align 1
%122 = call i64 @bit_value(i8 noundef zeroext %121, i32 noundef 1)
%123 = trunc i64 %122 to i32
%124 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%125 = load i8, ptr %124, align 1
%126 = call i64 @bit_value(i8 noundef zeroext %125, i32 noundef 0)
%127 = trunc i64 %126 to i32
%128 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %99, i32 noundef %103, i32 noundef %107, i32 noundef %111, i32 noundef %115, i32 noundef %119, i32 noundef %123, i32 noundef %127)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i64 @bit_value(i8 noundef zeroext, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdsudfcho.c'
source_filename = "/tmp/tmpdsudfcho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c"Syntax mark argument which is of phrase type must bind to in parameter\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Error_PhraseBoundMarkSyntaxArgumentMustBindToInParameter(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @_Error(i64 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @_Error(i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdsudfcho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c"Syntax mark argument which is of phrase type must bind to in parameter\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Error_PhraseBoundMarkSyntaxArgumentMustBindToInParameter(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @_Error(i64 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @_Error(i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpohfacqfx.c'
source_filename = "/tmp/tmpohfacqfx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setup_fueling() #0 {
%1 = call i32 @setup_TPS(i32 noundef 0)
%2 = call i32 (...) @setup_RPM()
%3 = call i32 (...) @setup_alphaN_table()
ret i32 0
}
declare i32 @setup_TPS(i32 noundef) #1
declare i32 @setup_RPM(...) #1
declare i32 @setup_alphaN_table(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpohfacqfx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setup_fueling() #0 {
%1 = call i32 @setup_TPS(i32 noundef 0)
%2 = call i32 (...) @setup_RPM()
%3 = call i32 (...) @setup_alphaN_table()
ret i32 0
}
declare i32 @setup_TPS(i32 noundef) #1
declare i32 @setup_RPM(...) #1
declare i32 @setup_alphaN_table(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprbblymwv.c'
source_filename = "/tmp/tmprbblymwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %s %d %s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tournament(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [9 x i8], align 1
%11 = alloca [9 x i8], align 1
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = shl i64 %15, 1
%17 = call i64 @calloc(i64 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %72, %2
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %5, align 4
%26 = icmp ne i32 %24, 0
br i1 %26, label %27, label %73
27: ; preds = %23
%28 = getelementptr inbounds [9 x i8], ptr %10, i64 0, i64 0
%29 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %8, ptr noundef %28, ptr noundef %9, ptr noundef %29)
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %9, align 4
%35 = getelementptr inbounds [9 x i8], ptr %10, i64 0, i64 0
%36 = load i8, ptr %35, align 1
%37 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0
%38 = load i8, ptr %37, align 1
%39 = call i32 @result(i8 noundef signext %36, i8 noundef signext %38)
store i32 %39, ptr %12, align 4
%40 = load i32, ptr %12, align 4
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %55
42: ; preds = %27
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %46, align 4
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %52, align 4
br label %72
55: ; preds = %27
%56 = load i32, ptr %12, align 4
%57 = icmp eq i32 %56, 2
br i1 %57, label %58, label %71
58: ; preds = %55
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %62, align 4
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %68, align 4
br label %71
71: ; preds = %58, %55
br label %72
72: ; preds = %71, %42
br label %23, !llvm.loop !6
73: ; preds = %23
store i32 0, ptr %13, align 4
br label %74
74: ; preds = %115, %73
%75 = load i32, ptr %13, align 4
%76 = load i32, ptr %4, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %118
78: ; preds = %74
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %13, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %7, align 8
%85 = load i32, ptr %13, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %84, i64 %86
%88 = load i32, ptr %87, align 4
%89 = add nsw i32 %83, %88
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %78
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %114
93: ; preds = %78
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %13, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = sitofp i32 %98 to double
%100 = load ptr, ptr %6, align 8
%101 = load i32, ptr %13, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
%104 = load i32, ptr %103, align 4
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %13, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
%109 = load i32, ptr %108, align 4
%110 = add nsw i32 %104, %109
%111 = sitofp i32 %110 to double
%112 = fdiv double %99, %111
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %112)
br label %114
114: ; preds = %93, %91
br label %115
115: ; preds = %114
%116 = load i32, ptr %13, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %13, align 4
br label %74, !llvm.loop !8
118: ; preds = %74
%119 = load ptr, ptr %6, align 8
%120 = call i32 @free(ptr noundef %119)
%121 = load i32, ptr %3, align 4
ret i32 %121
}
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @result(i8 noundef signext, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprbblymwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %s %d %s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tournament(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [9 x i8], align 1
%11 = alloca [9 x i8], align 1
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = shl i64 %15, 1
%17 = call i64 @calloc(i64 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store ptr %22, ptr %7, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %5, align 4
%25 = icmp ne i32 %23, 0
br i1 %25, label %.lr.ph, label %75
.lr.ph: ; preds = %2
br label %26
26: ; preds = %.lr.ph, %71
%27 = getelementptr inbounds [9 x i8], ptr %10, i64 0, i64 0
%28 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0
%29 = call i32 @scanf(ptr noundef @.str, ptr noundef %8, ptr noundef %27, ptr noundef %9, ptr noundef %28)
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %9, align 4
%34 = getelementptr inbounds [9 x i8], ptr %10, i64 0, i64 0
%35 = load i8, ptr %34, align 1
%36 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0
%37 = load i8, ptr %36, align 1
%38 = call i32 @result(i8 noundef signext %35, i8 noundef signext %37)
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
%40 = icmp eq i32 %39, 1
br i1 %40, label %41, label %54
41: ; preds = %26
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %45, align 4
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %51, align 4
br label %71
54: ; preds = %26
%55 = load i32, ptr %12, align 4
%56 = icmp eq i32 %55, 2
br i1 %56, label %57, label %70
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %61, align 4
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %67, align 4
br label %70
70: ; preds = %57, %54
br label %71
71: ; preds = %70, %41
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, -1
store i32 %73, ptr %5, align 4
%74 = icmp ne i32 %72, 0
br i1 %74, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %75
75: ; preds = %._crit_edge, %2
store i32 0, ptr %13, align 4
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %4, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph2, label %122
.lr.ph2: ; preds = %75
br label %79
79: ; preds = %.lr.ph2, %116
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %13, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %13, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %84, %89
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %79
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %115
94: ; preds = %79
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %13, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
%99 = load i32, ptr %98, align 4
%100 = sitofp i32 %99 to double
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %13, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %13, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = add nsw i32 %105, %110
%112 = sitofp i32 %111 to double
%113 = fdiv double %100, %112
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %113)
br label %115
115: ; preds = %94, %92
br label %116
116: ; preds = %115
%117 = load i32, ptr %13, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %13, align 4
%119 = load i32, ptr %13, align 4
%120 = load i32, ptr %4, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %79, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %116
br label %122
122: ; preds = %._crit_edge3, %75
%123 = load ptr, ptr %6, align 8
%124 = call i32 @free(ptr noundef %123)
%125 = load i32, ptr %3, align 4
ret i32 %125
}
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @result(i8 noundef signext, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcuu2ca_7.c'
source_filename = "/tmp/tmpcuu2ca_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.samba_connect.handshake = private unnamed_addr constant [3 x i8] c"\80\80#", align 1
@.str = private unnamed_addr constant [16 x i8] c"CPU ID: 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Not a 9263 CPU\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Not a 9G45 CPU\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @samba_connect(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [3 x i8], align 1
%4 = alloca [128 x i8], align 16
%5 = alloca [16384 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.samba_connect.handshake, i64 3, i1 false)
%12 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @serial_write(ptr noundef %12, i32 noundef 3)
%14 = call i32 @sys_delay(i32 noundef 100)
%15 = call i32 @samba_read(i32 noundef -4544, i32 noundef 4, i32 noundef 10000000)
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 2
br i1 %19, label %20, label %25
20: ; preds = %1
%21 = load i32, ptr %11, align 4
%22 = icmp ne i32 %21, 26609570
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @die(ptr noundef @.str.1)
br label %25
25: ; preds = %23, %20, %1
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 3
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %11, align 4
%30 = icmp ne i32 %29, -2120546910
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @die(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %28, %25
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @serial_write(ptr noundef, i32 noundef) #2
declare i32 @sys_delay(i32 noundef) #2
declare i32 @samba_read(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @die(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcuu2ca_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.samba_connect.handshake = private unnamed_addr constant [3 x i8] c"\80\80#", align 1
@.str = private unnamed_addr constant [16 x i8] c"CPU ID: 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Not a 9263 CPU\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Not a 9G45 CPU\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @samba_connect(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [3 x i8], align 1
%4 = alloca [128 x i8], align 16
%5 = alloca [16384 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.samba_connect.handshake, i64 3, i1 false)
%12 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @serial_write(ptr noundef %12, i32 noundef 3)
%14 = call i32 @sys_delay(i32 noundef 100)
%15 = call i32 @samba_read(i32 noundef -4544, i32 noundef 4, i32 noundef 10000000)
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 2
br i1 %19, label %20, label %25
20: ; preds = %1
%21 = load i32, ptr %11, align 4
%22 = icmp ne i32 %21, 26609570
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @die(ptr noundef @.str.1)
br label %25
25: ; preds = %23, %20, %1
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 3
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %11, align 4
%30 = icmp ne i32 %29, -2120546910
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @die(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %28, %25
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @serial_write(ptr noundef, i32 noundef) #2
declare i32 @sys_delay(i32 noundef) #2
declare i32 @samba_read(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @die(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc3twcouo.c'
source_filename = "/tmp/tmpc3twcouo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_chgat(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @check_arg_count(i32 noundef %8, i32 noundef 4)
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %12
11: ; preds = %2
br label %46
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i64 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %5)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = call i32 @report_count(i32 noundef 1)
%20 = call i32 @report_error(ptr noundef @.str.1)
br label %46
21: ; preds = %12
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i64 @sscanf(ptr noundef %24, ptr noundef @.str, ptr noundef %6)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = call i32 @report_count(i32 noundef 1)
%29 = call i32 @report_error(ptr noundef @.str.1)
br label %46
30: ; preds = %21
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = call i64 @sscanf(ptr noundef %33, ptr noundef @.str, ptr noundef %7)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = call i32 @report_count(i32 noundef 1)
%38 = call i32 @report_error(ptr noundef @.str.1)
br label %46
39: ; preds = %30
%40 = call i32 @report_count(i32 noundef 1)
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %7, align 4
%44 = call i32 @chgat(i32 noundef %41, i32 noundef %42, i32 noundef %43, ptr noundef null)
%45 = call i32 @report_return(i32 noundef %44)
br label %46
46: ; preds = %39, %36, %27, %18, %11
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @chgat(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc3twcouo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_chgat(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @check_arg_count(i32 noundef %8, i32 noundef 4)
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %12
11: ; preds = %2
br label %46
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i64 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %5)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = call i32 @report_count(i32 noundef 1)
%20 = call i32 @report_error(ptr noundef @.str.1)
br label %46
21: ; preds = %12
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i64 @sscanf(ptr noundef %24, ptr noundef @.str, ptr noundef %6)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = call i32 @report_count(i32 noundef 1)
%29 = call i32 @report_error(ptr noundef @.str.1)
br label %46
30: ; preds = %21
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = call i64 @sscanf(ptr noundef %33, ptr noundef @.str, ptr noundef %7)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = call i32 @report_count(i32 noundef 1)
%38 = call i32 @report_error(ptr noundef @.str.1)
br label %46
39: ; preds = %30
%40 = call i32 @report_count(i32 noundef 1)
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %7, align 4
%44 = call i32 @chgat(i32 noundef %41, i32 noundef %42, i32 noundef %43, ptr noundef null)
%45 = call i32 @report_return(i32 noundef %44)
br label %46
46: ; preds = %39, %36, %27, %18, %11
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @chgat(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphttc9z6k.c'
source_filename = "/tmp/tmphttc9z6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @precoding_bits_f2a(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 2
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 2, ptr %2, align 4
br label %8
8: ; preds = %7, %6
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphttc9z6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @precoding_bits_f2a(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 2
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 2, ptr %2, align 4
br label %8
8: ; preds = %7, %6
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphjo93e3z.c'
source_filename = "/tmp/tmphjo93e3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Bresenham's Line drawing algorithm\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bresenham(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @put_pixel(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %18, %19
%21 = call i32 @abs(i32 noundef %20) #3
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %22, %23
%25 = call i32 @abs(i32 noundef %24) #3
store i32 %25, ptr %12, align 4
%26 = load i32, ptr %12, align 4
%27 = mul nsw i32 2, %26
%28 = load i32, ptr %11, align 4
%29 = sub nsw i32 %27, %28
store i32 %29, ptr %13, align 4
%30 = load i32, ptr %13, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 1, ptr %10, align 4
br label %32
32: ; preds = %65, %4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %68
36: ; preds = %32
%37 = load i32, ptr %13, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = call i32 @put_pixel(i32 noundef %42, i32 noundef %43)
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %12, align 4
%47 = mul nsw i32 2, %46
%48 = add nsw i32 %45, %47
store i32 %48, ptr %13, align 4
br label %64
49: ; preds = %36
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr %6, align 4
%56 = call i32 @put_pixel(i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %12, align 4
%59 = mul nsw i32 2, %58
%60 = add nsw i32 %57, %59
%61 = load i32, ptr %11, align 4
%62 = mul nsw i32 2, %61
%63 = sub nsw i32 %60, %62
store i32 %63, ptr %13, align 4
br label %64
64: ; preds = %49, %39
br label %65
65: ; preds = %64
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %10, align 4
br label %32, !llvm.loop !6
68: ; preds = %32
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @put_pixel(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphjo93e3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Bresenham's Line drawing algorithm\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bresenham(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @put_pixel(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %18, %19
%21 = call i32 @abs(i32 noundef %20) #3
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %22, %23
%25 = call i32 @abs(i32 noundef %24) #3
store i32 %25, ptr %12, align 4
%26 = load i32, ptr %12, align 4
%27 = mul nsw i32 2, %26
%28 = load i32, ptr %11, align 4
%29 = sub nsw i32 %27, %28
store i32 %29, ptr %13, align 4
%30 = load i32, ptr %13, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 1, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %70
.lr.ph: ; preds = %4
br label %35
35: ; preds = %.lr.ph, %64
%36 = load i32, ptr %13, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @put_pixel(i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr %13, align 4
%45 = load i32, ptr %12, align 4
%46 = mul nsw i32 2, %45
%47 = add nsw i32 %44, %46
store i32 %47, ptr %13, align 4
br label %63
48: ; preds = %35
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %6, align 4
%55 = call i32 @put_pixel(i32 noundef %53, i32 noundef %54)
%56 = load i32, ptr %13, align 4
%57 = load i32, ptr %12, align 4
%58 = mul nsw i32 2, %57
%59 = add nsw i32 %56, %58
%60 = load i32, ptr %11, align 4
%61 = mul nsw i32 2, %60
%62 = sub nsw i32 %59, %61
store i32 %62, ptr %13, align 4
br label %63
63: ; preds = %48, %38
br label %64
64: ; preds = %63
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
%67 = load i32, ptr %10, align 4
%68 = load i32, ptr %7, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %4
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @put_pixel(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe13mwvkl.c'
source_filename = "/tmp/tmpe13mwvkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse_message(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %9, %2
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %11, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %10, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %17, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %17, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe13mwvkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse_message(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %5, align 4
%7 = icmp ne i32 %6, -1
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %10, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %9, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %16, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %19, align 4
%21 = icmp ne i32 %20, -1
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph2kxw2nx.c'
source_filename = "/tmp/tmph2kxw2nx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_put_nbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [10 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @my_putchar(i32 noundef 45)
%10 = load i32, ptr %2, align 4
%11 = call i32 @my_nb_islimit(i32 noundef %10)
br label %55
12: ; preds = %1
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %50
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %16, 10
br i1 %17, label %18, label %50
18: ; preds = %15
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %2, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %19
%23 = load i32, ptr %2, align 4
%24 = srem i32 %23, 10
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %26
store i32 %24, ptr %27, align 4
%28 = load i32, ptr %2, align 4
%29 = sdiv i32 %28, 10
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
br label %19, !llvm.loop !6
32: ; preds = %19
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %46, %32
%37 = load i32, ptr %4, align 4
%38 = icmp sgt i32 %37, -1
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 48
%45 = call i32 @my_putchar(i32 noundef %44)
br label %46
46: ; preds = %39
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %4, align 4
br label %36, !llvm.loop !8
49: ; preds = %36
br label %54
50: ; preds = %15, %12
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 48
%53 = call i32 @my_putchar(i32 noundef %52)
br label %54
54: ; preds = %50, %49
br label %55
55: ; preds = %54, %8
ret void
}
declare i32 @my_putchar(i32 noundef) #1
declare i32 @my_nb_islimit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph2kxw2nx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_put_nbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [10 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @my_putchar(i32 noundef 45)
%10 = load i32, ptr %2, align 4
%11 = call i32 @my_nb_islimit(i32 noundef %10)
br label %57
12: ; preds = %1
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %52
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %16, 10
br i1 %17, label %18, label %52
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %.lr.ph, label %33
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %2, align 4
%23 = srem i32 %22, 10
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %25
store i32 %23, ptr %26, align 4
%27 = load i32, ptr %2, align 4
%28 = sdiv i32 %27, 10
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %33
33: ; preds = %._crit_edge, %18
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp sgt i32 %37, -1
br i1 %38, label %.lr.ph2, label %51
.lr.ph2: ; preds = %33
br label %39
39: ; preds = %.lr.ph2, %46
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 48
%45 = call i32 @my_putchar(i32 noundef %44)
br label %46
46: ; preds = %39
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp sgt i32 %49, -1
br i1 %50, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %51
51: ; preds = %._crit_edge3, %33
br label %56
52: ; preds = %15, %12
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 48
%55 = call i32 @my_putchar(i32 noundef %54)
br label %56
56: ; preds = %52, %51
br label %57
57: ; preds = %56, %8
ret void
}
declare i32 @my_putchar(i32 noundef) #1
declare i32 @my_nb_islimit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp__v59eyu.c'
source_filename = "/tmp/tmp__v59eyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__v59eyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1x17wlp5.c'
source_filename = "/tmp/tmp1x17wlp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d -> %d : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMst(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %9, align 4
br label %10
10: ; preds = %34, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %9, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [10 x i32], ptr %21, i64 %23
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i32], ptr %24, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20, i32 noundef %32)
br label %34
34: ; preds = %14
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
br label %10, !llvm.loop !6
37: ; preds = %10
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1x17wlp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d -> %d : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMst(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %33
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load i32, ptr %9, align 4
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], ptr %20, i64 %22
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x i32], ptr %23, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %31)
br label %33
33: ; preds = %13
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %4
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxj9jtynw.c'
source_filename = "/tmp/tmpxj9jtynw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxj9jtynw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2tmov5o8.c'
source_filename = "/tmp/tmp2tmov5o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PERROR(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @perror(ptr noundef %3)
%5 = call i32 (...) @abort() #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2tmov5o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PERROR(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @perror(ptr noundef %3)
%5 = call i32 (...) @abort() #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpom7r9k3l.c'
source_filename = "/tmp/tmpom7r9k3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpom7r9k3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.