llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpz0dls9fu.c'
source_filename = "/tmp/tmpz0dls9fu.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 i64 (...) @fork()
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @sleep(i32 noundef 5)
br label %6
6: ; preds = %4, %0
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @sleep(i32 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/tmpz0dls9fu.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 i64 (...) @fork()
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @sleep(i32 noundef 5)
br label %6
6: ; preds = %4, %0
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @sleep(i32 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/tmpszf18eq4.c'
source_filename = "/tmp/tmpszf18eq4.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.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copy_tm(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 %3, align 8
%6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 8
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 8
store i32 %7, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 7
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 7
store i32 %12, ptr %14, align 4
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 6
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 6
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 5
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 5
store i32 %22, ptr %24, align 4
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds %struct.tm, ptr %25, i32 0, i32 4
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 4
store i32 %27, ptr %29, align 4
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.tm, ptr %30, i32 0, i32 3
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 3
store i32 %32, ptr %34, align 4
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 2
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 2
store i32 %37, ptr %39, align 4
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 1
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.tm, ptr %43, i32 0, i32 1
store i32 %42, ptr %44, align 4
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds %struct.tm, ptr %45, i32 0, i32 0
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds %struct.tm, ptr %48, i32 0, i32 0
store i32 %47, ptr %49, 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/tmpszf18eq4.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.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copy_tm(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 %3, align 8
%6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 8
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 8
store i32 %7, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 7
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 7
store i32 %12, ptr %14, align 4
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 6
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 6
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 5
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 5
store i32 %22, ptr %24, align 4
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds %struct.tm, ptr %25, i32 0, i32 4
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 4
store i32 %27, ptr %29, align 4
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.tm, ptr %30, i32 0, i32 3
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 3
store i32 %32, ptr %34, align 4
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 2
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 2
store i32 %37, ptr %39, align 4
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 1
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.tm, ptr %43, i32 0, i32 1
store i32 %42, ptr %44, align 4
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds %struct.tm, ptr %45, i32 0, i32 0
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds %struct.tm, ptr %48, i32 0, i32 0
store i32 %47, ptr %49, 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/tmpbb4m14i8.c'
source_filename = "/tmp/tmpbb4m14i8.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 float @dist_retas(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 %5, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
%9 = load float, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds float, ptr %10, i64 1
%12 = load float, ptr %11, align 4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds float, ptr %13, i64 2
%15 = load float, ptr %14, align 4
%16 = fsub float %12, %15
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
%19 = load float, ptr %18, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds float, ptr %20, i64 1
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds float, ptr %23, i64 2
%25 = load float, ptr %24, align 4
%26 = fsub float %22, %25
%27 = fmul float %19, %26
%28 = fneg float %27
%29 = call float @llvm.fmuladd.f32(float %9, float %16, float %28)
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds float, ptr %30, i64 3
store float %29, ptr %31, align 4
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds float, ptr %32, i64 0
%34 = load float, ptr %33, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds float, ptr %35, i64 1
%37 = load float, ptr %36, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds float, ptr %38, i64 2
%40 = load float, ptr %39, align 4
%41 = fsub float %37, %40
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds float, ptr %42, i64 0
%44 = load float, ptr %43, align 4
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds float, ptr %45, i64 1
%47 = load float, ptr %46, align 4
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds float, ptr %48, i64 2
%50 = load float, ptr %49, align 4
%51 = fsub float %47, %50
%52 = fmul float %44, %51
%53 = fneg float %52
%54 = call float @llvm.fmuladd.f32(float %34, float %41, float %53)
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds float, ptr %55, i64 3
store float %54, ptr %56, align 4
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds float, ptr %57, i64 0
%59 = load float, ptr %58, align 4
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds float, ptr %60, i64 1
%62 = load float, ptr %61, align 4
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds float, ptr %63, i64 2
%65 = load float, ptr %64, align 4
%66 = fsub float %62, %65
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds float, ptr %67, i64 0
%69 = load float, ptr %68, align 4
%70 = load ptr, ptr %4, align 8
%71 = getelementptr inbounds float, ptr %70, i64 1
%72 = load float, ptr %71, align 4
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds float, ptr %73, i64 2
%75 = load float, ptr %74, align 4
%76 = fsub float %72, %75
%77 = fmul float %69, %76
%78 = fneg float %77
%79 = call float @llvm.fmuladd.f32(float %59, float %66, float %78)
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds float, ptr %80, i64 3
store float %79, ptr %81, align 4
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds float, ptr %82, i64 3
%84 = load float, ptr %83, align 4
%85 = call i64 @pow(float noundef %84, double noundef 2.000000e+00)
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds float, ptr %86, i64 3
%88 = load float, ptr %87, align 4
%89 = call i64 @pow(float noundef %88, double noundef 2.000000e+00)
%90 = add nsw i64 %85, %89
%91 = load ptr, ptr %6, align 8
%92 = getelementptr inbounds float, ptr %91, i64 3
%93 = load float, ptr %92, align 4
%94 = call i64 @pow(float noundef %93, double noundef 2.000000e+00)
%95 = add nsw i64 %90, %94
%96 = call float @sqrt(i64 noundef %95)
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = call i64 @pow(float noundef %99, double noundef 2.000000e+00)
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds float, ptr %101, i64 0
%103 = load float, ptr %102, align 4
%104 = call i64 @pow(float noundef %103, double noundef 2.000000e+00)
%105 = add nsw i64 %100, %104
%106 = load ptr, ptr %6, align 8
%107 = getelementptr inbounds float, ptr %106, i64 0
%108 = load float, ptr %107, align 4
%109 = call i64 @pow(float noundef %108, double noundef 2.000000e+00)
%110 = add nsw i64 %105, %109
%111 = call float @sqrt(i64 noundef %110)
%112 = fdiv float %96, %111
ret float %112
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @sqrt(i64 noundef) #2
declare i64 @pow(float noundef, double 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/tmpbb4m14i8.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 float @dist_retas(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 %5, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
%9 = load float, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds float, ptr %10, i64 1
%12 = load float, ptr %11, align 4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds float, ptr %13, i64 2
%15 = load float, ptr %14, align 4
%16 = fsub float %12, %15
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
%19 = load float, ptr %18, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds float, ptr %20, i64 1
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds float, ptr %23, i64 2
%25 = load float, ptr %24, align 4
%26 = fsub float %22, %25
%27 = fmul float %19, %26
%28 = fneg float %27
%29 = call float @llvm.fmuladd.f32(float %9, float %16, float %28)
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds float, ptr %30, i64 3
store float %29, ptr %31, align 4
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds float, ptr %32, i64 0
%34 = load float, ptr %33, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds float, ptr %35, i64 1
%37 = load float, ptr %36, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds float, ptr %38, i64 2
%40 = load float, ptr %39, align 4
%41 = fsub float %37, %40
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds float, ptr %42, i64 0
%44 = load float, ptr %43, align 4
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds float, ptr %45, i64 1
%47 = load float, ptr %46, align 4
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds float, ptr %48, i64 2
%50 = load float, ptr %49, align 4
%51 = fsub float %47, %50
%52 = fmul float %44, %51
%53 = fneg float %52
%54 = call float @llvm.fmuladd.f32(float %34, float %41, float %53)
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds float, ptr %55, i64 3
store float %54, ptr %56, align 4
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds float, ptr %57, i64 0
%59 = load float, ptr %58, align 4
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds float, ptr %60, i64 1
%62 = load float, ptr %61, align 4
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds float, ptr %63, i64 2
%65 = load float, ptr %64, align 4
%66 = fsub float %62, %65
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds float, ptr %67, i64 0
%69 = load float, ptr %68, align 4
%70 = load ptr, ptr %4, align 8
%71 = getelementptr inbounds float, ptr %70, i64 1
%72 = load float, ptr %71, align 4
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds float, ptr %73, i64 2
%75 = load float, ptr %74, align 4
%76 = fsub float %72, %75
%77 = fmul float %69, %76
%78 = fneg float %77
%79 = call float @llvm.fmuladd.f32(float %59, float %66, float %78)
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds float, ptr %80, i64 3
store float %79, ptr %81, align 4
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds float, ptr %82, i64 3
%84 = load float, ptr %83, align 4
%85 = call i64 @pow(float noundef %84, double noundef 2.000000e+00)
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds float, ptr %86, i64 3
%88 = load float, ptr %87, align 4
%89 = call i64 @pow(float noundef %88, double noundef 2.000000e+00)
%90 = add nsw i64 %85, %89
%91 = load ptr, ptr %6, align 8
%92 = getelementptr inbounds float, ptr %91, i64 3
%93 = load float, ptr %92, align 4
%94 = call i64 @pow(float noundef %93, double noundef 2.000000e+00)
%95 = add nsw i64 %90, %94
%96 = call float @sqrt(i64 noundef %95)
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = call i64 @pow(float noundef %99, double noundef 2.000000e+00)
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds float, ptr %101, i64 0
%103 = load float, ptr %102, align 4
%104 = call i64 @pow(float noundef %103, double noundef 2.000000e+00)
%105 = add nsw i64 %100, %104
%106 = load ptr, ptr %6, align 8
%107 = getelementptr inbounds float, ptr %106, i64 0
%108 = load float, ptr %107, align 4
%109 = call i64 @pow(float noundef %108, double noundef 2.000000e+00)
%110 = add nsw i64 %105, %109
%111 = call float @sqrt(i64 noundef %110)
%112 = fdiv float %96, %111
ret float %112
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @sqrt(i64 noundef) #2
declare i64 @pow(float noundef, double 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/tmphhtbqio3.c'
source_filename = "/tmp/tmphhtbqio3.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 @safe_free(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)
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %8
8: ; preds = %7, %1
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/tmphhtbqio3.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 @safe_free(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)
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %8
8: ; preds = %7, %1
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/tmplcza3rek.c'
source_filename = "/tmp/tmplcza3rek.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 [4 x i8] c"+-\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c"+- Usage: convert-forces-to-deltaf <options> filebase <options>\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"+- -a ## amplitude (in Angstrom)\0A\00", align 1
@.str.3 = private unnamed_addr constant [77 x i8] c"+- -k ## cantilever stiffness (in kcal/mol/Angstrom/Angstrom)\0A\00", align 1
@.str.4 = private unnamed_addr constant [65 x i8] c"+- -f ## cantilever oscillating frequency (in Hz)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmplcza3rek.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 [4 x i8] c"+-\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c"+- Usage: convert-forces-to-deltaf <options> filebase <options>\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"+- -a ## amplitude (in Angstrom)\0A\00", align 1
@.str.3 = private unnamed_addr constant [77 x i8] c"+- -k ## cantilever stiffness (in kcal/mol/Angstrom/Angstrom)\0A\00", align 1
@.str.4 = private unnamed_addr constant [65 x i8] c"+- -f ## cantilever oscillating frequency (in Hz)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmpr_qgpklq.c'
source_filename = "/tmp/tmpr_qgpklq.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 [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 224 should be 14\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_224() #0 {
%1 = call i32 @isqrt(i32 noundef 224)
%2 = icmp eq i32 %1, 14
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1125, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpr_qgpklq.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 [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 224 should be 14\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_224() #0 {
%1 = call i32 @isqrt(i32 noundef 224)
%2 = icmp eq i32 %1, 14
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1125, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpwmqhfz9h.c'
source_filename = "/tmp/tmpwmqhfz9h.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 @uniform_random_value(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 double @int64(ptr noundef %3)
%5 = fmul double 0x3BF0000000000000, %4
ret double %5
}
declare double @int64(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/tmpwmqhfz9h.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 @uniform_random_value(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 double @int64(ptr noundef %3)
%5 = fmul double 0x3BF0000000000000, %4
ret double %5
}
declare double @int64(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/tmpa37y_vyr.c'
source_filename = "/tmp/tmpa37y_vyr.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 i32 @get_XCreateWindowEvent_y(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
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/tmpa37y_vyr.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 i32 @get_XCreateWindowEvent_y(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
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/tmpsrhct284.c'
source_filename = "/tmp/tmpsrhct284.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
; 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
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
%5 = xor i1 %4, true
%6 = zext i1 %5 to i32
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsrhct284.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
; 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
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
%5 = xor i1 %4, true
%6 = zext i1 %5 to i32
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
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"}
|
; ModuleID = '/tmp/tmp3_7ar9ao.c'
source_filename = "/tmp/tmp3_7ar9ao.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/tmp3_7ar9ao.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/tmpsij0dbl2.c'
source_filename = "/tmp/tmpsij0dbl2.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 @NormalizeString(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 @NormalizeStringN(ptr noundef %3, i32 noundef 0)
ret ptr %4
}
declare ptr @NormalizeStringN(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/tmpsij0dbl2.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 @NormalizeString(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 @NormalizeStringN(ptr noundef %3, i32 noundef 0)
ret ptr %4
}
declare ptr @NormalizeStringN(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/tmpq9j974pd.c'
source_filename = "/tmp/tmpq9j974pd.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"
@inputTest.spinner = internal constant [4 x i8] c"/-\\|", align 1
@A_BOLD = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"Press keys (or mouse buttons) to show their names\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Press spacebar to finish\00", align 1
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"Key Pressed: \00", align 1
@KEY_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"Press some keys for 5 seconds\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Pressing ^C should do nothing\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"Time = %d\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"Press a key, followed by ENTER\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"The character should now have been deleted\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"The window should have moved\00", align 1
@.str.11 = private unnamed_addr constant [58 x i8] c"This text should have appeared without you pressing a key\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"Enter a number then a string seperated by space\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1
@.str.14 = private unnamed_addr constant [22 x i8] c"String: %s Number: %d\00", align 1
@.str.15 = private unnamed_addr constant [29 x i8] c"Enter a 5 character string: \00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"String: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inputTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [80 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %14, align 4
%15 = load ptr, ptr %2, align 8
%16 = call i32 @wclear(ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @getmaxyx(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @getbegyx(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 3
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %27, 3
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 2
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %38, %39
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
%43 = sub nsw i32 %42, 2
%44 = call ptr @subwin(ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %37, i32 noundef %43)
store ptr %44, ptr %13, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %1
br label %235
47: ; preds = %1
%48 = load ptr, ptr %13, align 8
%49 = load i32, ptr @A_BOLD, align 4
%50 = call i32 @wbkgd(ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %13, align 8
%52 = load i32, ptr @ACS_VLINE, align 4
%53 = load i32, ptr @ACS_HLINE, align 4
%54 = call i32 @box(ptr noundef %51, i32 noundef %52, i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @wrefresh(ptr noundef %55)
%57 = call i32 (...) @nocbreak()
%58 = load ptr, ptr %2, align 8
%59 = call i32 @wclear(ptr noundef %58)
%60 = load ptr, ptr %2, align 8
%61 = call i32 @mvwaddstr(ptr noundef %60, i32 noundef 1, i32 noundef 1, ptr noundef @.str)
%62 = load ptr, ptr %2, align 8
%63 = call i32 @mvwaddstr(ptr noundef %62, i32 noundef 2, i32 noundef 1, ptr noundef @.str.1)
%64 = load ptr, ptr %2, align 8
%65 = call i32 @wrefresh(ptr noundef %64)
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr @TRUE, align 4
%68 = call i32 @keypad(ptr noundef %66, i32 noundef %67)
%69 = call i32 (...) @raw()
%70 = call i32 (...) @noecho()
%71 = load ptr, ptr %2, align 8
%72 = call i32 @wtimeout(ptr noundef %71, i32 noundef 200)
%73 = call i32 @curs_set(i32 noundef 0)
br label %74
74: ; preds = %47, %131
br label %75
75: ; preds = %74, %97
%76 = load ptr, ptr %2, align 8
%77 = call i32 @wgetch(ptr noundef %76)
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr @ERR, align 4
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %96
81: ; preds = %75
%82 = load i32, ptr %14, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %14, align 4
%84 = load i32, ptr %14, align 4
%85 = icmp eq i32 %84, 4
br i1 %85, label %86, label %87
86: ; preds = %81
store i32 0, ptr %14, align 4
br label %87
87: ; preds = %86, %81
%88 = load ptr, ptr %2, align 8
%89 = load i32, ptr %14, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [4 x i8], ptr @inputTest.spinner, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = call i32 @mvwaddch(ptr noundef %88, i32 noundef 3, i32 noundef 3, i8 noundef signext %92)
%94 = load ptr, ptr %2, align 8
%95 = call i32 @wrefresh(ptr noundef %94)
br label %97
96: ; preds = %75
br label %98
97: ; preds = %87
br label %75
98: ; preds = %96
%99 = load ptr, ptr %2, align 8
%100 = call i32 @mvwaddstr(ptr noundef %99, i32 noundef 3, i32 noundef 5, ptr noundef @.str.2)
%101 = load ptr, ptr %2, align 8
%102 = call i32 @wclrtoeol(ptr noundef %101)
%103 = load i32, ptr %10, align 4
%104 = load i32, ptr @KEY_MIN, align 4
%105 = icmp sge i32 %103, %104
br i1 %105, label %106, label %111
106: ; preds = %98
%107 = load ptr, ptr %2, align 8
%108 = load i32, ptr %10, align 4
%109 = call i32 @keyname(i32 noundef %108)
%110 = call i32 @wprintw(ptr noundef %107, ptr noundef @.str.3, i32 noundef %109)
br label %125
111: ; preds = %98
%112 = load i32, ptr %10, align 4
%113 = call i64 @isprint(i32 noundef %112)
%114 = icmp ne i64 %113, 0
br i1 %114, label %115, label %119
115: ; preds = %111
%116 = load ptr, ptr %2, align 8
%117 = load i32, ptr %10, align 4
%118 = call i32 @wprintw(ptr noundef %116, ptr noundef @.str.4, i32 noundef %117)
br label %124
119: ; preds = %111
%120 = load ptr, ptr %2, align 8
%121 = load i32, ptr %10, align 4
%122 = call i32 @unctrl(i32 noundef %121)
%123 = call i32 @wprintw(ptr noundef %120, ptr noundef @.str.3, i32 noundef %122)
br label %124
124: ; preds = %119, %115
br label %125
125: ; preds = %124, %106
%126 = load ptr, ptr %2, align 8
%127 = call i32 @wrefresh(ptr noundef %126)
%128 = load i32, ptr %10, align 4
%129 = icmp eq i32 %128, 32
br i1 %129, label %130, label %131
130: ; preds = %125
br label %132
131: ; preds = %125
br label %74
132: ; preds = %130
%133 = load ptr, ptr %2, align 8
%134 = call i32 @wtimeout(ptr noundef %133, i32 noundef -1)
%135 = call i32 @curs_set(i32 noundef 1)
%136 = load ptr, ptr %2, align 8
%137 = call i32 @wclear(ptr noundef %136)
%138 = load ptr, ptr %2, align 8
%139 = call i32 @mvwaddstr(ptr noundef %138, i32 noundef 2, i32 noundef 1, ptr noundef @.str.5)
%140 = load ptr, ptr %2, align 8
%141 = call i32 @mvwaddstr(ptr noundef %140, i32 noundef 1, i32 noundef 1, ptr noundef @.str.6)
%142 = load ptr, ptr %2, align 8
%143 = call i32 @wrefresh(ptr noundef %142)
%144 = load ptr, ptr %13, align 8
%145 = call i32 @werase(ptr noundef %144)
%146 = load ptr, ptr %13, align 8
%147 = load i32, ptr @ACS_VLINE, align 4
%148 = load i32, ptr @ACS_HLINE, align 4
%149 = call i32 @box(ptr noundef %146, i32 noundef %147, i32 noundef %148)
store i32 0, ptr %9, align 4
br label %150
150: ; preds = %161, %132
%151 = load i32, ptr %9, align 4
%152 = icmp slt i32 %151, 5
br i1 %152, label %153, label %164
153: ; preds = %150
%154 = load ptr, ptr %13, align 8
%155 = load i32, ptr %9, align 4
%156 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %154, i32 noundef 1, i32 noundef 1, ptr noundef @.str.7, i32 noundef %155)
%157 = load ptr, ptr %13, align 8
%158 = call i32 @wrefresh(ptr noundef %157)
%159 = call i32 @napms(i32 noundef 1000)
%160 = call i32 (...) @flushinp()
br label %161
161: ; preds = %153
%162 = load i32, ptr %9, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %9, align 4
br label %150, !llvm.loop !6
164: ; preds = %150
%165 = load ptr, ptr %13, align 8
%166 = call i32 @delwin(ptr noundef %165)
%167 = load ptr, ptr %2, align 8
%168 = call i32 @werase(ptr noundef %167)
%169 = call i32 (...) @flash()
%170 = load ptr, ptr %2, align 8
%171 = call i32 @wrefresh(ptr noundef %170)
%172 = call i32 @napms(i32 noundef 500)
%173 = call i32 (...) @flushinp()
%174 = load ptr, ptr %2, align 8
%175 = call i32 @mvwaddstr(ptr noundef %174, i32 noundef 2, i32 noundef 1, ptr noundef @.str.8)
%176 = load ptr, ptr %2, align 8
%177 = call i32 @wmove(ptr noundef %176, i32 noundef 9, i32 noundef 10)
%178 = load ptr, ptr %2, align 8
%179 = call i32 @wrefresh(ptr noundef %178)
%180 = call i32 (...) @echo()
%181 = load ptr, ptr %2, align 8
%182 = load i32, ptr @TRUE, align 4
%183 = call i32 @keypad(ptr noundef %181, i32 noundef %182)
%184 = call i32 (...) @raw()
%185 = load ptr, ptr %2, align 8
%186 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%187 = call i32 @wgetnstr(ptr noundef %185, ptr noundef %186, i32 noundef 3)
%188 = call i32 (...) @flushinp()
%189 = load ptr, ptr %2, align 8
%190 = call i32 @wmove(ptr noundef %189, i32 noundef 9, i32 noundef 10)
%191 = load ptr, ptr %2, align 8
%192 = call i32 @wdelch(ptr noundef %191)
%193 = load ptr, ptr %2, align 8
%194 = call i32 @mvwaddstr(ptr noundef %193, i32 noundef 4, i32 noundef 1, ptr noundef @.str.9)
%195 = load ptr, ptr %2, align 8
%196 = call i32 @Continue(ptr noundef %195)
%197 = call i32 (...) @refresh()
%198 = load ptr, ptr %2, align 8
%199 = call i32 @wclear(ptr noundef %198)
%200 = call i32 (...) @echo()
%201 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
store i8 0, ptr %201, align 16
%202 = load ptr, ptr %2, align 8
%203 = call i32 @mvwaddstr(ptr noundef %202, i32 noundef 3, i32 noundef 2, ptr noundef @.str.10)
%204 = load ptr, ptr %2, align 8
%205 = call i32 @mvwaddstr(ptr noundef %204, i32 noundef 4, i32 noundef 2, ptr noundef @.str.11)
%206 = load ptr, ptr %2, align 8
%207 = call i32 @mvwaddstr(ptr noundef %206, i32 noundef 6, i32 noundef 2, ptr noundef @.str.12)
%208 = load ptr, ptr %2, align 8
%209 = call i32 @mvwin(ptr noundef %208, i32 noundef 2, i32 noundef 1)
%210 = load ptr, ptr %2, align 8
%211 = call i32 @wrefresh(ptr noundef %210)
%212 = load ptr, ptr %2, align 8
%213 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%214 = call i32 @mvwscanw(ptr noundef %212, i32 noundef 7, i32 noundef 6, ptr noundef @.str.13, ptr noundef %11, ptr noundef %213)
%215 = load ptr, ptr %2, align 8
%216 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%217 = load i32, ptr %11, align 4
%218 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %215, i32 noundef 8, i32 noundef 6, ptr noundef @.str.14, ptr noundef %216, i32 noundef %217)
%219 = load ptr, ptr %2, align 8
%220 = call i32 @Continue(ptr noundef %219)
%221 = call i32 (...) @refresh()
%222 = load ptr, ptr %2, align 8
%223 = call i32 @wclear(ptr noundef %222)
%224 = call i32 (...) @echo()
%225 = load ptr, ptr %2, align 8
%226 = call i32 @mvwaddstr(ptr noundef %225, i32 noundef 3, i32 noundef 2, ptr noundef @.str.15)
%227 = load ptr, ptr %2, align 8
%228 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%229 = call i32 @wgetnstr(ptr noundef %227, ptr noundef %228, i32 noundef 5)
%230 = load ptr, ptr %2, align 8
%231 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%232 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %230, i32 noundef 4, i32 noundef 2, ptr noundef @.str.16, ptr noundef %231)
%233 = load ptr, ptr %2, align 8
%234 = call i32 @Continue(ptr noundef %233)
br label %235
235: ; preds = %164, %46
ret void
}
declare i32 @wclear(ptr noundef) #1
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getbegyx(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @subwin(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wbkgd(ptr noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @nocbreak(...) #1
declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @noecho(...) #1
declare i32 @wtimeout(ptr noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @wgetch(ptr noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @wclrtoeol(ptr noundef) #1
declare i32 @wprintw(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @keyname(i32 noundef) #1
declare i64 @isprint(i32 noundef) #1
declare i32 @unctrl(i32 noundef) #1
declare i32 @werase(ptr noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @napms(i32 noundef) #1
declare i32 @flushinp(...) #1
declare i32 @delwin(ptr noundef) #1
declare i32 @flash(...) #1
declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @echo(...) #1
declare i32 @wgetnstr(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @wdelch(ptr noundef) #1
declare i32 @Continue(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @mvwin(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwscanw(ptr noundef, i32 noundef, i32 noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq9j974pd.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"
@inputTest.spinner = internal constant [4 x i8] c"/-\\|", align 1
@A_BOLD = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"Press keys (or mouse buttons) to show their names\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Press spacebar to finish\00", align 1
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"Key Pressed: \00", align 1
@KEY_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"Press some keys for 5 seconds\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Pressing ^C should do nothing\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"Time = %d\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"Press a key, followed by ENTER\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"The character should now have been deleted\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"The window should have moved\00", align 1
@.str.11 = private unnamed_addr constant [58 x i8] c"This text should have appeared without you pressing a key\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"Enter a number then a string seperated by space\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1
@.str.14 = private unnamed_addr constant [22 x i8] c"String: %s Number: %d\00", align 1
@.str.15 = private unnamed_addr constant [29 x i8] c"Enter a 5 character string: \00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"String: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inputTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [80 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %14, align 4
%15 = load ptr, ptr %2, align 8
%16 = call i32 @wclear(ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @getmaxyx(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @getbegyx(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 3
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %27, 3
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 2
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %38, %39
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
%43 = sub nsw i32 %42, 2
%44 = call ptr @subwin(ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %37, i32 noundef %43)
store ptr %44, ptr %13, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %1
br label %239
47: ; preds = %1
%48 = load ptr, ptr %13, align 8
%49 = load i32, ptr @A_BOLD, align 4
%50 = call i32 @wbkgd(ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %13, align 8
%52 = load i32, ptr @ACS_VLINE, align 4
%53 = load i32, ptr @ACS_HLINE, align 4
%54 = call i32 @box(ptr noundef %51, i32 noundef %52, i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @wrefresh(ptr noundef %55)
%57 = call i32 (...) @nocbreak()
%58 = load ptr, ptr %2, align 8
%59 = call i32 @wclear(ptr noundef %58)
%60 = load ptr, ptr %2, align 8
%61 = call i32 @mvwaddstr(ptr noundef %60, i32 noundef 1, i32 noundef 1, ptr noundef @.str)
%62 = load ptr, ptr %2, align 8
%63 = call i32 @mvwaddstr(ptr noundef %62, i32 noundef 2, i32 noundef 1, ptr noundef @.str.1)
%64 = load ptr, ptr %2, align 8
%65 = call i32 @wrefresh(ptr noundef %64)
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr @TRUE, align 4
%68 = call i32 @keypad(ptr noundef %66, i32 noundef %67)
%69 = call i32 (...) @raw()
%70 = call i32 (...) @noecho()
%71 = load ptr, ptr %2, align 8
%72 = call i32 @wtimeout(ptr noundef %71, i32 noundef 200)
%73 = call i32 @curs_set(i32 noundef 0)
br label %74
74: ; preds = %129, %47
%75 = load ptr, ptr %2, align 8
%76 = call i32 @wgetch(ptr noundef %75)
store i32 %76, ptr %10, align 4
%77 = load i32, ptr %10, align 4
%78 = load i32, ptr @ERR, align 4
%79 = icmp eq i32 %77, %78
br i1 %79, label %.lr.ph, label %95
.lr.ph: ; preds = %74
br label %80
80: ; preds = %.lr.ph, %96
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load i32, ptr %14, align 4
%84 = icmp eq i32 %83, 4
br i1 %84, label %85, label %86
85: ; preds = %80
store i32 0, ptr %14, align 4
br label %86
86: ; preds = %85, %80
%87 = load ptr, ptr %2, align 8
%88 = load i32, ptr %14, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [4 x i8], ptr @inputTest.spinner, i64 0, i64 %89
%91 = load i8, ptr %90, align 1
%92 = call i32 @mvwaddch(ptr noundef %87, i32 noundef 3, i32 noundef 3, i8 noundef signext %91)
%93 = load ptr, ptr %2, align 8
%94 = call i32 @wrefresh(ptr noundef %93)
br label %96
._crit_edge: ; preds = %96
br label %95
95: ; preds = %._crit_edge, %74
br label %102
96: ; preds = %86
%97 = load ptr, ptr %2, align 8
%98 = call i32 @wgetch(ptr noundef %97)
store i32 %98, ptr %10, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr @ERR, align 4
%101 = icmp eq i32 %99, %100
br i1 %101, label %80, label %._crit_edge
102: ; preds = %95
%103 = load ptr, ptr %2, align 8
%104 = call i32 @mvwaddstr(ptr noundef %103, i32 noundef 3, i32 noundef 5, ptr noundef @.str.2)
%105 = load ptr, ptr %2, align 8
%106 = call i32 @wclrtoeol(ptr noundef %105)
%107 = load i32, ptr %10, align 4
%108 = load i32, ptr @KEY_MIN, align 4
%109 = icmp sge i32 %107, %108
br i1 %109, label %110, label %115
110: ; preds = %102
%111 = load ptr, ptr %2, align 8
%112 = load i32, ptr %10, align 4
%113 = call i32 @keyname(i32 noundef %112)
%114 = call i32 @wprintw(ptr noundef %111, ptr noundef @.str.3, i32 noundef %113)
br label %129
115: ; preds = %102
%116 = load i32, ptr %10, align 4
%117 = call i64 @isprint(i32 noundef %116)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %123
119: ; preds = %115
%120 = load ptr, ptr %2, align 8
%121 = load i32, ptr %10, align 4
%122 = call i32 @wprintw(ptr noundef %120, ptr noundef @.str.4, i32 noundef %121)
br label %128
123: ; preds = %115
%124 = load ptr, ptr %2, align 8
%125 = load i32, ptr %10, align 4
%126 = call i32 @unctrl(i32 noundef %125)
%127 = call i32 @wprintw(ptr noundef %124, ptr noundef @.str.3, i32 noundef %126)
br label %128
128: ; preds = %123, %119
br label %129
129: ; preds = %128, %110
%130 = load ptr, ptr %2, align 8
%131 = call i32 @wrefresh(ptr noundef %130)
%132 = load i32, ptr %10, align 4
%133 = icmp eq i32 %132, 32
br i1 %133, label %134, label %74
134: ; preds = %129
br label %135
135: ; preds = %134
%136 = load ptr, ptr %2, align 8
%137 = call i32 @wtimeout(ptr noundef %136, i32 noundef -1)
%138 = call i32 @curs_set(i32 noundef 1)
%139 = load ptr, ptr %2, align 8
%140 = call i32 @wclear(ptr noundef %139)
%141 = load ptr, ptr %2, align 8
%142 = call i32 @mvwaddstr(ptr noundef %141, i32 noundef 2, i32 noundef 1, ptr noundef @.str.5)
%143 = load ptr, ptr %2, align 8
%144 = call i32 @mvwaddstr(ptr noundef %143, i32 noundef 1, i32 noundef 1, ptr noundef @.str.6)
%145 = load ptr, ptr %2, align 8
%146 = call i32 @wrefresh(ptr noundef %145)
%147 = load ptr, ptr %13, align 8
%148 = call i32 @werase(ptr noundef %147)
%149 = load ptr, ptr %13, align 8
%150 = load i32, ptr @ACS_VLINE, align 4
%151 = load i32, ptr @ACS_HLINE, align 4
%152 = call i32 @box(ptr noundef %149, i32 noundef %150, i32 noundef %151)
store i32 0, ptr %9, align 4
%153 = load i32, ptr %9, align 4
%154 = icmp slt i32 %153, 5
br i1 %154, label %.lr.ph2, label %168
.lr.ph2: ; preds = %135
br label %155
155: ; preds = %.lr.ph2, %163
%156 = load ptr, ptr %13, align 8
%157 = load i32, ptr %9, align 4
%158 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %156, i32 noundef 1, i32 noundef 1, ptr noundef @.str.7, i32 noundef %157)
%159 = load ptr, ptr %13, align 8
%160 = call i32 @wrefresh(ptr noundef %159)
%161 = call i32 @napms(i32 noundef 1000)
%162 = call i32 (...) @flushinp()
br label %163
163: ; preds = %155
%164 = load i32, ptr %9, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %9, align 4
%166 = load i32, ptr %9, align 4
%167 = icmp slt i32 %166, 5
br i1 %167, label %155, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %163
br label %168
168: ; preds = %._crit_edge3, %135
%169 = load ptr, ptr %13, align 8
%170 = call i32 @delwin(ptr noundef %169)
%171 = load ptr, ptr %2, align 8
%172 = call i32 @werase(ptr noundef %171)
%173 = call i32 (...) @flash()
%174 = load ptr, ptr %2, align 8
%175 = call i32 @wrefresh(ptr noundef %174)
%176 = call i32 @napms(i32 noundef 500)
%177 = call i32 (...) @flushinp()
%178 = load ptr, ptr %2, align 8
%179 = call i32 @mvwaddstr(ptr noundef %178, i32 noundef 2, i32 noundef 1, ptr noundef @.str.8)
%180 = load ptr, ptr %2, align 8
%181 = call i32 @wmove(ptr noundef %180, i32 noundef 9, i32 noundef 10)
%182 = load ptr, ptr %2, align 8
%183 = call i32 @wrefresh(ptr noundef %182)
%184 = call i32 (...) @echo()
%185 = load ptr, ptr %2, align 8
%186 = load i32, ptr @TRUE, align 4
%187 = call i32 @keypad(ptr noundef %185, i32 noundef %186)
%188 = call i32 (...) @raw()
%189 = load ptr, ptr %2, align 8
%190 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%191 = call i32 @wgetnstr(ptr noundef %189, ptr noundef %190, i32 noundef 3)
%192 = call i32 (...) @flushinp()
%193 = load ptr, ptr %2, align 8
%194 = call i32 @wmove(ptr noundef %193, i32 noundef 9, i32 noundef 10)
%195 = load ptr, ptr %2, align 8
%196 = call i32 @wdelch(ptr noundef %195)
%197 = load ptr, ptr %2, align 8
%198 = call i32 @mvwaddstr(ptr noundef %197, i32 noundef 4, i32 noundef 1, ptr noundef @.str.9)
%199 = load ptr, ptr %2, align 8
%200 = call i32 @Continue(ptr noundef %199)
%201 = call i32 (...) @refresh()
%202 = load ptr, ptr %2, align 8
%203 = call i32 @wclear(ptr noundef %202)
%204 = call i32 (...) @echo()
%205 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
store i8 0, ptr %205, align 16
%206 = load ptr, ptr %2, align 8
%207 = call i32 @mvwaddstr(ptr noundef %206, i32 noundef 3, i32 noundef 2, ptr noundef @.str.10)
%208 = load ptr, ptr %2, align 8
%209 = call i32 @mvwaddstr(ptr noundef %208, i32 noundef 4, i32 noundef 2, ptr noundef @.str.11)
%210 = load ptr, ptr %2, align 8
%211 = call i32 @mvwaddstr(ptr noundef %210, i32 noundef 6, i32 noundef 2, ptr noundef @.str.12)
%212 = load ptr, ptr %2, align 8
%213 = call i32 @mvwin(ptr noundef %212, i32 noundef 2, i32 noundef 1)
%214 = load ptr, ptr %2, align 8
%215 = call i32 @wrefresh(ptr noundef %214)
%216 = load ptr, ptr %2, align 8
%217 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%218 = call i32 @mvwscanw(ptr noundef %216, i32 noundef 7, i32 noundef 6, ptr noundef @.str.13, ptr noundef %11, ptr noundef %217)
%219 = load ptr, ptr %2, align 8
%220 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%221 = load i32, ptr %11, align 4
%222 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %219, i32 noundef 8, i32 noundef 6, ptr noundef @.str.14, ptr noundef %220, i32 noundef %221)
%223 = load ptr, ptr %2, align 8
%224 = call i32 @Continue(ptr noundef %223)
%225 = call i32 (...) @refresh()
%226 = load ptr, ptr %2, align 8
%227 = call i32 @wclear(ptr noundef %226)
%228 = call i32 (...) @echo()
%229 = load ptr, ptr %2, align 8
%230 = call i32 @mvwaddstr(ptr noundef %229, i32 noundef 3, i32 noundef 2, ptr noundef @.str.15)
%231 = load ptr, ptr %2, align 8
%232 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%233 = call i32 @wgetnstr(ptr noundef %231, ptr noundef %232, i32 noundef 5)
%234 = load ptr, ptr %2, align 8
%235 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%236 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %234, i32 noundef 4, i32 noundef 2, ptr noundef @.str.16, ptr noundef %235)
%237 = load ptr, ptr %2, align 8
%238 = call i32 @Continue(ptr noundef %237)
br label %239
239: ; preds = %168, %46
ret void
}
declare i32 @wclear(ptr noundef) #1
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getbegyx(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @subwin(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wbkgd(ptr noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @nocbreak(...) #1
declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @noecho(...) #1
declare i32 @wtimeout(ptr noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @wgetch(ptr noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @wclrtoeol(ptr noundef) #1
declare i32 @wprintw(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @keyname(i32 noundef) #1
declare i64 @isprint(i32 noundef) #1
declare i32 @unctrl(i32 noundef) #1
declare i32 @werase(ptr noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @napms(i32 noundef) #1
declare i32 @flushinp(...) #1
declare i32 @delwin(ptr noundef) #1
declare i32 @flash(...) #1
declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @echo(...) #1
declare i32 @wgetnstr(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @wdelch(ptr noundef) #1
declare i32 @Continue(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @mvwin(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwscanw(ptr noundef, i32 noundef, i32 noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw19rvi31.c'
source_filename = "/tmp/tmpw19rvi31.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/tmpw19rvi31.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/tmpz3w0bgl2.c'
source_filename = "/tmp/tmpz3w0bgl2.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"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!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/tmpz3w0bgl2.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"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!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/tmp6wfnkln_.c'
source_filename = "/tmp/tmp6wfnkln_.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 [2 x i8] c"\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
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 10, ptr %4, align 4
store i32 1, ptr %2, align 4
br label %6
6: ; preds = %23, %0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %6
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %5, align 4
store i32 1, ptr %3, align 4
br label %12
12: ; preds = %18, %10
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = call i32 @printf(ptr noundef @.str)
br label %18
18: ; preds = %16
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %12, !llvm.loop !6
21: ; preds = %12
%22 = call i32 @printf(ptr noundef @.str.1)
br label %23
23: ; preds = %21
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
br label %6, !llvm.loop !8
26: ; preds = %6
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6wfnkln_.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 [2 x i8] c"\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
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 10, ptr %4, align 4
store i32 1, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph2, label %30
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %24
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %5, align 4
store i32 1, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %.lr.ph, label %22
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %16
%15 = call i32 @printf(ptr noundef @.str)
br label %16
16: ; preds = %14
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %9
%23 = call i32 @printf(ptr noundef @.str.1)
br label %24
24: ; preds = %22
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %30
30: ; preds = %._crit_edge3, %0
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpasa_uzxm.c'
source_filename = "/tmp/tmpasa_uzxm.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/tmpasa_uzxm.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/tmp57ub6bn4.c'
source_filename = "/tmp/tmp57ub6bn4.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 @ZeroReturn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 10)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #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/tmp57ub6bn4.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 @ZeroReturn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 10)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #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/tmpzozv53ng.c'
source_filename = "/tmp/tmpzozv53ng.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/tmpzozv53ng.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/tmp1mg1zg_z.c'
source_filename = "/tmp/tmp1mg1zg_z.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">4;0m\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"?47l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ansi_close() #0 {
%1 = call i32 @ansi_escape(ptr noundef @.str)
%2 = call i32 @ansi_escape(ptr noundef @.str.1)
ret void
}
declare i32 @ansi_escape(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/tmp1mg1zg_z.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">4;0m\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"?47l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ansi_close() #0 {
%1 = call i32 @ansi_escape(ptr noundef @.str)
%2 = call i32 @ansi_escape(ptr noundef @.str.1)
ret void
}
declare i32 @ansi_escape(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/tmpr_j_cojx.c'
source_filename = "/tmp/tmpr_j_cojx.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 @qu_append_c_name_upper(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 i8, ptr %5, align 1
%7 = call i64 @isdigit(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @obstack_1grow(ptr noundef %10, i8 noundef signext 95)
br label %12
12: ; preds = %9, %2
br label %13
13: ; preds = %31, %12
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %17, label %34
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = call i64 @isalnum(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = call signext i8 @toupper(i8 noundef signext %25)
%27 = call i32 @obstack_1grow(ptr noundef %23, i8 noundef signext %26)
br label %31
28: ; preds = %17
%29 = load ptr, ptr %3, align 8
%30 = call i32 @obstack_1grow(ptr noundef %29, i8 noundef signext 95)
br label %31
31: ; preds = %28, %22
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
br label %13, !llvm.loop !6
34: ; preds = %13
ret void
}
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @obstack_1grow(ptr noundef, i8 noundef signext) #1
declare i64 @isalnum(i8 noundef signext) #1
declare signext i8 @toupper(i8 noundef signext) #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/tmpr_j_cojx.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 @qu_append_c_name_upper(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 i8, ptr %5, align 1
%7 = call i64 @isdigit(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @obstack_1grow(ptr noundef %10, i8 noundef signext 95)
br label %12
12: ; preds = %9, %2
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %.lr.ph, label %36
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %30
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = call i64 @isalnum(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %16
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = call signext i8 @toupper(i8 noundef signext %24)
%26 = call i32 @obstack_1grow(ptr noundef %22, i8 noundef signext %25)
br label %30
27: ; preds = %16
%28 = load ptr, ptr %3, align 8
%29 = call i32 @obstack_1grow(ptr noundef %28, i8 noundef signext 95)
br label %30
30: ; preds = %27, %21
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %12
ret void
}
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @obstack_1grow(ptr noundef, i8 noundef signext) #1
declare i64 @isalnum(i8 noundef signext) #1
declare signext i8 @toupper(i8 noundef signext) #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/tmptlb1511t.c'
source_filename = "/tmp/tmptlb1511t.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 @close_power_of_two(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @pow(i32 noundef 2, i32 noundef %6)
%8 = load i32, ptr %4, align 4
%9 = sdiv i32 %7, %8
%10 = call double @log(i32 noundef %9)
%11 = call double @log(i32 noundef 2)
%12 = fdiv double %10, %11
%13 = fcmp oge double %12, 0.000000e+00
br i1 %13, label %14, label %24
14: ; preds = %2
%15 = load i32, ptr %3, align 4
%16 = call i32 @pow(i32 noundef 2, i32 noundef %15)
%17 = load i32, ptr %4, align 4
%18 = sdiv i32 %16, %17
%19 = call double @log(i32 noundef %18)
%20 = call double @log(i32 noundef 2)
%21 = fdiv double %19, %20
%22 = fadd double %21, 5.000000e-01
%23 = fptosi double %22 to i64
br label %34
24: ; preds = %2
%25 = load i32, ptr %3, align 4
%26 = call i32 @pow(i32 noundef 2, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %26, %27
%29 = call double @log(i32 noundef %28)
%30 = call double @log(i32 noundef 2)
%31 = fdiv double %29, %30
%32 = fsub double %31, 5.000000e-01
%33 = fptosi double %32 to i64
br label %34
34: ; preds = %24, %14
%35 = phi i64 [ %23, %14 ], [ %33, %24 ]
%36 = trunc i64 %35 to i32
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = call i32 @pow(i32 noundef 2, i32 noundef %37)
%39 = load i32, ptr %4, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %3, align 4
%42 = call i32 @pow(i32 noundef 2, i32 noundef %41)
%43 = icmp slt i32 %40, %42
br i1 %43, label %44, label %47
44: ; preds = %34
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
br label %47
47: ; preds = %44, %34
%48 = load i32, ptr %5, align 4
ret i32 %48
}
declare double @log(i32 noundef) #1
declare i32 @pow(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/tmptlb1511t.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 @close_power_of_two(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @pow(i32 noundef 2, i32 noundef %6)
%8 = load i32, ptr %4, align 4
%9 = sdiv i32 %7, %8
%10 = call double @log(i32 noundef %9)
%11 = call double @log(i32 noundef 2)
%12 = fdiv double %10, %11
%13 = fcmp oge double %12, 0.000000e+00
br i1 %13, label %14, label %24
14: ; preds = %2
%15 = load i32, ptr %3, align 4
%16 = call i32 @pow(i32 noundef 2, i32 noundef %15)
%17 = load i32, ptr %4, align 4
%18 = sdiv i32 %16, %17
%19 = call double @log(i32 noundef %18)
%20 = call double @log(i32 noundef 2)
%21 = fdiv double %19, %20
%22 = fadd double %21, 5.000000e-01
%23 = fptosi double %22 to i64
br label %34
24: ; preds = %2
%25 = load i32, ptr %3, align 4
%26 = call i32 @pow(i32 noundef 2, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %26, %27
%29 = call double @log(i32 noundef %28)
%30 = call double @log(i32 noundef 2)
%31 = fdiv double %29, %30
%32 = fsub double %31, 5.000000e-01
%33 = fptosi double %32 to i64
br label %34
34: ; preds = %24, %14
%35 = phi i64 [ %23, %14 ], [ %33, %24 ]
%36 = trunc i64 %35 to i32
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = call i32 @pow(i32 noundef 2, i32 noundef %37)
%39 = load i32, ptr %4, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %3, align 4
%42 = call i32 @pow(i32 noundef 2, i32 noundef %41)
%43 = icmp slt i32 %40, %42
br i1 %43, label %44, label %47
44: ; preds = %34
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
br label %47
47: ; preds = %44, %34
%48 = load i32, ptr %5, align 4
ret i32 %48
}
declare double @log(i32 noundef) #1
declare i32 @pow(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/tmpi4rh7i8d.c'
source_filename = "/tmp/tmpi4rh7i8d.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 @Joy_Beta_Left(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @cpc_key_press(i32 noundef 98)
br label %9
7: ; preds = %1
%8 = call i32 @cpc_key_unpress(i32 noundef 98)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @cpc_key_press(i32 noundef) #1
declare i32 @cpc_key_unpress(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/tmpi4rh7i8d.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 @Joy_Beta_Left(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @cpc_key_press(i32 noundef 98)
br label %9
7: ; preds = %1
%8 = call i32 @cpc_key_unpress(i32 noundef 98)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @cpc_key_press(i32 noundef) #1
declare i32 @cpc_key_unpress(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/tmpsqkt6npr.c'
source_filename = "/tmp/tmpsqkt6npr.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/tmpsqkt6npr.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/tmp4_pitpi5.c'
source_filename = "/tmp/tmp4_pitpi5.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 @dlsym(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i64
%8 = load ptr, ptr %4, align 8
%9 = call ptr @__thinthin_dlsym(i64 noundef %7, ptr noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
declare ptr @__thinthin_dlsym(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/tmp4_pitpi5.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 @dlsym(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i64
%8 = load ptr, ptr %4, align 8
%9 = call ptr @__thinthin_dlsym(i64 noundef %7, ptr noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
declare ptr @__thinthin_dlsym(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/tmpntoc2iu0.c'
source_filename = "/tmp/tmpntoc2iu0.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/tmpntoc2iu0.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/tmpqqgesgqa.c'
source_filename = "/tmp/tmpqqgesgqa.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 @uart_puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %17, %1
%5 = load ptr, ptr %2, align 8
%6 = load i64, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %5, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = load i64, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i32 @uart_putc(i8 noundef zeroext %15)
br label %17
17: ; preds = %11
%18 = load i64, ptr %3, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %3, align 8
br label %4, !llvm.loop !6
20: ; preds = %4
ret void
}
declare i32 @uart_putc(i8 noundef zeroext) #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/tmpqqgesgqa.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 @uart_puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i64, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %4, i64 %5
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %16
%11 = load ptr, ptr %2, align 8
%12 = load i64, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @uart_putc(i8 noundef zeroext %14)
br label %16
16: ; preds = %10
%17 = load i64, ptr %3, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %3, align 8
%19 = load ptr, ptr %2, align 8
%20 = load i64, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %25
25: ; preds = %._crit_edge, %1
ret void
}
declare i32 @uart_putc(i8 noundef zeroext) #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/tmp30mbgzlc.c'
source_filename = "/tmp/tmp30mbgzlc.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/tmp30mbgzlc.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/tmpwkml1r2p.c'
source_filename = "/tmp/tmpwkml1r2p.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 @network_test() #0 {
%1 = call i32 (...) @check_ssh()
%2 = call i32 (...) @check_http()
%3 = call i32 (...) @check_netlink()
ret void
}
declare i32 @check_ssh(...) #1
declare i32 @check_http(...) #1
declare i32 @check_netlink(...) #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/tmpwkml1r2p.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 @network_test() #0 {
%1 = call i32 (...) @check_ssh()
%2 = call i32 (...) @check_http()
%3 = call i32 (...) @check_netlink()
ret void
}
declare i32 @check_ssh(...) #1
declare i32 @check_http(...) #1
declare i32 @check_netlink(...) #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/tmpkpnacw1u.c'
source_filename = "/tmp/tmpkpnacw1u.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"%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
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %31, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %34
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
br label %34
13: ; preds = %9
br label %14
14: ; preds = %13, %30
%15 = load i32, ptr %3, align 4
%16 = srem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %18, %14
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 5
br i1 %28, label %29, label %30
29: ; preds = %24
br label %31
30: ; preds = %24
br label %14
31: ; preds = %29
%32 = load i32, ptr %4, align 4
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6, !llvm.loop !6
34: ; preds = %12, %6
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/tmpkpnacw1u.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"%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
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = icmp ne i64 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %29
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
br label %34
12: ; preds = %8
br label %13
13: ; preds = %23, %12
%14 = load i32, ptr %3, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %17, %13
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, 5
br i1 %27, label %28, label %13
28: ; preds = %23
br label %29
29: ; preds = %28
%30 = load i32, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%32 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%33 = icmp ne i64 %32, 0
br i1 %33, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %29
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %34
34: ; preds = %.loopexit, %11
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/tmpr1p6hxrd.c'
source_filename = "/tmp/tmpr1p6hxrd.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 @get_min_d_y(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
%10 = load double, ptr %6, align 8
store double %10, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %85, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %88
15: ; preds = %11
%16 = load i32, ptr %8, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %81, %15
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %19, %20
%22 = icmp sle i32 %21, 7
br i1 %22, label %23, label %61
23: ; preds = %18
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %61
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [2 x i32], ptr %28, i64 %30
%32 = getelementptr inbounds [2 x i32], ptr %31, i64 0, i64 1
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [2 x i32], ptr %34, i64 %36
%38 = getelementptr inbounds [2 x i32], ptr %37, i64 0, i64 1
%39 = load i32, ptr %38, align 4
%40 = sub nsw i32 %33, %39
%41 = sitofp i32 %40 to double
%42 = load double, ptr %6, align 8
%43 = fcmp olt double %41, %42
br i1 %43, label %44, label %61
44: ; preds = %27
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [2 x i32], ptr %45, i64 %47
%49 = getelementptr inbounds [2 x i32], ptr %48, i64 0, i64 0
%50 = load i32, ptr %49, align 4
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [2 x i32], ptr %51, i64 %53
%55 = getelementptr inbounds [2 x i32], ptr %54, i64 0, i64 0
%56 = load i32, ptr %55, align 4
%57 = sub nsw i32 %50, %56
%58 = sitofp i32 %57 to double
%59 = load double, ptr %6, align 8
%60 = fcmp olt double %58, %59
br label %61
61: ; preds = %44, %27, %23, %18
%62 = phi i1 [ false, %27 ], [ false, %23 ], [ false, %18 ], [ %60, %44 ]
br i1 %62, label %63, label %84
63: ; preds = %61
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [2 x i32], ptr %64, i64 %66
%68 = getelementptr inbounds [2 x i32], ptr %67, i64 0, i64 0
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [2 x i32], ptr %69, i64 %71
%73 = getelementptr inbounds [2 x i32], ptr %72, i64 0, i64 0
%74 = call double @calc_distance(ptr noundef %68, ptr noundef %73)
store double %74, ptr %6, align 8
%75 = load double, ptr %6, align 8
%76 = load double, ptr %7, align 8
%77 = fcmp olt double %75, %76
br i1 %77, label %78, label %80
78: ; preds = %63
%79 = load double, ptr %6, align 8
store double %79, ptr %7, align 8
br label %80
80: ; preds = %78, %63
br label %81
81: ; preds = %80
%82 = load i32, ptr %9, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %9, align 4
br label %18, !llvm.loop !6
84: ; preds = %61
br label %85
85: ; preds = %84
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %8, align 4
br label %11, !llvm.loop !8
88: ; preds = %11
%89 = load double, ptr %7, align 8
ret double %89
}
declare double @calc_distance(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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1p6hxrd.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 @get_min_d_y(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
%10 = load double, ptr %6, align 8
store double %10, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %90
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %84
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %9, align 4
br label %17
17: ; preds = %80, %14
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %18, %19
%21 = icmp sle i32 %20, 7
br i1 %21, label %22, label %60
22: ; preds = %17
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %60
26: ; preds = %22
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2 x i32], ptr %27, i64 %29
%31 = getelementptr inbounds [2 x i32], ptr %30, i64 0, i64 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [2 x i32], ptr %33, i64 %35
%37 = getelementptr inbounds [2 x i32], ptr %36, i64 0, i64 1
%38 = load i32, ptr %37, align 4
%39 = sub nsw i32 %32, %38
%40 = sitofp i32 %39 to double
%41 = load double, ptr %6, align 8
%42 = fcmp olt double %40, %41
br i1 %42, label %43, label %60
43: ; preds = %26
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [2 x i32], ptr %44, i64 %46
%48 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 0
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [2 x i32], ptr %50, i64 %52
%54 = getelementptr inbounds [2 x i32], ptr %53, i64 0, i64 0
%55 = load i32, ptr %54, align 4
%56 = sub nsw i32 %49, %55
%57 = sitofp i32 %56 to double
%58 = load double, ptr %6, align 8
%59 = fcmp olt double %57, %58
br label %60
60: ; preds = %43, %26, %22, %17
%61 = phi i1 [ false, %26 ], [ false, %22 ], [ false, %17 ], [ %59, %43 ]
br i1 %61, label %62, label %83
62: ; preds = %60
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [2 x i32], ptr %63, i64 %65
%67 = getelementptr inbounds [2 x i32], ptr %66, i64 0, i64 0
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [2 x i32], ptr %68, i64 %70
%72 = getelementptr inbounds [2 x i32], ptr %71, i64 0, i64 0
%73 = call double @calc_distance(ptr noundef %67, ptr noundef %72)
store double %73, ptr %6, align 8
%74 = load double, ptr %6, align 8
%75 = load double, ptr %7, align 8
%76 = fcmp olt double %74, %75
br i1 %76, label %77, label %79
77: ; preds = %62
%78 = load double, ptr %6, align 8
store double %78, ptr %7, align 8
br label %79
79: ; preds = %77, %62
br label %80
80: ; preds = %79
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %9, align 4
br label %17, !llvm.loop !6
83: ; preds = %60
br label %84
84: ; preds = %83
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %8, align 4
%87 = load i32, ptr %8, align 4
%88 = load i32, ptr %5, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %14, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %84
br label %90
90: ; preds = %._crit_edge, %3
%91 = load double, ptr %7, align 8
ret double %91
}
declare double @calc_distance(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}
|
; ModuleID = '/tmp/tmpnv42rl9v.c'
source_filename = "/tmp/tmpnv42rl9v.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/tmpnv42rl9v.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/tmpjwmxteeu.c'
source_filename = "/tmp/tmpjwmxteeu.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 @list3(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @list2(i32 noundef %8, i32 noundef %9)
%11 = call i32 @pair(i32 noundef %7, i32 noundef %10)
ret i32 %11
}
declare i32 @pair(i32 noundef, i32 noundef) #1
declare i32 @list2(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/tmpjwmxteeu.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 @list3(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @list2(i32 noundef %8, i32 noundef %9)
%11 = call i32 @pair(i32 noundef %7, i32 noundef %10)
ret i32 %11
}
declare i32 @pair(i32 noundef, i32 noundef) #1
declare i32 @list2(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/tmp0uw_2y1o.c'
source_filename = "/tmp/tmp0uw_2y1o.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.ifreq = type { i32, i32 }
@.str = private unnamed_addr constant [49 x i8] c"Please specify original and new interface names\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Failed to open network socket\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCSIFNAME = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"Network interface %s renamed to %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Failed to rename network interface\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
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca %struct.ifreq, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %52
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_DGRAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %52
23: ; preds = %15
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %8, align 8
%30 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 8)
%31 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr @IFNAMSIZ, align 4
%35 = call i32 @strncpy(i32 noundef %32, ptr noundef %33, i32 noundef %34)
%36 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr @IFNAMSIZ, align 4
%40 = call i32 @strncpy(i32 noundef %37, ptr noundef %38, i32 noundef %39)
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr @SIOCSIFNAME, align 4
%43 = call i32 @ioctl(i32 noundef %41, i32 noundef %42, ptr noundef %9)
store i32 %43, ptr %10, align 4
%44 = load i32, ptr %10, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %23
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %8, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %47, ptr noundef %48)
store i32 0, ptr %3, align 4
br label %52
50: ; preds = %23
%51 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %52
52: ; preds = %50, %46, %21, %13
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(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/tmp0uw_2y1o.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.ifreq = type { i32, i32 }
@.str = private unnamed_addr constant [49 x i8] c"Please specify original and new interface names\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Failed to open network socket\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCSIFNAME = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"Network interface %s renamed to %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Failed to rename network interface\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
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca %struct.ifreq, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %52
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_DGRAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %52
23: ; preds = %15
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %8, align 8
%30 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 8)
%31 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr @IFNAMSIZ, align 4
%35 = call i32 @strncpy(i32 noundef %32, ptr noundef %33, i32 noundef %34)
%36 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr @IFNAMSIZ, align 4
%40 = call i32 @strncpy(i32 noundef %37, ptr noundef %38, i32 noundef %39)
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr @SIOCSIFNAME, align 4
%43 = call i32 @ioctl(i32 noundef %41, i32 noundef %42, ptr noundef %9)
store i32 %43, ptr %10, align 4
%44 = load i32, ptr %10, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %23
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %8, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %47, ptr noundef %48)
store i32 0, ptr %3, align 4
br label %52
50: ; preds = %23
%51 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %52
52: ; preds = %50, %46, %21, %13
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(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/tmphesmwz6i.c'
source_filename = "/tmp/tmphesmwz6i.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.sysinfo = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"sysinfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sysinfo, align 4
store i32 0, ptr %1, align 4
%3 = call i64 @sysinfo(ptr noundef %2)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
br label %7
7: ; preds = %5, %0
ret i32 0
}
declare i64 @sysinfo(ptr noundef) #1
declare i32 @perror(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/tmphesmwz6i.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.sysinfo = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"sysinfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sysinfo, align 4
store i32 0, ptr %1, align 4
%3 = call i64 @sysinfo(ptr noundef %2)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
br label %7
7: ; preds = %5, %0
ret i32 0
}
declare i64 @sysinfo(ptr noundef) #1
declare i32 @perror(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/tmpy0t0tyho.c'
source_filename = "/tmp/tmpy0t0tyho.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 (...) @caracteres()
ret i32 0
}
declare i32 @caracteres(...) #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/tmpy0t0tyho.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 (...) @caracteres()
ret i32 0
}
declare i32 @caracteres(...) #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/tmpchlrq4w5.c'
source_filename = "/tmp/tmpchlrq4w5.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"
@cumnor.a = internal global [5 x double] [double 0x4001E1CBD1B4F7F3, double 0x406420E744D785B7, double 0x4090AEC20879FD71, double 0x40D1BABECCDAD2EC, double 0x3FB0D08EC54894E1], align 16
@cumnor.b = internal global [4 x double] [double 0x404799EE342FB2DE, double 0x408E80C9D57E55B8, double 0x40C40A77529CADC8, double 0x40E63879423B87AD], align 16
@cumnor.c = internal global [9 x double] [double 0x3FD98841FADBDC66, double 0x4021C42C35B8BC02, double 0x4057606D0DD78164, double 0x4082AA2986ABA462, double 0x40A37D133E6111EC, double 0x40BAC030C15DC8D7, double 0x40C6A953624F0F60, double 0x40C3395B7FD2FC8E, double 0x3E471E703C5F5815], align 16
@cumnor.d = internal global [8 x double] [double 0x40364445AAEC9F9B, double 0x406D6C69B0FFCDE7, double 0x4097BD82A96B49BF, double 0x40B9558EECA29D27, double 0x40D22DE495C3A6A3, double 0x40E10A9E7CB10E86, double 0x40E300001AEB6FE4, double 0x40D3395B7FD35F61], align 16
@cumnor.half = internal global double 5.000000e-01, align 8
@cumnor.p = internal global [6 x double] [double 0x3FCBA2902B84421C, double 0x3FC04EAE6653ED94, double 0x3F96C4D83D16707A, double 0x3F574AB3FC4E4F8B, double 0x3EFE86ED886DC483, double 0x3F97A090772574DA], align 16
@cumnor.one = internal global double 1.000000e+00, align 8
@cumnor.q = internal global [5 x double] [double 0x3FF48C54508800DB, double 0x3FDDF79D6855F0AD, double 0x3FB0E4993E122C39, double 0x3F6EFC42917D7DE7, double 0x3F132147A014BAD1], align 16
@cumnor.sixten = internal global double 1.600000e+00, align 8
@cumnor.sqrpi = internal global double 0x3FD9884533D43651, align 8
@cumnor.thrsh = internal global double 6.629100e-01, align 8
@cumnor.root32 = internal global double 0x4016A09E6665983E, align 8
@cumnor.zero = internal global double 0.000000e+00, align 8
@cumnor.K1 = internal global i32 1, align 4
@cumnor.K2 = internal global i32 2, align 4
@cumnor.i = internal global i32 0, align 4
@cumnor.del = internal global double 0.000000e+00, align 8
@cumnor.eps = internal global double 0.000000e+00, align 8
@cumnor.temp = internal global double 0.000000e+00, align 8
@cumnor.x = internal global double 0.000000e+00, align 8
@cumnor.xden = internal global double 0.000000e+00, align 8
@cumnor.xnum = internal global double 0.000000e+00, align 8
@cumnor.y = internal global double 0.000000e+00, align 8
@cumnor.xsq = internal global double 0.000000e+00, align 8
@cumnor.min = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cumnor(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 = call double @spmpar(ptr noundef @cumnor.K1)
%8 = fmul double %7, 5.000000e-01
store double %8, ptr @cumnor.eps, align 8
%9 = call double @spmpar(ptr noundef @cumnor.K2)
store double %9, ptr @cumnor.min, align 8
%10 = load ptr, ptr %4, align 8
%11 = load double, ptr %10, align 8
store double %11, ptr @cumnor.x, align 8
%12 = load double, ptr @cumnor.x, align 8
%13 = call double @llvm.fabs.f64(double %12)
store double %13, ptr @cumnor.y, align 8
%14 = load double, ptr @cumnor.y, align 8
%15 = load double, ptr @cumnor.thrsh, align 8
%16 = fcmp ole double %14, %15
br i1 %16, label %17, label %75
17: ; preds = %3
%18 = load double, ptr @cumnor.zero, align 8
store double %18, ptr @cumnor.xsq, align 8
%19 = load double, ptr @cumnor.y, align 8
%20 = load double, ptr @cumnor.eps, align 8
%21 = fcmp ogt double %19, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load double, ptr @cumnor.x, align 8
%24 = load double, ptr @cumnor.x, align 8
%25 = fmul double %23, %24
store double %25, ptr @cumnor.xsq, align 8
br label %26
26: ; preds = %22, %17
%27 = load double, ptr getelementptr inbounds ([5 x double], ptr @cumnor.a, i64 0, i64 4), align 16
%28 = load double, ptr @cumnor.xsq, align 8
%29 = fmul double %27, %28
store double %29, ptr @cumnor.xnum, align 8
%30 = load double, ptr @cumnor.xsq, align 8
store double %30, ptr @cumnor.xden, align 8
store i32 0, ptr @cumnor.i, align 4
br label %31
31: ; preds = %51, %26
%32 = load i32, ptr @cumnor.i, align 4
%33 = icmp slt i32 %32, 3
br i1 %33, label %34, label %54
34: ; preds = %31
%35 = load double, ptr @cumnor.xnum, align 8
%36 = load i32, ptr @cumnor.i, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [5 x double], ptr @cumnor.a, i64 0, i64 %37
%39 = load double, ptr %38, align 8
%40 = fadd double %35, %39
%41 = load double, ptr @cumnor.xsq, align 8
%42 = fmul double %40, %41
store double %42, ptr @cumnor.xnum, align 8
%43 = load double, ptr @cumnor.xden, align 8
%44 = load i32, ptr @cumnor.i, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [4 x double], ptr @cumnor.b, i64 0, i64 %45
%47 = load double, ptr %46, align 8
%48 = fadd double %43, %47
%49 = load double, ptr @cumnor.xsq, align 8
%50 = fmul double %48, %49
store double %50, ptr @cumnor.xden, align 8
br label %51
51: ; preds = %34
%52 = load i32, ptr @cumnor.i, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr @cumnor.i, align 4
br label %31, !llvm.loop !6
54: ; preds = %31
%55 = load double, ptr @cumnor.x, align 8
%56 = load double, ptr @cumnor.xnum, align 8
%57 = load double, ptr getelementptr inbounds ([5 x double], ptr @cumnor.a, i64 0, i64 3), align 8
%58 = fadd double %56, %57
%59 = fmul double %55, %58
%60 = load double, ptr @cumnor.xden, align 8
%61 = load double, ptr getelementptr inbounds ([4 x double], ptr @cumnor.b, i64 0, i64 3), align 8
%62 = fadd double %60, %61
%63 = fdiv double %59, %62
%64 = load ptr, ptr %5, align 8
store double %63, ptr %64, align 8
%65 = load ptr, ptr %5, align 8
%66 = load double, ptr %65, align 8
store double %66, ptr @cumnor.temp, align 8
%67 = load double, ptr @cumnor.half, align 8
%68 = load double, ptr @cumnor.temp, align 8
%69 = fadd double %67, %68
%70 = load ptr, ptr %5, align 8
store double %69, ptr %70, align 8
%71 = load double, ptr @cumnor.half, align 8
%72 = load double, ptr @cumnor.temp, align 8
%73 = fsub double %71, %72
%74 = load ptr, ptr %6, align 8
store double %73, ptr %74, align 8
br label %264
75: ; preds = %3
%76 = load double, ptr @cumnor.y, align 8
%77 = load double, ptr @cumnor.root32, align 8
%78 = fcmp ole double %76, %77
br i1 %78, label %79, label %163
79: ; preds = %75
%80 = load double, ptr getelementptr inbounds ([9 x double], ptr @cumnor.c, i64 0, i64 8), align 16
%81 = load double, ptr @cumnor.y, align 8
%82 = fmul double %80, %81
store double %82, ptr @cumnor.xnum, align 8
%83 = load double, ptr @cumnor.y, align 8
store double %83, ptr @cumnor.xden, align 8
store i32 0, ptr @cumnor.i, align 4
br label %84
84: ; preds = %104, %79
%85 = load i32, ptr @cumnor.i, align 4
%86 = icmp slt i32 %85, 7
br i1 %86, label %87, label %107
87: ; preds = %84
%88 = load double, ptr @cumnor.xnum, align 8
%89 = load i32, ptr @cumnor.i, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [9 x double], ptr @cumnor.c, i64 0, i64 %90
%92 = load double, ptr %91, align 8
%93 = fadd double %88, %92
%94 = load double, ptr @cumnor.y, align 8
%95 = fmul double %93, %94
store double %95, ptr @cumnor.xnum, align 8
%96 = load double, ptr @cumnor.xden, align 8
%97 = load i32, ptr @cumnor.i, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [8 x double], ptr @cumnor.d, i64 0, i64 %98
%100 = load double, ptr %99, align 8
%101 = fadd double %96, %100
%102 = load double, ptr @cumnor.y, align 8
%103 = fmul double %101, %102
store double %103, ptr @cumnor.xden, align 8
br label %104
104: ; preds = %87
%105 = load i32, ptr @cumnor.i, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr @cumnor.i, align 4
br label %84, !llvm.loop !8
107: ; preds = %84
%108 = load double, ptr @cumnor.xnum, align 8
%109 = load double, ptr getelementptr inbounds ([9 x double], ptr @cumnor.c, i64 0, i64 7), align 8
%110 = fadd double %108, %109
%111 = load double, ptr @cumnor.xden, align 8
%112 = load double, ptr getelementptr inbounds ([8 x double], ptr @cumnor.d, i64 0, i64 7), align 8
%113 = fadd double %111, %112
%114 = fdiv double %110, %113
%115 = load ptr, ptr %5, align 8
store double %114, ptr %115, align 8
%116 = load double, ptr @cumnor.y, align 8
%117 = load double, ptr @cumnor.sixten, align 8
%118 = fmul double %116, %117
%119 = call double @fifdint(double noundef %118)
%120 = load double, ptr @cumnor.sixten, align 8
%121 = fdiv double %119, %120
store double %121, ptr @cumnor.xsq, align 8
%122 = load double, ptr @cumnor.y, align 8
%123 = load double, ptr @cumnor.xsq, align 8
%124 = fsub double %122, %123
%125 = load double, ptr @cumnor.y, align 8
%126 = load double, ptr @cumnor.xsq, align 8
%127 = fadd double %125, %126
%128 = fmul double %124, %127
store double %128, ptr @cumnor.del, align 8
%129 = load double, ptr @cumnor.xsq, align 8
%130 = load double, ptr @cumnor.xsq, align 8
%131 = fmul double %129, %130
%132 = load double, ptr @cumnor.half, align 8
%133 = fmul double %131, %132
%134 = fneg double %133
%135 = call double @exp(double noundef %134) #4
%136 = load double, ptr @cumnor.del, align 8
%137 = load double, ptr @cumnor.half, align 8
%138 = fmul double %136, %137
%139 = fneg double %138
%140 = call double @exp(double noundef %139) #4
%141 = fmul double %135, %140
%142 = load ptr, ptr %5, align 8
%143 = load double, ptr %142, align 8
%144 = fmul double %141, %143
%145 = load ptr, ptr %5, align 8
store double %144, ptr %145, align 8
%146 = load double, ptr @cumnor.one, align 8
%147 = load ptr, ptr %5, align 8
%148 = load double, ptr %147, align 8
%149 = fsub double %146, %148
%150 = load ptr, ptr %6, align 8
store double %149, ptr %150, align 8
%151 = load double, ptr @cumnor.x, align 8
%152 = load double, ptr @cumnor.zero, align 8
%153 = fcmp ogt double %151, %152
br i1 %153, label %154, label %162
154: ; preds = %107
%155 = load ptr, ptr %5, align 8
%156 = load double, ptr %155, align 8
store double %156, ptr @cumnor.temp, align 8
%157 = load ptr, ptr %6, align 8
%158 = load double, ptr %157, align 8
%159 = load ptr, ptr %5, align 8
store double %158, ptr %159, align 8
%160 = load double, ptr @cumnor.temp, align 8
%161 = load ptr, ptr %6, align 8
store double %160, ptr %161, align 8
br label %162
162: ; preds = %154, %107
br label %263
163: ; preds = %75
%164 = load double, ptr @cumnor.zero, align 8
%165 = load ptr, ptr %5, align 8
store double %164, ptr %165, align 8
%166 = load double, ptr @cumnor.one, align 8
%167 = load double, ptr @cumnor.x, align 8
%168 = load double, ptr @cumnor.x, align 8
%169 = fmul double %167, %168
%170 = fdiv double %166, %169
store double %170, ptr @cumnor.xsq, align 8
%171 = load double, ptr getelementptr inbounds ([6 x double], ptr @cumnor.p, i64 0, i64 5), align 8
%172 = load double, ptr @cumnor.xsq, align 8
%173 = fmul double %171, %172
store double %173, ptr @cumnor.xnum, align 8
%174 = load double, ptr @cumnor.xsq, align 8
store double %174, ptr @cumnor.xden, align 8
store i32 0, ptr @cumnor.i, align 4
br label %175
175: ; preds = %195, %163
%176 = load i32, ptr @cumnor.i, align 4
%177 = icmp slt i32 %176, 4
br i1 %177, label %178, label %198
178: ; preds = %175
%179 = load double, ptr @cumnor.xnum, align 8
%180 = load i32, ptr @cumnor.i, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [6 x double], ptr @cumnor.p, i64 0, i64 %181
%183 = load double, ptr %182, align 8
%184 = fadd double %179, %183
%185 = load double, ptr @cumnor.xsq, align 8
%186 = fmul double %184, %185
store double %186, ptr @cumnor.xnum, align 8
%187 = load double, ptr @cumnor.xden, align 8
%188 = load i32, ptr @cumnor.i, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [5 x double], ptr @cumnor.q, i64 0, i64 %189
%191 = load double, ptr %190, align 8
%192 = fadd double %187, %191
%193 = load double, ptr @cumnor.xsq, align 8
%194 = fmul double %192, %193
store double %194, ptr @cumnor.xden, align 8
br label %195
195: ; preds = %178
%196 = load i32, ptr @cumnor.i, align 4
%197 = add nsw i32 %196, 1
store i32 %197, ptr @cumnor.i, align 4
br label %175, !llvm.loop !9
198: ; preds = %175
%199 = load double, ptr @cumnor.xsq, align 8
%200 = load double, ptr @cumnor.xnum, align 8
%201 = load double, ptr getelementptr inbounds ([6 x double], ptr @cumnor.p, i64 0, i64 4), align 16
%202 = fadd double %200, %201
%203 = fmul double %199, %202
%204 = load double, ptr @cumnor.xden, align 8
%205 = load double, ptr getelementptr inbounds ([5 x double], ptr @cumnor.q, i64 0, i64 4), align 16
%206 = fadd double %204, %205
%207 = fdiv double %203, %206
%208 = load ptr, ptr %5, align 8
store double %207, ptr %208, align 8
%209 = load double, ptr @cumnor.sqrpi, align 8
%210 = load ptr, ptr %5, align 8
%211 = load double, ptr %210, align 8
%212 = fsub double %209, %211
%213 = load double, ptr @cumnor.y, align 8
%214 = fdiv double %212, %213
%215 = load ptr, ptr %5, align 8
store double %214, ptr %215, align 8
%216 = load double, ptr @cumnor.x, align 8
%217 = load double, ptr @cumnor.sixten, align 8
%218 = fmul double %216, %217
%219 = call double @fifdint(double noundef %218)
%220 = load double, ptr @cumnor.sixten, align 8
%221 = fdiv double %219, %220
store double %221, ptr @cumnor.xsq, align 8
%222 = load double, ptr @cumnor.x, align 8
%223 = load double, ptr @cumnor.xsq, align 8
%224 = fsub double %222, %223
%225 = load double, ptr @cumnor.x, align 8
%226 = load double, ptr @cumnor.xsq, align 8
%227 = fadd double %225, %226
%228 = fmul double %224, %227
store double %228, ptr @cumnor.del, align 8
%229 = load double, ptr @cumnor.xsq, align 8
%230 = load double, ptr @cumnor.xsq, align 8
%231 = fmul double %229, %230
%232 = load double, ptr @cumnor.half, align 8
%233 = fmul double %231, %232
%234 = fneg double %233
%235 = call double @exp(double noundef %234) #4
%236 = load double, ptr @cumnor.del, align 8
%237 = load double, ptr @cumnor.half, align 8
%238 = fmul double %236, %237
%239 = fneg double %238
%240 = call double @exp(double noundef %239) #4
%241 = fmul double %235, %240
%242 = load ptr, ptr %5, align 8
%243 = load double, ptr %242, align 8
%244 = fmul double %241, %243
%245 = load ptr, ptr %5, align 8
store double %244, ptr %245, align 8
%246 = load double, ptr @cumnor.one, align 8
%247 = load ptr, ptr %5, align 8
%248 = load double, ptr %247, align 8
%249 = fsub double %246, %248
%250 = load ptr, ptr %6, align 8
store double %249, ptr %250, align 8
%251 = load double, ptr @cumnor.x, align 8
%252 = load double, ptr @cumnor.zero, align 8
%253 = fcmp ogt double %251, %252
br i1 %253, label %254, label %262
254: ; preds = %198
%255 = load ptr, ptr %5, align 8
%256 = load double, ptr %255, align 8
store double %256, ptr @cumnor.temp, align 8
%257 = load ptr, ptr %6, align 8
%258 = load double, ptr %257, align 8
%259 = load ptr, ptr %5, align 8
store double %258, ptr %259, align 8
%260 = load double, ptr @cumnor.temp, align 8
%261 = load ptr, ptr %6, align 8
store double %260, ptr %261, align 8
br label %262
262: ; preds = %254, %198
br label %263
263: ; preds = %262, %162
br label %264
264: ; preds = %263, %54
%265 = load ptr, ptr %5, align 8
%266 = load double, ptr %265, align 8
%267 = load double, ptr @cumnor.min, align 8
%268 = fcmp olt double %266, %267
br i1 %268, label %269, label %271
269: ; preds = %264
%270 = load ptr, ptr %5, align 8
store double 0.000000e+00, ptr %270, align 8
br label %271
271: ; preds = %269, %264
%272 = load ptr, ptr %6, align 8
%273 = load double, ptr %272, align 8
%274 = load double, ptr @cumnor.min, align 8
%275 = fcmp olt double %273, %274
br i1 %275, label %276, label %278
276: ; preds = %271
%277 = load ptr, ptr %6, align 8
store double 0.000000e+00, ptr %277, align 8
br label %278
278: ; preds = %276, %271
ret void
}
declare double @spmpar(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @fifdint(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double 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 = { "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}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpchlrq4w5.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"
@cumnor.a = internal global [5 x double] [double 0x4001E1CBD1B4F7F3, double 0x406420E744D785B7, double 0x4090AEC20879FD71, double 0x40D1BABECCDAD2EC, double 0x3FB0D08EC54894E1], align 16
@cumnor.b = internal global [4 x double] [double 0x404799EE342FB2DE, double 0x408E80C9D57E55B8, double 0x40C40A77529CADC8, double 0x40E63879423B87AD], align 16
@cumnor.c = internal global [9 x double] [double 0x3FD98841FADBDC66, double 0x4021C42C35B8BC02, double 0x4057606D0DD78164, double 0x4082AA2986ABA462, double 0x40A37D133E6111EC, double 0x40BAC030C15DC8D7, double 0x40C6A953624F0F60, double 0x40C3395B7FD2FC8E, double 0x3E471E703C5F5815], align 16
@cumnor.d = internal global [8 x double] [double 0x40364445AAEC9F9B, double 0x406D6C69B0FFCDE7, double 0x4097BD82A96B49BF, double 0x40B9558EECA29D27, double 0x40D22DE495C3A6A3, double 0x40E10A9E7CB10E86, double 0x40E300001AEB6FE4, double 0x40D3395B7FD35F61], align 16
@cumnor.half = internal global double 5.000000e-01, align 8
@cumnor.p = internal global [6 x double] [double 0x3FCBA2902B84421C, double 0x3FC04EAE6653ED94, double 0x3F96C4D83D16707A, double 0x3F574AB3FC4E4F8B, double 0x3EFE86ED886DC483, double 0x3F97A090772574DA], align 16
@cumnor.one = internal global double 1.000000e+00, align 8
@cumnor.q = internal global [5 x double] [double 0x3FF48C54508800DB, double 0x3FDDF79D6855F0AD, double 0x3FB0E4993E122C39, double 0x3F6EFC42917D7DE7, double 0x3F132147A014BAD1], align 16
@cumnor.sixten = internal global double 1.600000e+00, align 8
@cumnor.sqrpi = internal global double 0x3FD9884533D43651, align 8
@cumnor.thrsh = internal global double 6.629100e-01, align 8
@cumnor.root32 = internal global double 0x4016A09E6665983E, align 8
@cumnor.zero = internal global double 0.000000e+00, align 8
@cumnor.K1 = internal global i32 1, align 4
@cumnor.K2 = internal global i32 2, align 4
@cumnor.i = internal global i32 0, align 4
@cumnor.del = internal global double 0.000000e+00, align 8
@cumnor.eps = internal global double 0.000000e+00, align 8
@cumnor.temp = internal global double 0.000000e+00, align 8
@cumnor.x = internal global double 0.000000e+00, align 8
@cumnor.xden = internal global double 0.000000e+00, align 8
@cumnor.xnum = internal global double 0.000000e+00, align 8
@cumnor.y = internal global double 0.000000e+00, align 8
@cumnor.xsq = internal global double 0.000000e+00, align 8
@cumnor.min = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cumnor(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 = call double @spmpar(ptr noundef @cumnor.K1)
%8 = fmul double %7, 5.000000e-01
store double %8, ptr @cumnor.eps, align 8
%9 = call double @spmpar(ptr noundef @cumnor.K2)
store double %9, ptr @cumnor.min, align 8
%10 = load ptr, ptr %4, align 8
%11 = load double, ptr %10, align 8
store double %11, ptr @cumnor.x, align 8
%12 = load double, ptr @cumnor.x, align 8
%13 = call double @llvm.fabs.f64(double %12)
store double %13, ptr @cumnor.y, align 8
%14 = load double, ptr @cumnor.y, align 8
%15 = load double, ptr @cumnor.thrsh, align 8
%16 = fcmp ole double %14, %15
br i1 %16, label %17, label %76
17: ; preds = %3
%18 = load double, ptr @cumnor.zero, align 8
store double %18, ptr @cumnor.xsq, align 8
%19 = load double, ptr @cumnor.y, align 8
%20 = load double, ptr @cumnor.eps, align 8
%21 = fcmp ogt double %19, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load double, ptr @cumnor.x, align 8
%24 = load double, ptr @cumnor.x, align 8
%25 = fmul double %23, %24
store double %25, ptr @cumnor.xsq, align 8
br label %26
26: ; preds = %22, %17
%27 = load double, ptr getelementptr inbounds ([5 x double], ptr @cumnor.a, i64 0, i64 4), align 16
%28 = load double, ptr @cumnor.xsq, align 8
%29 = fmul double %27, %28
store double %29, ptr @cumnor.xnum, align 8
%30 = load double, ptr @cumnor.xsq, align 8
store double %30, ptr @cumnor.xden, align 8
store i32 0, ptr @cumnor.i, align 4
%31 = load i32, ptr @cumnor.i, align 4
%32 = icmp slt i32 %31, 3
br i1 %32, label %.lr.ph5, label %55
.lr.ph5: ; preds = %26
br label %33
33: ; preds = %.lr.ph5, %50
%34 = load double, ptr @cumnor.xnum, align 8
%35 = load i32, ptr @cumnor.i, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [5 x double], ptr @cumnor.a, i64 0, i64 %36
%38 = load double, ptr %37, align 8
%39 = fadd double %34, %38
%40 = load double, ptr @cumnor.xsq, align 8
%41 = fmul double %39, %40
store double %41, ptr @cumnor.xnum, align 8
%42 = load double, ptr @cumnor.xden, align 8
%43 = load i32, ptr @cumnor.i, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x double], ptr @cumnor.b, i64 0, i64 %44
%46 = load double, ptr %45, align 8
%47 = fadd double %42, %46
%48 = load double, ptr @cumnor.xsq, align 8
%49 = fmul double %47, %48
store double %49, ptr @cumnor.xden, align 8
br label %50
50: ; preds = %33
%51 = load i32, ptr @cumnor.i, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr @cumnor.i, align 4
%53 = load i32, ptr @cumnor.i, align 4
%54 = icmp slt i32 %53, 3
br i1 %54, label %33, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %50
br label %55
55: ; preds = %._crit_edge6, %26
%56 = load double, ptr @cumnor.x, align 8
%57 = load double, ptr @cumnor.xnum, align 8
%58 = load double, ptr getelementptr inbounds ([5 x double], ptr @cumnor.a, i64 0, i64 3), align 8
%59 = fadd double %57, %58
%60 = fmul double %56, %59
%61 = load double, ptr @cumnor.xden, align 8
%62 = load double, ptr getelementptr inbounds ([4 x double], ptr @cumnor.b, i64 0, i64 3), align 8
%63 = fadd double %61, %62
%64 = fdiv double %60, %63
%65 = load ptr, ptr %5, align 8
store double %64, ptr %65, align 8
%66 = load ptr, ptr %5, align 8
%67 = load double, ptr %66, align 8
store double %67, ptr @cumnor.temp, align 8
%68 = load double, ptr @cumnor.half, align 8
%69 = load double, ptr @cumnor.temp, align 8
%70 = fadd double %68, %69
%71 = load ptr, ptr %5, align 8
store double %70, ptr %71, align 8
%72 = load double, ptr @cumnor.half, align 8
%73 = load double, ptr @cumnor.temp, align 8
%74 = fsub double %72, %73
%75 = load ptr, ptr %6, align 8
store double %74, ptr %75, align 8
br label %267
76: ; preds = %3
%77 = load double, ptr @cumnor.y, align 8
%78 = load double, ptr @cumnor.root32, align 8
%79 = fcmp ole double %77, %78
br i1 %79, label %80, label %165
80: ; preds = %76
%81 = load double, ptr getelementptr inbounds ([9 x double], ptr @cumnor.c, i64 0, i64 8), align 16
%82 = load double, ptr @cumnor.y, align 8
%83 = fmul double %81, %82
store double %83, ptr @cumnor.xnum, align 8
%84 = load double, ptr @cumnor.y, align 8
store double %84, ptr @cumnor.xden, align 8
store i32 0, ptr @cumnor.i, align 4
%85 = load i32, ptr @cumnor.i, align 4
%86 = icmp slt i32 %85, 7
br i1 %86, label %.lr.ph2, label %109
.lr.ph2: ; preds = %80
br label %87
87: ; preds = %.lr.ph2, %104
%88 = load double, ptr @cumnor.xnum, align 8
%89 = load i32, ptr @cumnor.i, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [9 x double], ptr @cumnor.c, i64 0, i64 %90
%92 = load double, ptr %91, align 8
%93 = fadd double %88, %92
%94 = load double, ptr @cumnor.y, align 8
%95 = fmul double %93, %94
store double %95, ptr @cumnor.xnum, align 8
%96 = load double, ptr @cumnor.xden, align 8
%97 = load i32, ptr @cumnor.i, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [8 x double], ptr @cumnor.d, i64 0, i64 %98
%100 = load double, ptr %99, align 8
%101 = fadd double %96, %100
%102 = load double, ptr @cumnor.y, align 8
%103 = fmul double %101, %102
store double %103, ptr @cumnor.xden, align 8
br label %104
104: ; preds = %87
%105 = load i32, ptr @cumnor.i, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr @cumnor.i, align 4
%107 = load i32, ptr @cumnor.i, align 4
%108 = icmp slt i32 %107, 7
br i1 %108, label %87, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %104
br label %109
109: ; preds = %._crit_edge3, %80
%110 = load double, ptr @cumnor.xnum, align 8
%111 = load double, ptr getelementptr inbounds ([9 x double], ptr @cumnor.c, i64 0, i64 7), align 8
%112 = fadd double %110, %111
%113 = load double, ptr @cumnor.xden, align 8
%114 = load double, ptr getelementptr inbounds ([8 x double], ptr @cumnor.d, i64 0, i64 7), align 8
%115 = fadd double %113, %114
%116 = fdiv double %112, %115
%117 = load ptr, ptr %5, align 8
store double %116, ptr %117, align 8
%118 = load double, ptr @cumnor.y, align 8
%119 = load double, ptr @cumnor.sixten, align 8
%120 = fmul double %118, %119
%121 = call double @fifdint(double noundef %120)
%122 = load double, ptr @cumnor.sixten, align 8
%123 = fdiv double %121, %122
store double %123, ptr @cumnor.xsq, align 8
%124 = load double, ptr @cumnor.y, align 8
%125 = load double, ptr @cumnor.xsq, align 8
%126 = fsub double %124, %125
%127 = load double, ptr @cumnor.y, align 8
%128 = load double, ptr @cumnor.xsq, align 8
%129 = fadd double %127, %128
%130 = fmul double %126, %129
store double %130, ptr @cumnor.del, align 8
%131 = load double, ptr @cumnor.xsq, align 8
%132 = load double, ptr @cumnor.xsq, align 8
%133 = fmul double %131, %132
%134 = load double, ptr @cumnor.half, align 8
%135 = fmul double %133, %134
%136 = fneg double %135
%137 = call double @exp(double noundef %136) #4
%138 = load double, ptr @cumnor.del, align 8
%139 = load double, ptr @cumnor.half, align 8
%140 = fmul double %138, %139
%141 = fneg double %140
%142 = call double @exp(double noundef %141) #4
%143 = fmul double %137, %142
%144 = load ptr, ptr %5, align 8
%145 = load double, ptr %144, align 8
%146 = fmul double %143, %145
%147 = load ptr, ptr %5, align 8
store double %146, ptr %147, align 8
%148 = load double, ptr @cumnor.one, align 8
%149 = load ptr, ptr %5, align 8
%150 = load double, ptr %149, align 8
%151 = fsub double %148, %150
%152 = load ptr, ptr %6, align 8
store double %151, ptr %152, align 8
%153 = load double, ptr @cumnor.x, align 8
%154 = load double, ptr @cumnor.zero, align 8
%155 = fcmp ogt double %153, %154
br i1 %155, label %156, label %164
156: ; preds = %109
%157 = load ptr, ptr %5, align 8
%158 = load double, ptr %157, align 8
store double %158, ptr @cumnor.temp, align 8
%159 = load ptr, ptr %6, align 8
%160 = load double, ptr %159, align 8
%161 = load ptr, ptr %5, align 8
store double %160, ptr %161, align 8
%162 = load double, ptr @cumnor.temp, align 8
%163 = load ptr, ptr %6, align 8
store double %162, ptr %163, align 8
br label %164
164: ; preds = %156, %109
br label %266
165: ; preds = %76
%166 = load double, ptr @cumnor.zero, align 8
%167 = load ptr, ptr %5, align 8
store double %166, ptr %167, align 8
%168 = load double, ptr @cumnor.one, align 8
%169 = load double, ptr @cumnor.x, align 8
%170 = load double, ptr @cumnor.x, align 8
%171 = fmul double %169, %170
%172 = fdiv double %168, %171
store double %172, ptr @cumnor.xsq, align 8
%173 = load double, ptr getelementptr inbounds ([6 x double], ptr @cumnor.p, i64 0, i64 5), align 8
%174 = load double, ptr @cumnor.xsq, align 8
%175 = fmul double %173, %174
store double %175, ptr @cumnor.xnum, align 8
%176 = load double, ptr @cumnor.xsq, align 8
store double %176, ptr @cumnor.xden, align 8
store i32 0, ptr @cumnor.i, align 4
%177 = load i32, ptr @cumnor.i, align 4
%178 = icmp slt i32 %177, 4
br i1 %178, label %.lr.ph, label %201
.lr.ph: ; preds = %165
br label %179
179: ; preds = %.lr.ph, %196
%180 = load double, ptr @cumnor.xnum, align 8
%181 = load i32, ptr @cumnor.i, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [6 x double], ptr @cumnor.p, i64 0, i64 %182
%184 = load double, ptr %183, align 8
%185 = fadd double %180, %184
%186 = load double, ptr @cumnor.xsq, align 8
%187 = fmul double %185, %186
store double %187, ptr @cumnor.xnum, align 8
%188 = load double, ptr @cumnor.xden, align 8
%189 = load i32, ptr @cumnor.i, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [5 x double], ptr @cumnor.q, i64 0, i64 %190
%192 = load double, ptr %191, align 8
%193 = fadd double %188, %192
%194 = load double, ptr @cumnor.xsq, align 8
%195 = fmul double %193, %194
store double %195, ptr @cumnor.xden, align 8
br label %196
196: ; preds = %179
%197 = load i32, ptr @cumnor.i, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr @cumnor.i, align 4
%199 = load i32, ptr @cumnor.i, align 4
%200 = icmp slt i32 %199, 4
br i1 %200, label %179, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %196
br label %201
201: ; preds = %._crit_edge, %165
%202 = load double, ptr @cumnor.xsq, align 8
%203 = load double, ptr @cumnor.xnum, align 8
%204 = load double, ptr getelementptr inbounds ([6 x double], ptr @cumnor.p, i64 0, i64 4), align 16
%205 = fadd double %203, %204
%206 = fmul double %202, %205
%207 = load double, ptr @cumnor.xden, align 8
%208 = load double, ptr getelementptr inbounds ([5 x double], ptr @cumnor.q, i64 0, i64 4), align 16
%209 = fadd double %207, %208
%210 = fdiv double %206, %209
%211 = load ptr, ptr %5, align 8
store double %210, ptr %211, align 8
%212 = load double, ptr @cumnor.sqrpi, align 8
%213 = load ptr, ptr %5, align 8
%214 = load double, ptr %213, align 8
%215 = fsub double %212, %214
%216 = load double, ptr @cumnor.y, align 8
%217 = fdiv double %215, %216
%218 = load ptr, ptr %5, align 8
store double %217, ptr %218, align 8
%219 = load double, ptr @cumnor.x, align 8
%220 = load double, ptr @cumnor.sixten, align 8
%221 = fmul double %219, %220
%222 = call double @fifdint(double noundef %221)
%223 = load double, ptr @cumnor.sixten, align 8
%224 = fdiv double %222, %223
store double %224, ptr @cumnor.xsq, align 8
%225 = load double, ptr @cumnor.x, align 8
%226 = load double, ptr @cumnor.xsq, align 8
%227 = fsub double %225, %226
%228 = load double, ptr @cumnor.x, align 8
%229 = load double, ptr @cumnor.xsq, align 8
%230 = fadd double %228, %229
%231 = fmul double %227, %230
store double %231, ptr @cumnor.del, align 8
%232 = load double, ptr @cumnor.xsq, align 8
%233 = load double, ptr @cumnor.xsq, align 8
%234 = fmul double %232, %233
%235 = load double, ptr @cumnor.half, align 8
%236 = fmul double %234, %235
%237 = fneg double %236
%238 = call double @exp(double noundef %237) #4
%239 = load double, ptr @cumnor.del, align 8
%240 = load double, ptr @cumnor.half, align 8
%241 = fmul double %239, %240
%242 = fneg double %241
%243 = call double @exp(double noundef %242) #4
%244 = fmul double %238, %243
%245 = load ptr, ptr %5, align 8
%246 = load double, ptr %245, align 8
%247 = fmul double %244, %246
%248 = load ptr, ptr %5, align 8
store double %247, ptr %248, align 8
%249 = load double, ptr @cumnor.one, align 8
%250 = load ptr, ptr %5, align 8
%251 = load double, ptr %250, align 8
%252 = fsub double %249, %251
%253 = load ptr, ptr %6, align 8
store double %252, ptr %253, align 8
%254 = load double, ptr @cumnor.x, align 8
%255 = load double, ptr @cumnor.zero, align 8
%256 = fcmp ogt double %254, %255
br i1 %256, label %257, label %265
257: ; preds = %201
%258 = load ptr, ptr %5, align 8
%259 = load double, ptr %258, align 8
store double %259, ptr @cumnor.temp, align 8
%260 = load ptr, ptr %6, align 8
%261 = load double, ptr %260, align 8
%262 = load ptr, ptr %5, align 8
store double %261, ptr %262, align 8
%263 = load double, ptr @cumnor.temp, align 8
%264 = load ptr, ptr %6, align 8
store double %263, ptr %264, align 8
br label %265
265: ; preds = %257, %201
br label %266
266: ; preds = %265, %164
br label %267
267: ; preds = %266, %55
%268 = load ptr, ptr %5, align 8
%269 = load double, ptr %268, align 8
%270 = load double, ptr @cumnor.min, align 8
%271 = fcmp olt double %269, %270
br i1 %271, label %272, label %274
272: ; preds = %267
%273 = load ptr, ptr %5, align 8
store double 0.000000e+00, ptr %273, align 8
br label %274
274: ; preds = %272, %267
%275 = load ptr, ptr %6, align 8
%276 = load double, ptr %275, align 8
%277 = load double, ptr @cumnor.min, align 8
%278 = fcmp olt double %276, %277
br i1 %278, label %279, label %281
279: ; preds = %274
%280 = load ptr, ptr %6, align 8
store double 0.000000e+00, ptr %280, align 8
br label %281
281: ; preds = %279, %274
ret void
}
declare double @spmpar(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @fifdint(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double 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 = { "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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphm17gmdk.c'
source_filename = "/tmp/tmphm17gmdk.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"Nhap vao mot chuoi\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Length of string is %d\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
%6 = alloca [255 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %19, %2
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %11
br label %19
19: ; preds = %18
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %11, !llvm.loop !6
22: ; preds = %11
%23 = load i32, ptr %7, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(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/tmphm17gmdk.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"Nhap vao mot chuoi\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Length of string is %d\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
%6 = alloca [255 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %18
br label %18
18: ; preds = %17
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [255 x i8], ptr %6, i64 0, 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 %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i32, ptr %7, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(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/tmp22kzyges.c'
source_filename = "/tmp/tmp22kzyges.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 @wcslen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i64, ptr %3, align 8
%11 = add i64 %10, 1
store i64 %11, ptr %3, align 8
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i64, ptr %3, align 8
ret i64 %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/tmp22kzyges.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 @wcslen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 1
store i64 %10, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i32, ptr %11, align 4
%14 = icmp ne i32 %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 i64, ptr %3, align 8
ret i64 %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/tmplyf_00u5.c'
source_filename = "/tmp/tmplyf_00u5.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 zeroext i8 @charset_p_toascii(i8 noundef zeroext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = load i8, ptr %4, align 1
%10 = zext i8 %9 to i32
%11 = icmp sle i32 %10, 31
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load i8, ptr %4, align 1
%14 = zext i8 %13 to i32
%15 = add nsw i32 %14, 64
%16 = trunc i32 %15 to i8
store i8 %16, ptr %4, align 1
br label %17
17: ; preds = %12, %8
br label %18
18: ; preds = %17, %2
%19 = load i8, ptr %4, align 1
%20 = call zeroext i8 @petcii_fix_dupes(i8 noundef zeroext %19)
store i8 %20, ptr %4, align 1
%21 = load i8, ptr %4, align 1
%22 = zext i8 %21 to i32
%23 = icmp eq i32 %22, 13
br i1 %23, label %24, label %25
24: ; preds = %18
store i8 10, ptr %3, align 1
br label %84
25: ; preds = %18
%26 = load i8, ptr %4, align 1
%27 = zext i8 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %30
29: ; preds = %25
store i8 13, ptr %3, align 1
br label %84
30: ; preds = %25
%31 = load i8, ptr %4, align 1
%32 = zext i8 %31 to i32
%33 = icmp sle i32 %32, 31
br i1 %33, label %34, label %35
34: ; preds = %30
store i8 46, ptr %3, align 1
br label %84
35: ; preds = %30
%36 = load i8, ptr %4, align 1
%37 = zext i8 %36 to i32
%38 = icmp eq i32 %37, 160
br i1 %38, label %39, label %40
39: ; preds = %35
store i8 32, ptr %3, align 1
br label %84
40: ; preds = %35
%41 = load i8, ptr %4, align 1
%42 = zext i8 %41 to i32
%43 = icmp sge i32 %42, 193
br i1 %43, label %44, label %54
44: ; preds = %40
%45 = load i8, ptr %4, align 1
%46 = zext i8 %45 to i32
%47 = icmp sle i32 %46, 218
br i1 %47, label %48, label %54
48: ; preds = %44
%49 = load i8, ptr %4, align 1
%50 = zext i8 %49 to i32
%51 = sub nsw i32 %50, 193
%52 = add nsw i32 %51, 65
%53 = trunc i32 %52 to i8
store i8 %53, ptr %3, align 1
br label %84
54: ; preds = %44, %40
%55 = load i8, ptr %4, align 1
%56 = zext i8 %55 to i32
%57 = icmp sge i32 %56, 65
br i1 %57, label %58, label %68
58: ; preds = %54
%59 = load i8, ptr %4, align 1
%60 = zext i8 %59 to i32
%61 = icmp sle i32 %60, 90
br i1 %61, label %62, label %68
62: ; preds = %58
%63 = load i8, ptr %4, align 1
%64 = zext i8 %63 to i32
%65 = sub nsw i32 %64, 65
%66 = add nsw i32 %65, 97
%67 = trunc i32 %66 to i8
store i8 %67, ptr %3, align 1
br label %84
68: ; preds = %58, %54
br label %69
69: ; preds = %68
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72
%74 = load i8, ptr %4, align 1
%75 = call i64 @isprint(i8 noundef zeroext %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %73
%78 = load i8, ptr %4, align 1
%79 = zext i8 %78 to i32
br label %81
80: ; preds = %73
br label %81
81: ; preds = %80, %77
%82 = phi i32 [ %79, %77 ], [ 46, %80 ]
%83 = trunc i32 %82 to i8
store i8 %83, ptr %3, align 1
br label %84
84: ; preds = %81, %62, %48, %39, %34, %29, %24
%85 = load i8, ptr %3, align 1
ret i8 %85
}
declare zeroext i8 @petcii_fix_dupes(i8 noundef zeroext) #1
declare i64 @isprint(i8 noundef zeroext) #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/tmplyf_00u5.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 zeroext i8 @charset_p_toascii(i8 noundef zeroext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = load i8, ptr %4, align 1
%10 = zext i8 %9 to i32
%11 = icmp sle i32 %10, 31
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load i8, ptr %4, align 1
%14 = zext i8 %13 to i32
%15 = add nsw i32 %14, 64
%16 = trunc i32 %15 to i8
store i8 %16, ptr %4, align 1
br label %17
17: ; preds = %12, %8
br label %18
18: ; preds = %17, %2
%19 = load i8, ptr %4, align 1
%20 = call zeroext i8 @petcii_fix_dupes(i8 noundef zeroext %19)
store i8 %20, ptr %4, align 1
%21 = load i8, ptr %4, align 1
%22 = zext i8 %21 to i32
%23 = icmp eq i32 %22, 13
br i1 %23, label %24, label %25
24: ; preds = %18
store i8 10, ptr %3, align 1
br label %84
25: ; preds = %18
%26 = load i8, ptr %4, align 1
%27 = zext i8 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %30
29: ; preds = %25
store i8 13, ptr %3, align 1
br label %84
30: ; preds = %25
%31 = load i8, ptr %4, align 1
%32 = zext i8 %31 to i32
%33 = icmp sle i32 %32, 31
br i1 %33, label %34, label %35
34: ; preds = %30
store i8 46, ptr %3, align 1
br label %84
35: ; preds = %30
%36 = load i8, ptr %4, align 1
%37 = zext i8 %36 to i32
%38 = icmp eq i32 %37, 160
br i1 %38, label %39, label %40
39: ; preds = %35
store i8 32, ptr %3, align 1
br label %84
40: ; preds = %35
%41 = load i8, ptr %4, align 1
%42 = zext i8 %41 to i32
%43 = icmp sge i32 %42, 193
br i1 %43, label %44, label %54
44: ; preds = %40
%45 = load i8, ptr %4, align 1
%46 = zext i8 %45 to i32
%47 = icmp sle i32 %46, 218
br i1 %47, label %48, label %54
48: ; preds = %44
%49 = load i8, ptr %4, align 1
%50 = zext i8 %49 to i32
%51 = sub nsw i32 %50, 193
%52 = add nsw i32 %51, 65
%53 = trunc i32 %52 to i8
store i8 %53, ptr %3, align 1
br label %84
54: ; preds = %44, %40
%55 = load i8, ptr %4, align 1
%56 = zext i8 %55 to i32
%57 = icmp sge i32 %56, 65
br i1 %57, label %58, label %68
58: ; preds = %54
%59 = load i8, ptr %4, align 1
%60 = zext i8 %59 to i32
%61 = icmp sle i32 %60, 90
br i1 %61, label %62, label %68
62: ; preds = %58
%63 = load i8, ptr %4, align 1
%64 = zext i8 %63 to i32
%65 = sub nsw i32 %64, 65
%66 = add nsw i32 %65, 97
%67 = trunc i32 %66 to i8
store i8 %67, ptr %3, align 1
br label %84
68: ; preds = %58, %54
br label %69
69: ; preds = %68
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72
%74 = load i8, ptr %4, align 1
%75 = call i64 @isprint(i8 noundef zeroext %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %73
%78 = load i8, ptr %4, align 1
%79 = zext i8 %78 to i32
br label %81
80: ; preds = %73
br label %81
81: ; preds = %80, %77
%82 = phi i32 [ %79, %77 ], [ 46, %80 ]
%83 = trunc i32 %82 to i8
store i8 %83, ptr %3, align 1
br label %84
84: ; preds = %81, %62, %48, %39, %34, %29, %24
%85 = load i8, ptr %3, align 1
ret i8 %85
}
declare zeroext i8 @petcii_fix_dupes(i8 noundef zeroext) #1
declare i64 @isprint(i8 noundef zeroext) #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/tmp7q7oyq1m.c'
source_filename = "/tmp/tmp7q7oyq1m.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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%02x\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 void @hexdump(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
store ptr @.str, ptr %11, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %25, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %28
17: ; preds = %13
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @fwdprintf(ptr noundef %7, ptr noundef %8, ptr noundef @.str.1, ptr noundef %18, i32 noundef %23)
store ptr @.str.2, ptr %11, align 8
br label %25
25: ; preds = %17
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
ret void
}
declare i32 @fwdprintf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7q7oyq1m.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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%02x\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 void @hexdump(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
store ptr @.str, ptr %11, align 8
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %24
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %10, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 @fwdprintf(ptr noundef %7, ptr noundef %8, ptr noundef @.str.1, ptr noundef %17, i32 noundef %22)
store ptr @.str.2, ptr %11, align 8
br label %24
24: ; preds = %16
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %4
ret void
}
declare i32 @fwdprintf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg__rdzbg.c'
source_filename = "/tmp/tmpg__rdzbg.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 @ossl_assert_int(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = call i32 @OPENSSL_die(ptr noundef %12, ptr noundef %13, i32 noundef %14)
br label %16
16: ; preds = %11, %4
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @OPENSSL_die(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/tmpg__rdzbg.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 @ossl_assert_int(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = call i32 @OPENSSL_die(ptr noundef %12, ptr noundef %13, i32 noundef %14)
br label %16
16: ; preds = %11, %4
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @OPENSSL_die(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/tmp25d7pjog.c'
source_filename = "/tmp/tmp25d7pjog.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 willreturn memory(none) uwtable
define dso_local double @fabs(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp olt double %3, 0.000000e+00
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = fneg double %6
store double %7, ptr %2, align 8
br label %8
8: ; preds = %5, %1
%9 = load double, ptr %2, align 8
ret double %9
}
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) 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/tmp25d7pjog.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 willreturn memory(none) uwtable
define dso_local double @fabs(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp olt double %3, 0.000000e+00
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = fneg double %6
store double %7, ptr %2, align 8
br label %8
8: ; preds = %5, %1
%9 = load double, ptr %2, align 8
ret double %9
}
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) 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/tmp1waqpnuv.c'
source_filename = "/tmp/tmp1waqpnuv.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 [38 x i8] c"Please specify a file and operation\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"fstat_test <filename> <operation>\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
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 2
br i1 %10, label %11, label %23
11: ; preds = %2
store i32 0, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %14, ptr noundef %17)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fileno(ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = call i32 @fstat(i32 noundef %21, ptr noundef %8)
br label %27
23: ; preds = %2
%24 = call i32 @printf(ptr noundef @.str)
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = call i32 @printf(ptr noundef @.str.2)
br label %27
27: ; preds = %23, %11
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
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/tmp1waqpnuv.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 [38 x i8] c"Please specify a file and operation\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"fstat_test <filename> <operation>\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
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 2
br i1 %10, label %11, label %23
11: ; preds = %2
store i32 0, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %14, ptr noundef %17)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fileno(ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = call i32 @fstat(i32 noundef %21, ptr noundef %8)
br label %27
23: ; preds = %2
%24 = call i32 @printf(ptr noundef @.str)
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = call i32 @printf(ptr noundef @.str.2)
br label %27
27: ; preds = %23, %11
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
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/tmpwzq58dqx.c'
source_filename = "/tmp/tmpwzq58dqx.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 @resource_put(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @_rc_find_by_data(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
br label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @_rc_put(ptr noundef %10)
br label %12
12: ; preds = %9, %8
ret void
}
declare ptr @_rc_find_by_data(ptr noundef) #1
declare i32 @_rc_put(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/tmpwzq58dqx.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 @resource_put(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @_rc_find_by_data(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
br label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @_rc_put(ptr noundef %10)
br label %12
12: ; preds = %9, %8
ret void
}
declare ptr @_rc_find_by_data(ptr noundef) #1
declare i32 @_rc_put(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/tmpdfliubmv.c'
source_filename = "/tmp/tmpdfliubmv.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 @stdlib_strided_dsnansum(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call double @stdlib_strided_dsnansumpw(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret double %10
}
declare double @stdlib_strided_dsnansumpw(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/tmpdfliubmv.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 @stdlib_strided_dsnansum(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call double @stdlib_strided_dsnansumpw(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret double %10
}
declare double @stdlib_strided_dsnansumpw(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/tmp1w9eudng.c'
source_filename = "/tmp/tmp1w9eudng.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 @fputs(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 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write(i32 noundef %5, ptr noundef %6, i32 noundef %8)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1w9eudng.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 @fputs(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 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write(i32 noundef %5, ptr noundef %6, i32 noundef %8)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
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"}
|
; ModuleID = '/tmp/tmpsmns_6ln.c'
source_filename = "/tmp/tmpsmns_6ln.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"
@ENOSYS = 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/tmpsmns_6ln.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"
@ENOSYS = 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/tmpm4td21kd.c'
source_filename = "/tmp/tmpm4td21kd.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 [38 x i8] c"(check-= (%s (open-input-bytes (bytes\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"))) %.3f 0.01)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_flo_test(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca double, 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 double %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10)
store i64 0, ptr %9, align 8
br label %12
12: ; preds = %24, %4
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %7, align 8
%15 = udiv i64 %14, 8
%16 = icmp ult i64 %13, %15
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %17
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load double, ptr %8, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %28)
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/tmpm4td21kd.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 [38 x i8] c"(check-= (%s (open-input-bytes (bytes\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"))) %.3f 0.01)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_flo_test(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca double, 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 double %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10)
store i64 0, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %7, align 8
%14 = udiv i64 %13, 8
%15 = icmp ult i64 %12, %14
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %23
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
br label %23
23: ; preds = %16
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = load i64, ptr %7, align 8
%28 = udiv i64 %27, 8
%29 = icmp ult i64 %26, %28
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %4
%31 = load double, ptr %8, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %31)
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/tmp2y4j5ete.c'
source_filename = "/tmp/tmp2y4j5ete.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 @find_next_bit(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %7, align 8
%13 = udiv i64 %12, 32
%14 = getelementptr inbounds i64, ptr %11, i64 %13
store ptr %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = and i64 %15, -32
store i64 %16, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp uge i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %3
%21 = load i64, ptr %6, align 8
store i64 %21, ptr %4, align 8
br label %92
22: ; preds = %3
%23 = load i64, ptr %9, align 8
%24 = load i64, ptr %6, align 8
%25 = sub i64 %24, %23
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = urem i64 %26, 32
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %50
30: ; preds = %22
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i64, ptr %31, i32 1
store ptr %32, ptr %8, align 8
%33 = load i64, ptr %31, align 8
store i64 %33, ptr %10, align 8
%34 = load i64, ptr %7, align 8
%35 = shl i64 -1, %34
%36 = load i64, ptr %10, align 8
%37 = and i64 %36, %35
store i64 %37, ptr %10, align 8
%38 = load i64, ptr %6, align 8
%39 = icmp ult i64 %38, 32
br i1 %39, label %40, label %41
40: ; preds = %30
br label %74
41: ; preds = %30
%42 = load i64, ptr %10, align 8
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
br label %87
45: ; preds = %41
%46 = load i64, ptr %6, align 8
%47 = sub i64 %46, 32
store i64 %47, ptr %6, align 8
%48 = load i64, ptr %9, align 8
%49 = add i64 %48, 32
store i64 %49, ptr %9, align 8
br label %50
50: ; preds = %45, %22
br label %51
51: ; preds = %61, %50
%52 = load i64, ptr %6, align 8
%53 = and i64 %52, -32
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %66
55: ; preds = %51
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds i64, ptr %56, i32 1
store ptr %57, ptr %8, align 8
%58 = load i64, ptr %56, align 8
store i64 %58, ptr %10, align 8
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %55
br label %87
61: ; preds = %55
%62 = load i64, ptr %9, align 8
%63 = add i64 %62, 32
store i64 %63, ptr %9, align 8
%64 = load i64, ptr %6, align 8
%65 = sub i64 %64, 32
store i64 %65, ptr %6, align 8
br label %51, !llvm.loop !6
66: ; preds = %51
%67 = load i64, ptr %6, align 8
%68 = icmp ne i64 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %66
%70 = load i64, ptr %9, align 8
store i64 %70, ptr %4, align 8
br label %92
71: ; preds = %66
%72 = load ptr, ptr %8, align 8
%73 = load i64, ptr %72, align 8
store i64 %73, ptr %10, align 8
br label %74
74: ; preds = %71, %40
%75 = load i64, ptr %6, align 8
%76 = sub i64 32, %75
%77 = lshr i64 -1, %76
%78 = load i64, ptr %10, align 8
%79 = and i64 %78, %77
store i64 %79, ptr %10, align 8
%80 = load i64, ptr %10, align 8
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %74
%83 = load i64, ptr %9, align 8
%84 = load i64, ptr %6, align 8
%85 = add i64 %83, %84
store i64 %85, ptr %4, align 8
br label %92
86: ; preds = %74
br label %87
87: ; preds = %86, %60, %44
%88 = load i64, ptr %9, align 8
%89 = load i64, ptr %10, align 8
%90 = call i64 @__ffs(i64 noundef %89)
%91 = add i64 %88, %90
store i64 %91, ptr %4, align 8
br label %92
92: ; preds = %87, %82, %69, %20
%93 = load i64, ptr %4, align 8
ret i64 %93
}
declare i64 @__ffs(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2y4j5ete.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 @find_next_bit(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %7, align 8
%13 = udiv i64 %12, 32
%14 = getelementptr inbounds i64, ptr %11, i64 %13
store ptr %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = and i64 %15, -32
store i64 %16, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp uge i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %3
%21 = load i64, ptr %6, align 8
store i64 %21, ptr %4, align 8
br label %94
22: ; preds = %3
%23 = load i64, ptr %9, align 8
%24 = load i64, ptr %6, align 8
%25 = sub i64 %24, %23
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = urem i64 %26, 32
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %50
30: ; preds = %22
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i64, ptr %31, i32 1
store ptr %32, ptr %8, align 8
%33 = load i64, ptr %31, align 8
store i64 %33, ptr %10, align 8
%34 = load i64, ptr %7, align 8
%35 = shl i64 -1, %34
%36 = load i64, ptr %10, align 8
%37 = and i64 %36, %35
store i64 %37, ptr %10, align 8
%38 = load i64, ptr %6, align 8
%39 = icmp ult i64 %38, 32
br i1 %39, label %40, label %41
40: ; preds = %30
br label %76
41: ; preds = %30
%42 = load i64, ptr %10, align 8
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
br label %89
45: ; preds = %41
%46 = load i64, ptr %6, align 8
%47 = sub i64 %46, 32
store i64 %47, ptr %6, align 8
%48 = load i64, ptr %9, align 8
%49 = add i64 %48, 32
store i64 %49, ptr %9, align 8
br label %50
50: ; preds = %45, %22
%51 = load i64, ptr %6, align 8
%52 = and i64 %51, -32
%53 = icmp ne i64 %52, 0
br i1 %53, label %.lr.ph, label %68
.lr.ph: ; preds = %50
br label %54
54: ; preds = %.lr.ph, %60
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i64, ptr %55, i32 1
store ptr %56, ptr %8, align 8
%57 = load i64, ptr %55, align 8
store i64 %57, ptr %10, align 8
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %54
br label %89
60: ; preds = %54
%61 = load i64, ptr %9, align 8
%62 = add i64 %61, 32
store i64 %62, ptr %9, align 8
%63 = load i64, ptr %6, align 8
%64 = sub i64 %63, 32
store i64 %64, ptr %6, align 8
%65 = load i64, ptr %6, align 8
%66 = and i64 %65, -32
%67 = icmp ne i64 %66, 0
br i1 %67, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %68
68: ; preds = %._crit_edge, %50
%69 = load i64, ptr %6, align 8
%70 = icmp ne i64 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %68
%72 = load i64, ptr %9, align 8
store i64 %72, ptr %4, align 8
br label %94
73: ; preds = %68
%74 = load ptr, ptr %8, align 8
%75 = load i64, ptr %74, align 8
store i64 %75, ptr %10, align 8
br label %76
76: ; preds = %73, %40
%77 = load i64, ptr %6, align 8
%78 = sub i64 32, %77
%79 = lshr i64 -1, %78
%80 = load i64, ptr %10, align 8
%81 = and i64 %80, %79
store i64 %81, ptr %10, align 8
%82 = load i64, ptr %10, align 8
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %88
84: ; preds = %76
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %6, align 8
%87 = add i64 %85, %86
store i64 %87, ptr %4, align 8
br label %94
88: ; preds = %76
br label %89
89: ; preds = %88, %59, %44
%90 = load i64, ptr %9, align 8
%91 = load i64, ptr %10, align 8
%92 = call i64 @__ffs(i64 noundef %91)
%93 = add i64 %90, %92
store i64 %93, ptr %4, align 8
br label %94
94: ; preds = %89, %84, %71, %20
%95 = load i64, ptr %4, align 8
ret i64 %95
}
declare i64 @__ffs(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5exhhwc6.c'
source_filename = "/tmp/tmp5exhhwc6.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/tmp5exhhwc6.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/tmp0_qb41yt.c'
source_filename = "/tmp/tmp0_qb41yt.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 [43 x i8] c"Out of memory (cannot reallocate %d bytes)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @UtilRealloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @realloc(ptr noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @FatalError(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %11, %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @FatalError(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/tmp0_qb41yt.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 [43 x i8] c"Out of memory (cannot reallocate %d bytes)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @UtilRealloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @realloc(ptr noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @FatalError(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %11, %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @FatalError(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/tmpoulbm1tt.c'
source_filename = "/tmp/tmpoulbm1tt.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 @config_weechat_key_read_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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 ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %33
16: ; preds = %5
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %29
19: ; preds = %16
%20 = load ptr, ptr %10, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %19
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %10, align 8
%28 = call i32 @gui_keyboard_bind(ptr noundef null, ptr noundef %26, ptr noundef %27)
br label %32
29: ; preds = %19, %16
%30 = load ptr, ptr %9, align 8
%31 = call i32 @gui_keyboard_unbind(ptr noundef null, ptr noundef %30, i32 noundef 1)
br label %32
32: ; preds = %29, %25
br label %33
33: ; preds = %32, %5
ret i32 1
}
declare i32 @gui_keyboard_bind(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gui_keyboard_unbind(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/tmpoulbm1tt.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 @config_weechat_key_read_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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 ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %33
16: ; preds = %5
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %29
19: ; preds = %16
%20 = load ptr, ptr %10, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %19
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %10, align 8
%28 = call i32 @gui_keyboard_bind(ptr noundef null, ptr noundef %26, ptr noundef %27)
br label %32
29: ; preds = %19, %16
%30 = load ptr, ptr %9, align 8
%31 = call i32 @gui_keyboard_unbind(ptr noundef null, ptr noundef %30, i32 noundef 1)
br label %32
32: ; preds = %29, %25
br label %33
33: ; preds = %32, %5
ret i32 1
}
declare i32 @gui_keyboard_bind(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gui_keyboard_unbind(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/tmpl9ok32tq.c'
source_filename = "/tmp/tmpl9ok32tq.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"
@GL_FALSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @key(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
switch i32 %5, label %8 [
i32 113, label %6
i32 57348, label %6
]
6: ; preds = %2, %2
%7 = call i32 @exit(i32 noundef 0) #2
unreachable
8: ; preds = %2
%9 = load i32, ptr @GL_FALSE, align 4
ret i32 %9
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmpl9ok32tq.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"
@GL_FALSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @key(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
switch i32 %5, label %8 [
i32 113, label %6
i32 57348, label %6
]
6: ; preds = %2, %2
%7 = call i32 @exit(i32 noundef 0) #2
unreachable
8: ; preds = %2
%9 = load i32, ptr @GL_FALSE, align 4
ret i32 %9
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmpqf09j3ju.c'
source_filename = "/tmp/tmpqf09j3ju.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/tmpqf09j3ju.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/tmptn1831dv.c'
source_filename = "/tmp/tmptn1831dv.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/tmptn1831dv.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/tmpjtjcv5fb.c'
source_filename = "/tmp/tmpjtjcv5fb.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.s = private unnamed_addr constant [14 x i8] c"hello, world\0A\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"elf\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() #0 {
%1 = alloca i32, align 4
%2 = alloca [14 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 14, i1 false)
%3 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @squeeze(ptr noundef %3, ptr noundef @.str)
%5 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
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 @squeeze(ptr noundef, ptr noundef) #2
declare i32 @printf(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 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/tmpjtjcv5fb.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.s = private unnamed_addr constant [14 x i8] c"hello, world\0A\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"elf\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() #0 {
%1 = alloca i32, align 4
%2 = alloca [14 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 14, i1 false)
%3 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @squeeze(ptr noundef %3, ptr noundef @.str)
%5 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
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 @squeeze(ptr noundef, ptr noundef) #2
declare i32 @printf(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 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/tmp_ie_h102.c'
source_filename = "/tmp/tmp_ie_h102.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 @test_log1pf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @log1pf(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = call i64 @log1pf(float noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_log1pf()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @log1pf(float noundef) #1
declare i32 @link_failure_log1pf(...) #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_ie_h102.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 @test_log1pf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @log1pf(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = call i64 @log1pf(float noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_log1pf()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @log1pf(float noundef) #1
declare i32 @link_failure_log1pf(...) #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/tmpw3v8p5dg.c'
source_filename = "/tmp/tmpw3v8p5dg.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"
@B57600 = dso_local global i32 0, align 4
@BRKINT = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CSIZE = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ECHONL = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ICRNL = dso_local global i32 0, align 4
@IEXTEN = dso_local global i32 0, align 4
@IGNBRK = dso_local global i32 0, align 4
@IGNCR = dso_local global i32 0, align 4
@INLCR = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@ISTRIP = dso_local global i32 0, align 4
@IXON = dso_local global i32 0, align 4
@OPOST = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@PARMRK = dso_local global i32 0, align 4
@TCSAFLUSH = 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/tmpw3v8p5dg.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"
@B57600 = dso_local global i32 0, align 4
@BRKINT = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CSIZE = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ECHONL = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ICRNL = dso_local global i32 0, align 4
@IEXTEN = dso_local global i32 0, align 4
@IGNBRK = dso_local global i32 0, align 4
@IGNCR = dso_local global i32 0, align 4
@INLCR = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@ISTRIP = dso_local global i32 0, align 4
@IXON = dso_local global i32 0, align 4
@OPOST = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@PARMRK = dso_local global i32 0, align 4
@TCSAFLUSH = 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/tmp4zijx3h6.c'
source_filename = "/tmp/tmp4zijx3h6.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 @PDB0_IRQHandler() #0 {
%1 = call i32 (...) @PDB0_DriverIRQHandler()
ret void
}
declare i32 @PDB0_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/tmp4zijx3h6.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 @PDB0_IRQHandler() #0 {
%1 = call i32 (...) @PDB0_DriverIRQHandler()
ret void
}
declare i32 @PDB0_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/tmpwxh6sw_f.c'
source_filename = "/tmp/tmpwxh6sw_f.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/tmpwxh6sw_f.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/tmpdmi0udhu.c'
source_filename = "/tmp/tmpdmi0udhu.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"Welcome to my home\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Year\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Month\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Day\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Version: 0.02\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"I am main\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
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.4)
%8 = call i32 @printf(ptr noundef @.str.5)
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/tmpdmi0udhu.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"Welcome to my home\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Year\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Month\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Day\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Version: 0.02\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"I am main\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
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.4)
%8 = call i32 @printf(ptr noundef @.str.5)
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/tmpdcywk7yc.c'
source_filename = "/tmp/tmpdcywk7yc.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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tc_vote_print(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @tc_vote_notvalid(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6, %1
store i32 -1, ptr %2, align 4
br label %21
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i32 @tc_vote_print_M(ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @tc_vote_print_rows(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str)
%18 = load ptr, ptr %3, align 8
%19 = call i32 @tc_vote_print_cols(ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %11, %10
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i64 @tc_vote_notvalid(ptr noundef) #1
declare i32 @tc_vote_print_M(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @tc_vote_print_rows(ptr noundef) #1
declare i32 @tc_vote_print_cols(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/tmpdcywk7yc.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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tc_vote_print(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @tc_vote_notvalid(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6, %1
store i32 -1, ptr %2, align 4
br label %21
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i32 @tc_vote_print_M(ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @tc_vote_print_rows(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str)
%18 = load ptr, ptr %3, align 8
%19 = call i32 @tc_vote_print_cols(ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %11, %10
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i64 @tc_vote_notvalid(ptr noundef) #1
declare i32 @tc_vote_print_M(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @tc_vote_print_rows(ptr noundef) #1
declare i32 @tc_vote_print_cols(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/tmpz97nmwa5.c'
source_filename = "/tmp/tmpz97nmwa5.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 [14 x i8] c"Enter string:\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Entered string is:\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Enter string2:\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"\0A%c\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
%6 = alloca i32, align 4
%7 = alloca [2 x i8], align 1
%8 = alloca [2 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = call i32 @puts(ptr noundef @.str)
%10 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%11 = call i32 @gets(ptr noundef %10)
%12 = call i32 @puts(ptr noundef @.str.1)
%13 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @puts(ptr noundef %13)
%15 = call i32 @puts(ptr noundef @.str.2)
%16 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%17 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %16)
%18 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 3
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
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/tmpz97nmwa5.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 [14 x i8] c"Enter string:\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Entered string is:\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Enter string2:\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"\0A%c\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
%6 = alloca i32, align 4
%7 = alloca [2 x i8], align 1
%8 = alloca [2 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = call i32 @puts(ptr noundef @.str)
%10 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%11 = call i32 @gets(ptr noundef %10)
%12 = call i32 @puts(ptr noundef @.str.1)
%13 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @puts(ptr noundef %13)
%15 = call i32 @puts(ptr noundef @.str.2)
%16 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%17 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %16)
%18 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 3
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
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/tmp7ibbnfcw.c'
source_filename = "/tmp/tmp7ibbnfcw.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 @stristart(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %26, %3
%13 = load ptr, ptr %9, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %31
17: ; preds = %12
%18 = load ptr, ptr %8, align 8
%19 = load i8, ptr %18, align 1
%20 = call i64 @toupper(i8 noundef signext %19)
%21 = load ptr, ptr %9, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @toupper(i8 noundef signext %22)
%24 = icmp ne i64 %20, %23
br i1 %24, label %25, label %26
25: ; preds = %17
store i32 0, ptr %4, align 4
br label %38
26: ; preds = %17
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %9, align 8
br label %12, !llvm.loop !6
31: ; preds = %12
%32 = load ptr, ptr %7, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %7, align 8
store ptr %35, ptr %36, align 8
br label %37
37: ; preds = %34, %31
store i32 1, ptr %4, align 4
br label %38
38: ; preds = %37, %25
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare i64 @toupper(i8 noundef signext) #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/tmp7ibbnfcw.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 @stristart(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %34
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %25
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = call i64 @toupper(i8 noundef signext %18)
%20 = load ptr, ptr %9, align 8
%21 = load i8, ptr %20, align 1
%22 = call i64 @toupper(i8 noundef signext %21)
%23 = icmp ne i64 %19, %22
br i1 %23, label %24, label %25
24: ; preds = %16
store i32 0, ptr %4, align 4
br label %41
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %9, align 8
%30 = load ptr, ptr %9, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 0
br i1 %33, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %34
34: ; preds = %._crit_edge, %3
%35 = load ptr, ptr %7, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %7, align 8
store ptr %38, ptr %39, align 8
br label %40
40: ; preds = %37, %34
store i32 1, ptr %4, align 4
br label %41
41: ; preds = %40, %24
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i64 @toupper(i8 noundef signext) #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/tmp44pr9eqq.c'
source_filename = "/tmp/tmp44pr9eqq.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 @infinite_taunt(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @mtwist_next(ptr noundef %7)
%9 = srem i32 %8, 4
switch i32 %9, label %30 [
i32 0, label %10
i32 1, label %15
i32 2, label %20
i32 3, label %25
]
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @infinite_taunt0(ptr noundef %11, ptr noundef %12, i32 noundef %13)
br label %35
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @infinite_taunt1(ptr noundef %16, ptr noundef %17, i32 noundef %18)
br label %35
20: ; preds = %3
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @infinite_taunt2(ptr noundef %21, ptr noundef %22, i32 noundef %23)
br label %35
25: ; preds = %3
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @infinite_taunt3(ptr noundef %26, ptr noundef %27, i32 noundef %28)
br label %35
30: ; preds = %3
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @infinite_taunt1(ptr noundef %31, ptr noundef %32, i32 noundef %33)
br label %35
35: ; preds = %30, %25, %20, %15, %10
ret void
}
declare i32 @mtwist_next(ptr noundef) #1
declare i32 @infinite_taunt0(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @infinite_taunt1(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @infinite_taunt2(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @infinite_taunt3(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/tmp44pr9eqq.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 @infinite_taunt(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @mtwist_next(ptr noundef %7)
%9 = srem i32 %8, 4
switch i32 %9, label %30 [
i32 0, label %10
i32 1, label %15
i32 2, label %20
i32 3, label %25
]
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @infinite_taunt0(ptr noundef %11, ptr noundef %12, i32 noundef %13)
br label %35
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @infinite_taunt1(ptr noundef %16, ptr noundef %17, i32 noundef %18)
br label %35
20: ; preds = %3
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @infinite_taunt2(ptr noundef %21, ptr noundef %22, i32 noundef %23)
br label %35
25: ; preds = %3
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @infinite_taunt3(ptr noundef %26, ptr noundef %27, i32 noundef %28)
br label %35
30: ; preds = %3
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @infinite_taunt1(ptr noundef %31, ptr noundef %32, i32 noundef %33)
br label %35
35: ; preds = %30, %25, %20, %15, %10
ret void
}
declare i32 @mtwist_next(ptr noundef) #1
declare i32 @infinite_taunt0(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @infinite_taunt1(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @infinite_taunt2(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @infinite_taunt3(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/tmpahwdk5p4.c'
source_filename = "/tmp/tmpahwdk5p4.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 [4 x i8] c"ok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_ok() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fflush(i32 noundef %3)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(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/tmpahwdk5p4.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 [4 x i8] c"ok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_ok() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fflush(i32 noundef %3)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(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/tmpvbdpaq2h.c'
source_filename = "/tmp/tmpvbdpaq2h.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 [13 x i8] c"vet[%d]: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @escreve_vet(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
ret void
}
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvbdpaq2h.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 [13 x i8] c"vet[%d]: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @escreve_vet(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %17
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxqqt4o38.c'
source_filename = "/tmp/tmpxqqt4o38.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"Help placeholder here.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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/tmpxqqt4o38.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"Help placeholder here.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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/tmpen8yzmh5.c'
source_filename = "/tmp/tmpen8yzmh5.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.sockaddr_in6 = type { i32 }
%struct.pollfd = type { i32, i32, i32 }
@LOG_NOTICE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"failed to accept: %s\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@POLLIN = dso_local global i32 0, align 4
@POLLHUP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @update_from(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [2048 x i8], align 16
%7 = alloca %struct.sockaddr_in6, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.pollfd, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 4, ptr %8, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @accept(i32 noundef %12, ptr noundef %7, ptr noundef %8)
store i32 %13, ptr %5, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load i32, ptr @LOG_NOTICE, align 4
%17 = load i32, ptr @errno, align 4
%18 = call i32 @strerror(i32 noundef %17)
%19 = call i32 @syslog(i32 noundef %16, ptr noundef @.str, i32 noundef %18)
br label %73
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = call ptr @popen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %10, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %20
%26 = load i32, ptr %5, align 4
%27 = call i32 @close(i32 noundef %26)
br label %72
28: ; preds = %20
%29 = load i32, ptr %5, align 4
%30 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 0
store i32 %29, ptr %30, align 4
%31 = load i32, ptr @POLLIN, align 4
%32 = load i32, ptr @POLLHUP, align 4
%33 = or i32 %31, %32
%34 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 1
store i32 %33, ptr %34, align 4
br label %35
35: ; preds = %70, %28
store i32 0, ptr %11, align 4
%36 = call i32 @poll(ptr noundef %9, i32 noundef 1, i32 noundef 10)
%37 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 2
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr @POLLIN, align 4
%40 = and i32 %38, %39
%41 = load i32, ptr @POLLIN, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %55
43: ; preds = %35
%44 = load i32, ptr %5, align 4
%45 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%46 = call i32 @recv(i32 noundef %44, ptr noundef %45, i32 noundef 2048, i32 noundef 0)
store i32 %46, ptr %11, align 4
%47 = load i32, ptr %11, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %54
49: ; preds = %43
%50 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%51 = load i32, ptr %11, align 4
%52 = load ptr, ptr %10, align 8
%53 = call i32 @fwrite(ptr noundef %50, i32 noundef %51, i32 noundef 1, ptr noundef %52)
br label %54
54: ; preds = %49, %43
br label %55
55: ; preds = %54, %35
%56 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 2
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr @POLLHUP, align 4
%59 = and i32 %57, %58
%60 = load i32, ptr @POLLHUP, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %65, label %62
62: ; preds = %55
%63 = load i32, ptr %11, align 4
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %62, %55
%66 = load i32, ptr %5, align 4
%67 = call i32 @close(i32 noundef %66)
%68 = load ptr, ptr %10, align 8
%69 = call i32 @fclose(ptr noundef %68)
br label %71
70: ; preds = %62
br label %35
71: ; preds = %65
br label %72
72: ; preds = %71, %25
br label %73
73: ; preds = %72, %15
ret i32 0
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpen8yzmh5.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.sockaddr_in6 = type { i32 }
%struct.pollfd = type { i32, i32, i32 }
@LOG_NOTICE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"failed to accept: %s\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@POLLIN = dso_local global i32 0, align 4
@POLLHUP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @update_from(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [2048 x i8], align 16
%7 = alloca %struct.sockaddr_in6, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.pollfd, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 4, ptr %8, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @accept(i32 noundef %12, ptr noundef %7, ptr noundef %8)
store i32 %13, ptr %5, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load i32, ptr @LOG_NOTICE, align 4
%17 = load i32, ptr @errno, align 4
%18 = call i32 @strerror(i32 noundef %17)
%19 = call i32 @syslog(i32 noundef %16, ptr noundef @.str, i32 noundef %18)
br label %72
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = call ptr @popen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %10, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %20
%26 = load i32, ptr %5, align 4
%27 = call i32 @close(i32 noundef %26)
br label %71
28: ; preds = %20
%29 = load i32, ptr %5, align 4
%30 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 0
store i32 %29, ptr %30, align 4
%31 = load i32, ptr @POLLIN, align 4
%32 = load i32, ptr @POLLHUP, align 4
%33 = or i32 %31, %32
%34 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 1
store i32 %33, ptr %34, align 4
br label %35
35: ; preds = %62, %28
store i32 0, ptr %11, align 4
%36 = call i32 @poll(ptr noundef %9, i32 noundef 1, i32 noundef 10)
%37 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 2
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr @POLLIN, align 4
%40 = and i32 %38, %39
%41 = load i32, ptr @POLLIN, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %55
43: ; preds = %35
%44 = load i32, ptr %5, align 4
%45 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%46 = call i32 @recv(i32 noundef %44, ptr noundef %45, i32 noundef 2048, i32 noundef 0)
store i32 %46, ptr %11, align 4
%47 = load i32, ptr %11, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %54
49: ; preds = %43
%50 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%51 = load i32, ptr %11, align 4
%52 = load ptr, ptr %10, align 8
%53 = call i32 @fwrite(ptr noundef %50, i32 noundef %51, i32 noundef 1, ptr noundef %52)
br label %54
54: ; preds = %49, %43
br label %55
55: ; preds = %54, %35
%56 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 2
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr @POLLHUP, align 4
%59 = and i32 %57, %58
%60 = load i32, ptr @POLLHUP, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %65, label %62
62: ; preds = %55
%63 = load i32, ptr %11, align 4
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %35
65: ; preds = %62, %55
%66 = load i32, ptr %5, align 4
%67 = call i32 @close(i32 noundef %66)
%68 = load ptr, ptr %10, align 8
%69 = call i32 @fclose(ptr noundef %68)
br label %70
70: ; preds = %65
br label %71
71: ; preds = %70, %25
br label %72
72: ; preds = %71, %15
ret i32 0
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmprtc1ldqw.c'
source_filename = "/tmp/tmprtc1ldqw.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"ISD len=%o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @got_isd(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 ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret void
}
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprtc1ldqw.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"ISD len=%o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @got_isd(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 ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret void
}
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"}
|
; ModuleID = '/tmp/tmpdwkg1oq0.c'
source_filename = "/tmp/tmpdwkg1oq0.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/tmpdwkg1oq0.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/tmpolcfisn4.c'
source_filename = "/tmp/tmpolcfisn4.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 @makewt(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
store i32 %12, ptr %14, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 1
store i32 1, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 2
br i1 %18, label %19, label %102
19: ; preds = %3
%20 = load i32, ptr %4, align 4
%21 = ashr i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = call i32 @atan(double noundef 1.000000e+00)
%23 = load i32, ptr %8, align 4
%24 = sdiv i32 %22, %23
%25 = sitofp i32 %24 to float
store float %25, ptr %9, align 4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds float, ptr %26, i64 0
store float 1.000000e+00, ptr %27, align 4
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds float, ptr %28, i64 1
store float 0.000000e+00, ptr %29, align 4
%30 = load float, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sitofp i32 %31 to float
%33 = fmul float %30, %32
%34 = call float @cos(float noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
store float %34, ptr %38, align 4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
%43 = load float, ptr %42, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds float, ptr %44, i64 %47
store float %43, ptr %48, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp sgt i32 %49, 2
br i1 %50, label %51, label %101
51: ; preds = %19
store i32 2, ptr %7, align 4
br label %52
52: ; preds = %93, %51
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %96
56: ; preds = %52
%57 = load float, ptr %9, align 4
%58 = load i32, ptr %7, align 4
%59 = sitofp i32 %58 to float
%60 = fmul float %57, %59
%61 = call float @cos(float noundef %60)
store float %61, ptr %10, align 4
%62 = load float, ptr %9, align 4
%63 = load i32, ptr %7, align 4
%64 = sitofp i32 %63 to float
%65 = fmul float %62, %64
%66 = call float @sin(float noundef %65)
store float %66, ptr %11, align 4
%67 = load float, ptr %10, align 4
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds float, ptr %68, i64 %70
store float %67, ptr %71, align 4
%72 = load float, ptr %11, align 4
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds float, ptr %73, i64 %76
store float %72, ptr %77, align 4
%78 = load float, ptr %11, align 4
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %7, align 4
%82 = sub nsw i32 %80, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %79, i64 %83
store float %78, ptr %84, align 4
%85 = load float, ptr %10, align 4
%86 = load ptr, ptr %6, align 8
%87 = load i32, ptr %4, align 4
%88 = load i32, ptr %7, align 4
%89 = sub nsw i32 %87, %88
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %86, i64 %91
store float %85, ptr %92, align 4
br label %93
93: ; preds = %56
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %94, 2
store i32 %95, ptr %7, align 4
br label %52, !llvm.loop !6
96: ; preds = %52
%97 = load i32, ptr %4, align 4
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds i32, ptr %98, i64 2
%100 = load ptr, ptr %6, align 8
call void @bitrv2(i32 noundef %97, ptr noundef %99, ptr noundef %100)
br label %101
101: ; preds = %96, %19
br label %102
102: ; preds = %101, %3
ret void
}
declare i32 @atan(double noundef) #1
declare float @cos(float noundef) #1
declare float @sin(float noundef) #1
declare void @bitrv2(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpolcfisn4.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 @makewt(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
store i32 %12, ptr %14, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 1
store i32 1, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 2
br i1 %18, label %19, label %104
19: ; preds = %3
%20 = load i32, ptr %4, align 4
%21 = ashr i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = call i32 @atan(double noundef 1.000000e+00)
%23 = load i32, ptr %8, align 4
%24 = sdiv i32 %22, %23
%25 = sitofp i32 %24 to float
store float %25, ptr %9, align 4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds float, ptr %26, i64 0
store float 1.000000e+00, ptr %27, align 4
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds float, ptr %28, i64 1
store float 0.000000e+00, ptr %29, align 4
%30 = load float, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sitofp i32 %31 to float
%33 = fmul float %30, %32
%34 = call float @cos(float noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
store float %34, ptr %38, align 4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
%43 = load float, ptr %42, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds float, ptr %44, i64 %47
store float %43, ptr %48, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp sgt i32 %49, 2
br i1 %50, label %51, label %103
51: ; preds = %19
store i32 2, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph, label %98
.lr.ph: ; preds = %51
br label %55
55: ; preds = %.lr.ph, %92
%56 = load float, ptr %9, align 4
%57 = load i32, ptr %7, align 4
%58 = sitofp i32 %57 to float
%59 = fmul float %56, %58
%60 = call float @cos(float noundef %59)
store float %60, ptr %10, align 4
%61 = load float, ptr %9, align 4
%62 = load i32, ptr %7, align 4
%63 = sitofp i32 %62 to float
%64 = fmul float %61, %63
%65 = call float @sin(float noundef %64)
store float %65, ptr %11, align 4
%66 = load float, ptr %10, align 4
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %7, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds float, ptr %67, i64 %69
store float %66, ptr %70, align 4
%71 = load float, ptr %11, align 4
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %7, align 4
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, ptr %72, i64 %75
store float %71, ptr %76, align 4
%77 = load float, ptr %11, align 4
%78 = load ptr, ptr %6, align 8
%79 = load i32, ptr %4, align 4
%80 = load i32, ptr %7, align 4
%81 = sub nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds float, ptr %78, i64 %82
store float %77, ptr %83, align 4
%84 = load float, ptr %10, align 4
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr %4, align 4
%87 = load i32, ptr %7, align 4
%88 = sub nsw i32 %86, %87
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds float, ptr %85, i64 %90
store float %84, ptr %91, align 4
br label %92
92: ; preds = %55
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 2
store i32 %94, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %8, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %92
br label %98
98: ; preds = %._crit_edge, %51
%99 = load i32, ptr %4, align 4
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds i32, ptr %100, i64 2
%102 = load ptr, ptr %6, align 8
call void @bitrv2(i32 noundef %99, ptr noundef %101, ptr noundef %102)
br label %103
103: ; preds = %98, %19
br label %104
104: ; preds = %103, %3
ret void
}
declare i32 @atan(double noundef) #1
declare float @cos(float noundef) #1
declare float @sin(float noundef) #1
declare void @bitrv2(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeebncs3l.c'
source_filename = "/tmp/tmpeebncs3l.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.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { ptr }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Resolution de localhost\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local { i64, i32 } @getipa(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca { i64, i32 }, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @htons(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %12, ptr %13, align 4
%14 = load ptr, ptr %4, align 8
%15 = call ptr @gethostbyname(ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = call i32 @logStuff(ptr noundef @.str)
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %2
%20 = call i32 (...) @logerr()
br label %31
21: ; preds = %2
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds %struct.hostent, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %7, align 8
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0
%29 = load ptr, ptr %7, align 8
%30 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i32 noundef 8)
br label %31
31: ; preds = %21, %19
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 4 %3, i64 12, i1 false)
%32 = load { i64, i32 }, ptr %8, align 8
ret { i64, i32 } %32
}
declare i32 @htons(i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @logStuff(ptr noundef) #1
declare i32 @logerr(...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
; 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) #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 nounwind willreturn memory(argmem: readwrite) }
!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/tmpeebncs3l.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.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { ptr }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Resolution de localhost\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local { i64, i32 } @getipa(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca { i64, i32 }, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @htons(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %12, ptr %13, align 4
%14 = load ptr, ptr %4, align 8
%15 = call ptr @gethostbyname(ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = call i32 @logStuff(ptr noundef @.str)
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %2
%20 = call i32 (...) @logerr()
br label %31
21: ; preds = %2
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds %struct.hostent, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %7, align 8
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0
%29 = load ptr, ptr %7, align 8
%30 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i32 noundef 8)
br label %31
31: ; preds = %21, %19
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 4 %3, i64 12, i1 false)
%32 = load { i64, i32 }, ptr %8, align 8
ret { i64, i32 } %32
}
declare i32 @htons(i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @logStuff(ptr noundef) #1
declare i32 @logerr(...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
; 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) #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 nounwind willreturn memory(argmem: readwrite) }
!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/tmp1y9wcwor.c'
source_filename = "/tmp/tmp1y9wcwor.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\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\07/a\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"hola manny \07\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
store i32 0, ptr %1, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %3, align 4
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 2
store i32 %6, ptr %2, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @puts(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
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/tmp1y9wcwor.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\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\07/a\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"hola manny \07\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
store i32 0, ptr %1, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %3, align 4
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 2
store i32 %6, ptr %2, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @puts(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
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/tmpp4tp0p5z.c'
source_filename = "/tmp/tmpp4tp0p5z.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"
@O_RDONLY = 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/tmpp4tp0p5z.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"
@O_RDONLY = 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/tmpy3n4ayiv.c'
source_filename = "/tmp/tmpy3n4ayiv.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" Removing btwilink \00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"rmmod btwilink\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" Error removing btwilink module\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" Removed btwilink module\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c" Removing fm_drv \00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"rmmod fm_drv\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c" Error removing fm_drv module\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c" Removed fm_drv module \00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c" Removing st_drv \00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"rmmod st_drv\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c" Error removing st_drv module\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c" Removed st_drv module \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remove_modules() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @UIM_VER(ptr noundef @.str)
%3 = call i64 @system(ptr noundef @.str.1)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @UIM_ERR(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %9
7: ; preds = %0
%8 = call i32 @UIM_DBG(ptr noundef @.str.3)
br label %9
9: ; preds = %7, %5
%10 = call i32 @UIM_VER(ptr noundef @.str.4)
%11 = call i64 @system(ptr noundef @.str.5)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @UIM_ERR(ptr noundef @.str.6)
store i32 -1, ptr %1, align 4
br label %17
15: ; preds = %9
%16 = call i32 @UIM_DBG(ptr noundef @.str.7)
br label %17
17: ; preds = %15, %13
%18 = call i32 @UIM_VER(ptr noundef @.str.8)
%19 = call i64 @system(ptr noundef @.str.9)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @UIM_ERR(ptr noundef @.str.10)
store i32 -1, ptr %1, align 4
br label %25
23: ; preds = %17
%24 = call i32 @UIM_DBG(ptr noundef @.str.11)
br label %25
25: ; preds = %23, %21
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @UIM_VER(ptr noundef) #1
declare i64 @system(ptr noundef) #1
declare i32 @UIM_ERR(ptr noundef) #1
declare i32 @UIM_DBG(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/tmpy3n4ayiv.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" Removing btwilink \00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"rmmod btwilink\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" Error removing btwilink module\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" Removed btwilink module\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c" Removing fm_drv \00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"rmmod fm_drv\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c" Error removing fm_drv module\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c" Removed fm_drv module \00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c" Removing st_drv \00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"rmmod st_drv\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c" Error removing st_drv module\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c" Removed st_drv module \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remove_modules() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @UIM_VER(ptr noundef @.str)
%3 = call i64 @system(ptr noundef @.str.1)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @UIM_ERR(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %9
7: ; preds = %0
%8 = call i32 @UIM_DBG(ptr noundef @.str.3)
br label %9
9: ; preds = %7, %5
%10 = call i32 @UIM_VER(ptr noundef @.str.4)
%11 = call i64 @system(ptr noundef @.str.5)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @UIM_ERR(ptr noundef @.str.6)
store i32 -1, ptr %1, align 4
br label %17
15: ; preds = %9
%16 = call i32 @UIM_DBG(ptr noundef @.str.7)
br label %17
17: ; preds = %15, %13
%18 = call i32 @UIM_VER(ptr noundef @.str.8)
%19 = call i64 @system(ptr noundef @.str.9)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @UIM_ERR(ptr noundef @.str.10)
store i32 -1, ptr %1, align 4
br label %25
23: ; preds = %17
%24 = call i32 @UIM_DBG(ptr noundef @.str.11)
br label %25
25: ; preds = %23, %21
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @UIM_VER(ptr noundef) #1
declare i64 @system(ptr noundef) #1
declare i32 @UIM_ERR(ptr noundef) #1
declare i32 @UIM_DBG(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/tmpwouol3tm.c'
source_filename = "/tmp/tmpwouol3tm.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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @show_help(i32 noundef 1)
ret i32 %6
}
declare i32 @show_help(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/tmpwouol3tm.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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @show_help(i32 noundef 1)
ret i32 %6
}
declare i32 @show_help(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/tmpsft_dql8.c'
source_filename = "/tmp/tmpsft_dql8.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"READ_OUTPUT_TABLE:\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"READ_INPUT_TABLE:\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Calling rt_modbus_read_input_table()\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"READ_REGISTERS:\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"READ_ANALOG_INPUTS:\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"FORCE_SINGLE_OUTPUT:\0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"PRESET_SINGLE_REGISTER:\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"READ_EXCEPTION_STATUS:\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"LOOPBACK:\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"^^^^^^^^^^^^^^^^^^ FORCE_MULTIPLE_OUTPUTS:\0A\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"@@@@@@@@@@@@@@@@@@@@ PRESET_MULTIPLE_REGISTERS:\0A\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"REPORT_DEVICE_TYPE:\0A\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c"READ_SCRATCH_PAD:\0A\00", align 1
@.str.13 = private unnamed_addr constant [20 x i8] c"UNSUPORTED OPCODE:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rt_modbus_process_request(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
switch i32 %8, label %70 [
i32 1, label %9
i32 2, label %14
i32 3, label %20
i32 4, label %25
i32 5, label %30
i32 6, label %35
i32 7, label %40
i32 8, label %45
i32 15, label %50
i32 16, label %55
i32 17, label %60
i32 67, label %65
]
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = call i32 @rt_modbus_read_output_table(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %3, align 4
br label %89
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str.1)
%16 = call i32 @printf(ptr noundef @.str.2)
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = call i32 @rt_modbus_read_input_table(ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %3, align 4
br label %89
20: ; preds = %2
%21 = call i32 @printf(ptr noundef @.str.3)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = call i32 @rt_modbus_read_registers(ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %3, align 4
br label %89
25: ; preds = %2
%26 = call i32 @printf(ptr noundef @.str.4)
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = call i32 @rt_modbus_read_analog_inputs(ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %3, align 4
br label %89
30: ; preds = %2
%31 = call i32 @printf(ptr noundef @.str.5)
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = call i32 @rt_modbus_force_single_output(ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %3, align 4
br label %89
35: ; preds = %2
%36 = call i32 @printf(ptr noundef @.str.6)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = call i32 @rt_modbus_preset_single_register(ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %3, align 4
br label %89
40: ; preds = %2
%41 = call i32 @printf(ptr noundef @.str.7)
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = call i32 @rt_modbus_read_exception_status(ptr noundef %42, i32 noundef %43)
store i32 %44, ptr %3, align 4
br label %89
45: ; preds = %2
%46 = call i32 @printf(ptr noundef @.str.8)
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %5, align 4
%49 = call i32 @rt_modbus_loopback(ptr noundef %47, i32 noundef %48)
store i32 %49, ptr %3, align 4
br label %89
50: ; preds = %2
%51 = call i32 @printf(ptr noundef @.str.9)
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = call i32 @rt_modbus_force_multiple_outputs(ptr noundef %52, i32 noundef %53)
store i32 %54, ptr %3, align 4
br label %89
55: ; preds = %2
%56 = call i32 @printf(ptr noundef @.str.10)
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %5, align 4
%59 = call i32 @rt_modbus_preset_multiple_registers(ptr noundef %57, i32 noundef %58)
store i32 %59, ptr %3, align 4
br label %89
60: ; preds = %2
%61 = call i32 @printf(ptr noundef @.str.11)
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = call i32 @rt_modbus_report_device_type(ptr noundef %62, i32 noundef %63)
store i32 %64, ptr %3, align 4
br label %89
65: ; preds = %2
%66 = call i32 @printf(ptr noundef @.str.12)
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %5, align 4
%69 = call i32 @rt_modbus_read_scratch_pad(ptr noundef %67, i32 noundef %68)
store i32 %69, ptr %3, align 4
br label %89
70: ; preds = %2
%71 = call i32 @printf(ptr noundef @.str.13)
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i32, ptr %72, i64 1
%74 = load i32, ptr %73, align 4
%75 = icmp slt i32 %74, 80
br i1 %75, label %76, label %81
76: ; preds = %70
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i32, ptr %77, i64 1
%79 = load i32, ptr %78, align 4
%80 = add nsw i32 %79, 128
store i32 %80, ptr %78, align 4
br label %84
81: ; preds = %70
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds i32, ptr %82, i64 1
store i32 255, ptr %83, align 4
br label %84
84: ; preds = %81, %76
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 2
store i32 1, ptr %86, align 4
%87 = load ptr, ptr %4, align 8
%88 = call i32 @add_CRC(ptr noundef %87, i32 noundef 5, i32 noundef 65535)
store i32 5, ptr %3, align 4
br label %89
89: ; preds = %84, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20, %14, %9
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @printf(ptr noundef) #1
declare i32 @rt_modbus_read_output_table(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_input_table(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_registers(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_analog_inputs(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_force_single_output(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_preset_single_register(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_exception_status(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_loopback(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_force_multiple_outputs(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_preset_multiple_registers(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_report_device_type(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_scratch_pad(ptr noundef, i32 noundef) #1
declare i32 @add_CRC(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/tmpsft_dql8.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"READ_OUTPUT_TABLE:\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"READ_INPUT_TABLE:\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Calling rt_modbus_read_input_table()\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"READ_REGISTERS:\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"READ_ANALOG_INPUTS:\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"FORCE_SINGLE_OUTPUT:\0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"PRESET_SINGLE_REGISTER:\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"READ_EXCEPTION_STATUS:\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"LOOPBACK:\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"^^^^^^^^^^^^^^^^^^ FORCE_MULTIPLE_OUTPUTS:\0A\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"@@@@@@@@@@@@@@@@@@@@ PRESET_MULTIPLE_REGISTERS:\0A\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"REPORT_DEVICE_TYPE:\0A\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c"READ_SCRATCH_PAD:\0A\00", align 1
@.str.13 = private unnamed_addr constant [20 x i8] c"UNSUPORTED OPCODE:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rt_modbus_process_request(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
switch i32 %8, label %70 [
i32 1, label %9
i32 2, label %14
i32 3, label %20
i32 4, label %25
i32 5, label %30
i32 6, label %35
i32 7, label %40
i32 8, label %45
i32 15, label %50
i32 16, label %55
i32 17, label %60
i32 67, label %65
]
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = call i32 @rt_modbus_read_output_table(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %3, align 4
br label %89
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str.1)
%16 = call i32 @printf(ptr noundef @.str.2)
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = call i32 @rt_modbus_read_input_table(ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %3, align 4
br label %89
20: ; preds = %2
%21 = call i32 @printf(ptr noundef @.str.3)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = call i32 @rt_modbus_read_registers(ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %3, align 4
br label %89
25: ; preds = %2
%26 = call i32 @printf(ptr noundef @.str.4)
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = call i32 @rt_modbus_read_analog_inputs(ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %3, align 4
br label %89
30: ; preds = %2
%31 = call i32 @printf(ptr noundef @.str.5)
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = call i32 @rt_modbus_force_single_output(ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %3, align 4
br label %89
35: ; preds = %2
%36 = call i32 @printf(ptr noundef @.str.6)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = call i32 @rt_modbus_preset_single_register(ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %3, align 4
br label %89
40: ; preds = %2
%41 = call i32 @printf(ptr noundef @.str.7)
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = call i32 @rt_modbus_read_exception_status(ptr noundef %42, i32 noundef %43)
store i32 %44, ptr %3, align 4
br label %89
45: ; preds = %2
%46 = call i32 @printf(ptr noundef @.str.8)
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %5, align 4
%49 = call i32 @rt_modbus_loopback(ptr noundef %47, i32 noundef %48)
store i32 %49, ptr %3, align 4
br label %89
50: ; preds = %2
%51 = call i32 @printf(ptr noundef @.str.9)
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = call i32 @rt_modbus_force_multiple_outputs(ptr noundef %52, i32 noundef %53)
store i32 %54, ptr %3, align 4
br label %89
55: ; preds = %2
%56 = call i32 @printf(ptr noundef @.str.10)
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %5, align 4
%59 = call i32 @rt_modbus_preset_multiple_registers(ptr noundef %57, i32 noundef %58)
store i32 %59, ptr %3, align 4
br label %89
60: ; preds = %2
%61 = call i32 @printf(ptr noundef @.str.11)
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = call i32 @rt_modbus_report_device_type(ptr noundef %62, i32 noundef %63)
store i32 %64, ptr %3, align 4
br label %89
65: ; preds = %2
%66 = call i32 @printf(ptr noundef @.str.12)
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %5, align 4
%69 = call i32 @rt_modbus_read_scratch_pad(ptr noundef %67, i32 noundef %68)
store i32 %69, ptr %3, align 4
br label %89
70: ; preds = %2
%71 = call i32 @printf(ptr noundef @.str.13)
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i32, ptr %72, i64 1
%74 = load i32, ptr %73, align 4
%75 = icmp slt i32 %74, 80
br i1 %75, label %76, label %81
76: ; preds = %70
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i32, ptr %77, i64 1
%79 = load i32, ptr %78, align 4
%80 = add nsw i32 %79, 128
store i32 %80, ptr %78, align 4
br label %84
81: ; preds = %70
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds i32, ptr %82, i64 1
store i32 255, ptr %83, align 4
br label %84
84: ; preds = %81, %76
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 2
store i32 1, ptr %86, align 4
%87 = load ptr, ptr %4, align 8
%88 = call i32 @add_CRC(ptr noundef %87, i32 noundef 5, i32 noundef 65535)
store i32 5, ptr %3, align 4
br label %89
89: ; preds = %84, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20, %14, %9
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @printf(ptr noundef) #1
declare i32 @rt_modbus_read_output_table(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_input_table(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_registers(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_analog_inputs(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_force_single_output(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_preset_single_register(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_exception_status(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_loopback(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_force_multiple_outputs(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_preset_multiple_registers(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_report_device_type(ptr noundef, i32 noundef) #1
declare i32 @rt_modbus_read_scratch_pad(ptr noundef, i32 noundef) #1
declare i32 @add_CRC(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/tmpzam8freg.c'
source_filename = "/tmp/tmpzam8freg.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 @test_mm_cvtsi128_si32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @_mm_cvtsi128_si32(i32 noundef %3)
ret i32 %4
}
declare i32 @_mm_cvtsi128_si32(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/tmpzam8freg.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 @test_mm_cvtsi128_si32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @_mm_cvtsi128_si32(i32 noundef %3)
ret i32 %4
}
declare i32 @_mm_cvtsi128_si32(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/tmpnc5i4nbf.c'
source_filename = "/tmp/tmpnc5i4nbf.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
!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/tmpnc5i4nbf.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
!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/tmp5f899hby.c'
source_filename = "/tmp/tmp5f899hby.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 @fill(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %19, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = call i32 (...) @drand48()
%12 = mul nsw i32 2, %11
%13 = sub nsw i32 %12, 1
%14 = sitofp i32 %13 to double
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
store double %14, ptr %18, align 8
br label %19
19: ; preds = %10
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %6, !llvm.loop !6
22: ; preds = %6
ret void
}
declare i32 @drand48(...) #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/tmp5f899hby.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 @fill(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %18
%10 = call i32 (...) @drand48()
%11 = mul nsw i32 2, %10
%12 = sub nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
store double %13, ptr %17, align 8
br label %18
18: ; preds = %9
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
ret void
}
declare i32 @drand48(...) #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/tmp5upwdo2i.c'
source_filename = "/tmp/tmp5upwdo2i.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 @dzror(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%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 ptr, 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
store ptr %6, ptr %14, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %12, align 8
%20 = load ptr, ptr %13, align 8
%21 = load ptr, ptr %14, align 8
%22 = call i32 @E0001(i32 noundef 0, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
ret void
}
declare i32 @E0001(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmp5upwdo2i.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 @dzror(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%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 ptr, 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
store ptr %6, ptr %14, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %12, align 8
%20 = load ptr, ptr %13, align 8
%21 = load ptr, ptr %14, align 8
%22 = call i32 @E0001(i32 noundef 0, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
ret void
}
declare i32 @E0001(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpl4mvqqg_.c'
source_filename = "/tmp/tmpl4mvqqg_.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 @gint2_nai_P_S(ptr noundef %0, double noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store double %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %9, align 8
%14 = load double, ptr %10, align 8
%15 = load ptr, ptr %7, align 8
%16 = load double, ptr %8, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @gint2_nai_S_P(ptr noundef %13, double noundef %14, ptr noundef %15, double noundef %16, ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @gint2_nai_S_P(ptr noundef, double noundef, ptr noundef, double 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/tmpl4mvqqg_.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 @gint2_nai_P_S(ptr noundef %0, double noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store double %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %9, align 8
%14 = load double, ptr %10, align 8
%15 = load ptr, ptr %7, align 8
%16 = load double, ptr %8, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @gint2_nai_S_P(ptr noundef %13, double noundef %14, ptr noundef %15, double noundef %16, ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @gint2_nai_S_P(ptr noundef, double noundef, ptr noundef, double 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/tmp4m1nfycb.c'
source_filename = "/tmp/tmp4m1nfycb.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"moments.out\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Ix = %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Iy = %.2f\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Io = %.2f\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca [100 x float], align 16
%8 = alloca [100 x float], align 16
%9 = alloca [100 x float], align 16
store i32 0, ptr %1, align 4
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %2, align 8
store float 0.000000e+00, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store float 0.000000e+00, ptr %6, align 4
%11 = getelementptr inbounds [100 x float], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 0
%13 = getelementptr inbounds [100 x float], ptr %9, i64 0, i64 0
%14 = call i32 @readpoints(ptr noundef %11, ptr noundef %12, ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = getelementptr inbounds [100 x float], ptr %7, i64 0, i64 0
%17 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 0
%18 = getelementptr inbounds [100 x float], ptr %9, i64 0, i64 0
%19 = call i32 @moments(i32 noundef %15, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %16, ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = load float, ptr %4, align 4
%22 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.2, float noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = load float, ptr %5, align 4
%25 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str.3, float noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = load float, ptr %6, align 4
%28 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.4, float noundef %27)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @readpoints(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @moments(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, float 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/tmp4m1nfycb.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"moments.out\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Ix = %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Iy = %.2f\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Io = %.2f\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca [100 x float], align 16
%8 = alloca [100 x float], align 16
%9 = alloca [100 x float], align 16
store i32 0, ptr %1, align 4
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %2, align 8
store float 0.000000e+00, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store float 0.000000e+00, ptr %6, align 4
%11 = getelementptr inbounds [100 x float], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 0
%13 = getelementptr inbounds [100 x float], ptr %9, i64 0, i64 0
%14 = call i32 @readpoints(ptr noundef %11, ptr noundef %12, ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = getelementptr inbounds [100 x float], ptr %7, i64 0, i64 0
%17 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 0
%18 = getelementptr inbounds [100 x float], ptr %9, i64 0, i64 0
%19 = call i32 @moments(i32 noundef %15, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %16, ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = load float, ptr %4, align 4
%22 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.2, float noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = load float, ptr %5, align 4
%25 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str.3, float noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = load float, ptr %6, align 4
%28 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.4, float noundef %27)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @readpoints(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @moments(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, float 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/tmpx_fp2cdj.c'
source_filename = "/tmp/tmpx_fp2cdj.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 @logger_buffer_opened_signal_cb(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
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
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @logger_start_buffer(ptr noundef %12)
ret i32 0
}
declare i32 @logger_start_buffer(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/tmpx_fp2cdj.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 @logger_buffer_opened_signal_cb(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
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
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @logger_start_buffer(ptr noundef %12)
ret i32 0
}
declare i32 @logger_start_buffer(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/tmp3l1qrq6v.c'
source_filename = "/tmp/tmp3l1qrq6v.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 @foo(i32 noundef 8)
%3 = icmp ne i32 %2, 8
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmp3l1qrq6v.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 @foo(i32 noundef 8)
%3 = icmp ne i32 %2, 8
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmp0yjqcei_.c'
source_filename = "/tmp/tmp0yjqcei_.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 [49 x i8] c"mvVecPrint() : invalid dimension; must be 3 or 4\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"--------------------------------\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c" %.2f\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mvMatPrint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 4
br i1 %11, label %12, label %14
12: ; preds = %9, %2
%13 = call i32 @puts(ptr noundef @.str)
br label %46
14: ; preds = %9
%15 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %41, %14
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %44
20: ; preds = %16
store i32 0, ptr %6, align 4
br label %21
21: ; preds = %36, %20
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %39
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = mul nsw i32 %27, %28
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds float, ptr %26, i64 %32
%34 = load float, ptr %33, align 4
%35 = call i32 @printf(ptr noundef @.str.2, float noundef %34)
br label %36
36: ; preds = %25
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %21, !llvm.loop !6
39: ; preds = %21
%40 = call i32 @putchar(i8 noundef signext 10)
br label %41
41: ; preds = %39
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %16, !llvm.loop !8
44: ; preds = %16
%45 = call i32 @puts(ptr noundef @.str.1)
br label %46
46: ; preds = %44, %12
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @putchar(i8 noundef signext) #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/tmp0yjqcei_.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 [49 x i8] c"mvVecPrint() : invalid dimension; must be 3 or 4\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"--------------------------------\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c" %.2f\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mvMatPrint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 4
br i1 %11, label %12, label %14
12: ; preds = %9, %2
%13 = call i32 @puts(ptr noundef @.str)
br label %50
14: ; preds = %9
%15 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph2, label %48
.lr.ph2: ; preds = %14
br label %19
19: ; preds = %.lr.ph2, %42
store i32 0, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %40
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %34
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %4, align 4
%27 = mul nsw i32 %25, %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %24, i64 %30
%32 = load float, ptr %31, align 4
%33 = call i32 @printf(ptr noundef @.str.2, float noundef %32)
br label %34
34: ; preds = %23
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %19
%41 = call i32 @putchar(i8 noundef signext 10)
br label %42
42: ; preds = %40
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %14
%49 = call i32 @puts(ptr noundef @.str.1)
br label %50
50: ; preds = %48, %12
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @putchar(i8 noundef signext) #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/tmp1jpp83lm.c'
source_filename = "/tmp/tmp1jpp83lm.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 [10 x i8] c"/dev/null\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"make\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"done\0A\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
%6 = alloca [1024 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %7, align 4
store i32 0, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %34
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef @.str, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %34
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1)
store ptr %25, ptr %9, align 8
%26 = load ptr, ptr %9, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @perror(ptr noundef %31)
br label %33
33: ; preds = %28, %21
br label %34
34: ; preds = %33, %15, %2
%35 = load i32, ptr %4, align 4
%36 = icmp sgt i32 %35, 2
br i1 %36, label %37, label %48
37: ; preds = %34
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = call i32 @atoi(ptr noundef %40)
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp sgt i32 %42, 80
br i1 %43, label %44, label %47
44: ; preds = %37
%45 = load i32, ptr %12, align 4
%46 = sdiv i32 %45, 80
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %44, %37
br label %48
48: ; preds = %47, %34
br label %49
49: ; preds = %102, %48
%50 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%51 = load i32, ptr @stdin, align 4
%52 = call ptr @fgets(ptr noundef %50, i32 noundef 1024, i32 noundef %51)
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %105
54: ; preds = %49
%55 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 1023
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %9, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%60 = load ptr, ptr %9, align 8
%61 = call i32 @fputs(ptr noundef %59, ptr noundef %60)
br label %62
62: ; preds = %58, %54
%63 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%64 = call ptr @strstr(ptr noundef %63, ptr noundef @.str.2)
store ptr %64, ptr %11, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %94
66: ; preds = %62
%67 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%68 = call i32 @strlen(ptr noundef %67)
%69 = sub nsw i32 %68, 10
store i32 %69, ptr %10, align 4
%70 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.3)
%72 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%73 = icmp eq ptr %71, %72
br i1 %73, label %74, label %93
74: ; preds = %66
%75 = load ptr, ptr %11, align 8
%76 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%77 = ptrtoint ptr %75 to i64
%78 = ptrtoint ptr %76 to i64
%79 = sub i64 %77, %78
%80 = load i32, ptr %10, align 4
%81 = sext i32 %80 to i64
%82 = icmp sgt i64 %79, %81
br i1 %82, label %83, label %93
83: ; preds = %74
%84 = load ptr, ptr %9, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %86, label %89
86: ; preds = %83
%87 = load ptr, ptr %9, align 8
%88 = call i32 @fclose(ptr noundef %87)
br label %89
89: ; preds = %86, %83
%90 = load i32, ptr @stderr, align 4
%91 = call i32 @fprintf(i32 noundef %90, ptr noundef @.str.4)
%92 = call i32 @exit(i32 noundef 1) #3
unreachable
93: ; preds = %74, %66
br label %94
94: ; preds = %93, %62
%95 = load i32, ptr %8, align 4
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %102
97: ; preds = %94
%98 = call i32 @putchar(i8 noundef signext 46)
%99 = load i32, ptr @stdout, align 4
%100 = call i32 @fflush(i32 noundef %99)
%101 = load i32, ptr %7, align 4
store i32 %101, ptr %8, align 4
br label %102
102: ; preds = %97, %94
%103 = load i32, ptr %8, align 4
%104 = add nsw i32 %103, -1
store i32 %104, ptr %8, align 4
br label %49, !llvm.loop !6
105: ; preds = %49
%106 = load ptr, ptr %9, align 8
%107 = icmp ne ptr %106, null
br i1 %107, label %108, label %111
108: ; preds = %105
%109 = load ptr, ptr %9, align 8
%110 = call i32 @fclose(ptr noundef %109)
br label %111
111: ; preds = %108, %105
%112 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @putchar(i8 noundef signext) #1
declare i32 @fflush(i32 noundef) #1
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" }
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/tmp1jpp83lm.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 [10 x i8] c"/dev/null\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"make\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"done\0A\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
%6 = alloca [1024 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %7, align 4
store i32 0, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %34
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef @.str, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %34
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1)
store ptr %25, ptr %9, align 8
%26 = load ptr, ptr %9, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @perror(ptr noundef %31)
br label %33
33: ; preds = %28, %21
br label %34
34: ; preds = %33, %15, %2
%35 = load i32, ptr %4, align 4
%36 = icmp sgt i32 %35, 2
br i1 %36, label %37, label %48
37: ; preds = %34
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = call i32 @atoi(ptr noundef %40)
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp sgt i32 %42, 80
br i1 %43, label %44, label %47
44: ; preds = %37
%45 = load i32, ptr %12, align 4
%46 = sdiv i32 %45, 80
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %44, %37
br label %48
48: ; preds = %47, %34
%49 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call ptr @fgets(ptr noundef %49, i32 noundef 1024, i32 noundef %50)
%52 = icmp ne ptr %51, null
br i1 %52, label %.lr.ph, label %107
.lr.ph: ; preds = %48
br label %53
53: ; preds = %.lr.ph, %101
%54 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 1023
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %9, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%59 = load ptr, ptr %9, align 8
%60 = call i32 @fputs(ptr noundef %58, ptr noundef %59)
br label %61
61: ; preds = %57, %53
%62 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%63 = call ptr @strstr(ptr noundef %62, ptr noundef @.str.2)
store ptr %63, ptr %11, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %93
65: ; preds = %61
%66 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @strlen(ptr noundef %66)
%68 = sub nsw i32 %67, 10
store i32 %68, ptr %10, align 4
%69 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%70 = call ptr @strstr(ptr noundef %69, ptr noundef @.str.3)
%71 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%72 = icmp eq ptr %70, %71
br i1 %72, label %73, label %92
73: ; preds = %65
%74 = load ptr, ptr %11, align 8
%75 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%76 = ptrtoint ptr %74 to i64
%77 = ptrtoint ptr %75 to i64
%78 = sub i64 %76, %77
%79 = load i32, ptr %10, align 4
%80 = sext i32 %79 to i64
%81 = icmp sgt i64 %78, %80
br i1 %81, label %82, label %92
82: ; preds = %73
%83 = load ptr, ptr %9, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %88
85: ; preds = %82
%86 = load ptr, ptr %9, align 8
%87 = call i32 @fclose(ptr noundef %86)
br label %88
88: ; preds = %85, %82
%89 = load i32, ptr @stderr, align 4
%90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.4)
%91 = call i32 @exit(i32 noundef 1) #3
unreachable
92: ; preds = %73, %65
br label %93
93: ; preds = %92, %61
%94 = load i32, ptr %8, align 4
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %101
96: ; preds = %93
%97 = call i32 @putchar(i8 noundef signext 46)
%98 = load i32, ptr @stdout, align 4
%99 = call i32 @fflush(i32 noundef %98)
%100 = load i32, ptr %7, align 4
store i32 %100, ptr %8, align 4
br label %101
101: ; preds = %96, %93
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, -1
store i32 %103, ptr %8, align 4
%104 = load i32, ptr @stdin, align 4
%105 = call ptr @fgets(ptr noundef %49, i32 noundef 1024, i32 noundef %104)
%106 = icmp ne ptr %105, null
br i1 %106, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %101
br label %107
107: ; preds = %._crit_edge, %48
%108 = load ptr, ptr %9, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %110, label %113
110: ; preds = %107
%111 = load ptr, ptr %9, align 8
%112 = call i32 @fclose(ptr noundef %111)
br label %113
113: ; preds = %110, %107
%114 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @putchar(i8 noundef signext) #1
declare i32 @fflush(i32 noundef) #1
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" }
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/tmp4i0bwnbz.c'
source_filename = "/tmp/tmp4i0bwnbz.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 [51 x i8] c"/usr/bin/less /usr/local/share/smit/usrmgrhelp.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usermgrhelp() #0 {
%1 = call i32 (...) @tempexit()
%2 = call i32 @system(ptr noundef @.str)
ret i32 0
}
declare i32 @tempexit(...) #1
declare i32 @system(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/tmp4i0bwnbz.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 [51 x i8] c"/usr/bin/less /usr/local/share/smit/usrmgrhelp.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usermgrhelp() #0 {
%1 = call i32 (...) @tempexit()
%2 = call i32 @system(ptr noundef @.str)
ret i32 0
}
declare i32 @tempexit(...) #1
declare i32 @system(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/tmpxunjg6la.c'
source_filename = "/tmp/tmpxunjg6la.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 [41 x i8] c"parses and analyzes CLF Apache Log File\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"Written by Matthew Sarver, Michael Shields, and John Stanley\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"For CS4900 & CS4910\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"See README for more.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxunjg6la.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 [41 x i8] c"parses and analyzes CLF Apache Log File\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"Written by Matthew Sarver, Michael Shields, and John Stanley\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"For CS4900 & CS4910\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"See README for more.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.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"}
|
; ModuleID = '/tmp/tmpu_j93307.c'
source_filename = "/tmp/tmpu_j93307.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 [23 x i8] c"FOO %s %s %s %s %s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) #0 {
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i32 %1, ptr %16, align 4
store ptr %2, ptr %17, align 8
store i32 %3, ptr %18, align 4
store ptr %4, ptr %19, align 8
store i32 %5, ptr %20, align 4
store ptr %6, ptr %21, align 8
store i32 %7, ptr %22, align 4
store ptr %8, ptr %23, align 8
store i32 %9, ptr %24, align 4
store ptr %10, ptr %25, align 8
store i32 %11, ptr %26, align 4
store ptr %12, ptr %27, align 8
store i32 %13, ptr %28, align 4
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %17, align 8
%31 = load ptr, ptr %19, align 8
%32 = load ptr, ptr %21, align 8
%33 = load ptr, ptr %23, align 8
%34 = load ptr, ptr %25, align 8
%35 = load ptr, ptr %27, align 8
%36 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35)
%37 = load ptr, ptr %15, align 8
%38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str.1)
ret i32 4
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(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/tmpu_j93307.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 [23 x i8] c"FOO %s %s %s %s %s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) #0 {
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i32 %1, ptr %16, align 4
store ptr %2, ptr %17, align 8
store i32 %3, ptr %18, align 4
store ptr %4, ptr %19, align 8
store i32 %5, ptr %20, align 4
store ptr %6, ptr %21, align 8
store i32 %7, ptr %22, align 4
store ptr %8, ptr %23, align 8
store i32 %9, ptr %24, align 4
store ptr %10, ptr %25, align 8
store i32 %11, ptr %26, align 4
store ptr %12, ptr %27, align 8
store i32 %13, ptr %28, align 4
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %17, align 8
%31 = load ptr, ptr %19, align 8
%32 = load ptr, ptr %21, align 8
%33 = load ptr, ptr %23, align 8
%34 = load ptr, ptr %25, align 8
%35 = load ptr, ptr %27, align 8
%36 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35)
%37 = load ptr, ptr %15, align 8
%38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str.1)
ret i32 4
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(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/tmpde3oqquc.c'
source_filename = "/tmp/tmpde3oqquc.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 @OH_handleChecksumRequest(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
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpde3oqquc.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 @OH_handleChecksumRequest(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
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"}
|
; ModuleID = '/tmp/tmp6kdmt1do.c'
source_filename = "/tmp/tmp6kdmt1do.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 @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %30, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %33
14: ; preds = %10
%15 = load i8, ptr %4, align 1
%16 = sext i8 %15 to i32
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %16, %22
br i1 %23, label %24, label %29
24: ; preds = %14
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store ptr %28, ptr %6, align 8
br label %33
29: ; preds = %14
store ptr null, ptr %6, align 8
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %10, !llvm.loop !6
33: ; preds = %24, %10
%34 = load ptr, ptr %6, align 8
ret ptr %34
}
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/tmp6kdmt1do.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 @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %29
%14 = load i8, ptr %4, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %15, %21
br i1 %22, label %23, label %28
23: ; preds = %13
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store ptr %27, ptr %6, align 8
br label %35
28: ; preds = %13
store ptr null, ptr %6, align 8
br label %29
29: ; preds = %28
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %29
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %35
35: ; preds = %.loopexit, %23
%36 = load ptr, ptr %6, align 8
ret ptr %36
}
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/tmpg_rvtino.c'
source_filename = "/tmp/tmpg_rvtino.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"CANOPEN_PROFILE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @profiling_getenv() #0 {
%1 = call ptr @getenv(ptr noundef @.str)
%2 = icmp ne ptr %1, null
%3 = zext i1 %2 to i32
ret i32 %3
}
declare ptr @getenv(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/tmpg_rvtino.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"CANOPEN_PROFILE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @profiling_getenv() #0 {
%1 = call ptr @getenv(ptr noundef @.str)
%2 = icmp ne ptr %1, null
%3 = zext i1 %2 to i32
ret i32 %3
}
declare ptr @getenv(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/tmpn_bsm654.c'
source_filename = "/tmp/tmpn_bsm654.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 [23 x i8] c"hello, world! i am %s\0A\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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare i32 @printf(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/tmpn_bsm654.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 [23 x i8] c"hello, world! i am %s\0A\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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare i32 @printf(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/tmpvjp7a_a4.c'
source_filename = "/tmp/tmpvjp7a_a4.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 i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = call i32 (...) @rysuj_gwiazdki_1()
%8 = call i32 (...) @rysuj_gwiazdki_2()
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
br label %3, !llvm.loop !6
11: ; preds = %3
ret i32 0
}
declare i32 @rysuj_gwiazdki_1(...) #1
declare i32 @rysuj_gwiazdki_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjp7a_a4.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 i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 5
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = call i32 (...) @rysuj_gwiazdki_1()
%7 = call i32 (...) @rysuj_gwiazdki_2()
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 5
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %12
12: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @rysuj_gwiazdki_1(...) #1
declare i32 @rysuj_gwiazdki_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk76sdr9q.c'
source_filename = "/tmp/tmpk76sdr9q.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_algorithm(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %105, %4
%13 = load i32, ptr %10, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %106
17: ; preds = %12
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %104, %17
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %105
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %104
34: ; preds = %23
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %10, align 4
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %35, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %10, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %46, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %9, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %60, i64 %63
%65 = load i32, ptr %64, align 4
%66 = call i32 @ft_minimum(i32 noundef %45, i32 noundef %55, i32 noundef %65)
%67 = add nsw i32 %66, 1
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
store i32 %67, ptr %75, align 4
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %10, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %9, 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 i32, ptr %11, align 4
%86 = icmp sgt i32 %84, %85
br i1 %86, label %87, label %103
87: ; preds = %34
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %10, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
%96 = load i32, ptr %95, align 4
store i32 %96, ptr %11, align 4
%97 = load i32, ptr %10, align 4
%98 = load ptr, ptr %8, align 8
%99 = getelementptr inbounds i32, ptr %98, i64 0
store i32 %97, ptr %99, align 4
%100 = load i32, ptr %9, align 4
%101 = load ptr, ptr %8, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 1
store i32 %100, ptr %102, align 4
br label %103
103: ; preds = %87, %34
br label %104
104: ; preds = %103, %23
br label %18, !llvm.loop !6
105: ; preds = %18
br label %12, !llvm.loop !8
106: ; preds = %12
%107 = load ptr, ptr %8, align 8
ret ptr %107
}
declare i32 @ft_minimum(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk76sdr9q.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_algorithm(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %10, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph2, label %112
.lr.ph2: ; preds = %4
br label %16
16: ; preds = %.lr.ph2, %107
store i32 0, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %107
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %102
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %102
32: ; preds = %21
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %33, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %9, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %10, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %44, i64 %47
%49 = load ptr, ptr %48, 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 = load ptr, ptr %5, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %9, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %58, i64 %61
%63 = load i32, ptr %62, align 4
%64 = call i32 @ft_minimum(i32 noundef %43, i32 noundef %53, i32 noundef %63)
%65 = add nsw i32 %64, 1
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
store i32 %65, ptr %73, align 4
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %10, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
%82 = load i32, ptr %81, align 4
%83 = load i32, ptr %11, align 4
%84 = icmp sgt i32 %82, %83
br i1 %84, label %85, label %101
85: ; preds = %32
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %10, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %86, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %90, i64 %92
%94 = load i32, ptr %93, align 4
store i32 %94, ptr %11, align 4
%95 = load i32, ptr %10, align 4
%96 = load ptr, ptr %8, align 8
%97 = getelementptr inbounds i32, ptr %96, i64 0
store i32 %95, ptr %97, align 4
%98 = load i32, ptr %9, align 4
%99 = load ptr, ptr %8, align 8
%100 = getelementptr inbounds i32, ptr %99, i64 1
store i32 %98, ptr %100, align 4
br label %101
101: ; preds = %85, %32
br label %102
102: ; preds = %101, %21
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %9, align 4
%105 = load i32, ptr %7, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %102
br label %107
107: ; preds = %._crit_edge, %16
%108 = load i32, ptr %10, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %10, align 4
%110 = load i32, ptr %6, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %107
br label %112
112: ; preds = %._crit_edge3, %4
%113 = load ptr, ptr %8, align 8
ret ptr %113
}
declare i32 @ft_minimum(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4c9x0771.c'
source_filename = "/tmp/tmp4c9x0771.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"
@LINE_MAX = 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/tmp4c9x0771.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"
@LINE_MAX = 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/tmpgvhr_cg7.c'
source_filename = "/tmp/tmpgvhr_cg7.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 @lMoments(ptr noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca [3 x double], align 16
%18 = alloca [3 x double], align 16
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %7, align 4
%21 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%22 = load double, ptr %9, align 8
%23 = load double, ptr %10, align 8
%24 = call i32 @pwm(ptr noundef %19, i32 noundef %20, ptr noundef %21, double noundef %22, double noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%26 = load double, ptr %25, align 16
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds double, ptr %27, i64 1
store double %26, ptr %28, align 8
%29 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%30 = load double, ptr %29, align 16
%31 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
%32 = load double, ptr %31, align 8
%33 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %32, double %30)
%34 = load ptr, ptr %8, align 8
%35 = getelementptr inbounds double, ptr %34, i64 2
store double %33, ptr %35, align 8
%36 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%37 = load double, ptr %36, align 16
%38 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
%39 = load double, ptr %38, align 8
%40 = call double @llvm.fmuladd.f64(double -6.000000e+00, double %39, double %37)
%41 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 2
%42 = load double, ptr %41, align 16
%43 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %42, double %40)
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds double, ptr %44, i64 3
store double %43, ptr %45, align 8
ret void
}
declare i32 @pwm(ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef, i32 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 = { "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) }
!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/tmpgvhr_cg7.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 @lMoments(ptr noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca [3 x double], align 16
%18 = alloca [3 x double], align 16
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %7, align 4
%21 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%22 = load double, ptr %9, align 8
%23 = load double, ptr %10, align 8
%24 = call i32 @pwm(ptr noundef %19, i32 noundef %20, ptr noundef %21, double noundef %22, double noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%26 = load double, ptr %25, align 16
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds double, ptr %27, i64 1
store double %26, ptr %28, align 8
%29 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%30 = load double, ptr %29, align 16
%31 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
%32 = load double, ptr %31, align 8
%33 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %32, double %30)
%34 = load ptr, ptr %8, align 8
%35 = getelementptr inbounds double, ptr %34, i64 2
store double %33, ptr %35, align 8
%36 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%37 = load double, ptr %36, align 16
%38 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
%39 = load double, ptr %38, align 8
%40 = call double @llvm.fmuladd.f64(double -6.000000e+00, double %39, double %37)
%41 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 2
%42 = load double, ptr %41, align 16
%43 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %42, double %40)
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds double, ptr %44, i64 3
store double %43, ptr %45, align 8
ret void
}
declare i32 @pwm(ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef, i32 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 = { "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) }
!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/tmpgmt0bplr.c'
source_filename = "/tmp/tmpgmt0bplr.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/tmpgmt0bplr.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.