llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpuv4192lo.c'
source_filename = "/tmp/tmpuv4192lo.c"
target datalayout = "e-m:e-p270: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.icmp = type { i32, i32, i32, i32 }
@IP_MAXPACKET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @icmp_checksum(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load i32, ptr @IP_MAXPACKET, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = getelementptr inbounds i8, ptr %15, i64 0
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.icmp, ptr %18, i32 0, i32 3
%20 = call i32 @memcpy(ptr noundef %17, ptr noundef %19, i32 noundef 4)
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
store ptr %22, ptr %9, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = add i64 %24, 4
%26 = trunc i64 %25 to i32
store i32 %26, ptr %10, align 4
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.icmp, ptr %28, i32 0, i32 2
%30 = call i32 @memcpy(ptr noundef %27, ptr noundef %29, i32 noundef 4)
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 4
store ptr %32, ptr %9, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = add i64 %34, 4
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %9, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %9, align 8
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %9, align 8
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 2
store i32 %44, ptr %10, align 4
%45 = load ptr, ptr %9, align 8
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds %struct.icmp, ptr %46, i32 0, i32 1
%48 = call i32 @memcpy(ptr noundef %45, ptr noundef %47, i32 noundef 4)
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 4
store ptr %50, ptr %9, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = add i64 %52, 4
%54 = trunc i64 %53 to i32
store i32 %54, ptr %10, align 4
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds %struct.icmp, ptr %56, i32 0, i32 0
%58 = call i32 @memcpy(ptr noundef %55, ptr noundef %57, i32 noundef 4)
%59 = load ptr, ptr %9, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 4
store ptr %60, ptr %9, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = add i64 %62, 4
%64 = trunc i64 %63 to i32
store i32 %64, ptr %10, align 4
%65 = load ptr, ptr %9, align 8
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %6, align 4
%68 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %67)
%69 = load i32, ptr %6, align 4
%70 = load ptr, ptr %9, align 8
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds i8, ptr %70, i64 %71
store ptr %72, ptr %9, align 8
%73 = load i32, ptr %6, align 4
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, %73
store i32 %75, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %76
76: ; preds = %87, %3
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %6, align 4
%79 = srem i32 %78, 2
%80 = icmp slt i32 %77, %79
br i1 %80, label %81, label %92
81: ; preds = %76
%82 = load ptr, ptr %9, align 8
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %9, align 8
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %10, align 4
br label %87
87: ; preds = %81
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %11, align 4
%90 = load ptr, ptr %9, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %9, align 8
br label %76, !llvm.loop !6
92: ; preds = %76
%93 = load i32, ptr %10, align 4
%94 = call i32 @checksum(ptr noundef %15, i32 noundef %93)
%95 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %95)
ret i32 %94
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @checksum(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuv4192lo.c"
target datalayout = "e-m:e-p270: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.icmp = type { i32, i32, i32, i32 }
@IP_MAXPACKET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @icmp_checksum(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load i32, ptr @IP_MAXPACKET, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = getelementptr inbounds i8, ptr %15, i64 0
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.icmp, ptr %18, i32 0, i32 3
%20 = call i32 @memcpy(ptr noundef %17, ptr noundef %19, i32 noundef 4)
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
store ptr %22, ptr %9, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = add i64 %24, 4
%26 = trunc i64 %25 to i32
store i32 %26, ptr %10, align 4
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.icmp, ptr %28, i32 0, i32 2
%30 = call i32 @memcpy(ptr noundef %27, ptr noundef %29, i32 noundef 4)
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 4
store ptr %32, ptr %9, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = add i64 %34, 4
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %9, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %9, align 8
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %9, align 8
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 2
store i32 %44, ptr %10, align 4
%45 = load ptr, ptr %9, align 8
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds %struct.icmp, ptr %46, i32 0, i32 1
%48 = call i32 @memcpy(ptr noundef %45, ptr noundef %47, i32 noundef 4)
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 4
store ptr %50, ptr %9, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = add i64 %52, 4
%54 = trunc i64 %53 to i32
store i32 %54, ptr %10, align 4
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds %struct.icmp, ptr %56, i32 0, i32 0
%58 = call i32 @memcpy(ptr noundef %55, ptr noundef %57, i32 noundef 4)
%59 = load ptr, ptr %9, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 4
store ptr %60, ptr %9, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = add i64 %62, 4
%64 = trunc i64 %63 to i32
store i32 %64, ptr %10, align 4
%65 = load ptr, ptr %9, align 8
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %6, align 4
%68 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %67)
%69 = load i32, ptr %6, align 4
%70 = load ptr, ptr %9, align 8
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds i8, ptr %70, i64 %71
store ptr %72, ptr %9, align 8
%73 = load i32, ptr %6, align 4
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, %73
store i32 %75, ptr %10, align 4
store i32 0, ptr %11, align 4
%76 = load i32, ptr %11, align 4
%77 = load i32, ptr %6, align 4
%78 = srem i32 %77, 2
%79 = icmp slt i32 %76, %78
br i1 %79, label %.lr.ph, label %95
.lr.ph: ; preds = %3
br label %80
80: ; preds = %.lr.ph, %86
%81 = load ptr, ptr %9, align 8
store i8 0, ptr %81, align 1
%82 = load ptr, ptr %9, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %9, align 8
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %10, align 4
br label %86
86: ; preds = %80
%87 = load i32, ptr %11, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %11, align 4
%89 = load ptr, ptr %9, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %9, align 8
%91 = load i32, ptr %11, align 4
%92 = load i32, ptr %6, align 4
%93 = srem i32 %92, 2
%94 = icmp slt i32 %91, %93
br i1 %94, label %80, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %86
br label %95
95: ; preds = %._crit_edge, %3
%96 = load i32, ptr %10, align 4
%97 = call i32 @checksum(ptr noundef %15, i32 noundef %96)
%98 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %98)
ret i32 %97
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @checksum(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpuoqsf0ku.c'
source_filename = "/tmp/tmpuoqsf0ku.c"
target datalayout = "e-m:e-p270: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/tmpuoqsf0ku.c"
target datalayout = "e-m:e-p270: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/tmplc5pi9jm.c'
source_filename = "/tmp/tmplc5pi9jm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"World\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 6)
%6 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 6)
ret i32 0
}
declare i32 @write(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/tmplc5pi9jm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"World\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 6)
%6 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 6)
ret i32 0
}
declare i32 @write(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/tmpcqnngs01.c'
source_filename = "/tmp/tmpcqnngs01.c"
target datalayout = "e-m:e-p270: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 @test2(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @memset(ptr noundef %8, i8 noundef signext 122, i32 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @strcat(ptr noundef %11, ptr noundef %12)
store ptr %13, ptr %7, align 8
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcqnngs01.c"
target datalayout = "e-m:e-p270: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 @test2(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @memset(ptr noundef %8, i8 noundef signext 122, i32 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @strcat(ptr noundef %11, ptr noundef %12)
store ptr %13, ptr %7, align 8
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmfvziexf.c'
source_filename = "/tmp/tmpmfvziexf.c"
target datalayout = "e-m:e-p270: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 @fran32_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
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 i32 @iran32_r(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = uitofp i32 %9 to double
%11 = fdiv double %10, 0x41F0000000000000
%12 = fptrunc double %11 to float
ret float %12
}
declare i32 @iran32_r(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/tmpmfvziexf.c"
target datalayout = "e-m:e-p270: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 @fran32_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
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 i32 @iran32_r(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = uitofp i32 %9 to double
%11 = fdiv double %10, 0x41F0000000000000
%12 = fptrunc double %11 to float
ret float %12
}
declare i32 @iran32_r(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/tmpox1nqlgk.c'
source_filename = "/tmp/tmpox1nqlgk.c"
target datalayout = "e-m:e-p270: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 @get_random_range(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 %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = call i32 @get_random(i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
ret i32 %13
}
declare i32 @get_random(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/tmpox1nqlgk.c"
target datalayout = "e-m:e-p270: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 @get_random_range(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 %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = call i32 @get_random(i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
ret i32 %13
}
declare i32 @get_random(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/tmpjgkbzl39.c'
source_filename = "/tmp/tmpjgkbzl39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_fb_close(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 @close(i32 noundef %3)
ret void
}
declare i32 @close(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/tmpjgkbzl39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_fb_close(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 @close(i32 noundef %3)
ret void
}
declare i32 @close(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/tmpl3wwhb7l.c'
source_filename = "/tmp/tmpl3wwhb7l.c"
target datalayout = "e-m:e-p270: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 @null_set_sector(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3wwhb7l.c"
target datalayout = "e-m:e-p270: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 @null_set_sector(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptz43o3_4.c'
source_filename = "/tmp/tmptz43o3_4.c"
target datalayout = "e-m:e-p270: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 @lu_decomp(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = call ptr @crear_vector(i32 noundef %11)
store ptr %12, ptr %9, align 8
%13 = load i32, ptr %7, align 4
%14 = call ptr @crear_vector(i32 noundef %13)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = call i32 @lu_decompose(ptr noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %8, align 8
%25 = call i32 @lu_sustitucion(ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef %24)
%26 = load ptr, ptr %10, align 8
%27 = call i32 @destruye_vector(ptr noundef %26)
%28 = load ptr, ptr %9, align 8
%29 = call i32 @destruye_vector(ptr noundef %28)
ret void
}
declare ptr @crear_vector(i32 noundef) #1
declare i32 @lu_decompose(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @lu_sustitucion(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @destruye_vector(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/tmptz43o3_4.c"
target datalayout = "e-m:e-p270: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 @lu_decomp(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = call ptr @crear_vector(i32 noundef %11)
store ptr %12, ptr %9, align 8
%13 = load i32, ptr %7, align 4
%14 = call ptr @crear_vector(i32 noundef %13)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = call i32 @lu_decompose(ptr noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %8, align 8
%25 = call i32 @lu_sustitucion(ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef %24)
%26 = load ptr, ptr %10, align 8
%27 = call i32 @destruye_vector(ptr noundef %26)
%28 = load ptr, ptr %9, align 8
%29 = call i32 @destruye_vector(ptr noundef %28)
ret void
}
declare ptr @crear_vector(i32 noundef) #1
declare i32 @lu_decompose(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @lu_sustitucion(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @destruye_vector(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/tmp5l701myo.c'
source_filename = "/tmp/tmp5l701myo.c"
target datalayout = "e-m:e-p270: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 @lroundf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = fcmp oge double %4, 0.000000e+00
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = fadd double %8, 5.000000e-01
%10 = fptrunc double %9 to float
%11 = call i64 @floor(float noundef %10)
br label %18
12: ; preds = %1
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = fsub double %14, 5.000000e-01
%16 = fptrunc double %15 to float
%17 = call i64 @ceil(float noundef %16)
br label %18
18: ; preds = %12, %6
%19 = phi i64 [ %11, %6 ], [ %17, %12 ]
ret i64 %19
}
declare i64 @floor(float noundef) #1
declare i64 @ceil(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/tmp5l701myo.c"
target datalayout = "e-m:e-p270: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 @lroundf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = fcmp oge double %4, 0.000000e+00
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = fadd double %8, 5.000000e-01
%10 = fptrunc double %9 to float
%11 = call i64 @floor(float noundef %10)
br label %18
12: ; preds = %1
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = fsub double %14, 5.000000e-01
%16 = fptrunc double %15 to float
%17 = call i64 @ceil(float noundef %16)
br label %18
18: ; preds = %12, %6
%19 = phi i64 [ %11, %6 ], [ %17, %12 ]
ret i64 %19
}
declare i64 @floor(float noundef) #1
declare i64 @ceil(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/tmp7egpivfb.c'
source_filename = "/tmp/tmp7egpivfb.c"
target datalayout = "e-m:e-p270: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/tmp7egpivfb.c"
target datalayout = "e-m:e-p270: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/tmpr1amu2ba.c'
source_filename = "/tmp/tmpr1amu2ba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"The maximum of %d and %d is %d.\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"The maxiumumof %d and %d is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (double, ...) @imax(double noundef 3.000000e+00)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 3, i32 noundef 5, i32 noundef %2)
%4 = call i32 (double, ...) @imax(double noundef 3.000000e+00, double noundef 5.000000e+00)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef 3, i32 noundef 5, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @imax(double noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1amu2ba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"The maximum of %d and %d is %d.\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"The maxiumumof %d and %d is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (double, ...) @imax(double noundef 3.000000e+00)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 3, i32 noundef 5, i32 noundef %2)
%4 = call i32 (double, ...) @imax(double noundef 3.000000e+00, double noundef 5.000000e+00)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef 3, i32 noundef 5, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @imax(double noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1dk5j32b.c'
source_filename = "/tmp/tmp1dk5j32b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EV_SYN = dso_local global i32 0, align 4
@SYN_REPORT = 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/tmp1dk5j32b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EV_SYN = dso_local global i32 0, align 4
@SYN_REPORT = 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/tmp04r0xpjj.c'
source_filename = "/tmp/tmp04r0xpjj.c"
target datalayout = "e-m:e-p270: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 @CgosBoardCount(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @CallDrvPlain(i32 noundef 1, i32 noundef 2, i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null)
ret i32 %7
}
declare i32 @CallDrvPlain(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmp04r0xpjj.c"
target datalayout = "e-m:e-p270: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 @CgosBoardCount(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @CallDrvPlain(i32 noundef 1, i32 noundef 2, i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null)
ret i32 %7
}
declare i32 @CallDrvPlain(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpw7co0ina.c'
source_filename = "/tmp/tmpw7co0ina.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rq_asset_correlation_build_assetKey(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 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = call i64 @strlen(ptr noundef @.str)
%12 = add nsw i64 %10, %11
%13 = add nsw i64 %12, 1
%14 = call i64 @malloc(i64 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str)
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
ret ptr %24
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw7co0ina.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rq_asset_correlation_build_assetKey(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 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = call i64 @strlen(ptr noundef @.str)
%12 = add nsw i64 %10, %11
%13 = add nsw i64 %12, 1
%14 = call i64 @malloc(i64 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str)
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
ret ptr %24
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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"}
|
; ModuleID = '/tmp/tmpsbgzcc70.c'
source_filename = "/tmp/tmpsbgzcc70.c"
target datalayout = "e-m:e-p270: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 [2 x [42 x i32]], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 336, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 42
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = getelementptr inbounds [2 x [42 x i32]], ptr %2, i64 0, i64 0
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [42 x i32], ptr %10, i64 0, i64 %12
store i32 %9, ptr %13, align 4
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
%18 = getelementptr inbounds [2 x [42 x i32]], ptr %2, i64 0, i64 0
%19 = call i32 @foo(i32 noundef 42, ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
ret i32 %20
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @foo(i32 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbgzcc70.c"
target datalayout = "e-m:e-p270: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 [2 x [42 x i32]], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 336, i1 false)
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 42
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %13
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
%9 = getelementptr inbounds [2 x [42 x i32]], ptr %2, i64 0, i64 0
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [42 x i32], ptr %9, i64 0, i64 %11
store i32 %8, ptr %12, align 4
br label %13
13: ; preds = %6
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 42
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = getelementptr inbounds [2 x [42 x i32]], ptr %2, i64 0, i64 0
%20 = call i32 @foo(i32 noundef 42, ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
ret i32 %21
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @foo(i32 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppkktv8nq.c'
source_filename = "/tmp/tmppkktv8nq.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Informe uma idade: [<=0 para sair]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Total de pessoas com menos de 21: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Total de pessoas com mais de 50: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ex2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %25, %0
%5 = load i32, ptr %1, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %26
7: ; preds = %4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%10 = load i32, ptr %1, align 4
%11 = icmp sgt i32 %10, 50
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %25
15: ; preds = %7
%16 = load i32, ptr %1, align 4
%17 = icmp slt i32 %16, 21
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = load i32, ptr %1, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %21, %18, %15
br label %25
25: ; preds = %24, %12
br label %4, !llvm.loop !6
26: ; preds = %4
%27 = load i32, ptr %3, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppkktv8nq.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Informe uma idade: [<=0 para sair]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Total de pessoas com menos de 21: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Total de pessoas com mais de 50: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ex2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %24
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%9 = load i32, ptr %1, align 4
%10 = icmp sgt i32 %9, 50
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
br label %24
14: ; preds = %6
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 21
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %1, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %17, %14
br label %24
24: ; preds = %23, %11
%25 = load i32, ptr %1, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %3, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28)
%30 = load i32, ptr %2, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpij258jqq.c'
source_filename = "/tmp/tmpij258jqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Error when checking first byte!\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Error when checking last byte!\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"That took %.3f seconds and used %d bytes\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 [2000 x ptr], align 16
%5 = alloca i32, align 4
%6 = alloca [5000 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %16, %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 2000
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %14
store ptr null, ptr %15, align 8
br label %16
16: ; preds = %12
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
%20 = call i32 (...) @cputime()
store i32 %20, ptr %7, align 4
%21 = call i32 (...) @memory()
store i32 %21, ptr %8, align 4
store i32 0, ptr %2, align 4
br label %22
22: ; preds = %164, %19
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 200000
br i1 %24, label %25, label %167
25: ; preds = %22
%26 = call i32 (...) @myrand()
%27 = srem i32 %26, 2000
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %105
33: ; preds = %25
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %44, i64 %49
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = ptrtoint ptr %53 to i8
%55 = zext i8 %54 to i32
%56 = icmp ne i32 %40, %55
br i1 %56, label %57, label %59
57: ; preds = %33
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %59
59: ; preds = %57, %33
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = icmp sgt i32 %63, 1
br i1 %64, label %65, label %99
65: ; preds = %59
%66 = load i32, ptr %3, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %3, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %69, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = load i32, ptr %3, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %3, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = sext i32 %86 to i64
%88 = sub i64 0, %87
%89 = getelementptr inbounds i8, ptr %82, i64 %88
%90 = load i32, ptr %3, align 4
%91 = sext i32 %90 to i64
%92 = sub i64 0, %91
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = ptrtoint ptr %93 to i8
%95 = zext i8 %94 to i32
%96 = icmp ne i32 %78, %95
br i1 %96, label %97, label %99
97: ; preds = %65
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %99
99: ; preds = %97, %65, %59
%100 = load i32, ptr %3, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %101
%103 = load ptr, ptr %102, align 8
%104 = call i32 @myfree(ptr noundef %103)
br label %105
105: ; preds = %99, %25
%106 = call i32 (...) @randomsize()
store i32 %106, ptr %5, align 4
%107 = load i32, ptr %5, align 4
%108 = call i64 @mymalloc(i32 noundef %107)
%109 = inttoptr i64 %108 to ptr
%110 = load i32, ptr %3, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %111
store ptr %109, ptr %112, align 8
%113 = load i32, ptr %5, align 4
%114 = load i32, ptr %3, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %115
store i32 %113, ptr %116, align 4
%117 = load i32, ptr %3, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %118
%120 = load ptr, ptr %119, align 8
%121 = load i32, ptr %3, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %122
%124 = load i32, ptr %123, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %120, i64 %125
%127 = load i32, ptr %3, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
%130 = ptrtoint ptr %129 to i8
%131 = load i32, ptr %3, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = getelementptr inbounds i8, ptr %134, i64 0
store i8 %130, ptr %135, align 1
%136 = load i32, ptr %5, align 4
%137 = icmp sgt i32 %136, 1
br i1 %137, label %138, label %163
138: ; preds = %105
%139 = load i32, ptr %3, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %140
%142 = load ptr, ptr %141, align 8
%143 = load i32, ptr %3, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %144
%146 = load i32, ptr %145, align 4
%147 = sext i32 %146 to i64
%148 = sub i64 0, %147
%149 = getelementptr inbounds i8, ptr %142, i64 %148
%150 = load i32, ptr %3, align 4
%151 = sext i32 %150 to i64
%152 = sub i64 0, %151
%153 = getelementptr inbounds i8, ptr %149, i64 %152
%154 = ptrtoint ptr %153 to i8
%155 = load i32, ptr %3, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %156
%158 = load ptr, ptr %157, align 8
%159 = load i32, ptr %5, align 4
%160 = sub nsw i32 %159, 1
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %158, i64 %161
store i8 %154, ptr %162, align 1
br label %163
163: ; preds = %138, %105
br label %164
164: ; preds = %163
%165 = load i32, ptr %2, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %2, align 4
br label %22, !llvm.loop !8
167: ; preds = %22
%168 = call i32 (...) @cputime()
%169 = load i32, ptr %7, align 4
%170 = sub nsw i32 %168, %169
%171 = sitofp i32 %170 to float
%172 = fdiv float %171, 1.000000e+03
%173 = fpext float %172 to double
%174 = load i32, ptr %8, align 4
%175 = call i32 (...) @memory()
%176 = sub nsw i32 %174, %175
%177 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %173, i32 noundef %176)
ret i32 1
}
declare i32 @cputime(...) #1
declare i32 @memory(...) #1
declare i32 @myrand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @myfree(ptr noundef) #1
declare i32 @randomsize(...) #1
declare i64 @mymalloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpij258jqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Error when checking first byte!\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Error when checking last byte!\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"That took %.3f seconds and used %d bytes\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 [2000 x ptr], align 16
%5 = alloca i32, align 4
%6 = alloca [5000 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 2000
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %13
store ptr null, ptr %14, align 8
br label %15
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 2000
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = call i32 (...) @cputime()
store i32 %21, ptr %7, align 4
%22 = call i32 (...) @memory()
store i32 %22, ptr %8, align 4
store i32 0, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 200000
br i1 %24, label %.lr.ph2, label %169
.lr.ph2: ; preds = %20
br label %25
25: ; preds = %.lr.ph2, %164
%26 = call i32 (...) @myrand()
%27 = srem i32 %26, 2000
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %105
33: ; preds = %25
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %44, i64 %49
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = ptrtoint ptr %53 to i8
%55 = zext i8 %54 to i32
%56 = icmp ne i32 %40, %55
br i1 %56, label %57, label %59
57: ; preds = %33
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %59
59: ; preds = %57, %33
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = icmp sgt i32 %63, 1
br i1 %64, label %65, label %99
65: ; preds = %59
%66 = load i32, ptr %3, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %3, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %69, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = load i32, ptr %3, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %3, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = sext i32 %86 to i64
%88 = sub i64 0, %87
%89 = getelementptr inbounds i8, ptr %82, i64 %88
%90 = load i32, ptr %3, align 4
%91 = sext i32 %90 to i64
%92 = sub i64 0, %91
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = ptrtoint ptr %93 to i8
%95 = zext i8 %94 to i32
%96 = icmp ne i32 %78, %95
br i1 %96, label %97, label %99
97: ; preds = %65
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %99
99: ; preds = %97, %65, %59
%100 = load i32, ptr %3, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %101
%103 = load ptr, ptr %102, align 8
%104 = call i32 @myfree(ptr noundef %103)
br label %105
105: ; preds = %99, %25
%106 = call i32 (...) @randomsize()
store i32 %106, ptr %5, align 4
%107 = load i32, ptr %5, align 4
%108 = call i64 @mymalloc(i32 noundef %107)
%109 = inttoptr i64 %108 to ptr
%110 = load i32, ptr %3, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %111
store ptr %109, ptr %112, align 8
%113 = load i32, ptr %5, align 4
%114 = load i32, ptr %3, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %115
store i32 %113, ptr %116, align 4
%117 = load i32, ptr %3, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %118
%120 = load ptr, ptr %119, align 8
%121 = load i32, ptr %3, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %122
%124 = load i32, ptr %123, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %120, i64 %125
%127 = load i32, ptr %3, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
%130 = ptrtoint ptr %129 to i8
%131 = load i32, ptr %3, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = getelementptr inbounds i8, ptr %134, i64 0
store i8 %130, ptr %135, align 1
%136 = load i32, ptr %5, align 4
%137 = icmp sgt i32 %136, 1
br i1 %137, label %138, label %163
138: ; preds = %105
%139 = load i32, ptr %3, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %140
%142 = load ptr, ptr %141, align 8
%143 = load i32, ptr %3, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [5000 x i32], ptr %6, i64 0, i64 %144
%146 = load i32, ptr %145, align 4
%147 = sext i32 %146 to i64
%148 = sub i64 0, %147
%149 = getelementptr inbounds i8, ptr %142, i64 %148
%150 = load i32, ptr %3, align 4
%151 = sext i32 %150 to i64
%152 = sub i64 0, %151
%153 = getelementptr inbounds i8, ptr %149, i64 %152
%154 = ptrtoint ptr %153 to i8
%155 = load i32, ptr %3, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [2000 x ptr], ptr %4, i64 0, i64 %156
%158 = load ptr, ptr %157, align 8
%159 = load i32, ptr %5, align 4
%160 = sub nsw i32 %159, 1
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %158, i64 %161
store i8 %154, ptr %162, align 1
br label %163
163: ; preds = %138, %105
br label %164
164: ; preds = %163
%165 = load i32, ptr %2, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %2, align 4
%167 = load i32, ptr %2, align 4
%168 = icmp slt i32 %167, 200000
br i1 %168, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %164
br label %169
169: ; preds = %._crit_edge3, %20
%170 = call i32 (...) @cputime()
%171 = load i32, ptr %7, align 4
%172 = sub nsw i32 %170, %171
%173 = sitofp i32 %172 to float
%174 = fdiv float %173, 1.000000e+03
%175 = fpext float %174 to double
%176 = load i32, ptr %8, align 4
%177 = call i32 (...) @memory()
%178 = sub nsw i32 %176, %177
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %175, i32 noundef %178)
ret i32 1
}
declare i32 @cputime(...) #1
declare i32 @memory(...) #1
declare i32 @myrand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @myfree(ptr noundef) #1
declare i32 @randomsize(...) #1
declare i64 @mymalloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpozp46dde.c'
source_filename = "/tmp/tmpozp46dde.c"
target datalayout = "e-m:e-p270: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 @sshbuf_put_u32(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @sshbuf_reserve(ptr noundef %8, i32 noundef 4, ptr noundef %6)
store i32 %9, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %3, align 4
br label %39
13: ; preds = %2
br label %14
14: ; preds = %13
%15 = load i64, ptr %5, align 8
%16 = trunc i64 %15 to i32
%17 = ashr i32 %16, 24
%18 = and i32 %17, 255
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 0
store i32 %18, ptr %20, align 4
%21 = load i64, ptr %5, align 8
%22 = trunc i64 %21 to i32
%23 = ashr i32 %22, 16
%24 = and i32 %23, 255
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 1
store i32 %24, ptr %26, align 4
%27 = load i64, ptr %5, align 8
%28 = trunc i64 %27 to i32
%29 = ashr i32 %28, 8
%30 = and i32 %29, 255
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 2
store i32 %30, ptr %32, align 4
%33 = load i64, ptr %5, align 8
%34 = trunc i64 %33 to i32
%35 = and i32 %34, 255
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 3
store i32 %35, ptr %37, align 4
br label %38
38: ; preds = %14
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %11
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i32 @sshbuf_reserve(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpozp46dde.c"
target datalayout = "e-m:e-p270: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 @sshbuf_put_u32(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @sshbuf_reserve(ptr noundef %8, i32 noundef 4, ptr noundef %6)
store i32 %9, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %3, align 4
br label %39
13: ; preds = %2
br label %14
14: ; preds = %13
%15 = load i64, ptr %5, align 8
%16 = trunc i64 %15 to i32
%17 = ashr i32 %16, 24
%18 = and i32 %17, 255
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 0
store i32 %18, ptr %20, align 4
%21 = load i64, ptr %5, align 8
%22 = trunc i64 %21 to i32
%23 = ashr i32 %22, 16
%24 = and i32 %23, 255
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 1
store i32 %24, ptr %26, align 4
%27 = load i64, ptr %5, align 8
%28 = trunc i64 %27 to i32
%29 = ashr i32 %28, 8
%30 = and i32 %29, 255
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 2
store i32 %30, ptr %32, align 4
%33 = load i64, ptr %5, align 8
%34 = trunc i64 %33 to i32
%35 = and i32 %34, 255
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 3
store i32 %35, ptr %37, align 4
br label %38
38: ; preds = %14
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %11
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i32 @sshbuf_reserve(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgdp76h0m.c'
source_filename = "/tmp/tmpgdp76h0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Usage: %s [-host <host>] files...\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"-host\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store i32 1, ptr %7, align 4
store ptr null, ptr %8, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%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 @printf(ptr noundef %12, ptr noundef %15)
store i32 5, ptr %3, align 4
br label %54
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 i32 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp ne i32 %21, 0
br i1 %22, label %37, label %23
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = icmp sgt i32 %24, 3
br i1 %25, label %26, label %30
26: ; preds = %23
store i32 3, ptr %7, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %8, align 8
br label %36
30: ; preds = %23
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @printf(ptr noundef %31, ptr noundef %34)
store i32 5, ptr %3, align 4
br label %54
36: ; preds = %26
br label %37
37: ; preds = %36, %17
br label %38
38: ; preds = %50, %37
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %53
42: ; preds = %38
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load ptr, ptr %8, align 8
%49 = call i32 @convert_log_file(ptr noundef %47, ptr noundef %48)
br label %50
50: ; preds = %42
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %38, !llvm.loop !6
53: ; preds = %38
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %53, %30, %11
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @convert_log_file(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/tmpgdp76h0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Usage: %s [-host <host>] files...\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"-host\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store i32 1, ptr %7, align 4
store ptr null, ptr %8, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%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 @printf(ptr noundef %12, ptr noundef %15)
store i32 5, ptr %3, align 4
br label %56
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 i32 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp ne i32 %21, 0
br i1 %22, label %37, label %23
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = icmp sgt i32 %24, 3
br i1 %25, label %26, label %30
26: ; preds = %23
store i32 3, ptr %7, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %8, align 8
br label %36
30: ; preds = %23
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @printf(ptr noundef %31, ptr noundef %34)
store i32 5, ptr %3, align 4
br label %56
36: ; preds = %26
br label %37
37: ; preds = %36, %17
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph, label %55
.lr.ph: ; preds = %37
br label %41
41: ; preds = %.lr.ph, %49
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %8, align 8
%48 = call i32 @convert_log_file(ptr noundef %46, ptr noundef %47)
br label %49
49: ; preds = %41
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %37
store i32 0, ptr %3, align 4
br label %56
56: ; preds = %55, %30, %11
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @convert_log_file(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/tmpnvbjpdk5.c'
source_filename = "/tmp/tmpnvbjpdk5.c"
target datalayout = "e-m:e-p270: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/tmpnvbjpdk5.c"
target datalayout = "e-m:e-p270: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/tmpxgv1j2fu.c'
source_filename = "/tmp/tmpxgv1j2fu.c"
target datalayout = "e-m:e-p270: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 @commandF() #0 {
%1 = call i32 (...) @sl_getc()
switch i32 %1, label %24 [
i32 1, label %2
i32 2, label %4
i32 3, label %6
i32 4, label %8
i32 5, label %10
i32 6, label %12
i32 7, label %14
i32 8, label %16
i32 9, label %18
i32 10, label %20
i32 11, label %22
]
2: ; preds = %0
%3 = call i32 (...) @commandF1()
br label %25
4: ; preds = %0
%5 = call i32 (...) @commandF2()
br label %25
6: ; preds = %0
%7 = call i32 (...) @commandF3()
br label %25
8: ; preds = %0
%9 = call i32 (...) @commandF4()
br label %25
10: ; preds = %0
%11 = call i32 (...) @commandF5()
br label %25
12: ; preds = %0
%13 = call i32 (...) @commandF6()
br label %25
14: ; preds = %0
%15 = call i32 (...) @commandF7()
br label %25
16: ; preds = %0
%17 = call i32 (...) @commandF8()
br label %25
18: ; preds = %0
%19 = call i32 (...) @commandF9()
br label %25
20: ; preds = %0
%21 = call i32 (...) @commandF10()
br label %25
22: ; preds = %0
%23 = call i32 (...) @commandF11()
br label %25
24: ; preds = %0
br label %25
25: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4, %2
ret void
}
declare i32 @sl_getc(...) #1
declare i32 @commandF1(...) #1
declare i32 @commandF2(...) #1
declare i32 @commandF3(...) #1
declare i32 @commandF4(...) #1
declare i32 @commandF5(...) #1
declare i32 @commandF6(...) #1
declare i32 @commandF7(...) #1
declare i32 @commandF8(...) #1
declare i32 @commandF9(...) #1
declare i32 @commandF10(...) #1
declare i32 @commandF11(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxgv1j2fu.c"
target datalayout = "e-m:e-p270: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 @commandF() #0 {
%1 = call i32 (...) @sl_getc()
switch i32 %1, label %24 [
i32 1, label %2
i32 2, label %4
i32 3, label %6
i32 4, label %8
i32 5, label %10
i32 6, label %12
i32 7, label %14
i32 8, label %16
i32 9, label %18
i32 10, label %20
i32 11, label %22
]
2: ; preds = %0
%3 = call i32 (...) @commandF1()
br label %25
4: ; preds = %0
%5 = call i32 (...) @commandF2()
br label %25
6: ; preds = %0
%7 = call i32 (...) @commandF3()
br label %25
8: ; preds = %0
%9 = call i32 (...) @commandF4()
br label %25
10: ; preds = %0
%11 = call i32 (...) @commandF5()
br label %25
12: ; preds = %0
%13 = call i32 (...) @commandF6()
br label %25
14: ; preds = %0
%15 = call i32 (...) @commandF7()
br label %25
16: ; preds = %0
%17 = call i32 (...) @commandF8()
br label %25
18: ; preds = %0
%19 = call i32 (...) @commandF9()
br label %25
20: ; preds = %0
%21 = call i32 (...) @commandF10()
br label %25
22: ; preds = %0
%23 = call i32 (...) @commandF11()
br label %25
24: ; preds = %0
br label %25
25: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4, %2
ret void
}
declare i32 @sl_getc(...) #1
declare i32 @commandF1(...) #1
declare i32 @commandF2(...) #1
declare i32 @commandF3(...) #1
declare i32 @commandF4(...) #1
declare i32 @commandF5(...) #1
declare i32 @commandF6(...) #1
declare i32 @commandF7(...) #1
declare i32 @commandF8(...) #1
declare i32 @commandF9(...) #1
declare i32 @commandF10(...) #1
declare i32 @commandF11(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp6504zrvw.c'
source_filename = "/tmp/tmp6504zrvw.c"
target datalayout = "e-m:e-p270: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 @getaudiovol(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @GetAudioVol301(i64 noundef %3)
ret i64 %4
}
declare i64 @GetAudioVol301(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/tmp6504zrvw.c"
target datalayout = "e-m:e-p270: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 @getaudiovol(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @GetAudioVol301(i64 noundef %3)
ret i64 %4
}
declare i64 @GetAudioVol301(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/tmpdtf7ajz3.c'
source_filename = "/tmp/tmpdtf7ajz3.c"
target datalayout = "e-m:e-p270: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 { i64 }
%struct.timezone = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"n wait_states %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Error: Esceeded wait states.. Exit\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [55 x i8] c"Error: Exceeded wait time \0ASending null character '~'\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"response = %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @read_data_b(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
%8 = alloca %struct.timezone, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [5 x i8], align 1
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%16 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%17 = load i64, ptr %16, align 8
store i64 %17, ptr %9, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
call void @llvm.memset.p0.i64(ptr align 1 %15, i8 0, i64 5, i1 false)
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 1)
store i32 %20, ptr %13, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %50, %3
%24 = load i32, ptr %13, align 4
%25 = icmp slt i32 %24, 1
br i1 %25, label %26, label %51
26: ; preds = %23
%27 = load i64, ptr %5, align 8
%28 = call i32 @delay(i64 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%31 = call i32 @read(i32 noundef %29, ptr noundef %30, i32 noundef 1)
store i32 %31, ptr %13, align 4
%32 = load i32, ptr %13, align 4
%33 = icmp sge i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %26
br label %51
35: ; preds = %26
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%41 = load i32, ptr @EXIT_SUCCESS, align 4
%42 = call i32 @exit(i32 noundef %41) #4
unreachable
43: ; preds = %35
%44 = load i32, ptr %4, align 4
%45 = call i32 @write_data(i32 noundef %44, i32 noundef 62)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%47 = load i32, ptr %12, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %12, align 4
br label %49
49: ; preds = %43
br label %50
50: ; preds = %49
br label %23, !llvm.loop !6
51: ; preds = %34, %23
%52 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54)
%56 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%57 = load i8, ptr %56, align 1
ret i8 %57
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @delay(i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @write_data(i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdtf7ajz3.c"
target datalayout = "e-m:e-p270: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 { i64 }
%struct.timezone = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"n wait_states %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Error: Esceeded wait states.. Exit\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [55 x i8] c"Error: Exceeded wait time \0ASending null character '~'\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"response = %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @read_data_b(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
%8 = alloca %struct.timezone, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [5 x i8], align 1
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%16 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%17 = load i64, ptr %16, align 8
store i64 %17, ptr %9, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
call void @llvm.memset.p0.i64(ptr align 1 %15, i8 0, i64 5, i1 false)
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 1)
store i32 %20, ptr %13, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %13, align 4
%24 = icmp slt i32 %23, 1
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %25
25: ; preds = %.lr.ph, %49
%26 = load i64, ptr %5, align 8
%27 = call i32 @delay(i64 noundef %26)
%28 = load i32, ptr %4, align 4
%29 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%30 = call i32 @read(i32 noundef %28, ptr noundef %29, i32 noundef 1)
store i32 %30, ptr %13, align 4
%31 = load i32, ptr %13, align 4
%32 = icmp sge i32 %31, 1
br i1 %32, label %33, label %34
33: ; preds = %25
br label %52
34: ; preds = %25
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp eq i32 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%40 = load i32, ptr @EXIT_SUCCESS, align 4
%41 = call i32 @exit(i32 noundef %40) #4
unreachable
42: ; preds = %34
%43 = load i32, ptr %4, align 4
%44 = call i32 @write_data(i32 noundef %43, i32 noundef 62)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%46 = load i32, ptr %12, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %12, align 4
br label %48
48: ; preds = %42
br label %49
49: ; preds = %48
%50 = load i32, ptr %13, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %49
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %52
52: ; preds = %.loopexit, %33
%53 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %55)
%57 = getelementptr inbounds [5 x i8], ptr %15, i64 0, i64 0
%58 = load i8, ptr %57, align 1
ret i8 %58
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @delay(i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @write_data(i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpew17a8s2.c'
source_filename = "/tmp/tmpew17a8s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sigaction = type { i64, i32, i32 }
@SIG_IGN = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"ignoresigpipe: cannot ignore SIGPIPE:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ignoresigpipe() #0 {
%1 = alloca %struct.sigaction, align 8
%2 = load i32, ptr @SIG_IGN, align 4
%3 = getelementptr inbounds %struct.sigaction, ptr %1, i32 0, i32 2
store i32 %2, ptr %3, align 4
%4 = getelementptr inbounds %struct.sigaction, ptr %1, i32 0, i32 1
%5 = call i32 @sigemptyset(ptr noundef %4)
%6 = getelementptr inbounds %struct.sigaction, ptr %1, i32 0, i32 0
store i64 0, ptr %6, align 8
%7 = load i32, ptr @SIGPIPE, align 4
%8 = call i32 @sigaction(i32 noundef %7, ptr noundef %1, ptr noundef null)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @die(ptr noundef @.str)
br label %12
12: ; preds = %10, %0
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @die(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/tmpew17a8s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sigaction = type { i64, i32, i32 }
@SIG_IGN = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"ignoresigpipe: cannot ignore SIGPIPE:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ignoresigpipe() #0 {
%1 = alloca %struct.sigaction, align 8
%2 = load i32, ptr @SIG_IGN, align 4
%3 = getelementptr inbounds %struct.sigaction, ptr %1, i32 0, i32 2
store i32 %2, ptr %3, align 4
%4 = getelementptr inbounds %struct.sigaction, ptr %1, i32 0, i32 1
%5 = call i32 @sigemptyset(ptr noundef %4)
%6 = getelementptr inbounds %struct.sigaction, ptr %1, i32 0, i32 0
store i64 0, ptr %6, align 8
%7 = load i32, ptr @SIGPIPE, align 4
%8 = call i32 @sigaction(i32 noundef %7, ptr noundef %1, ptr noundef null)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @die(ptr noundef @.str)
br label %12
12: ; preds = %10, %0
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @die(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/tmp7ctxvhfx.c'
source_filename = "/tmp/tmp7ctxvhfx.c"
target datalayout = "e-m:e-p270: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"*DEBUG*:D:R:M:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @db_send_memory(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = call i32 @db_printf0(ptr noundef @.str)
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %26, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i32, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load i32, ptr %16, align 4
%19 = call i32 @db_printf1(ptr noundef @.str.1, i32 noundef %18)
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %15
%24 = call i32 @db_printf0(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %15
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %11, !llvm.loop !6
29: ; preds = %11
%30 = call i32 @db_printf0(ptr noundef @.str.3)
ret void
}
declare i32 @db_printf0(ptr noundef) #1
declare i32 @db_printf1(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/tmp7ctxvhfx.c"
target datalayout = "e-m:e-p270: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"*DEBUG*:D:R:M:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @db_send_memory(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = call i32 @db_printf0(ptr noundef @.str)
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %25
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 1
store ptr %16, ptr %5, align 8
%17 = load i32, ptr %15, align 4
%18 = call i32 @db_printf1(ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %14
%23 = call i32 @db_printf0(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %14
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %2
%32 = call i32 @db_printf0(ptr noundef @.str.3)
ret void
}
declare i32 @db_printf0(ptr noundef) #1
declare i32 @db_printf1(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/tmpoks_5wi_.c'
source_filename = "/tmp/tmpoks_5wi_.c"
target datalayout = "e-m:e-p270: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/tmpoks_5wi_.c"
target datalayout = "e-m:e-p270: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/tmpwz2uflef.c'
source_filename = "/tmp/tmpwz2uflef.c"
target datalayout = "e-m:e-p270: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 @memset_bad2() #0 {
%1 = alloca [10 x i32], align 16
%2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef -1)
ret void
}
declare i32 @memset(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/tmpwz2uflef.c"
target datalayout = "e-m:e-p270: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 @memset_bad2() #0 {
%1 = alloca [10 x i32], align 16
%2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef -1)
ret void
}
declare i32 @memset(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/tmp20jco3go.c'
source_filename = "/tmp/tmp20jco3go.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%s [IP | HOSTNAME]\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Ipv4/6 compatible.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = load i32, ptr @EXIT_FAILURE, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
}
declare i32 @printf(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/tmp20jco3go.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%s [IP | HOSTNAME]\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Ipv4/6 compatible.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = load i32, ptr @EXIT_FAILURE, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
}
declare i32 @printf(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/tmpzsm2176y.c'
source_filename = "/tmp/tmpzsm2176y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"input: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"output: %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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca [10 x i8], align 1
%10 = alloca [10 x i8], align 1
%11 = 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 1, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%14 = load double, ptr %8, align 8
%15 = call double @pow(i32 noundef 10, i32 noundef 6)
%16 = fmul double %14, %15
%17 = fptosi double %16 to i32
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = call i64 @fmod(i32 noundef %18, i32 noundef 10)
%20 = add nsw i64 %19, 48
%21 = trunc i64 %20 to i8
%22 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
store i8 %21, ptr %22, align 1
br label %23
23: ; preds = %35, %2
%24 = load i32, ptr %11, align 4
%25 = sdiv i32 %24, 10
store i32 %25, ptr %11, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %44
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = icmp eq i32 %28, 6
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %33
store i8 46, ptr %34, align 1
br label %35
35: ; preds = %30, %27
%36 = load i32, ptr %11, align 4
%37 = call i64 @fmod(i32 noundef %36, i32 noundef 10)
%38 = add nsw i64 %37, 48
%39 = trunc i64 %38 to i8
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %42
store i8 %39, ptr %43, align 1
br label %23, !llvm.loop !6
44: ; preds = %23
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %46
store i8 0, ptr %47, align 1
%48 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%49 = call i32 @strlen(ptr noundef %48)
%50 = sub nsw i32 %49, 1
store i32 %50, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %51
51: ; preds = %62, %44
%52 = load i32, ptr %6, align 4
%53 = icmp sge i32 %52, 0
br i1 %53, label %54, label %67
54: ; preds = %51
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 %60
store i8 %58, ptr %61, align 1
br label %62
62: ; preds = %54
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %7, align 4
br label %51, !llvm.loop !8
67: ; preds = %51
%68 = load i32, ptr %7, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 %69
store i8 0, ptr %70, align 1
%71 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %71)
%73 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 0
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %73)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
declare i64 @fmod(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzsm2176y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"input: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"output: %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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca [10 x i8], align 1
%10 = alloca [10 x i8], align 1
%11 = 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 1, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%14 = load double, ptr %8, align 8
%15 = call double @pow(i32 noundef 10, i32 noundef 6)
%16 = fmul double %14, %15
%17 = fptosi double %16 to i32
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = call i64 @fmod(i32 noundef %18, i32 noundef 10)
%20 = add nsw i64 %19, 48
%21 = trunc i64 %20 to i8
%22 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
store i8 %21, ptr %22, align 1
%23 = load i32, ptr %11, align 4
%24 = sdiv i32 %23, 10
store i32 %24, ptr %11, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %.lr.ph, label %46
.lr.ph: ; preds = %2
br label %26
26: ; preds = %.lr.ph, %34
%27 = load i32, ptr %6, align 4
%28 = icmp eq i32 %27, 6
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %32
store i8 46, ptr %33, align 1
br label %34
34: ; preds = %29, %26
%35 = load i32, ptr %11, align 4
%36 = call i64 @fmod(i32 noundef %35, i32 noundef 10)
%37 = add nsw i64 %36, 48
%38 = trunc i64 %37 to i8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %41
store i8 %38, ptr %42, align 1
%43 = load i32, ptr %11, align 4
%44 = sdiv i32 %43, 10
store i32 %44, ptr %11, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %46
46: ; preds = %._crit_edge, %2
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %48
store i8 0, ptr %49, align 1
%50 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = sub nsw i32 %51, 1
store i32 %52, ptr %6, align 4
store i32 0, ptr %7, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp sge i32 %53, 0
br i1 %54, label %.lr.ph2, label %70
.lr.ph2: ; preds = %46
br label %55
55: ; preds = %.lr.ph2, %63
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 %61
store i8 %59, ptr %62, align 1
br label %63
63: ; preds = %55
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp sge i32 %68, 0
br i1 %69, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %70
70: ; preds = %._crit_edge3, %46
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 %72
store i8 0, ptr %73, align 1
%74 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %74)
%76 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 0
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %76)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
declare i64 @fmod(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpl41sbf2d.c'
source_filename = "/tmp/tmpl41sbf2d.c"
target datalayout = "e-m:e-p270: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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"USAGE: ./pi.x n_points seed\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Using %d points to integrate\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Expected value %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"problem with memory allocation\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"integral %f\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 i32, align 4
%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 float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 3
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.145900e+00)
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 4
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
store ptr %34, ptr %8, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %39, label %36
36: ; preds = %18
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%38 = call i32 @exit(i32 noundef 1) #4
unreachable
39: ; preds = %18
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 4
%43 = trunc i64 %42 to i32
%44 = call ptr @malloc(i32 noundef %43)
store ptr %44, ptr %9, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %49, label %46
46: ; preds = %39
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%48 = call i32 @exit(i32 noundef 1) #4
unreachable
49: ; preds = %39
%50 = load i32, ptr %7, align 4
%51 = call i32 @srand48(i32 noundef %50)
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
br label %52
52: ; preds = %101, %49
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %104
56: ; preds = %52
%57 = call double (...) @drand48()
%58 = fsub double %57, 5.000000e-01
%59 = fmul double 2.000000e+00, %58
%60 = fptrunc double %59 to float
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %10, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %61, i64 %63
store float %60, ptr %64, align 4
%65 = call double (...) @drand48()
%66 = fsub double %65, 5.000000e-01
%67 = fmul double 2.000000e+00, %66
%68 = fptrunc double %67 to float
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %69, i64 %71
store float %68, ptr %72, align 4
%73 = load ptr, ptr %8, align 8
%74 = load i32, ptr %10, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, ptr %73, i64 %75
%77 = load float, ptr %76, align 4
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %10, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds float, ptr %78, i64 %80
%82 = load float, ptr %81, align 4
%83 = load ptr, ptr %9, align 8
%84 = load i32, ptr %10, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, ptr %83, i64 %85
%87 = load float, ptr %86, align 4
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %10, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds float, ptr %88, i64 %90
%92 = load float, ptr %91, align 4
%93 = fmul float %87, %92
%94 = call float @llvm.fmuladd.f32(float %77, float %82, float %93)
%95 = fpext float %94 to double
%96 = fcmp olt double %95, 1.000000e+00
br i1 %96, label %97, label %100
97: ; preds = %56
%98 = load i32, ptr %11, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %11, align 4
br label %100
100: ; preds = %97, %56
br label %101
101: ; preds = %100
%102 = load i32, ptr %10, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %10, align 4
br label %52, !llvm.loop !6
104: ; preds = %52
%105 = load i32, ptr %11, align 4
%106 = sitofp i32 %105 to double
%107 = fmul double 4.000000e+00, %106
%108 = load i32, ptr %6, align 4
%109 = sitofp i32 %108 to double
%110 = fdiv double %107, %109
%111 = fptrunc double %110 to float
store float %111, ptr %12, align 4
%112 = load float, ptr %12, align 4
%113 = fpext float %112 to double
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %113)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @srand48(i32 noundef) #1
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl41sbf2d.c"
target datalayout = "e-m:e-p270: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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"USAGE: ./pi.x n_points seed\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Using %d points to integrate\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Expected value %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"problem with memory allocation\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"integral %f\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 i32, align 4
%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 float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 3
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.145900e+00)
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 4
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
store ptr %34, ptr %8, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %39, label %36
36: ; preds = %18
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%38 = call i32 @exit(i32 noundef 1) #4
unreachable
39: ; preds = %18
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 4
%43 = trunc i64 %42 to i32
%44 = call ptr @malloc(i32 noundef %43)
store ptr %44, ptr %9, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %49, label %46
46: ; preds = %39
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%48 = call i32 @exit(i32 noundef 1) #4
unreachable
49: ; preds = %39
%50 = load i32, ptr %7, align 4
%51 = call i32 @srand48(i32 noundef %50)
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph, label %106
.lr.ph: ; preds = %49
br label %55
55: ; preds = %.lr.ph, %100
%56 = call double (...) @drand48()
%57 = fsub double %56, 5.000000e-01
%58 = fmul double 2.000000e+00, %57
%59 = fptrunc double %58 to float
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
store float %59, ptr %63, align 4
%64 = call double (...) @drand48()
%65 = fsub double %64, 5.000000e-01
%66 = fmul double 2.000000e+00, %65
%67 = fptrunc double %66 to float
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds float, ptr %68, i64 %70
store float %67, ptr %71, align 4
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %10, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds float, ptr %72, i64 %74
%76 = load float, ptr %75, align 4
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %10, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds float, ptr %77, i64 %79
%81 = load float, ptr %80, align 4
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %10, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds float, ptr %82, i64 %84
%86 = load float, ptr %85, align 4
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %10, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds float, ptr %87, i64 %89
%91 = load float, ptr %90, align 4
%92 = fmul float %86, %91
%93 = call float @llvm.fmuladd.f32(float %76, float %81, float %92)
%94 = fpext float %93 to double
%95 = fcmp olt double %94, 1.000000e+00
br i1 %95, label %96, label %99
96: ; preds = %55
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %11, align 4
br label %99
99: ; preds = %96, %55
br label %100
100: ; preds = %99
%101 = load i32, ptr %10, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %10, align 4
%103 = load i32, ptr %10, align 4
%104 = load i32, ptr %6, align 4
%105 = icmp slt i32 %103, %104
br i1 %105, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %106
106: ; preds = %._crit_edge, %49
%107 = load i32, ptr %11, align 4
%108 = sitofp i32 %107 to double
%109 = fmul double 4.000000e+00, %108
%110 = load i32, ptr %6, align 4
%111 = sitofp i32 %110 to double
%112 = fdiv double %109, %111
%113 = fptrunc double %112 to float
store float %113, ptr %12, align 4
%114 = load float, ptr %12, align 4
%115 = fpext float %114 to double
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %115)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @srand48(i32 noundef) #1
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4k1orhzx.c'
source_filename = "/tmp/tmp4k1orhzx.c"
target datalayout = "e-m:e-p270: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/tmp4k1orhzx.c"
target datalayout = "e-m:e-p270: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/tmp6rhssum5.c'
source_filename = "/tmp/tmp6rhssum5.c"
target datalayout = "e-m:e-p270: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 @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [64 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 45
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %3, align 8
store i32 -1, ptr %10, align 4
br label %18
18: ; preds = %15, %2
br label %19
19: ; preds = %34, %18
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sge i32 %22, 48
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 57
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %30, 18
br label %32
32: ; preds = %29, %24, %19
%33 = phi i1 [ false, %24 ], [ false, %19 ], [ %31, %29 ]
br i1 %33, label %34, label %42
34: ; preds = %32
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %3, align 8
%37 = load i8, ptr %35, align 1
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %40
store i8 %37, ptr %41, align 1
br label %19, !llvm.loop !6
42: ; preds = %32
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %44
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%47 = call i64 @strtoll(ptr noundef %46, ptr noundef null, i32 noundef 10)
%48 = sitofp i64 %47 to double
store double %48, ptr %8, align 8
%49 = load ptr, ptr %3, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 46
br i1 %52, label %53, label %110
53: ; preds = %42
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %3, align 8
store i32 0, ptr %6, align 4
br label %56
56: ; preds = %71, %53
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp sge i32 %59, 48
br i1 %60, label %61, label %69
61: ; preds = %56
%62 = load ptr, ptr %3, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp sle i32 %64, 57
br i1 %65, label %66, label %69
66: ; preds = %61
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %67, 7
br label %69
69: ; preds = %66, %61, %56
%70 = phi i1 [ false, %61 ], [ false, %56 ], [ %68, %66 ]
br i1 %70, label %71, label %79
71: ; preds = %69
%72 = load ptr, ptr %3, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %3, align 8
%74 = load i8, ptr %72, align 1
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %77
store i8 %74, ptr %78, align 1
br label %56, !llvm.loop !8
79: ; preds = %69
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %4, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %88
85: ; preds = %79
%86 = load ptr, ptr %3, align 8
%87 = load ptr, ptr %4, align 8
store ptr %86, ptr %87, align 8
br label %88
88: ; preds = %85, %79
store i32 1, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %89
89: ; preds = %99, %88
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %102
96: ; preds = %89
%97 = load i32, ptr %7, align 4
%98 = mul nsw i32 %97, 10
store i32 %98, ptr %7, align 4
br label %99
99: ; preds = %96
%100 = load i32, ptr %6, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %6, align 4
br label %89, !llvm.loop !9
102: ; preds = %89
%103 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%104 = call i64 @strtoll(ptr noundef %103, ptr noundef null, i32 noundef 10)
%105 = sitofp i64 %104 to double
store double %105, ptr %9, align 8
%106 = load i32, ptr %7, align 4
%107 = sitofp i32 %106 to double
%108 = load double, ptr %9, align 8
%109 = fdiv double %108, %107
store double %109, ptr %9, align 8
br label %117
110: ; preds = %42
%111 = load ptr, ptr %4, align 8
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %116
113: ; preds = %110
%114 = load ptr, ptr %3, align 8
%115 = load ptr, ptr %4, align 8
store ptr %114, ptr %115, align 8
br label %116
116: ; preds = %113, %110
br label %117
117: ; preds = %116, %102
%118 = load double, ptr %8, align 8
%119 = load double, ptr %9, align 8
%120 = fadd double %118, %119
%121 = load i32, ptr %10, align 4
%122 = sitofp i32 %121 to double
%123 = fmul double %120, %122
ret double %123
}
declare i64 @strtoll(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rhssum5.c"
target datalayout = "e-m:e-p270: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 @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [64 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 45
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %3, align 8
store i32 -1, ptr %10, align 4
br label %18
18: ; preds = %15, %2
br label %19
19: ; preds = %34, %18
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sge i32 %22, 48
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 57
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %30, 18
br label %32
32: ; preds = %29, %24, %19
%33 = phi i1 [ false, %24 ], [ false, %19 ], [ %31, %29 ]
br i1 %33, label %34, label %42
34: ; preds = %32
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %3, align 8
%37 = load i8, ptr %35, align 1
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %40
store i8 %37, ptr %41, align 1
br label %19, !llvm.loop !6
42: ; preds = %32
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %44
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%47 = call i64 @strtoll(ptr noundef %46, ptr noundef null, i32 noundef 10)
%48 = sitofp i64 %47 to double
store double %48, ptr %8, align 8
%49 = load ptr, ptr %3, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 46
br i1 %52, label %53, label %115
53: ; preds = %42
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %3, align 8
store i32 0, ptr %6, align 4
br label %56
56: ; preds = %71, %53
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp sge i32 %59, 48
br i1 %60, label %61, label %69
61: ; preds = %56
%62 = load ptr, ptr %3, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp sle i32 %64, 57
br i1 %65, label %66, label %69
66: ; preds = %61
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %67, 7
br label %69
69: ; preds = %66, %61, %56
%70 = phi i1 [ false, %61 ], [ false, %56 ], [ %68, %66 ]
br i1 %70, label %71, label %79
71: ; preds = %69
%72 = load ptr, ptr %3, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %3, align 8
%74 = load i8, ptr %72, align 1
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %77
store i8 %74, ptr %78, align 1
br label %56, !llvm.loop !8
79: ; preds = %69
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %4, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %88
85: ; preds = %79
%86 = load ptr, ptr %3, align 8
%87 = load ptr, ptr %4, align 8
store ptr %86, ptr %87, align 8
br label %88
88: ; preds = %85, %79
store i32 1, ptr %7, align 4
store i32 0, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp ne i32 %93, 0
br i1 %94, label %.lr.ph, label %107
.lr.ph: ; preds = %88
br label %95
95: ; preds = %.lr.ph, %98
%96 = load i32, ptr %7, align 4
%97 = mul nsw i32 %96, 10
store i32 %97, ptr %7, align 4
br label %98
98: ; preds = %95
%99 = load i32, ptr %6, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp ne i32 %105, 0
br i1 %106, label %95, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %98
br label %107
107: ; preds = %._crit_edge, %88
%108 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%109 = call i64 @strtoll(ptr noundef %108, ptr noundef null, i32 noundef 10)
%110 = sitofp i64 %109 to double
store double %110, ptr %9, align 8
%111 = load i32, ptr %7, align 4
%112 = sitofp i32 %111 to double
%113 = load double, ptr %9, align 8
%114 = fdiv double %113, %112
store double %114, ptr %9, align 8
br label %122
115: ; preds = %42
%116 = load ptr, ptr %4, align 8
%117 = icmp ne ptr %116, null
br i1 %117, label %118, label %121
118: ; preds = %115
%119 = load ptr, ptr %3, align 8
%120 = load ptr, ptr %4, align 8
store ptr %119, ptr %120, align 8
br label %121
121: ; preds = %118, %115
br label %122
122: ; preds = %121, %107
%123 = load double, ptr %8, align 8
%124 = load double, ptr %9, align 8
%125 = fadd double %123, %124
%126 = load i32, ptr %10, align 4
%127 = sitofp i32 %126 to double
%128 = fmul double %125, %127
ret double %128
}
declare i64 @strtoll(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpee3nwti2.c'
source_filename = "/tmp/tmpee3nwti2.c"
target datalayout = "e-m:e-p270: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/tmpee3nwti2.c"
target datalayout = "e-m:e-p270: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/tmpdq88n6dl.c'
source_filename = "/tmp/tmpdq88n6dl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 7, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 100
br i1 %6, label %7, label %15
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 100
%10 = mul nsw i32 %9, 5
%11 = add nsw i32 %10, 140
%12 = add nsw i32 %11, 20
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %3, align 4
br label %35
15: ; preds = %0
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 30
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = sub nsw i32 %19, 30
%21 = mul nsw i32 %20, 2
%22 = add nsw i32 %21, 20
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %3, align 4
br label %34
25: ; preds = %15
%26 = load i32, ptr %2, align 4
%27 = icmp sgt i32 %26, 10
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 10
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %28, %25
br label %34
34: ; preds = %33, %18
br label %35
35: ; preds = %34, %7
%36 = load i32, ptr %3, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdq88n6dl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 7, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 100
br i1 %6, label %7, label %15
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 100
%10 = mul nsw i32 %9, 5
%11 = add nsw i32 %10, 140
%12 = add nsw i32 %11, 20
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %3, align 4
br label %35
15: ; preds = %0
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 30
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = sub nsw i32 %19, 30
%21 = mul nsw i32 %20, 2
%22 = add nsw i32 %21, 20
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %3, align 4
br label %34
25: ; preds = %15
%26 = load i32, ptr %2, align 4
%27 = icmp sgt i32 %26, 10
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 10
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %28, %25
br label %34
34: ; preds = %33, %18
br label %35
35: ; preds = %34, %7
%36 = load i32, ptr %3, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzpxh19xd.c'
source_filename = "/tmp/tmpzpxh19xd.c"
target datalayout = "e-m:e-p270: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 @extractuser(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 64)
store ptr %5, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store i8 0, ptr %8, align 1
br label %9
9: ; preds = %7, %1
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpxh19xd.c"
target datalayout = "e-m:e-p270: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 @extractuser(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 64)
store ptr %5, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store i8 0, ptr %8, align 1
br label %9
9: ; preds = %7, %1
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplqm2tizd.c'
source_filename = "/tmp/tmplqm2tizd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@O_DIRECTORY = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@O_CLOEXEC = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__opendir2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr @O_RDONLY, align 4
%11 = load i32, ptr @O_DIRECTORY, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr @O_NONBLOCK, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @O_CLOEXEC, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef %9, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %20
19: ; preds = %2
store ptr null, ptr %3, align 8
br label %34
20: ; preds = %2
%21 = load i32, ptr %7, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = call ptr @__opendir_common(i32 noundef %21, ptr noundef %22, i32 noundef %23)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = load i32, ptr @errno, align 4
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = load i32, ptr %8, align 4
store i32 %31, ptr @errno, align 4
br label %32
32: ; preds = %27, %20
%33 = load ptr, ptr %6, align 8
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %32, %19
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @__opendir_common(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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/tmplqm2tizd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@O_DIRECTORY = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@O_CLOEXEC = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__opendir2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr @O_RDONLY, align 4
%11 = load i32, ptr @O_DIRECTORY, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr @O_NONBLOCK, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @O_CLOEXEC, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef %9, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %20
19: ; preds = %2
store ptr null, ptr %3, align 8
br label %34
20: ; preds = %2
%21 = load i32, ptr %7, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = call ptr @__opendir_common(i32 noundef %21, ptr noundef %22, i32 noundef %23)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = load i32, ptr @errno, align 4
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = load i32, ptr %8, align 4
store i32 %31, ptr @errno, align 4
br label %32
32: ; preds = %27, %20
%33 = load ptr, ptr %6, align 8
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %32, %19
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @__opendir_common(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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/tmp786e3jeq.c'
source_filename = "/tmp/tmp786e3jeq.c"
target datalayout = "e-m:e-p270: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 @disp_files(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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 ptr %3, ptr %8, align 8
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %8, align 8
%15 = call i32 @size_files(i32 noundef %13, ptr noundef %14)
store i32 %15, ptr %12, align 4
store i32 0, ptr %11, align 4
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @ft_atoi(ptr noundef %18)
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %7, align 4
%22 = load ptr, ptr %8, align 8
%23 = call i32 @print_names(i32 noundef %20, i32 noundef %21, ptr noundef %22)
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %52
31: ; preds = %4
br label %32
32: ; preds = %37, %31
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp ne i32 %33, %35
br i1 %36, label %37, label %44
37: ; preds = %32
%38 = load i32, ptr %6, align 4
%39 = call i64 @read(i32 noundef %38, ptr noundef %9, i32 noundef 1)
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = add nsw i64 %41, %39
%43 = trunc i64 %42 to i32
store i32 %43, ptr %11, align 4
br label %32, !llvm.loop !6
44: ; preds = %32
br label %45
45: ; preds = %49, %44
%46 = load i32, ptr %6, align 4
%47 = call i64 @read(i32 noundef %46, ptr noundef %9, i32 noundef 1)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %45
%50 = call i32 @write(i32 noundef 1, ptr noundef %9, i32 noundef 1)
br label %45, !llvm.loop !8
51: ; preds = %45
br label %74
52: ; preds = %4
br label %53
53: ; preds = %59, %52
%54 = load i32, ptr %11, align 4
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %10, align 4
%57 = sub nsw i32 %55, %56
%58 = icmp slt i32 %54, %57
br i1 %58, label %59, label %66
59: ; preds = %53
%60 = load i32, ptr %6, align 4
%61 = call i64 @read(i32 noundef %60, ptr noundef %9, i32 noundef 1)
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = add nsw i64 %63, %61
%65 = trunc i64 %64 to i32
store i32 %65, ptr %11, align 4
br label %53, !llvm.loop !9
66: ; preds = %53
br label %67
67: ; preds = %71, %66
%68 = load i32, ptr %6, align 4
%69 = call i64 @read(i32 noundef %68, ptr noundef %9, i32 noundef 1)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = call i32 @write(i32 noundef 1, ptr noundef %9, i32 noundef 1)
br label %67, !llvm.loop !10
73: ; preds = %67
br label %74
74: ; preds = %73, %51
ret void
}
declare i32 @size_files(i32 noundef, ptr noundef) #1
declare i32 @ft_atoi(ptr noundef) #1
declare i32 @print_names(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(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"}
!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/tmp786e3jeq.c"
target datalayout = "e-m:e-p270: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 @disp_files(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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 ptr %3, ptr %8, align 8
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %8, align 8
%15 = call i32 @size_files(i32 noundef %13, ptr noundef %14)
store i32 %15, ptr %12, align 4
store i32 0, ptr %11, align 4
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @ft_atoi(ptr noundef %18)
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %7, align 4
%22 = load ptr, ptr %8, align 8
%23 = call i32 @print_names(i32 noundef %20, i32 noundef %21, ptr noundef %22)
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %57
31: ; preds = %4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %10, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp ne i32 %32, %34
br i1 %35, label %.lr.ph5, label %47
.lr.ph5: ; preds = %31
br label %36
36: ; preds = %.lr.ph5, %36
%37 = load i32, ptr %6, align 4
%38 = call i64 @read(i32 noundef %37, ptr noundef %9, i32 noundef 1)
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = add nsw i64 %40, %38
%42 = trunc i64 %41 to i32
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %10, align 4
%45 = sub nsw i32 %44, 1
%46 = icmp ne i32 %43, %45
br i1 %46, label %36, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %36
br label %47
47: ; preds = %._crit_edge6, %31
%48 = load i32, ptr %6, align 4
%49 = call i64 @read(i32 noundef %48, ptr noundef %9, i32 noundef 1)
%50 = icmp ne i64 %49, 0
br i1 %50, label %.lr.ph8, label %56
.lr.ph8: ; preds = %47
br label %51
51: ; preds = %.lr.ph8, %51
%52 = call i32 @write(i32 noundef 1, ptr noundef %9, i32 noundef 1)
%53 = load i32, ptr %6, align 4
%54 = call i64 @read(i32 noundef %53, ptr noundef %9, i32 noundef 1)
%55 = icmp ne i64 %54, 0
br i1 %55, label %51, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %51
br label %56
56: ; preds = %._crit_edge9, %47
br label %85
57: ; preds = %4
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %59, %60
%62 = icmp slt i32 %58, %61
br i1 %62, label %.lr.ph, label %75
.lr.ph: ; preds = %57
br label %63
63: ; preds = %.lr.ph, %63
%64 = load i32, ptr %6, align 4
%65 = call i64 @read(i32 noundef %64, ptr noundef %9, i32 noundef 1)
%66 = load i32, ptr %11, align 4
%67 = sext i32 %66 to i64
%68 = add nsw i64 %67, %65
%69 = trunc i64 %68 to i32
store i32 %69, ptr %11, align 4
%70 = load i32, ptr %11, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %10, align 4
%73 = sub nsw i32 %71, %72
%74 = icmp slt i32 %70, %73
br i1 %74, label %63, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %63
br label %75
75: ; preds = %._crit_edge, %57
%76 = load i32, ptr %6, align 4
%77 = call i64 @read(i32 noundef %76, ptr noundef %9, i32 noundef 1)
%78 = icmp ne i64 %77, 0
br i1 %78, label %.lr.ph2, label %84
.lr.ph2: ; preds = %75
br label %79
79: ; preds = %.lr.ph2, %79
%80 = call i32 @write(i32 noundef 1, ptr noundef %9, i32 noundef 1)
%81 = load i32, ptr %6, align 4
%82 = call i64 @read(i32 noundef %81, ptr noundef %9, i32 noundef 1)
%83 = icmp ne i64 %82, 0
br i1 %83, label %79, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %79
br label %84
84: ; preds = %._crit_edge3, %75
br label %85
85: ; preds = %84, %56
ret void
}
declare i32 @size_files(i32 noundef, ptr noundef) #1
declare i32 @ft_atoi(ptr noundef) #1
declare i32 @print_names(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpsieysnph.c'
source_filename = "/tmp/tmpsieysnph.c"
target datalayout = "e-m:e-p270: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/tmpsieysnph.c"
target datalayout = "e-m:e-p270: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/tmpxtzea6ei.c'
source_filename = "/tmp/tmpxtzea6ei.c"
target datalayout = "e-m:e-p270: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 @in_cksum(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %24, %2
%7 = load i64, ptr %4, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %10, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = add nsw i64 %13, %11
%15 = trunc i64 %14 to i32
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sgt i32 %16, 65535
br i1 %17, label %18, label %24
18: ; preds = %9
%19 = load i32, ptr %5, align 4
%20 = ashr i32 %19, 16
%21 = load i32, ptr %5, align 4
%22 = and i32 %21, 65535
%23 = add nsw i32 %20, %22
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %18, %9
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i64, ptr %25, i64 1
store ptr %26, ptr %3, align 8
%27 = load i64, ptr %4, align 8
%28 = sub i64 %27, 8
store i64 %28, ptr %4, align 8
br label %6, !llvm.loop !6
29: ; preds = %6
%30 = load i32, ptr %5, align 4
%31 = xor i32 %30, -1
%32 = and i32 %31, 65535
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxtzea6ei.c"
target datalayout = "e-m:e-p270: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 @in_cksum(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i64, ptr %4, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %23
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %9, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = add nsw i64 %12, %10
%14 = trunc i64 %13 to i32
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 65535
br i1 %16, label %17, label %23
17: ; preds = %8
%18 = load i32, ptr %5, align 4
%19 = ashr i32 %18, 16
%20 = load i32, ptr %5, align 4
%21 = and i32 %20, 65535
%22 = add nsw i32 %19, %21
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %17, %8
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i64, ptr %24, i64 1
store ptr %25, ptr %3, align 8
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 8
store i64 %27, ptr %4, align 8
%28 = load i64, ptr %4, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %2
%31 = load i32, ptr %5, align 4
%32 = xor i32 %31, -1
%33 = and i32 %32, 65535
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp_8pyn93j.c'
source_filename = "/tmp/tmp_8pyn93j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8pyn93j.c"
target datalayout = "e-m:e-p270: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/tmppexzjr9b.c'
source_filename = "/tmp/tmppexzjr9b.c"
target datalayout = "e-m:e-p270: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 @str_is_identical(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @slash_followed(ptr noundef %11)
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %14, %2
%18 = load ptr, ptr %4, align 8
%19 = call i32 @slash_followed(ptr noundef %18)
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %21, %17
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp sge i32 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = load i32, ptr %5, align 4
br label %34
32: ; preds = %24
%33 = load i32, ptr %6, align 4
br label %34
34: ; preds = %32, %30
%35 = phi i32 [ %31, %30 ], [ %33, %32 ]
%36 = call i32 @strncmp(ptr noundef %25, ptr noundef %26, i32 noundef %35)
ret i32 %36
}
declare i32 @strlen(ptr noundef) #1
declare i32 @slash_followed(ptr noundef) #1
declare i32 @strncmp(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/tmppexzjr9b.c"
target datalayout = "e-m:e-p270: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 @str_is_identical(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @slash_followed(ptr noundef %11)
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %14, %2
%18 = load ptr, ptr %4, align 8
%19 = call i32 @slash_followed(ptr noundef %18)
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %21, %17
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp sge i32 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = load i32, ptr %5, align 4
br label %34
32: ; preds = %24
%33 = load i32, ptr %6, align 4
br label %34
34: ; preds = %32, %30
%35 = phi i32 [ %31, %30 ], [ %33, %32 ]
%36 = call i32 @strncmp(ptr noundef %25, ptr noundef %26, i32 noundef %35)
ret i32 %36
}
declare i32 @strlen(ptr noundef) #1
declare i32 @slash_followed(ptr noundef) #1
declare i32 @strncmp(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/tmprxzr5iwy.c'
source_filename = "/tmp/tmprxzr5iwy.c"
target datalayout = "e-m:e-p270: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, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @timeused(i32 %0, i64 %1, i32 %2, i64 %3) #0 {
%5 = alloca %struct.timeval, align 8
%6 = alloca %struct.timeval, align 8
%7 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0
store i32 %0, ptr %7, align 8
%8 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1
store i64 %1, ptr %8, align 8
%9 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0
store i32 %2, ptr %9, align 8
%10 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1
store i64 %3, ptr %10, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%12 = load i32, ptr %11, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = sub nsw i32 %12, %14
%16 = mul nsw i32 1000000, %15
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = add nsw i64 %17, %19
%21 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%22 = load i64, ptr %21, align 8
%23 = sub nsw i64 %20, %22
%24 = sitofp i64 %23 to float
%25 = fdiv float %24, 1.000000e+06
ret float %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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxzr5iwy.c"
target datalayout = "e-m:e-p270: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, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @timeused(i32 %0, i64 %1, i32 %2, i64 %3) #0 {
%5 = alloca %struct.timeval, align 8
%6 = alloca %struct.timeval, align 8
%7 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0
store i32 %0, ptr %7, align 8
%8 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1
store i64 %1, ptr %8, align 8
%9 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0
store i32 %2, ptr %9, align 8
%10 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1
store i64 %3, ptr %10, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%12 = load i32, ptr %11, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = sub nsw i32 %12, %14
%16 = mul nsw i32 1000000, %15
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = add nsw i64 %17, %19
%21 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%22 = load i64, ptr %21, align 8
%23 = sub nsw i64 %20, %22
%24 = sitofp i64 %23 to float
%25 = fdiv float %24, 1.000000e+06
ret float %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"}
|
; ModuleID = '/tmp/tmp142l57_t.c'
source_filename = "/tmp/tmp142l57_t.c"
target datalayout = "e-m:e-p270: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 [277 x i8] c"usage: %s\0A\09 -r Run a sample long-running rotation operation\0A\09 (note: for now the provided -r option tests only performance but not correctness.)\0A\09 -t tests/default\09Run all tests in the testfile tests/default\0A\09 -n 1 -t tests/default\09Run test 1 in the testfile tests/default\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(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/tmp142l57_t.c"
target datalayout = "e-m:e-p270: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 [277 x i8] c"usage: %s\0A\09 -r Run a sample long-running rotation operation\0A\09 (note: for now the provided -r option tests only performance but not correctness.)\0A\09 -t tests/default\09Run all tests in the testfile tests/default\0A\09 -n 1 -t tests/default\09Run test 1 in the testfile tests/default\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(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/tmpp7yakmk4.c'
source_filename = "/tmp/tmpp7yakmk4.c"
target datalayout = "e-m:e-p270: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.sgrp = type { ptr, ptr, ptr, ptr }
@EINVAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s:%s:\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @putsgent(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.sgrp, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %37, label %13
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds %struct.sgrp, ptr %14, i32 0, i32 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @__nss_valid_field(ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %37
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.sgrp, ptr %20, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @__nss_valid_field(ptr noundef %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %19
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.sgrp, ptr %26, i32 0, i32 2
%28 = load ptr, ptr %27, align 8
%29 = call i32 @__nss_valid_list_field(ptr noundef %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %25
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds %struct.sgrp, ptr %32, i32 0, i32 3
%34 = load ptr, ptr %33, align 8
%35 = call i32 @__nss_valid_list_field(ptr noundef %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %31, %25, %19, %13, %2
%38 = load i32, ptr @EINVAL, align 4
%39 = call i32 @__set_errno(i32 noundef %38)
store i32 -1, ptr %3, align 4
br label %140
40: ; preds = %31
%41 = load ptr, ptr %5, align 8
%42 = call i32 @_IO_flockfile(ptr noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds %struct.sgrp, ptr %44, i32 0, i32 0
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds %struct.sgrp, ptr %47, i32 0, i32 1
%49 = load ptr, ptr %48, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %55
51: ; preds = %40
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds %struct.sgrp, ptr %52, i32 0, i32 1
%54 = load ptr, ptr %53, align 8
br label %56
55: ; preds = %40
br label %56
56: ; preds = %55, %51
%57 = phi ptr [ %54, %51 ], [ @.str.1, %55 ]
%58 = call i64 @fprintf(ptr noundef %43, ptr noundef @.str, ptr noundef %46, ptr noundef %57)
%59 = icmp slt i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %56
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
br label %63
63: ; preds = %60, %56
store i32 1, ptr %7, align 4
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds %struct.sgrp, ptr %64, i32 0, i32 2
%66 = load ptr, ptr %65, align 8
store ptr %66, ptr %8, align 8
%67 = load ptr, ptr %8, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %90
69: ; preds = %63
br label %70
70: ; preds = %88, %69
%71 = load ptr, ptr %8, align 8
%72 = load ptr, ptr %71, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %89
74: ; preds = %70
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %7, align 4
%77 = icmp ne i32 %76, 0
%78 = zext i1 %77 to i64
%79 = select i1 %77, ptr @.str.1, ptr @.str.3
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds ptr, ptr %80, i32 1
store ptr %81, ptr %8, align 8
%82 = load ptr, ptr %80, align 8
%83 = call i64 @fprintf(ptr noundef %75, ptr noundef @.str.2, ptr noundef %79, ptr noundef %82)
%84 = icmp slt i64 %83, 0
br i1 %84, label %85, label %88
85: ; preds = %74
%86 = load i32, ptr %6, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %6, align 4
br label %89
88: ; preds = %74
store i32 0, ptr %7, align 4
br label %70, !llvm.loop !6
89: ; preds = %85, %70
br label %90
90: ; preds = %89, %63
%91 = load ptr, ptr %5, align 8
%92 = call i64 @putc_unlocked(i8 noundef signext 58, ptr noundef %91)
%93 = load i64, ptr @EOF, align 8
%94 = icmp eq i64 %92, %93
br i1 %94, label %95, label %98
95: ; preds = %90
%96 = load i32, ptr %6, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %6, align 4
br label %98
98: ; preds = %95, %90
store i32 1, ptr %7, align 4
%99 = load ptr, ptr %4, align 8
%100 = getelementptr inbounds %struct.sgrp, ptr %99, i32 0, i32 3
%101 = load ptr, ptr %100, align 8
store ptr %101, ptr %8, align 8
%102 = load ptr, ptr %8, align 8
%103 = icmp ne ptr %102, null
br i1 %103, label %104, label %125
104: ; preds = %98
br label %105
105: ; preds = %123, %104
%106 = load ptr, ptr %8, align 8
%107 = load ptr, ptr %106, align 8
%108 = icmp ne ptr %107, null
br i1 %108, label %109, label %124
109: ; preds = %105
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %7, align 4
%112 = icmp ne i32 %111, 0
%113 = zext i1 %112 to i64
%114 = select i1 %112, ptr @.str.1, ptr @.str.3
%115 = load ptr, ptr %8, align 8
%116 = getelementptr inbounds ptr, ptr %115, i32 1
store ptr %116, ptr %8, align 8
%117 = load ptr, ptr %115, align 8
%118 = call i64 @fprintf(ptr noundef %110, ptr noundef @.str.2, ptr noundef %114, ptr noundef %117)
%119 = icmp slt i64 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %109
%121 = load i32, ptr %6, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %6, align 4
br label %124
123: ; preds = %109
store i32 0, ptr %7, align 4
br label %105, !llvm.loop !8
124: ; preds = %120, %105
br label %125
125: ; preds = %124, %98
%126 = load ptr, ptr %5, align 8
%127 = call i64 @putc_unlocked(i8 noundef signext 10, ptr noundef %126)
%128 = load i64, ptr @EOF, align 8
%129 = icmp eq i64 %127, %128
br i1 %129, label %130, label %133
130: ; preds = %125
%131 = load i32, ptr %6, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %6, align 4
br label %133
133: ; preds = %130, %125
%134 = load ptr, ptr %5, align 8
%135 = call i32 @_IO_funlockfile(ptr noundef %134)
%136 = load i32, ptr %6, align 4
%137 = icmp ne i32 %136, 0
%138 = zext i1 %137 to i64
%139 = select i1 %137, i32 -1, i32 0
store i32 %139, ptr %3, align 4
br label %140
140: ; preds = %133, %37
%141 = load i32, ptr %3, align 4
ret i32 %141
}
declare i32 @__nss_valid_field(ptr noundef) #1
declare i32 @__nss_valid_list_field(ptr noundef) #1
declare i32 @__set_errno(i32 noundef) #1
declare i32 @_IO_flockfile(ptr noundef) #1
declare i64 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @putc_unlocked(i8 noundef signext, ptr noundef) #1
declare i32 @_IO_funlockfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp7yakmk4.c"
target datalayout = "e-m:e-p270: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.sgrp = type { ptr, ptr, ptr, ptr }
@EINVAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s:%s:\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @putsgent(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.sgrp, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %37, label %13
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds %struct.sgrp, ptr %14, i32 0, i32 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @__nss_valid_field(ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %37
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.sgrp, ptr %20, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @__nss_valid_field(ptr noundef %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %19
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.sgrp, ptr %26, i32 0, i32 2
%28 = load ptr, ptr %27, align 8
%29 = call i32 @__nss_valid_list_field(ptr noundef %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %25
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds %struct.sgrp, ptr %32, i32 0, i32 3
%34 = load ptr, ptr %33, align 8
%35 = call i32 @__nss_valid_list_field(ptr noundef %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %31, %25, %19, %13, %2
%38 = load i32, ptr @EINVAL, align 4
%39 = call i32 @__set_errno(i32 noundef %38)
store i32 -1, ptr %3, align 4
br label %144
40: ; preds = %31
%41 = load ptr, ptr %5, align 8
%42 = call i32 @_IO_flockfile(ptr noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds %struct.sgrp, ptr %44, i32 0, i32 0
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds %struct.sgrp, ptr %47, i32 0, i32 1
%49 = load ptr, ptr %48, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %55
51: ; preds = %40
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds %struct.sgrp, ptr %52, i32 0, i32 1
%54 = load ptr, ptr %53, align 8
br label %56
55: ; preds = %40
br label %56
56: ; preds = %55, %51
%57 = phi ptr [ %54, %51 ], [ @.str.1, %55 ]
%58 = call i64 @fprintf(ptr noundef %43, ptr noundef @.str, ptr noundef %46, ptr noundef %57)
%59 = icmp slt i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %56
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
br label %63
63: ; preds = %60, %56
store i32 1, ptr %7, align 4
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds %struct.sgrp, ptr %64, i32 0, i32 2
%66 = load ptr, ptr %65, align 8
store ptr %66, ptr %8, align 8
%67 = load ptr, ptr %8, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %92
69: ; preds = %63
%70 = load ptr, ptr %8, align 8
%71 = load ptr, ptr %70, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %69
br label %73
73: ; preds = %.lr.ph, %87
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %7, align 4
%76 = icmp ne i32 %75, 0
%77 = zext i1 %76 to i64
%78 = select i1 %76, ptr @.str.1, ptr @.str.3
%79 = load ptr, ptr %8, align 8
%80 = getelementptr inbounds ptr, ptr %79, i32 1
store ptr %80, ptr %8, align 8
%81 = load ptr, ptr %79, align 8
%82 = call i64 @fprintf(ptr noundef %74, ptr noundef @.str.2, ptr noundef %78, ptr noundef %81)
%83 = icmp slt i64 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %73
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %6, align 4
br label %91
87: ; preds = %73
store i32 0, ptr %7, align 4
%88 = load ptr, ptr %8, align 8
%89 = load ptr, ptr %88, align 8
%90 = icmp ne ptr %89, null
br i1 %90, label %73, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %87
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %69
br label %91
91: ; preds = %.loopexit1, %84
br label %92
92: ; preds = %91, %63
%93 = load ptr, ptr %5, align 8
%94 = call i64 @putc_unlocked(i8 noundef signext 58, ptr noundef %93)
%95 = load i64, ptr @EOF, align 8
%96 = icmp eq i64 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %92
%98 = load i32, ptr %6, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %6, align 4
br label %100
100: ; preds = %97, %92
store i32 1, ptr %7, align 4
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds %struct.sgrp, ptr %101, i32 0, i32 3
%103 = load ptr, ptr %102, align 8
store ptr %103, ptr %8, align 8
%104 = load ptr, ptr %8, align 8
%105 = icmp ne ptr %104, null
br i1 %105, label %106, label %129
106: ; preds = %100
%107 = load ptr, ptr %8, align 8
%108 = load ptr, ptr %107, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %106
br label %110
110: ; preds = %.lr.ph2, %124
%111 = load ptr, ptr %5, align 8
%112 = load i32, ptr %7, align 4
%113 = icmp ne i32 %112, 0
%114 = zext i1 %113 to i64
%115 = select i1 %113, ptr @.str.1, ptr @.str.3
%116 = load ptr, ptr %8, align 8
%117 = getelementptr inbounds ptr, ptr %116, i32 1
store ptr %117, ptr %8, align 8
%118 = load ptr, ptr %116, align 8
%119 = call i64 @fprintf(ptr noundef %111, ptr noundef @.str.2, ptr noundef %115, ptr noundef %118)
%120 = icmp slt i64 %119, 0
br i1 %120, label %121, label %124
121: ; preds = %110
%122 = load i32, ptr %6, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %6, align 4
br label %128
124: ; preds = %110
store i32 0, ptr %7, align 4
%125 = load ptr, ptr %8, align 8
%126 = load ptr, ptr %125, align 8
%127 = icmp ne ptr %126, null
br i1 %127, label %110, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %124
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %106
br label %128
128: ; preds = %.loopexit, %121
br label %129
129: ; preds = %128, %100
%130 = load ptr, ptr %5, align 8
%131 = call i64 @putc_unlocked(i8 noundef signext 10, ptr noundef %130)
%132 = load i64, ptr @EOF, align 8
%133 = icmp eq i64 %131, %132
br i1 %133, label %134, label %137
134: ; preds = %129
%135 = load i32, ptr %6, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %6, align 4
br label %137
137: ; preds = %134, %129
%138 = load ptr, ptr %5, align 8
%139 = call i32 @_IO_funlockfile(ptr noundef %138)
%140 = load i32, ptr %6, align 4
%141 = icmp ne i32 %140, 0
%142 = zext i1 %141 to i64
%143 = select i1 %141, i32 -1, i32 0
store i32 %143, ptr %3, align 4
br label %144
144: ; preds = %137, %37
%145 = load i32, ptr %3, align 4
ret i32 %145
}
declare i32 @__nss_valid_field(ptr noundef) #1
declare i32 @__nss_valid_list_field(ptr noundef) #1
declare i32 @__set_errno(i32 noundef) #1
declare i32 @_IO_flockfile(ptr noundef) #1
declare i64 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @putc_unlocked(i8 noundef signext, ptr noundef) #1
declare i32 @_IO_funlockfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaqjiqfqr.c'
source_filename = "/tmp/tmpaqjiqfqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaqjiqfqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3vp3pd_4.c'
source_filename = "/tmp/tmp3vp3pd_4.c"
target datalayout = "e-m:e-p270: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 @sensor_init() #0 {
%1 = call i32 (...) @sensor_vectors_init()
%2 = call i32 (...) @sensor_tsc_init()
ret void
}
declare i32 @sensor_vectors_init(...) #1
declare i32 @sensor_tsc_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp3vp3pd_4.c"
target datalayout = "e-m:e-p270: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 @sensor_init() #0 {
%1 = call i32 (...) @sensor_vectors_init()
%2 = call i32 (...) @sensor_tsc_init()
ret void
}
declare i32 @sensor_vectors_init(...) #1
declare i32 @sensor_tsc_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmps4wkvzap.c'
source_filename = "/tmp/tmps4wkvzap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"<A HREF=\22%s\22>%s</A>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @url_html(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @printf(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/tmps4wkvzap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"<A HREF=\22%s\22>%s</A>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @url_html(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @printf(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/tmp6oayfqt5.c'
source_filename = "/tmp/tmp6oayfqt5.c"
target datalayout = "e-m:e-p270: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 @tres(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @pow(float noundef %3, i32 noundef 3)
%5 = sitofp i32 %4 to double
%6 = fmul double 1.256000e+01, %5
%7 = fdiv double %6, 3.000000e+00
%8 = fptrunc double %7 to float
ret float %8
}
declare i32 @pow(float 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/tmp6oayfqt5.c"
target datalayout = "e-m:e-p270: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 @tres(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @pow(float noundef %3, i32 noundef 3)
%5 = sitofp i32 %4 to double
%6 = fmul double 1.256000e+01, %5
%7 = fdiv double %6, 3.000000e+00
%8 = fptrunc double %7 to float
ret float %8
}
declare i32 @pow(float 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/tmpzcj5c9_b.c'
source_filename = "/tmp/tmpzcj5c9_b.c"
target datalayout = "e-m:e-p270: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 ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store ptr %2, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 4, %7
%9 = trunc i64 %8 to i32
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcj5c9_b.c"
target datalayout = "e-m:e-p270: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 ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store ptr %2, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 4, %7
%9 = trunc i64 %8 to i32
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpza9ncw8p.c'
source_filename = "/tmp/tmpza9ncw8p.c"
target datalayout = "e-m:e-p270: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 @lr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%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 %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %5, align 4
%14 = call i64 @calloc(i32 noundef %13, i32 noundef 4)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %8, align 8
%16 = load i32, ptr %6, align 4
%17 = call i64 @calloc(i32 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store i32 0, ptr %12, align 4
br label %19
19: ; preds = %28, %3
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %12, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 0, ptr %27, align 4
br label %28
28: ; preds = %23
%29 = load i32, ptr %12, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %12, align 4
br label %19, !llvm.loop !6
31: ; preds = %19
store i32 0, ptr %11, align 4
br label %32
32: ; preds = %87, %31
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %90
36: ; preds = %32
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 0, ptr %40, align 4
store i32 0, ptr %12, align 4
br label %41
41: ; preds = %76, %36
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %79
45: ; preds = %41
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = add nsw i32 %59, %54
store i32 %60, ptr %58, align 4
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %12, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %9, align 8
%71 = load i32, ptr %12, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = add nsw i32 %74, %69
store i32 %75, ptr %73, align 4
br label %76
76: ; preds = %45
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %12, align 4
br label %41, !llvm.loop !8
79: ; preds = %41
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %10, align 4
br label %87
87: ; preds = %79
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %11, align 4
br label %32, !llvm.loop !9
90: ; preds = %32
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %11, align 4
br label %91
91: ; preds = %132, %90
%92 = load i32, ptr %11, align 4
%93 = load i32, ptr %5, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %135
95: ; preds = %91
%96 = load ptr, ptr %4, align 8
%97 = load i32, ptr %11, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds ptr, ptr %96, i64 %98
%100 = load ptr, ptr %99, align 8
%101 = load ptr, ptr %8, align 8
%102 = load i32, ptr %11, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %11, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds ptr, ptr %106, i64 %108
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %6, align 4
%112 = load i32, ptr %5, align 4
%113 = load i32, ptr %6, align 4
%114 = mul nsw i32 %112, %113
%115 = call i64 @logL(ptr noundef %100, i32 noundef %105, ptr noundef %110, i32 noundef %111, i32 noundef %114)
%116 = load ptr, ptr %9, align 8
%117 = load i32, ptr %10, align 4
%118 = load ptr, ptr %4, align 8
%119 = load i32, ptr %11, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %118, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr %6, align 4
%124 = load i32, ptr %5, align 4
%125 = load i32, ptr %6, align 4
%126 = mul nsw i32 %124, %125
%127 = call i64 @logL(ptr noundef %116, i32 noundef %117, ptr noundef %122, i32 noundef %123, i32 noundef %126)
%128 = sub nsw i64 %115, %127
%129 = sitofp i64 %128 to double
%130 = load double, ptr %7, align 8
%131 = fadd double %130, %129
store double %131, ptr %7, align 8
br label %132
132: ; preds = %95
%133 = load i32, ptr %11, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %11, align 4
br label %91, !llvm.loop !10
135: ; preds = %91
%136 = load ptr, ptr %8, align 8
%137 = call i32 @free(ptr noundef %136)
%138 = load ptr, ptr %9, align 8
%139 = call i32 @free(ptr noundef %138)
%140 = load double, ptr %7, align 8
%141 = fmul double 2.000000e+00, %140
ret double %141
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i64 @logL(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpza9ncw8p.c"
target datalayout = "e-m:e-p270: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 @lr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%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 %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %5, align 4
%14 = call i64 @calloc(i32 noundef %13, i32 noundef 4)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %8, align 8
%16 = load i32, ptr %6, align 4
%17 = call i64 @calloc(i32 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store i32 0, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %27
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %12, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
store i32 0, ptr %26, align 4
br label %27
27: ; preds = %22
%28 = load i32, ptr %12, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %3
store i32 0, ptr %11, align 4
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph5, label %96
.lr.ph5: ; preds = %33
br label %37
37: ; preds = %.lr.ph5, %90
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 0, ptr %41, align 4
store i32 0, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph2, label %82
.lr.ph2: ; preds = %37
br label %45
45: ; preds = %.lr.ph2, %76
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = add nsw i32 %59, %54
store i32 %60, ptr %58, align 4
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %12, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %9, align 8
%71 = load i32, ptr %12, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = add nsw i32 %74, %69
store i32 %75, ptr %73, align 4
br label %76
76: ; preds = %45
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %12, align 4
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr %6, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %45, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %82
82: ; preds = %._crit_edge3, %37
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load i32, ptr %10, align 4
%89 = add nsw i32 %88, %87
store i32 %89, ptr %10, align 4
br label %90
90: ; preds = %82
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %11, align 4
%93 = load i32, ptr %11, align 4
%94 = load i32, ptr %5, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %37, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %90
br label %96
96: ; preds = %._crit_edge6, %33
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %11, align 4
%97 = load i32, ptr %11, align 4
%98 = load i32, ptr %5, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %.lr.ph8, label %143
.lr.ph8: ; preds = %96
br label %100
100: ; preds = %.lr.ph8, %137
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %11, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds ptr, ptr %101, i64 %103
%105 = load ptr, ptr %104, align 8
%106 = load ptr, ptr %8, align 8
%107 = load i32, ptr %11, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = load ptr, ptr %4, align 8
%112 = load i32, ptr %11, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds ptr, ptr %111, i64 %113
%115 = load ptr, ptr %114, align 8
%116 = load i32, ptr %6, align 4
%117 = load i32, ptr %5, align 4
%118 = load i32, ptr %6, align 4
%119 = mul nsw i32 %117, %118
%120 = call i64 @logL(ptr noundef %105, i32 noundef %110, ptr noundef %115, i32 noundef %116, i32 noundef %119)
%121 = load ptr, ptr %9, align 8
%122 = load i32, ptr %10, align 4
%123 = load ptr, ptr %4, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds ptr, ptr %123, i64 %125
%127 = load ptr, ptr %126, align 8
%128 = load i32, ptr %6, align 4
%129 = load i32, ptr %5, align 4
%130 = load i32, ptr %6, align 4
%131 = mul nsw i32 %129, %130
%132 = call i64 @logL(ptr noundef %121, i32 noundef %122, ptr noundef %127, i32 noundef %128, i32 noundef %131)
%133 = sub nsw i64 %120, %132
%134 = sitofp i64 %133 to double
%135 = load double, ptr %7, align 8
%136 = fadd double %135, %134
store double %136, ptr %7, align 8
br label %137
137: ; preds = %100
%138 = load i32, ptr %11, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %11, align 4
%140 = load i32, ptr %11, align 4
%141 = load i32, ptr %5, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %100, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %137
br label %143
143: ; preds = %._crit_edge9, %96
%144 = load ptr, ptr %8, align 8
%145 = call i32 @free(ptr noundef %144)
%146 = load ptr, ptr %9, align 8
%147 = call i32 @free(ptr noundef %146)
%148 = load double, ptr %7, align 8
%149 = fmul double 2.000000e+00, %148
ret double %149
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i64 @logL(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpjl9zs_15.c'
source_filename = "/tmp/tmpjl9zs_15.c"
target datalayout = "e-m:e-p270: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 @getStringRex(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @isStringRex(ptr noundef %10, ptr noundef %7, ptr noundef %8)
%12 = icmp eq i32 %11, 1
%13 = zext i1 %12 to i32
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %35
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %17, i64 %21
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i32, ptr %8, align 4
%30 = call i32 @memcpy(ptr noundef %24, ptr noundef %28, i32 noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
br label %36
35: ; preds = %3
br label %36
36: ; preds = %35, %16
%37 = load i32, ptr %9, align 4
ret i32 %37
}
declare i32 @isStringRex(ptr noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjl9zs_15.c"
target datalayout = "e-m:e-p270: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 @getStringRex(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @isStringRex(ptr noundef %10, ptr noundef %7, ptr noundef %8)
%12 = icmp eq i32 %11, 1
%13 = zext i1 %12 to i32
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %35
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %17, i64 %21
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i32, ptr %8, align 4
%30 = call i32 @memcpy(ptr noundef %24, ptr noundef %28, i32 noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
br label %36
35: ; preds = %3
br label %36
36: ; preds = %35, %16
%37 = load i32, ptr %9, align 4
ret i32 %37
}
declare i32 @isStringRex(ptr noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpl1ybz8fo.c'
source_filename = "/tmp/tmpl1ybz8fo.c"
target datalayout = "e-m:e-p270: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 @multiple_ir_import_section_item_destroy(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 i32 0
}
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/tmpl1ybz8fo.c"
target datalayout = "e-m:e-p270: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 @multiple_ir_import_section_item_destroy(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 i32 0
}
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/tmpzxsk7wn1.c'
source_filename = "/tmp/tmpzxsk7wn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_NOCTTY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"make_pidfile - open\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EACCES = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [66 x i8] c"File [%s] is locked (another instance of daemon must be running)\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"wlock_file\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"make_pidfile - ftruncate\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"make_pidfile - snprintf\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"make_pidfile - write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_pidfile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca [22 x i8], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 -1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i64 -1, ptr %10, align 8
%13 = load i32, ptr @S_IRUSR, align 4
%14 = load i32, ptr @S_IWUSR, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRGRP, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @S_IROTH, align 4
%19 = or i32 %17, %18
store i32 %19, ptr %12, align 4
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr null, %20
br i1 %21, label %22, label %25
22: ; preds = %3
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 0
br label %25
25: ; preds = %22, %3
%26 = phi i1 [ false, %3 ], [ %24, %22 ]
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
store i64 0, ptr @errno, align 8
br label %29
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr @O_CREAT, align 4
%32 = load i32, ptr @O_WRONLY, align 4
%33 = or i32 %31, %32
%34 = load i32, ptr @O_NOCTTY, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr %12, align 4
%37 = call i32 @open(ptr noundef %30, i32 noundef %35, i32 noundef %36)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp eq i32 -1, %38
br i1 %39, label %40, label %45
40: ; preds = %29
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr @errno, align 8
%43 = call i32 @mperror(ptr noundef %41, i64 noundef %42, ptr noundef @.str)
%44 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %44, ptr %8, align 4
br label %103
45: ; preds = %29
%46 = load i32, ptr %7, align 4
%47 = call i32 @wlock_file(i32 noundef %46)
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp ne i32 0, %48
br i1 %49, label %50, label %68
50: ; preds = %45
%51 = load i64, ptr @EACCES, align 8
%52 = load i64, ptr @errno, align 8
%53 = icmp eq i64 %51, %52
br i1 %53, label %58, label %54
54: ; preds = %50
%55 = load i64, ptr @EAGAIN, align 8
%56 = load i64, ptr @errno, align 8
%57 = icmp eq i64 %55, %56
br i1 %57, label %58, label %64
58: ; preds = %54, %50
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %4, align 8
%61 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.1, ptr noundef %60)
%62 = load i32, ptr @EXIT_FAILURE, align 4
%63 = call i32 @exit(i32 noundef %62) #3
unreachable
64: ; preds = %54
%65 = load ptr, ptr %6, align 8
%66 = load i64, ptr @errno, align 8
%67 = call i32 @mperror(ptr noundef %65, i64 noundef %66, ptr noundef @.str.2)
br label %103
68: ; preds = %45
%69 = load i32, ptr %7, align 4
%70 = call i32 @ftruncate(i32 noundef %69, i32 noundef 0)
store i32 %70, ptr %8, align 4
%71 = load i32, ptr %8, align 4
%72 = icmp ne i32 0, %71
br i1 %72, label %73, label %77
73: ; preds = %68
%74 = load ptr, ptr %6, align 8
%75 = load i64, ptr @errno, align 8
%76 = call i32 @mperror(ptr noundef %74, i64 noundef %75, ptr noundef @.str.3)
br label %103
77: ; preds = %68
%78 = getelementptr inbounds [22 x i8], ptr %11, i64 0, i64 0
%79 = load i32, ptr %5, align 4
%80 = call i32 @snprintf(ptr noundef %78, i32 noundef 21, ptr noundef @.str.4, i32 noundef %79)
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = icmp slt i32 %81, 0
br i1 %82, label %83, label %88
83: ; preds = %77
%84 = load ptr, ptr %6, align 8
%85 = load i64, ptr @errno, align 8
%86 = call i32 @mperror(ptr noundef %84, i64 noundef %85, ptr noundef @.str.5)
%87 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %87, ptr %8, align 4
br label %103
88: ; preds = %77
%89 = load i32, ptr %7, align 4
%90 = getelementptr inbounds [22 x i8], ptr %11, i64 0, i64 0
%91 = load i32, ptr %9, align 4
%92 = call i64 @write(i32 noundef %89, ptr noundef %90, i32 noundef %91)
store i64 %92, ptr %10, align 8
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = load i64, ptr %10, align 8
%96 = icmp ne i64 %94, %95
br i1 %96, label %97, label %102
97: ; preds = %88
%98 = load ptr, ptr %6, align 8
%99 = load i64, ptr @errno, align 8
%100 = call i32 @mperror(ptr noundef %98, i64 noundef %99, ptr noundef @.str.6)
%101 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %101, ptr %8, align 4
br label %103
102: ; preds = %88
br label %103
103: ; preds = %102, %97, %83, %73, %64, %40
%104 = load i32, ptr %8, align 4
%105 = icmp ne i32 0, %104
br i1 %105, label %106, label %112
106: ; preds = %103
%107 = load i32, ptr %7, align 4
%108 = icmp sgt i32 %107, 0
br i1 %108, label %109, label %112
109: ; preds = %106
%110 = load i32, ptr %7, align 4
%111 = call i32 @close(i32 noundef %110)
br label %112
112: ; preds = %109, %106, %103
%113 = load i32, ptr %8, align 4
ret i32 %113
}
declare i32 @assert(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mperror(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @wlock_file(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzxsk7wn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_NOCTTY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"make_pidfile - open\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EACCES = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [66 x i8] c"File [%s] is locked (another instance of daemon must be running)\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"wlock_file\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"make_pidfile - ftruncate\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"make_pidfile - snprintf\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"make_pidfile - write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_pidfile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca [22 x i8], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 -1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i64 -1, ptr %10, align 8
%13 = load i32, ptr @S_IRUSR, align 4
%14 = load i32, ptr @S_IWUSR, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRGRP, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @S_IROTH, align 4
%19 = or i32 %17, %18
store i32 %19, ptr %12, align 4
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr null, %20
br i1 %21, label %22, label %25
22: ; preds = %3
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 0
br label %25
25: ; preds = %22, %3
%26 = phi i1 [ false, %3 ], [ %24, %22 ]
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
store i64 0, ptr @errno, align 8
br label %29
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr @O_CREAT, align 4
%32 = load i32, ptr @O_WRONLY, align 4
%33 = or i32 %31, %32
%34 = load i32, ptr @O_NOCTTY, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr %12, align 4
%37 = call i32 @open(ptr noundef %30, i32 noundef %35, i32 noundef %36)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp eq i32 -1, %38
br i1 %39, label %40, label %45
40: ; preds = %29
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr @errno, align 8
%43 = call i32 @mperror(ptr noundef %41, i64 noundef %42, ptr noundef @.str)
%44 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %44, ptr %8, align 4
br label %103
45: ; preds = %29
%46 = load i32, ptr %7, align 4
%47 = call i32 @wlock_file(i32 noundef %46)
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp ne i32 0, %48
br i1 %49, label %50, label %68
50: ; preds = %45
%51 = load i64, ptr @EACCES, align 8
%52 = load i64, ptr @errno, align 8
%53 = icmp eq i64 %51, %52
br i1 %53, label %58, label %54
54: ; preds = %50
%55 = load i64, ptr @EAGAIN, align 8
%56 = load i64, ptr @errno, align 8
%57 = icmp eq i64 %55, %56
br i1 %57, label %58, label %64
58: ; preds = %54, %50
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %4, align 8
%61 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.1, ptr noundef %60)
%62 = load i32, ptr @EXIT_FAILURE, align 4
%63 = call i32 @exit(i32 noundef %62) #3
unreachable
64: ; preds = %54
%65 = load ptr, ptr %6, align 8
%66 = load i64, ptr @errno, align 8
%67 = call i32 @mperror(ptr noundef %65, i64 noundef %66, ptr noundef @.str.2)
br label %103
68: ; preds = %45
%69 = load i32, ptr %7, align 4
%70 = call i32 @ftruncate(i32 noundef %69, i32 noundef 0)
store i32 %70, ptr %8, align 4
%71 = load i32, ptr %8, align 4
%72 = icmp ne i32 0, %71
br i1 %72, label %73, label %77
73: ; preds = %68
%74 = load ptr, ptr %6, align 8
%75 = load i64, ptr @errno, align 8
%76 = call i32 @mperror(ptr noundef %74, i64 noundef %75, ptr noundef @.str.3)
br label %103
77: ; preds = %68
%78 = getelementptr inbounds [22 x i8], ptr %11, i64 0, i64 0
%79 = load i32, ptr %5, align 4
%80 = call i32 @snprintf(ptr noundef %78, i32 noundef 21, ptr noundef @.str.4, i32 noundef %79)
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = icmp slt i32 %81, 0
br i1 %82, label %83, label %88
83: ; preds = %77
%84 = load ptr, ptr %6, align 8
%85 = load i64, ptr @errno, align 8
%86 = call i32 @mperror(ptr noundef %84, i64 noundef %85, ptr noundef @.str.5)
%87 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %87, ptr %8, align 4
br label %103
88: ; preds = %77
%89 = load i32, ptr %7, align 4
%90 = getelementptr inbounds [22 x i8], ptr %11, i64 0, i64 0
%91 = load i32, ptr %9, align 4
%92 = call i64 @write(i32 noundef %89, ptr noundef %90, i32 noundef %91)
store i64 %92, ptr %10, align 8
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = load i64, ptr %10, align 8
%96 = icmp ne i64 %94, %95
br i1 %96, label %97, label %102
97: ; preds = %88
%98 = load ptr, ptr %6, align 8
%99 = load i64, ptr @errno, align 8
%100 = call i32 @mperror(ptr noundef %98, i64 noundef %99, ptr noundef @.str.6)
%101 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %101, ptr %8, align 4
br label %103
102: ; preds = %88
br label %103
103: ; preds = %102, %97, %83, %73, %64, %40
%104 = load i32, ptr %8, align 4
%105 = icmp ne i32 0, %104
br i1 %105, label %106, label %112
106: ; preds = %103
%107 = load i32, ptr %7, align 4
%108 = icmp sgt i32 %107, 0
br i1 %108, label %109, label %112
109: ; preds = %106
%110 = load i32, ptr %7, align 4
%111 = call i32 @close(i32 noundef %110)
br label %112
112: ; preds = %109, %106, %103
%113 = load i32, ptr %8, align 4
ret i32 %113
}
declare i32 @assert(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mperror(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @wlock_file(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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"}
|
; ModuleID = '/tmp/tmpf7ll76_3.c'
source_filename = "/tmp/tmpf7ll76_3.c"
target datalayout = "e-m:e-p270: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 @ras_page_account_init() #0 {
%1 = call i32 (...) @page_offline_init()
%2 = call i32 (...) @page_isolation_init()
ret void
}
declare i32 @page_offline_init(...) #1
declare i32 @page_isolation_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpf7ll76_3.c"
target datalayout = "e-m:e-p270: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 @ras_page_account_init() #0 {
%1 = call i32 (...) @page_offline_init()
%2 = call i32 (...) @page_isolation_init()
ret void
}
declare i32 @page_offline_init(...) #1
declare i32 @page_isolation_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmppty25qhc.c'
source_filename = "/tmp/tmppty25qhc.c"
target datalayout = "e-m:e-p270: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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 15, ptr %2, align 4
store i32 8, ptr %3, align 4
store i32 4, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 1, ptr %6, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @switch_status(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @switch_status(i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %5, align 4
%15 = call i32 @switch_status(i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @switch_status(i32 noundef %16, i32 noundef %17)
ret i32 0
}
declare i32 @switch_status(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/tmppty25qhc.c"
target datalayout = "e-m:e-p270: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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 15, ptr %2, align 4
store i32 8, ptr %3, align 4
store i32 4, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 1, ptr %6, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @switch_status(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @switch_status(i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %5, align 4
%15 = call i32 @switch_status(i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @switch_status(i32 noundef %16, i32 noundef %17)
ret i32 0
}
declare i32 @switch_status(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/tmpqd74zxg3.c'
source_filename = "/tmp/tmpqd74zxg3.c"
target datalayout = "e-m:e-p270: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/tmpqd74zxg3.c"
target datalayout = "e-m:e-p270: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/tmprnjbcsww.c'
source_filename = "/tmp/tmprnjbcsww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = 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/tmprnjbcsww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = 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/tmpivhopibg.c'
source_filename = "/tmp/tmpivhopibg.c"
target datalayout = "e-m:e-p270: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"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @parseArgs(i32 noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @PrintUsage(ptr noundef %13)
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
16: ; preds = %2
%17 = call i32 (...) @processFile()
%18 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @parseArgs(i32 noundef, ptr noundef) #1
declare i32 @PrintUsage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @processFile(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpivhopibg.c"
target datalayout = "e-m:e-p270: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"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @parseArgs(i32 noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @PrintUsage(ptr noundef %13)
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
16: ; preds = %2
%17 = call i32 (...) @processFile()
%18 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @parseArgs(i32 noundef, ptr noundef) #1
declare i32 @PrintUsage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @processFile(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeqi53kvx.c'
source_filename = "/tmp/tmpeqi53kvx.c"
target datalayout = "e-m:e-p270: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 @file_delete(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeqi53kvx.c"
target datalayout = "e-m:e-p270: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 @file_delete(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpevnddd0y.c'
source_filename = "/tmp/tmpevnddd0y.c"
target datalayout = "e-m:e-p270: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"1234\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"p:\00", align 1
@optarg = dso_local global ptr null, align 8
@optopt = dso_local global i8 0, align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"Option %c requires an argument.\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Unknown argument: %c.\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"listening on port: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%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
store ptr @.str, ptr %6, align 8
br label %9
9: ; preds = %31, %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str.1)
store i32 %12, ptr %8, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %32
14: ; preds = %9
%15 = load i32, ptr %8, align 4
switch i32 %15, label %31 [
i32 112, label %16
i32 63, label %18
]
16: ; preds = %14
%17 = load ptr, ptr @optarg, align 8
store ptr %17, ptr %6, align 8
br label %31
18: ; preds = %14
%19 = load i8, ptr @optopt, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 112
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr @stderr, align 4
%24 = load i8, ptr @optopt, align 1
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2, i8 noundef signext %24)
br label %30
26: ; preds = %18
%27 = load i32, ptr @stderr, align 4
%28 = load i8, ptr @optopt, align 1
%29 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.3, i8 noundef signext %28)
br label %30
30: ; preds = %26, %22
br label %31
31: ; preds = %14, %30, %16
br label %9, !llvm.loop !6
32: ; preds = %9
%33 = load ptr, ptr %6, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @socket_server_helper(ptr noundef %35)
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = call i32 @server_main(i32 noundef %37)
br label %39
39: ; preds = %32
%40 = load i32, ptr %7, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @socket_server_helper(ptr noundef) #1
declare i32 @server_main(i32 noundef) #1
declare i32 @close(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/tmpevnddd0y.c"
target datalayout = "e-m:e-p270: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"1234\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"p:\00", align 1
@optarg = dso_local global ptr null, align 8
@optopt = dso_local global i8 0, align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"Option %c requires an argument.\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Unknown argument: %c.\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"listening on port: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%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
store ptr @.str, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str.1)
store i32 %11, ptr %8, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %30
%14 = load i32, ptr %8, align 4
switch i32 %14, label %30 [
i32 112, label %15
i32 63, label %17
]
15: ; preds = %13
%16 = load ptr, ptr @optarg, align 8
store ptr %16, ptr %6, align 8
br label %30
17: ; preds = %13
%18 = load i8, ptr @optopt, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 112
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load i32, ptr @stderr, align 4
%23 = load i8, ptr @optopt, align 1
%24 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2, i8 noundef signext %23)
br label %29
25: ; preds = %17
%26 = load i32, ptr @stderr, align 4
%27 = load i8, ptr @optopt, align 1
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.3, i8 noundef signext %27)
br label %29
29: ; preds = %25, %21
br label %30
30: ; preds = %29, %15, %13
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %5, align 8
%33 = call i32 @getopt(i32 noundef %31, ptr noundef %32, ptr noundef @.str.1)
store i32 %33, ptr %8, align 4
%34 = icmp ne i32 %33, -1
br i1 %34, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %2
%36 = load ptr, ptr %6, align 8
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36)
%38 = load ptr, ptr %6, align 8
%39 = call i32 @socket_server_helper(ptr noundef %38)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = call i32 @server_main(i32 noundef %40)
br label %42
42: ; preds = %35
%43 = load i32, ptr %7, align 4
%44 = call i32 @close(i32 noundef %43)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @socket_server_helper(ptr noundef) #1
declare i32 @server_main(i32 noundef) #1
declare i32 @close(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/tmplv0l979z.c'
source_filename = "/tmp/tmplv0l979z.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"\0APlease enter a number from 1 - 7 for the day you desire -->\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
call void @weekDisplay(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare void @weekDisplay(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/tmplv0l979z.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"\0APlease enter a number from 1 - 7 for the day you desire -->\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
call void @weekDisplay(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare void @weekDisplay(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/tmp4880yz50.c'
source_filename = "/tmp/tmp4880yz50.c"
target datalayout = "e-m:e-p270: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"Not enough memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @check_alloc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call ptr @calloc(i32 noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
ret ptr %11
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(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/tmp4880yz50.c"
target datalayout = "e-m:e-p270: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"Not enough memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @check_alloc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call ptr @calloc(i32 noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
ret ptr %11
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(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/tmp2lraozql.c'
source_filename = "/tmp/tmp2lraozql.c"
target datalayout = "e-m:e-p270: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/tmp2lraozql.c"
target datalayout = "e-m:e-p270: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/tmp5kam4qbe.c'
source_filename = "/tmp/tmp5kam4qbe.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"read %d bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%02x %02x %02x %02x\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"length: %d, seq_num: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_header(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [4 x i8], align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @recv(i32 noundef %8, ptr noundef %9, i32 noundef 4, i32 noundef 0)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr @stderr, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr @stderr, align 4
%15 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %26)
%28 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = shl i32 %33, 8
%35 = add nsw i32 %30, %34
%36 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = shl i32 %38, 8
%40 = add nsw i32 %35, %39
store i32 %40, ptr %6, align 4
%41 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = call ptr @malloc(i32 noundef %44)
store ptr %45, ptr %4, align 8
%46 = load i32, ptr %2, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = call i32 @read(i32 noundef %46, ptr noundef %47, i32 noundef %48)
store i32 %49, ptr %5, align 4
%50 = load i32, ptr @stderr, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %7, align 4
%53 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %50, ptr noundef @.str.2, i32 noundef %51, i32 noundef %52)
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @read(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/tmp5kam4qbe.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"read %d bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%02x %02x %02x %02x\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"length: %d, seq_num: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_header(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [4 x i8], align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @recv(i32 noundef %8, ptr noundef %9, i32 noundef 4, i32 noundef 0)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr @stderr, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr @stderr, align 4
%15 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %26)
%28 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = shl i32 %33, 8
%35 = add nsw i32 %30, %34
%36 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = shl i32 %38, 8
%40 = add nsw i32 %35, %39
store i32 %40, ptr %6, align 4
%41 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = call ptr @malloc(i32 noundef %44)
store ptr %45, ptr %4, align 8
%46 = load i32, ptr %2, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = call i32 @read(i32 noundef %46, ptr noundef %47, i32 noundef %48)
store i32 %49, ptr %5, align 4
%50 = load i32, ptr @stderr, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %7, align 4
%53 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %50, ptr noundef @.str.2, i32 noundef %51, i32 noundef %52)
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @read(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/tmpmjd6rgn2.c'
source_filename = "/tmp/tmpmjd6rgn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%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
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %10, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 256
br i1 %5, label %6, label %13
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
br label %10
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
br label %3, !llvm.loop !6
13: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmjd6rgn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%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
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 256
br i1 %4, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %9
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
br label %9
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 256
br i1 %13, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgzkmcxay.c'
source_filename = "/tmp/tmpgzkmcxay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@B0 = dso_local global i32 0, align 4
@B300 = dso_local global i32 0, align 4
@B600 = dso_local global i32 0, align 4
@B1200 = dso_local global i32 0, align 4
@B2400 = dso_local global i32 0, align 4
@B4800 = dso_local global i32 0, align 4
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@B460800 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cBaudrate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %29 [
i32 0, label %5
i32 300, label %7
i32 600, label %9
i32 1200, label %11
i32 2400, label %13
i32 4800, label %15
i32 9600, label %17
i32 19200, label %19
i32 38400, label %21
i32 57600, label %23
i32 115200, label %25
i32 500000, label %27
]
5: ; preds = %1
%6 = load i32, ptr @B0, align 4
store i32 %6, ptr %2, align 4
br label %31
7: ; preds = %1
%8 = load i32, ptr @B300, align 4
store i32 %8, ptr %2, align 4
br label %31
9: ; preds = %1
%10 = load i32, ptr @B600, align 4
store i32 %10, ptr %2, align 4
br label %31
11: ; preds = %1
%12 = load i32, ptr @B1200, align 4
store i32 %12, ptr %2, align 4
br label %31
13: ; preds = %1
%14 = load i32, ptr @B2400, align 4
store i32 %14, ptr %2, align 4
br label %31
15: ; preds = %1
%16 = load i32, ptr @B4800, align 4
store i32 %16, ptr %2, align 4
br label %31
17: ; preds = %1
%18 = load i32, ptr @B9600, align 4
store i32 %18, ptr %2, align 4
br label %31
19: ; preds = %1
%20 = load i32, ptr @B19200, align 4
store i32 %20, ptr %2, align 4
br label %31
21: ; preds = %1
%22 = load i32, ptr @B38400, align 4
store i32 %22, ptr %2, align 4
br label %31
23: ; preds = %1
%24 = load i32, ptr @B57600, align 4
store i32 %24, ptr %2, align 4
br label %31
25: ; preds = %1
%26 = load i32, ptr @B115200, align 4
store i32 %26, ptr %2, align 4
br label %31
27: ; preds = %1
%28 = load i32, ptr @B460800, align 4
store i32 %28, ptr %2, align 4
br label %31
29: ; preds = %1
%30 = load i32, ptr @B9600, align 4
store i32 %30, ptr %2, align 4
br label %31
31: ; preds = %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
%32 = load i32, ptr %2, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgzkmcxay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@B0 = dso_local global i32 0, align 4
@B300 = dso_local global i32 0, align 4
@B600 = dso_local global i32 0, align 4
@B1200 = dso_local global i32 0, align 4
@B2400 = dso_local global i32 0, align 4
@B4800 = dso_local global i32 0, align 4
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@B460800 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cBaudrate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %29 [
i32 0, label %5
i32 300, label %7
i32 600, label %9
i32 1200, label %11
i32 2400, label %13
i32 4800, label %15
i32 9600, label %17
i32 19200, label %19
i32 38400, label %21
i32 57600, label %23
i32 115200, label %25
i32 500000, label %27
]
5: ; preds = %1
%6 = load i32, ptr @B0, align 4
store i32 %6, ptr %2, align 4
br label %31
7: ; preds = %1
%8 = load i32, ptr @B300, align 4
store i32 %8, ptr %2, align 4
br label %31
9: ; preds = %1
%10 = load i32, ptr @B600, align 4
store i32 %10, ptr %2, align 4
br label %31
11: ; preds = %1
%12 = load i32, ptr @B1200, align 4
store i32 %12, ptr %2, align 4
br label %31
13: ; preds = %1
%14 = load i32, ptr @B2400, align 4
store i32 %14, ptr %2, align 4
br label %31
15: ; preds = %1
%16 = load i32, ptr @B4800, align 4
store i32 %16, ptr %2, align 4
br label %31
17: ; preds = %1
%18 = load i32, ptr @B9600, align 4
store i32 %18, ptr %2, align 4
br label %31
19: ; preds = %1
%20 = load i32, ptr @B19200, align 4
store i32 %20, ptr %2, align 4
br label %31
21: ; preds = %1
%22 = load i32, ptr @B38400, align 4
store i32 %22, ptr %2, align 4
br label %31
23: ; preds = %1
%24 = load i32, ptr @B57600, align 4
store i32 %24, ptr %2, align 4
br label %31
25: ; preds = %1
%26 = load i32, ptr @B115200, align 4
store i32 %26, ptr %2, align 4
br label %31
27: ; preds = %1
%28 = load i32, ptr @B460800, align 4
store i32 %28, ptr %2, align 4
br label %31
29: ; preds = %1
%30 = load i32, ptr @B9600, align 4
store i32 %30, ptr %2, align 4
br label %31
31: ; preds = %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
%32 = load i32, ptr %2, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfiis16_y.c'
source_filename = "/tmp/tmpfiis16_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"ERROR: [%s:%d] %s: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ystk/debian-freeipmi/refs/heads/master/ipmipower/src/wrappers.c\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Fcntl(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @fcntl(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %3
br label %15
15: ; preds = %14
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr @errno, align 4
%18 = call ptr @strerror(i32 noundef %17)
%19 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 189, ptr noundef @.str.2, ptr noundef %18)
br label %20
20: ; preds = %15
br label %21
21: ; preds = %20, %3
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmpfiis16_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"ERROR: [%s:%d] %s: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ystk/debian-freeipmi/refs/heads/master/ipmipower/src/wrappers.c\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Fcntl(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @fcntl(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %3
br label %15
15: ; preds = %14
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr @errno, align 4
%18 = call ptr @strerror(i32 noundef %17)
%19 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 189, ptr noundef @.str.2, ptr noundef %18)
br label %20
20: ; preds = %15
br label %21
21: ; preds = %20, %3
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmp5f2i3x1u.c'
source_filename = "/tmp/tmp5f2i3x1u.c"
target datalayout = "e-m:e-p270: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 @_citrus_mapper_open_direct(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @mapper_open(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @mapper_open(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/tmp5f2i3x1u.c"
target datalayout = "e-m:e-p270: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 @_citrus_mapper_open_direct(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @mapper_open(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @mapper_open(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/tmpppfihsa0.c'
source_filename = "/tmp/tmpppfihsa0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @debug_backtrace_init()
%7 = call i32 (...) @foo3()
ret i32 0
}
declare i32 @debug_backtrace_init(...) #1
declare i32 @foo3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpppfihsa0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @debug_backtrace_init()
%7 = call i32 (...) @foo3()
ret i32 0
}
declare i32 @debug_backtrace_init(...) #1
declare i32 @foo3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpt1_3pbo9.c'
source_filename = "/tmp/tmpt1_3pbo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"No FIPS ECDSA support\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = 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/tmpt1_3pbo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"No FIPS ECDSA support\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = 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/tmpomkw70z8.c'
source_filename = "/tmp/tmpomkw70z8.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c"ERROR: please use the format name=\22val\22 for param, no spaces.\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"ERROR: Given variable name not found, vars unchanged.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @setEnVar(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%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
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%22 = load ptr, ptr %4, align 8
%23 = call ptr @myTok(ptr noundef %22, i8 noundef signext 61)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @countTokens(ptr noundef %24)
%26 = icmp ne i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %2
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str)
%30 = load ptr, ptr %5, align 8
store ptr %30, ptr %3, align 8
br label %195
31: ; preds = %2
store i32 0, ptr %7, align 4
%32 = load ptr, ptr %5, align 8
store ptr %32, ptr %8, align 8
br label %33
33: ; preds = %37, %31
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %34, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds ptr, ptr %40, i32 1
store ptr %41, ptr %8, align 8
br label %33, !llvm.loop !6
42: ; preds = %33
%43 = load ptr, ptr %5, align 8
store ptr %43, ptr %8, align 8
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
%46 = call i64 @calloc(i32 noundef %45, i32 noundef 8)
%47 = inttoptr i64 %46 to ptr
store ptr %47, ptr %9, align 8
%48 = load ptr, ptr %9, align 8
store ptr %48, ptr %10, align 8
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
%51 = load ptr, ptr %50, align 8
%52 = call i32 @tokenLen(ptr noundef %51)
store i32 %52, ptr %11, align 4
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
br label %53
53: ; preds = %180, %42
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %54, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %185
57: ; preds = %53
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %58, align 8
%60 = call i32 @tokenLen(ptr noundef %59)
store i32 %60, ptr %14, align 4
%61 = load ptr, ptr %8, align 8
%62 = load ptr, ptr %61, align 8
%63 = call i32 @indexOf(i8 noundef signext 61, ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load i32, ptr %13, align 4
%65 = load i32, ptr %11, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %105
67: ; preds = %57
store i32 0, ptr %18, align 4
br label %68
68: ; preds = %93, %67
%69 = load i32, ptr %18, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %96
72: ; preds = %68
%73 = load ptr, ptr %8, align 8
%74 = load ptr, ptr %73, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 0
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %18, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %79, %87
br i1 %88, label %89, label %92
89: ; preds = %72
%90 = load i32, ptr %17, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %17, align 4
br label %92
92: ; preds = %89, %72
br label %93
93: ; preds = %92
%94 = load i32, ptr %18, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %18, align 4
br label %68, !llvm.loop !8
96: ; preds = %68
%97 = load i32, ptr %17, align 4
%98 = load i32, ptr %11, align 4
%99 = icmp eq i32 %97, %98
br i1 %99, label %100, label %103
100: ; preds = %96
store i32 1, ptr %15, align 4
%101 = load i32, ptr %16, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %16, align 4
store i32 0, ptr %17, align 4
br label %104
103: ; preds = %96
store i32 0, ptr %17, align 4
br label %104
104: ; preds = %103, %100
br label %105
105: ; preds = %104, %57
%106 = load i32, ptr %15, align 4
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %176
108: ; preds = %105
%109 = load ptr, ptr %6, align 8
%110 = getelementptr inbounds ptr, ptr %109, i64 1
%111 = load ptr, ptr %110, align 8
%112 = call ptr @myTok(ptr noundef %111, i8 noundef signext 34)
store ptr %112, ptr %19, align 8
%113 = load ptr, ptr %19, align 8
%114 = getelementptr inbounds ptr, ptr %113, i64 0
%115 = load ptr, ptr %114, align 8
%116 = call i32 @tokenLen(ptr noundef %115)
store i32 %116, ptr %12, align 4
%117 = load i32, ptr %13, align 4
%118 = load i32, ptr %12, align 4
%119 = add nsw i32 %117, %118
%120 = add nsw i32 %119, 2
%121 = call i64 @calloc(i32 noundef %120, i32 noundef 1)
%122 = inttoptr i64 %121 to ptr
%123 = load ptr, ptr %10, align 8
store ptr %122, ptr %123, align 8
store i32 0, ptr %20, align 4
br label %124
124: ; preds = %140, %108
%125 = load i32, ptr %20, align 4
%126 = load i32, ptr %13, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %128, label %143
128: ; preds = %124
%129 = load ptr, ptr %8, align 8
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %20, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, ptr %130, i64 %132
%134 = load i8, ptr %133, align 1
%135 = load ptr, ptr %10, align 8
%136 = load ptr, ptr %135, align 8
%137 = load i32, ptr %20, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %136, i64 %138
store i8 %134, ptr %139, align 1
br label %140
140: ; preds = %128
%141 = load i32, ptr %20, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %20, align 4
br label %124, !llvm.loop !9
143: ; preds = %124
%144 = load ptr, ptr %10, align 8
%145 = load ptr, ptr %144, align 8
%146 = load i32, ptr %20, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i8, ptr %145, i64 %147
store i8 61, ptr %148, align 1
%149 = load i32, ptr %20, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %20, align 4
store i32 0, ptr %21, align 4
br label %151
151: ; preds = %170, %143
%152 = load i32, ptr %21, align 4
%153 = load i32, ptr %12, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %173
155: ; preds = %151
%156 = load ptr, ptr %19, align 8
%157 = getelementptr inbounds ptr, ptr %156, i64 0
%158 = load ptr, ptr %157, align 8
%159 = load i32, ptr %21, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %158, i64 %160
%162 = load i8, ptr %161, align 1
%163 = load ptr, ptr %10, align 8
%164 = load ptr, ptr %163, align 8
%165 = load i32, ptr %20, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i8, ptr %164, i64 %166
store i8 %162, ptr %167, align 1
%168 = load i32, ptr %20, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %20, align 4
br label %170
170: ; preds = %155
%171 = load i32, ptr %21, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %21, align 4
br label %151, !llvm.loop !10
173: ; preds = %151
%174 = load ptr, ptr %19, align 8
%175 = call i32 @freeArray(ptr noundef %174)
store i32 0, ptr %15, align 4
br label %180
176: ; preds = %105
%177 = load ptr, ptr %8, align 8
%178 = load ptr, ptr %177, align 8
%179 = load ptr, ptr %10, align 8
store ptr %178, ptr %179, align 8
br label %180
180: ; preds = %176, %173
%181 = load ptr, ptr %10, align 8
%182 = getelementptr inbounds ptr, ptr %181, i32 1
store ptr %182, ptr %10, align 8
%183 = load ptr, ptr %8, align 8
%184 = getelementptr inbounds ptr, ptr %183, i32 1
store ptr %184, ptr %8, align 8
br label %53, !llvm.loop !11
185: ; preds = %53
%186 = load i32, ptr %16, align 4
%187 = icmp ne i32 %186, 0
br i1 %187, label %191, label %188
188: ; preds = %185
%189 = load i32, ptr @stderr, align 4
%190 = call i32 @fprintf(i32 noundef %189, ptr noundef @.str.1)
br label %191
191: ; preds = %188, %185
%192 = load ptr, ptr %6, align 8
%193 = call i32 @freeArray(ptr noundef %192)
%194 = load ptr, ptr %9, align 8
store ptr %194, ptr %3, align 8
br label %195
195: ; preds = %191, %27
%196 = load ptr, ptr %3, align 8
ret ptr %196
}
declare ptr @myTok(ptr noundef, i8 noundef signext) #1
declare i32 @countTokens(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @tokenLen(ptr noundef) #1
declare i32 @indexOf(i8 noundef signext, ptr noundef) #1
declare i32 @freeArray(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpomkw70z8.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c"ERROR: please use the format name=\22val\22 for param, no spaces.\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"ERROR: Given variable name not found, vars unchanged.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @setEnVar(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%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
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%22 = load ptr, ptr %4, align 8
%23 = call ptr @myTok(ptr noundef %22, i8 noundef signext 61)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @countTokens(ptr noundef %24)
%26 = icmp ne i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %2
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str)
%30 = load ptr, ptr %5, align 8
store ptr %30, ptr %3, align 8
br label %205
31: ; preds = %2
store i32 0, ptr %7, align 4
%32 = load ptr, ptr %5, align 8
store ptr %32, ptr %8, align 8
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %33, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %.lr.ph, label %44
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %36
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds ptr, ptr %39, i32 1
store ptr %40, ptr %8, align 8
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %41, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %44
44: ; preds = %._crit_edge, %31
%45 = load ptr, ptr %5, align 8
store ptr %45, ptr %8, align 8
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
%48 = call i64 @calloc(i32 noundef %47, i32 noundef 8)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %9, align 8
%50 = load ptr, ptr %9, align 8
store ptr %50, ptr %10, align 8
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 0
%53 = load ptr, ptr %52, align 8
%54 = call i32 @tokenLen(ptr noundef %53)
store i32 %54, ptr %11, align 4
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
%55 = load ptr, ptr %8, align 8
%56 = load ptr, ptr %55, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %.lr.ph11, label %195
.lr.ph11: ; preds = %44
br label %58
58: ; preds = %.lr.ph11, %187
%59 = load ptr, ptr %8, align 8
%60 = load ptr, ptr %59, align 8
%61 = call i32 @tokenLen(ptr noundef %60)
store i32 %61, ptr %14, align 4
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %62, align 8
%64 = call i32 @indexOf(i8 noundef signext 61, ptr noundef %63)
store i32 %64, ptr %13, align 4
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %65, %66
br i1 %67, label %68, label %108
68: ; preds = %58
store i32 0, ptr %18, align 4
%69 = load i32, ptr %18, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %.lr.ph2, label %99
.lr.ph2: ; preds = %68
br label %72
72: ; preds = %.lr.ph2, %93
%73 = load ptr, ptr %8, align 8
%74 = load ptr, ptr %73, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 0
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %18, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %79, %87
br i1 %88, label %89, label %92
89: ; preds = %72
%90 = load i32, ptr %17, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %17, align 4
br label %92
92: ; preds = %89, %72
br label %93
93: ; preds = %92
%94 = load i32, ptr %18, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %18, align 4
%96 = load i32, ptr %18, align 4
%97 = load i32, ptr %11, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %93
br label %99
99: ; preds = %._crit_edge3, %68
%100 = load i32, ptr %17, align 4
%101 = load i32, ptr %11, align 4
%102 = icmp eq i32 %100, %101
br i1 %102, label %103, label %106
103: ; preds = %99
store i32 1, ptr %15, align 4
%104 = load i32, ptr %16, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %16, align 4
store i32 0, ptr %17, align 4
br label %107
106: ; preds = %99
store i32 0, ptr %17, align 4
br label %107
107: ; preds = %106, %103
br label %108
108: ; preds = %107, %58
%109 = load i32, ptr %15, align 4
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %183
111: ; preds = %108
%112 = load ptr, ptr %6, align 8
%113 = getelementptr inbounds ptr, ptr %112, i64 1
%114 = load ptr, ptr %113, align 8
%115 = call ptr @myTok(ptr noundef %114, i8 noundef signext 34)
store ptr %115, ptr %19, align 8
%116 = load ptr, ptr %19, align 8
%117 = getelementptr inbounds ptr, ptr %116, i64 0
%118 = load ptr, ptr %117, align 8
%119 = call i32 @tokenLen(ptr noundef %118)
store i32 %119, ptr %12, align 4
%120 = load i32, ptr %13, align 4
%121 = load i32, ptr %12, align 4
%122 = add nsw i32 %120, %121
%123 = add nsw i32 %122, 2
%124 = call i64 @calloc(i32 noundef %123, i32 noundef 1)
%125 = inttoptr i64 %124 to ptr
%126 = load ptr, ptr %10, align 8
store ptr %125, ptr %126, align 8
store i32 0, ptr %20, align 4
%127 = load i32, ptr %20, align 4
%128 = load i32, ptr %13, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %.lr.ph5, label %148
.lr.ph5: ; preds = %111
br label %130
130: ; preds = %.lr.ph5, %142
%131 = load ptr, ptr %8, align 8
%132 = load ptr, ptr %131, align 8
%133 = load i32, ptr %20, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %132, i64 %134
%136 = load i8, ptr %135, align 1
%137 = load ptr, ptr %10, align 8
%138 = load ptr, ptr %137, align 8
%139 = load i32, ptr %20, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %138, i64 %140
store i8 %136, ptr %141, align 1
br label %142
142: ; preds = %130
%143 = load i32, ptr %20, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %20, align 4
%145 = load i32, ptr %20, align 4
%146 = load i32, ptr %13, align 4
%147 = icmp slt i32 %145, %146
br i1 %147, label %130, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %142
br label %148
148: ; preds = %._crit_edge6, %111
%149 = load ptr, ptr %10, align 8
%150 = load ptr, ptr %149, align 8
%151 = load i32, ptr %20, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i8, ptr %150, i64 %152
store i8 61, ptr %153, align 1
%154 = load i32, ptr %20, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %20, align 4
store i32 0, ptr %21, align 4
%156 = load i32, ptr %21, align 4
%157 = load i32, ptr %12, align 4
%158 = icmp slt i32 %156, %157
br i1 %158, label %.lr.ph8, label %180
.lr.ph8: ; preds = %148
br label %159
159: ; preds = %.lr.ph8, %174
%160 = load ptr, ptr %19, align 8
%161 = getelementptr inbounds ptr, ptr %160, i64 0
%162 = load ptr, ptr %161, align 8
%163 = load i32, ptr %21, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %162, i64 %164
%166 = load i8, ptr %165, align 1
%167 = load ptr, ptr %10, align 8
%168 = load ptr, ptr %167, align 8
%169 = load i32, ptr %20, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i8, ptr %168, i64 %170
store i8 %166, ptr %171, align 1
%172 = load i32, ptr %20, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %20, align 4
br label %174
174: ; preds = %159
%175 = load i32, ptr %21, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %21, align 4
%177 = load i32, ptr %21, align 4
%178 = load i32, ptr %12, align 4
%179 = icmp slt i32 %177, %178
br i1 %179, label %159, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %174
br label %180
180: ; preds = %._crit_edge9, %148
%181 = load ptr, ptr %19, align 8
%182 = call i32 @freeArray(ptr noundef %181)
store i32 0, ptr %15, align 4
br label %187
183: ; preds = %108
%184 = load ptr, ptr %8, align 8
%185 = load ptr, ptr %184, align 8
%186 = load ptr, ptr %10, align 8
store ptr %185, ptr %186, align 8
br label %187
187: ; preds = %183, %180
%188 = load ptr, ptr %10, align 8
%189 = getelementptr inbounds ptr, ptr %188, i32 1
store ptr %189, ptr %10, align 8
%190 = load ptr, ptr %8, align 8
%191 = getelementptr inbounds ptr, ptr %190, i32 1
store ptr %191, ptr %8, align 8
%192 = load ptr, ptr %8, align 8
%193 = load ptr, ptr %192, align 8
%194 = icmp ne ptr %193, null
br i1 %194, label %58, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %187
br label %195
195: ; preds = %._crit_edge12, %44
%196 = load i32, ptr %16, align 4
%197 = icmp ne i32 %196, 0
br i1 %197, label %201, label %198
198: ; preds = %195
%199 = load i32, ptr @stderr, align 4
%200 = call i32 @fprintf(i32 noundef %199, ptr noundef @.str.1)
br label %201
201: ; preds = %198, %195
%202 = load ptr, ptr %6, align 8
%203 = call i32 @freeArray(ptr noundef %202)
%204 = load ptr, ptr %9, align 8
store ptr %204, ptr %3, align 8
br label %205
205: ; preds = %201, %27
%206 = load ptr, ptr %3, align 8
ret ptr %206
}
declare ptr @myTok(ptr noundef, i8 noundef signext) #1
declare i32 @countTokens(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @tokenLen(ptr noundef) #1
declare i32 @indexOf(i8 noundef signext, ptr noundef) #1
declare i32 @freeArray(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmplddmbp13.c'
source_filename = "/tmp/tmplddmbp13.c"
target datalayout = "e-m:e-p270: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/tmplddmbp13.c"
target datalayout = "e-m:e-p270: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/tmpiny8z0xq.c'
source_filename = "/tmp/tmpiny8z0xq.c"
target datalayout = "e-m:e-p270: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"Hello, World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [20 x i8], align 16
%2 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @printf(ptr noundef %4)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiny8z0xq.c"
target datalayout = "e-m:e-p270: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"Hello, World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [20 x i8], align 16
%2 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @printf(ptr noundef %4)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp7ba0_5h.c'
source_filename = "/tmp/tmpp7ba0_5h.c"
target datalayout = "e-m:e-p270: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/tmpp7ba0_5h.c"
target datalayout = "e-m:e-p270: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/tmp1lfw5fec.c'
source_filename = "/tmp/tmp1lfw5fec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"/my_semaphor_2_name_simple_seq\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"/my_semaphor_1_name_simple_seq\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"./customer.e\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"customer.e\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"*** could not start customer.e ***\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"./coffeeTeller.e\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"coffeeTeller.e\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"*** could not start coffeTeller ***\0A\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c"killall coffeeTeller.e\00", align 1
@.str.11 = private unnamed_addr constant [19 x i8] c"killall customer.e\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [8 x i8], align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 @sem_unlink(ptr noundef @.str)
%8 = call i32 @sem_unlink(ptr noundef @.str.1)
%9 = load i32, ptr @O_CREAT, align 4
%10 = call ptr @sem_open(ptr noundef @.str, i32 noundef %9, i32 noundef 448, i32 noundef 0)
store ptr %10, ptr %5, align 8
%11 = load i32, ptr @O_CREAT, align 4
%12 = call ptr @sem_open(ptr noundef @.str.1, i32 noundef %11, i32 noundef 448, i32 noundef 3)
store ptr %12, ptr %4, align 8
store i32 1, ptr %2, align 4
br label %13
13: ; preds = %27, %0
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 4
br i1 %15, label %16, label %30
16: ; preds = %13
%17 = call i64 (...) @fork()
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%21 = load i32, ptr %2, align 4
%22 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, i32 noundef %21)
%23 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %23, ptr noundef null)
%25 = call i32 @printf(ptr noundef @.str.5)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %13, !llvm.loop !6
30: ; preds = %13
%31 = call i64 (...) @fork()
store i64 %31, ptr %6, align 8
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = call i32 @execl(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef null)
%35 = call i32 @printf(ptr noundef @.str.9)
br label %36
36: ; preds = %33, %30
%37 = load i64, ptr %6, align 8
%38 = call i32 @waitpid(i64 noundef %37, ptr noundef null, i32 noundef 0)
%39 = call i32 @system(ptr noundef @.str.10)
%40 = call i32 @system(ptr noundef @.str.11)
%41 = call i32 @sem_unlink(ptr noundef @.str)
%42 = call i32 @sem_unlink(ptr noundef @.str.1)
%43 = call i32 @printf(ptr noundef @.str.12)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @sem_unlink(ptr noundef) #1
declare ptr @sem_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1lfw5fec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"/my_semaphor_2_name_simple_seq\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"/my_semaphor_1_name_simple_seq\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"./customer.e\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"customer.e\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"*** could not start customer.e ***\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"./coffeeTeller.e\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"coffeeTeller.e\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"*** could not start coffeTeller ***\0A\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c"killall coffeeTeller.e\00", align 1
@.str.11 = private unnamed_addr constant [19 x i8] c"killall customer.e\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [8 x i8], align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 @sem_unlink(ptr noundef @.str)
%8 = call i32 @sem_unlink(ptr noundef @.str.1)
%9 = load i32, ptr @O_CREAT, align 4
%10 = call ptr @sem_open(ptr noundef @.str, i32 noundef %9, i32 noundef 448, i32 noundef 0)
store ptr %10, ptr %5, align 8
%11 = load i32, ptr @O_CREAT, align 4
%12 = call ptr @sem_open(ptr noundef @.str.1, i32 noundef %11, i32 noundef 448, i32 noundef 3)
store ptr %12, ptr %4, align 8
store i32 1, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp sle i32 %13, 4
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %26
%16 = call i64 (...) @fork()
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%20 = load i32, ptr %2, align 4
%21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, i32 noundef %20)
%22 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %22, ptr noundef null)
%24 = call i32 @printf(ptr noundef @.str.5)
br label %25
25: ; preds = %18, %15
br label %26
26: ; preds = %25
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sle i32 %29, 4
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %0
%32 = call i64 (...) @fork()
store i64 %32, ptr %6, align 8
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = call i32 @execl(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef null)
%36 = call i32 @printf(ptr noundef @.str.9)
br label %37
37: ; preds = %34, %31
%38 = load i64, ptr %6, align 8
%39 = call i32 @waitpid(i64 noundef %38, ptr noundef null, i32 noundef 0)
%40 = call i32 @system(ptr noundef @.str.10)
%41 = call i32 @system(ptr noundef @.str.11)
%42 = call i32 @sem_unlink(ptr noundef @.str)
%43 = call i32 @sem_unlink(ptr noundef @.str.1)
%44 = call i32 @printf(ptr noundef @.str.12)
%45 = load i32, ptr %1, align 4
ret i32 %45
}
declare i32 @sem_unlink(ptr noundef) #1
declare ptr @sem_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmg2_43fw.c'
source_filename = "/tmp/tmpmg2_43fw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpmg2_43fw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmph9_chtpi.c'
source_filename = "/tmp/tmph9_chtpi.c"
target datalayout = "e-m:e-p270: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 @kernel_dgecp_2_3_lib4(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %5
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
br label %20
20: ; preds = %17, %5
%21 = load i32, ptr %7, align 4
%22 = icmp sle i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
br label %126
24: ; preds = %20
store i32 4, ptr %11, align 4
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = mul nsw i32 4, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %25, i64 %28
store ptr %29, ptr %12, align 8
store i32 0, ptr %14, align 4
br label %30
30: ; preds = %86, %24
%31 = load i32, ptr %14, align 4
%32 = load i32, ptr %7, align 4
%33 = sub nsw i32 %32, 3
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %89
35: ; preds = %30
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds double, ptr %36, i64 3
%38 = call i32 @_mm_load_sd(ptr noundef %37)
store i32 %38, ptr %13, align 4
%39 = load i32, ptr %13, align 4
%40 = load ptr, ptr %12, align 8
%41 = getelementptr inbounds double, ptr %40, i64 0
%42 = call i32 @_mm_loadh_pd(i32 noundef %39, ptr noundef %41)
store i32 %42, ptr %13, align 4
%43 = load ptr, ptr %10, align 8
%44 = getelementptr inbounds double, ptr %43, i64 0
%45 = load i32, ptr %13, align 4
%46 = call i32 @_mm_storeu_pd(ptr noundef %44, i32 noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds double, ptr %47, i64 7
%49 = call i32 @_mm_load_sd(ptr noundef %48)
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds double, ptr %51, i64 4
%53 = call i32 @_mm_loadh_pd(i32 noundef %50, ptr noundef %52)
store i32 %53, ptr %13, align 4
%54 = load ptr, ptr %10, align 8
%55 = getelementptr inbounds double, ptr %54, i64 4
%56 = load i32, ptr %13, align 4
%57 = call i32 @_mm_storeu_pd(ptr noundef %55, i32 noundef %56)
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds double, ptr %58, i64 11
%60 = call i32 @_mm_load_sd(ptr noundef %59)
store i32 %60, ptr %13, align 4
%61 = load i32, ptr %13, align 4
%62 = load ptr, ptr %12, align 8
%63 = getelementptr inbounds double, ptr %62, i64 8
%64 = call i32 @_mm_loadh_pd(i32 noundef %61, ptr noundef %63)
store i32 %64, ptr %13, align 4
%65 = load ptr, ptr %10, align 8
%66 = getelementptr inbounds double, ptr %65, i64 8
%67 = load i32, ptr %13, align 4
%68 = call i32 @_mm_storeu_pd(ptr noundef %66, i32 noundef %67)
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds double, ptr %69, i64 15
%71 = call i32 @_mm_load_sd(ptr noundef %70)
store i32 %71, ptr %13, align 4
%72 = load i32, ptr %13, align 4
%73 = load ptr, ptr %12, align 8
%74 = getelementptr inbounds double, ptr %73, i64 12
%75 = call i32 @_mm_loadh_pd(i32 noundef %72, ptr noundef %74)
store i32 %75, ptr %13, align 4
%76 = load ptr, ptr %10, align 8
%77 = getelementptr inbounds double, ptr %76, i64 12
%78 = load i32, ptr %13, align 4
%79 = call i32 @_mm_storeu_pd(ptr noundef %77, i32 noundef %78)
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds double, ptr %80, i64 16
store ptr %81, ptr %8, align 8
%82 = load ptr, ptr %12, align 8
%83 = getelementptr inbounds double, ptr %82, i64 16
store ptr %83, ptr %12, align 8
%84 = load ptr, ptr %10, align 8
%85 = getelementptr inbounds double, ptr %84, i64 16
store ptr %85, ptr %10, align 8
br label %86
86: ; preds = %35
%87 = load i32, ptr %14, align 4
%88 = add nsw i32 %87, 4
store i32 %88, ptr %14, align 4
br label %30, !llvm.loop !6
89: ; preds = %30
br label %90
90: ; preds = %112, %89
%91 = load i32, ptr %14, align 4
%92 = load i32, ptr %7, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %94, label %115
94: ; preds = %90
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds double, ptr %95, i64 3
%97 = call i32 @_mm_load_sd(ptr noundef %96)
store i32 %97, ptr %13, align 4
%98 = load i32, ptr %13, align 4
%99 = load ptr, ptr %12, align 8
%100 = getelementptr inbounds double, ptr %99, i64 0
%101 = call i32 @_mm_loadh_pd(i32 noundef %98, ptr noundef %100)
store i32 %101, ptr %13, align 4
%102 = load ptr, ptr %10, align 8
%103 = getelementptr inbounds double, ptr %102, i64 0
%104 = load i32, ptr %13, align 4
%105 = call i32 @_mm_storeu_pd(ptr noundef %103, i32 noundef %104)
%106 = load ptr, ptr %8, align 8
%107 = getelementptr inbounds double, ptr %106, i64 4
store ptr %107, ptr %8, align 8
%108 = load ptr, ptr %12, align 8
%109 = getelementptr inbounds double, ptr %108, i64 4
store ptr %109, ptr %12, align 8
%110 = load ptr, ptr %10, align 8
%111 = getelementptr inbounds double, ptr %110, i64 4
store ptr %111, ptr %10, align 8
br label %112
112: ; preds = %94
%113 = load i32, ptr %14, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %14, align 4
br label %90, !llvm.loop !8
115: ; preds = %90
%116 = load i32, ptr %6, align 4
%117 = icmp eq i32 %116, 1
br i1 %117, label %118, label %126
118: ; preds = %115
%119 = load ptr, ptr %12, align 8
%120 = getelementptr inbounds double, ptr %119, i64 0
%121 = call i32 @_mm_load_sd(ptr noundef %120)
store i32 %121, ptr %13, align 4
%122 = load ptr, ptr %10, align 8
%123 = getelementptr inbounds double, ptr %122, i64 1
%124 = load i32, ptr %13, align 4
%125 = call i32 @_mm_store_sd(ptr noundef %123, i32 noundef %124)
br label %126
126: ; preds = %23, %118, %115
ret void
}
declare i32 @_mm_load_sd(ptr noundef) #1
declare i32 @_mm_loadh_pd(i32 noundef, ptr noundef) #1
declare i32 @_mm_storeu_pd(ptr noundef, i32 noundef) #1
declare i32 @_mm_store_sd(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph9_chtpi.c"
target datalayout = "e-m:e-p270: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 @kernel_dgecp_2_3_lib4(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %5
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
br label %20
20: ; preds = %17, %5
%21 = load i32, ptr %7, align 4
%22 = icmp sle i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
br label %131
24: ; preds = %20
store i32 4, ptr %11, align 4
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = mul nsw i32 4, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %25, i64 %28
store ptr %29, ptr %12, align 8
store i32 0, ptr %14, align 4
%30 = load i32, ptr %14, align 4
%31 = load i32, ptr %7, align 4
%32 = sub nsw i32 %31, 3
%33 = icmp slt i32 %30, %32
br i1 %33, label %.lr.ph, label %92
.lr.ph: ; preds = %24
br label %34
34: ; preds = %.lr.ph, %85
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds double, ptr %35, i64 3
%37 = call i32 @_mm_load_sd(ptr noundef %36)
store i32 %37, ptr %13, align 4
%38 = load i32, ptr %13, align 4
%39 = load ptr, ptr %12, align 8
%40 = getelementptr inbounds double, ptr %39, i64 0
%41 = call i32 @_mm_loadh_pd(i32 noundef %38, ptr noundef %40)
store i32 %41, ptr %13, align 4
%42 = load ptr, ptr %10, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load i32, ptr %13, align 4
%45 = call i32 @_mm_storeu_pd(ptr noundef %43, i32 noundef %44)
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds double, ptr %46, i64 7
%48 = call i32 @_mm_load_sd(ptr noundef %47)
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = load ptr, ptr %12, align 8
%51 = getelementptr inbounds double, ptr %50, i64 4
%52 = call i32 @_mm_loadh_pd(i32 noundef %49, ptr noundef %51)
store i32 %52, ptr %13, align 4
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds double, ptr %53, i64 4
%55 = load i32, ptr %13, align 4
%56 = call i32 @_mm_storeu_pd(ptr noundef %54, i32 noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds double, ptr %57, i64 11
%59 = call i32 @_mm_load_sd(ptr noundef %58)
store i32 %59, ptr %13, align 4
%60 = load i32, ptr %13, align 4
%61 = load ptr, ptr %12, align 8
%62 = getelementptr inbounds double, ptr %61, i64 8
%63 = call i32 @_mm_loadh_pd(i32 noundef %60, ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load ptr, ptr %10, align 8
%65 = getelementptr inbounds double, ptr %64, i64 8
%66 = load i32, ptr %13, align 4
%67 = call i32 @_mm_storeu_pd(ptr noundef %65, i32 noundef %66)
%68 = load ptr, ptr %8, align 8
%69 = getelementptr inbounds double, ptr %68, i64 15
%70 = call i32 @_mm_load_sd(ptr noundef %69)
store i32 %70, ptr %13, align 4
%71 = load i32, ptr %13, align 4
%72 = load ptr, ptr %12, align 8
%73 = getelementptr inbounds double, ptr %72, i64 12
%74 = call i32 @_mm_loadh_pd(i32 noundef %71, ptr noundef %73)
store i32 %74, ptr %13, align 4
%75 = load ptr, ptr %10, align 8
%76 = getelementptr inbounds double, ptr %75, i64 12
%77 = load i32, ptr %13, align 4
%78 = call i32 @_mm_storeu_pd(ptr noundef %76, i32 noundef %77)
%79 = load ptr, ptr %8, align 8
%80 = getelementptr inbounds double, ptr %79, i64 16
store ptr %80, ptr %8, align 8
%81 = load ptr, ptr %12, align 8
%82 = getelementptr inbounds double, ptr %81, i64 16
store ptr %82, ptr %12, align 8
%83 = load ptr, ptr %10, align 8
%84 = getelementptr inbounds double, ptr %83, i64 16
store ptr %84, ptr %10, align 8
br label %85
85: ; preds = %34
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, 4
store i32 %87, ptr %14, align 4
%88 = load i32, ptr %14, align 4
%89 = load i32, ptr %7, align 4
%90 = sub nsw i32 %89, 3
%91 = icmp slt i32 %88, %90
br i1 %91, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %85
br label %92
92: ; preds = %._crit_edge, %24
%93 = load i32, ptr %14, align 4
%94 = load i32, ptr %7, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %.lr.ph2, label %120
.lr.ph2: ; preds = %92
br label %96
96: ; preds = %.lr.ph2, %114
%97 = load ptr, ptr %8, align 8
%98 = getelementptr inbounds double, ptr %97, i64 3
%99 = call i32 @_mm_load_sd(ptr noundef %98)
store i32 %99, ptr %13, align 4
%100 = load i32, ptr %13, align 4
%101 = load ptr, ptr %12, align 8
%102 = getelementptr inbounds double, ptr %101, i64 0
%103 = call i32 @_mm_loadh_pd(i32 noundef %100, ptr noundef %102)
store i32 %103, ptr %13, align 4
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds double, ptr %104, i64 0
%106 = load i32, ptr %13, align 4
%107 = call i32 @_mm_storeu_pd(ptr noundef %105, i32 noundef %106)
%108 = load ptr, ptr %8, align 8
%109 = getelementptr inbounds double, ptr %108, i64 4
store ptr %109, ptr %8, align 8
%110 = load ptr, ptr %12, align 8
%111 = getelementptr inbounds double, ptr %110, i64 4
store ptr %111, ptr %12, align 8
%112 = load ptr, ptr %10, align 8
%113 = getelementptr inbounds double, ptr %112, i64 4
store ptr %113, ptr %10, align 8
br label %114
114: ; preds = %96
%115 = load i32, ptr %14, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %14, align 4
%117 = load i32, ptr %14, align 4
%118 = load i32, ptr %7, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %96, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %114
br label %120
120: ; preds = %._crit_edge3, %92
%121 = load i32, ptr %6, align 4
%122 = icmp eq i32 %121, 1
br i1 %122, label %123, label %131
123: ; preds = %120
%124 = load ptr, ptr %12, align 8
%125 = getelementptr inbounds double, ptr %124, i64 0
%126 = call i32 @_mm_load_sd(ptr noundef %125)
store i32 %126, ptr %13, align 4
%127 = load ptr, ptr %10, align 8
%128 = getelementptr inbounds double, ptr %127, i64 1
%129 = load i32, ptr %13, align 4
%130 = call i32 @_mm_store_sd(ptr noundef %128, i32 noundef %129)
br label %131
131: ; preds = %123, %120, %23
ret void
}
declare i32 @_mm_load_sd(ptr noundef) #1
declare i32 @_mm_loadh_pd(i32 noundef, ptr noundef) #1
declare i32 @_mm_storeu_pd(ptr noundef, i32 noundef) #1
declare i32 @_mm_store_sd(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpw410klk5.c'
source_filename = "/tmp/tmpw410klk5.c"
target datalayout = "e-m:e-p270: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 @caesar_cipher(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
br label %12
12: ; preds = %20, %4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %10, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %12
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
br label %12, !llvm.loop !6
32: ; preds = %12
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 0, ptr %36, align 1
%37 = load i32, ptr %7, align 4
%38 = srem i32 %37, 26
store i32 %38, ptr %11, align 4
store i32 0, ptr %9, align 4
br label %39
39: ; preds = %67, %32
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %70
43: ; preds = %39
store i32 0, ptr %10, align 4
br label %44
44: ; preds = %52, %43
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %66
52: ; preds = %44
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %10, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = load i32, ptr %11, align 4
%59 = call signext i8 @shiftByOffset(i8 noundef signext %57, i32 noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 %59, ptr %63, align 1
%64 = load i32, ptr %10, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %10, align 4
br label %44, !llvm.loop !8
66: ; preds = %44
br label %67
67: ; preds = %66
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
br label %39, !llvm.loop !9
70: ; preds = %39
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %10, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
store i8 0, ptr %74, align 1
ret void
}
declare signext i8 @shiftByOffset(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw410klk5.c"
target datalayout = "e-m:e-p270: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 @caesar_cipher(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %10, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %19
19: ; preds = %.lr.ph, %19
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %38
38: ; preds = %._crit_edge, %4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
%43 = load i32, ptr %7, align 4
%44 = srem i32 %43, 26
store i32 %44, ptr %11, align 4
store i32 0, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph5, label %84
.lr.ph5: ; preds = %38
br label %48
48: ; preds = %.lr.ph5, %78
store i32 0, ptr %10, align 4
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %.lr.ph2, label %77
.lr.ph2: ; preds = %48
br label %56
56: ; preds = %.lr.ph2, %56
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = load i32, ptr %11, align 4
%63 = call signext i8 @shiftByOffset(i8 noundef signext %61, i32 noundef %62)
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %10, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store i8 %63, ptr %67, align 1
%68 = load i32, ptr %10, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %10, align 4
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %56, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %77
77: ; preds = %._crit_edge3, %48
br label %78
78: ; preds = %77
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %8, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %78
br label %84
84: ; preds = %._crit_edge6, %38
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr %10, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 0, ptr %88, align 1
ret void
}
declare signext i8 @shiftByOffset(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpywnruvet.c'
source_filename = "/tmp/tmpywnruvet.c"
target datalayout = "e-m:e-p270: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 @alignedFree(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/tmpywnruvet.c"
target datalayout = "e-m:e-p270: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 @alignedFree(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/tmpo2h0sci4.c'
source_filename = "/tmp/tmpo2h0sci4.c"
target datalayout = "e-m:e-p270: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/tmpo2h0sci4.c"
target datalayout = "e-m:e-p270: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/tmpq8vvh1mt.c'
source_filename = "/tmp/tmpq8vvh1mt.c"
target datalayout = "e-m:e-p270: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 @foo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @bar(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = call i64 @bar(i32 noundef %9)
br label %11
11: ; preds = %8, %2
store i32 33, ptr %4, align 4
br label %12
12: ; preds = %16, %11
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %12
br label %12, !llvm.loop !6
17: ; preds = %12
ret void
}
declare i64 @bar(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/tmpq8vvh1mt.c"
target datalayout = "e-m:e-p270: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 @foo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @bar(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = call i64 @bar(i32 noundef %9)
br label %11
11: ; preds = %8, %2
store i32 33, ptr %4, align 4
br label %12
12: ; preds = %11
ret void
}
declare i64 @bar(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/tmpbsabuyvz.c'
source_filename = "/tmp/tmpbsabuyvz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"write\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writetofile(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbsabuyvz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"write\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writetofile(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ujej0f9.c'
source_filename = "/tmp/tmp_ujej0f9.c"
target datalayout = "e-m:e-p270: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 @bar() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @foo()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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_ujej0f9.c"
target datalayout = "e-m:e-p270: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 @bar() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @foo()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp9duhrv0v.c'
source_filename = "/tmp/tmp9duhrv0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%s hehe\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @utils(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call ptr @dlib_fmtstr(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @puts(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i32 @free(ptr noundef %9)
ret i32 0
}
declare ptr @dlib_fmtstr(ptr noundef, ptr noundef) #1
declare i32 @puts(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/tmp9duhrv0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%s hehe\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @utils(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call ptr @dlib_fmtstr(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @puts(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i32 @free(ptr noundef %9)
ret i32 0
}
declare ptr @dlib_fmtstr(ptr noundef, ptr noundef) #1
declare i32 @puts(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/tmptxsryis8.c'
source_filename = "/tmp/tmptxsryis8.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"\0A\0A** Calculo do salario de um funcionario **\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Digite o numero do funcionario: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Digite o numero de horas trabalhadas: \00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Digite o valor recebido por hora: \00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"Qual a quantidade de filhos < ou = \C3\A0 14 anos: \00", align 1
@.str.6 = private unnamed_addr constant [37 x i8] c"Informe o valor do salario familia: \00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c"\0AO numero do funcionario \C3\A9: %.0f.\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"O salario total do funcionario \C3\A9: %.2f\0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"\0A<< Marco Tulio >>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%18 = load float, ptr %2, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = fcmp ole float %20, 1.400000e+01
%22 = zext i1 %21 to i32
%23 = sitofp i32 %22 to float
%24 = load float, ptr %5, align 4
%25 = fmul float %23, %24
%26 = call float @llvm.fmuladd.f32(float %18, float %19, float %25)
store float %26, ptr %6, align 4
%27 = load float, ptr %1, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %28)
%30 = load float, ptr %6, align 4
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%34 = call i32 (...) @getchar()
%35 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxsryis8.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"\0A\0A** Calculo do salario de um funcionario **\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Digite o numero do funcionario: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Digite o numero de horas trabalhadas: \00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Digite o valor recebido por hora: \00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"Qual a quantidade de filhos < ou = \C3\A0 14 anos: \00", align 1
@.str.6 = private unnamed_addr constant [37 x i8] c"Informe o valor do salario familia: \00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c"\0AO numero do funcionario \C3\A9: %.0f.\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"O salario total do funcionario \C3\A9: %.2f\0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"\0A<< Marco Tulio >>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%18 = load float, ptr %2, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = fcmp ole float %20, 1.400000e+01
%22 = zext i1 %21 to i32
%23 = sitofp i32 %22 to float
%24 = load float, ptr %5, align 4
%25 = fmul float %23, %24
%26 = call float @llvm.fmuladd.f32(float %18, float %19, float %25)
store float %26, ptr %6, align 4
%27 = load float, ptr %1, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %28)
%30 = load float, ptr %6, align 4
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%34 = call i32 (...) @getchar()
%35 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp84dz_ulq.c'
source_filename = "/tmp/tmp84dz_ulq.c"
target datalayout = "e-m:e-p270: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 @__libc_pread(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @__LONG_LONG_PAIR(i32 noundef 0, i32 noundef %12)
%14 = call i64 @__pread(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef 0, i32 noundef %13)
ret i64 %14
}
declare i64 @__pread(i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @__LONG_LONG_PAIR(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/tmp84dz_ulq.c"
target datalayout = "e-m:e-p270: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 @__libc_pread(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @__LONG_LONG_PAIR(i32 noundef 0, i32 noundef %12)
%14 = call i64 @__pread(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef 0, i32 noundef %13)
ret i64 %14
}
declare i64 @__pread(i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @__LONG_LONG_PAIR(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/tmphvc91rxr.c'
source_filename = "/tmp/tmphvc91rxr.c"
target datalayout = "e-m:e-p270: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 signext i16 @smbus_read_byte(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i16, align 2
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = call i32 (...) @smbus_wait_until_ready()
%8 = call i32 @inb(i32 noundef 4098)
%9 = and i32 %8, -2
%10 = call i32 @outb(i32 noundef %9, i32 noundef 4098)
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = and i32 %12, 127
%14 = shl i32 %13, 1
%15 = or i32 %14, 1
%16 = call i32 @outb(i32 noundef %15, i32 noundef 4100)
%17 = load i8, ptr %4, align 1
%18 = zext i8 %17 to i32
%19 = and i32 %18, 255
%20 = call i32 @outb(i32 noundef %19, i32 noundef 4099)
%21 = call i32 @inb(i32 noundef 4098)
%22 = and i32 %21, 227
%23 = or i32 %22, 8
%24 = call i32 @outb(i32 noundef %23, i32 noundef 4098)
%25 = call i32 @inb(i32 noundef 4096)
%26 = call i32 @outb(i32 noundef %25, i32 noundef 4096)
%27 = call i32 @outb(i32 noundef 0, i32 noundef 4101)
%28 = call i32 @inb(i32 noundef 4098)
%29 = or i32 %28, 64
%30 = call i32 @outb(i32 noundef %29, i32 noundef 4098)
%31 = call i32 (...) @smbus_wait_until_done()
%32 = call i32 @inb(i32 noundef 4096)
%33 = trunc i32 %32 to i8
store i8 %33, ptr %5, align 1
%34 = call i32 @inb(i32 noundef 4101)
%35 = trunc i32 %34 to i16
store i16 %35, ptr %6, align 2
%36 = load i8, ptr %5, align 1
%37 = zext i8 %36 to i32
%38 = icmp ne i32 %37, 2
br i1 %38, label %39, label %40
39: ; preds = %2
store i16 -1, ptr %6, align 2
br label %40
40: ; preds = %39, %2
%41 = load i16, ptr %6, align 2
ret i16 %41
}
declare i32 @smbus_wait_until_ready(...) #1
declare i32 @outb(i32 noundef, i32 noundef) #1
declare i32 @inb(i32 noundef) #1
declare i32 @smbus_wait_until_done(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmphvc91rxr.c"
target datalayout = "e-m:e-p270: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 signext i16 @smbus_read_byte(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i16, align 2
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = call i32 (...) @smbus_wait_until_ready()
%8 = call i32 @inb(i32 noundef 4098)
%9 = and i32 %8, -2
%10 = call i32 @outb(i32 noundef %9, i32 noundef 4098)
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = and i32 %12, 127
%14 = shl i32 %13, 1
%15 = or i32 %14, 1
%16 = call i32 @outb(i32 noundef %15, i32 noundef 4100)
%17 = load i8, ptr %4, align 1
%18 = zext i8 %17 to i32
%19 = and i32 %18, 255
%20 = call i32 @outb(i32 noundef %19, i32 noundef 4099)
%21 = call i32 @inb(i32 noundef 4098)
%22 = and i32 %21, 227
%23 = or i32 %22, 8
%24 = call i32 @outb(i32 noundef %23, i32 noundef 4098)
%25 = call i32 @inb(i32 noundef 4096)
%26 = call i32 @outb(i32 noundef %25, i32 noundef 4096)
%27 = call i32 @outb(i32 noundef 0, i32 noundef 4101)
%28 = call i32 @inb(i32 noundef 4098)
%29 = or i32 %28, 64
%30 = call i32 @outb(i32 noundef %29, i32 noundef 4098)
%31 = call i32 (...) @smbus_wait_until_done()
%32 = call i32 @inb(i32 noundef 4096)
%33 = trunc i32 %32 to i8
store i8 %33, ptr %5, align 1
%34 = call i32 @inb(i32 noundef 4101)
%35 = trunc i32 %34 to i16
store i16 %35, ptr %6, align 2
%36 = load i8, ptr %5, align 1
%37 = zext i8 %36 to i32
%38 = icmp ne i32 %37, 2
br i1 %38, label %39, label %40
39: ; preds = %2
store i16 -1, ptr %6, align 2
br label %40
40: ; preds = %39, %2
%41 = load i16, ptr %6, align 2
ret i16 %41
}
declare i32 @smbus_wait_until_ready(...) #1
declare i32 @outb(i32 noundef, i32 noundef) #1
declare i32 @inb(i32 noundef) #1
declare i32 @smbus_wait_until_done(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxa5s19la.c'
source_filename = "/tmp/tmpxa5s19la.c"
target datalayout = "e-m:e-p270: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"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fdecrypt(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %10, align 8
br label %15
15: ; preds = %22, %3
%16 = load ptr, ptr %9, align 8
%17 = call signext i8 @getc(ptr noundef %16)
store i8 %17, ptr %8, align 1
%18 = sext i8 %17 to i32
%19 = load i8, ptr @EOF, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %18, %20
br i1 %21, label %22, label %32
22: ; preds = %15
%23 = load i8, ptr %8, align 1
%24 = call i32 @toupper(i8 noundef signext %23)
%25 = sub nsw i32 %24, 65
%26 = load i32, ptr %7, align 4
%27 = sub nsw i32 %25, %26
%28 = srem i32 %27, 26
%29 = add nsw i32 %28, 65
%30 = load ptr, ptr %10, align 8
%31 = call i32 @putc(i32 noundef %29, ptr noundef %30)
br label %15, !llvm.loop !6
32: ; preds = %15
%33 = load ptr, ptr %10, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load ptr, ptr %9, align 8
%36 = call i32 @fclose(ptr noundef %35)
%37 = load ptr, ptr %4, align 8
ret ptr %37
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @putc(i32 noundef, ptr noundef) #1
declare i32 @toupper(i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxa5s19la.c"
target datalayout = "e-m:e-p270: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"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fdecrypt(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %9, align 8
%16 = call signext i8 @getc(ptr noundef %15)
store i8 %16, ptr %8, align 1
%17 = sext i8 %16 to i32
%18 = load i8, ptr @EOF, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %17, %19
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i8, ptr %8, align 1
%23 = call i32 @toupper(i8 noundef signext %22)
%24 = sub nsw i32 %23, 65
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %24, %25
%27 = srem i32 %26, 26
%28 = add nsw i32 %27, 65
%29 = load ptr, ptr %10, align 8
%30 = call i32 @putc(i32 noundef %28, ptr noundef %29)
%31 = load ptr, ptr %9, align 8
%32 = call signext i8 @getc(ptr noundef %31)
store i8 %32, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr @EOF, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %33, %35
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %3
%38 = load ptr, ptr %10, align 8
%39 = call i32 @fclose(ptr noundef %38)
%40 = load ptr, ptr %9, align 8
%41 = call i32 @fclose(ptr noundef %40)
%42 = load ptr, ptr %4, align 8
ret ptr %42
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @putc(i32 noundef, ptr noundef) #1
declare i32 @toupper(i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp650ba__a.c'
source_filename = "/tmp/tmp650ba__a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @remquo(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = fptosi double %7 to i32
%9 = load double, ptr %5, align 8
%10 = fptosi double %9 to i32
%11 = sdiv i32 %8, %10
%12 = load ptr, ptr %6, align 8
store i32 %11, ptr %12, align 4
%13 = load double, ptr %4, align 8
%14 = load double, ptr %5, align 8
%15 = call double @remainer(double noundef %13, double noundef %14)
ret double %15
}
declare double @remainer(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp650ba__a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @remquo(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = fptosi double %7 to i32
%9 = load double, ptr %5, align 8
%10 = fptosi double %9 to i32
%11 = sdiv i32 %8, %10
%12 = load ptr, ptr %6, align 8
store i32 %11, ptr %12, align 4
%13 = load double, ptr %4, align 8
%14 = load double, ptr %5, align 8
%15 = call double @remainer(double noundef %13, double noundef %14)
ret double %15
}
declare double @remainer(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd99y6uz6.c'
source_filename = "/tmp/tmpd99y6uz6.c"
target datalayout = "e-m:e-p270: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 @setTreeAddress(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%8 = load i64, ptr %4, align 8
%9 = and i64 %8, 255
%10 = trunc i64 %9 to i8
%11 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 7
store i8 %10, ptr %11, align 1
%12 = load i64, ptr %4, align 8
%13 = lshr i64 %12, 8
%14 = and i64 %13, 255
%15 = trunc i64 %14 to i8
%16 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 6
store i8 %15, ptr %16, align 1
%17 = load i64, ptr %4, align 8
%18 = lshr i64 %17, 16
%19 = and i64 %18, 255
%20 = trunc i64 %19 to i8
%21 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 5
store i8 %20, ptr %21, align 1
%22 = load i64, ptr %4, align 8
%23 = lshr i64 %22, 24
%24 = and i64 %23, 255
%25 = trunc i64 %24 to i8
%26 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 4
store i8 %25, ptr %26, align 1
%27 = load i64, ptr %4, align 8
%28 = lshr i64 %27, 32
%29 = and i64 %28, 255
%30 = trunc i64 %29 to i8
%31 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 3
store i8 %30, ptr %31, align 1
%32 = load i64, ptr %4, align 8
%33 = lshr i64 %32, 40
%34 = and i64 %33, 255
%35 = trunc i64 %34 to i8
%36 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 2
store i8 %35, ptr %36, align 1
%37 = load i64, ptr %4, align 8
%38 = lshr i64 %37, 48
%39 = and i64 %38, 255
%40 = trunc i64 %39 to i8
%41 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 1
store i8 %40, ptr %41, align 1
%42 = load i64, ptr %4, align 8
%43 = lshr i64 %42, 56
%44 = and i64 %43, 255
%45 = trunc i64 %44 to i8
%46 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%49 = call i32 @setBits(ptr noundef %47, i32 noundef 33, i32 noundef 64, ptr noundef %48)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @setBits(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd99y6uz6.c"
target datalayout = "e-m:e-p270: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 @setTreeAddress(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%8 = load i64, ptr %4, align 8
%9 = and i64 %8, 255
%10 = trunc i64 %9 to i8
%11 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 7
store i8 %10, ptr %11, align 1
%12 = load i64, ptr %4, align 8
%13 = lshr i64 %12, 8
%14 = and i64 %13, 255
%15 = trunc i64 %14 to i8
%16 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 6
store i8 %15, ptr %16, align 1
%17 = load i64, ptr %4, align 8
%18 = lshr i64 %17, 16
%19 = and i64 %18, 255
%20 = trunc i64 %19 to i8
%21 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 5
store i8 %20, ptr %21, align 1
%22 = load i64, ptr %4, align 8
%23 = lshr i64 %22, 24
%24 = and i64 %23, 255
%25 = trunc i64 %24 to i8
%26 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 4
store i8 %25, ptr %26, align 1
%27 = load i64, ptr %4, align 8
%28 = lshr i64 %27, 32
%29 = and i64 %28, 255
%30 = trunc i64 %29 to i8
%31 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 3
store i8 %30, ptr %31, align 1
%32 = load i64, ptr %4, align 8
%33 = lshr i64 %32, 40
%34 = and i64 %33, 255
%35 = trunc i64 %34 to i8
%36 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 2
store i8 %35, ptr %36, align 1
%37 = load i64, ptr %4, align 8
%38 = lshr i64 %37, 48
%39 = and i64 %38, 255
%40 = trunc i64 %39 to i8
%41 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 1
store i8 %40, ptr %41, align 1
%42 = load i64, ptr %4, align 8
%43 = lshr i64 %42, 56
%44 = and i64 %43, 255
%45 = trunc i64 %44 to i8
%46 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%49 = call i32 @setBits(ptr noundef %47, i32 noundef 33, i32 noundef 64, ptr noundef %48)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @setBits(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqj6sjzcx.c'
source_filename = "/tmp/tmpqj6sjzcx.c"
target datalayout = "e-m:e-p270: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/tmpqj6sjzcx.c"
target datalayout = "e-m:e-p270: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/tmpe7wpx2hk.c'
source_filename = "/tmp/tmpe7wpx2hk.c"
target datalayout = "e-m:e-p270: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 @genand() #0 {
%1 = call i32 (...) @gentext()
%2 = call i32 (...) @cgsynand()
ret void
}
declare i32 @gentext(...) #1
declare i32 @cgsynand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpe7wpx2hk.c"
target datalayout = "e-m:e-p270: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 @genand() #0 {
%1 = call i32 (...) @gentext()
%2 = call i32 (...) @cgsynand()
ret void
}
declare i32 @gentext(...) #1
declare i32 @cgsynand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmptbfwxa0f.c'
source_filename = "/tmp/tmptbfwxa0f.c"
target datalayout = "e-m:e-p270: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 [129 x i8] c"void fp_mul_comba_small(fp_int *A, fp_int *B, fp_int *C)\0A{\0A fp_digit c0, c1, c2, at[32];\0A switch (MAX(A->used, B->used)) { \0A\00", align 1
@.str.1 = private unnamed_addr constant [152 x i8] c"\0A case %d:\0A memcpy(at, A->dp, %d * sizeof(fp_digit));\0A memcpy(at+%d, B->dp, %d * sizeof(fp_digit));\0A COMBA_START;\0A\0A COMBA_CLEAR;\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" /* %d */\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c" COMBA_FORWARD;\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c" MULADD(at[%d], at[%d]); \00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\0A COMBA_STORE(C->dp[%d]);\0A\00", align 1
@.str.6 = private unnamed_addr constant [137 x i8] c" COMBA_STORE2(C->dp[%d]);\0A C->used = %d;\0A C->sign = A->sign ^ B->sign;\0A fp_clamp(C);\0A COMBA_FINI;\0A break;\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c" }\0A}\0A\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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %79, %2
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 16
br i1 %13, label %14, label %82
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %67, %14
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %22, %23
%25 = sub nsw i32 %24, 1
%26 = icmp slt i32 %21, %25
br i1 %26, label %27, label %70
27: ; preds = %20
%28 = load i32, ptr %7, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28)
%30 = load i32, ptr %7, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %34
34: ; preds = %32, %27
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %61, %34
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %64
39: ; preds = %35
store i32 0, ptr %9, align 4
br label %40
40: ; preds = %57, %39
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %60
44: ; preds = %40
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %7, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %50, label %56
50: ; preds = %44
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %52, %53
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51, i32 noundef %54)
br label %56
56: ; preds = %50, %44
br label %57
57: ; preds = %56
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %40, !llvm.loop !6
60: ; preds = %40
br label %61
61: ; preds = %60
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %8, align 4
br label %35, !llvm.loop !8
64: ; preds = %35
%65 = load i32, ptr %7, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %65)
br label %67
67: ; preds = %64
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
br label %20, !llvm.loop !9
70: ; preds = %20
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %71, %72
%74 = sub nsw i32 %73, 1
%75 = load i32, ptr %6, align 4
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %75, %76
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74, i32 noundef %77)
br label %79
79: ; preds = %70
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
br label %11, !llvm.loop !10
82: ; preds = %11
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbfwxa0f.c"
target datalayout = "e-m:e-p270: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 [129 x i8] c"void fp_mul_comba_small(fp_int *A, fp_int *B, fp_int *C)\0A{\0A fp_digit c0, c1, c2, at[32];\0A switch (MAX(A->used, B->used)) { \0A\00", align 1
@.str.1 = private unnamed_addr constant [152 x i8] c"\0A case %d:\0A memcpy(at, A->dp, %d * sizeof(fp_digit));\0A memcpy(at+%d, B->dp, %d * sizeof(fp_digit));\0A COMBA_START;\0A\0A COMBA_CLEAR;\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" /* %d */\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c" COMBA_FORWARD;\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c" MULADD(at[%d], at[%d]); \00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\0A COMBA_STORE(C->dp[%d]);\0A\00", align 1
@.str.6 = private unnamed_addr constant [137 x i8] c" COMBA_STORE2(C->dp[%d]);\0A C->used = %d;\0A C->sign = A->sign ^ B->sign;\0A fp_clamp(C);\0A COMBA_FINI;\0A break;\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c" }\0A}\0A\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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %11, 16
br i1 %12, label %.lr.ph8, label %92
.lr.ph8: ; preds = %2
br label %13
13: ; preds = %.lr.ph8, %87
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17)
store i32 0, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %20, %21
%23 = sub nsw i32 %22, 1
%24 = icmp slt i32 %19, %23
br i1 %24, label %.lr.ph5, label %78
.lr.ph5: ; preds = %13
br label %25
25: ; preds = %.lr.ph5, %69
%26 = load i32, ptr %7, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26)
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %32
32: ; preds = %30, %25
store i32 0, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %66
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %60
store i32 0, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph, label %59
.lr.ph: ; preds = %36
br label %40
40: ; preds = %.lr.ph, %53
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %41, %42
%44 = load i32, ptr %7, align 4
%45 = icmp eq i32 %43, %44
br i1 %45, label %46, label %52
46: ; preds = %40
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %48, %49
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %47, i32 noundef %50)
br label %52
52: ; preds = %46, %40
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %36
br label %60
60: ; preds = %59
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %8, align 4
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %32
%67 = load i32, ptr %7, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %67)
br label %69
69: ; preds = %66
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %6, align 4
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %73, %74
%76 = sub nsw i32 %75, 1
%77 = icmp slt i32 %72, %76
br i1 %77, label %25, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %69
br label %78
78: ; preds = %._crit_edge6, %13
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %79, %80
%82 = sub nsw i32 %81, 1
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %83, %84
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %82, i32 noundef %85)
br label %87
87: ; preds = %78
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %6, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp sle i32 %90, 16
br i1 %91, label %13, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %87
br label %92
92: ; preds = %._crit_edge9, %2
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpbtm8q69y.c'
source_filename = "/tmp/tmpbtm8q69y.c"
target datalayout = "e-m:e-p270: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 { double, double }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @MPI_Wtime() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load double, ptr %3, align 8
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load double, ptr %5, align 8
%7 = fdiv double %6, 1.000000e+06
%8 = fadd double %4, %7
ret double %8
}
declare i32 @gettimeofday(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/tmpbtm8q69y.c"
target datalayout = "e-m:e-p270: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 { double, double }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @MPI_Wtime() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load double, ptr %3, align 8
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load double, ptr %5, align 8
%7 = fdiv double %6, 1.000000e+06
%8 = fadd double %4, %7
ret double %8
}
declare i32 @gettimeofday(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/tmp17lsi_44.c'
source_filename = "/tmp/tmp17lsi_44.c"
target datalayout = "e-m:e-p270: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 [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hughbien/assertive/refs/heads/master/test/pass_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_truth_pass() #0 {
%1 = call i32 @assert_true_(ptr noundef @.str, i32 noundef 5, i32 noundef 1)
ret void
}
declare i32 @assert_true_(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/tmp17lsi_44.c"
target datalayout = "e-m:e-p270: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 [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hughbien/assertive/refs/heads/master/test/pass_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_truth_pass() #0 {
%1 = call i32 @assert_true_(ptr noundef @.str, i32 noundef 5, i32 noundef 1)
ret void
}
declare i32 @assert_true_(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/tmp5zo_sw5c.c'
source_filename = "/tmp/tmp5zo_sw5c.c"
target datalayout = "e-m:e-p270: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"usage: tinoco [-l #helixlength] [-w] < vie-file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @nrerror(ptr noundef @.str)
ret void
}
declare i32 @nrerror(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/tmp5zo_sw5c.c"
target datalayout = "e-m:e-p270: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"usage: tinoco [-l #helixlength] [-w] < vie-file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @nrerror(ptr noundef @.str)
ret void
}
declare i32 @nrerror(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/tmpu5dr5quv.c'
source_filename = "/tmp/tmpu5dr5quv.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Version: 0.4, 2009/10/18\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"Usage: %s <host ip> <host mac> <user name> [password]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5dr5quv.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Version: 0.4, 2009/10/18\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"Usage: %s <host ip> <host mac> <user name> [password]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3enmafim.c'
source_filename = "/tmp/tmp3enmafim.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"aeiouAEIOUOIEAuoiea\00", align 1
@.str.2 = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/disemvowel/disemvowel_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_only_vowels() #0 {
%1 = call i64 @disemvowel(ptr noundef @.str.1)
%2 = inttoptr i64 %1 to ptr
%3 = call i32 @_assert_string_equal(ptr noundef @.str, ptr noundef %2, ptr noundef @.str.2, i32 noundef 17)
ret void
}
declare i32 @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @disemvowel(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/tmp3enmafim.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"aeiouAEIOUOIEAuoiea\00", align 1
@.str.2 = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/disemvowel/disemvowel_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_only_vowels() #0 {
%1 = call i64 @disemvowel(ptr noundef @.str.1)
%2 = inttoptr i64 %1 to ptr
%3 = call i32 @_assert_string_equal(ptr noundef @.str, ptr noundef %2, ptr noundef @.str.2, i32 noundef 17)
ret void
}
declare i32 @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @disemvowel(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/tmpb68m2aez.c'
source_filename = "/tmp/tmpb68m2aez.c"
target datalayout = "e-m:e-p270: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/tmpb68m2aez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.