llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpfdn12a2b.c'
source_filename = "/tmp/tmpfdn12a2b.c"
target datalayout = "e-m:e-p270: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/tmpfdn12a2b.c"
target datalayout = "e-m:e-p270: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/tmple7joexk.c'
source_filename = "/tmp/tmple7joexk.c"
target datalayout = "e-m:e-p270: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 @distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 0
%12 = load double, ptr %11, align 8
%13 = fsub double %9, %12
store double %13, ptr %5, align 8
%14 = load double, ptr %5, align 8
%15 = load double, ptr %5, align 8
%16 = fmul double %14, %15
store double %16, ptr %6, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds double, ptr %17, i64 1
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds double, ptr %20, i64 1
%22 = load double, ptr %21, align 8
%23 = fsub double %19, %22
store double %23, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %6, align 8
%27 = call double @llvm.fmuladd.f64(double %24, double %25, double %26)
store double %27, ptr %6, align 8
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds double, ptr %31, i64 2
%33 = load double, ptr %32, align 8
%34 = fsub double %30, %33
store double %34, ptr %5, align 8
%35 = load double, ptr %5, align 8
%36 = load double, ptr %5, align 8
%37 = load double, ptr %6, align 8
%38 = call double @llvm.fmuladd.f64(double %35, double %36, double %37)
store double %38, ptr %6, align 8
%39 = load double, ptr %6, align 8
%40 = call double @sqrt(double noundef %39) #3
ret double %40
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { 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 #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmple7joexk.c"
target datalayout = "e-m:e-p270: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 @distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 0
%12 = load double, ptr %11, align 8
%13 = fsub double %9, %12
store double %13, ptr %5, align 8
%14 = load double, ptr %5, align 8
%15 = load double, ptr %5, align 8
%16 = fmul double %14, %15
store double %16, ptr %6, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds double, ptr %17, i64 1
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds double, ptr %20, i64 1
%22 = load double, ptr %21, align 8
%23 = fsub double %19, %22
store double %23, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %6, align 8
%27 = call double @llvm.fmuladd.f64(double %24, double %25, double %26)
store double %27, ptr %6, align 8
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds double, ptr %31, i64 2
%33 = load double, ptr %32, align 8
%34 = fsub double %30, %33
store double %34, ptr %5, align 8
%35 = load double, ptr %5, align 8
%36 = load double, ptr %5, align 8
%37 = load double, ptr %6, align 8
%38 = call double @llvm.fmuladd.f64(double %35, double %36, double %37)
store double %38, ptr %6, align 8
%39 = load double, ptr %6, align 8
%40 = call double @sqrt(double noundef %39) #3
ret double %40
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { 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 #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcoxxby1_.c'
source_filename = "/tmp/tmpcoxxby1_.c"
target datalayout = "e-m:e-p270: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/tmpcoxxby1_.c"
target datalayout = "e-m:e-p270: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/tmpwl74ufrj.c'
source_filename = "/tmp/tmpwl74ufrj.c"
target datalayout = "e-m:e-p270: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 @dataset_init(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @read_args(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @read_args(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/tmpwl74ufrj.c"
target datalayout = "e-m:e-p270: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 @dataset_init(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @read_args(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @read_args(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/tmp8mhcponk.c'
source_filename = "/tmp/tmp8mhcponk.c"
target datalayout = "e-m:e-p270: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 @get_dirname(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
br label %10
10: ; preds = %28, %2
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 47
br i1 %17, label %18, label %26
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 92
br label %26
26: ; preds = %18, %10
%27 = phi i1 [ false, %10 ], [ %25, %18 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %7, align 4
br label %10, !llvm.loop !6
31: ; preds = %26
%32 = load i32, ptr %7, align 4
%33 = sub nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %55, %31
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 47
br i1 %41, label %42, label %53
42: ; preds = %34
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 92
br i1 %49, label %50, label %53
50: ; preds = %42
%51 = load i32, ptr %6, align 4
%52 = icmp ne i32 %51, 0
br label %53
53: ; preds = %50, %42, %34
%54 = phi i1 [ false, %42 ], [ false, %34 ], [ %52, %50 ]
br i1 %54, label %55, label %58
55: ; preds = %53
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %6, align 4
br label %34, !llvm.loop !8
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 47
br i1 %65, label %74, label %66
66: ; preds = %58
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 92
br i1 %73, label %74, label %77
74: ; preds = %66, %58
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
br label %77
77: ; preds = %74, %66
store i32 0, ptr %5, align 4
br label %78
78: ; preds = %96, %77
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %7, align 4
%81 = load i32, ptr %6, align 4
%82 = sub nsw i32 %80, %81
%83 = icmp ne i32 %79, %82
br i1 %83, label %84, label %99
84: ; preds = %78
%85 = load ptr, ptr %3, align 8
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %85, i64 %89
%91 = load i8, ptr %90, align 1
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
store i8 %91, ptr %95, align 1
br label %96
96: ; preds = %84
%97 = load i32, ptr %5, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %5, align 4
br label %78, !llvm.loop !9
99: ; preds = %78
%100 = load ptr, ptr %4, align 8
%101 = load i32, ptr %5, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
store i8 0, ptr %103, align 1
ret void
}
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mhcponk.c"
target datalayout = "e-m:e-p270: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 @get_dirname(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
br label %10
10: ; preds = %28, %2
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 47
br i1 %17, label %18, label %26
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 92
br label %26
26: ; preds = %18, %10
%27 = phi i1 [ false, %10 ], [ %25, %18 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %7, align 4
br label %10, !llvm.loop !6
31: ; preds = %26
%32 = load i32, ptr %7, align 4
%33 = sub nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %55, %31
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 47
br i1 %41, label %42, label %53
42: ; preds = %34
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 92
br i1 %49, label %50, label %53
50: ; preds = %42
%51 = load i32, ptr %6, align 4
%52 = icmp ne i32 %51, 0
br label %53
53: ; preds = %50, %42, %34
%54 = phi i1 [ false, %42 ], [ false, %34 ], [ %52, %50 ]
br i1 %54, label %55, label %58
55: ; preds = %53
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %6, align 4
br label %34, !llvm.loop !8
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 47
br i1 %65, label %74, label %66
66: ; preds = %58
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 92
br i1 %73, label %74, label %77
74: ; preds = %66, %58
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
br label %77
77: ; preds = %74, %66
store i32 0, ptr %5, align 4
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %6, align 4
%81 = sub nsw i32 %79, %80
%82 = icmp ne i32 %78, %81
br i1 %82, label %.lr.ph, label %103
.lr.ph: ; preds = %77
br label %83
83: ; preds = %.lr.ph, %95
%84 = load ptr, ptr %3, align 8
%85 = load i32, ptr %6, align 4
%86 = load i32, ptr %5, align 4
%87 = add nsw i32 %85, %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %84, i64 %88
%90 = load i8, ptr %89, align 1
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %5, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
store i8 %90, ptr %94, align 1
br label %95
95: ; preds = %83
%96 = load i32, ptr %5, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %5, align 4
%98 = load i32, ptr %5, align 4
%99 = load i32, ptr %7, align 4
%100 = load i32, ptr %6, align 4
%101 = sub nsw i32 %99, %100
%102 = icmp ne i32 %98, %101
br i1 %102, label %83, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %95
br label %103
103: ; preds = %._crit_edge, %77
%104 = load ptr, ptr %4, align 8
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
store i8 0, ptr %107, align 1
ret void
}
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvhif_ztf.c'
source_filename = "/tmp/tmpvhif_ztf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remove_sem(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @IPC_RMID, align 4
%5 = call i32 @semctl(i32 noundef %3, i32 noundef 0, i32 noundef %4)
ret i32 %5
}
declare i32 @semctl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvhif_ztf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remove_sem(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @IPC_RMID, align 4
%5 = call i32 @semctl(i32 noundef %3, i32 noundef 0, i32 noundef %4)
ret i32 %5
}
declare i32 @semctl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwa7g0edm.c'
source_filename = "/tmp/tmpwa7g0edm.c"
target datalayout = "e-m:e-p270: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 @mergesort(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 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %23
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %10, %11
%13 = sdiv i32 %12, 2
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
call void @mergesort(i32 noundef %14, i32 noundef %15)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %4, align 4
call void @mergesort(i32 noundef %17, i32 noundef %18)
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @merge(i32 noundef %19, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %9, %2
ret void
}
declare i32 @merge(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwa7g0edm.c"
target datalayout = "e-m:e-p270: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 @mergesort(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 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %23
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %10, %11
%13 = sdiv i32 %12, 2
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
call void @mergesort(i32 noundef %14, i32 noundef %15)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %4, align 4
call void @mergesort(i32 noundef %17, i32 noundef %18)
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @merge(i32 noundef %19, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %9, %2
ret void
}
declare i32 @merge(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg85wbyx0.c'
source_filename = "/tmp/tmpg85wbyx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"diga sua idade\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Voc\C3\AA nao pode votar ainda.\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Voto Facultativo\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Voc\C3\AA pode votar\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 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 16
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %9
9: ; preds = %7, %0
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 17
br i1 %11, label %18, label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 16
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 70
br i1 %17, label %18, label %20
18: ; preds = %15, %12, %9
%19 = call i32 @printf(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %15
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %21, 18
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 70
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %23, %20
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg85wbyx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"diga sua idade\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Voc\C3\AA nao pode votar ainda.\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Voto Facultativo\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Voc\C3\AA pode votar\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 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 16
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %9
9: ; preds = %7, %0
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 17
br i1 %11, label %18, label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 16
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 70
br i1 %17, label %18, label %20
18: ; preds = %15, %12, %9
%19 = call i32 @printf(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %15
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %21, 18
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 70
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %23, %20
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdm3jni02.c'
source_filename = "/tmp/tmpdm3jni02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
@stdout = 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/tmpdm3jni02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
@stdout = 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/tmpmy4ezs1_.c'
source_filename = "/tmp/tmpmy4ezs1_.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Enter the angle in degrees: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"The angle you have input is %.2f. \0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Cos(%.2f) is equal to %.2f.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Cos() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%7 = load float, ptr %1, align 4
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8)
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %21, %0
%11 = load i32, ptr %4, align 4
%12 = sitofp i32 %11 to double
%13 = fcmp oge double %12, 0.000000e+00
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load float, ptr %1, align 4
%16 = fpext float %15 to double
%17 = fmul double %16, 0x3F91DCF4D98B0955
%18 = fptrunc double %17 to float
store float %18, ptr %2, align 4
%19 = load float, ptr %2, align 4
%20 = call float @cos(float noundef %19)
store float %20, ptr %3, align 4
br label %24
21: ; No predecessors!
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %10, !llvm.loop !6
24: ; preds = %14, %10
%25 = load float, ptr %1, align 4
%26 = fpext float %25 to double
%27 = load float, ptr %3, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %26, double noundef %28)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @cos(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmy4ezs1_.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Enter the angle in degrees: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"The angle you have input is %.2f. \0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Cos(%.2f) is equal to %.2f.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Cos() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%7 = load float, ptr %1, align 4
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8)
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %21, %0
%11 = load i32, ptr %4, align 4
%12 = sitofp i32 %11 to double
%13 = fcmp oge double %12, 0.000000e+00
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load float, ptr %1, align 4
%16 = fpext float %15 to double
%17 = fmul double %16, 0x3F91DCF4D98B0955
%18 = fptrunc double %17 to float
store float %18, ptr %2, align 4
%19 = load float, ptr %2, align 4
%20 = call float @cos(float noundef %19)
store float %20, ptr %3, align 4
br label %24
21: ; No predecessors!
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %10, !llvm.loop !6
24: ; preds = %14, %10
%25 = load float, ptr %1, align 4
%26 = fpext float %25 to double
%27 = load float, ptr %3, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %26, double noundef %28)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @cos(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppjbrcp1y.c'
source_filename = "/tmp/tmppjbrcp1y.c"
target datalayout = "e-m:e-p270: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 @fb_LPrintDouble(i32 noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca [27 x i8], align 16
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = call i32 (...) @fb_LPrintInit()
%9 = load i32, ptr %4, align 4
%10 = load double, ptr %5, align 8
%11 = getelementptr inbounds [27 x i8], ptr %7, i64 0, i64 0
%12 = call i32 @fb_hFloat2Str(double noundef %10, ptr noundef %11, i32 noundef 16, i32 noundef 1)
%13 = load i32, ptr %6, align 4
%14 = call i32 @FB_PRINT_CONVERT_BIN_NEWLINE(i32 noundef %13)
%15 = call i32 @fb_PrintFixString(i32 noundef %9, i32 noundef %12, i32 noundef %14)
ret void
}
declare i32 @fb_LPrintInit(...) #1
declare i32 @fb_PrintFixString(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fb_hFloat2Str(double noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @FB_PRINT_CONVERT_BIN_NEWLINE(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/tmppjbrcp1y.c"
target datalayout = "e-m:e-p270: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 @fb_LPrintDouble(i32 noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca [27 x i8], align 16
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = call i32 (...) @fb_LPrintInit()
%9 = load i32, ptr %4, align 4
%10 = load double, ptr %5, align 8
%11 = getelementptr inbounds [27 x i8], ptr %7, i64 0, i64 0
%12 = call i32 @fb_hFloat2Str(double noundef %10, ptr noundef %11, i32 noundef 16, i32 noundef 1)
%13 = load i32, ptr %6, align 4
%14 = call i32 @FB_PRINT_CONVERT_BIN_NEWLINE(i32 noundef %13)
%15 = call i32 @fb_PrintFixString(i32 noundef %9, i32 noundef %12, i32 noundef %14)
ret void
}
declare i32 @fb_LPrintInit(...) #1
declare i32 @fb_PrintFixString(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fb_hFloat2Str(double noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @FB_PRINT_CONVERT_BIN_NEWLINE(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/tmp2td8ub5a.c'
source_filename = "/tmp/tmp2td8ub5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gen_nest_packing(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 @gen_nest_pack(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @gen_nest_unpack(ptr noundef %5)
ret i32 0
}
declare i32 @gen_nest_pack(ptr noundef) #1
declare i32 @gen_nest_unpack(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/tmp2td8ub5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gen_nest_packing(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 @gen_nest_pack(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @gen_nest_unpack(ptr noundef %5)
ret i32 0
}
declare i32 @gen_nest_pack(ptr noundef) #1
declare i32 @gen_nest_unpack(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/tmpsz2ga1lb.c'
source_filename = "/tmp/tmpsz2ga1lb.c"
target datalayout = "e-m:e-p270: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"a = %d, b = %d, c = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 3, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 9, ptr %3, align 4
%4 = call i32 @decode(ptr noundef %1, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @decode(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsz2ga1lb.c"
target datalayout = "e-m:e-p270: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"a = %d, b = %d, c = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 3, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 9, ptr %3, align 4
%4 = call i32 @decode(ptr noundef %1, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @decode(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpehparfw2.c'
source_filename = "/tmp/tmpehparfw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i8 0, 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 [80 x i8], align 16
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %39, %0
%6 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @readline(ptr noundef %6, i32 noundef 80)
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %40
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 79
br i1 %11, label %12, label %39
12: ; preds = %9
%13 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 78
%14 = load i8, ptr %13, align 2
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br i1 %16, label %17, label %39
17: ; preds = %12
%18 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %32, %17
%21 = call signext i8 (...) @getchar()
store i8 %21, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr @EOF, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br i1 %25, label %26, label %30
26: ; preds = %20
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 10
br label %30
30: ; preds = %26, %20
%31 = phi i1 [ false, %20 ], [ %29, %26 ]
br i1 %31, label %32, label %37
32: ; preds = %30
%33 = load i8, ptr %4, align 1
%34 = call i32 @putchar(i8 noundef signext %33)
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %2, align 4
br label %20, !llvm.loop !6
37: ; preds = %30
%38 = call i32 @putchar(i8 noundef signext 10)
br label %39
39: ; preds = %37, %12, %9
br label %5, !llvm.loop !8
40: ; preds = %5
ret i32 0
}
declare i32 @readline(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #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/tmpehparfw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i8 0, 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 [80 x i8], align 16
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @readline(ptr noundef %5, i32 noundef 80)
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %38
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 79
br i1 %10, label %11, label %38
11: ; preds = %8
%12 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 78
%13 = load i8, ptr %12, align 2
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 10
br i1 %15, label %16, label %38
16: ; preds = %11
%17 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %31, %16
%20 = call signext i8 (...) @getchar()
store i8 %20, ptr %4, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr @EOF, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %21, %23
br i1 %24, label %25, label %29
25: ; preds = %19
%26 = load i8, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 10
br label %29
29: ; preds = %25, %19
%30 = phi i1 [ false, %19 ], [ %28, %25 ]
br i1 %30, label %31, label %36
31: ; preds = %29
%32 = load i8, ptr %4, align 1
%33 = call i32 @putchar(i8 noundef signext %32)
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %19, !llvm.loop !6
36: ; preds = %29
%37 = call i32 @putchar(i8 noundef signext 10)
br label %38
38: ; preds = %36, %11, %8
%39 = call i32 @readline(ptr noundef %5, i32 noundef 80)
store i32 %39, ptr %2, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %8, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %38
br label %41
41: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @readline(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #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/tmpb3ucs2pi.c'
source_filename = "/tmp/tmpb3ucs2pi.c"
target datalayout = "e-m:e-p270: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"Open Source SW Project\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Code edit check\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
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/tmpb3ucs2pi.c"
target datalayout = "e-m:e-p270: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"Open Source SW Project\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Code edit check\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
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/tmp2vq02u0n.c'
source_filename = "/tmp/tmp2vq02u0n.c"
target datalayout = "e-m:e-p270: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/tmp2vq02u0n.c"
target datalayout = "e-m:e-p270: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/tmp06lzsldc.c'
source_filename = "/tmp/tmp06lzsldc.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"%d %d %d %d %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_callfunc8(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %15, align 4
%24 = load i32, ptr %16, align 4
%25 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = load i32, ptr %10, align 4
ret i32 %26
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp06lzsldc.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"%d %d %d %d %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_callfunc8(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %15, align 4
%24 = load i32, ptr %16, align 4
%25 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = load i32, ptr %10, align 4
ret i32 %26
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps9kxayu3.c'
source_filename = "/tmp/tmps9kxayu3.c"
target datalayout = "e-m:e-p270: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 @fid_run_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)
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/tmps9kxayu3.c"
target datalayout = "e-m:e-p270: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 @fid_run_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)
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/tmpm8lz5qlx.c'
source_filename = "/tmp/tmpm8lz5qlx.c"
target datalayout = "e-m:e-p270: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 @f390(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 @f389(ptr noundef %3)
ret i32 %4
}
declare i32 @f389(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/tmpm8lz5qlx.c"
target datalayout = "e-m:e-p270: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 @f390(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 @f389(ptr noundef %3)
ret i32 %4
}
declare i32 @f389(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/tmp5cmld0rn.c'
source_filename = "/tmp/tmp5cmld0rn.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReSizeGLScene(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 %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %2
store i32 1, ptr %4, align 4
br label %8
8: ; preds = %7, %2
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr @GL_PROJECTION, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
%14 = call i32 (...) @glLoadIdentity()
%15 = load i32, ptr %3, align 4
%16 = sitofp i32 %15 to float
%17 = load i32, ptr %4, align 4
%18 = sitofp i32 %17 to float
%19 = fdiv float %16, %18
%20 = call i32 @gluPerspective(float noundef 4.500000e+01, float noundef %19, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02)
%21 = load i32, ptr @GL_MODELVIEW, align 4
%22 = call i32 @glMatrixMode(i32 noundef %21)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(float noundef, float noundef, float 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/tmp5cmld0rn.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReSizeGLScene(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 %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %2
store i32 1, ptr %4, align 4
br label %8
8: ; preds = %7, %2
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr @GL_PROJECTION, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
%14 = call i32 (...) @glLoadIdentity()
%15 = load i32, ptr %3, align 4
%16 = sitofp i32 %15 to float
%17 = load i32, ptr %4, align 4
%18 = sitofp i32 %17 to float
%19 = fdiv float %16, %18
%20 = call i32 @gluPerspective(float noundef 4.500000e+01, float noundef %19, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02)
%21 = load i32, ptr @GL_MODELVIEW, align 4
%22 = call i32 @glMatrixMode(i32 noundef %21)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(float noundef, float noundef, float 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/tmppd0ad698.c'
source_filename = "/tmp/tmppd0ad698.c"
target datalayout = "e-m:e-p270: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"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @macro_putwin(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @putwin(ptr noundef %9, ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fclose(ptr noundef %12)
%14 = load i32, ptr %6, align 4
ret i32 %14
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @putwin(ptr 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/tmppd0ad698.c"
target datalayout = "e-m:e-p270: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"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @macro_putwin(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @putwin(ptr noundef %9, ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fclose(ptr noundef %12)
%14 = load i32, ptr %6, align 4
ret i32 %14
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @putwin(ptr 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/tmpp12wyi3k.c'
source_filename = "/tmp/tmpp12wyi3k.c"
target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_5__ = type { i32, i32, i32, ptr, ptr, ptr, i32 }
@HFIXEDSZ = dso_local global i32 0, align 4
@RES_RECURSE = dso_local global i32 0, align 4
@NOERROR = dso_local global i32 0, align 4
@QFIXEDSZ = dso_local global i32 0, align 4
@RRFIXEDSZ = dso_local global i32 0, align 4
@T_NULL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @res_nmkquery(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca [20 x ptr], align 16
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca %struct.timeval, align 4
store ptr %0, ptr %12, align 8
store i32 %1, ptr %13, align 4
store ptr %2, ptr %14, align 8
store i32 %3, ptr %15, align 4
store i32 %4, ptr %16, align 4
store ptr %5, ptr %17, align 8
store i32 %6, ptr %18, align 4
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store i32 %9, ptr %21, align 4
%30 = load ptr, ptr %20, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %36, label %32
32: ; preds = %10
%33 = load i32, ptr %21, align 4
%34 = load i32, ptr @HFIXEDSZ, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32, %10
store i32 -1, ptr %11, align 4
br label %237
37: ; preds = %32
%38 = load ptr, ptr %20, align 8
%39 = load i32, ptr @HFIXEDSZ, align 4
%40 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef %39)
%41 = load ptr, ptr %20, align 8
store ptr %41, ptr %22, align 8
br label %42
42: ; preds = %50, %37
%43 = call i32 @__gettimeofday(ptr noundef %29, ptr noundef null)
%44 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = shl i32 %45, 8
%47 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = xor i32 %46, %48
store i32 %49, ptr %28, align 4
br label %50
50: ; preds = %42
%51 = load i32, ptr %28, align 4
%52 = and i32 %51, 65535
%53 = icmp eq i32 %52, 0
br i1 %53, label %42, label %54, !llvm.loop !6
54: ; preds = %50
%55 = load ptr, ptr %12, align 8
%56 = getelementptr inbounds %struct.TYPE_4__, ptr %55, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %28, align 4
%59 = add nsw i32 %57, %58
%60 = and i32 %59, 65535
%61 = load ptr, ptr %12, align 8
%62 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i32 0, i32 0
store i32 %60, ptr %62, align 4
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i32 0, i32 0
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %22, align 8
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %66, i32 0, i32 0
store i32 %65, ptr %67, align 8
%68 = load i32, ptr %13, align 4
%69 = load ptr, ptr %22, align 8
%70 = getelementptr inbounds %struct.TYPE_5__, ptr %69, i32 0, i32 1
store i32 %68, ptr %70, align 4
%71 = load ptr, ptr %12, align 8
%72 = getelementptr inbounds %struct.TYPE_4__, ptr %71, i32 0, i32 1
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr @RES_RECURSE, align 4
%75 = and i32 %73, %74
%76 = icmp ne i32 %75, 0
%77 = zext i1 %76 to i32
%78 = load ptr, ptr %22, align 8
%79 = getelementptr inbounds %struct.TYPE_5__, ptr %78, i32 0, i32 2
store i32 %77, ptr %79, align 8
%80 = load i32, ptr @NOERROR, align 4
%81 = load ptr, ptr %22, align 8
%82 = getelementptr inbounds %struct.TYPE_5__, ptr %81, i32 0, i32 6
store i32 %80, ptr %82, align 8
%83 = load ptr, ptr %20, align 8
%84 = load i32, ptr @HFIXEDSZ, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
store ptr %86, ptr %23, align 8
%87 = load i32, ptr @HFIXEDSZ, align 4
%88 = load i32, ptr %21, align 4
%89 = sub nsw i32 %88, %87
store i32 %89, ptr %21, align 4
%90 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
store ptr %90, ptr %26, align 8
%91 = load ptr, ptr %20, align 8
%92 = load ptr, ptr %26, align 8
%93 = getelementptr inbounds ptr, ptr %92, i32 1
store ptr %93, ptr %26, align 8
store ptr %91, ptr %92, align 8
%94 = load ptr, ptr %26, align 8
%95 = getelementptr inbounds ptr, ptr %94, i32 1
store ptr %95, ptr %26, align 8
store ptr null, ptr %94, align 8
%96 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
%97 = getelementptr inbounds ptr, ptr %96, i64 20
store ptr %97, ptr %27, align 8
%98 = load i32, ptr %13, align 4
switch i32 %98, label %228 [
i32 129, label %99
i32 128, label %114
i32 130, label %188
]
99: ; preds = %54
%100 = load i32, ptr @QFIXEDSZ, align 4
%101 = load ptr, ptr %17, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %104
103: ; preds = %99
br label %106
104: ; preds = %99
%105 = load i32, ptr @RRFIXEDSZ, align 4
br label %106
106: ; preds = %104, %103
%107 = phi i32 [ 0, %103 ], [ %105, %104 ]
%108 = add nsw i32 %100, %107
%109 = load i32, ptr %21, align 4
%110 = sub nsw i32 %109, %108
store i32 %110, ptr %21, align 4
%111 = icmp slt i32 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %106
store i32 -1, ptr %11, align 4
br label %237
113: ; preds = %106
br label %121
114: ; preds = %54
%115 = load i32, ptr @QFIXEDSZ, align 4
%116 = load i32, ptr %21, align 4
%117 = sub nsw i32 %116, %115
store i32 %117, ptr %21, align 4
%118 = icmp slt i32 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %114
store i32 -1, ptr %11, align 4
br label %237
120: ; preds = %114
br label %121
121: ; preds = %120, %113
%122 = load ptr, ptr %14, align 8
%123 = load ptr, ptr %23, align 8
%124 = load i32, ptr %21, align 4
%125 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
%126 = load ptr, ptr %27, align 8
%127 = call i32 @ns_name_compress(ptr noundef %122, ptr noundef %123, i32 noundef %124, ptr noundef %125, ptr noundef %126)
store i32 %127, ptr %24, align 4
%128 = load i32, ptr %24, align 4
%129 = icmp slt i32 %128, 0
br i1 %129, label %130, label %131
130: ; preds = %121
store i32 -1, ptr %11, align 4
br label %237
131: ; preds = %121
%132 = load i32, ptr %24, align 4
%133 = load ptr, ptr %23, align 8
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds i32, ptr %133, i64 %134
store ptr %135, ptr %23, align 8
%136 = load i32, ptr %24, align 4
%137 = load i32, ptr %21, align 4
%138 = sub nsw i32 %137, %136
store i32 %138, ptr %21, align 4
%139 = load i32, ptr %16, align 4
%140 = load ptr, ptr %23, align 8
%141 = call i32 @NS_PUT16(i32 noundef %139, ptr noundef %140)
%142 = load i32, ptr %15, align 4
%143 = load ptr, ptr %23, align 8
%144 = call i32 @NS_PUT16(i32 noundef %142, ptr noundef %143)
%145 = call ptr @htons(i32 noundef 1)
%146 = load ptr, ptr %22, align 8
%147 = getelementptr inbounds %struct.TYPE_5__, ptr %146, i32 0, i32 5
store ptr %145, ptr %147, align 8
%148 = load i32, ptr %13, align 4
%149 = icmp eq i32 %148, 128
br i1 %149, label %153, label %150
150: ; preds = %131
%151 = load ptr, ptr %17, align 8
%152 = icmp eq ptr %151, null
br i1 %152, label %153, label %154
153: ; preds = %150, %131
br label %229
154: ; preds = %150
%155 = load ptr, ptr %17, align 8
%156 = load ptr, ptr %23, align 8
%157 = load i32, ptr %21, align 4
%158 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
%159 = load ptr, ptr %27, align 8
%160 = call i32 @ns_name_compress(ptr noundef %155, ptr noundef %156, i32 noundef %157, ptr noundef %158, ptr noundef %159)
store i32 %160, ptr %24, align 4
%161 = load i32, ptr %24, align 4
%162 = icmp slt i32 %161, 0
%163 = zext i1 %162 to i32
%164 = call i32 @__glibc_unlikely(i32 noundef %163)
%165 = icmp ne i32 %164, 0
br i1 %165, label %166, label %167
166: ; preds = %154
store i32 -1, ptr %11, align 4
br label %237
167: ; preds = %154
%168 = load i32, ptr %24, align 4
%169 = load ptr, ptr %23, align 8
%170 = sext i32 %168 to i64
%171 = getelementptr inbounds i32, ptr %169, i64 %170
store ptr %171, ptr %23, align 8
%172 = load i32, ptr %24, align 4
%173 = load i32, ptr %21, align 4
%174 = sub nsw i32 %173, %172
store i32 %174, ptr %21, align 4
%175 = load i32, ptr @T_NULL, align 4
%176 = load ptr, ptr %23, align 8
%177 = call i32 @NS_PUT16(i32 noundef %175, ptr noundef %176)
%178 = load i32, ptr %15, align 4
%179 = load ptr, ptr %23, align 8
%180 = call i32 @NS_PUT16(i32 noundef %178, ptr noundef %179)
%181 = load ptr, ptr %23, align 8
%182 = call i32 @NS_PUT32(i32 noundef 0, ptr noundef %181)
%183 = load ptr, ptr %23, align 8
%184 = call i32 @NS_PUT16(i32 noundef 0, ptr noundef %183)
%185 = call ptr @htons(i32 noundef 1)
%186 = load ptr, ptr %22, align 8
%187 = getelementptr inbounds %struct.TYPE_5__, ptr %186, i32 0, i32 4
store ptr %185, ptr %187, align 8
br label %229
188: ; preds = %54
%189 = load i32, ptr %21, align 4
%190 = load i32, ptr @RRFIXEDSZ, align 4
%191 = add nsw i32 1, %190
%192 = load i32, ptr %18, align 4
%193 = add nsw i32 %191, %192
%194 = icmp slt i32 %189, %193
%195 = zext i1 %194 to i32
%196 = call i32 @__glibc_unlikely(i32 noundef %195)
%197 = icmp ne i32 %196, 0
br i1 %197, label %198, label %199
198: ; preds = %188
store i32 -1, ptr %11, align 4
br label %237
199: ; preds = %188
%200 = load ptr, ptr %23, align 8
%201 = getelementptr inbounds i32, ptr %200, i32 1
store ptr %201, ptr %23, align 8
store i32 0, ptr %200, align 4
%202 = load i32, ptr %16, align 4
%203 = load ptr, ptr %23, align 8
%204 = call i32 @NS_PUT16(i32 noundef %202, ptr noundef %203)
%205 = load i32, ptr %15, align 4
%206 = load ptr, ptr %23, align 8
%207 = call i32 @NS_PUT16(i32 noundef %205, ptr noundef %206)
%208 = load ptr, ptr %23, align 8
%209 = call i32 @NS_PUT32(i32 noundef 0, ptr noundef %208)
%210 = load i32, ptr %18, align 4
%211 = load ptr, ptr %23, align 8
%212 = call i32 @NS_PUT16(i32 noundef %210, ptr noundef %211)
%213 = load i32, ptr %18, align 4
%214 = icmp ne i32 %213, 0
br i1 %214, label %215, label %224
215: ; preds = %199
%216 = load ptr, ptr %23, align 8
%217 = load ptr, ptr %17, align 8
%218 = load i32, ptr %18, align 4
%219 = call i32 @memcpy(ptr noundef %216, ptr noundef %217, i32 noundef %218)
%220 = load i32, ptr %18, align 4
%221 = load ptr, ptr %23, align 8
%222 = sext i32 %220 to i64
%223 = getelementptr inbounds i32, ptr %221, i64 %222
store ptr %223, ptr %23, align 8
br label %224
224: ; preds = %215, %199
%225 = call ptr @htons(i32 noundef 1)
%226 = load ptr, ptr %22, align 8
%227 = getelementptr inbounds %struct.TYPE_5__, ptr %226, i32 0, i32 3
store ptr %225, ptr %227, align 8
br label %229
228: ; preds = %54
store i32 -1, ptr %11, align 4
br label %237
229: ; preds = %224, %167, %153
%230 = load ptr, ptr %23, align 8
%231 = load ptr, ptr %20, align 8
%232 = ptrtoint ptr %230 to i64
%233 = ptrtoint ptr %231 to i64
%234 = sub i64 %232, %233
%235 = sdiv exact i64 %234, 4
%236 = trunc i64 %235 to i32
store i32 %236, ptr %11, align 4
br label %237
237: ; preds = %229, %228, %198, %166, %130, %119, %112, %36
%238 = load i32, ptr %11, align 4
ret i32 %238
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @__gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @ns_name_compress(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @NS_PUT16(i32 noundef, ptr noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @__glibc_unlikely(i32 noundef) #1
declare i32 @NS_PUT32(i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp12wyi3k.c"
target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_5__ = type { i32, i32, i32, ptr, ptr, ptr, i32 }
@HFIXEDSZ = dso_local global i32 0, align 4
@RES_RECURSE = dso_local global i32 0, align 4
@NOERROR = dso_local global i32 0, align 4
@QFIXEDSZ = dso_local global i32 0, align 4
@RRFIXEDSZ = dso_local global i32 0, align 4
@T_NULL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @res_nmkquery(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca [20 x ptr], align 16
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca %struct.timeval, align 4
store ptr %0, ptr %12, align 8
store i32 %1, ptr %13, align 4
store ptr %2, ptr %14, align 8
store i32 %3, ptr %15, align 4
store i32 %4, ptr %16, align 4
store ptr %5, ptr %17, align 8
store i32 %6, ptr %18, align 4
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store i32 %9, ptr %21, align 4
%30 = load ptr, ptr %20, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %36, label %32
32: ; preds = %10
%33 = load i32, ptr %21, align 4
%34 = load i32, ptr @HFIXEDSZ, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32, %10
store i32 -1, ptr %11, align 4
br label %237
37: ; preds = %32
%38 = load ptr, ptr %20, align 8
%39 = load i32, ptr @HFIXEDSZ, align 4
%40 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef %39)
%41 = load ptr, ptr %20, align 8
store ptr %41, ptr %22, align 8
br label %42
42: ; preds = %50, %37
%43 = call i32 @__gettimeofday(ptr noundef %29, ptr noundef null)
%44 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = shl i32 %45, 8
%47 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = xor i32 %46, %48
store i32 %49, ptr %28, align 4
br label %50
50: ; preds = %42
%51 = load i32, ptr %28, align 4
%52 = and i32 %51, 65535
%53 = icmp eq i32 %52, 0
br i1 %53, label %42, label %54, !llvm.loop !6
54: ; preds = %50
%55 = load ptr, ptr %12, align 8
%56 = getelementptr inbounds %struct.TYPE_4__, ptr %55, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %28, align 4
%59 = add nsw i32 %57, %58
%60 = and i32 %59, 65535
%61 = load ptr, ptr %12, align 8
%62 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i32 0, i32 0
store i32 %60, ptr %62, align 4
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i32 0, i32 0
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %22, align 8
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %66, i32 0, i32 0
store i32 %65, ptr %67, align 8
%68 = load i32, ptr %13, align 4
%69 = load ptr, ptr %22, align 8
%70 = getelementptr inbounds %struct.TYPE_5__, ptr %69, i32 0, i32 1
store i32 %68, ptr %70, align 4
%71 = load ptr, ptr %12, align 8
%72 = getelementptr inbounds %struct.TYPE_4__, ptr %71, i32 0, i32 1
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr @RES_RECURSE, align 4
%75 = and i32 %73, %74
%76 = icmp ne i32 %75, 0
%77 = zext i1 %76 to i32
%78 = load ptr, ptr %22, align 8
%79 = getelementptr inbounds %struct.TYPE_5__, ptr %78, i32 0, i32 2
store i32 %77, ptr %79, align 8
%80 = load i32, ptr @NOERROR, align 4
%81 = load ptr, ptr %22, align 8
%82 = getelementptr inbounds %struct.TYPE_5__, ptr %81, i32 0, i32 6
store i32 %80, ptr %82, align 8
%83 = load ptr, ptr %20, align 8
%84 = load i32, ptr @HFIXEDSZ, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
store ptr %86, ptr %23, align 8
%87 = load i32, ptr @HFIXEDSZ, align 4
%88 = load i32, ptr %21, align 4
%89 = sub nsw i32 %88, %87
store i32 %89, ptr %21, align 4
%90 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
store ptr %90, ptr %26, align 8
%91 = load ptr, ptr %20, align 8
%92 = load ptr, ptr %26, align 8
%93 = getelementptr inbounds ptr, ptr %92, i32 1
store ptr %93, ptr %26, align 8
store ptr %91, ptr %92, align 8
%94 = load ptr, ptr %26, align 8
%95 = getelementptr inbounds ptr, ptr %94, i32 1
store ptr %95, ptr %26, align 8
store ptr null, ptr %94, align 8
%96 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
%97 = getelementptr inbounds ptr, ptr %96, i64 20
store ptr %97, ptr %27, align 8
%98 = load i32, ptr %13, align 4
switch i32 %98, label %228 [
i32 129, label %99
i32 128, label %114
i32 130, label %188
]
99: ; preds = %54
%100 = load i32, ptr @QFIXEDSZ, align 4
%101 = load ptr, ptr %17, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %104
103: ; preds = %99
br label %106
104: ; preds = %99
%105 = load i32, ptr @RRFIXEDSZ, align 4
br label %106
106: ; preds = %104, %103
%107 = phi i32 [ 0, %103 ], [ %105, %104 ]
%108 = add nsw i32 %100, %107
%109 = load i32, ptr %21, align 4
%110 = sub nsw i32 %109, %108
store i32 %110, ptr %21, align 4
%111 = icmp slt i32 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %106
store i32 -1, ptr %11, align 4
br label %237
113: ; preds = %106
br label %121
114: ; preds = %54
%115 = load i32, ptr @QFIXEDSZ, align 4
%116 = load i32, ptr %21, align 4
%117 = sub nsw i32 %116, %115
store i32 %117, ptr %21, align 4
%118 = icmp slt i32 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %114
store i32 -1, ptr %11, align 4
br label %237
120: ; preds = %114
br label %121
121: ; preds = %120, %113
%122 = load ptr, ptr %14, align 8
%123 = load ptr, ptr %23, align 8
%124 = load i32, ptr %21, align 4
%125 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
%126 = load ptr, ptr %27, align 8
%127 = call i32 @ns_name_compress(ptr noundef %122, ptr noundef %123, i32 noundef %124, ptr noundef %125, ptr noundef %126)
store i32 %127, ptr %24, align 4
%128 = load i32, ptr %24, align 4
%129 = icmp slt i32 %128, 0
br i1 %129, label %130, label %131
130: ; preds = %121
store i32 -1, ptr %11, align 4
br label %237
131: ; preds = %121
%132 = load i32, ptr %24, align 4
%133 = load ptr, ptr %23, align 8
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds i32, ptr %133, i64 %134
store ptr %135, ptr %23, align 8
%136 = load i32, ptr %24, align 4
%137 = load i32, ptr %21, align 4
%138 = sub nsw i32 %137, %136
store i32 %138, ptr %21, align 4
%139 = load i32, ptr %16, align 4
%140 = load ptr, ptr %23, align 8
%141 = call i32 @NS_PUT16(i32 noundef %139, ptr noundef %140)
%142 = load i32, ptr %15, align 4
%143 = load ptr, ptr %23, align 8
%144 = call i32 @NS_PUT16(i32 noundef %142, ptr noundef %143)
%145 = call ptr @htons(i32 noundef 1)
%146 = load ptr, ptr %22, align 8
%147 = getelementptr inbounds %struct.TYPE_5__, ptr %146, i32 0, i32 5
store ptr %145, ptr %147, align 8
%148 = load i32, ptr %13, align 4
%149 = icmp eq i32 %148, 128
br i1 %149, label %153, label %150
150: ; preds = %131
%151 = load ptr, ptr %17, align 8
%152 = icmp eq ptr %151, null
br i1 %152, label %153, label %154
153: ; preds = %150, %131
br label %229
154: ; preds = %150
%155 = load ptr, ptr %17, align 8
%156 = load ptr, ptr %23, align 8
%157 = load i32, ptr %21, align 4
%158 = getelementptr inbounds [20 x ptr], ptr %25, i64 0, i64 0
%159 = load ptr, ptr %27, align 8
%160 = call i32 @ns_name_compress(ptr noundef %155, ptr noundef %156, i32 noundef %157, ptr noundef %158, ptr noundef %159)
store i32 %160, ptr %24, align 4
%161 = load i32, ptr %24, align 4
%162 = icmp slt i32 %161, 0
%163 = zext i1 %162 to i32
%164 = call i32 @__glibc_unlikely(i32 noundef %163)
%165 = icmp ne i32 %164, 0
br i1 %165, label %166, label %167
166: ; preds = %154
store i32 -1, ptr %11, align 4
br label %237
167: ; preds = %154
%168 = load i32, ptr %24, align 4
%169 = load ptr, ptr %23, align 8
%170 = sext i32 %168 to i64
%171 = getelementptr inbounds i32, ptr %169, i64 %170
store ptr %171, ptr %23, align 8
%172 = load i32, ptr %24, align 4
%173 = load i32, ptr %21, align 4
%174 = sub nsw i32 %173, %172
store i32 %174, ptr %21, align 4
%175 = load i32, ptr @T_NULL, align 4
%176 = load ptr, ptr %23, align 8
%177 = call i32 @NS_PUT16(i32 noundef %175, ptr noundef %176)
%178 = load i32, ptr %15, align 4
%179 = load ptr, ptr %23, align 8
%180 = call i32 @NS_PUT16(i32 noundef %178, ptr noundef %179)
%181 = load ptr, ptr %23, align 8
%182 = call i32 @NS_PUT32(i32 noundef 0, ptr noundef %181)
%183 = load ptr, ptr %23, align 8
%184 = call i32 @NS_PUT16(i32 noundef 0, ptr noundef %183)
%185 = call ptr @htons(i32 noundef 1)
%186 = load ptr, ptr %22, align 8
%187 = getelementptr inbounds %struct.TYPE_5__, ptr %186, i32 0, i32 4
store ptr %185, ptr %187, align 8
br label %229
188: ; preds = %54
%189 = load i32, ptr %21, align 4
%190 = load i32, ptr @RRFIXEDSZ, align 4
%191 = add nsw i32 1, %190
%192 = load i32, ptr %18, align 4
%193 = add nsw i32 %191, %192
%194 = icmp slt i32 %189, %193
%195 = zext i1 %194 to i32
%196 = call i32 @__glibc_unlikely(i32 noundef %195)
%197 = icmp ne i32 %196, 0
br i1 %197, label %198, label %199
198: ; preds = %188
store i32 -1, ptr %11, align 4
br label %237
199: ; preds = %188
%200 = load ptr, ptr %23, align 8
%201 = getelementptr inbounds i32, ptr %200, i32 1
store ptr %201, ptr %23, align 8
store i32 0, ptr %200, align 4
%202 = load i32, ptr %16, align 4
%203 = load ptr, ptr %23, align 8
%204 = call i32 @NS_PUT16(i32 noundef %202, ptr noundef %203)
%205 = load i32, ptr %15, align 4
%206 = load ptr, ptr %23, align 8
%207 = call i32 @NS_PUT16(i32 noundef %205, ptr noundef %206)
%208 = load ptr, ptr %23, align 8
%209 = call i32 @NS_PUT32(i32 noundef 0, ptr noundef %208)
%210 = load i32, ptr %18, align 4
%211 = load ptr, ptr %23, align 8
%212 = call i32 @NS_PUT16(i32 noundef %210, ptr noundef %211)
%213 = load i32, ptr %18, align 4
%214 = icmp ne i32 %213, 0
br i1 %214, label %215, label %224
215: ; preds = %199
%216 = load ptr, ptr %23, align 8
%217 = load ptr, ptr %17, align 8
%218 = load i32, ptr %18, align 4
%219 = call i32 @memcpy(ptr noundef %216, ptr noundef %217, i32 noundef %218)
%220 = load i32, ptr %18, align 4
%221 = load ptr, ptr %23, align 8
%222 = sext i32 %220 to i64
%223 = getelementptr inbounds i32, ptr %221, i64 %222
store ptr %223, ptr %23, align 8
br label %224
224: ; preds = %215, %199
%225 = call ptr @htons(i32 noundef 1)
%226 = load ptr, ptr %22, align 8
%227 = getelementptr inbounds %struct.TYPE_5__, ptr %226, i32 0, i32 3
store ptr %225, ptr %227, align 8
br label %229
228: ; preds = %54
store i32 -1, ptr %11, align 4
br label %237
229: ; preds = %224, %167, %153
%230 = load ptr, ptr %23, align 8
%231 = load ptr, ptr %20, align 8
%232 = ptrtoint ptr %230 to i64
%233 = ptrtoint ptr %231 to i64
%234 = sub i64 %232, %233
%235 = sdiv exact i64 %234, 4
%236 = trunc i64 %235 to i32
store i32 %236, ptr %11, align 4
br label %237
237: ; preds = %229, %228, %198, %166, %130, %119, %112, %36
%238 = load i32, ptr %11, align 4
ret i32 %238
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @__gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @ns_name_compress(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @NS_PUT16(i32 noundef, ptr noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @__glibc_unlikely(i32 noundef) #1
declare i32 @NS_PUT32(i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3nj3s56r.c'
source_filename = "/tmp/tmp3nj3s56r.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"set_bit(0x%08x,%u,%u): 0x%08x, expected 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"set_bit(0x%08x,%u,%u): 0x%08x, correct\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_set_bit(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 @set_bit(ptr noundef %5, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %8, align 4
%23 = call i32 (ptr, i32, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
br label %30
24: ; preds = %4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = call i32 (ptr, i32, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %24, %17
ret void
}
declare i32 @set_bit(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3nj3s56r.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"set_bit(0x%08x,%u,%u): 0x%08x, expected 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"set_bit(0x%08x,%u,%u): 0x%08x, correct\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_set_bit(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 @set_bit(ptr noundef %5, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %8, align 4
%23 = call i32 (ptr, i32, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
br label %30
24: ; preds = %4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = call i32 (ptr, i32, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %24, %17
ret void
}
declare i32 @set_bit(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp66yn7h9p.c'
source_filename = "/tmp/tmp66yn7h9p.c"
target datalayout = "e-m:e-p270: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"fsync %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_fsync_begin(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @send_command(ptr noundef %7, i32 noundef %8, ptr noundef @.str, i32 noundef %9)
ret i32 %10
}
declare i32 @send_command(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp66yn7h9p.c"
target datalayout = "e-m:e-p270: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"fsync %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_fsync_begin(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @send_command(ptr noundef %7, i32 noundef %8, ptr noundef @.str, i32 noundef %9)
ret i32 %10
}
declare i32 @send_command(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppeigbgm6.c'
source_filename = "/tmp/tmppeigbgm6.c"
target datalayout = "e-m:e-p270: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 @PPI_ReadPortC() #0 {
%1 = call i32 @ppi_read_port(i32 noundef 2)
ret i32 %1
}
declare i32 @ppi_read_port(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/tmppeigbgm6.c"
target datalayout = "e-m:e-p270: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 @PPI_ReadPortC() #0 {
%1 = call i32 @ppi_read_port(i32 noundef 2)
ret i32 %1
}
declare i32 @ppi_read_port(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/tmpjwfpdm4z.c'
source_filename = "/tmp/tmpjwfpdm4z.c"
target datalayout = "e-m:e-p270: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 @init_screen(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
%11 = load i32, ptr %6, align 4
%12 = sub nsw i32 %11, 29
%13 = call i32 @fill_box8(ptr noundef %7, i32 noundef %8, i32 noundef 15, i32 noundef 0, i32 noundef 0, i32 noundef %10, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 28
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, 1
%20 = load i32, ptr %6, align 4
%21 = sub nsw i32 %20, 28
%22 = call i32 @fill_box8(ptr noundef %14, i32 noundef %15, i32 noundef 8, i32 noundef 0, i32 noundef %17, i32 noundef %19, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 27
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %29, 27
%31 = call i32 @fill_box8(ptr noundef %23, i32 noundef %24, i32 noundef 7, i32 noundef 0, i32 noundef %26, i32 noundef %28, i32 noundef %30)
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 26
%36 = load i32, ptr %5, align 4
%37 = sub nsw i32 %36, 1
%38 = load i32, ptr %6, align 4
%39 = sub nsw i32 %38, 1
%40 = call i32 @fill_box8(ptr noundef %32, i32 noundef %33, i32 noundef 8, i32 noundef 0, i32 noundef %35, i32 noundef %37, i32 noundef %39)
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = sub nsw i32 %43, 24
%45 = load i32, ptr %6, align 4
%46 = sub nsw i32 %45, 24
%47 = call i32 @fill_box8(ptr noundef %41, i32 noundef %42, i32 noundef 7, i32 noundef 3, i32 noundef %44, i32 noundef 59, i32 noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 %50, 24
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 4
%54 = call i32 @fill_box8(ptr noundef %48, i32 noundef %49, i32 noundef 7, i32 noundef 2, i32 noundef %51, i32 noundef 2, i32 noundef %53)
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %57, 4
%59 = load i32, ptr %6, align 4
%60 = sub nsw i32 %59, 4
%61 = call i32 @fill_box8(ptr noundef %55, i32 noundef %56, i32 noundef 15, i32 noundef 3, i32 noundef %58, i32 noundef 59, i32 noundef %60)
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %6, align 4
%65 = sub nsw i32 %64, 23
%66 = load i32, ptr %6, align 4
%67 = sub nsw i32 %66, 5
%68 = call i32 @fill_box8(ptr noundef %62, i32 noundef %63, i32 noundef 15, i32 noundef 59, i32 noundef %65, i32 noundef 59, i32 noundef %67)
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = sub nsw i32 %71, 3
%73 = load i32, ptr %6, align 4
%74 = sub nsw i32 %73, 3
%75 = call i32 @fill_box8(ptr noundef %69, i32 noundef %70, i32 noundef 0, i32 noundef 2, i32 noundef %72, i32 noundef 59, i32 noundef %74)
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr %6, align 4
%79 = sub nsw i32 %78, 24
%80 = load i32, ptr %6, align 4
%81 = sub nsw i32 %80, 3
%82 = call i32 @fill_box8(ptr noundef %76, i32 noundef %77, i32 noundef 0, i32 noundef 60, i32 noundef %79, i32 noundef 60, i32 noundef %81)
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %5, align 4
%86 = sub nsw i32 %85, 47
%87 = load i32, ptr %6, align 4
%88 = sub nsw i32 %87, 24
%89 = load i32, ptr %5, align 4
%90 = sub nsw i32 %89, 4
%91 = load i32, ptr %6, align 4
%92 = sub nsw i32 %91, 24
%93 = call i32 @fill_box8(ptr noundef %83, i32 noundef %84, i32 noundef 15, i32 noundef %86, i32 noundef %88, i32 noundef %90, i32 noundef %92)
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %5, align 4
%96 = load i32, ptr %5, align 4
%97 = sub nsw i32 %96, 47
%98 = load i32, ptr %6, align 4
%99 = sub nsw i32 %98, 23
%100 = load i32, ptr %5, align 4
%101 = sub nsw i32 %100, 47
%102 = load i32, ptr %6, align 4
%103 = sub nsw i32 %102, 4
%104 = call i32 @fill_box8(ptr noundef %94, i32 noundef %95, i32 noundef 15, i32 noundef %97, i32 noundef %99, i32 noundef %101, i32 noundef %103)
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %5, align 4
%107 = load i32, ptr %5, align 4
%108 = sub nsw i32 %107, 47
%109 = load i32, ptr %6, align 4
%110 = sub nsw i32 %109, 3
%111 = load i32, ptr %5, align 4
%112 = sub nsw i32 %111, 4
%113 = load i32, ptr %6, align 4
%114 = sub nsw i32 %113, 3
%115 = call i32 @fill_box8(ptr noundef %105, i32 noundef %106, i32 noundef 7, i32 noundef %108, i32 noundef %110, i32 noundef %112, i32 noundef %114)
%116 = load ptr, ptr %4, align 8
%117 = load i32, ptr %5, align 4
%118 = load i32, ptr %5, align 4
%119 = sub nsw i32 %118, 3
%120 = load i32, ptr %6, align 4
%121 = sub nsw i32 %120, 24
%122 = load i32, ptr %5, align 4
%123 = sub nsw i32 %122, 3
%124 = load i32, ptr %6, align 4
%125 = sub nsw i32 %124, 3
%126 = call i32 @fill_box8(ptr noundef %116, i32 noundef %117, i32 noundef 7, i32 noundef %119, i32 noundef %121, i32 noundef %123, i32 noundef %125)
ret void
}
declare i32 @fill_box8(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwfpdm4z.c"
target datalayout = "e-m:e-p270: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 @init_screen(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
%11 = load i32, ptr %6, align 4
%12 = sub nsw i32 %11, 29
%13 = call i32 @fill_box8(ptr noundef %7, i32 noundef %8, i32 noundef 15, i32 noundef 0, i32 noundef 0, i32 noundef %10, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 28
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, 1
%20 = load i32, ptr %6, align 4
%21 = sub nsw i32 %20, 28
%22 = call i32 @fill_box8(ptr noundef %14, i32 noundef %15, i32 noundef 8, i32 noundef 0, i32 noundef %17, i32 noundef %19, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 27
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %29, 27
%31 = call i32 @fill_box8(ptr noundef %23, i32 noundef %24, i32 noundef 7, i32 noundef 0, i32 noundef %26, i32 noundef %28, i32 noundef %30)
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 26
%36 = load i32, ptr %5, align 4
%37 = sub nsw i32 %36, 1
%38 = load i32, ptr %6, align 4
%39 = sub nsw i32 %38, 1
%40 = call i32 @fill_box8(ptr noundef %32, i32 noundef %33, i32 noundef 8, i32 noundef 0, i32 noundef %35, i32 noundef %37, i32 noundef %39)
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = sub nsw i32 %43, 24
%45 = load i32, ptr %6, align 4
%46 = sub nsw i32 %45, 24
%47 = call i32 @fill_box8(ptr noundef %41, i32 noundef %42, i32 noundef 7, i32 noundef 3, i32 noundef %44, i32 noundef 59, i32 noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 %50, 24
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 4
%54 = call i32 @fill_box8(ptr noundef %48, i32 noundef %49, i32 noundef 7, i32 noundef 2, i32 noundef %51, i32 noundef 2, i32 noundef %53)
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %57, 4
%59 = load i32, ptr %6, align 4
%60 = sub nsw i32 %59, 4
%61 = call i32 @fill_box8(ptr noundef %55, i32 noundef %56, i32 noundef 15, i32 noundef 3, i32 noundef %58, i32 noundef 59, i32 noundef %60)
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %6, align 4
%65 = sub nsw i32 %64, 23
%66 = load i32, ptr %6, align 4
%67 = sub nsw i32 %66, 5
%68 = call i32 @fill_box8(ptr noundef %62, i32 noundef %63, i32 noundef 15, i32 noundef 59, i32 noundef %65, i32 noundef 59, i32 noundef %67)
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = sub nsw i32 %71, 3
%73 = load i32, ptr %6, align 4
%74 = sub nsw i32 %73, 3
%75 = call i32 @fill_box8(ptr noundef %69, i32 noundef %70, i32 noundef 0, i32 noundef 2, i32 noundef %72, i32 noundef 59, i32 noundef %74)
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr %6, align 4
%79 = sub nsw i32 %78, 24
%80 = load i32, ptr %6, align 4
%81 = sub nsw i32 %80, 3
%82 = call i32 @fill_box8(ptr noundef %76, i32 noundef %77, i32 noundef 0, i32 noundef 60, i32 noundef %79, i32 noundef 60, i32 noundef %81)
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %5, align 4
%86 = sub nsw i32 %85, 47
%87 = load i32, ptr %6, align 4
%88 = sub nsw i32 %87, 24
%89 = load i32, ptr %5, align 4
%90 = sub nsw i32 %89, 4
%91 = load i32, ptr %6, align 4
%92 = sub nsw i32 %91, 24
%93 = call i32 @fill_box8(ptr noundef %83, i32 noundef %84, i32 noundef 15, i32 noundef %86, i32 noundef %88, i32 noundef %90, i32 noundef %92)
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %5, align 4
%96 = load i32, ptr %5, align 4
%97 = sub nsw i32 %96, 47
%98 = load i32, ptr %6, align 4
%99 = sub nsw i32 %98, 23
%100 = load i32, ptr %5, align 4
%101 = sub nsw i32 %100, 47
%102 = load i32, ptr %6, align 4
%103 = sub nsw i32 %102, 4
%104 = call i32 @fill_box8(ptr noundef %94, i32 noundef %95, i32 noundef 15, i32 noundef %97, i32 noundef %99, i32 noundef %101, i32 noundef %103)
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %5, align 4
%107 = load i32, ptr %5, align 4
%108 = sub nsw i32 %107, 47
%109 = load i32, ptr %6, align 4
%110 = sub nsw i32 %109, 3
%111 = load i32, ptr %5, align 4
%112 = sub nsw i32 %111, 4
%113 = load i32, ptr %6, align 4
%114 = sub nsw i32 %113, 3
%115 = call i32 @fill_box8(ptr noundef %105, i32 noundef %106, i32 noundef 7, i32 noundef %108, i32 noundef %110, i32 noundef %112, i32 noundef %114)
%116 = load ptr, ptr %4, align 8
%117 = load i32, ptr %5, align 4
%118 = load i32, ptr %5, align 4
%119 = sub nsw i32 %118, 3
%120 = load i32, ptr %6, align 4
%121 = sub nsw i32 %120, 24
%122 = load i32, ptr %5, align 4
%123 = sub nsw i32 %122, 3
%124 = load i32, ptr %6, align 4
%125 = sub nsw i32 %124, 3
%126 = call i32 @fill_box8(ptr noundef %116, i32 noundef %117, i32 noundef 7, i32 noundef %119, i32 noundef %121, i32 noundef %123, i32 noundef %125)
ret void
}
declare i32 @fill_box8(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpss10rnoy.c'
source_filename = "/tmp/tmpss10rnoy.c"
target datalayout = "e-m:e-p270: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 @get_xy(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 = ptrtoint ptr %5 to i32
%7 = load ptr, ptr %4, align 8
%8 = ptrtoint ptr %7 to i32
%9 = call i32 @syscall3(i32 noundef 513, i32 noundef %6, i32 noundef %8)
ret void
}
declare i32 @syscall3(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpss10rnoy.c"
target datalayout = "e-m:e-p270: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 @get_xy(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 = ptrtoint ptr %5 to i32
%7 = load ptr, ptr %4, align 8
%8 = ptrtoint ptr %7 to i32
%9 = call i32 @syscall3(i32 noundef 513, i32 noundef %6, i32 noundef %8)
ret void
}
declare i32 @syscall3(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuuior01c.c'
source_filename = "/tmp/tmpuuior01c.c"
target datalayout = "e-m:e-p270: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/tmpuuior01c.c"
target datalayout = "e-m:e-p270: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/tmpa2brqd6f.c'
source_filename = "/tmp/tmpa2brqd6f.c"
target datalayout = "e-m:e-p270: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 @machineStop() #0 {
%1 = call i32 (...) @deviceStop()
ret void
}
declare i32 @deviceStop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpa2brqd6f.c"
target datalayout = "e-m:e-p270: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 @machineStop() #0 {
%1 = call i32 (...) @deviceStop()
ret void
}
declare i32 @deviceStop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpf216998w.c'
source_filename = "/tmp/tmpf216998w.c"
target datalayout = "e-m:e-p270: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 @_ZSt8_DestroyIPPiS0_EvT_S2_RSaIT0_E(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
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %8, align 8
store ptr %16, ptr %11, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = call i32 @_ZSt8_DestroyIPPiEvT_S2_(ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @_ZSt8_DestroyIPPiEvT_S2_(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/tmpf216998w.c"
target datalayout = "e-m:e-p270: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 @_ZSt8_DestroyIPPiS0_EvT_S2_RSaIT0_E(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
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %8, align 8
store ptr %16, ptr %11, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = call i32 @_ZSt8_DestroyIPPiEvT_S2_(ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @_ZSt8_DestroyIPPiEvT_S2_(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/tmp7mt706i3.c'
source_filename = "/tmp/tmp7mt706i3.c"
target datalayout = "e-m:e-p270: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/tmp7mt706i3.c"
target datalayout = "e-m:e-p270: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/tmpjc2ciatx.c'
source_filename = "/tmp/tmpjc2ciatx.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"\0Aerror: specify tab offset\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\0Aerror: tab increment must be positive\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0Aerror: specify tab increment\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"\0Aentab: illegal option %c\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"\0AUsage: entab -m +n\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1000 x i32], align 16
%10 = alloca [1000 x i8], align 16
%11 = alloca [1000 x i8], align 16
%12 = alloca [1000 x i8], align 16
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = 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 0, ptr %7, align 4
store i32 8, ptr %8, align 4
br label %16
16: ; preds = %82, %2
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %33, label %27
27: ; preds = %20
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 43
br label %33
33: ; preds = %27, %20
%34 = phi i1 [ true, %20 ], [ %32, %27 ]
br label %35
35: ; preds = %33, %16
%36 = phi i1 [ false, %16 ], [ %34, %33 ]
br i1 %36, label %37, label %83
37: ; preds = %35
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %13, align 1
%41 = load i8, ptr %13, align 1
%42 = sext i8 %41 to i32
switch i32 %42, label %78 [
i32 45, label %43
i32 43, label %58
]
43: ; preds = %37
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load i8, ptr %46, align 1
%48 = call i32 @isdigit(i8 noundef signext %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %43
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %51, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 1
%54 = call i32 @atoi(ptr noundef %53)
store i32 %54, ptr %7, align 4
br label %57
55: ; preds = %43
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %57
57: ; preds = %55, %50
br label %82
58: ; preds = %37
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %59, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = load i8, ptr %61, align 1
%63 = call i32 @isdigit(i8 noundef signext %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %75
65: ; preds = %58
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %66, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 1
%69 = call i32 @atoi(ptr noundef %68)
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = icmp sle i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %65
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %82
74: ; preds = %65
br label %77
75: ; preds = %58
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
br label %77
77: ; preds = %75, %74
br label %82
78: ; preds = %37
%79 = load i8, ptr %13, align 1
%80 = sext i8 %79 to i32
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %80)
store i32 -1, ptr %4, align 4
br label %82
82: ; preds = %78, %77, %72, %57
br label %16, !llvm.loop !6
83: ; preds = %35
%84 = load i32, ptr %4, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %83
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %124
88: ; preds = %83
%89 = load i32, ptr %7, align 4
store i32 %89, ptr %14, align 4
store i32 0, ptr %15, align 4
br label %90
90: ; preds = %98, %88
%91 = load i32, ptr %14, align 4
%92 = icmp slt i32 %91, 1000
br i1 %92, label %93, label %104
93: ; preds = %90
%94 = load i32, ptr %14, align 4
%95 = load i32, ptr %15, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %96
store i32 %94, ptr %97, align 4
br label %98
98: ; preds = %93
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %14, align 4
%101 = add nsw i32 %100, %99
store i32 %101, ptr %14, align 4
%102 = load i32, ptr %15, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %15, align 4
br label %90, !llvm.loop !8
104: ; preds = %90
%105 = load i32, ptr %15, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %106
store i32 -1, ptr %107, align 4
br label %108
108: ; preds = %112, %104
%109 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0
%110 = call i32 @my_getline(ptr noundef %109, i32 noundef 1000)
store i32 %110, ptr %6, align 4
%111 = icmp sgt i32 %110, 0
br i1 %111, label %112, label %123
112: ; preds = %108
%113 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0
%114 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%115 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0
%116 = call i32 @detab(ptr noundef %113, ptr noundef %114, ptr noundef %115)
%117 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%118 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%119 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0
%120 = call i32 @entab(ptr noundef %117, ptr noundef %118, ptr noundef %119)
%121 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %121)
br label %108, !llvm.loop !9
123: ; preds = %108
store i32 0, ptr %3, align 4
br label %124
124: ; preds = %123, %86
%125 = load i32, ptr %3, align 4
ret i32 %125
}
declare i32 @isdigit(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @my_getline(ptr noundef, i32 noundef) #1
declare i32 @detab(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @entab(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjc2ciatx.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"\0Aerror: specify tab offset\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\0Aerror: tab increment must be positive\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0Aerror: specify tab increment\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"\0Aentab: illegal option %c\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"\0AUsage: entab -m +n\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1000 x i32], align 16
%10 = alloca [1000 x i8], align 16
%11 = alloca [1000 x i8], align 16
%12 = alloca [1000 x i8], align 16
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = 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 0, ptr %7, align 4
store i32 8, ptr %8, align 4
br label %16
16: ; preds = %82, %2
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %33, label %27
27: ; preds = %20
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 43
br label %33
33: ; preds = %27, %20
%34 = phi i1 [ true, %20 ], [ %32, %27 ]
br label %35
35: ; preds = %33, %16
%36 = phi i1 [ false, %16 ], [ %34, %33 ]
br i1 %36, label %37, label %83
37: ; preds = %35
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %13, align 1
%41 = load i8, ptr %13, align 1
%42 = sext i8 %41 to i32
switch i32 %42, label %78 [
i32 45, label %43
i32 43, label %58
]
43: ; preds = %37
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load i8, ptr %46, align 1
%48 = call i32 @isdigit(i8 noundef signext %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %43
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %51, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 1
%54 = call i32 @atoi(ptr noundef %53)
store i32 %54, ptr %7, align 4
br label %57
55: ; preds = %43
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %57
57: ; preds = %55, %50
br label %82
58: ; preds = %37
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %59, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = load i8, ptr %61, align 1
%63 = call i32 @isdigit(i8 noundef signext %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %75
65: ; preds = %58
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %66, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 1
%69 = call i32 @atoi(ptr noundef %68)
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = icmp sle i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %65
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %82
74: ; preds = %65
br label %77
75: ; preds = %58
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
br label %77
77: ; preds = %75, %74
br label %82
78: ; preds = %37
%79 = load i8, ptr %13, align 1
%80 = sext i8 %79 to i32
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %80)
store i32 -1, ptr %4, align 4
br label %82
82: ; preds = %78, %77, %72, %57
br label %16, !llvm.loop !6
83: ; preds = %35
%84 = load i32, ptr %4, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %83
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %126
88: ; preds = %83
%89 = load i32, ptr %7, align 4
store i32 %89, ptr %14, align 4
store i32 0, ptr %15, align 4
%90 = load i32, ptr %14, align 4
%91 = icmp slt i32 %90, 1000
br i1 %91, label %.lr.ph, label %105
.lr.ph: ; preds = %88
br label %92
92: ; preds = %.lr.ph, %97
%93 = load i32, ptr %14, align 4
%94 = load i32, ptr %15, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %95
store i32 %93, ptr %96, align 4
br label %97
97: ; preds = %92
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %14, align 4
%100 = add nsw i32 %99, %98
store i32 %100, ptr %14, align 4
%101 = load i32, ptr %15, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %15, align 4
%103 = load i32, ptr %14, align 4
%104 = icmp slt i32 %103, 1000
br i1 %104, label %92, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %97
br label %105
105: ; preds = %._crit_edge, %88
%106 = load i32, ptr %15, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %107
store i32 -1, ptr %108, align 4
%109 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0
%110 = call i32 @my_getline(ptr noundef %109, i32 noundef 1000)
store i32 %110, ptr %6, align 4
%111 = icmp sgt i32 %110, 0
br i1 %111, label %.lr.ph2, label %125
.lr.ph2: ; preds = %105
br label %112
112: ; preds = %.lr.ph2, %112
%113 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0
%114 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%115 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0
%116 = call i32 @detab(ptr noundef %113, ptr noundef %114, ptr noundef %115)
%117 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%118 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%119 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0
%120 = call i32 @entab(ptr noundef %117, ptr noundef %118, ptr noundef %119)
%121 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %121)
%123 = call i32 @my_getline(ptr noundef %109, i32 noundef 1000)
store i32 %123, ptr %6, align 4
%124 = icmp sgt i32 %123, 0
br i1 %124, label %112, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %112
br label %125
125: ; preds = %._crit_edge3, %105
store i32 0, ptr %3, align 4
br label %126
126: ; preds = %125, %86
%127 = load i32, ptr %3, align 4
ret i32 %127
}
declare i32 @isdigit(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @my_getline(ptr noundef, i32 noundef) #1
declare i32 @detab(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @entab(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprrshr17w.c'
source_filename = "/tmp/tmprrshr17w.c"
target datalayout = "e-m:e-p270: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 @smm_fopen(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 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @smm_errno_update(i32 noundef -1073741811)
br label %14
12: ; preds = %2
%13 = call i32 @smm_errno_update(i32 noundef 0)
br label %14
14: ; preds = %12, %10
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @smm_errno_update(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/tmprrshr17w.c"
target datalayout = "e-m:e-p270: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 @smm_fopen(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 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @smm_errno_update(i32 noundef -1073741811)
br label %14
12: ; preds = %2
%13 = call i32 @smm_errno_update(i32 noundef 0)
br label %14
14: ; preds = %12, %10
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @smm_errno_update(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/tmppyfvt21a.c'
source_filename = "/tmp/tmppyfvt21a.c"
target datalayout = "e-m:e-p270: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")\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @extractKeyFromGet(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4 x i8], align 1
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @strstr(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call ptr @strstr(ptr noundef %11, ptr noundef @.str.1)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = ptrtoint ptr %13 to i64
%16 = ptrtoint ptr %14 to i64
%17 = sub i64 %15, %16
%18 = trunc i64 %17 to i32
store i32 %18, ptr %5, align 4
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %2, align 8
%21 = ptrtoint ptr %19 to i64
%22 = ptrtoint ptr %20 to i64
%23 = sub i64 %21, %22
%24 = trunc i64 %23 to i32
store i32 %24, ptr %6, align 4
%25 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @strncpy(ptr noundef %25, ptr noundef %30, i32 noundef %33)
%35 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%36 = call i32 @atoi(ptr noundef %35)
store i32 %36, ptr %7, align 4
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @fflush(i32 noundef %37)
%39 = load i32, ptr %7, align 4
ret i32 %39
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(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/tmppyfvt21a.c"
target datalayout = "e-m:e-p270: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")\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @extractKeyFromGet(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4 x i8], align 1
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @strstr(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call ptr @strstr(ptr noundef %11, ptr noundef @.str.1)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = ptrtoint ptr %13 to i64
%16 = ptrtoint ptr %14 to i64
%17 = sub i64 %15, %16
%18 = trunc i64 %17 to i32
store i32 %18, ptr %5, align 4
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %2, align 8
%21 = ptrtoint ptr %19 to i64
%22 = ptrtoint ptr %20 to i64
%23 = sub i64 %21, %22
%24 = trunc i64 %23 to i32
store i32 %24, ptr %6, align 4
%25 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @strncpy(ptr noundef %25, ptr noundef %30, i32 noundef %33)
%35 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%36 = call i32 @atoi(ptr noundef %35)
store i32 %36, ptr %7, align 4
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @fflush(i32 noundef %37)
%39 = load i32, ptr %7, align 4
ret i32 %39
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(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/tmpd89spkgc.c'
source_filename = "/tmp/tmpd89spkgc.c"
target datalayout = "e-m:e-p270: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 @widen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %20, %1
%6 = load i32, ptr %3, align 4
%7 = icmp ult i32 %6, 8
br i1 %7, label %8, label %23
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = shl i32 %9, 2
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = and i32 %11, 128
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = or i32 %15, 3
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %14, %8
%18 = load i32, ptr %2, align 4
%19 = shl i32 %18, 1
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = add i32 %21, 1
store i32 %22, ptr %3, align 4
br label %5, !llvm.loop !6
23: ; preds = %5
%24 = load i32, ptr %4, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd89spkgc.c"
target datalayout = "e-m:e-p270: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 @widen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ult i32 %5, 8
br i1 %6, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %19
%8 = load i32, ptr %4, align 4
%9 = shl i32 %8, 2
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = and i32 %10, 128
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %7
%14 = load i32, ptr %4, align 4
%15 = or i32 %14, 3
store i32 %15, ptr %4, align 4
br label %16
16: ; preds = %13, %7
%17 = load i32, ptr %2, align 4
%18 = shl i32 %17, 1
store i32 %18, ptr %2, align 4
br label %19
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = add i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp ult i32 %22, 8
br i1 %23, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %1
%25 = load i32, ptr %4, align 4
ret i32 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp63sg0yr0.c'
source_filename = "/tmp/tmp63sg0yr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_result() #0 {
%1 = load i32, ptr @EINVAL, align 4
ret i32 %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp63sg0yr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_result() #0 {
%1 = load i32, ptr @EINVAL, align 4
ret i32 %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp87_wx3rl.c'
source_filename = "/tmp/tmp87_wx3rl.c"
target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [32 x i8] c"Hello\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%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
%6 = alloca [128 x i8], align 16
%7 = alloca [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.buf, i64 32, i1 false)
%8 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%9 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef 4, ptr noundef %9)
%11 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
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 @sprintf(ptr noundef, ptr noundef, i32 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/tmp87_wx3rl.c"
target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [32 x i8] c"Hello\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%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
%6 = alloca [128 x i8], align 16
%7 = alloca [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.buf, i64 32, i1 false)
%8 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%9 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef 4, ptr noundef %9)
%11 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
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 @sprintf(ptr noundef, ptr noundef, i32 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/tmpthanmeby.c'
source_filename = "/tmp/tmpthanmeby.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Please enter a small letter: \00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"The capital letter is: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 32
%9 = trunc i32 %8 to i8
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpthanmeby.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Please enter a small letter: \00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"The capital letter is: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 32
%9 = trunc i32 %8 to i8
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmphjd44bnv.c'
source_filename = "/tmp/tmphjd44bnv.c"
target datalayout = "e-m:e-p270: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 @PutUnsignedInt(ptr noundef %0, i8 noundef signext %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = udiv i32 %12, 10
%14 = icmp ugt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %6, align 1
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = udiv i32 %19, 10
%21 = call i32 @PutUnsignedInt(ptr noundef %16, i8 noundef signext %17, i32 noundef %18, i32 noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load ptr, ptr %5, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr %5, align 8
br label %42
26: ; preds = %4
br label %27
27: ; preds = %30, %26
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %27
%31 = load ptr, ptr %5, align 8
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = call i64 @append_char(ptr noundef %31, i32 noundef %33)
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %7, align 4
br label %27, !llvm.loop !6
41: ; preds = %27
br label %42
42: ; preds = %41, %15
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %8, align 4
%45 = urem i32 %44, 10
%46 = add i32 %45, 48
%47 = call i64 @append_char(ptr noundef %43, i32 noundef %46)
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = add nsw i64 %49, %47
%51 = trunc i64 %50 to i32
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %9, align 4
ret i32 %52
}
declare i64 @append_char(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/tmphjd44bnv.c"
target datalayout = "e-m:e-p270: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 @PutUnsignedInt(ptr noundef %0, i8 noundef signext %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = udiv i32 %12, 10
%14 = icmp ugt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %6, align 1
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = udiv i32 %19, 10
%21 = call i32 @PutUnsignedInt(ptr noundef %16, i8 noundef signext %17, i32 noundef %18, i32 noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load ptr, ptr %5, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr %5, align 8
br label %43
26: ; preds = %4
%27 = load i32, ptr %7, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %.lr.ph, label %42
.lr.ph: ; preds = %26
br label %29
29: ; preds = %.lr.ph, %29
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %6, align 1
%32 = sext i8 %31 to i32
%33 = call i64 @append_char(ptr noundef %30, i32 noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %5, align 8
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %42
42: ; preds = %._crit_edge, %26
br label %43
43: ; preds = %42, %15
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = urem i32 %45, 10
%47 = add i32 %46, 48
%48 = call i64 @append_char(ptr noundef %44, i32 noundef %47)
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = add nsw i64 %50, %48
%52 = trunc i64 %51 to i32
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
ret i32 %53
}
declare i64 @append_char(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/tmpqo8dwg1_.c'
source_filename = "/tmp/tmpqo8dwg1_.c"
target datalayout = "e-m:e-p270: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"ERROR on send\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @client_request(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 1
%13 = call i32 @send(i32 noundef %8, ptr noundef %9, i64 noundef %12, i32 noundef 0)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = call i32 @perror(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef -1) #3
unreachable
19: ; preds = %2
%20 = load i32, ptr %5, align 4
ret i32 %20
}
declare i32 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqo8dwg1_.c"
target datalayout = "e-m:e-p270: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"ERROR on send\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @client_request(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 1
%13 = call i32 @send(i32 noundef %8, ptr noundef %9, i64 noundef %12, i32 noundef 0)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = call i32 @perror(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef -1) #3
unreachable
19: ; preds = %2
%20 = load i32, ptr %5, align 4
ret i32 %20
}
declare i32 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy07gkpph.c'
source_filename = "/tmp/tmpy07gkpph.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"%d %d %d %d %d %d %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [100000 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store i32 0, ptr %1, align 4
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %7, align 4
br label %23
23: ; preds = %187, %0
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %190
27: ; preds = %23
%28 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %5, align 4
store i32 0, ptr %10, align 4
store i32 1, ptr %4, align 4
br label %29
29: ; preds = %54, %27
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %57
33: ; preds = %29
%34 = load i32, ptr %4, align 4
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %38, %33
%36 = load i32, ptr %6, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %35
%39 = load i32, ptr %6, align 4
%40 = srem i32 %39, 10
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %6, align 4
%42 = sdiv i32 %41, 10
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 48
%45 = trunc i32 %44 to i8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %47
store i8 %45, ptr %48, align 1
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
br label %35, !llvm.loop !6
53: ; preds = %35
br label %54
54: ; preds = %53
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %29, !llvm.loop !8
57: ; preds = %29
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %4, align 4
br label %58
58: ; preds = %172, %57
%59 = load i32, ptr %4, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %175
62: ; preds = %58
%63 = load i32, ptr %4, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 48
br i1 %68, label %69, label %72
69: ; preds = %62
%70 = load i32, ptr %12, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %12, align 4
br label %171
72: ; preds = %62
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 49
br i1 %78, label %79, label %82
79: ; preds = %72
%80 = load i32, ptr %13, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %13, align 4
br label %170
82: ; preds = %72
%83 = load i32, ptr %4, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 50
br i1 %88, label %89, label %92
89: ; preds = %82
%90 = load i32, ptr %14, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %14, align 4
br label %169
92: ; preds = %82
%93 = load i32, ptr %4, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 51
br i1 %98, label %99, label %102
99: ; preds = %92
%100 = load i32, ptr %15, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %15, align 4
br label %168
102: ; preds = %92
%103 = load i32, ptr %4, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 52
br i1 %108, label %109, label %112
109: ; preds = %102
%110 = load i32, ptr %16, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %16, align 4
br label %167
112: ; preds = %102
%113 = load i32, ptr %4, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 53
br i1 %118, label %119, label %122
119: ; preds = %112
%120 = load i32, ptr %17, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %17, align 4
br label %166
122: ; preds = %112
%123 = load i32, ptr %4, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %124
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 54
br i1 %128, label %129, label %132
129: ; preds = %122
%130 = load i32, ptr %18, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %18, align 4
br label %165
132: ; preds = %122
%133 = load i32, ptr %4, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %134
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 55
br i1 %138, label %139, label %142
139: ; preds = %132
%140 = load i32, ptr %19, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %19, align 4
br label %164
142: ; preds = %132
%143 = load i32, ptr %4, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %144
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = icmp eq i32 %147, 56
br i1 %148, label %149, label %152
149: ; preds = %142
%150 = load i32, ptr %20, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %20, align 4
br label %163
152: ; preds = %142
%153 = load i32, ptr %4, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %154
%156 = load i8, ptr %155, align 1
%157 = sext i8 %156 to i32
%158 = icmp eq i32 %157, 57
br i1 %158, label %159, label %162
159: ; preds = %152
%160 = load i32, ptr %21, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %21, align 4
br label %162
162: ; preds = %159, %152
br label %163
163: ; preds = %162, %149
br label %164
164: ; preds = %163, %139
br label %165
165: ; preds = %164, %129
br label %166
166: ; preds = %165, %119
br label %167
167: ; preds = %166, %109
br label %168
168: ; preds = %167, %99
br label %169
169: ; preds = %168, %89
br label %170
170: ; preds = %169, %79
br label %171
171: ; preds = %170, %69
br label %172
172: ; preds = %171
%173 = load i32, ptr %4, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %4, align 4
br label %58, !llvm.loop !9
175: ; preds = %58
%176 = load i32, ptr %12, align 4
%177 = load i32, ptr %13, align 4
%178 = load i32, ptr %14, align 4
%179 = load i32, ptr %15, align 4
%180 = load i32, ptr %16, align 4
%181 = load i32, ptr %17, align 4
%182 = load i32, ptr %18, align 4
%183 = load i32, ptr %19, align 4
%184 = load i32, ptr %20, align 4
%185 = load i32, ptr %21, align 4
%186 = call i32 @printf(ptr noundef @.str.1, i32 noundef %176, i32 noundef %177, i32 noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185)
br label %187
187: ; preds = %175
%188 = load i32, ptr %7, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %7, align 4
br label %23, !llvm.loop !10
190: ; preds = %23
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy07gkpph.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"%d %d %d %d %d %d %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [100000 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store i32 0, ptr %1, align 4
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %.lr.ph8, label %197
.lr.ph8: ; preds = %0
br label %26
26: ; preds = %.lr.ph8, %191
%27 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %5, align 4
store i32 0, ptr %10, align 4
store i32 1, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %.lr.ph2, label %59
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %53
%32 = load i32, ptr %4, align 4
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %.lr.ph, label %52
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %35
%36 = load i32, ptr %6, align 4
%37 = srem i32 %36, 10
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 48
%42 = trunc i32 %41 to i8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %44
store i8 %42, ptr %45, align 1
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp sgt i32 %50, 0
br i1 %51, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %52
52: ; preds = %._crit_edge, %31
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %3, align 4
%58 = icmp sle i32 %56, %57
br i1 %58, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %26
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %4, align 4
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %.lr.ph5, label %179
.lr.ph5: ; preds = %59
br label %63
63: ; preds = %.lr.ph5, %173
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %68, 48
br i1 %69, label %70, label %73
70: ; preds = %63
%71 = load i32, ptr %12, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %12, align 4
br label %172
73: ; preds = %63
%74 = load i32, ptr %4, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 49
br i1 %79, label %80, label %83
80: ; preds = %73
%81 = load i32, ptr %13, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %13, align 4
br label %171
83: ; preds = %73
%84 = load i32, ptr %4, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 50
br i1 %89, label %90, label %93
90: ; preds = %83
%91 = load i32, ptr %14, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %14, align 4
br label %170
93: ; preds = %83
%94 = load i32, ptr %4, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %95
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 51
br i1 %99, label %100, label %103
100: ; preds = %93
%101 = load i32, ptr %15, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %15, align 4
br label %169
103: ; preds = %93
%104 = load i32, ptr %4, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 52
br i1 %109, label %110, label %113
110: ; preds = %103
%111 = load i32, ptr %16, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %16, align 4
br label %168
113: ; preds = %103
%114 = load i32, ptr %4, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %115
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 53
br i1 %119, label %120, label %123
120: ; preds = %113
%121 = load i32, ptr %17, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %17, align 4
br label %167
123: ; preds = %113
%124 = load i32, ptr %4, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %125
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp eq i32 %128, 54
br i1 %129, label %130, label %133
130: ; preds = %123
%131 = load i32, ptr %18, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %18, align 4
br label %166
133: ; preds = %123
%134 = load i32, ptr %4, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %135
%137 = load i8, ptr %136, align 1
%138 = sext i8 %137 to i32
%139 = icmp eq i32 %138, 55
br i1 %139, label %140, label %143
140: ; preds = %133
%141 = load i32, ptr %19, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %19, align 4
br label %165
143: ; preds = %133
%144 = load i32, ptr %4, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %145
%147 = load i8, ptr %146, align 1
%148 = sext i8 %147 to i32
%149 = icmp eq i32 %148, 56
br i1 %149, label %150, label %153
150: ; preds = %143
%151 = load i32, ptr %20, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %20, align 4
br label %164
153: ; preds = %143
%154 = load i32, ptr %4, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [100000 x i8], ptr %11, i64 0, i64 %155
%157 = load i8, ptr %156, align 1
%158 = sext i8 %157 to i32
%159 = icmp eq i32 %158, 57
br i1 %159, label %160, label %163
160: ; preds = %153
%161 = load i32, ptr %21, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %21, align 4
br label %163
163: ; preds = %160, %153
br label %164
164: ; preds = %163, %150
br label %165
165: ; preds = %164, %140
br label %166
166: ; preds = %165, %130
br label %167
167: ; preds = %166, %120
br label %168
168: ; preds = %167, %110
br label %169
169: ; preds = %168, %100
br label %170
170: ; preds = %169, %90
br label %171
171: ; preds = %170, %80
br label %172
172: ; preds = %171, %70
br label %173
173: ; preds = %172
%174 = load i32, ptr %4, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %4, align 4
%176 = load i32, ptr %4, align 4
%177 = load i32, ptr %10, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %63, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %173
br label %179
179: ; preds = %._crit_edge6, %59
%180 = load i32, ptr %12, align 4
%181 = load i32, ptr %13, align 4
%182 = load i32, ptr %14, align 4
%183 = load i32, ptr %15, align 4
%184 = load i32, ptr %16, align 4
%185 = load i32, ptr %17, align 4
%186 = load i32, ptr %18, align 4
%187 = load i32, ptr %19, align 4
%188 = load i32, ptr %20, align 4
%189 = load i32, ptr %21, align 4
%190 = call i32 @printf(ptr noundef @.str.1, i32 noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef %189)
br label %191
191: ; preds = %179
%192 = load i32, ptr %7, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %7, align 4
%194 = load i32, ptr %7, align 4
%195 = load i32, ptr %2, align 4
%196 = icmp sle i32 %194, %195
br i1 %196, label %26, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %191
br label %197
197: ; preds = %._crit_edge9, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp133cp0jn.c'
source_filename = "/tmp/tmp133cp0jn.c"
target datalayout = "e-m:e-p270: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 @EEPROMSizeGet() #0 {
%1 = load volatile i32, ptr inttoptr (i64 1074458624 to ptr), align 4
%2 = and i32 %1, 65535
%3 = ashr i32 %2, 0
%4 = mul nsw i32 %3, 4
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp133cp0jn.c"
target datalayout = "e-m:e-p270: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 @EEPROMSizeGet() #0 {
%1 = load volatile i32, ptr inttoptr (i64 1074458624 to ptr), align 4
%2 = and i32 %1, 65535
%3 = ashr i32 %2, 0
%4 = mul nsw i32 %3, 4
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgaxii1hc.c'
source_filename = "/tmp/tmpgaxii1hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 256, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = zext i32 %8 to i64
%10 = load i32, ptr %4, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %5, align 8
%13 = mul nuw i64 %9, %11
%14 = alloca i32, i64 %13, align 16
store i64 %9, ptr %6, align 8
store i64 %11, ptr %7, align 8
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %40, %0
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %43
19: ; preds = %15
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %36, %19
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %39
24: ; preds = %20
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = mul nsw i32 %25, %26
%28 = add nsw i32 %27, 3
%29 = load i32, ptr %2, align 4
%30 = sext i32 %29 to i64
%31 = mul nsw i64 %30, %11
%32 = getelementptr inbounds i32, ptr %14, i64 %31
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %28, ptr %35, align 4
br label %36
36: ; preds = %24
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
br label %20, !llvm.loop !6
39: ; preds = %20
br label %40
40: ; preds = %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %15, !llvm.loop !8
43: ; preds = %15
store i32 0, ptr %2, align 4
br label %44
44: ; preds = %72, %43
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %75
48: ; preds = %44
%49 = load i32, ptr %2, align 4
%50 = mul nsw i32 8, %49
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = mul nsw i64 %52, %11
%54 = getelementptr inbounds i32, ptr %14, i64 %53
%55 = load i32, ptr %2, align 4
%56 = mul nsw i32 8, %55
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %54, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr %2, align 4
%62 = mul nsw i32 2, %61
%63 = add nsw i32 %62, 6
%64 = sext i32 %63 to i64
%65 = mul nsw i64 %64, %11
%66 = getelementptr inbounds i32, ptr %14, i64 %65
%67 = load i32, ptr %2, align 4
%68 = mul nsw i32 2, %67
%69 = add nsw i32 %68, 6
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %66, i64 %70
store i32 %60, ptr %71, align 4
br label %72
72: ; preds = %48
%73 = load i32, ptr %2, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %2, align 4
br label %44, !llvm.loop !9
75: ; preds = %44
%76 = load i32, ptr @stdout, align 4
%77 = call i32 @fflush(i32 noundef %76)
store i32 0, ptr %1, align 4
%78 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %78)
%79 = load i32, ptr %1, align 4
ret i32 %79
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @fflush(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgaxii1hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 256, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = zext i32 %8 to i64
%10 = load i32, ptr %4, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %5, align 8
%13 = mul nuw i64 %9, %11
%14 = alloca i32, i64 %13, align 16
store i64 %9, ptr %6, align 8
store i64 %11, ptr %7, align 8
store i32 0, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph2, label %47
.lr.ph2: ; preds = %0
br label %18
18: ; preds = %.lr.ph2, %41
store i32 0, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %34
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = mul nsw i32 %23, %24
%26 = add nsw i32 %25, 3
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = mul nsw i64 %28, %11
%30 = getelementptr inbounds i32, ptr %14, i64 %29
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
store i32 %26, ptr %33, align 4
br label %34
34: ; preds = %22
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %18
br label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %0
store i32 0, ptr %2, align 4
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph5, label %81
.lr.ph5: ; preds = %47
br label %51
51: ; preds = %.lr.ph5, %75
%52 = load i32, ptr %2, align 4
%53 = mul nsw i32 8, %52
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = mul nsw i64 %55, %11
%57 = getelementptr inbounds i32, ptr %14, i64 %56
%58 = load i32, ptr %2, align 4
%59 = mul nsw i32 8, %58
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %57, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %2, align 4
%65 = mul nsw i32 2, %64
%66 = add nsw i32 %65, 6
%67 = sext i32 %66 to i64
%68 = mul nsw i64 %67, %11
%69 = getelementptr inbounds i32, ptr %14, i64 %68
%70 = load i32, ptr %2, align 4
%71 = mul nsw i32 2, %70
%72 = add nsw i32 %71, 6
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %69, i64 %73
store i32 %63, ptr %74, align 4
br label %75
75: ; preds = %51
%76 = load i32, ptr %2, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %2, align 4
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %75
br label %81
81: ; preds = %._crit_edge6, %47
%82 = load i32, ptr @stdout, align 4
%83 = call i32 @fflush(i32 noundef %82)
store i32 0, ptr %1, align 4
%84 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %84)
%85 = load i32, ptr %1, align 4
ret i32 %85
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @fflush(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3n6xqk_f.c'
source_filename = "/tmp/tmp3n6xqk_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"
@.str = private unnamed_addr constant [168 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/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for V\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x56() #0 {
%1 = call i64 @iscntrl(i32 noundef 86)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 435, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp3n6xqk_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"
@.str = private unnamed_addr constant [168 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/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for V\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x56() #0 {
%1 = call i64 @iscntrl(i32 noundef 86)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 435, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp6673cp5g.c'
source_filename = "/tmp/tmp6673cp5g.c"
target datalayout = "e-m:e-p270: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")\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"lu\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"qr\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"mgs\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_unary_op(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 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.2)
%14 = icmp eq i64 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.3)
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.4)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19, %15, %11, %7, %1
store i32 1, ptr %2, align 4
br label %25
24: ; preds = %19
store i32 0, ptr %2, align 4
br label %25
25: ; preds = %24, %23
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6673cp5g.c"
target datalayout = "e-m:e-p270: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")\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"lu\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"qr\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"mgs\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_unary_op(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 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.2)
%14 = icmp eq i64 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.3)
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.4)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19, %15, %11, %7, %1
store i32 1, ptr %2, align 4
br label %25
24: ; preds = %19
store i32 0, ptr %2, align 4
br label %25
25: ; preds = %24, %23
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpatbcxfre.c'
source_filename = "/tmp/tmpatbcxfre.c"
target datalayout = "e-m:e-p270: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 @ANTweenProgressTimingFunctionQuadIn(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionQuadIn(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionQuadIn(float noundef, i32 noundef, i32 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/tmpatbcxfre.c"
target datalayout = "e-m:e-p270: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 @ANTweenProgressTimingFunctionQuadIn(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionQuadIn(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionQuadIn(float noundef, i32 noundef, i32 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/tmpndo_ico8.c'
source_filename = "/tmp/tmpndo_ico8.c"
target datalayout = "e-m:e-p270: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/tmpndo_ico8.c"
target datalayout = "e-m:e-p270: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/tmptwahogrx.c'
source_filename = "/tmp/tmptwahogrx.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"acos\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmptwahogrx.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"acos\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmp5j4xs3qe.c'
source_filename = "/tmp/tmp5j4xs3qe.c"
target datalayout = "e-m:e-p270: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 @quickSortWrapper(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 = sub nsw i32 %6, 1
%8 = call i32 @quickSort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @quickSort(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/tmp5j4xs3qe.c"
target datalayout = "e-m:e-p270: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 @quickSortWrapper(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 = sub nsw i32 %6, 1
%8 = call i32 @quickSort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @quickSort(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/tmpb4imw4yy.c'
source_filename = "/tmp/tmpb4imw4yy.c"
target datalayout = "e-m:e-p270: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 @drv_start_tag_open_recover(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @rn_newString(ptr noundef %8)
%10 = load ptr, ptr %6, align 8
%11 = call i32 @rn_newString(ptr noundef %10)
%12 = call i32 @start_tag_open(i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef 1)
ret i32 %12
}
declare i32 @start_tag_open(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @rn_newString(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/tmpb4imw4yy.c"
target datalayout = "e-m:e-p270: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 @drv_start_tag_open_recover(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @rn_newString(ptr noundef %8)
%10 = load ptr, ptr %6, align 8
%11 = call i32 @rn_newString(ptr noundef %10)
%12 = call i32 @start_tag_open(i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef 1)
ret i32 %12
}
declare i32 @start_tag_open(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @rn_newString(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/tmpbcu4k7rc.c'
source_filename = "/tmp/tmpbcu4k7rc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"\0A]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @p_json_after() #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/tmpbcu4k7rc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"\0A]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @p_json_after() #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/tmpfa4ccmfs.c'
source_filename = "/tmp/tmpfa4ccmfs.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.timespec, align 4
store i32 %0, ptr %3, align 4
%5 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %5, align 4
%7 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i32 0, ptr %7, align 4
%8 = load i32, ptr @CLOCK_REALTIME, align 4
%9 = call i64 @clock_nanosleep(i32 noundef %8, i32 noundef 0, ptr noundef %4, ptr noundef null)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %2, align 4
br label %14
13: ; preds = %1
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %13, %11
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @clock_nanosleep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfa4ccmfs.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.timespec, align 4
store i32 %0, ptr %3, align 4
%5 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %5, align 4
%7 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i32 0, ptr %7, align 4
%8 = load i32, ptr @CLOCK_REALTIME, align 4
%9 = call i64 @clock_nanosleep(i32 noundef %8, i32 noundef 0, ptr noundef %4, ptr noundef null)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %2, align 4
br label %14
13: ; preds = %1
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %13, %11
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @clock_nanosleep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvp1mb92_.c'
source_filename = "/tmp/tmpvp1mb92_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_IN6ADDRSZ = dso_local global i32 0, align 4
@NS_INADDRSZ = dso_local global i32 0, align 4
@NS_INT16SZ = 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/tmpvp1mb92_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_IN6ADDRSZ = dso_local global i32 0, align 4
@NS_INADDRSZ = dso_local global i32 0, align 4
@NS_INT16SZ = 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/tmpebs6zyna.c'
source_filename = "/tmp/tmpebs6zyna.c"
target datalayout = "e-m:e-p270: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.aiocb = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.aiocb, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 4)
%4 = call i32 @aio_write(ptr noundef %2)
ret i32 %4
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @aio_write(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/tmpebs6zyna.c"
target datalayout = "e-m:e-p270: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.aiocb = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.aiocb, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 4)
%4 = call i32 @aio_write(ptr noundef %2)
ret i32 %4
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @aio_write(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/tmpl_6pqodl.c'
source_filename = "/tmp/tmpl_6pqodl.c"
target datalayout = "e-m:e-p270: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 @bit_entry_32(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
br label %13
13: ; preds = %4
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 0, ptr %5, align 4
br label %155
17: ; preds = %13
%18 = load i32, ptr %7, align 4
%19 = icmp sgt i32 %18, 64
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %23, label %24
23: ; preds = %20, %17
store i32 0, ptr %5, align 4
br label %155
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = call i32 @strlen(ptr noundef %25)
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %7, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %12, align 4
store i32 0, ptr %11, align 4
br label %29
29: ; preds = %147, %24
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp ult i32 %30, %31
br i1 %32, label %33, label %150
33: ; preds = %29
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %11, align 4
%36 = zext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 123
br i1 %40, label %49, label %41
41: ; preds = %33
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %11, align 4
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 125
br i1 %48, label %49, label %50
49: ; preds = %41, %33
br label %146
50: ; preds = %41
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %11, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 32
br i1 %57, label %66, label %58
58: ; preds = %50
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %11, align 4
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 9
br i1 %65, label %66, label %67
66: ; preds = %58, %50
br label %145
67: ; preds = %58
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %11, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 48
br i1 %74, label %75, label %89
75: ; preds = %67
%76 = load i32, ptr %12, align 4
%77 = shl i32 1, %76
%78 = xor i32 %77, -1
%79 = load ptr, ptr %8, align 8
%80 = load i32, ptr %79, align 4
%81 = and i32 %80, %78
store i32 %81, ptr %79, align 4
%82 = load i32, ptr %12, align 4
%83 = shl i32 1, %82
%84 = load ptr, ptr %9, align 8
%85 = load i32, ptr %84, align 4
%86 = or i32 %85, %83
store i32 %86, ptr %84, align 4
%87 = load i32, ptr %12, align 4
%88 = add nsw i32 %87, -1
store i32 %88, ptr %12, align 4
br label %144
89: ; preds = %67
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %11, align 4
%92 = zext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 49
br i1 %96, label %97, label %110
97: ; preds = %89
%98 = load i32, ptr %12, align 4
%99 = shl i32 1, %98
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %100, align 4
%102 = or i32 %101, %99
store i32 %102, ptr %100, align 4
%103 = load i32, ptr %12, align 4
%104 = shl i32 1, %103
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %105, align 4
%107 = or i32 %106, %104
store i32 %107, ptr %105, align 4
%108 = load i32, ptr %12, align 4
%109 = add nsw i32 %108, -1
store i32 %109, ptr %12, align 4
br label %143
110: ; preds = %89
%111 = load ptr, ptr %6, align 8
%112 = load i32, ptr %11, align 4
%113 = zext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 45
br i1 %117, label %126, label %118
118: ; preds = %110
%119 = load ptr, ptr %6, align 8
%120 = load i32, ptr %11, align 4
%121 = zext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %119, i64 %121
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 42
br i1 %125, label %126, label %141
126: ; preds = %118, %110
%127 = load i32, ptr %12, align 4
%128 = shl i32 1, %127
%129 = xor i32 %128, -1
%130 = load ptr, ptr %8, align 8
%131 = load i32, ptr %130, align 4
%132 = and i32 %131, %129
store i32 %132, ptr %130, align 4
%133 = load i32, ptr %12, align 4
%134 = shl i32 1, %133
%135 = xor i32 %134, -1
%136 = load ptr, ptr %9, align 8
%137 = load i32, ptr %136, align 4
%138 = and i32 %137, %135
store i32 %138, ptr %136, align 4
%139 = load i32, ptr %12, align 4
%140 = add nsw i32 %139, -1
store i32 %140, ptr %12, align 4
br label %142
141: ; preds = %118
store i32 0, ptr %5, align 4
br label %155
142: ; preds = %126
br label %143
143: ; preds = %142, %97
br label %144
144: ; preds = %143, %75
br label %145
145: ; preds = %144, %66
br label %146
146: ; preds = %145, %49
br label %147
147: ; preds = %146
%148 = load i32, ptr %11, align 4
%149 = add i32 %148, 1
store i32 %149, ptr %11, align 4
br label %29, !llvm.loop !6
150: ; preds = %29
%151 = load i32, ptr %12, align 4
%152 = icmp ne i32 %151, -1
br i1 %152, label %153, label %154
153: ; preds = %150
store i32 0, ptr %5, align 4
br label %155
154: ; preds = %150
store i32 1, ptr %5, align 4
br label %155
155: ; preds = %16, %23, %141, %153, %154
%156 = load i32, ptr %5, align 4
ret i32 %156
}
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/tmpl_6pqodl.c"
target datalayout = "e-m:e-p270: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 @bit_entry_32(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
br label %13
13: ; preds = %4
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 0, ptr %5, align 4
br label %157
17: ; preds = %13
%18 = load i32, ptr %7, align 4
%19 = icmp sgt i32 %18, 64
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %23, label %24
23: ; preds = %20, %17
store i32 0, ptr %5, align 4
br label %157
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = call i32 @strlen(ptr noundef %25)
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %7, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %12, align 4
store i32 0, ptr %11, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp ult i32 %29, %30
br i1 %31, label %.lr.ph, label %152
.lr.ph: ; preds = %24
br label %32
32: ; preds = %.lr.ph, %146
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %11, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 123
br i1 %39, label %48, label %40
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %11, align 4
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 125
br i1 %47, label %48, label %49
48: ; preds = %40, %32
br label %145
49: ; preds = %40
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %11, align 4
%52 = zext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 32
br i1 %56, label %65, label %57
57: ; preds = %49
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %11, align 4
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 9
br i1 %64, label %65, label %66
65: ; preds = %57, %49
br label %144
66: ; preds = %57
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %11, align 4
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 48
br i1 %73, label %74, label %88
74: ; preds = %66
%75 = load i32, ptr %12, align 4
%76 = shl i32 1, %75
%77 = xor i32 %76, -1
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %78, align 4
%80 = and i32 %79, %77
store i32 %80, ptr %78, align 4
%81 = load i32, ptr %12, align 4
%82 = shl i32 1, %81
%83 = load ptr, ptr %9, align 8
%84 = load i32, ptr %83, align 4
%85 = or i32 %84, %82
store i32 %85, ptr %83, align 4
%86 = load i32, ptr %12, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %12, align 4
br label %143
88: ; preds = %66
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %11, align 4
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 49
br i1 %95, label %96, label %109
96: ; preds = %88
%97 = load i32, ptr %12, align 4
%98 = shl i32 1, %97
%99 = load ptr, ptr %8, align 8
%100 = load i32, ptr %99, align 4
%101 = or i32 %100, %98
store i32 %101, ptr %99, align 4
%102 = load i32, ptr %12, align 4
%103 = shl i32 1, %102
%104 = load ptr, ptr %9, align 8
%105 = load i32, ptr %104, align 4
%106 = or i32 %105, %103
store i32 %106, ptr %104, align 4
%107 = load i32, ptr %12, align 4
%108 = add nsw i32 %107, -1
store i32 %108, ptr %12, align 4
br label %142
109: ; preds = %88
%110 = load ptr, ptr %6, align 8
%111 = load i32, ptr %11, align 4
%112 = zext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %110, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 45
br i1 %116, label %125, label %117
117: ; preds = %109
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %11, align 4
%120 = zext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i8, ptr %121, align 1
%123 = sext i8 %122 to i32
%124 = icmp eq i32 %123, 42
br i1 %124, label %125, label %140
125: ; preds = %117, %109
%126 = load i32, ptr %12, align 4
%127 = shl i32 1, %126
%128 = xor i32 %127, -1
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %129, align 4
%131 = and i32 %130, %128
store i32 %131, ptr %129, align 4
%132 = load i32, ptr %12, align 4
%133 = shl i32 1, %132
%134 = xor i32 %133, -1
%135 = load ptr, ptr %9, align 8
%136 = load i32, ptr %135, align 4
%137 = and i32 %136, %134
store i32 %137, ptr %135, align 4
%138 = load i32, ptr %12, align 4
%139 = add nsw i32 %138, -1
store i32 %139, ptr %12, align 4
br label %141
140: ; preds = %117
store i32 0, ptr %5, align 4
br label %157
141: ; preds = %125
br label %142
142: ; preds = %141, %96
br label %143
143: ; preds = %142, %74
br label %144
144: ; preds = %143, %65
br label %145
145: ; preds = %144, %48
br label %146
146: ; preds = %145
%147 = load i32, ptr %11, align 4
%148 = add i32 %147, 1
store i32 %148, ptr %11, align 4
%149 = load i32, ptr %11, align 4
%150 = load i32, ptr %10, align 4
%151 = icmp ult i32 %149, %150
br i1 %151, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %146
br label %152
152: ; preds = %._crit_edge, %24
%153 = load i32, ptr %12, align 4
%154 = icmp ne i32 %153, -1
br i1 %154, label %155, label %156
155: ; preds = %152
store i32 0, ptr %5, align 4
br label %157
156: ; preds = %152
store i32 1, ptr %5, align 4
br label %157
157: ; preds = %156, %155, %140, %23, %16
%158 = load i32, ptr %5, align 4
ret i32 %158
}
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/tmpnuhiwjb0.c'
source_filename = "/tmp/tmpnuhiwjb0.c"
target datalayout = "e-m:e-p270: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/tmpnuhiwjb0.c"
target datalayout = "e-m:e-p270: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/tmpcrjr93op.c'
source_filename = "/tmp/tmpcrjr93op.c"
target datalayout = "e-m:e-p270: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 @f3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr %4, align 4
switch i32 %5, label %9 [
i32 1, label %6
]
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call ptr @g(ptr noundef %7)
store ptr %8, ptr %2, align 8
br label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @g(ptr noundef %10)
store ptr %11, ptr %2, align 8
br label %12
12: ; preds = %9, %6
%13 = load ptr, ptr %2, align 8
ret ptr %13
}
declare ptr @g(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/tmpcrjr93op.c"
target datalayout = "e-m:e-p270: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 @f3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr %4, align 4
switch i32 %5, label %9 [
i32 1, label %6
]
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call ptr @g(ptr noundef %7)
store ptr %8, ptr %2, align 8
br label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @g(ptr noundef %10)
store ptr %11, ptr %2, align 8
br label %12
12: ; preds = %9, %6
%13 = load ptr, ptr %2, align 8
ret ptr %13
}
declare ptr @g(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/tmpdr9blfoo.c'
source_filename = "/tmp/tmpdr9blfoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %15, %0
%5 = call i32 (...) @fib()
store i32 %5, ptr %2, align 4
%6 = icmp slt i32 %5, 4000000
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = and i32 %8, 1
%10 = icmp ne i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %11, %7
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @fib(...) #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/tmpdr9blfoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @fib()
store i32 %4, ptr %2, align 4
%5 = icmp slt i32 %4, 4000000
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %14
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 1
%9 = icmp ne i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %10, %6
%15 = call i32 (...) @fib()
store i32 %15, ptr %2, align 4
%16 = icmp slt i32 %15, 4000000
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @fib(...) #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/tmpj68bky6f.c'
source_filename = "/tmp/tmpj68bky6f.c"
target datalayout = "e-m:e-p270: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/tmpj68bky6f.c"
target datalayout = "e-m:e-p270: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/tmpdxxwboe3.c'
source_filename = "/tmp/tmpdxxwboe3.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"Usage: %s <infile> \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"could not open input file\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"chgme \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"\0A \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c".byt $%02x\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c", $%02x\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 i64, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 1
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15)
store i32 1, ptr %3, align 4
br label %55
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %7, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %55
25: ; preds = %17
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i64 0, ptr %6, align 8
br label %27
27: ; preds = %25, %49
%28 = load ptr, ptr %7, align 8
%29 = call i32 @fgetc(ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load ptr, ptr %7, align 8
%31 = call i64 @feof(ptr noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
br label %52
34: ; preds = %27
%35 = load i64, ptr %6, align 8
%36 = urem i64 %35, 8
%37 = icmp ne i64 %36, 0
br i1 %37, label %46, label %38
38: ; preds = %34
%39 = load i64, ptr %6, align 8
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %43
43: ; preds = %41, %38
%44 = load i32, ptr %8, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %44)
br label %49
46: ; preds = %34
%47 = load i32, ptr %8, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %47)
br label %49
49: ; preds = %46, %43
%50 = load i64, ptr %6, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %6, align 8
br label %27
52: ; preds = %33
%53 = load ptr, ptr %7, align 8
%54 = call i32 @fclose(ptr noundef %53)
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %52, %23, %11
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgetc(ptr noundef) #1
declare i64 @feof(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/tmpdxxwboe3.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"Usage: %s <infile> \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"could not open input file\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"chgme \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"\0A \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c".byt $%02x\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c", $%02x\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 i64, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 1
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15)
store i32 1, ptr %3, align 4
br label %59
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %7, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %59
25: ; preds = %17
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i64 0, ptr %6, align 8
%27 = load ptr, ptr %7, align 8
%28 = call i32 @fgetc(ptr noundef %27)
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i64 @feof(ptr noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %.lr.ph
.lr.ph: ; preds = %25
br label %33
._crit_edge: ; preds = %48
br label %32
32: ; preds = %._crit_edge, %25
br label %56
33: ; preds = %.lr.ph, %48
%34 = load i64, ptr %6, align 8
%35 = urem i64 %34, 8
%36 = icmp ne i64 %35, 0
br i1 %36, label %45, label %37
37: ; preds = %33
%38 = load i64, ptr %6, align 8
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %42
42: ; preds = %40, %37
%43 = load i32, ptr %8, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %43)
br label %48
45: ; preds = %33
%46 = load i32, ptr %8, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %46)
br label %48
48: ; preds = %45, %42
%49 = load i64, ptr %6, align 8
%50 = add i64 %49, 1
store i64 %50, ptr %6, align 8
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fgetc(ptr noundef %51)
store i32 %52, ptr %8, align 4
%53 = load ptr, ptr %7, align 8
%54 = call i64 @feof(ptr noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %._crit_edge, label %33
56: ; preds = %32
%57 = load ptr, ptr %7, align 8
%58 = call i32 @fclose(ptr noundef %57)
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %56, %23, %11
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgetc(ptr noundef) #1
declare i64 @feof(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/tmpx1a3wl71.c'
source_filename = "/tmp/tmpx1a3wl71.c"
target datalayout = "e-m:e-p270: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 @func_lerp(i32 noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca i32, align 4
%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 [4 x double], align 16
%14 = alloca [2 x double], align 16
store i32 %0, ptr %6, align 4
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
%15 = load double, ptr %9, align 8
%16 = call i64 @floor(double noundef %15)
%17 = trunc i64 %16 to i32
store i32 %17, ptr %11, align 4
%18 = load double, ptr %10, align 8
%19 = call i64 @floor(double noundef %18)
%20 = trunc i64 %19 to i32
store i32 %20, ptr %12, align 4
%21 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %6, align 4
%25 = mul nsw i32 %23, %24
%26 = load i32, ptr %11, align 4
%27 = add nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %22, i64 %28
%30 = load double, ptr %29, align 8
store double %30, ptr %21, align 8
%31 = getelementptr inbounds double, ptr %21, i64 1
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %6, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %32, i64 %39
%41 = load double, ptr %40, align 8
store double %41, ptr %31, align 8
%42 = getelementptr inbounds double, ptr %31, i64 1
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
%46 = load i32, ptr %6, align 4
%47 = mul nsw i32 %45, %46
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %43, i64 %50
%52 = load double, ptr %51, align 8
store double %52, ptr %42, align 8
%53 = getelementptr inbounds double, ptr %42, i64 1
%54 = load ptr, ptr %8, align 8
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
%57 = load i32, ptr %6, align 4
%58 = mul nsw i32 %56, %57
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %58, %59
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %54, i64 %62
%64 = load double, ptr %63, align 8
store double %64, ptr %53, align 8
%65 = getelementptr inbounds [2 x double], ptr %14, i64 0, i64 0
%66 = load double, ptr %9, align 8
%67 = load i32, ptr %11, align 4
%68 = sitofp i32 %67 to double
%69 = fsub double %66, %68
store double %69, ptr %65, align 8
%70 = getelementptr inbounds double, ptr %65, i64 1
%71 = load double, ptr %10, align 8
%72 = load i32, ptr %12, align 4
%73 = sitofp i32 %72 to double
%74 = fsub double %71, %73
store double %74, ptr %70, align 8
%75 = getelementptr inbounds [2 x double], ptr %14, i64 0, i64 0
%76 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%77 = call double @nlerp2(ptr noundef %75, ptr noundef %76)
ret double %77
}
declare i64 @floor(double noundef) #1
declare double @nlerp2(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/tmpx1a3wl71.c"
target datalayout = "e-m:e-p270: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 @func_lerp(i32 noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca i32, align 4
%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 [4 x double], align 16
%14 = alloca [2 x double], align 16
store i32 %0, ptr %6, align 4
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
%15 = load double, ptr %9, align 8
%16 = call i64 @floor(double noundef %15)
%17 = trunc i64 %16 to i32
store i32 %17, ptr %11, align 4
%18 = load double, ptr %10, align 8
%19 = call i64 @floor(double noundef %18)
%20 = trunc i64 %19 to i32
store i32 %20, ptr %12, align 4
%21 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %6, align 4
%25 = mul nsw i32 %23, %24
%26 = load i32, ptr %11, align 4
%27 = add nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %22, i64 %28
%30 = load double, ptr %29, align 8
store double %30, ptr %21, align 8
%31 = getelementptr inbounds double, ptr %21, i64 1
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %6, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %32, i64 %39
%41 = load double, ptr %40, align 8
store double %41, ptr %31, align 8
%42 = getelementptr inbounds double, ptr %31, i64 1
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
%46 = load i32, ptr %6, align 4
%47 = mul nsw i32 %45, %46
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %43, i64 %50
%52 = load double, ptr %51, align 8
store double %52, ptr %42, align 8
%53 = getelementptr inbounds double, ptr %42, i64 1
%54 = load ptr, ptr %8, align 8
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
%57 = load i32, ptr %6, align 4
%58 = mul nsw i32 %56, %57
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %58, %59
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %54, i64 %62
%64 = load double, ptr %63, align 8
store double %64, ptr %53, align 8
%65 = getelementptr inbounds [2 x double], ptr %14, i64 0, i64 0
%66 = load double, ptr %9, align 8
%67 = load i32, ptr %11, align 4
%68 = sitofp i32 %67 to double
%69 = fsub double %66, %68
store double %69, ptr %65, align 8
%70 = getelementptr inbounds double, ptr %65, i64 1
%71 = load double, ptr %10, align 8
%72 = load i32, ptr %12, align 4
%73 = sitofp i32 %72 to double
%74 = fsub double %71, %73
store double %74, ptr %70, align 8
%75 = getelementptr inbounds [2 x double], ptr %14, i64 0, i64 0
%76 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%77 = call double @nlerp2(ptr noundef %75, ptr noundef %76)
ret double %77
}
declare i64 @floor(double noundef) #1
declare double @nlerp2(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/tmpmh4gcja_.c'
source_filename = "/tmp/tmpmh4gcja_.c"
target datalayout = "e-m:e-p270: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 [110 x i8] c"Usage Server :\0A./print_demon -t tubeServer -c fichierConfiguration\0A(L'ordre des options n'est pas important)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usageServer() #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/tmpmh4gcja_.c"
target datalayout = "e-m:e-p270: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 [110 x i8] c"Usage Server :\0A./print_demon -t tubeServer -c fichierConfiguration\0A(L'ordre des options n'est pas important)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usageServer() #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/tmpq9qid6n3.c'
source_filename = "/tmp/tmpq9qid6n3.c"
target datalayout = "e-m:e-p270: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 @gamma0(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 @rotr(i32 noundef %3, i32 noundef 7)
%5 = load i32, ptr %2, align 4
%6 = call i32 @rotr(i32 noundef %5, i32 noundef 18)
%7 = xor i32 %4, %6
%8 = load i32, ptr %2, align 4
%9 = ashr i32 %8, 3
%10 = xor i32 %7, %9
ret i32 %10
}
declare i32 @rotr(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/tmpq9qid6n3.c"
target datalayout = "e-m:e-p270: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 @gamma0(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 @rotr(i32 noundef %3, i32 noundef 7)
%5 = load i32, ptr %2, align 4
%6 = call i32 @rotr(i32 noundef %5, i32 noundef 18)
%7 = xor i32 %4, %6
%8 = load i32, ptr %2, align 4
%9 = ashr i32 %8, 3
%10 = xor i32 %7, %9
ret i32 %10
}
declare i32 @rotr(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/tmpyc8ijn7f.c'
source_filename = "/tmp/tmpyc8ijn7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @Factorial(i32 noundef 10)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @Factorial(i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyc8ijn7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @Factorial(i32 noundef 10)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @Factorial(i32 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"}
|
; ModuleID = '/tmp/tmpjm6g8uhz.c'
source_filename = "/tmp/tmpjm6g8uhz.c"
target datalayout = "e-m:e-p270: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/tmpjm6g8uhz.c"
target datalayout = "e-m:e-p270: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/tmp3hcbzzoj.c'
source_filename = "/tmp/tmp3hcbzzoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"/proc/self/path/a.out\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"readlink\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getProgramPath() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr null, ptr %1, align 8
store i64 128, ptr %2, align 8
store ptr null, ptr %3, align 8
br label %6
6: ; preds = %0, %45
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %2, align 8
%9 = shl i64 %8, 1
store i64 %9, ptr %2, align 8
%10 = call ptr @realloc(ptr noundef %7, i64 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %6
%14 = call i32 (...) @logMallocError()
br label %46
15: ; preds = %6
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %2, align 8
%19 = call i32 @readlink(ptr noundef @.str, ptr noundef %17, i64 noundef %18)
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %29
22: ; preds = %15
%23 = load i64, ptr @errno, align 8
%24 = load i64, ptr @ENOENT, align 8
%25 = icmp ne i64 %23, %24
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 @logSystemError(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %22
br label %46
29: ; preds = %15
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %2, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %34, label %45
34: ; preds = %29
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 0, ptr %38, align 1
%39 = load ptr, ptr %3, align 8
%40 = call ptr @strdup(ptr noundef %39)
store ptr %40, ptr %1, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %44, label %42
42: ; preds = %34
%43 = call i32 (...) @logMallocError()
br label %44
44: ; preds = %42, %34
br label %46
45: ; preds = %29
br label %6
46: ; preds = %44, %28, %13
%47 = load ptr, ptr %3, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = load ptr, ptr %3, align 8
%51 = call i32 @free(ptr noundef %50)
br label %52
52: ; preds = %49, %46
%53 = load ptr, ptr %1, align 8
ret ptr %53
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @logMallocError(...) #1
declare i32 @readlink(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @logSystemError(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hcbzzoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"/proc/self/path/a.out\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"readlink\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getProgramPath() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr null, ptr %1, align 8
store i64 128, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %2, align 8
%8 = shl i64 %7, 1
store i64 %8, ptr %2, align 8
%9 = call ptr @realloc(ptr noundef %6, i64 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %21
12: ; preds = %35
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %2, align 8
%15 = shl i64 %14, 1
store i64 %15, ptr %2, align 8
%16 = call ptr @realloc(ptr noundef %13, i64 noundef %15)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %._crit_edge
._crit_edge: ; preds = %12
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 (...) @logMallocError()
br label %51
21: ; preds = %.lr.ph, %12
%22 = load ptr, ptr %4, align 8
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %2, align 8
%25 = call i32 @readlink(ptr noundef @.str, ptr noundef %23, i64 noundef %24)
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %35
28: ; preds = %21
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @ENOENT, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = call i32 @logSystemError(ptr noundef @.str.1)
br label %34
34: ; preds = %32, %28
br label %51
35: ; preds = %21
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = load i64, ptr %2, align 8
%39 = icmp ult i64 %37, %38
br i1 %39, label %40, label %12
40: ; preds = %35
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %3, align 8
%46 = call ptr @strdup(ptr noundef %45)
store ptr %46, ptr %1, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %50, label %48
48: ; preds = %40
%49 = call i32 (...) @logMallocError()
br label %50
50: ; preds = %48, %40
br label %51
51: ; preds = %50, %34, %19
%52 = load ptr, ptr %3, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load ptr, ptr %3, align 8
%56 = call i32 @free(ptr noundef %55)
br label %57
57: ; preds = %54, %51
%58 = load ptr, ptr %1, align 8
ret ptr %58
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @logMallocError(...) #1
declare i32 @readlink(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @logSystemError(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2nwpstge.c'
source_filename = "/tmp/tmp2nwpstge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @findfib(i32 noundef 10)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @findfib(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/tmp2nwpstge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @findfib(i32 noundef 10)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @findfib(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/tmp2602vl15.c'
source_filename = "/tmp/tmp2602vl15.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @removeRepeat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [512 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 104
br i1 %12, label %13, label %38
13: ; preds = %2
store i32 0, ptr %5, align 4
%14 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str)
%16 = load ptr, ptr %4, align 8
%17 = call ptr @strtok(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %30, %13
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %34
21: ; preds = %18
%22 = load i32, ptr %5, align 4
%23 = icmp sgt i32 %22, 1
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.1)
%27 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%28 = load ptr, ptr %7, align 8
%29 = call i32 @strcat(ptr noundef %27, ptr noundef %28)
br label %30
30: ; preds = %24, %21
%31 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %31, ptr %7, align 8
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %18, !llvm.loop !6
34: ; preds = %18
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
br label %38
38: ; preds = %34, %2
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2602vl15.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @removeRepeat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [512 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 104
br i1 %12, label %13, label %39
13: ; preds = %2
store i32 0, ptr %5, align 4
%14 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str)
%16 = load ptr, ptr %4, align 8
%17 = call ptr @strtok(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %35
.lr.ph: ; preds = %13
br label %20
20: ; preds = %.lr.ph, %29
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str.1)
%26 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%27 = load ptr, ptr %7, align 8
%28 = call i32 @strcat(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %23, %20
%30 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %30, ptr %7, align 8
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load ptr, ptr %7, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %13
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37)
br label %39
39: ; preds = %35, %2
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprrrsec_2.c'
source_filename = "/tmp/tmprrrsec_2.c"
target datalayout = "e-m:e-p270: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"BigString\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Gst\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 ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strcasestr(ptr noundef %4, ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 2
%9 = icmp ne ptr %6, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
declare ptr @strcasestr(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/tmprrrsec_2.c"
target datalayout = "e-m:e-p270: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"BigString\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Gst\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 ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strcasestr(ptr noundef %4, ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 2
%9 = icmp ne ptr %6, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
declare ptr @strcasestr(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/tmpkb2alle7.c'
source_filename = "/tmp/tmpkb2alle7.c"
target datalayout = "e-m:e-p270: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
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @f3tensor(i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 64, i32 noundef 1, i32 noundef 16)
store ptr %5, ptr %3, align 8
%6 = call ptr @matrix(i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 128)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
call void @rlft3(ptr noundef %7, ptr noundef %8, i64 noundef 32, i64 noundef 64, i64 noundef 16, i32 noundef 1)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @free_matrix(ptr noundef %9, i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 128)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @free_f3tensor(ptr noundef %11, i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 64, i32 noundef 1, i32 noundef 16)
ret i32 0
}
declare ptr @f3tensor(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare void @rlft3(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1
declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free_f3tensor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkb2alle7.c"
target datalayout = "e-m:e-p270: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
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @f3tensor(i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 64, i32 noundef 1, i32 noundef 16)
store ptr %5, ptr %3, align 8
%6 = call ptr @matrix(i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 128)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
call void @rlft3(ptr noundef %7, ptr noundef %8, i64 noundef 32, i64 noundef 64, i64 noundef 16, i32 noundef 1)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @free_matrix(ptr noundef %9, i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 128)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @free_f3tensor(ptr noundef %11, i32 noundef 1, i32 noundef 32, i32 noundef 1, i32 noundef 64, i32 noundef 1, i32 noundef 16)
ret i32 0
}
declare ptr @f3tensor(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare void @rlft3(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1
declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free_f3tensor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps7qrlzhy.c'
source_filename = "/tmp/tmps7qrlzhy.c"
target datalayout = "e-m:e-p270: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 @sc_check(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
store ptr %0, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @load_4(ptr noundef %11)
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = call i32 @load_4(ptr noundef %14)
store i32 %15, ptr %4, align 4
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = call i32 @load_4(ptr noundef %17)
store i32 %18, ptr %5, align 4
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 12
%21 = call i32 @load_4(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 16
%24 = call i32 @load_4(ptr noundef %23)
store i32 %24, ptr %7, align 4
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 20
%27 = call i32 @load_4(ptr noundef %26)
store i32 %27, ptr %8, align 4
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 24
%30 = call i32 @load_4(ptr noundef %29)
store i32 %30, ptr %9, align 4
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 28
%33 = call i32 @load_4(ptr noundef %32)
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 1559614444, %34
%36 = call i32 @signum(i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 1477600026, %37
%39 = call i32 @signum(i32 noundef %38)
%40 = shl i32 %39, 1
%41 = add nsw i32 %36, %40
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = sub nsw i64 2734136534, %43
%45 = trunc i64 %44 to i32
%46 = call i32 @signum(i32 noundef %45)
%47 = shl i32 %46, 2
%48 = add nsw i32 %41, %47
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 350157278, %49
%51 = call i32 @signum(i32 noundef %50)
%52 = shl i32 %51, 3
%53 = add nsw i32 %48, %52
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 0, %54
%56 = call i32 @signum(i32 noundef %55)
%57 = shl i32 %56, 4
%58 = add nsw i32 %53, %57
%59 = load i32, ptr %8, align 4
%60 = sub nsw i32 0, %59
%61 = call i32 @signum(i32 noundef %60)
%62 = shl i32 %61, 5
%63 = add nsw i32 %58, %62
%64 = load i32, ptr %9, align 4
%65 = sub nsw i32 0, %64
%66 = call i32 @signum(i32 noundef %65)
%67 = shl i32 %66, 6
%68 = add nsw i32 %63, %67
%69 = load i32, ptr %10, align 4
%70 = sub nsw i32 268435456, %69
%71 = call i32 @signum(i32 noundef %70)
%72 = shl i32 %71, 7
%73 = add nsw i32 %68, %72
%74 = ashr i32 %73, 8
ret i32 %74
}
declare i32 @load_4(ptr noundef) #1
declare i32 @signum(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/tmps7qrlzhy.c"
target datalayout = "e-m:e-p270: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 @sc_check(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
store ptr %0, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @load_4(ptr noundef %11)
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = call i32 @load_4(ptr noundef %14)
store i32 %15, ptr %4, align 4
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = call i32 @load_4(ptr noundef %17)
store i32 %18, ptr %5, align 4
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 12
%21 = call i32 @load_4(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 16
%24 = call i32 @load_4(ptr noundef %23)
store i32 %24, ptr %7, align 4
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 20
%27 = call i32 @load_4(ptr noundef %26)
store i32 %27, ptr %8, align 4
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 24
%30 = call i32 @load_4(ptr noundef %29)
store i32 %30, ptr %9, align 4
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 28
%33 = call i32 @load_4(ptr noundef %32)
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 1559614444, %34
%36 = call i32 @signum(i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 1477600026, %37
%39 = call i32 @signum(i32 noundef %38)
%40 = shl i32 %39, 1
%41 = add nsw i32 %36, %40
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = sub nsw i64 2734136534, %43
%45 = trunc i64 %44 to i32
%46 = call i32 @signum(i32 noundef %45)
%47 = shl i32 %46, 2
%48 = add nsw i32 %41, %47
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 350157278, %49
%51 = call i32 @signum(i32 noundef %50)
%52 = shl i32 %51, 3
%53 = add nsw i32 %48, %52
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 0, %54
%56 = call i32 @signum(i32 noundef %55)
%57 = shl i32 %56, 4
%58 = add nsw i32 %53, %57
%59 = load i32, ptr %8, align 4
%60 = sub nsw i32 0, %59
%61 = call i32 @signum(i32 noundef %60)
%62 = shl i32 %61, 5
%63 = add nsw i32 %58, %62
%64 = load i32, ptr %9, align 4
%65 = sub nsw i32 0, %64
%66 = call i32 @signum(i32 noundef %65)
%67 = shl i32 %66, 6
%68 = add nsw i32 %63, %67
%69 = load i32, ptr %10, align 4
%70 = sub nsw i32 268435456, %69
%71 = call i32 @signum(i32 noundef %70)
%72 = shl i32 %71, 7
%73 = add nsw i32 %68, %72
%74 = ashr i32 %73, 8
ret i32 %74
}
declare i32 @load_4(ptr noundef) #1
declare i32 @signum(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/tmp3t6rcemm.c'
source_filename = "/tmp/tmp3t6rcemm.c"
target datalayout = "e-m:e-p270: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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"GO\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"STAY\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 ptr, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %7, ptr %3, align 8
%8 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 100, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 100, ptr noundef %12)
%14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%15 = call i64 @hash(ptr noundef %14)
%16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%17 = call i64 @hash(ptr noundef %16)
%18 = icmp eq i64 %15, %17
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = load ptr, ptr %3, align 8
%21 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.4)
br label %25
22: ; preds = %0
%23 = load ptr, ptr %3, align 8
%24 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str.5)
br label %25
25: ; preds = %22, %19
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @hash(ptr noundef) #1
declare i32 @fprintf(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/tmp3t6rcemm.c"
target datalayout = "e-m:e-p270: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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"GO\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"STAY\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 ptr, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %7, ptr %3, align 8
%8 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 100, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 100, ptr noundef %12)
%14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%15 = call i64 @hash(ptr noundef %14)
%16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%17 = call i64 @hash(ptr noundef %16)
%18 = icmp eq i64 %15, %17
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = load ptr, ptr %3, align 8
%21 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.4)
br label %25
22: ; preds = %0
%23 = load ptr, ptr %3, align 8
%24 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str.5)
br label %25
25: ; preds = %22, %19
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @hash(ptr noundef) #1
declare i32 @fprintf(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/tmp_zhihfaf.c'
source_filename = "/tmp/tmp_zhihfaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GetUnZipLocalVersion.UnZipVersionLocal = internal global [50 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [8 x i8] c"[%s %s]\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"10:34:08\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetUnZipLocalVersion() #0 {
%1 = call i32 @memset(ptr noundef @GetUnZipLocalVersion.UnZipVersionLocal, i32 noundef 0, i32 noundef 50)
%2 = call i32 @sprintf(ptr noundef @GetUnZipLocalVersion.UnZipVersionLocal, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
ret ptr @GetUnZipLocalVersion.UnZipVersionLocal
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(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/tmp_zhihfaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GetUnZipLocalVersion.UnZipVersionLocal = internal global [50 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [8 x i8] c"[%s %s]\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"10:34:08\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetUnZipLocalVersion() #0 {
%1 = call i32 @memset(ptr noundef @GetUnZipLocalVersion.UnZipVersionLocal, i32 noundef 0, i32 noundef 50)
%2 = call i32 @sprintf(ptr noundef @GetUnZipLocalVersion.UnZipVersionLocal, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
ret ptr @GetUnZipLocalVersion.UnZipVersionLocal
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(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/tmpnujcp5xp.c'
source_filename = "/tmp/tmpnujcp5xp.c"
target datalayout = "e-m:e-p270: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 @TimerHardware_StopTimer() #0 {
%1 = call i32 @intervalTimer_stop(i32 noundef 0)
ret void
}
declare i32 @intervalTimer_stop(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/tmpnujcp5xp.c"
target datalayout = "e-m:e-p270: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 @TimerHardware_StopTimer() #0 {
%1 = call i32 @intervalTimer_stop(i32 noundef 0)
ret void
}
declare i32 @intervalTimer_stop(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/tmpdyev_fu6.c'
source_filename = "/tmp/tmpdyev_fu6.c"
target datalayout = "e-m:e-p270: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/tmpdyev_fu6.c"
target datalayout = "e-m:e-p270: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/tmp3gtdbm2c.c'
source_filename = "/tmp/tmp3gtdbm2c.c"
target datalayout = "e-m:e-p270: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"Unavailable\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @find_driver_info(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %12, align 4
%15 = call i32 @strncpy(ptr noundef %13, ptr noundef @.str, i32 noundef %14)
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %12, align 4
%18 = call i32 @strncpy(ptr noundef %16, ptr noundef @.str, i32 noundef %17)
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %12, align 4
%21 = call i32 @strncpy(ptr noundef %19, ptr noundef @.str, i32 noundef %20)
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr %12, align 4
%24 = call i32 @strncpy(ptr noundef %22, ptr noundef @.str, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %12, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
store i8 0, ptr %29, align 1
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %12, align 4
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
store i8 0, ptr %34, align 1
%35 = load ptr, ptr %10, align 8
%36 = load i32, ptr %12, align 4
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 0, ptr %44, align 1
ret void
}
declare i32 @strncpy(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/tmp3gtdbm2c.c"
target datalayout = "e-m:e-p270: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"Unavailable\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @find_driver_info(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %12, align 4
%15 = call i32 @strncpy(ptr noundef %13, ptr noundef @.str, i32 noundef %14)
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %12, align 4
%18 = call i32 @strncpy(ptr noundef %16, ptr noundef @.str, i32 noundef %17)
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %12, align 4
%21 = call i32 @strncpy(ptr noundef %19, ptr noundef @.str, i32 noundef %20)
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr %12, align 4
%24 = call i32 @strncpy(ptr noundef %22, ptr noundef @.str, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %12, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
store i8 0, ptr %29, align 1
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %12, align 4
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
store i8 0, ptr %34, align 1
%35 = load ptr, ptr %10, align 8
%36 = load i32, ptr %12, align 4
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 0, ptr %44, align 1
ret void
}
declare i32 @strncpy(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/tmp6etm4x8v.c'
source_filename = "/tmp/tmp6etm4x8v.c"
target datalayout = "e-m:e-p270: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"\0A\0A\0A\0A\0A\0A\0A\0A\0AOl\C3\A1 Mundo, C!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6etm4x8v.c"
target datalayout = "e-m:e-p270: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"\0A\0A\0A\0A\0A\0A\0A\0A\0AOl\C3\A1 Mundo, C!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpre_697ji.c'
source_filename = "/tmp/tmpre_697ji.c"
target datalayout = "e-m:e-p270: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 @reverseString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %14, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %23
14: ; preds = %10
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @swap(ptr noundef %15, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %5, align 4
br label %10, !llvm.loop !6
23: ; preds = %10
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @swap(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/tmpre_697ji.c"
target datalayout = "e-m:e-p270: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 @reverseString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %13
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @swap(ptr noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %25
25: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @swap(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/tmp2rek0g0j.c'
source_filename = "/tmp/tmp2rek0g0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GETVAL = dso_local global i32 0, align 4
@errno = 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/tmp2rek0g0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GETVAL = dso_local global i32 0, align 4
@errno = 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/tmpmk435vxr.c'
source_filename = "/tmp/tmpmk435vxr.c"
target datalayout = "e-m:e-p270: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.timespec = type { i64, ptr }
@.str = private unnamed_addr constant [47 x i8] c"unexpected error: sem_timedwait 11-1: sem_init\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"unexpected error: sem_timedwait 11-1: sem_timedwait\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"unexpected error: sem_timedwait 11-1: sem_getvalue\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"TEST PASSED\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"TEST FAILED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca [2 x %struct.timespec], align 16
%4 = alloca [2 x i32], align 4
%5 = alloca [2 x i32], align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %100, %0
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %103
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @sem_init(ptr noundef %13, i32 noundef 0, i32 noundef 1)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 @perror(ptr noundef @.str)
store i32 2, ptr %1, align 4
br label %103
18: ; preds = %10
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %32
21: ; preds = %18
%22 = call ptr @time(ptr noundef null)
%23 = getelementptr i8, ptr %22, i64 2
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %25
%27 = getelementptr inbounds %struct.timespec, ptr %26, i32 0, i32 1
store ptr %23, ptr %27, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %29
%31 = getelementptr inbounds %struct.timespec, ptr %30, i32 0, i32 0
store i64 0, ptr %31, align 16
br label %47
32: ; preds = %18
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %46
35: ; preds = %32
%36 = call ptr @time(ptr noundef null)
%37 = getelementptr i8, ptr %36, i64 -2
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %39
%41 = getelementptr inbounds %struct.timespec, ptr %40, i32 0, i32 1
store ptr %37, ptr %41, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %43
%45 = getelementptr inbounds %struct.timespec, ptr %44, i32 0, i32 0
store i64 0, ptr %45, align 16
br label %46
46: ; preds = %35, %32
br label %47
47: ; preds = %46, %21
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %49
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %52
%54 = call i32 @sem_timedwait(ptr noundef %50, ptr noundef %53)
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %56
store i32 %54, ptr %57, align 4
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %65
63: ; preds = %47
%64 = call i32 @perror(ptr noundef @.str.1)
store i32 2, ptr %1, align 4
br label %103
65: ; preds = %47
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %67
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 %70
%72 = call i32 @sem_getvalue(ptr noundef %68, ptr noundef %71)
%73 = icmp eq i32 %72, -1
br i1 %73, label %74, label %76
74: ; preds = %65
%75 = call i32 @perror(ptr noundef @.str.2)
store i32 2, ptr %1, align 4
br label %103
76: ; preds = %65
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 %78
%80 = load i32, ptr %79, align 4
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %94
82: ; preds = %76
%83 = load i32, ptr %6, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %94
88: ; preds = %82
%89 = call i32 @puts(ptr noundef @.str.3)
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %91
%93 = call i32 @sem_destroy(ptr noundef %92)
store i32 0, ptr %1, align 4
br label %103
94: ; preds = %82, %76
%95 = call i32 @puts(ptr noundef @.str.4)
%96 = load i32, ptr %6, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %97
%99 = call i32 @sem_destroy(ptr noundef %98)
store i32 1, ptr %1, align 4
br label %103
100: ; No predecessors!
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
br label %7, !llvm.loop !6
103: ; preds = %16, %63, %74, %88, %94, %7
%104 = load i32, ptr %1, align 4
ret i32 %104
}
declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @time(ptr noundef) #1
declare i32 @sem_timedwait(ptr noundef, ptr noundef) #1
declare i32 @sem_getvalue(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @sem_destroy(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/tmpmk435vxr.c"
target datalayout = "e-m:e-p270: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.timespec = type { i64, ptr }
@.str = private unnamed_addr constant [47 x i8] c"unexpected error: sem_timedwait 11-1: sem_init\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"unexpected error: sem_timedwait 11-1: sem_timedwait\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"unexpected error: sem_timedwait 11-1: sem_getvalue\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"TEST PASSED\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"TEST FAILED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca [2 x %struct.timespec], align 16
%4 = alloca [2 x i32], align 4
%5 = alloca [2 x i32], align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %100, %0
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %103
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @sem_init(ptr noundef %13, i32 noundef 0, i32 noundef 1)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 @perror(ptr noundef @.str)
store i32 2, ptr %1, align 4
br label %103
18: ; preds = %10
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %32
21: ; preds = %18
%22 = call ptr @time(ptr noundef null)
%23 = getelementptr i8, ptr %22, i64 2
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %25
%27 = getelementptr inbounds %struct.timespec, ptr %26, i32 0, i32 1
store ptr %23, ptr %27, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %29
%31 = getelementptr inbounds %struct.timespec, ptr %30, i32 0, i32 0
store i64 0, ptr %31, align 16
br label %47
32: ; preds = %18
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %46
35: ; preds = %32
%36 = call ptr @time(ptr noundef null)
%37 = getelementptr i8, ptr %36, i64 -2
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %39
%41 = getelementptr inbounds %struct.timespec, ptr %40, i32 0, i32 1
store ptr %37, ptr %41, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %43
%45 = getelementptr inbounds %struct.timespec, ptr %44, i32 0, i32 0
store i64 0, ptr %45, align 16
br label %46
46: ; preds = %35, %32
br label %47
47: ; preds = %46, %21
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %49
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [2 x %struct.timespec], ptr %3, i64 0, i64 %52
%54 = call i32 @sem_timedwait(ptr noundef %50, ptr noundef %53)
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %56
store i32 %54, ptr %57, align 4
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %65
63: ; preds = %47
%64 = call i32 @perror(ptr noundef @.str.1)
store i32 2, ptr %1, align 4
br label %103
65: ; preds = %47
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %67
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 %70
%72 = call i32 @sem_getvalue(ptr noundef %68, ptr noundef %71)
%73 = icmp eq i32 %72, -1
br i1 %73, label %74, label %76
74: ; preds = %65
%75 = call i32 @perror(ptr noundef @.str.2)
store i32 2, ptr %1, align 4
br label %103
76: ; preds = %65
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 %78
%80 = load i32, ptr %79, align 4
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %94
82: ; preds = %76
%83 = load i32, ptr %6, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %94
88: ; preds = %82
%89 = call i32 @puts(ptr noundef @.str.3)
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %91
%93 = call i32 @sem_destroy(ptr noundef %92)
store i32 0, ptr %1, align 4
br label %103
94: ; preds = %82, %76
%95 = call i32 @puts(ptr noundef @.str.4)
%96 = load i32, ptr %6, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 %97
%99 = call i32 @sem_destroy(ptr noundef %98)
store i32 1, ptr %1, align 4
br label %103
100: ; No predecessors!
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
br label %7, !llvm.loop !6
103: ; preds = %94, %88, %74, %63, %16, %7
%104 = load i32, ptr %1, align 4
ret i32 %104
}
declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @time(ptr noundef) #1
declare i32 @sem_timedwait(ptr noundef, ptr noundef) #1
declare i32 @sem_getvalue(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @sem_destroy(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/tmp9af3sb_d.c'
source_filename = "/tmp/tmp9af3sb_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"parent %u: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @getpgrp()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @getpid(...) #1
declare i32 @getpgrp(...) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9af3sb_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"parent %u: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @getpgrp()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @getpid(...) #1
declare i32 @getpgrp(...) #1
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"}
|
; ModuleID = '/tmp/tmpdz0tba27.c'
source_filename = "/tmp/tmpdz0tba27.c"
target datalayout = "e-m:e-p270: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 @fgmvwrite_faceids_fromfile_(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 @fortchartoc(ptr noundef %3)
%5 = call i32 @gmvwrite_faceids_fromfile(i32 noundef %4)
ret void
}
declare i32 @gmvwrite_faceids_fromfile(i32 noundef) #1
declare i32 @fortchartoc(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/tmpdz0tba27.c"
target datalayout = "e-m:e-p270: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 @fgmvwrite_faceids_fromfile_(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 @fortchartoc(ptr noundef %3)
%5 = call i32 @gmvwrite_faceids_fromfile(i32 noundef %4)
ret void
}
declare i32 @gmvwrite_faceids_fromfile(i32 noundef) #1
declare i32 @fortchartoc(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/tmp1vuxrc2_.c'
source_filename = "/tmp/tmp1vuxrc2_.c"
target datalayout = "e-m:e-p270: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 @CT_POLICY_EVAL_CTX_new() #0 {
%1 = call ptr @CT_POLICY_EVAL_CTX_new_ex(ptr noundef null, ptr noundef null)
ret ptr %1
}
declare ptr @CT_POLICY_EVAL_CTX_new_ex(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/tmp1vuxrc2_.c"
target datalayout = "e-m:e-p270: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 @CT_POLICY_EVAL_CTX_new() #0 {
%1 = call ptr @CT_POLICY_EVAL_CTX_new_ex(ptr noundef null, ptr noundef null)
ret ptr %1
}
declare ptr @CT_POLICY_EVAL_CTX_new_ex(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/tmpszt2l2o5.c'
source_filename = "/tmp/tmpszt2l2o5.c"
target datalayout = "e-m:e-p270: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/tmpszt2l2o5.c"
target datalayout = "e-m:e-p270: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/tmpuayf_gyb.c'
source_filename = "/tmp/tmpuayf_gyb.c"
target datalayout = "e-m:e-p270: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/tmpuayf_gyb.c"
target datalayout = "e-m:e-p270: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/tmpb83y31o8.c'
source_filename = "/tmp/tmpb83y31o8.c"
target datalayout = "e-m:e-p270: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 @__aeabi_memset8_impl(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = load i64, ptr %5, align 8
%10 = call i32 @memset(ptr noundef %7, i32 noundef %8, i64 noundef %9)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb83y31o8.c"
target datalayout = "e-m:e-p270: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 @__aeabi_memset8_impl(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = load i64, ptr %5, align 8
%10 = call i32 @memset(ptr noundef %7, i32 noundef %8, i64 noundef %9)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoauhfhir.c'
source_filename = "/tmp/tmpoauhfhir.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr, i32 }
%struct.sockaddr_storage = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"usage: PORT PROBABILITY\0A\00", align 1
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Receiver: socket\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Receiver: bind\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Receiver: failed to bind socket\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Receiver: waiting to recvfrom...\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"receiver: good id, message: %s\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"receiver: sendto\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"receiver: Out-of-order message: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.addrinfo, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_storage, align 4
%14 = alloca [261 x i8], align 16
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [261 x i8], align 16
%19 = 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 0, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %20, 3
br i1 %21, label %22, label %26
22: ; preds = %2
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %16, align 4
%31 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 40)
%32 = load i32, ptr @AF_UNSPEC, align 4
%33 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4
store i32 %32, ptr %33, align 8
%34 = load i32, ptr @SOCK_DGRAM, align 4
%35 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3
store i32 %34, ptr %35, align 4
%36 = load i32, ptr @AI_PASSIVE, align 4
%37 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 6
store i32 %36, ptr %37, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = load ptr, ptr %39, align 8
%41 = call i32 @getaddrinfo(ptr noundef null, ptr noundef %40, ptr noundef %8, ptr noundef %9)
store i32 %41, ptr %11, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %26
%44 = load i32, ptr @stderr, align 4
%45 = load i32, ptr %11, align 4
%46 = call ptr @gai_strerror(i32 noundef %45)
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.1, ptr noundef %46)
store i32 1, ptr %3, align 4
br label %143
48: ; preds = %26
%49 = load ptr, ptr %9, align 8
store ptr %49, ptr %10, align 8
br label %50
50: ; preds = %82, %48
%51 = load ptr, ptr %10, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %86
53: ; preds = %50
%54 = load ptr, ptr %10, align 8
%55 = getelementptr inbounds %struct.addrinfo, ptr %54, i32 0, i32 4
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %10, align 8
%58 = getelementptr inbounds %struct.addrinfo, ptr %57, i32 0, i32 3
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 2
%62 = load i32, ptr %61, align 8
%63 = call i32 @socket(i32 noundef %56, i32 noundef %59, i32 noundef %62)
store i32 %63, ptr %7, align 4
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %67
65: ; preds = %53
%66 = call i32 @perror(ptr noundef @.str.2)
br label %82
67: ; preds = %53
%68 = load i32, ptr %7, align 4
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds %struct.addrinfo, ptr %69, i32 0, i32 1
%71 = load i32, ptr %70, align 4
%72 = load ptr, ptr %10, align 8
%73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 0
%74 = load i32, ptr %73, align 8
%75 = call i32 @bind(i32 noundef %68, i32 noundef %71, i32 noundef %74)
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %81
77: ; preds = %67
%78 = load i32, ptr %7, align 4
%79 = call i32 @close(i32 noundef %78)
%80 = call i32 @perror(ptr noundef @.str.3)
br label %82
81: ; preds = %67
br label %86
82: ; preds = %77, %65
%83 = load ptr, ptr %10, align 8
%84 = getelementptr inbounds %struct.addrinfo, ptr %83, i32 0, i32 5
%85 = load ptr, ptr %84, align 8
store ptr %85, ptr %10, align 8
br label %50, !llvm.loop !6
86: ; preds = %81, %50
%87 = load ptr, ptr %10, align 8
%88 = icmp eq ptr %87, null
br i1 %88, label %89, label %92
89: ; preds = %86
%90 = load i32, ptr @stderr, align 4
%91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.4)
store i32 2, ptr %3, align 4
br label %143
92: ; preds = %86
%93 = load ptr, ptr %9, align 8
%94 = call i32 @freeaddrinfo(ptr noundef %93)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %96
96: ; preds = %92, %142
store i32 4, ptr %15, align 4
%97 = load i32, ptr %7, align 4
%98 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%99 = call i32 @recvfrom(i32 noundef %97, ptr noundef %98, i32 noundef 260, i32 noundef 0, ptr noundef %13, ptr noundef %15)
store i32 %99, ptr %12, align 4
%100 = icmp eq i32 %99, -1
br i1 %100, label %101, label %104
101: ; preds = %96
%102 = call i32 @perror(ptr noundef @.str.6)
%103 = call i32 @exit(i32 noundef 1) #3
unreachable
104: ; preds = %96
%105 = load i32, ptr %12, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 %106
store i8 0, ptr %107, align 1
store i32 0, ptr %17, align 4
%108 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%109 = call i32 @sscanf(ptr noundef %108, ptr noundef @.str.7, ptr noundef %17)
%110 = load i32, ptr %16, align 4
%111 = call i64 @dropper2(i32 noundef %110)
%112 = icmp ne i64 %111, 0
br i1 %112, label %113, label %142
113: ; preds = %104
%114 = load i32, ptr %17, align 4
%115 = load i32, ptr %6, align 4
%116 = icmp eq i32 %114, %115
br i1 %116, label %117, label %133
117: ; preds = %113
%118 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %118)
%120 = load i32, ptr %6, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %6, align 4
%122 = getelementptr inbounds [261 x i8], ptr %18, i64 0, i64 0
%123 = load i32, ptr %17, align 4
%124 = call i32 @snprintf(ptr noundef %122, i32 noundef 10, ptr noundef @.str.7, i32 noundef %123)
%125 = load i32, ptr %7, align 4
%126 = getelementptr inbounds [261 x i8], ptr %18, i64 0, i64 0
%127 = call i32 @sendto(i32 noundef %125, ptr noundef %126, i32 noundef 261, i32 noundef 0, ptr noundef %13, i32 noundef 4)
store i32 %127, ptr %19, align 4
%128 = icmp eq i32 %127, -1
br i1 %128, label %129, label %132
129: ; preds = %117
%130 = call i32 @perror(ptr noundef @.str.9)
%131 = call i32 @exit(i32 noundef 1) #3
unreachable
132: ; preds = %117
br label %141
133: ; preds = %113
%134 = load i32, ptr %17, align 4
%135 = load i32, ptr %6, align 4
%136 = icmp sgt i32 %134, %135
br i1 %136, label %137, label %140
137: ; preds = %133
%138 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %138)
br label %140
140: ; preds = %137, %133
br label %141
141: ; preds = %140, %132
br label %142
142: ; preds = %141, %104
br label %96
143: ; preds = %89, %43
%144 = load i32, ptr %3, align 4
ret i32 %144
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @dropper2(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpoauhfhir.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr, i32 }
%struct.sockaddr_storage = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"usage: PORT PROBABILITY\0A\00", align 1
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Receiver: socket\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Receiver: bind\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Receiver: failed to bind socket\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Receiver: waiting to recvfrom...\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"receiver: good id, message: %s\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"receiver: sendto\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"receiver: Out-of-order message: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.addrinfo, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_storage, align 4
%14 = alloca [261 x i8], align 16
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [261 x i8], align 16
%19 = 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 0, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %20, 3
br i1 %21, label %22, label %26
22: ; preds = %2
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %16, align 4
%31 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 40)
%32 = load i32, ptr @AF_UNSPEC, align 4
%33 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4
store i32 %32, ptr %33, align 8
%34 = load i32, ptr @SOCK_DGRAM, align 4
%35 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3
store i32 %34, ptr %35, align 4
%36 = load i32, ptr @AI_PASSIVE, align 4
%37 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 6
store i32 %36, ptr %37, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = load ptr, ptr %39, align 8
%41 = call i32 @getaddrinfo(ptr noundef null, ptr noundef %40, ptr noundef %8, ptr noundef %9)
store i32 %41, ptr %11, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %26
%44 = load i32, ptr @stderr, align 4
%45 = load i32, ptr %11, align 4
%46 = call ptr @gai_strerror(i32 noundef %45)
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.1, ptr noundef %46)
store i32 1, ptr %3, align 4
br label %146
48: ; preds = %26
%49 = load ptr, ptr %9, align 8
store ptr %49, ptr %10, align 8
%50 = load ptr, ptr %10, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %48
br label %52
52: ; preds = %.lr.ph, %81
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds %struct.addrinfo, ptr %53, i32 0, i32 4
%55 = load i32, ptr %54, align 8
%56 = load ptr, ptr %10, align 8
%57 = getelementptr inbounds %struct.addrinfo, ptr %56, i32 0, i32 3
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %10, align 8
%60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 2
%61 = load i32, ptr %60, align 8
%62 = call i32 @socket(i32 noundef %55, i32 noundef %58, i32 noundef %61)
store i32 %62, ptr %7, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label %64, label %66
64: ; preds = %52
%65 = call i32 @perror(ptr noundef @.str.2)
br label %81
66: ; preds = %52
%67 = load i32, ptr %7, align 4
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds %struct.addrinfo, ptr %68, i32 0, i32 1
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %10, align 8
%72 = getelementptr inbounds %struct.addrinfo, ptr %71, i32 0, i32 0
%73 = load i32, ptr %72, align 8
%74 = call i32 @bind(i32 noundef %67, i32 noundef %70, i32 noundef %73)
%75 = icmp eq i32 %74, -1
br i1 %75, label %76, label %80
76: ; preds = %66
%77 = load i32, ptr %7, align 4
%78 = call i32 @close(i32 noundef %77)
%79 = call i32 @perror(ptr noundef @.str.3)
br label %81
80: ; preds = %66
br label %87
81: ; preds = %76, %64
%82 = load ptr, ptr %10, align 8
%83 = getelementptr inbounds %struct.addrinfo, ptr %82, i32 0, i32 5
%84 = load ptr, ptr %83, align 8
store ptr %84, ptr %10, align 8
%85 = load ptr, ptr %10, align 8
%86 = icmp ne ptr %85, null
br i1 %86, label %52, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %81
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %48
br label %87
87: ; preds = %.loopexit, %80
%88 = load ptr, ptr %10, align 8
%89 = icmp eq ptr %88, null
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load i32, ptr @stderr, align 4
%92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.4)
store i32 2, ptr %3, align 4
br label %146
93: ; preds = %87
%94 = load ptr, ptr %9, align 8
%95 = call i32 @freeaddrinfo(ptr noundef %94)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 4, ptr %15, align 4
%97 = load i32, ptr %7, align 4
%98 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%99 = call i32 @recvfrom(i32 noundef %97, ptr noundef %98, i32 noundef 260, i32 noundef 0, ptr noundef %13, ptr noundef %15)
store i32 %99, ptr %12, align 4
%100 = icmp eq i32 %99, -1
br i1 %100, label %101, label %.lr.ph1
.lr.ph1: ; preds = %93
br label %104
._crit_edge: ; preds = %142
br label %101
101: ; preds = %._crit_edge, %93
%102 = call i32 @perror(ptr noundef @.str.6)
%103 = call i32 @exit(i32 noundef 1) #3
unreachable
104: ; preds = %.lr.ph1, %142
%105 = load i32, ptr %12, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 %106
store i8 0, ptr %107, align 1
store i32 0, ptr %17, align 4
%108 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%109 = call i32 @sscanf(ptr noundef %108, ptr noundef @.str.7, ptr noundef %17)
%110 = load i32, ptr %16, align 4
%111 = call i64 @dropper2(i32 noundef %110)
%112 = icmp ne i64 %111, 0
br i1 %112, label %113, label %142
113: ; preds = %104
%114 = load i32, ptr %17, align 4
%115 = load i32, ptr %6, align 4
%116 = icmp eq i32 %114, %115
br i1 %116, label %117, label %133
117: ; preds = %113
%118 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %118)
%120 = load i32, ptr %6, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %6, align 4
%122 = getelementptr inbounds [261 x i8], ptr %18, i64 0, i64 0
%123 = load i32, ptr %17, align 4
%124 = call i32 @snprintf(ptr noundef %122, i32 noundef 10, ptr noundef @.str.7, i32 noundef %123)
%125 = load i32, ptr %7, align 4
%126 = getelementptr inbounds [261 x i8], ptr %18, i64 0, i64 0
%127 = call i32 @sendto(i32 noundef %125, ptr noundef %126, i32 noundef 261, i32 noundef 0, ptr noundef %13, i32 noundef 4)
store i32 %127, ptr %19, align 4
%128 = icmp eq i32 %127, -1
br i1 %128, label %129, label %132
129: ; preds = %117
%130 = call i32 @perror(ptr noundef @.str.9)
%131 = call i32 @exit(i32 noundef 1) #3
unreachable
132: ; preds = %117
br label %141
133: ; preds = %113
%134 = load i32, ptr %17, align 4
%135 = load i32, ptr %6, align 4
%136 = icmp sgt i32 %134, %135
br i1 %136, label %137, label %140
137: ; preds = %133
%138 = getelementptr inbounds [261 x i8], ptr %14, i64 0, i64 0
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %138)
br label %140
140: ; preds = %137, %133
br label %141
141: ; preds = %140, %132
br label %142
142: ; preds = %141, %104
store i32 4, ptr %15, align 4
%143 = load i32, ptr %7, align 4
%144 = call i32 @recvfrom(i32 noundef %143, ptr noundef %98, i32 noundef 260, i32 noundef 0, ptr noundef %13, ptr noundef %15)
store i32 %144, ptr %12, align 4
%145 = icmp eq i32 %144, -1
br i1 %145, label %._crit_edge, label %104
146: ; preds = %90, %43
%147 = load i32, ptr %3, align 4
ret i32 %147
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @dropper2(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpzo4n04b_.c'
source_filename = "/tmp/tmpzo4n04b_.c"
target datalayout = "e-m:e-p270: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 @U_WMRAE_swap(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 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRNOTIMPLEMENTED_swap(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/tmpzo4n04b_.c"
target datalayout = "e-m:e-p270: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 @U_WMRAE_swap(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 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRNOTIMPLEMENTED_swap(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/tmpkun7quw4.c'
source_filename = "/tmp/tmpkun7quw4.c"
target datalayout = "e-m:e-p270: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 @fmt_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fmt_strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
br label %25
12: ; preds = %2
br label %13
13: ; preds = %18, %12
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load i8, ptr %14, align 1
store i8 %16, ptr %6, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %13
%19 = load i8, ptr %6, align 1
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %3, align 8
store i8 %19, ptr %20, align 1
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %13, !llvm.loop !6
24: ; preds = %13
br label %25
25: ; preds = %24, %9
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
ret i64 %27
}
declare i32 @fmt_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/tmpkun7quw4.c"
target datalayout = "e-m:e-p270: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 @fmt_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fmt_strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
br label %28
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %4, align 8
%15 = load i8, ptr %13, align 1
store i8 %15, ptr %6, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i8, ptr %6, align 1
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
store i8 %18, ptr %19, align 1
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
store i8 %25, ptr %6, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %27
27: ; preds = %._crit_edge, %12
br label %28
28: ; preds = %27, %9
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
ret i64 %30
}
declare i32 @fmt_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/tmp41vwo1cq.c'
source_filename = "/tmp/tmp41vwo1cq.c"
target datalayout = "e-m:e-p270: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 @HibernateIntUnregister() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @_HibernateIntNumberGet()
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i64, ptr %1, align 8
%8 = call i32 @IntDisable(i64 noundef %7)
%9 = load i64, ptr %1, align 8
%10 = call i32 @IntUnregister(i64 noundef %9)
ret void
}
declare i64 @_HibernateIntNumberGet(...) #1
declare i32 @ASSERT(i32 noundef) #1
declare i32 @IntDisable(i64 noundef) #1
declare i32 @IntUnregister(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp41vwo1cq.c"
target datalayout = "e-m:e-p270: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 @HibernateIntUnregister() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @_HibernateIntNumberGet()
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i64, ptr %1, align 8
%8 = call i32 @IntDisable(i64 noundef %7)
%9 = load i64, ptr %1, align 8
%10 = call i32 @IntUnregister(i64 noundef %9)
ret void
}
declare i64 @_HibernateIntNumberGet(...) #1
declare i32 @ASSERT(i32 noundef) #1
declare i32 @IntDisable(i64 noundef) #1
declare i32 @IntUnregister(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc4dvnna9.c'
source_filename = "/tmp/tmpc4dvnna9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.3f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fsec2hmsf(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i64, align 8
%8 = alloca [250 x i8], align 16
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
%9 = load double, ptr %3, align 8
%10 = call double @modf(double noundef %9, ptr noundef %5) #3
store double %10, ptr %6, align 8
%11 = load double, ptr %5, align 8
%12 = fptosi double %11 to i64
store i64 %12, ptr %7, align 8
%13 = load i64, ptr %7, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @secs2hms(i64 noundef %13, ptr noundef %14)
%16 = getelementptr inbounds [250 x i8], ptr %8, i64 0, i64 0
%17 = load double, ptr %6, align 8
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, double noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds [250 x i8], ptr %8, i64 0, i64 0
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = call i32 @strcat(ptr noundef %19, ptr noundef %21)
ret void
}
; Function Attrs: nounwind
declare double @modf(double noundef, ptr noundef) #1
declare i32 @secs2hms(i64 noundef, ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #2
declare i32 @strcat(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpc4dvnna9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.3f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fsec2hmsf(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i64, align 8
%8 = alloca [250 x i8], align 16
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
%9 = load double, ptr %3, align 8
%10 = call double @modf(double noundef %9, ptr noundef %5) #3
store double %10, ptr %6, align 8
%11 = load double, ptr %5, align 8
%12 = fptosi double %11 to i64
store i64 %12, ptr %7, align 8
%13 = load i64, ptr %7, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @secs2hms(i64 noundef %13, ptr noundef %14)
%16 = getelementptr inbounds [250 x i8], ptr %8, i64 0, i64 0
%17 = load double, ptr %6, align 8
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, double noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds [250 x i8], ptr %8, i64 0, i64 0
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = call i32 @strcat(ptr noundef %19, ptr noundef %21)
ret void
}
; Function Attrs: nounwind
declare double @modf(double noundef, ptr noundef) #1
declare i32 @secs2hms(i64 noundef, ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #2
declare i32 @strcat(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpjvfa29q3.c'
source_filename = "/tmp/tmpjvfa29q3.c"
target datalayout = "e-m:e-p270: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/tmpjvfa29q3.c"
target datalayout = "e-m:e-p270: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/tmp1gp4ej49.c'
source_filename = "/tmp/tmp1gp4ej49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"address : [%08x]:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dumpmem(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr null, %8
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %40
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = ptrtoint ptr %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %35, %11
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %38
20: ; preds = %16
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i32 @dumpbinary(i8 noundef signext %25, i32 noundef 8)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
%30 = srem i32 %29, 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %20
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %34
34: ; preds = %32, %20
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %16, !llvm.loop !6
38: ; preds = %16
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %38, %10
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @dumpbinary(i8 noundef signext, 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/tmp1gp4ej49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"address : [%08x]:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dumpmem(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr null, %8
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %42
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = ptrtoint ptr %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %40
.lr.ph: ; preds = %11
br label %19
19: ; preds = %.lr.ph, %34
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = call i32 @dumpbinary(i8 noundef signext %24, i32 noundef 8)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
%29 = srem i32 %28, 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %19
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %19
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %11
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %40, %10
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @dumpbinary(i8 noundef signext, 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/tmpwh7qpkxh.c'
source_filename = "/tmp/tmpwh7qpkxh.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Memory allocation failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_malloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %18
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = call ptr @malloc(i64 noundef %9) #4
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 (...) @abort() #5
unreachable
16: ; preds = %8
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %2, align 8
br label %18
18: ; preds = %16, %7
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmpwh7qpkxh.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Memory allocation failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_malloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %18
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = call ptr @malloc(i64 noundef %9) #4
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 (...) @abort() #5
unreachable
16: ; preds = %8
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %2, align 8
br label %18
18: ; preds = %16, %7
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmp1hublmag.c'
source_filename = "/tmp/tmp1hublmag.c"
target datalayout = "e-m:e-p270: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.lockseed = private unnamed_addr constant [16 x i8] c"\00\0B\01\04\0F\04\0B\05\07\0F\0D\06\01\0E\09\08", align 16
@__const.main.keyseed = private unnamed_addr constant [16 x i8] c"\00\00\09\0A\01\08\05\0F\01\01\0E\01\00\0D\0E\0C", align 16
@.str = private unnamed_addr constant [28 x i8] c"Usage: %s <stream number>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [77 x i8] c"<stream number> selects one of 16 fill-in values sent by the lock on reset.\0A\00", align 1
@.str.2 = private unnamed_addr constant [75 x i8] c"Both sides use it as the first nibble of the seed initially sent on D1 by\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"the lock. Transmission bit order is 3-0-1-2. e.g. '1-0-1-1' => 0xe\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%p %p\0A\00", align 1
@.str.5 = private unnamed_addr constant [76 x i8] c"invalid format for stream number. example: decimal: 15, hex: 0xe, oct: 017\0A\00", align 1
@.str.6 = private unnamed_addr constant [47 x i8] c"invalid stream number. Valid range is 0x0-0xf\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"initial seeds:\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"LockOutKeyIn\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"LockInKeyOut\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"D0[%s]: \00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"D1[%s]: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x ptr], align 16
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 1, ptr %7, align 1
store i8 0, ptr %8, align 1
store i64 0, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.lockseed, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.keyseed, i64 16, i1 false)
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 -1, ptr %3, align 4
br label %119
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strtol(ptr noundef %26, ptr noundef %10, i32 noundef 0)
store i64 %27, ptr %9, align 8
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %10, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30, ptr noundef %31)
%33 = load ptr, ptr %10, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %23
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %119
38: ; preds = %23
%39 = load i64, ptr %9, align 8
%40 = icmp sgt i64 %39, 15
br i1 %40, label %44, label %41
41: ; preds = %38
%42 = load i64, ptr %9, align 8
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41, %38
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %3, align 4
br label %119
46: ; preds = %41
%47 = load i64, ptr %9, align 8
%48 = trunc i64 %47 to i8
%49 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
store i8 %48, ptr %49, align 1
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%51 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%52 = call i32 @printseed(ptr noundef %51)
%53 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%54 = call i32 @printseed(ptr noundef %53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%56 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.9, ptr %56, align 16
%57 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.10, ptr %57, align 8
br label %58
58: ; preds = %46, %118
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%60 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%61 = load ptr, ptr %60, align 16
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %61)
%63 = load i8, ptr %8, align 1
%64 = zext i8 %63 to i32
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %58
%67 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
br label %70
68: ; preds = %58
%69 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
br label %70
70: ; preds = %68, %66
%71 = phi ptr [ %67, %66 ], [ %69, %68 ]
%72 = load i8, ptr %7, align 1
%73 = call i32 @printstream(ptr noundef %71, i8 noundef zeroext %72)
%74 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
%75 = load ptr, ptr %74, align 8
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %75)
%77 = load i8, ptr %8, align 1
%78 = zext i8 %77 to i32
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %70
%81 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
br label %84
82: ; preds = %70
%83 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
br label %84
84: ; preds = %82, %80
%85 = phi ptr [ %81, %80 ], [ %83, %82 ]
%86 = load i8, ptr %7, align 1
%87 = call i32 @printstream(ptr noundef %85, i8 noundef zeroext %86)
%88 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%89 = call i32 @mangle(ptr noundef %88)
%90 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%91 = call i32 @mangle(ptr noundef %90)
%92 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%93 = call i32 @mangle(ptr noundef %92)
%94 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%95 = call i32 @mangle(ptr noundef %94)
%96 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%97 = call i32 @mangle(ptr noundef %96)
%98 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%99 = call i32 @mangle(ptr noundef %98)
%100 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 7
%101 = load i8, ptr %100, align 1
store i8 %101, ptr %7, align 1
%102 = load i8, ptr %7, align 1
%103 = zext i8 %102 to i32
%104 = and i32 %103, 1
%105 = trunc i32 %104 to i8
store i8 %105, ptr %8, align 1
%106 = load i8, ptr %8, align 1
%107 = icmp ne i8 %106, 0
br i1 %107, label %108, label %111
108: ; preds = %84
%109 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.10, ptr %109, align 16
%110 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.9, ptr %110, align 8
br label %114
111: ; preds = %84
%112 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.9, ptr %112, align 16
%113 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.10, ptr %113, align 8
br label %114
114: ; preds = %111, %108
%115 = load i8, ptr %7, align 1
%116 = icmp ne i8 %115, 0
br i1 %116, label %118, label %117
117: ; preds = %114
store i8 1, ptr %7, align 1
br label %118
118: ; preds = %117, %114
br label %58
119: ; preds = %44, %36, %15
%120 = load i32, ptr %3, align 4
ret i32 %120
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printseed(ptr noundef) #2
declare i32 @printstream(ptr noundef, i8 noundef zeroext) #2
declare i32 @mangle(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/tmp1hublmag.c"
target datalayout = "e-m:e-p270: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.lockseed = private unnamed_addr constant [16 x i8] c"\00\0B\01\04\0F\04\0B\05\07\0F\0D\06\01\0E\09\08", align 16
@__const.main.keyseed = private unnamed_addr constant [16 x i8] c"\00\00\09\0A\01\08\05\0F\01\01\0E\01\00\0D\0E\0C", align 16
@.str = private unnamed_addr constant [28 x i8] c"Usage: %s <stream number>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [77 x i8] c"<stream number> selects one of 16 fill-in values sent by the lock on reset.\0A\00", align 1
@.str.2 = private unnamed_addr constant [75 x i8] c"Both sides use it as the first nibble of the seed initially sent on D1 by\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"the lock. Transmission bit order is 3-0-1-2. e.g. '1-0-1-1' => 0xe\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%p %p\0A\00", align 1
@.str.5 = private unnamed_addr constant [76 x i8] c"invalid format for stream number. example: decimal: 15, hex: 0xe, oct: 017\0A\00", align 1
@.str.6 = private unnamed_addr constant [47 x i8] c"invalid stream number. Valid range is 0x0-0xf\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"initial seeds:\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"LockOutKeyIn\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"LockInKeyOut\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"D0[%s]: \00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"D1[%s]: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x ptr], align 16
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 1, ptr %7, align 1
store i8 0, ptr %8, align 1
store i64 0, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.lockseed, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.keyseed, i64 16, i1 false)
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 -1, ptr %3, align 4
br label %119
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strtol(ptr noundef %26, ptr noundef %10, i32 noundef 0)
store i64 %27, ptr %9, align 8
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %10, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30, ptr noundef %31)
%33 = load ptr, ptr %10, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %23
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %119
38: ; preds = %23
%39 = load i64, ptr %9, align 8
%40 = icmp sgt i64 %39, 15
br i1 %40, label %44, label %41
41: ; preds = %38
%42 = load i64, ptr %9, align 8
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41, %38
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %3, align 4
br label %119
46: ; preds = %41
%47 = load i64, ptr %9, align 8
%48 = trunc i64 %47 to i8
%49 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
store i8 %48, ptr %49, align 1
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%51 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%52 = call i32 @printseed(ptr noundef %51)
%53 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%54 = call i32 @printseed(ptr noundef %53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%56 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.9, ptr %56, align 16
%57 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.10, ptr %57, align 8
br label %58
58: ; preds = %118, %46
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%60 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%61 = load ptr, ptr %60, align 16
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %61)
%63 = load i8, ptr %8, align 1
%64 = zext i8 %63 to i32
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %58
%67 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
br label %70
68: ; preds = %58
%69 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
br label %70
70: ; preds = %68, %66
%71 = phi ptr [ %67, %66 ], [ %69, %68 ]
%72 = load i8, ptr %7, align 1
%73 = call i32 @printstream(ptr noundef %71, i8 noundef zeroext %72)
%74 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
%75 = load ptr, ptr %74, align 8
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %75)
%77 = load i8, ptr %8, align 1
%78 = zext i8 %77 to i32
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %70
%81 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
br label %84
82: ; preds = %70
%83 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
br label %84
84: ; preds = %82, %80
%85 = phi ptr [ %81, %80 ], [ %83, %82 ]
%86 = load i8, ptr %7, align 1
%87 = call i32 @printstream(ptr noundef %85, i8 noundef zeroext %86)
%88 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%89 = call i32 @mangle(ptr noundef %88)
%90 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%91 = call i32 @mangle(ptr noundef %90)
%92 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%93 = call i32 @mangle(ptr noundef %92)
%94 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%95 = call i32 @mangle(ptr noundef %94)
%96 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%97 = call i32 @mangle(ptr noundef %96)
%98 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%99 = call i32 @mangle(ptr noundef %98)
%100 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 7
%101 = load i8, ptr %100, align 1
store i8 %101, ptr %7, align 1
%102 = load i8, ptr %7, align 1
%103 = zext i8 %102 to i32
%104 = and i32 %103, 1
%105 = trunc i32 %104 to i8
store i8 %105, ptr %8, align 1
%106 = load i8, ptr %8, align 1
%107 = icmp ne i8 %106, 0
br i1 %107, label %108, label %111
108: ; preds = %84
%109 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.10, ptr %109, align 16
%110 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.9, ptr %110, align 8
br label %114
111: ; preds = %84
%112 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.9, ptr %112, align 16
%113 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.10, ptr %113, align 8
br label %114
114: ; preds = %111, %108
%115 = load i8, ptr %7, align 1
%116 = icmp ne i8 %115, 0
br i1 %116, label %118, label %117
117: ; preds = %114
store i8 1, ptr %7, align 1
br label %118
118: ; preds = %117, %114
br label %58
119: ; preds = %44, %36, %15
%120 = load i32, ptr %3, align 4
ret i32 %120
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printseed(ptr noundef) #2
declare i32 @printstream(ptr noundef, i8 noundef zeroext) #2
declare i32 @mangle(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/tmp7c5ssa8d.c'
source_filename = "/tmp/tmp7c5ssa8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@O_RDONLY = dso_local global i32 0, align 4
@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/tmp7c5ssa8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@O_RDONLY = dso_local global i32 0, align 4
@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/tmpoktz12ud.c'
source_filename = "/tmp/tmpoktz12ud.c"
target datalayout = "e-m:e-p270: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 @view_update() #0 {
%1 = call i32 (...) @update_panels()
%2 = call i32 (...) @doupdate()
ret void
}
declare i32 @update_panels(...) #1
declare i32 @doupdate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpoktz12ud.c"
target datalayout = "e-m:e-p270: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 @view_update() #0 {
%1 = call i32 (...) @update_panels()
%2 = call i32 (...) @doupdate()
ret void
}
declare i32 @update_panels(...) #1
declare i32 @doupdate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp9iqsldrv.c'
source_filename = "/tmp/tmp9iqsldrv.c"
target datalayout = "e-m:e-p270: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 @j2k_read_plt() #0 {
%1 = alloca i32, align 4
%2 = call i32 @cio_read(i32 noundef 2)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = sub nsw i32 %3, 2
%5 = call i32 @cio_skip(i32 noundef %4)
ret void
}
declare i32 @cio_read(i32 noundef) #1
declare i32 @cio_skip(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/tmp9iqsldrv.c"
target datalayout = "e-m:e-p270: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 @j2k_read_plt() #0 {
%1 = alloca i32, align 4
%2 = call i32 @cio_read(i32 noundef 2)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = sub nsw i32 %3, 2
%5 = call i32 @cio_skip(i32 noundef %4)
ret void
}
declare i32 @cio_read(i32 noundef) #1
declare i32 @cio_skip(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/tmptaj5ldea.c'
source_filename = "/tmp/tmptaj5ldea.c"
target datalayout = "e-m:e-p270: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/tmptaj5ldea.c"
target datalayout = "e-m:e-p270: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/tmpybxtzjtv.c'
source_filename = "/tmp/tmpybxtzjtv.c"
target datalayout = "e-m:e-p270: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 [180 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/vinuesa/get_phylomarkers/refs/heads/master/bin/clustal-omega-1.2.4/src/squid/sre_string.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sre_fgets(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
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %11, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = call ptr @sre_malloc(ptr noundef @.str, i32 noundef 249, i32 noundef 128)
%16 = load ptr, ptr %5, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
store i32 128, ptr %17, align 4
br label %18
18: ; preds = %14, %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %7, align 8
%24 = call ptr @fgets(ptr noundef %20, i32 noundef %22, ptr noundef %23)
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %18
store ptr null, ptr %4, align 8
br label %96
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = call i64 @feof(ptr noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %4, align 8
br label %96
34: ; preds = %27
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = call i32 @strlen(ptr noundef %36)
store i32 %37, ptr %9, align 4
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %9, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 10
br i1 %46, label %47, label %50
47: ; preds = %34
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
store ptr %49, ptr %4, align 8
br label %96
50: ; preds = %34
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %51, align 4
%53 = sub nsw i32 %52, 1
store i32 %53, ptr %10, align 4
br label %54
54: ; preds = %50, %93
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %56, 128
store i32 %57, ptr %55, align 4
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %60, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 1, %62
%64 = trunc i64 %63 to i32
%65 = call ptr @sre_realloc(ptr noundef @.str, i32 noundef 279, ptr noundef %59, i32 noundef %64)
%66 = load ptr, ptr %5, align 8
store ptr %65, ptr %66, align 8
%67 = load ptr, ptr %5, align 8
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
store ptr %71, ptr %8, align 8
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %7, align 8
%74 = call ptr @fgets(ptr noundef %72, i32 noundef 129, ptr noundef %73)
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %79
76: ; preds = %54
%77 = load ptr, ptr %5, align 8
%78 = load ptr, ptr %77, align 8
store ptr %78, ptr %4, align 8
br label %96
79: ; preds = %54
%80 = load ptr, ptr %8, align 8
%81 = call i32 @strlen(ptr noundef %80)
store i32 %81, ptr %9, align 4
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %9, align 4
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %82, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 10
br i1 %89, label %90, label %93
90: ; preds = %79
%91 = load ptr, ptr %5, align 8
%92 = load ptr, ptr %91, align 8
store ptr %92, ptr %4, align 8
br label %96
93: ; preds = %79
%94 = load i32, ptr %10, align 4
%95 = add nsw i32 %94, 128
store i32 %95, ptr %10, align 4
br label %54
96: ; preds = %90, %76, %47, %31, %26
%97 = load ptr, ptr %4, align 8
ret ptr %97
}
declare ptr @sre_malloc(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @sre_realloc(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybxtzjtv.c"
target datalayout = "e-m:e-p270: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 [180 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/vinuesa/get_phylomarkers/refs/heads/master/bin/clustal-omega-1.2.4/src/squid/sre_string.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sre_fgets(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
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %11, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = call ptr @sre_malloc(ptr noundef @.str, i32 noundef 249, i32 noundef 128)
%16 = load ptr, ptr %5, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
store i32 128, ptr %17, align 4
br label %18
18: ; preds = %14, %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %7, align 8
%24 = call ptr @fgets(ptr noundef %20, i32 noundef %22, ptr noundef %23)
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %18
store ptr null, ptr %4, align 8
br label %96
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = call i64 @feof(ptr noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %4, align 8
br label %96
34: ; preds = %27
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = call i32 @strlen(ptr noundef %36)
store i32 %37, ptr %9, align 4
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %9, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 10
br i1 %46, label %47, label %50
47: ; preds = %34
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
store ptr %49, ptr %4, align 8
br label %96
50: ; preds = %34
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %51, align 4
%53 = sub nsw i32 %52, 1
store i32 %53, ptr %10, align 4
br label %54
54: ; preds = %93, %50
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %56, 128
store i32 %57, ptr %55, align 4
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %60, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 1, %62
%64 = trunc i64 %63 to i32
%65 = call ptr @sre_realloc(ptr noundef @.str, i32 noundef 279, ptr noundef %59, i32 noundef %64)
%66 = load ptr, ptr %5, align 8
store ptr %65, ptr %66, align 8
%67 = load ptr, ptr %5, align 8
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
store ptr %71, ptr %8, align 8
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %7, align 8
%74 = call ptr @fgets(ptr noundef %72, i32 noundef 129, ptr noundef %73)
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %79
76: ; preds = %54
%77 = load ptr, ptr %5, align 8
%78 = load ptr, ptr %77, align 8
store ptr %78, ptr %4, align 8
br label %96
79: ; preds = %54
%80 = load ptr, ptr %8, align 8
%81 = call i32 @strlen(ptr noundef %80)
store i32 %81, ptr %9, align 4
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %9, align 4
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %82, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 10
br i1 %89, label %90, label %93
90: ; preds = %79
%91 = load ptr, ptr %5, align 8
%92 = load ptr, ptr %91, align 8
store ptr %92, ptr %4, align 8
br label %96
93: ; preds = %79
%94 = load i32, ptr %10, align 4
%95 = add nsw i32 %94, 128
store i32 %95, ptr %10, align 4
br label %54
96: ; preds = %90, %76, %47, %31, %26
%97 = load ptr, ptr %4, align 8
ret ptr %97
}
declare ptr @sre_malloc(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @sre_realloc(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.