llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmphv3cpox9.c'
source_filename = "/tmp/tmphv3cpox9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"\0AAdresse decimale : %d.%d.%d.%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ConvertIPdec2bin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4 x i32], align 16
%6 = alloca [4 x [8 x i32]], align 16
%7 = alloca [4 x [8 x i8]], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 32, i1 false)
br label %8
8: ; preds = %33, %1
%9 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11)
%13 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13)
%15 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %8
%18 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%19 = load i32, ptr %18, align 16
%20 = icmp sgt i32 %19, 255
br i1 %20, label %33, label %21
21: ; preds = %17
%22 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
%23 = load i32, ptr %22, align 4
%24 = icmp sgt i32 %23, 255
br i1 %24, label %33, label %25
25: ; preds = %21
%26 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
%27 = load i32, ptr %26, align 8
%28 = icmp sgt i32 %27, 255
br i1 %28, label %33, label %29
29: ; preds = %25
%30 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
%31 = load i32, ptr %30, align 4
%32 = icmp sgt i32 %31, 255
br label %33
33: ; preds = %29, %25, %21, %17
%34 = phi i1 [ true, %25 ], [ true, %21 ], [ true, %17 ], [ %32, %29 ]
br i1 %34, label %8, label %35, !llvm.loop !6
35: ; preds = %33
%36 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%37 = load i32, ptr %36, align 16
%38 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
%39 = load i32, ptr %38, align 4
%40 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
%41 = load i32, ptr %40, align 8
%42 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
%43 = load i32, ptr %42, align 4
%44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %58, %35
%46 = load i32, ptr %3, align 4
%47 = icmp slt i32 %46, 4
br i1 %47, label %48, label %61
48: ; preds = %45
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [4 x [8 x i32]], ptr %6, i64 0, i64 %54
%56 = getelementptr inbounds [8 x i32], ptr %55, i64 0, i64 0
%57 = call i32 @dec2bin(i32 noundef %52, ptr noundef %56, i32 noundef 7)
br label %58
58: ; preds = %48
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %3, align 4
br label %45, !llvm.loop !8
61: ; preds = %45
store i32 0, ptr %3, align 4
br label %62
62: ; preds = %92, %61
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %63, 4
br i1 %64, label %65, label %95
65: ; preds = %62
store i32 7, ptr %4, align 4
br label %66
66: ; preds = %82, %65
%67 = load i32, ptr %4, align 4
%68 = icmp sge i32 %67, 0
br i1 %68, label %69, label %85
69: ; preds = %66
%70 = getelementptr inbounds [4 x [8 x i8]], ptr %7, i64 0, i64 0
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [4 x [8 x i32]], ptr %6, i64 0, i64 %72
%74 = load i32, ptr %4, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [8 x i32], ptr %73, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = call i32 @sprintf(ptr noundef %70, ptr noundef @.str, i32 noundef %77)
%79 = load ptr, ptr %2, align 8
%80 = getelementptr inbounds [4 x [8 x i8]], ptr %7, i64 0, i64 0
%81 = call i32 @strcat(ptr noundef %79, ptr noundef %80)
br label %82
82: ; preds = %69
%83 = load i32, ptr %4, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %4, align 4
br label %66, !llvm.loop !9
85: ; preds = %66
%86 = load i32, ptr %3, align 4
%87 = icmp ne i32 %86, 3
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = load ptr, ptr %2, align 8
%90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str.2)
br label %91
91: ; preds = %88, %85
br label %92
92: ; preds = %91
%93 = load i32, ptr %3, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %3, align 4
br label %62, !llvm.loop !10
95: ; preds = %62
%96 = load ptr, ptr %2, align 8
ret ptr %96
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @dec2bin(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphv3cpox9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"\0AAdresse decimale : %d.%d.%d.%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ConvertIPdec2bin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4 x i32], align 16
%6 = alloca [4 x [8 x i32]], align 16
%7 = alloca [4 x [8 x i8]], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 32, i1 false)
br label %8
8: ; preds = %33, %1
%9 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11)
%13 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13)
%15 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %8
%18 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%19 = load i32, ptr %18, align 16
%20 = icmp sgt i32 %19, 255
br i1 %20, label %33, label %21
21: ; preds = %17
%22 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
%23 = load i32, ptr %22, align 4
%24 = icmp sgt i32 %23, 255
br i1 %24, label %33, label %25
25: ; preds = %21
%26 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
%27 = load i32, ptr %26, align 8
%28 = icmp sgt i32 %27, 255
br i1 %28, label %33, label %29
29: ; preds = %25
%30 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
%31 = load i32, ptr %30, align 4
%32 = icmp sgt i32 %31, 255
br label %33
33: ; preds = %29, %25, %21, %17
%34 = phi i1 [ true, %25 ], [ true, %21 ], [ true, %17 ], [ %32, %29 ]
br i1 %34, label %8, label %35, !llvm.loop !6
35: ; preds = %33
%36 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%37 = load i32, ptr %36, align 16
%38 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
%39 = load i32, ptr %38, align 4
%40 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
%41 = load i32, ptr %40, align 8
%42 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
%43 = load i32, ptr %42, align 4
%44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %43)
store i32 0, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %45, 4
br i1 %46, label %.lr.ph, label %62
.lr.ph: ; preds = %35
br label %47
47: ; preds = %.lr.ph, %57
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [4 x [8 x i32]], ptr %6, i64 0, i64 %53
%55 = getelementptr inbounds [8 x i32], ptr %54, i64 0, i64 0
%56 = call i32 @dec2bin(i32 noundef %51, ptr noundef %55, i32 noundef 7)
br label %57
57: ; preds = %47
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = icmp slt i32 %60, 4
br i1 %61, label %47, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %57
br label %62
62: ; preds = %._crit_edge, %35
store i32 0, ptr %3, align 4
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %63, 4
br i1 %64, label %.lr.ph5, label %98
.lr.ph5: ; preds = %62
br label %65
65: ; preds = %.lr.ph5, %93
store i32 7, ptr %4, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp sge i32 %66, 0
br i1 %67, label %.lr.ph2, label %86
.lr.ph2: ; preds = %65
br label %68
68: ; preds = %.lr.ph2, %81
%69 = getelementptr inbounds [4 x [8 x i8]], ptr %7, i64 0, i64 0
%70 = load i32, ptr %3, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [4 x [8 x i32]], ptr %6, i64 0, i64 %71
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [8 x i32], ptr %72, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = call i32 @sprintf(ptr noundef %69, ptr noundef @.str, i32 noundef %76)
%78 = load ptr, ptr %2, align 8
%79 = getelementptr inbounds [4 x [8 x i8]], ptr %7, i64 0, i64 0
%80 = call i32 @strcat(ptr noundef %78, ptr noundef %79)
br label %81
81: ; preds = %68
%82 = load i32, ptr %4, align 4
%83 = add nsw i32 %82, -1
store i32 %83, ptr %4, align 4
%84 = load i32, ptr %4, align 4
%85 = icmp sge i32 %84, 0
br i1 %85, label %68, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %81
br label %86
86: ; preds = %._crit_edge3, %65
%87 = load i32, ptr %3, align 4
%88 = icmp ne i32 %87, 3
br i1 %88, label %89, label %92
89: ; preds = %86
%90 = load ptr, ptr %2, align 8
%91 = call i32 @strcat(ptr noundef %90, ptr noundef @.str.2)
br label %92
92: ; preds = %89, %86
br label %93
93: ; preds = %92
%94 = load i32, ptr %3, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = icmp slt i32 %96, 4
br i1 %97, label %65, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %93
br label %98
98: ; preds = %._crit_edge6, %62
%99 = load ptr, ptr %2, align 8
ret ptr %99
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @dec2bin(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpeowqcfb0.c'
source_filename = "/tmp/tmpeowqcfb0.c"
target datalayout = "e-m:e-p270: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/tmpeowqcfb0.c"
target datalayout = "e-m:e-p270: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/tmp782lir3m.c'
source_filename = "/tmp/tmp782lir3m.c"
target datalayout = "e-m:e-p270: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/tmp782lir3m.c"
target datalayout = "e-m:e-p270: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/tmpurj2ej9p.c'
source_filename = "/tmp/tmpurj2ej9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"x = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"after mod, x = 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @leftmost_one(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = lshr i32 %7, 1
%9 = load i32, ptr %2, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = lshr i32 %11, 2
%13 = load i32, ptr %2, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = lshr i32 %15, 4
%17 = load i32, ptr %2, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = lshr i32 %19, 8
%21 = load i32, ptr %2, align 4
%22 = or i32 %21, %20
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = lshr i32 %23, 16
%25 = load i32, ptr %2, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = lshr i32 %29, 1
%31 = add i32 %30, 1
%32 = load i32, ptr %3, align 4
%33 = and i32 %31, %32
ret i32 %33
}
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/tmpurj2ej9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"x = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"after mod, x = 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @leftmost_one(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = lshr i32 %7, 1
%9 = load i32, ptr %2, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = lshr i32 %11, 2
%13 = load i32, ptr %2, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = lshr i32 %15, 4
%17 = load i32, ptr %2, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = lshr i32 %19, 8
%21 = load i32, ptr %2, align 4
%22 = or i32 %21, %20
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = lshr i32 %23, 16
%25 = load i32, ptr %2, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = lshr i32 %29, 1
%31 = add i32 %30, 1
%32 = load i32, ptr %3, align 4
%33 = and i32 %31, %32
ret i32 %33
}
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/tmpau321xf4.c'
source_filename = "/tmp/tmpau321xf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TestMaskedFramePointer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @alloca(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
call void @Consume(ptr noundef %6)
ret void
}
declare ptr @alloca(i32 noundef) #1
declare void @Consume(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/tmpau321xf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TestMaskedFramePointer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @alloca(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
call void @Consume(ptr noundef %6)
ret void
}
declare ptr @alloca(i32 noundef) #1
declare void @Consume(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/tmpviz8p9fu.c'
source_filename = "/tmp/tmpviz8p9fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@add_man.man = internal global [2 x [2 x ptr]] [[2 x ptr] [ptr @.str, ptr @.str.1], [2 x ptr] [ptr @.str.2, ptr @.str.3]], align 16
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"(O)\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Help!\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"\\O/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_man(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %26, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %29
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %11, %12
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 84, %15
%17 = sdiv i32 %16, 12
%18 = srem i32 %17, 2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [2 x [2 x ptr]], ptr @add_man.man, i64 0, i64 %19
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [2 x ptr], ptr %20, i64 0, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @my_mvaddstr(i32 noundef %13, i32 noundef %14, ptr noundef %24)
br label %26
26: ; preds = %10
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %7, !llvm.loop !6
29: ; preds = %7
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @my_mvaddstr(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpviz8p9fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@add_man.man = internal global [2 x [2 x ptr]] [[2 x ptr] [ptr @.str, ptr @.str.1], [2 x ptr] [ptr @.str.2, ptr @.str.3]], align 16
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"(O)\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Help!\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"\\O/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_man(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %25
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 84, %14
%16 = sdiv i32 %15, 12
%17 = srem i32 %16, 2
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [2 x [2 x ptr]], ptr @add_man.man, i64 0, i64 %18
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [2 x ptr], ptr %19, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @my_mvaddstr(i32 noundef %12, i32 noundef %13, ptr noundef %23)
br label %25
25: ; preds = %9
%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 = icmp slt i32 %28, 2
br i1 %29, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @my_mvaddstr(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsue2oggo.c'
source_filename = "/tmp/tmpsue2oggo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @MRM_Handler() #0 {
%1 = call i32 (...) @default_isr()
ret void
}
declare i32 @default_isr(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsue2oggo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @MRM_Handler() #0 {
%1 = call i32 (...) @default_isr()
ret void
}
declare i32 @default_isr(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp882nq0by.c'
source_filename = "/tmp/tmp882nq0by.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_prime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @sqrt(i32 noundef %6)
store i32 %7, ptr %4, align 4
store i32 2, ptr %5, align 4
br label %8
8: ; preds = %19, %1
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = srem i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 0, ptr %2, align 4
br label %23
18: ; preds = %12
br label %19
19: ; preds = %18
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %22, %17
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @sqrt(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/tmp882nq0by.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_prime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @sqrt(i32 noundef %6)
store i32 %7, ptr %4, align 4
store i32 2, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %18
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %5, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %2, align 4
br label %25
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %25
25: ; preds = %24, %16
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @sqrt(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/tmptd3fw_dr.c'
source_filename = "/tmp/tmptd3fw_dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_utils_hexchar_to_dec(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 57
br i1 %8, label %23, label %9
9: ; preds = %6, %1
%10 = load i32, ptr %3, align 4
%11 = icmp sge i32 %10, 97
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %13, 102
br i1 %14, label %23, label %15
15: ; preds = %12, %9
%16 = load i32, ptr %3, align 4
%17 = icmp sge i32 %16, 65
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 70
br label %21
21: ; preds = %18, %15
%22 = phi i1 [ false, %15 ], [ %20, %18 ]
br label %23
23: ; preds = %21, %12, %6
%24 = phi i1 [ true, %12 ], [ true, %6 ], [ %22, %21 ]
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load i32, ptr %3, align 4
%28 = call i64 @isdigit(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = sub nsw i32 %31, 48
store i32 %32, ptr %2, align 4
br label %47
33: ; preds = %23
%34 = load i32, ptr %3, align 4
%35 = icmp sge i32 %34, 97
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, ptr %3, align 4
%38 = icmp sle i32 %37, 102
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 97
%42 = add nsw i32 %41, 10
store i32 %42, ptr %2, align 4
br label %47
43: ; preds = %36, %33
%44 = load i32, ptr %3, align 4
%45 = sub nsw i32 %44, 65
%46 = add nsw i32 %45, 10
store i32 %46, ptr %2, align 4
br label %47
47: ; preds = %43, %39, %30
%48 = load i32, ptr %2, align 4
ret i32 %48
}
declare i32 @assert(i32 noundef) #1
declare i64 @isdigit(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/tmptd3fw_dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_utils_hexchar_to_dec(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 57
br i1 %8, label %23, label %9
9: ; preds = %6, %1
%10 = load i32, ptr %3, align 4
%11 = icmp sge i32 %10, 97
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %13, 102
br i1 %14, label %23, label %15
15: ; preds = %12, %9
%16 = load i32, ptr %3, align 4
%17 = icmp sge i32 %16, 65
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 70
br label %21
21: ; preds = %18, %15
%22 = phi i1 [ false, %15 ], [ %20, %18 ]
br label %23
23: ; preds = %21, %12, %6
%24 = phi i1 [ true, %12 ], [ true, %6 ], [ %22, %21 ]
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load i32, ptr %3, align 4
%28 = call i64 @isdigit(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = sub nsw i32 %31, 48
store i32 %32, ptr %2, align 4
br label %47
33: ; preds = %23
%34 = load i32, ptr %3, align 4
%35 = icmp sge i32 %34, 97
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, ptr %3, align 4
%38 = icmp sle i32 %37, 102
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 97
%42 = add nsw i32 %41, 10
store i32 %42, ptr %2, align 4
br label %47
43: ; preds = %36, %33
%44 = load i32, ptr %3, align 4
%45 = sub nsw i32 %44, 65
%46 = add nsw i32 %45, 10
store i32 %46, ptr %2, align 4
br label %47
47: ; preds = %43, %39, %30
%48 = load i32, ptr %2, align 4
ret i32 %48
}
declare i32 @assert(i32 noundef) #1
declare i64 @isdigit(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/tmplh0upo_f.c'
source_filename = "/tmp/tmplh0upo_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insertion_sort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %5, align 8
br label %7
7: ; preds = %42, %2
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %45
11: ; preds = %7
%12 = load i64, ptr %5, align 8
store i64 %12, ptr %6, align 8
br label %13
13: ; preds = %38, %11
%14 = load i64, ptr %6, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %6, align 8
%19 = getelementptr inbounds i64, ptr %17, i64 %18
%20 = load i64, ptr %19, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %6, align 8
%23 = sub i64 %22, 1
%24 = getelementptr inbounds i64, ptr %21, i64 %23
%25 = load i64, ptr %24, align 8
%26 = icmp ult i64 %20, %25
br label %27
27: ; preds = %16, %13
%28 = phi i1 [ false, %13 ], [ %26, %16 ]
br i1 %28, label %29, label %41
29: ; preds = %27
%30 = load ptr, ptr %3, align 8
%31 = load i64, ptr %6, align 8
%32 = getelementptr inbounds i64, ptr %30, i64 %31
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %6, align 8
%35 = sub i64 %34, 1
%36 = getelementptr inbounds i64, ptr %33, i64 %35
%37 = call i32 @exchange(ptr noundef %32, ptr noundef %36)
br label %38
38: ; preds = %29
%39 = load i64, ptr %6, align 8
%40 = add i64 %39, -1
store i64 %40, ptr %6, align 8
br label %13, !llvm.loop !6
41: ; preds = %27
br label %42
42: ; preds = %41
%43 = load i64, ptr %5, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %5, align 8
br label %7, !llvm.loop !8
45: ; preds = %7
ret void
}
declare i32 @exchange(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplh0upo_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insertion_sort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %47
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %41
%11 = load i64, ptr %5, align 8
store i64 %11, ptr %6, align 8
br label %12
12: ; preds = %37, %10
%13 = load i64, ptr %6, align 8
%14 = icmp ugt i64 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %6, align 8
%18 = getelementptr inbounds i64, ptr %16, i64 %17
%19 = load i64, ptr %18, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = sub i64 %21, 1
%23 = getelementptr inbounds i64, ptr %20, i64 %22
%24 = load i64, ptr %23, align 8
%25 = icmp ult i64 %19, %24
br label %26
26: ; preds = %15, %12
%27 = phi i1 [ false, %12 ], [ %25, %15 ]
br i1 %27, label %28, label %40
28: ; preds = %26
%29 = load ptr, ptr %3, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i64, ptr %29, i64 %30
%32 = load ptr, ptr %3, align 8
%33 = load i64, ptr %6, align 8
%34 = sub i64 %33, 1
%35 = getelementptr inbounds i64, ptr %32, i64 %34
%36 = call i32 @exchange(ptr noundef %31, ptr noundef %35)
br label %37
37: ; preds = %28
%38 = load i64, ptr %6, align 8
%39 = add i64 %38, -1
store i64 %39, ptr %6, align 8
br label %12, !llvm.loop !6
40: ; preds = %26
br label %41
41: ; preds = %40
%42 = load i64, ptr %5, align 8
%43 = add i64 %42, 1
store i64 %43, ptr %5, align 8
%44 = load i64, ptr %5, align 8
%45 = load i64, ptr %4, align 8
%46 = icmp ult i64 %44, %45
br i1 %46, label %10, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %2
ret void
}
declare i32 @exchange(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4izmk4rk.c'
source_filename = "/tmp/tmp4izmk4rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i64 0, align 8
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_DOMAIN = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4izmk4rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i64 0, align 8
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_DOMAIN = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8k202aj9.c'
source_filename = "/tmp/tmp8k202aj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sem_signal(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 @sem_op(i32 noundef %3, i32 noundef 1)
ret void
}
declare i32 @sem_op(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/tmp8k202aj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sem_signal(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 @sem_op(i32 noundef %3, i32 noundef 1)
ret void
}
declare i32 @sem_op(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/tmph9w8xrwq.c'
source_filename = "/tmp/tmph9w8xrwq.c"
target datalayout = "e-m:e-p270: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/tmph9w8xrwq.c"
target datalayout = "e-m:e-p270: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/tmpjdjsvs87.c'
source_filename = "/tmp/tmpjdjsvs87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XSetWindowAttributes_win_gravity(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdjsvs87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XSetWindowAttributes_win_gravity(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8zvcbyn8.c'
source_filename = "/tmp/tmp8zvcbyn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EAGAIN = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zvcbyn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EAGAIN = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeegiaq27.c'
source_filename = "/tmp/tmpeegiaq27.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"usage: %s <n>\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Elapsed time = %.14e seconds\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 double, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca %struct.timeval, align 8
%14 = alloca %struct.timeval, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 0.000000e+00, ptr %11, align 8
store i32 1, ptr %12, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 2
br i1 %16, label %17, label %24
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21)
%23 = call i32 @exit(i32 noundef 0) #3
unreachable
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null)
%30 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
%31 = load double, ptr %30, align 8
%32 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1
%33 = load double, ptr %32, align 8
%34 = fdiv double %33, 1.000000e+06
%35 = fadd double %31, %34
store double %35, ptr %6, align 8
store i64 0, ptr %8, align 8
br label %36
36: ; preds = %50, %24
%37 = load i64, ptr %8, align 8
%38 = load i64, ptr %9, align 8
%39 = icmp slt i64 %37, %38
br i1 %39, label %40, label %55
40: ; preds = %36
%41 = load i32, ptr %12, align 4
%42 = load i64, ptr %8, align 8
%43 = sitofp i64 %42 to double
%44 = call i32 @sin(double noundef %43)
%45 = call i32 @exp(i32 noundef %44)
%46 = mul nsw i32 %41, %45
%47 = sitofp i32 %46 to double
%48 = load double, ptr %11, align 8
%49 = fadd double %48, %47
store double %49, ptr %11, align 8
br label %50
50: ; preds = %40
%51 = load i64, ptr %8, align 8
%52 = add nsw i64 %51, 1
store i64 %52, ptr %8, align 8
%53 = load i32, ptr %12, align 4
%54 = sub nsw i32 0, %53
store i32 %54, ptr %12, align 4
br label %36, !llvm.loop !6
55: ; preds = %36
%56 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null)
%57 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0
%58 = load double, ptr %57, align 8
%59 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
%60 = load double, ptr %59, align 8
%61 = fdiv double %60, 1.000000e+06
%62 = fadd double %58, %61
store double %62, ptr %7, align 8
%63 = load double, ptr %7, align 8
%64 = load double, ptr %6, align 8
%65 = fsub double %63, %64
store double %65, ptr %10, align 8
%66 = load double, ptr %10, align 8
%67 = call i32 @printf(ptr noundef @.str.1, double noundef %66)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @exp(i32 noundef) #1
declare i32 @sin(double noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeegiaq27.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"usage: %s <n>\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Elapsed time = %.14e seconds\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 double, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca %struct.timeval, align 8
%14 = alloca %struct.timeval, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 0.000000e+00, ptr %11, align 8
store i32 1, ptr %12, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 2
br i1 %16, label %17, label %24
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21)
%23 = call i32 @exit(i32 noundef 0) #3
unreachable
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null)
%30 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
%31 = load double, ptr %30, align 8
%32 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1
%33 = load double, ptr %32, align 8
%34 = fdiv double %33, 1.000000e+06
%35 = fadd double %31, %34
store double %35, ptr %6, align 8
store i64 0, ptr %8, align 8
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %9, align 8
%38 = icmp slt i64 %36, %37
br i1 %38, label %.lr.ph, label %57
.lr.ph: ; preds = %24
br label %39
39: ; preds = %.lr.ph, %49
%40 = load i32, ptr %12, align 4
%41 = load i64, ptr %8, align 8
%42 = sitofp i64 %41 to double
%43 = call i32 @sin(double noundef %42)
%44 = call i32 @exp(i32 noundef %43)
%45 = mul nsw i32 %40, %44
%46 = sitofp i32 %45 to double
%47 = load double, ptr %11, align 8
%48 = fadd double %47, %46
store double %48, ptr %11, align 8
br label %49
49: ; preds = %39
%50 = load i64, ptr %8, align 8
%51 = add nsw i64 %50, 1
store i64 %51, ptr %8, align 8
%52 = load i32, ptr %12, align 4
%53 = sub nsw i32 0, %52
store i32 %53, ptr %12, align 4
%54 = load i64, ptr %8, align 8
%55 = load i64, ptr %9, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %57
57: ; preds = %._crit_edge, %24
%58 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null)
%59 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0
%60 = load double, ptr %59, align 8
%61 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
%62 = load double, ptr %61, align 8
%63 = fdiv double %62, 1.000000e+06
%64 = fadd double %60, %63
store double %64, ptr %7, align 8
%65 = load double, ptr %7, align 8
%66 = load double, ptr %6, align 8
%67 = fsub double %65, %66
store double %67, ptr %10, align 8
%68 = load double, ptr %10, align 8
%69 = call i32 @printf(ptr noundef @.str.1, double noundef %68)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @exp(i32 noundef) #1
declare i32 @sin(double noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplj0ka4t8.c'
source_filename = "/tmp/tmplj0ka4t8.c"
target datalayout = "e-m:e-p270: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/tmplj0ka4t8.c"
target datalayout = "e-m:e-p270: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/tmpocuexnyx.c'
source_filename = "/tmp/tmpocuexnyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dgemm(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, double noundef %8, ptr noundef %9, i32 noundef %10) #0 {
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca double, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
store i32 %0, ptr %12, align 4
store i32 %1, ptr %13, align 4
store i32 %2, ptr %14, align 4
store double %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store i32 %5, ptr %17, align 4
store ptr %6, ptr %18, align 8
store i32 %7, ptr %19, align 4
store double %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store i32 %10, ptr %22, align 4
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %14, align 4
%26 = load double, ptr %15, align 8
%27 = load ptr, ptr %16, align 8
%28 = load i32, ptr %17, align 4
%29 = load ptr, ptr %18, align 8
%30 = load i32, ptr %19, align 4
%31 = load double, ptr %20, align 8
%32 = load ptr, ptr %21, align 8
%33 = load i32, ptr %22, align 4
%34 = call i32 @dgemm_knc(i32 noundef %23, i32 noundef %24, i32 noundef %25, double noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, i32 noundef %30, double noundef %31, ptr noundef %32, i32 noundef %33)
ret void
}
declare i32 @dgemm_knc(i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double 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/tmpocuexnyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dgemm(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, double noundef %8, ptr noundef %9, i32 noundef %10) #0 {
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca double, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
store i32 %0, ptr %12, align 4
store i32 %1, ptr %13, align 4
store i32 %2, ptr %14, align 4
store double %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store i32 %5, ptr %17, align 4
store ptr %6, ptr %18, align 8
store i32 %7, ptr %19, align 4
store double %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store i32 %10, ptr %22, align 4
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %14, align 4
%26 = load double, ptr %15, align 8
%27 = load ptr, ptr %16, align 8
%28 = load i32, ptr %17, align 4
%29 = load ptr, ptr %18, align 8
%30 = load i32, ptr %19, align 4
%31 = load double, ptr %20, align 8
%32 = load ptr, ptr %21, align 8
%33 = load i32, ptr %22, align 4
%34 = call i32 @dgemm_knc(i32 noundef %23, i32 noundef %24, i32 noundef %25, double noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, i32 noundef %30, double noundef %31, ptr noundef %32, i32 noundef %33)
ret void
}
declare i32 @dgemm_knc(i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double 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/tmpzy1i3pw5.c'
source_filename = "/tmp/tmpzy1i3pw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_execveat(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @shim_enosys(i32 noundef 0, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @shim_enosys(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzy1i3pw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_execveat(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @shim_enosys(i32 noundef 0, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @shim_enosys(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl33g0jfw.c'
source_filename = "/tmp/tmpl33g0jfw.c"
target datalayout = "e-m:e-p270: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"%10lf, \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pirnt_matrix(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = load i32, ptr %5, align 4
%12 = zext i32 %11 to i64
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %38, %3
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %41
17: ; preds = %13
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %33, %17
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %36
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = mul nsw i64 %25, %12
%27 = getelementptr inbounds double, ptr %23, i64 %26
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %31)
br label %33
33: ; preds = %22
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %18, !llvm.loop !6
36: ; preds = %18
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
38: ; preds = %36
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %13, !llvm.loop !8
41: ; preds = %13
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl33g0jfw.c"
target datalayout = "e-m:e-p270: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"%10lf, \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pirnt_matrix(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = load i32, ptr %5, align 4
%12 = zext i32 %11 to i64
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph2, label %45
.lr.ph2: ; preds = %3
br label %16
16: ; preds = %.lr.ph2, %39
store i32 0, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %37
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %31
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = mul nsw i64 %23, %12
%25 = getelementptr inbounds double, ptr %21, i64 %24
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %29)
br label %31
31: ; preds = %20
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %16
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %39
39: ; preds = %37
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8ko668jk.c'
source_filename = "/tmp/tmp8ko668jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isal_deflate_icf_finish_lvl1(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 @isal_deflate_icf_finish_hash_hist_base(ptr noundef %3)
ret void
}
declare i32 @isal_deflate_icf_finish_hash_hist_base(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/tmp8ko668jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isal_deflate_icf_finish_lvl1(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 @isal_deflate_icf_finish_hash_hist_base(ptr noundef %3)
ret void
}
declare i32 @isal_deflate_icf_finish_hash_hist_base(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/tmp6vjr_g5a.c'
source_filename = "/tmp/tmp6vjr_g5a.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"The sum of all the amicable numbers under 10000 is %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10000 x i64], align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 80000, i1 false)
store i64 0, ptr %6, align 8
store i64 1, ptr %3, align 8
br label %7
7: ; preds = %15, %0
%8 = load i64, ptr %3, align 8
%9 = icmp slt i64 %8, 10000
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i64, ptr %3, align 8
%12 = call i64 @d(i64 noundef %11)
%13 = load i64, ptr %3, align 8
%14 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %13
store i64 %12, ptr %14, align 8
br label %15
15: ; preds = %10
%16 = load i64, ptr %3, align 8
%17 = add nsw i64 %16, 1
store i64 %17, ptr %3, align 8
br label %7, !llvm.loop !6
18: ; preds = %7
store i64 1, ptr %4, align 8
br label %19
19: ; preds = %57, %18
%20 = load i64, ptr %4, align 8
%21 = icmp slt i64 %20, 10000
br i1 %21, label %22, label %60
22: ; preds = %19
%23 = load i64, ptr %4, align 8
%24 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %23
%25 = load i64, ptr %24, align 8
store i64 %25, ptr %5, align 8
%26 = load i64, ptr %5, align 8
%27 = icmp sgt i64 %26, 0
br i1 %27, label %28, label %56
28: ; preds = %22
%29 = load i64, ptr %5, align 8
%30 = icmp slt i64 %29, 10000
br i1 %30, label %31, label %56
31: ; preds = %28
%32 = load i64, ptr %4, align 8
%33 = load i64, ptr %5, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load i64, ptr %4, align 8
%37 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %36
%38 = load i64, ptr %37, align 8
%39 = load i64, ptr %5, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %55
41: ; preds = %35
%42 = load i64, ptr %5, align 8
%43 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %42
%44 = load i64, ptr %43, align 8
%45 = load i64, ptr %4, align 8
%46 = icmp eq i64 %44, %45
br i1 %46, label %47, label %55
47: ; preds = %41
%48 = load i64, ptr %4, align 8
%49 = load i64, ptr %5, align 8
%50 = add nsw i64 %48, %49
%51 = load i64, ptr %6, align 8
%52 = add nsw i64 %51, %50
store i64 %52, ptr %6, align 8
%53 = load i64, ptr %5, align 8
%54 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %53
store i64 0, ptr %54, align 8
br label %55
55: ; preds = %47, %41, %35
br label %56
56: ; preds = %55, %31, %28, %22
br label %57
57: ; preds = %56
%58 = load i64, ptr %4, align 8
%59 = add nsw i64 %58, 1
store i64 %59, ptr %4, align 8
br label %19, !llvm.loop !8
60: ; preds = %19
%61 = load i64, ptr %6, align 8
%62 = call i32 @printf(ptr noundef @.str, i64 noundef %61)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @d(i64 noundef) #2
declare i32 @printf(ptr noundef, i64 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6vjr_g5a.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"The sum of all the amicable numbers under 10000 is %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10000 x i64], align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 80000, i1 false)
store i64 0, ptr %6, align 8
store i64 1, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp slt i64 %7, 10000
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i64, ptr %3, align 8
%11 = call i64 @d(i64 noundef %10)
%12 = load i64, ptr %3, align 8
%13 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %12
store i64 %11, ptr %13, align 8
br label %14
14: ; preds = %9
%15 = load i64, ptr %3, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %3, align 8
%17 = load i64, ptr %3, align 8
%18 = icmp slt i64 %17, 10000
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
store i64 1, ptr %4, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp slt i64 %20, 10000
br i1 %21, label %.lr.ph2, label %62
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %57
%23 = load i64, ptr %4, align 8
%24 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %23
%25 = load i64, ptr %24, align 8
store i64 %25, ptr %5, align 8
%26 = load i64, ptr %5, align 8
%27 = icmp sgt i64 %26, 0
br i1 %27, label %28, label %56
28: ; preds = %22
%29 = load i64, ptr %5, align 8
%30 = icmp slt i64 %29, 10000
br i1 %30, label %31, label %56
31: ; preds = %28
%32 = load i64, ptr %4, align 8
%33 = load i64, ptr %5, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load i64, ptr %4, align 8
%37 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %36
%38 = load i64, ptr %37, align 8
%39 = load i64, ptr %5, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %55
41: ; preds = %35
%42 = load i64, ptr %5, align 8
%43 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %42
%44 = load i64, ptr %43, align 8
%45 = load i64, ptr %4, align 8
%46 = icmp eq i64 %44, %45
br i1 %46, label %47, label %55
47: ; preds = %41
%48 = load i64, ptr %4, align 8
%49 = load i64, ptr %5, align 8
%50 = add nsw i64 %48, %49
%51 = load i64, ptr %6, align 8
%52 = add nsw i64 %51, %50
store i64 %52, ptr %6, align 8
%53 = load i64, ptr %5, align 8
%54 = getelementptr inbounds [10000 x i64], ptr %2, i64 0, i64 %53
store i64 0, ptr %54, align 8
br label %55
55: ; preds = %47, %41, %35
br label %56
56: ; preds = %55, %31, %28, %22
br label %57
57: ; preds = %56
%58 = load i64, ptr %4, align 8
%59 = add nsw i64 %58, 1
store i64 %59, ptr %4, align 8
%60 = load i64, ptr %4, align 8
%61 = icmp slt i64 %60, 10000
br i1 %61, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %62
62: ; preds = %._crit_edge3, %19
%63 = load i64, ptr %6, align 8
%64 = call i32 @printf(ptr noundef @.str, i64 noundef %63)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @d(i64 noundef) #2
declare i32 @printf(ptr noundef, i64 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpagim8txz.c'
source_filename = "/tmp/tmpagim8txz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"usage:version <file1> <file2>\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s:%d/%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"dev\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"block\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"character\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 %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %68
12: ; preds = %2
store i32 1, ptr %6, align 4
br label %13
13: ; preds = %64, %12
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %67
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i64 @lstat(ptr noundef %22, ptr noundef %7)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = call i32 @perror(ptr noundef %30)
br label %64
32: ; preds = %17
%33 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%34 = load i32, ptr %33, align 4
%35 = call i32 @major(i32 noundef %34)
%36 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%37 = load i32, ptr %36, align 4
%38 = call i32 @minor(i32 noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %35, i32 noundef %38)
%40 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%41 = load i32, ptr %40, align 4
%42 = call i64 @S_ISBLK(i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %49, label %44
44: ; preds = %32
%45 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%46 = load i32, ptr %45, align 4
%47 = call i64 @S_ISCHR(i32 noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %63
49: ; preds = %44, %32
%50 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%51 = load i32, ptr %50, align 4
%52 = call i64 @S_ISBLK(i32 noundef %51)
%53 = icmp ne i64 %52, 0
%54 = zext i1 %53 to i64
%55 = select i1 %53, ptr @.str.3, ptr @.str.4
%56 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = call i32 @major(i32 noundef %57)
%59 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%60 = load i32, ptr %59, align 4
%61 = call i32 @minor(i32 noundef %60)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %55, i32 noundef %58, i32 noundef %61)
br label %63
63: ; preds = %49, %44
br label %64
64: ; preds = %63, %25
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
br label %13, !llvm.loop !6
67: ; preds = %13
store i32 0, ptr %3, align 4
br label %68
68: ; preds = %67, %10
%69 = load i32, ptr %3, align 4
ret i32 %69
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @major(i32 noundef) #1
declare i32 @minor(i32 noundef) #1
declare i64 @S_ISBLK(i32 noundef) #1
declare i64 @S_ISCHR(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/tmpagim8txz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"usage:version <file1> <file2>\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s:%d/%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"dev\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"block\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"character\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 %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %70
12: ; preds = %2
store i32 1, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %69
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %63
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i64 @lstat(ptr noundef %21, ptr noundef %7)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %31
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i32 @perror(ptr noundef %29)
br label %63
31: ; preds = %16
%32 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%33 = load i32, ptr %32, align 4
%34 = call i32 @major(i32 noundef %33)
%35 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%36 = load i32, ptr %35, align 4
%37 = call i32 @minor(i32 noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %34, i32 noundef %37)
%39 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%40 = load i32, ptr %39, align 4
%41 = call i64 @S_ISBLK(i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %48, label %43
43: ; preds = %31
%44 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = call i64 @S_ISCHR(i32 noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %62
48: ; preds = %43, %31
%49 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%50 = load i32, ptr %49, align 4
%51 = call i64 @S_ISBLK(i32 noundef %50)
%52 = icmp ne i64 %51, 0
%53 = zext i1 %52 to i64
%54 = select i1 %52, ptr @.str.3, ptr @.str.4
%55 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i32 @major(i32 noundef %56)
%58 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%59 = load i32, ptr %58, align 4
%60 = call i32 @minor(i32 noundef %59)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %54, i32 noundef %57, i32 noundef %60)
br label %62
62: ; preds = %48, %43
br label %63
63: ; preds = %62, %24
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %12
store i32 0, ptr %3, align 4
br label %70
70: ; preds = %69, %10
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @major(i32 noundef) #1
declare i32 @minor(i32 noundef) #1
declare i64 @S_ISBLK(i32 noundef) #1
declare i64 @S_ISCHR(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/tmp07u1pnhn.c'
source_filename = "/tmp/tmp07u1pnhn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"*** Simpletron execution abnormally terminated ***\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"bootMsg.txt\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"*** \00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"not found ***\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Run in Debug Mode(type Y)? \00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"%1[Yy]\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"Now you are in debug mode YHEA!\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [1000 x double], align 16
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, 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 i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 8000, i1 false)
store ptr @.str, ptr %4, align 8
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %12, ptr %2, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = load ptr, ptr %4, align 8
%16 = call i32 @puts(ptr noundef %15)
%17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.1, ptr noundef @.str.5)
br label %63
18: ; preds = %0
%19 = call ptr @calloc(i32 noundef 80, i32 noundef 1)
store ptr %19, ptr %5, align 8
br label %20
20: ; preds = %25, %18
%21 = load ptr, ptr %2, align 8
%22 = call i32 @feof(ptr noundef %21)
%23 = icmp ne i32 %22, 0
%24 = xor i1 %23, true
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %2, align 8
%28 = call i32 @fgets(ptr noundef %26, i32 noundef 80, ptr noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %29)
br label %20, !llvm.loop !6
31: ; preds = %20
%32 = load ptr, ptr %2, align 8
%33 = call i32 @fclose(ptr noundef %32)
%34 = call i32 @puts(ptr noundef @.str.7)
%35 = call i32 @puts(ptr noundef @.str.7)
%36 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.8)
%37 = load ptr, ptr %5, align 8
%38 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %37)
store i32 %38, ptr %11, align 4
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %42
40: ; preds = %31
%41 = call i32 @puts(ptr noundef @.str.10)
br label %46
42: ; preds = %31
%43 = load ptr, ptr %5, align 8
%44 = call i32 @scanf(ptr noundef @.str.11, ptr noundef %43)
%45 = call i32 @puts(ptr noundef @.str.7)
br label %46
46: ; preds = %42, %40
%47 = load ptr, ptr %5, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%50 = load i32, ptr %10, align 4
%51 = call i32 @load(ptr noundef %49, i32 noundef %50)
%52 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%53 = load i32, ptr %11, align 4
%54 = call i64 @execute(ptr noundef %52, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %53)
%55 = icmp eq i64 0, %54
br i1 %55, label %56, label %62
56: ; preds = %46
%57 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%58 = call i32 @debug(ptr noundef %57, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10)
%59 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%60 = load i32, ptr %11, align 4
%61 = call i32 @debugDump(ptr noundef %59, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %60)
br label %62
62: ; preds = %56, %46
br label %63
63: ; preds = %62, %14
%64 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%65 = load i32, ptr %11, align 4
%66 = call i32 @debugDump(ptr noundef %64, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %65)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @puts(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare ptr @calloc(i32 noundef, i32 noundef) #2
declare i32 @feof(ptr noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @load(ptr noundef, i32 noundef) #2
declare i64 @execute(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @debug(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @debugDump(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp07u1pnhn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"*** Simpletron execution abnormally terminated ***\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"bootMsg.txt\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"*** \00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"not found ***\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Run in Debug Mode(type Y)? \00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"%1[Yy]\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"Now you are in debug mode YHEA!\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [1000 x double], align 16
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, 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 i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 8000, i1 false)
store ptr @.str, ptr %4, align 8
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %12, ptr %2, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = load ptr, ptr %4, align 8
%16 = call i32 @puts(ptr noundef %15)
%17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.1, ptr noundef @.str.5)
br label %66
18: ; preds = %0
%19 = call ptr @calloc(i32 noundef 80, i32 noundef 1)
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %2, align 8
%21 = call i32 @feof(ptr noundef %20)
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
br i1 %23, label %.lr.ph, label %34
.lr.ph: ; preds = %18
br label %24
24: ; preds = %.lr.ph, %24
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i32 @fgets(ptr noundef %25, i32 noundef 80, ptr noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %28)
%30 = load ptr, ptr %2, align 8
%31 = call i32 @feof(ptr noundef %30)
%32 = icmp ne i32 %31, 0
%33 = xor i1 %32, true
br i1 %33, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %34
34: ; preds = %._crit_edge, %18
%35 = load ptr, ptr %2, align 8
%36 = call i32 @fclose(ptr noundef %35)
%37 = call i32 @puts(ptr noundef @.str.7)
%38 = call i32 @puts(ptr noundef @.str.7)
%39 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.8)
%40 = load ptr, ptr %5, align 8
%41 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %40)
store i32 %41, ptr %11, align 4
%42 = icmp eq i32 %41, 1
br i1 %42, label %43, label %45
43: ; preds = %34
%44 = call i32 @puts(ptr noundef @.str.10)
br label %49
45: ; preds = %34
%46 = load ptr, ptr %5, align 8
%47 = call i32 @scanf(ptr noundef @.str.11, ptr noundef %46)
%48 = call i32 @puts(ptr noundef @.str.7)
br label %49
49: ; preds = %45, %43
%50 = load ptr, ptr %5, align 8
%51 = call i32 @free(ptr noundef %50)
%52 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%53 = load i32, ptr %10, align 4
%54 = call i32 @load(ptr noundef %52, i32 noundef %53)
%55 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%56 = load i32, ptr %11, align 4
%57 = call i64 @execute(ptr noundef %55, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %56)
%58 = icmp eq i64 0, %57
br i1 %58, label %59, label %65
59: ; preds = %49
%60 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%61 = call i32 @debug(ptr noundef %60, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10)
%62 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%63 = load i32, ptr %11, align 4
%64 = call i32 @debugDump(ptr noundef %62, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %63)
br label %65
65: ; preds = %59, %49
br label %66
66: ; preds = %65, %14
%67 = getelementptr inbounds [1000 x double], ptr %3, i64 0, i64 0
%68 = load i32, ptr %11, align 4
%69 = call i32 @debugDump(ptr noundef %67, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %68)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @puts(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare ptr @calloc(i32 noundef, i32 noundef) #2
declare i32 @feof(ptr noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @load(ptr noundef, i32 noundef) #2
declare i64 @execute(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @debug(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @debugDump(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpawp1fwjc.c'
source_filename = "/tmp/tmpawp1fwjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @TIM1_UP_TIM10_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpawp1fwjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @TIM1_UP_TIM10_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk8ml7k7y.c'
source_filename = "/tmp/tmpk8ml7k7y.c"
target datalayout = "e-m:e-p270: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"Jan\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Feb\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"Mar\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Apr\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"Jun\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"Jul\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"Aug\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"Sep\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"Oct\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"Nov\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"Dec\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_month(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strncasecmp(ptr noundef %4, ptr noundef @.str, i32 noundef 3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %75
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strncasecmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 3)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %75
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strncasecmp(ptr noundef %14, ptr noundef @.str.2, i32 noundef 3)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 2, ptr %2, align 4
br label %75
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strncasecmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 3, ptr %2, align 4
br label %75
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strncasecmp(ptr noundef %24, ptr noundef @.str.4, i32 noundef 3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 4, ptr %2, align 4
br label %75
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strncasecmp(ptr noundef %29, ptr noundef @.str.5, i32 noundef 3)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 5, ptr %2, align 4
br label %75
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strncasecmp(ptr noundef %34, ptr noundef @.str.6, i32 noundef 3)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 6, ptr %2, align 4
br label %75
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strncasecmp(ptr noundef %39, ptr noundef @.str.7, i32 noundef 3)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 7, ptr %2, align 4
br label %75
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = call i64 @strncasecmp(ptr noundef %44, ptr noundef @.str.8, i32 noundef 3)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i32 8, ptr %2, align 4
br label %75
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = call i64 @strncasecmp(ptr noundef %49, ptr noundef @.str.9, i32 noundef 3)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i32 9, ptr %2, align 4
br label %75
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = call i64 @strncasecmp(ptr noundef %54, ptr noundef @.str.10, i32 noundef 3)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 10, ptr %2, align 4
br label %75
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strncasecmp(ptr noundef %59, ptr noundef @.str.11, i32 noundef 3)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 11, ptr %2, align 4
br label %75
63: ; preds = %58
br label %64
64: ; preds = %63
br label %65
65: ; preds = %64
br label %66
66: ; preds = %65
br label %67
67: ; preds = %66
br label %68
68: ; preds = %67
br label %69
69: ; preds = %68
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72
br label %74
74: ; preds = %73
store i32 -1, ptr %2, align 4
br label %75
75: ; preds = %74, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%76 = load i32, ptr %2, align 4
ret i32 %76
}
declare i64 @strncasecmp(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/tmpk8ml7k7y.c"
target datalayout = "e-m:e-p270: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"Jan\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Feb\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"Mar\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Apr\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"Jun\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"Jul\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"Aug\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"Sep\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"Oct\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"Nov\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"Dec\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_month(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strncasecmp(ptr noundef %4, ptr noundef @.str, i32 noundef 3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %75
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strncasecmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 3)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %75
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strncasecmp(ptr noundef %14, ptr noundef @.str.2, i32 noundef 3)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 2, ptr %2, align 4
br label %75
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strncasecmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 3, ptr %2, align 4
br label %75
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strncasecmp(ptr noundef %24, ptr noundef @.str.4, i32 noundef 3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 4, ptr %2, align 4
br label %75
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strncasecmp(ptr noundef %29, ptr noundef @.str.5, i32 noundef 3)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 5, ptr %2, align 4
br label %75
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strncasecmp(ptr noundef %34, ptr noundef @.str.6, i32 noundef 3)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 6, ptr %2, align 4
br label %75
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strncasecmp(ptr noundef %39, ptr noundef @.str.7, i32 noundef 3)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 7, ptr %2, align 4
br label %75
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = call i64 @strncasecmp(ptr noundef %44, ptr noundef @.str.8, i32 noundef 3)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i32 8, ptr %2, align 4
br label %75
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = call i64 @strncasecmp(ptr noundef %49, ptr noundef @.str.9, i32 noundef 3)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i32 9, ptr %2, align 4
br label %75
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = call i64 @strncasecmp(ptr noundef %54, ptr noundef @.str.10, i32 noundef 3)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 10, ptr %2, align 4
br label %75
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strncasecmp(ptr noundef %59, ptr noundef @.str.11, i32 noundef 3)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 11, ptr %2, align 4
br label %75
63: ; preds = %58
br label %64
64: ; preds = %63
br label %65
65: ; preds = %64
br label %66
66: ; preds = %65
br label %67
67: ; preds = %66
br label %68
68: ; preds = %67
br label %69
69: ; preds = %68
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72
br label %74
74: ; preds = %73
store i32 -1, ptr %2, align 4
br label %75
75: ; preds = %74, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%76 = load i32, ptr %2, align 4
ret i32 %76
}
declare i64 @strncasecmp(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/tmp29z0_29o.c'
source_filename = "/tmp/tmp29z0_29o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_mem(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret ptr null
}
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/tmp29z0_29o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_mem(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret ptr null
}
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/tmpa5ciqbwl.c'
source_filename = "/tmp/tmpa5ciqbwl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_storage = type { i32 }
@FIONREAD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @synchnet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [65468 x i8], align 16
%6 = alloca %struct.sockaddr_storage, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %1, %22
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @FIONREAD, align 4
%11 = call i32 @ioctl(i32 noundef %9, i32 noundef %10, ptr noundef %3)
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
store i32 4, ptr %7, align 4
%17 = load i32, ptr %2, align 4
%18 = getelementptr inbounds [65468 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @recvfrom(i32 noundef %17, ptr noundef %18, i32 noundef 65468, i32 noundef 0, ptr noundef %6, ptr noundef %7)
br label %22
20: ; preds = %8
%21 = load i32, ptr %4, align 4
ret i32 %21
22: ; preds = %14
br label %8
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @recvfrom(i32 noundef, ptr 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/tmpa5ciqbwl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_storage = type { i32 }
@FIONREAD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @synchnet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [65468 x i8], align 16
%6 = alloca %struct.sockaddr_storage, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr @FIONREAD, align 4
%10 = call i32 @ioctl(i32 noundef %8, i32 noundef %9, ptr noundef %3)
%11 = load i32, ptr %3, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
store i32 4, ptr %7, align 4
%16 = load i32, ptr %2, align 4
%17 = getelementptr inbounds [65468 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @recvfrom(i32 noundef %16, ptr noundef %17, i32 noundef 65468, i32 noundef 0, ptr noundef %6, ptr noundef %7)
br label %21
._crit_edge: ; preds = %21
br label %19
19: ; preds = %._crit_edge, %1
%20 = load i32, ptr %4, align 4
ret i32 %20
21: ; preds = %13
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr @FIONREAD, align 4
%24 = call i32 @ioctl(i32 noundef %22, i32 noundef %23, ptr noundef %3)
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %13, label %._crit_edge
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @recvfrom(i32 noundef, ptr 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/tmp6dj7a9u0.c'
source_filename = "/tmp/tmp6dj7a9u0.c"
target datalayout = "e-m:e-p270: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/tmp6dj7a9u0.c"
target datalayout = "e-m:e-p270: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/tmpbco0a6gk.c'
source_filename = "/tmp/tmpbco0a6gk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT32_MAX = dso_local global i64 0, align 8
@INT32_MIN = 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/tmpbco0a6gk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT32_MAX = dso_local global i64 0, align 8
@INT32_MIN = 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/tmph9p_cmi_.c'
source_filename = "/tmp/tmph9p_cmi_.c"
target datalayout = "e-m:e-p270: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/tmph9p_cmi_.c"
target datalayout = "e-m:e-p270: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/tmp_53t_nja.c'
source_filename = "/tmp/tmp_53t_nja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 100)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @foo(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_53t_nja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 100)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @foo(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/tmpsr9dtanp.c'
source_filename = "/tmp/tmpsr9dtanp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %6, align 8
%13 = call i32 @strncat(ptr noundef %10, ptr noundef %11, i64 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i64, ptr %6, align 8
%17 = call i32 @strncat(ptr noundef %14, ptr noundef %15, i64 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %9, align 8
%21 = call i32 @strncat(ptr noundef %18, ptr noundef %19, i64 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = call i32 @strncat(ptr noundef %22, ptr noundef %23, i64 noundef %24)
ret void
}
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsr9dtanp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %6, align 8
%13 = call i32 @strncat(ptr noundef %10, ptr noundef %11, i64 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i64, ptr %6, align 8
%17 = call i32 @strncat(ptr noundef %14, ptr noundef %15, i64 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %9, align 8
%21 = call i32 @strncat(ptr noundef %18, ptr noundef %19, i64 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = call i32 @strncat(ptr noundef %22, ptr noundef %23, i64 noundef %24)
ret void
}
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpow1ar7u0.c'
source_filename = "/tmp/tmpow1ar7u0.c"
target datalayout = "e-m:e-p270: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/tmpow1ar7u0.c"
target datalayout = "e-m:e-p270: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/tmphbruap_c.c'
source_filename = "/tmp/tmphbruap_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_sigmoid(ptr noundef %0, ptr noundef %1, double noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca double, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %11
11: ; preds = %26, %4
%12 = load i64, ptr %10, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp slt i64 %12, %13
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %10, align 8
%18 = getelementptr inbounds double, ptr %16, i64 %17
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %10, align 8
%22 = getelementptr inbounds double, ptr %20, i64 %21
%23 = load double, ptr %22, align 8
%24 = load double, ptr %9, align 8
%25 = call double @llvm.fmuladd.f64(double %19, double %23, double %24)
store double %25, ptr %9, align 8
br label %26
26: ; preds = %15
%27 = load i64, ptr %10, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr %10, align 8
br label %11, !llvm.loop !6
29: ; preds = %11
%30 = load double, ptr %7, align 8
%31 = load double, ptr %9, align 8
%32 = fmul double %30, %31
%33 = call double @exp(double noundef %32) #3
store double %33, ptr %9, align 8
%34 = load double, ptr %7, align 8
%35 = load double, ptr %9, align 8
%36 = fmul double %34, %35
%37 = load double, ptr %9, align 8
%38 = fadd double 1.000000e+00, %37
%39 = fdiv double %36, %38
store double %39, ptr %9, align 8
%40 = load double, ptr %9, align 8
ret double %40
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbruap_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_sigmoid(ptr noundef %0, ptr noundef %1, double noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca double, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i64 0, ptr %10, align 8
%11 = load i64, ptr %10, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %25
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %10, align 8
%17 = getelementptr inbounds double, ptr %15, i64 %16
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %10, align 8
%21 = getelementptr inbounds double, ptr %19, i64 %20
%22 = load double, ptr %21, align 8
%23 = load double, ptr %9, align 8
%24 = call double @llvm.fmuladd.f64(double %18, double %22, double %23)
store double %24, ptr %9, align 8
br label %25
25: ; preds = %14
%26 = load i64, ptr %10, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %10, align 8
%28 = load i64, ptr %10, align 8
%29 = load i64, ptr %8, align 8
%30 = icmp slt i64 %28, %29
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %4
%32 = load double, ptr %7, align 8
%33 = load double, ptr %9, align 8
%34 = fmul double %32, %33
%35 = call double @exp(double noundef %34) #3
store double %35, ptr %9, align 8
%36 = load double, ptr %7, align 8
%37 = load double, ptr %9, align 8
%38 = fmul double %36, %37
%39 = load double, ptr %9, align 8
%40 = fadd double 1.000000e+00, %39
%41 = fdiv double %38, %40
store double %41, ptr %9, align 8
%42 = load double, ptr %9, align 8
ret double %42
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuz43mum2.c'
source_filename = "/tmp/tmpuz43mum2.c"
target datalayout = "e-m:e-p270: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/tmpuz43mum2.c"
target datalayout = "e-m:e-p270: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/tmpxip2n43_.c'
source_filename = "/tmp/tmpxip2n43_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@makePath.path = internal global [255 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @makePath(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
store ptr @.str, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @sprintf(ptr noundef @makePath.path, ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8)
ret ptr @makePath.path
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxip2n43_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@makePath.path = internal global [255 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @makePath(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
store ptr @.str, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @sprintf(ptr noundef @makePath.path, ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8)
ret ptr @makePath.path
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxwmvxskq.c'
source_filename = "/tmp/tmpxwmvxskq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_charlen(i32 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 128
br i1 %5, label %6, label %7
6: ; preds = %1
store i64 1, ptr %2, align 8
br label %23
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 2048
br i1 %9, label %10, label %11
10: ; preds = %7
store i64 2, ptr %2, align 8
br label %23
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 65536
br i1 %13, label %14, label %15
14: ; preds = %11
store i64 3, ptr %2, align 8
br label %23
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 1114112
br i1 %17, label %18, label %19
18: ; preds = %15
store i64 4, ptr %2, align 8
br label %23
19: ; preds = %15
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20
br label %22
22: ; preds = %21
store i64 0, ptr %2, align 8
br label %23
23: ; preds = %22, %18, %14, %10, %6
%24 = load i64, ptr %2, align 8
ret i64 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxwmvxskq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_charlen(i32 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 128
br i1 %5, label %6, label %7
6: ; preds = %1
store i64 1, ptr %2, align 8
br label %23
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 2048
br i1 %9, label %10, label %11
10: ; preds = %7
store i64 2, ptr %2, align 8
br label %23
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 65536
br i1 %13, label %14, label %15
14: ; preds = %11
store i64 3, ptr %2, align 8
br label %23
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 1114112
br i1 %17, label %18, label %19
18: ; preds = %15
store i64 4, ptr %2, align 8
br label %23
19: ; preds = %15
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20
br label %22
22: ; preds = %21
store i64 0, ptr %2, align 8
br label %23
23: ; preds = %22, %18, %14, %10, %6
%24 = load i64, ptr %2, align 8
ret i64 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl94e4qfd.c'
source_filename = "/tmp/tmpl94e4qfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"dan, mesec, godina? \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"d? \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Datum pre %d dana je %d.%d.%d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5)
%10 = load i32, ptr %3, align 4
switch i32 %10, label %85 [
i32 2, label %11
i32 5, label %11
i32 7, label %11
i32 10, label %11
i32 12, label %11
i32 4, label %27
i32 6, label %27
i32 9, label %27
i32 8, label %27
i32 11, label %27
i32 1, label %43
i32 3, label %59
]
11: ; preds = %0, %0, %0, %0, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %2, align 4
%18 = sub nsw i32 %17, %16
store i32 %18, ptr %2, align 4
br label %26
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = sub nsw i32 %20, %21
%23 = sub nsw i32 30, %22
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %19, %15
br label %85
27: ; preds = %0, %0, %0, %0, %0
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = sub nsw i32 %33, %32
store i32 %34, ptr %2, align 4
br label %42
35: ; preds = %27
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %2, align 4
%38 = sub nsw i32 %36, %37
%39 = sub nsw i32 31, %38
store i32 %39, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %42
42: ; preds = %35, %31
br label %85
43: ; preds = %0
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp sgt i32 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %2, align 4
%50 = sub nsw i32 %49, %48
store i32 %50, ptr %2, align 4
br label %58
51: ; preds = %43
%52 = load i32, ptr %5, align 4
%53 = load i32, ptr %2, align 4
%54 = sub nsw i32 %52, %53
%55 = sub nsw i32 31, %54
store i32 %55, ptr %2, align 4
store i32 12, ptr %3, align 4
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %58
58: ; preds = %51, %47
br label %85
59: ; preds = %0
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp sgt i32 %60, %61
br i1 %62, label %63, label %67
63: ; preds = %59
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %2, align 4
%66 = sub nsw i32 %65, %64
store i32 %66, ptr %2, align 4
br label %84
67: ; preds = %59
%68 = load i32, ptr %4, align 4
%69 = srem i32 %68, 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %67
%72 = load i32, ptr %5, align 4
%73 = load i32, ptr %2, align 4
%74 = sub nsw i32 %72, %73
%75 = sub nsw i32 28, %74
store i32 %75, ptr %2, align 4
br label %81
76: ; preds = %67
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr %2, align 4
%79 = sub nsw i32 %77, %78
%80 = sub nsw i32 29, %79
store i32 %80, ptr %2, align 4
br label %81
81: ; preds = %76, %71
%82 = load i32, ptr %3, align 4
%83 = sub nsw i32 %82, 1
store i32 %83, ptr %3, align 4
br label %84
84: ; preds = %81, %63
br label %85
85: ; preds = %0, %84, %58, %42, %26
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %2, align 4
%88 = load i32, ptr %3, align 4
%89 = load i32, ptr %4, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl94e4qfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"dan, mesec, godina? \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"d? \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Datum pre %d dana je %d.%d.%d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5)
%10 = load i32, ptr %3, align 4
switch i32 %10, label %85 [
i32 2, label %11
i32 5, label %11
i32 7, label %11
i32 10, label %11
i32 12, label %11
i32 4, label %27
i32 6, label %27
i32 9, label %27
i32 8, label %27
i32 11, label %27
i32 1, label %43
i32 3, label %59
]
11: ; preds = %0, %0, %0, %0, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %2, align 4
%18 = sub nsw i32 %17, %16
store i32 %18, ptr %2, align 4
br label %26
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = sub nsw i32 %20, %21
%23 = sub nsw i32 30, %22
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %19, %15
br label %85
27: ; preds = %0, %0, %0, %0, %0
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = sub nsw i32 %33, %32
store i32 %34, ptr %2, align 4
br label %42
35: ; preds = %27
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %2, align 4
%38 = sub nsw i32 %36, %37
%39 = sub nsw i32 31, %38
store i32 %39, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %42
42: ; preds = %35, %31
br label %85
43: ; preds = %0
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp sgt i32 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %2, align 4
%50 = sub nsw i32 %49, %48
store i32 %50, ptr %2, align 4
br label %58
51: ; preds = %43
%52 = load i32, ptr %5, align 4
%53 = load i32, ptr %2, align 4
%54 = sub nsw i32 %52, %53
%55 = sub nsw i32 31, %54
store i32 %55, ptr %2, align 4
store i32 12, ptr %3, align 4
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %58
58: ; preds = %51, %47
br label %85
59: ; preds = %0
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp sgt i32 %60, %61
br i1 %62, label %63, label %67
63: ; preds = %59
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %2, align 4
%66 = sub nsw i32 %65, %64
store i32 %66, ptr %2, align 4
br label %84
67: ; preds = %59
%68 = load i32, ptr %4, align 4
%69 = srem i32 %68, 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %67
%72 = load i32, ptr %5, align 4
%73 = load i32, ptr %2, align 4
%74 = sub nsw i32 %72, %73
%75 = sub nsw i32 28, %74
store i32 %75, ptr %2, align 4
br label %81
76: ; preds = %67
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr %2, align 4
%79 = sub nsw i32 %77, %78
%80 = sub nsw i32 29, %79
store i32 %80, ptr %2, align 4
br label %81
81: ; preds = %76, %71
%82 = load i32, ptr %3, align 4
%83 = sub nsw i32 %82, 1
store i32 %83, ptr %3, align 4
br label %84
84: ; preds = %81, %63
br label %85
85: ; preds = %84, %58, %42, %26, %0
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %2, align 4
%88 = load i32, ptr %3, align 4
%89 = load i32, ptr %4, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_6n0x0ia.c'
source_filename = "/tmp/tmp_6n0x0ia.c"
target datalayout = "e-m:e-p270: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_6n0x0ia.c"
target datalayout = "e-m:e-p270: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/tmp9vobuxjz.c'
source_filename = "/tmp/tmp9vobuxjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Element %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showArray(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %15, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %13)
br label %15
15: ; preds = %7
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %4, !llvm.loop !6
18: ; preds = %4
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vobuxjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Element %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showArray(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 6
br i1 %5, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %14
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %12)
br label %14
14: ; preds = %6
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 6
br i1 %18, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxzpqbb23.c'
source_filename = "/tmp/tmpxzpqbb23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @parse_arguments(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @parse_arguments(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/tmpxzpqbb23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @parse_arguments(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @parse_arguments(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/tmpmysoaar8.c'
source_filename = "/tmp/tmpmysoaar8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPINonBlockingReadStart(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 %5, align 4
%9 = mul nsw i32 %8, 16
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 40
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %12, %13
%15 = sext i32 %14 to i64
%16 = inttoptr i64 %15 to ptr
store volatile i32 %10, ptr %16, 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/tmpmysoaar8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPINonBlockingReadStart(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 %5, align 4
%9 = mul nsw i32 %8, 16
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 40
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %12, %13
%15 = sext i32 %14 to i64
%16 = inttoptr i64 %15 to ptr
store volatile i32 %10, ptr %16, 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/tmpg6n8a1cb.c'
source_filename = "/tmp/tmpg6n8a1cb.c"
target datalayout = "e-m:e-p270: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 [141 x i8] c"Usage: %s [...] update [OPTS]\0A\0AOptions:\0A -h,--help Show this help\0A -f,--force Force reread the entire database\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @update_usage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @fprintf(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/tmpg6n8a1cb.c"
target datalayout = "e-m:e-p270: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 [141 x i8] c"Usage: %s [...] update [OPTS]\0A\0AOptions:\0A -h,--help Show this help\0A -f,--force Force reread the entire database\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @update_usage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @fprintf(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/tmp_86ow3l0.c'
source_filename = "/tmp/tmp_86ow3l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RC4_Sample(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [256 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false)
%10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @rc4_setup(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @rc4_crypt(ptr noundef %14, ptr noundef %15, i32 noundef %16)
ret void
}
; 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 @rc4_setup(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @rc4_crypt(ptr noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_86ow3l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RC4_Sample(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [256 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false)
%10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @rc4_setup(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @rc4_crypt(ptr noundef %14, ptr noundef %15, i32 noundef %16)
ret void
}
; 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 @rc4_setup(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @rc4_crypt(ptr noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3sad8xmx.c'
source_filename = "/tmp/tmp3sad8xmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [15 x i32] [i32 43, i32 423, i32 13, i32 6, i32 34, i32 64, i32 24, i32 69, i32 32, i32 28, i32 432, i32 641, i32 4365, i32 345, i32 624], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [15 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr, i64 60, i1 false)
%4 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 0
%5 = call i32 @qsort(ptr noundef %4, i32 noundef 0, i32 noundef 14)
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 15
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @qsort(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3sad8xmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [15 x i32] [i32 43, i32 423, i32 13, i32 6, i32 34, i32 64, i32 24, i32 69, i32 32, i32 28, i32 432, i32 641, i32 4365, i32 345, i32 624], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [15 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr, i64 60, i1 false)
%4 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 0
%5 = call i32 @qsort(ptr noundef %4, i32 noundef 0, i32 noundef 14)
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 15
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 15
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @qsort(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy4nzd7sd.c'
source_filename = "/tmp/tmpy4nzd7sd.c"
target datalayout = "e-m:e-p270: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/tmpy4nzd7sd.c"
target datalayout = "e-m:e-p270: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/tmp1adlctpj.c'
source_filename = "/tmp/tmp1adlctpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"READ TIME OUT - sr=\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hdmi_read_reg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 @i2c_write_data_command(i32 noundef 152, i32 noundef 144)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @i2c_write_data_command(i32 noundef %6, i32 noundef 16)
store i32 %7, ptr %4, align 4
%8 = call i32 @i2c_write_data_command(i32 noundef 153, i32 noundef 144)
store i32 %8, ptr %4, align 4
%9 = call i32 @i2c_write_command(i32 noundef 104)
store i32 125000, ptr %3, align 4
store i32 2, ptr %4, align 4
br label %10
10: ; preds = %21, %1
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = and i32 %14, 2
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %13, %10
%18 = phi i1 [ false, %10 ], [ %16, %13 ]
br i1 %18, label %19, label %24
19: ; preds = %17
%20 = call i32 (...) @i2c_read_status()
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %3, align 4
br label %10, !llvm.loop !6
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = call i32 @writeString(ptr noundef @.str)
%29 = load i32, ptr %4, align 4
%30 = call i32 @writeHex(i32 noundef %29)
%31 = call i32 @writeString(ptr noundef @.str.1)
br label %32
32: ; preds = %27, %24
%33 = call i32 (...) @i2c_read_rx_data()
ret i32 %33
}
declare i32 @i2c_write_data_command(i32 noundef, i32 noundef) #1
declare i32 @i2c_write_command(i32 noundef) #1
declare i32 @i2c_read_status(...) #1
declare i32 @writeString(ptr noundef) #1
declare i32 @writeHex(i32 noundef) #1
declare i32 @i2c_read_rx_data(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1adlctpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"READ TIME OUT - sr=\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hdmi_read_reg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 @i2c_write_data_command(i32 noundef 152, i32 noundef 144)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @i2c_write_data_command(i32 noundef %6, i32 noundef 16)
store i32 %7, ptr %4, align 4
%8 = call i32 @i2c_write_data_command(i32 noundef 153, i32 noundef 144)
store i32 %8, ptr %4, align 4
%9 = call i32 @i2c_write_command(i32 noundef 104)
store i32 125000, ptr %3, align 4
store i32 2, ptr %4, align 4
br label %10
10: ; preds = %21, %1
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = and i32 %14, 2
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %13, %10
%18 = phi i1 [ false, %10 ], [ %16, %13 ]
br i1 %18, label %19, label %24
19: ; preds = %17
%20 = call i32 (...) @i2c_read_status()
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %3, align 4
br label %10, !llvm.loop !6
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = call i32 @writeString(ptr noundef @.str)
%29 = load i32, ptr %4, align 4
%30 = call i32 @writeHex(i32 noundef %29)
%31 = call i32 @writeString(ptr noundef @.str.1)
br label %32
32: ; preds = %27, %24
%33 = call i32 (...) @i2c_read_rx_data()
ret i32 %33
}
declare i32 @i2c_write_data_command(i32 noundef, i32 noundef) #1
declare i32 @i2c_write_command(i32 noundef) #1
declare i32 @i2c_read_status(...) #1
declare i32 @writeString(ptr noundef) #1
declare i32 @writeHex(i32 noundef) #1
declare i32 @i2c_read_rx_data(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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_klu97ca.c'
source_filename = "/tmp/tmp_klu97ca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getOrdersize() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 (...) @random()
%3 = mul nsw i32 %1, %2
%4 = call i32 @srandom(i32 noundef %3)
%5 = call i32 (...) @random()
%6 = srem i32 %5, 1001
%7 = add nsw i32 %6, 1000
ret i32 %7
}
declare i32 @srandom(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_klu97ca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getOrdersize() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 (...) @random()
%3 = mul nsw i32 %1, %2
%4 = call i32 @srandom(i32 noundef %3)
%5 = call i32 (...) @random()
%6 = srem i32 %5, 1001
%7 = add nsw i32 %6, 1000
ret i32 %7
}
declare i32 @srandom(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjbgm4fib.c'
source_filename = "/tmp/tmpjbgm4fib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_bytes(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %7, i64 %11
%13 = load i8, ptr %12, align 1
store i8 %13, ptr %5, align 1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strdup(ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %16, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %6, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @free(ptr noundef %24)
%26 = load i8, ptr %5, align 1
%27 = sext i8 %26 to i32
switch i32 %27, label %35 [
i32 109, label %28
i32 77, label %28
i32 107, label %31
i32 75, label %31
i32 98, label %34
i32 66, label %34
]
28: ; preds = %1, %1
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 %29, 1024
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %1, %1, %28
%32 = load i32, ptr %4, align 4
%33 = mul nsw i32 %32, 1024
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %1, %1, %31
br label %36
35: ; preds = %1
store i32 -1, ptr %2, align 4
br label %38
36: ; preds = %34
%37 = load i32, ptr %4, align 4
store i32 %37, ptr %2, align 4
br label %38
38: ; preds = %36, %35
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @atoi(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/tmpjbgm4fib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_bytes(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %7, i64 %11
%13 = load i8, ptr %12, align 1
store i8 %13, ptr %5, align 1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strdup(ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %16, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %6, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @free(ptr noundef %24)
%26 = load i8, ptr %5, align 1
%27 = sext i8 %26 to i32
switch i32 %27, label %35 [
i32 109, label %28
i32 77, label %28
i32 107, label %31
i32 75, label %31
i32 98, label %34
i32 66, label %34
]
28: ; preds = %1, %1
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 %29, 1024
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %28, %1, %1
%32 = load i32, ptr %4, align 4
%33 = mul nsw i32 %32, 1024
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %31, %1, %1
br label %36
35: ; preds = %1
store i32 -1, ptr %2, align 4
br label %38
36: ; preds = %34
%37 = load i32, ptr %4, align 4
store i32 %37, ptr %2, align 4
br label %38
38: ; preds = %36, %35
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @atoi(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/tmp2d54gwi7.c'
source_filename = "/tmp/tmp2d54gwi7.c"
target datalayout = "e-m:e-p270: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"h\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fn(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2d54gwi7.c"
target datalayout = "e-m:e-p270: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"h\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fn(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqlwhic1a.c'
source_filename = "/tmp/tmpqlwhic1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QMField(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 ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%19 = call i32 (...) @initialise_client()
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %10, align 4
%22 = load ptr, ptr %7, align 8
%23 = call i32 @strlen(ptr noundef %22)
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %4
%27 = load i32, ptr %10, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %26, %4
br label %118
30: ; preds = %26
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 1
br i1 %32, label %33, label %34
33: ; preds = %30
store i32 1, ptr %8, align 4
br label %34
34: ; preds = %33, %30
%35 = load i32, ptr %9, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %37, label %38
37: ; preds = %34
store i32 1, ptr %9, align 4
br label %38
38: ; preds = %37, %34
%39 = load ptr, ptr %7, align 8
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %12, align 1
%41 = load ptr, ptr %6, align 8
store ptr %41, ptr %14, align 8
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %13, align 4
br label %43
43: ; preds = %55, %38
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, -1
store i32 %45, ptr %8, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %68
47: ; preds = %43
%48 = load ptr, ptr %14, align 8
%49 = load i8, ptr %12, align 1
%50 = load i32, ptr %13, align 4
%51 = call ptr @memchr(ptr noundef %48, i8 noundef signext %49, i32 noundef %50)
store ptr %51, ptr %15, align 8
%52 = load ptr, ptr %15, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %55
54: ; preds = %47
br label %118
55: ; preds = %47
%56 = load ptr, ptr %15, align 8
%57 = load ptr, ptr %14, align 8
%58 = ptrtoint ptr %56 to i64
%59 = ptrtoint ptr %57 to i64
%60 = sub i64 %58, %59
%61 = add nsw i64 %60, 1
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = sub nsw i64 %63, %61
%65 = trunc i64 %64 to i32
store i32 %65, ptr %13, align 4
%66 = load ptr, ptr %15, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 1
store ptr %67, ptr %14, align 8
br label %43, !llvm.loop !6
68: ; preds = %43
%69 = load ptr, ptr %14, align 8
store ptr %69, ptr %16, align 8
br label %70
70: ; preds = %95, %68
%71 = load ptr, ptr %16, align 8
%72 = load i8, ptr %12, align 1
%73 = load i32, ptr %13, align 4
%74 = call ptr @memchr(ptr noundef %71, i8 noundef signext %72, i32 noundef %73)
store ptr %74, ptr %15, align 8
%75 = load ptr, ptr %15, align 8
%76 = icmp eq ptr %75, null
br i1 %76, label %77, label %82
77: ; preds = %70
%78 = load ptr, ptr %16, align 8
%79 = load i32, ptr %13, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store ptr %81, ptr %15, align 8
br label %99
82: ; preds = %70
%83 = load ptr, ptr %15, align 8
%84 = load ptr, ptr %16, align 8
%85 = ptrtoint ptr %83 to i64
%86 = ptrtoint ptr %84 to i64
%87 = sub i64 %85, %86
%88 = add nsw i64 %87, 1
%89 = load i32, ptr %13, align 4
%90 = sext i32 %89 to i64
%91 = sub nsw i64 %90, %88
%92 = trunc i64 %91 to i32
store i32 %92, ptr %13, align 4
%93 = load ptr, ptr %15, align 8
%94 = getelementptr inbounds i8, ptr %93, i64 1
store ptr %94, ptr %16, align 8
br label %95
95: ; preds = %82
%96 = load i32, ptr %9, align 4
%97 = add nsw i32 %96, -1
store i32 %97, ptr %9, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %70, label %99, !llvm.loop !8
99: ; preds = %95, %77
%100 = load ptr, ptr %15, align 8
%101 = load ptr, ptr %14, align 8
%102 = ptrtoint ptr %100 to i64
%103 = ptrtoint ptr %101 to i64
%104 = sub i64 %102, %103
%105 = trunc i64 %104 to i32
store i32 %105, ptr %18, align 4
%106 = load i32, ptr %18, align 4
%107 = add nsw i32 %106, 1
%108 = call ptr @malloc(i32 noundef %107)
store ptr %108, ptr %17, align 8
%109 = load ptr, ptr %17, align 8
%110 = load ptr, ptr %14, align 8
%111 = load i32, ptr %18, align 4
%112 = call i32 @memcpy(ptr noundef %109, ptr noundef %110, i32 noundef %111)
%113 = load ptr, ptr %17, align 8
%114 = load i32, ptr %18, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
store i8 0, ptr %116, align 1
%117 = load ptr, ptr %17, align 8
store ptr %117, ptr %5, align 8
br label %120
118: ; preds = %54, %29
%119 = call ptr (...) @NullString()
store ptr %119, ptr %5, align 8
br label %120
120: ; preds = %118, %99
%121 = load ptr, ptr %5, align 8
ret ptr %121
}
declare i32 @initialise_client(...) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @NullString(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqlwhic1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QMField(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 ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%19 = call i32 (...) @initialise_client()
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %10, align 4
%22 = load ptr, ptr %7, align 8
%23 = call i32 @strlen(ptr noundef %22)
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %4
%27 = load i32, ptr %10, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %26, %4
br label %120
30: ; preds = %26
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 1
br i1 %32, label %33, label %34
33: ; preds = %30
store i32 1, ptr %8, align 4
br label %34
34: ; preds = %33, %30
%35 = load i32, ptr %9, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %37, label %38
37: ; preds = %34
store i32 1, ptr %9, align 4
br label %38
38: ; preds = %37, %34
%39 = load ptr, ptr %7, align 8
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %12, align 1
%41 = load ptr, ptr %6, align 8
store ptr %41, ptr %14, align 8
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %13, align 4
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %8, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %.lr.ph, label %70
.lr.ph: ; preds = %38
br label %46
46: ; preds = %.lr.ph, %54
%47 = load ptr, ptr %14, align 8
%48 = load i8, ptr %12, align 1
%49 = load i32, ptr %13, align 4
%50 = call ptr @memchr(ptr noundef %47, i8 noundef signext %48, i32 noundef %49)
store ptr %50, ptr %15, align 8
%51 = load ptr, ptr %15, align 8
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %54
53: ; preds = %46
br label %120
54: ; preds = %46
%55 = load ptr, ptr %15, align 8
%56 = load ptr, ptr %14, align 8
%57 = ptrtoint ptr %55 to i64
%58 = ptrtoint ptr %56 to i64
%59 = sub i64 %57, %58
%60 = add nsw i64 %59, 1
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = sub nsw i64 %62, %60
%64 = trunc i64 %63 to i32
store i32 %64, ptr %13, align 4
%65 = load ptr, ptr %15, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 1
store ptr %66, ptr %14, align 8
%67 = load i32, ptr %8, align 4
%68 = add nsw i32 %67, -1
store i32 %68, ptr %8, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %70
70: ; preds = %._crit_edge, %38
%71 = load ptr, ptr %14, align 8
store ptr %71, ptr %16, align 8
br label %72
72: ; preds = %97, %70
%73 = load ptr, ptr %16, align 8
%74 = load i8, ptr %12, align 1
%75 = load i32, ptr %13, align 4
%76 = call ptr @memchr(ptr noundef %73, i8 noundef signext %74, i32 noundef %75)
store ptr %76, ptr %15, align 8
%77 = load ptr, ptr %15, align 8
%78 = icmp eq ptr %77, null
br i1 %78, label %79, label %84
79: ; preds = %72
%80 = load ptr, ptr %16, align 8
%81 = load i32, ptr %13, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store ptr %83, ptr %15, align 8
br label %101
84: ; preds = %72
%85 = load ptr, ptr %15, align 8
%86 = load ptr, ptr %16, align 8
%87 = ptrtoint ptr %85 to i64
%88 = ptrtoint ptr %86 to i64
%89 = sub i64 %87, %88
%90 = add nsw i64 %89, 1
%91 = load i32, ptr %13, align 4
%92 = sext i32 %91 to i64
%93 = sub nsw i64 %92, %90
%94 = trunc i64 %93 to i32
store i32 %94, ptr %13, align 4
%95 = load ptr, ptr %15, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 1
store ptr %96, ptr %16, align 8
br label %97
97: ; preds = %84
%98 = load i32, ptr %9, align 4
%99 = add nsw i32 %98, -1
store i32 %99, ptr %9, align 4
%100 = icmp ne i32 %99, 0
br i1 %100, label %72, label %.loopexit, !llvm.loop !8
.loopexit: ; preds = %97
br label %101
101: ; preds = %.loopexit, %79
%102 = load ptr, ptr %15, align 8
%103 = load ptr, ptr %14, align 8
%104 = ptrtoint ptr %102 to i64
%105 = ptrtoint ptr %103 to i64
%106 = sub i64 %104, %105
%107 = trunc i64 %106 to i32
store i32 %107, ptr %18, align 4
%108 = load i32, ptr %18, align 4
%109 = add nsw i32 %108, 1
%110 = call ptr @malloc(i32 noundef %109)
store ptr %110, ptr %17, align 8
%111 = load ptr, ptr %17, align 8
%112 = load ptr, ptr %14, align 8
%113 = load i32, ptr %18, align 4
%114 = call i32 @memcpy(ptr noundef %111, ptr noundef %112, i32 noundef %113)
%115 = load ptr, ptr %17, align 8
%116 = load i32, ptr %18, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
store i8 0, ptr %118, align 1
%119 = load ptr, ptr %17, align 8
store ptr %119, ptr %5, align 8
br label %122
120: ; preds = %53, %29
%121 = call ptr (...) @NullString()
store ptr %121, ptr %5, align 8
br label %122
122: ; preds = %120, %101
%123 = load ptr, ptr %5, align 8
ret ptr %123
}
declare i32 @initialise_client(...) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @NullString(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8yvzb9jb.c'
source_filename = "/tmp/tmp8yvzb9jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fib_serial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
br label %20
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 1
%13 = call i32 @fib(i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %14, 2
%16 = call i32 @fib(i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %17, %18
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %10, %8
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @fib(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/tmp8yvzb9jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fib_serial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
br label %20
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 1
%13 = call i32 @fib(i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %14, 2
%16 = call i32 @fib(i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %17, %18
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %10, %8
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @fib(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/tmpq1uq5ws5.c'
source_filename = "/tmp/tmpq1uq5ws5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main1.ib = private unnamed_addr constant [16 x i32] [i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main1() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [16 x i32], align 16
%4 = alloca [16 x [4 x [17 x i32]]], align 16
%5 = alloca [16 x [16 x [3 x [13 x i32]]]], align 16
%6 = alloca [16 x [16 x [16 x i32]]], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main1.ib, i64 64, i1 false)
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %30, %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 16
br i1 %9, label %10, label %33
10: ; preds = %7
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %26, %10
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 16
br i1 %13, label %14, label %29
14: ; preds = %11
%15 = load i32, ptr %1, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load i32, ptr %1, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [16 x [4 x [17 x i32]]], ptr %4, i64 0, i64 %20
%22 = getelementptr inbounds [4 x [17 x i32]], ptr %21, i64 0, i64 1
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 %24
store i32 %18, ptr %25, align 4
br label %26
26: ; preds = %14
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %11, !llvm.loop !6
29: ; preds = %11
br label %30
30: ; preds = %29
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
br label %7, !llvm.loop !8
33: ; preds = %7
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %58, %33
%35 = load i32, ptr %1, align 4
%36 = icmp slt i32 %35, 16
br i1 %36, label %37, label %61
37: ; preds = %34
store i32 0, ptr %2, align 4
br label %38
38: ; preds = %54, %37
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %39, 16
br i1 %40, label %41, label %57
41: ; preds = %38
%42 = load i32, ptr %1, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %1, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [16 x [16 x [3 x [13 x i32]]]], ptr %5, i64 0, i64 %47
%49 = getelementptr inbounds [16 x [3 x [13 x i32]]], ptr %48, i64 0, i64 1
%50 = getelementptr inbounds [3 x [13 x i32]], ptr %49, i64 0, i64 1
%51 = load i32, ptr %2, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [13 x i32], ptr %50, i64 0, i64 %52
store i32 %45, ptr %53, align 4
br label %54
54: ; preds = %41
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %2, align 4
br label %38, !llvm.loop !9
57: ; preds = %38
br label %58
58: ; preds = %57
%59 = load i32, ptr %1, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %1, align 4
br label %34, !llvm.loop !10
61: ; preds = %34
store i32 0, ptr %1, align 4
br label %62
62: ; preds = %86, %61
%63 = load i32, ptr %1, align 4
%64 = icmp slt i32 %63, 16
br i1 %64, label %65, label %89
65: ; preds = %62
store i32 0, ptr %2, align 4
br label %66
66: ; preds = %82, %65
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %67, 16
br i1 %68, label %69, label %85
69: ; preds = %66
%70 = load i32, ptr %1, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %1, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [16 x [16 x [16 x i32]]], ptr %6, i64 0, i64 %75
%77 = getelementptr inbounds [16 x [16 x i32]], ptr %76, i64 0, i64 1
%78 = load i32, ptr %2, align 4
%79 = add nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [16 x i32], ptr %77, i64 0, i64 %80
store i32 %73, ptr %81, align 4
br label %82
82: ; preds = %69
%83 = load i32, ptr %2, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %2, align 4
br label %66, !llvm.loop !11
85: ; preds = %66
br label %86
86: ; preds = %85
%87 = load i32, ptr %1, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %1, align 4
br label %62, !llvm.loop !12
89: ; preds = %62
store i32 0, ptr %1, align 4
br label %90
90: ; preds = %118, %89
%91 = load i32, ptr %1, align 4
%92 = icmp slt i32 %91, 16
br i1 %92, label %93, label %121
93: ; preds = %90
store i32 0, ptr %2, align 4
br label %94
94: ; preds = %114, %93
%95 = load i32, ptr %2, align 4
%96 = icmp slt i32 %95, 16
br i1 %96, label %97, label %117
97: ; preds = %94
%98 = load i32, ptr %1, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [16 x [4 x [17 x i32]]], ptr %4, i64 0, i64 %99
%101 = getelementptr inbounds [4 x [17 x i32]], ptr %100, i64 0, i64 1
%102 = load i32, ptr %2, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [17 x i32], ptr %101, i64 0, i64 %103
%105 = load i32, ptr %104, align 4
%106 = load i32, ptr %1, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %107
%109 = load i32, ptr %108, align 4
%110 = icmp ne i32 %105, %109
br i1 %110, label %111, label %113
111: ; preds = %97
%112 = call i32 (...) @abort() #3
unreachable
113: ; preds = %97
br label %114
114: ; preds = %113
%115 = load i32, ptr %2, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %2, align 4
br label %94, !llvm.loop !13
117: ; preds = %94
br label %118
118: ; preds = %117
%119 = load i32, ptr %1, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %1, align 4
br label %90, !llvm.loop !14
121: ; preds = %90
store i32 0, ptr %1, align 4
br label %122
122: ; preds = %151, %121
%123 = load i32, ptr %1, align 4
%124 = icmp slt i32 %123, 16
br i1 %124, label %125, label %154
125: ; preds = %122
store i32 0, ptr %2, align 4
br label %126
126: ; preds = %147, %125
%127 = load i32, ptr %2, align 4
%128 = icmp slt i32 %127, 16
br i1 %128, label %129, label %150
129: ; preds = %126
%130 = load i32, ptr %1, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [16 x [16 x [3 x [13 x i32]]]], ptr %5, i64 0, i64 %131
%133 = getelementptr inbounds [16 x [3 x [13 x i32]]], ptr %132, i64 0, i64 1
%134 = getelementptr inbounds [3 x [13 x i32]], ptr %133, i64 0, i64 1
%135 = load i32, ptr %2, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [13 x i32], ptr %134, i64 0, i64 %136
%138 = load i32, ptr %137, align 4
%139 = load i32, ptr %1, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %140
%142 = load i32, ptr %141, align 4
%143 = icmp ne i32 %138, %142
br i1 %143, label %144, label %146
144: ; preds = %129
%145 = call i32 (...) @abort() #3
unreachable
146: ; preds = %129
br label %147
147: ; preds = %146
%148 = load i32, ptr %2, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %2, align 4
br label %126, !llvm.loop !15
150: ; preds = %126
br label %151
151: ; preds = %150
%152 = load i32, ptr %1, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %1, align 4
br label %122, !llvm.loop !16
154: ; preds = %122
store i32 0, ptr %1, align 4
br label %155
155: ; preds = %184, %154
%156 = load i32, ptr %1, align 4
%157 = icmp slt i32 %156, 16
br i1 %157, label %158, label %187
158: ; preds = %155
store i32 0, ptr %2, align 4
br label %159
159: ; preds = %180, %158
%160 = load i32, ptr %2, align 4
%161 = icmp slt i32 %160, 16
br i1 %161, label %162, label %183
162: ; preds = %159
%163 = load i32, ptr %1, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [16 x [16 x [16 x i32]]], ptr %6, i64 0, i64 %164
%166 = getelementptr inbounds [16 x [16 x i32]], ptr %165, i64 0, i64 1
%167 = load i32, ptr %2, align 4
%168 = add nsw i32 %167, 1
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [16 x i32], ptr %166, i64 0, i64 %169
%171 = load i32, ptr %170, align 4
%172 = load i32, ptr %1, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %173
%175 = load i32, ptr %174, align 4
%176 = icmp ne i32 %171, %175
br i1 %176, label %177, label %179
177: ; preds = %162
%178 = call i32 (...) @abort() #3
unreachable
179: ; preds = %162
br label %180
180: ; preds = %179
%181 = load i32, ptr %2, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %2, align 4
br label %159, !llvm.loop !17
183: ; preds = %159
br label %184
184: ; preds = %183
%185 = load i32, ptr %1, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %1, align 4
br label %155, !llvm.loop !18
187: ; preds = %155
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1uq5ws5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main1.ib = private unnamed_addr constant [16 x i32] [i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main1() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [16 x i32], align 16
%4 = alloca [16 x [4 x [17 x i32]]], align 16
%5 = alloca [16 x [16 x [3 x [13 x i32]]]], align 16
%6 = alloca [16 x [16 x [16 x i32]]], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main1.ib, i64 64, i1 false)
store i32 0, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 16
br i1 %8, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %30
store i32 0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 16
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %24
%13 = load i32, ptr %1, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %1, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [16 x [4 x [17 x i32]]], ptr %4, i64 0, i64 %18
%20 = getelementptr inbounds [4 x [17 x i32]], ptr %19, i64 0, i64 1
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [17 x i32], ptr %20, i64 0, i64 %22
store i32 %16, ptr %23, align 4
br label %24
24: ; preds = %12
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %27, 16
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %9
br label %30
30: ; preds = %29
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %33, 16
br i1 %34, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %0
store i32 0, ptr %1, align 4
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 16
br i1 %37, label %.lr.ph8, label %65
.lr.ph8: ; preds = %35
br label %38
38: ; preds = %.lr.ph8, %60
store i32 0, ptr %2, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %39, 16
br i1 %40, label %.lr.ph5, label %59
.lr.ph5: ; preds = %38
br label %41
41: ; preds = %.lr.ph5, %54
%42 = load i32, ptr %1, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %1, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [16 x [16 x [3 x [13 x i32]]]], ptr %5, i64 0, i64 %47
%49 = getelementptr inbounds [16 x [3 x [13 x i32]]], ptr %48, i64 0, i64 1
%50 = getelementptr inbounds [3 x [13 x i32]], ptr %49, i64 0, i64 1
%51 = load i32, ptr %2, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [13 x i32], ptr %50, i64 0, i64 %52
store i32 %45, ptr %53, align 4
br label %54
54: ; preds = %41
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %2, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp slt i32 %57, 16
br i1 %58, label %41, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %54
br label %59
59: ; preds = %._crit_edge6, %38
br label %60
60: ; preds = %59
%61 = load i32, ptr %1, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %1, align 4
%63 = load i32, ptr %1, align 4
%64 = icmp slt i32 %63, 16
br i1 %64, label %38, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %60
br label %65
65: ; preds = %._crit_edge9, %35
store i32 0, ptr %1, align 4
%66 = load i32, ptr %1, align 4
%67 = icmp slt i32 %66, 16
br i1 %67, label %.lr.ph14, label %95
.lr.ph14: ; preds = %65
br label %68
68: ; preds = %.lr.ph14, %90
store i32 0, ptr %2, align 4
%69 = load i32, ptr %2, align 4
%70 = icmp slt i32 %69, 16
br i1 %70, label %.lr.ph11, label %89
.lr.ph11: ; preds = %68
br label %71
71: ; preds = %.lr.ph11, %84
%72 = load i32, ptr %1, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load i32, ptr %1, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [16 x [16 x [16 x i32]]], ptr %6, i64 0, i64 %77
%79 = getelementptr inbounds [16 x [16 x i32]], ptr %78, i64 0, i64 1
%80 = load i32, ptr %2, align 4
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [16 x i32], ptr %79, i64 0, i64 %82
store i32 %75, ptr %83, align 4
br label %84
84: ; preds = %71
%85 = load i32, ptr %2, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %2, align 4
%87 = load i32, ptr %2, align 4
%88 = icmp slt i32 %87, 16
br i1 %88, label %71, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %84
br label %89
89: ; preds = %._crit_edge12, %68
br label %90
90: ; preds = %89
%91 = load i32, ptr %1, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %1, align 4
%93 = load i32, ptr %1, align 4
%94 = icmp slt i32 %93, 16
br i1 %94, label %68, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %90
br label %95
95: ; preds = %._crit_edge15, %65
store i32 0, ptr %1, align 4
%96 = load i32, ptr %1, align 4
%97 = icmp slt i32 %96, 16
br i1 %97, label %.lr.ph20, label %129
.lr.ph20: ; preds = %95
br label %98
98: ; preds = %.lr.ph20, %124
store i32 0, ptr %2, align 4
%99 = load i32, ptr %2, align 4
%100 = icmp slt i32 %99, 16
br i1 %100, label %.lr.ph17, label %123
.lr.ph17: ; preds = %98
br label %101
101: ; preds = %.lr.ph17, %118
%102 = load i32, ptr %1, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [16 x [4 x [17 x i32]]], ptr %4, i64 0, i64 %103
%105 = getelementptr inbounds [4 x [17 x i32]], ptr %104, i64 0, i64 1
%106 = load i32, ptr %2, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [17 x i32], ptr %105, i64 0, i64 %107
%109 = load i32, ptr %108, align 4
%110 = load i32, ptr %1, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %111
%113 = load i32, ptr %112, align 4
%114 = icmp ne i32 %109, %113
br i1 %114, label %115, label %117
115: ; preds = %101
%116 = call i32 (...) @abort() #3
unreachable
117: ; preds = %101
br label %118
118: ; preds = %117
%119 = load i32, ptr %2, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %2, align 4
%121 = load i32, ptr %2, align 4
%122 = icmp slt i32 %121, 16
br i1 %122, label %101, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %118
br label %123
123: ; preds = %._crit_edge18, %98
br label %124
124: ; preds = %123
%125 = load i32, ptr %1, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %1, align 4
%127 = load i32, ptr %1, align 4
%128 = icmp slt i32 %127, 16
br i1 %128, label %98, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %124
br label %129
129: ; preds = %._crit_edge21, %95
store i32 0, ptr %1, align 4
%130 = load i32, ptr %1, align 4
%131 = icmp slt i32 %130, 16
br i1 %131, label %.lr.ph26, label %164
.lr.ph26: ; preds = %129
br label %132
132: ; preds = %.lr.ph26, %159
store i32 0, ptr %2, align 4
%133 = load i32, ptr %2, align 4
%134 = icmp slt i32 %133, 16
br i1 %134, label %.lr.ph23, label %158
.lr.ph23: ; preds = %132
br label %135
135: ; preds = %.lr.ph23, %153
%136 = load i32, ptr %1, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [16 x [16 x [3 x [13 x i32]]]], ptr %5, i64 0, i64 %137
%139 = getelementptr inbounds [16 x [3 x [13 x i32]]], ptr %138, i64 0, i64 1
%140 = getelementptr inbounds [3 x [13 x i32]], ptr %139, i64 0, i64 1
%141 = load i32, ptr %2, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [13 x i32], ptr %140, i64 0, i64 %142
%144 = load i32, ptr %143, align 4
%145 = load i32, ptr %1, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %146
%148 = load i32, ptr %147, align 4
%149 = icmp ne i32 %144, %148
br i1 %149, label %150, label %152
150: ; preds = %135
%151 = call i32 (...) @abort() #3
unreachable
152: ; preds = %135
br label %153
153: ; preds = %152
%154 = load i32, ptr %2, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %2, align 4
%156 = load i32, ptr %2, align 4
%157 = icmp slt i32 %156, 16
br i1 %157, label %135, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %153
br label %158
158: ; preds = %._crit_edge24, %132
br label %159
159: ; preds = %158
%160 = load i32, ptr %1, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %1, align 4
%162 = load i32, ptr %1, align 4
%163 = icmp slt i32 %162, 16
br i1 %163, label %132, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %159
br label %164
164: ; preds = %._crit_edge27, %129
store i32 0, ptr %1, align 4
%165 = load i32, ptr %1, align 4
%166 = icmp slt i32 %165, 16
br i1 %166, label %.lr.ph32, label %199
.lr.ph32: ; preds = %164
br label %167
167: ; preds = %.lr.ph32, %194
store i32 0, ptr %2, align 4
%168 = load i32, ptr %2, align 4
%169 = icmp slt i32 %168, 16
br i1 %169, label %.lr.ph29, label %193
.lr.ph29: ; preds = %167
br label %170
170: ; preds = %.lr.ph29, %188
%171 = load i32, ptr %1, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [16 x [16 x [16 x i32]]], ptr %6, i64 0, i64 %172
%174 = getelementptr inbounds [16 x [16 x i32]], ptr %173, i64 0, i64 1
%175 = load i32, ptr %2, align 4
%176 = add nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [16 x i32], ptr %174, i64 0, i64 %177
%179 = load i32, ptr %178, align 4
%180 = load i32, ptr %1, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %181
%183 = load i32, ptr %182, align 4
%184 = icmp ne i32 %179, %183
br i1 %184, label %185, label %187
185: ; preds = %170
%186 = call i32 (...) @abort() #3
unreachable
187: ; preds = %170
br label %188
188: ; preds = %187
%189 = load i32, ptr %2, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %2, align 4
%191 = load i32, ptr %2, align 4
%192 = icmp slt i32 %191, 16
br i1 %192, label %170, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %188
br label %193
193: ; preds = %._crit_edge30, %167
br label %194
194: ; preds = %193
%195 = load i32, ptr %1, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %1, align 4
%197 = load i32, ptr %1, align 4
%198 = icmp slt i32 %197, 16
br i1 %198, label %167, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %194
br label %199
199: ; preds = %._crit_edge33, %164
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmpfs_xmfvd.c'
source_filename = "/tmp/tmpfs_xmfvd.c"
target datalayout = "e-m:e-p270: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.s = type {}
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.s, align 1
store i32 0, ptr %1, align 4
%3 = call i32 @assert(i32 noundef 1)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
declare i32 @assert(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/tmpfs_xmfvd.c"
target datalayout = "e-m:e-p270: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.s = type {}
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.s, align 1
store i32 0, ptr %1, align 4
%3 = call i32 @assert(i32 noundef 1)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
declare i32 @assert(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/tmptvqelsxd.c'
source_filename = "/tmp/tmptvqelsxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DES_crypt.buff = internal global [14 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @DES_crypt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @DES_fcrypt(ptr noundef %5, ptr noundef %6, ptr noundef @DES_crypt.buff)
ret ptr %7
}
declare ptr @DES_fcrypt(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/tmptvqelsxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DES_crypt.buff = internal global [14 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @DES_crypt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @DES_fcrypt(ptr noundef %5, ptr noundef %6, ptr noundef @DES_crypt.buff)
ret ptr %7
}
declare ptr @DES_fcrypt(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/tmp0vl5t_tc.c'
source_filename = "/tmp/tmp0vl5t_tc.c"
target datalayout = "e-m:e-p270: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"All 256 characters OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isspace_cmd() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %37, %0
%3 = load i32, ptr %1, align 4
%4 = icmp sle i32 %3, 255
br i1 %4, label %5, label %40
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp eq i32 %6, 32
br i1 %7, label %23, label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = icmp eq i32 %9, 10
br i1 %10, label %23, label %11
11: ; preds = %8
%12 = load i32, ptr %1, align 4
%13 = icmp eq i32 %12, 9
br i1 %13, label %23, label %14
14: ; preds = %11
%15 = load i32, ptr %1, align 4
%16 = icmp eq i32 %15, 11
br i1 %16, label %23, label %17
17: ; preds = %14
%18 = load i32, ptr %1, align 4
%19 = icmp eq i32 %18, 12
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr %1, align 4
%22 = icmp eq i32 %21, 13
br i1 %22, label %23, label %28
23: ; preds = %20, %17, %14, %11, %8, %5
%24 = load i32, ptr %1, align 4
%25 = trunc i32 %24 to i8
%26 = call i32 @fossil_isspace(i8 noundef signext %25)
%27 = call i32 @assert(i32 noundef %26)
br label %36
28: ; preds = %20
%29 = load i32, ptr %1, align 4
%30 = trunc i32 %29 to i8
%31 = call i32 @fossil_isspace(i8 noundef signext %30)
%32 = icmp ne i32 %31, 0
%33 = xor i1 %32, true
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
br label %36
36: ; preds = %28, %23
br label %37
37: ; preds = %36
%38 = load i32, ptr %1, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %1, align 4
br label %2, !llvm.loop !6
40: ; preds = %2
%41 = call i32 @fossil_print(ptr noundef @.str)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @fossil_isspace(i8 noundef signext) #1
declare i32 @fossil_print(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/tmp0vl5t_tc.c"
target datalayout = "e-m:e-p270: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"All 256 characters OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isspace_cmd() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sle i32 %2, 255
br i1 %3, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %36
%5 = load i32, ptr %1, align 4
%6 = icmp eq i32 %5, 32
br i1 %6, label %22, label %7
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = icmp eq i32 %8, 10
br i1 %9, label %22, label %10
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = icmp eq i32 %11, 9
br i1 %12, label %22, label %13
13: ; preds = %10
%14 = load i32, ptr %1, align 4
%15 = icmp eq i32 %14, 11
br i1 %15, label %22, label %16
16: ; preds = %13
%17 = load i32, ptr %1, align 4
%18 = icmp eq i32 %17, 12
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load i32, ptr %1, align 4
%21 = icmp eq i32 %20, 13
br i1 %21, label %22, label %27
22: ; preds = %19, %16, %13, %10, %7, %4
%23 = load i32, ptr %1, align 4
%24 = trunc i32 %23 to i8
%25 = call i32 @fossil_isspace(i8 noundef signext %24)
%26 = call i32 @assert(i32 noundef %25)
br label %35
27: ; preds = %19
%28 = load i32, ptr %1, align 4
%29 = trunc i32 %28 to i8
%30 = call i32 @fossil_isspace(i8 noundef signext %29)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
br label %35
35: ; preds = %27, %22
br label %36
36: ; preds = %35
%37 = load i32, ptr %1, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %1, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp sle i32 %39, 255
br i1 %40, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %0
%42 = call i32 @fossil_print(ptr noundef @.str)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @fossil_isspace(i8 noundef signext) #1
declare i32 @fossil_print(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/tmpb0rjiego.c'
source_filename = "/tmp/tmpb0rjiego.c"
target datalayout = "e-m:e-p270: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"\E8\BE\93\E5\85\A5\E4\BA\94\E4\B8\AA\E5\AD\97\E6\AF\8D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = call signext i8 (...) @getchar()
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 %11
store i8 %9, ptr %12, align 1
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %34, %16
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %20, label %37
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = add nsw i32 %25, 4
%27 = trunc i32 %26 to i8
store i8 %27, ptr %23, align 1
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %20
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %17, !llvm.loop !8
37: ; preds = %17
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb0rjiego.c"
target datalayout = "e-m:e-p270: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"\E8\BE\93\E5\85\A5\E4\BA\94\E4\B8\AA\E5\AD\97\E6\AF\8D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = call signext i8 (...) @getchar()
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 %10
store i8 %8, ptr %11, align 1
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %.lr.ph2, label %39
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %34
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = add nsw i32 %25, 4
%27 = trunc i32 %26 to i8
store i8 %27, ptr %23, align 1
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %20
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = icmp slt i32 %37, 5
br i1 %38, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %39
39: ; preds = %._crit_edge3, %17
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpf9vg3frm.c'
source_filename = "/tmp/tmpf9vg3frm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @jb_shell(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 (...) @fork()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
store i64 0, ptr @errno, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %6, ptr noundef null)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %1
%10 = call i32 (...) @init_wait_cb()
br label %11
11: ; preds = %9
ret void
}
declare i64 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @init_wait_cb(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpf9vg3frm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @jb_shell(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 (...) @fork()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
store i64 0, ptr @errno, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %6, ptr noundef null)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %1
%10 = call i32 (...) @init_wait_cb()
br label %11
11: ; preds = %9
ret void
}
declare i64 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @init_wait_cb(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpi5ghi8rm.c'
source_filename = "/tmp/tmpi5ghi8rm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Enter a number to be converted to ASCII: \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
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @b2a(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @b2a(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/tmpi5ghi8rm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Enter a number to be converted to ASCII: \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
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @b2a(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @b2a(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/tmphvhcuqgs.c'
source_filename = "/tmp/tmphvhcuqgs.c"
target datalayout = "e-m:e-p270: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/tmphvhcuqgs.c"
target datalayout = "e-m:e-p270: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/tmp0d1l7tw7.c'
source_filename = "/tmp/tmp0d1l7tw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@SYS_lstat = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"/proc/self/cwd/\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"lstat()\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"trailing '/' ignored\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @SYS_lstat, align 4
%5 = call i32 @syscall(i32 noundef %4, ptr noundef @.str, ptr noundef %2)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %0
%13 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i64 @S_ISLNK(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #3
unreachable
22: ; preds = %12
%23 = load i32, ptr @EXIT_SUCCESS, align 4
%24 = call i32 @exit(i32 noundef %23) #3
unreachable
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @S_ISLNK(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp0d1l7tw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@SYS_lstat = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"/proc/self/cwd/\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"lstat()\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"trailing '/' ignored\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @SYS_lstat, align 4
%5 = call i32 @syscall(i32 noundef %4, ptr noundef @.str, ptr noundef %2)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %0
%13 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i64 @S_ISLNK(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #3
unreachable
22: ; preds = %12
%23 = load i32, ptr @EXIT_SUCCESS, align 4
%24 = call i32 @exit(i32 noundef %23) #3
unreachable
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @S_ISLNK(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp4_9p91il.c'
source_filename = "/tmp/tmp4_9p91il.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Set_Ethernet_DSP_ID(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @Set_DSP_CPUID(i8 noundef zeroext %3)
ret i32 %4
}
declare i32 @Set_DSP_CPUID(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_9p91il.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Set_Ethernet_DSP_ID(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @Set_DSP_CPUID(i8 noundef zeroext %3)
ret i32 %4
}
declare i32 @Set_DSP_CPUID(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1_7_o3l3.c'
source_filename = "/tmp/tmp1_7_o3l3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset32(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 ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %21, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = sdiv i32 %12, 4
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %24
15: ; preds = %10
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %15
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
br label %10, !llvm.loop !6
24: ; preds = %10
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_7_o3l3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset32(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 ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = sdiv i32 %11, 4
%13 = icmp slt i32 %10, %12
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %20
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %14
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %6, align 4
%25 = sdiv i32 %24, 4
%26 = icmp slt i32 %23, %25
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %3
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4b5j3ftc.c'
source_filename = "/tmp/tmp4b5j3ftc.c"
target datalayout = "e-m:e-p270: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/tmp4b5j3ftc.c"
target datalayout = "e-m:e-p270: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/tmptt3lmnp8.c'
source_filename = "/tmp/tmptt3lmnp8.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"The program %s filters out graphs that are bipartite.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" %s [options]\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c" -c, --count\0A\00", align 1
@.str.7 = private unnamed_addr constant [60 x i8] c" Only count the number of graphs that are bipartite.\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c" -i, --invert\0A\00", align 1
@.str.9 = private unnamed_addr constant [54 x i8] c" Accept graphs only if they are NOT bipartite.\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1
@.str.11 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help(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 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, i32 noundef 4000)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.8)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.9)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.10)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.11)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptt3lmnp8.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"The program %s filters out graphs that are bipartite.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" %s [options]\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c" -c, --count\0A\00", align 1
@.str.7 = private unnamed_addr constant [60 x i8] c" Only count the number of graphs that are bipartite.\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c" -i, --invert\0A\00", align 1
@.str.9 = private unnamed_addr constant [54 x i8] c" Accept graphs only if they are NOT bipartite.\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1
@.str.11 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help(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 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, i32 noundef 4000)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.8)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.9)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.10)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.11)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnbc3we7s.c'
source_filename = "/tmp/tmpnbc3we7s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.write_end_of_track.eot = private unnamed_addr constant [3 x i8] c"\FF/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_end_of_track(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [3 x i8], align 1
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.write_end_of_track.eot, i64 3, i1 false)
store i64 0, ptr %4, align 8
%5 = load i32, ptr %2, align 4
%6 = load i64, ptr %4, align 8
%7 = call i32 @write_weird_midi_int(i32 noundef %5, i64 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @write_bytes(i32 noundef %8, ptr noundef %9, i32 noundef 3)
%11 = icmp ne i32 %10, 3
%12 = zext i1 %11 to i32
ret i32 %12
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @write_weird_midi_int(i32 noundef, i64 noundef) #2
declare i32 @write_bytes(i32 noundef, ptr 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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbc3we7s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.write_end_of_track.eot = private unnamed_addr constant [3 x i8] c"\FF/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_end_of_track(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [3 x i8], align 1
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.write_end_of_track.eot, i64 3, i1 false)
store i64 0, ptr %4, align 8
%5 = load i32, ptr %2, align 4
%6 = load i64, ptr %4, align 8
%7 = call i32 @write_weird_midi_int(i32 noundef %5, i64 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @write_bytes(i32 noundef %8, ptr noundef %9, i32 noundef 3)
%11 = icmp ne i32 %10, 3
%12 = zext i1 %11 to i32
ret i32 %12
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @write_weird_midi_int(i32 noundef, i64 noundef) #2
declare i32 @write_bytes(i32 noundef, ptr 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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdlb_dui0.c'
source_filename = "/tmp/tmpdlb_dui0.c"
target datalayout = "e-m:e-p270: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"FLT_MAX -> (int)FLT_MAX:\0A%e -> %i\0A\0A\00", align 1
@FLT_MAX = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [38 x i8] c"INT_MAX -> (float)INT_MAX:\0A%i -> %e\0A\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"DBL_MAX -> (int)DBL_MAX:\0A%e -> %i\0A\00", align 1
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [99 x i8] c"Wartosc double max wychodzi poza maksymalna wartosc int. Wypisywana jest wartosc maksymalna int.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"INT_MAX -> (double)INT_MAX:\0A%i -> %e\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"LDBL_MAX -> (double)LDBL_MAX:\0A%Le -> %e\0A\0A\00", align 1
@LDBL_MAX = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [44 x i8] c"(double)LDBL_MAX podzielone przez 2:\0A %e \0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"(double)LDBL_MAX podzielone przez 4:\0A %e \0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"LONG_MAX -> (float)LONG_MAX:\0A%li -> %e\0A\0A\00", align 1
@LONG_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = load double, ptr @FLT_MAX, align 8
%2 = load double, ptr @FLT_MAX, align 8
%3 = fptosi double %2 to i32
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %1, i32 noundef %3)
%5 = load i32, ptr @INT_MAX, align 4
%6 = load i32, ptr @INT_MAX, align 4
%7 = sitofp i32 %6 to float
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5, double noundef %8)
%10 = load double, ptr @DBL_MAX, align 8
%11 = load double, ptr @DBL_MAX, align 8
%12 = fptosi double %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %10, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = load i32, ptr @INT_MAX, align 4
%16 = load i32, ptr @INT_MAX, align 4
%17 = sitofp i32 %16 to double
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15, double noundef %17)
%19 = load i32, ptr @LDBL_MAX, align 4
%20 = load i32, ptr @LDBL_MAX, align 4
%21 = sitofp i32 %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19, double noundef %21)
%23 = load i32, ptr @LDBL_MAX, align 4
%24 = sitofp i32 %23 to double
%25 = fdiv double %24, 2.000000e+00
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %25)
%27 = load i32, ptr @LDBL_MAX, align 4
%28 = sitofp i32 %27 to double
%29 = fdiv double %28, 4.000000e+00
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %29)
%31 = load i32, ptr @LONG_MAX, align 4
%32 = load i32, ptr @LONG_MAX, align 4
%33 = sitofp i32 %32 to float
%34 = fpext float %33 to double
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %31, double noundef %34)
%36 = load i32, ptr @INT_MAX, align 4
%37 = load i32, ptr @INT_MAX, align 4
%38 = sitofp i32 %37 to float
%39 = fpext float %38 to double
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, double noundef %39)
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/tmpdlb_dui0.c"
target datalayout = "e-m:e-p270: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"FLT_MAX -> (int)FLT_MAX:\0A%e -> %i\0A\0A\00", align 1
@FLT_MAX = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [38 x i8] c"INT_MAX -> (float)INT_MAX:\0A%i -> %e\0A\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"DBL_MAX -> (int)DBL_MAX:\0A%e -> %i\0A\00", align 1
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [99 x i8] c"Wartosc double max wychodzi poza maksymalna wartosc int. Wypisywana jest wartosc maksymalna int.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"INT_MAX -> (double)INT_MAX:\0A%i -> %e\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"LDBL_MAX -> (double)LDBL_MAX:\0A%Le -> %e\0A\0A\00", align 1
@LDBL_MAX = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [44 x i8] c"(double)LDBL_MAX podzielone przez 2:\0A %e \0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"(double)LDBL_MAX podzielone przez 4:\0A %e \0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"LONG_MAX -> (float)LONG_MAX:\0A%li -> %e\0A\0A\00", align 1
@LONG_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = load double, ptr @FLT_MAX, align 8
%2 = load double, ptr @FLT_MAX, align 8
%3 = fptosi double %2 to i32
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %1, i32 noundef %3)
%5 = load i32, ptr @INT_MAX, align 4
%6 = load i32, ptr @INT_MAX, align 4
%7 = sitofp i32 %6 to float
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5, double noundef %8)
%10 = load double, ptr @DBL_MAX, align 8
%11 = load double, ptr @DBL_MAX, align 8
%12 = fptosi double %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %10, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = load i32, ptr @INT_MAX, align 4
%16 = load i32, ptr @INT_MAX, align 4
%17 = sitofp i32 %16 to double
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15, double noundef %17)
%19 = load i32, ptr @LDBL_MAX, align 4
%20 = load i32, ptr @LDBL_MAX, align 4
%21 = sitofp i32 %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19, double noundef %21)
%23 = load i32, ptr @LDBL_MAX, align 4
%24 = sitofp i32 %23 to double
%25 = fdiv double %24, 2.000000e+00
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %25)
%27 = load i32, ptr @LDBL_MAX, align 4
%28 = sitofp i32 %27 to double
%29 = fdiv double %28, 4.000000e+00
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %29)
%31 = load i32, ptr @LONG_MAX, align 4
%32 = load i32, ptr @LONG_MAX, align 4
%33 = sitofp i32 %32 to float
%34 = fpext float %33 to double
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %31, double noundef %34)
%36 = load i32, ptr @INT_MAX, align 4
%37 = load i32, ptr @INT_MAX, align 4
%38 = sitofp i32 %37 to float
%39 = fpext float %38 to double
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, double noundef %39)
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/tmpbvrgigxp.c'
source_filename = "/tmp/tmpbvrgigxp.c"
target datalayout = "e-m:e-p270: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/tmpbvrgigxp.c"
target datalayout = "e-m:e-p270: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/tmp0xf238jl.c'
source_filename = "/tmp/tmp0xf238jl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.stp_set_all_from_file.str = private unnamed_addr constant [30 x i8] c" \00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [20 x i8] c"irc_vozik_otacka_mm\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"irc_vozik_refer_mm\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"irc_katr_otacka_mm\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"irc_katr_refer_mm\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"irc_vo = %d\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"irc_vr = %d\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"irc_ko = %d\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"irc_kr = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stp_set_all_from_file() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [30 x i8], align 16
store i32 50, ptr %1, align 4
store i32 50, ptr %2, align 4
store i32 25, ptr %3, align 4
store i32 20, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.stp_set_all_from_file.str, i64 30, i1 false)
%6 = call i32 (...) @load_conf()
%7 = call i32 @param_geti(ptr noundef @.str)
store i32 %7, ptr %1, align 4
%8 = call i32 @param_geti(ptr noundef @.str.1)
store i32 %8, ptr %2, align 4
%9 = call i32 @param_geti(ptr noundef @.str.2)
store i32 %9, ptr %3, align 4
%10 = call i32 @param_geti(ptr noundef @.str.3)
store i32 %10, ptr %4, align 4
%11 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%12 = load i32, ptr %1, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.4, i32 noundef %12)
%14 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @printxyd(i32 noundef 0, i32 noundef 20, ptr noundef %14)
%16 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%17 = load i32, ptr %2, align 4
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str.5, i32 noundef %17)
%19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @printxyd(i32 noundef 1, i32 noundef 20, ptr noundef %19)
%21 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%22 = load i32, ptr %3, align 4
%23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.6, i32 noundef %22)
%24 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @printxyd(i32 noundef 2, i32 noundef 20, ptr noundef %24)
%26 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%27 = load i32, ptr %4, align 4
%28 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.7, i32 noundef %27)
%29 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @printxyd(i32 noundef 3, i32 noundef 20, ptr noundef %29)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @load_conf(...) #2
declare i32 @param_geti(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printxyd(i32 noundef, 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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xf238jl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.stp_set_all_from_file.str = private unnamed_addr constant [30 x i8] c" \00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [20 x i8] c"irc_vozik_otacka_mm\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"irc_vozik_refer_mm\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"irc_katr_otacka_mm\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"irc_katr_refer_mm\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"irc_vo = %d\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"irc_vr = %d\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"irc_ko = %d\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"irc_kr = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stp_set_all_from_file() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [30 x i8], align 16
store i32 50, ptr %1, align 4
store i32 50, ptr %2, align 4
store i32 25, ptr %3, align 4
store i32 20, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.stp_set_all_from_file.str, i64 30, i1 false)
%6 = call i32 (...) @load_conf()
%7 = call i32 @param_geti(ptr noundef @.str)
store i32 %7, ptr %1, align 4
%8 = call i32 @param_geti(ptr noundef @.str.1)
store i32 %8, ptr %2, align 4
%9 = call i32 @param_geti(ptr noundef @.str.2)
store i32 %9, ptr %3, align 4
%10 = call i32 @param_geti(ptr noundef @.str.3)
store i32 %10, ptr %4, align 4
%11 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%12 = load i32, ptr %1, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.4, i32 noundef %12)
%14 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @printxyd(i32 noundef 0, i32 noundef 20, ptr noundef %14)
%16 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%17 = load i32, ptr %2, align 4
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str.5, i32 noundef %17)
%19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @printxyd(i32 noundef 1, i32 noundef 20, ptr noundef %19)
%21 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%22 = load i32, ptr %3, align 4
%23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.6, i32 noundef %22)
%24 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @printxyd(i32 noundef 2, i32 noundef 20, ptr noundef %24)
%26 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%27 = load i32, ptr %4, align 4
%28 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.7, i32 noundef %27)
%29 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @printxyd(i32 noundef 3, i32 noundef 20, ptr noundef %29)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @load_conf(...) #2
declare i32 @param_geti(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printxyd(i32 noundef, 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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkdf8crpk.c'
source_filename = "/tmp/tmpkdf8crpk.c"
target datalayout = "e-m:e-p270: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" WHERE \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" AND \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @addAND(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str)
br label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1)
br label %13
13: ; preds = %10, %7
ret void
}
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/tmpkdf8crpk.c"
target datalayout = "e-m:e-p270: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" WHERE \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" AND \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @addAND(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str)
br label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1)
br label %13
13: ; preds = %10, %7
ret void
}
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/tmp2x1cmei4.c'
source_filename = "/tmp/tmp2x1cmei4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FileOfDoublesSize(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
store i32 -1, ptr %3, align 4
br label %5
5: ; preds = %10, %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @feof(ptr noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fread(ptr noundef %4, i32 noundef 8, i32 noundef 1, ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr @SEEK_SET, align 4
%18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @feof(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(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/tmp2x1cmei4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FileOfDoublesSize(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
store i32 -1, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @feof(ptr noundef %5)
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fread(ptr noundef %4, i32 noundef 8, i32 noundef 1, ptr noundef %10)
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load ptr, ptr %2, align 8
%15 = call i32 @feof(ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %18
18: ; preds = %._crit_edge, %1
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20)
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @feof(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(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/tmp61druyct.c'
source_filename = "/tmp/tmp61druyct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pt_daily_et(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
store double 1.004150e+03, ptr %16, align 8
%18 = load double, ptr %12, align 8
%19 = fsub double %18, 2.731500e+02
store double %19, ptr %15, align 8
%20 = load double, ptr %15, align 8
%21 = call double @llvm.fmuladd.f64(double -2.361000e-03, double %20, double 2.501000e+00)
%22 = call double @pow(i32 noundef 10, i32 noundef 6)
%23 = fmul double %21, %22
%24 = fdiv double 8.640000e+04, %23
store double %24, ptr %14, align 8
%25 = load double, ptr %8, align 8
%26 = load double, ptr %8, align 8
%27 = load double, ptr %9, align 8
%28 = fadd double %26, %27
%29 = fdiv double %25, %28
store double %29, ptr %17, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %16, align 8
%32 = fdiv double %30, %31
%33 = load double, ptr %17, align 8
%34 = fmul double %32, %33
%35 = load double, ptr %10, align 8
%36 = load double, ptr %11, align 8
%37 = fsub double %35, %36
%38 = fmul double %34, %37
%39 = load double, ptr %14, align 8
%40 = fdiv double %38, %39
store double %40, ptr %13, align 8
%41 = load double, ptr %13, align 8
ret double %41
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @pow(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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp61druyct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pt_daily_et(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
store double 1.004150e+03, ptr %16, align 8
%18 = load double, ptr %12, align 8
%19 = fsub double %18, 2.731500e+02
store double %19, ptr %15, align 8
%20 = load double, ptr %15, align 8
%21 = call double @llvm.fmuladd.f64(double -2.361000e-03, double %20, double 2.501000e+00)
%22 = call double @pow(i32 noundef 10, i32 noundef 6)
%23 = fmul double %21, %22
%24 = fdiv double 8.640000e+04, %23
store double %24, ptr %14, align 8
%25 = load double, ptr %8, align 8
%26 = load double, ptr %8, align 8
%27 = load double, ptr %9, align 8
%28 = fadd double %26, %27
%29 = fdiv double %25, %28
store double %29, ptr %17, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %16, align 8
%32 = fdiv double %30, %31
%33 = load double, ptr %17, align 8
%34 = fmul double %32, %33
%35 = load double, ptr %10, align 8
%36 = load double, ptr %11, align 8
%37 = fsub double %35, %36
%38 = fmul double %34, %37
%39 = load double, ptr %14, align 8
%40 = fdiv double %38, %39
store double %40, ptr %13, align 8
%41 = load double, ptr %13, align 8
ret double %41
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @pow(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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4h75u5vq.c'
source_filename = "/tmp/tmp4h75u5vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrealloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i64, ptr %7, align 8
%12 = call ptr @wmalloc(i64 noundef %11)
store ptr %12, ptr %4, align 8
br label %17
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = call ptr @realloc(ptr noundef %14, i64 noundef %15) #3
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %13, %10
%18 = load ptr, ptr %4, align 8
ret ptr %18
}
declare ptr @wmalloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4h75u5vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrealloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i64, ptr %7, align 8
%12 = call ptr @wmalloc(i64 noundef %11)
store ptr %12, ptr %4, align 8
br label %17
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = call ptr @realloc(ptr noundef %14, i64 noundef %15) #3
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %13, %10
%18 = load ptr, ptr %4, align 8
ret ptr %18
}
declare ptr @wmalloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj_uqepc6.c'
source_filename = "/tmp/tmpj_uqepc6.c"
target datalayout = "e-m:e-p270: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"Couldn't create a pipe\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Couldn't fork to start logger\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [45 x i8] c"Couldn't attach the pipe to the logger input\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"logger\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-p\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-t\00", align 1
@SIG_UNBLOCK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"Couldn't execute logger\00", align 1
@.str.7 = private unnamed_addr constant [46 x i8] c"Couldn't attach the pipe to the logger output\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pipe_to_logger(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [2 x i32], align 4
%12 = alloca i64, align 8
%13 = alloca [6 x ptr], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%14 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%15 = call i64 @pipe(ptr noundef %14)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %4
%18 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %106
19: ; preds = %4
%20 = call i64 (...) @fork()
store i64 %20, ptr %12, align 8
%21 = load i64, ptr %12, align 8
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%25 = load i32, ptr %24, align 4
%26 = call i32 @close(i32 noundef %25)
%27 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%28 = load i32, ptr %27, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %106
31: ; preds = %19
%32 = load i64, ptr %12, align 8
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %79
34: ; preds = %31
%35 = load i32, ptr @STDOUT_FILENO, align 4
%36 = call i32 @close_on_exec(i32 noundef %35)
%37 = load i32, ptr @STDERR_FILENO, align 4
%38 = call i32 @close_on_exec(i32 noundef %37)
br label %39
39: ; preds = %51, %34
%40 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr @STDIN_FILENO, align 4
%43 = call i32 @dup2(i32 noundef %41, i32 noundef %42)
store i32 %43, ptr %10, align 4
br label %44
44: ; preds = %39
%45 = load i32, ptr %10, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load i64, ptr @errno, align 8
%49 = load i64, ptr @EINTR, align 8
%50 = icmp eq i64 %48, %49
br label %51
51: ; preds = %47, %44
%52 = phi i1 [ false, %44 ], [ %50, %47 ]
br i1 %52, label %39, label %53, !llvm.loop !6
53: ; preds = %51
%54 = load i32, ptr %10, align 4
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %5, align 4
br label %106
58: ; preds = %53
%59 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%60 = load i32, ptr %59, align 4
%61 = call i32 @close(i32 noundef %60)
%62 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%63 = load i32, ptr %62, align 4
%64 = call i32 @close(i32 noundef %63)
%65 = getelementptr inbounds [6 x ptr], ptr %13, i64 0, i64 0
store ptr @.str.3, ptr %65, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
store ptr @.str.4, ptr %66, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 1
%68 = load ptr, ptr %6, align 8
store ptr %68, ptr %67, align 8
%69 = getelementptr inbounds ptr, ptr %67, i64 1
store ptr @.str.5, ptr %69, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 1
%71 = load ptr, ptr %7, align 8
store ptr %71, ptr %70, align 8
%72 = getelementptr inbounds ptr, ptr %70, i64 1
store ptr null, ptr %72, align 8
%73 = load i32, ptr @SIG_UNBLOCK, align 4
%74 = load ptr, ptr %9, align 8
%75 = call i32 @sigprocmask(i32 noundef %73, ptr noundef %74, ptr noundef null)
%76 = getelementptr inbounds [6 x ptr], ptr %13, i64 0, i64 0
%77 = call i32 @execvp(ptr noundef @.str.3, ptr noundef %76)
%78 = call i32 @perror(ptr noundef @.str.6)
store i32 -1, ptr %5, align 4
br label %106
79: ; preds = %31
br label %80
80: ; preds = %92, %79
%81 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%82 = load i32, ptr %81, align 4
%83 = load i32, ptr %8, align 4
%84 = call i32 @dup2(i32 noundef %82, i32 noundef %83)
store i32 %84, ptr %10, align 4
br label %85
85: ; preds = %80
%86 = load i32, ptr %10, align 4
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %92
88: ; preds = %85
%89 = load i64, ptr @errno, align 8
%90 = load i64, ptr @EINTR, align 8
%91 = icmp eq i64 %89, %90
br label %92
92: ; preds = %88, %85
%93 = phi i1 [ false, %85 ], [ %91, %88 ]
br i1 %93, label %80, label %94, !llvm.loop !8
94: ; preds = %92
%95 = load i32, ptr %10, align 4
%96 = icmp slt i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %94
%98 = call i32 @perror(ptr noundef @.str.7)
store i32 -1, ptr %5, align 4
br label %106
99: ; preds = %94
%100 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%101 = load i32, ptr %100, align 4
%102 = call i32 @close(i32 noundef %101)
%103 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%104 = load i32, ptr %103, align 4
%105 = call i32 @close(i32 noundef %104)
store i32 0, ptr %5, align 4
br label %106
106: ; preds = %99, %97, %58, %56, %23, %17
%107 = load i32, ptr %5, align 4
ret i32 %107
}
declare i64 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @close_on_exec(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_uqepc6.c"
target datalayout = "e-m:e-p270: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"Couldn't create a pipe\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Couldn't fork to start logger\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [45 x i8] c"Couldn't attach the pipe to the logger input\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"logger\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-p\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-t\00", align 1
@SIG_UNBLOCK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"Couldn't execute logger\00", align 1
@.str.7 = private unnamed_addr constant [46 x i8] c"Couldn't attach the pipe to the logger output\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pipe_to_logger(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [2 x i32], align 4
%12 = alloca i64, align 8
%13 = alloca [6 x ptr], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%14 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%15 = call i64 @pipe(ptr noundef %14)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %4
%18 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %106
19: ; preds = %4
%20 = call i64 (...) @fork()
store i64 %20, ptr %12, align 8
%21 = load i64, ptr %12, align 8
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%25 = load i32, ptr %24, align 4
%26 = call i32 @close(i32 noundef %25)
%27 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%28 = load i32, ptr %27, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %106
31: ; preds = %19
%32 = load i64, ptr %12, align 8
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %79
34: ; preds = %31
%35 = load i32, ptr @STDOUT_FILENO, align 4
%36 = call i32 @close_on_exec(i32 noundef %35)
%37 = load i32, ptr @STDERR_FILENO, align 4
%38 = call i32 @close_on_exec(i32 noundef %37)
br label %39
39: ; preds = %51, %34
%40 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr @STDIN_FILENO, align 4
%43 = call i32 @dup2(i32 noundef %41, i32 noundef %42)
store i32 %43, ptr %10, align 4
br label %44
44: ; preds = %39
%45 = load i32, ptr %10, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load i64, ptr @errno, align 8
%49 = load i64, ptr @EINTR, align 8
%50 = icmp eq i64 %48, %49
br label %51
51: ; preds = %47, %44
%52 = phi i1 [ false, %44 ], [ %50, %47 ]
br i1 %52, label %39, label %53, !llvm.loop !6
53: ; preds = %51
%54 = load i32, ptr %10, align 4
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %5, align 4
br label %106
58: ; preds = %53
%59 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%60 = load i32, ptr %59, align 4
%61 = call i32 @close(i32 noundef %60)
%62 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%63 = load i32, ptr %62, align 4
%64 = call i32 @close(i32 noundef %63)
%65 = getelementptr inbounds [6 x ptr], ptr %13, i64 0, i64 0
store ptr @.str.3, ptr %65, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
store ptr @.str.4, ptr %66, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 1
%68 = load ptr, ptr %6, align 8
store ptr %68, ptr %67, align 8
%69 = getelementptr inbounds ptr, ptr %67, i64 1
store ptr @.str.5, ptr %69, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 1
%71 = load ptr, ptr %7, align 8
store ptr %71, ptr %70, align 8
%72 = getelementptr inbounds ptr, ptr %70, i64 1
store ptr null, ptr %72, align 8
%73 = load i32, ptr @SIG_UNBLOCK, align 4
%74 = load ptr, ptr %9, align 8
%75 = call i32 @sigprocmask(i32 noundef %73, ptr noundef %74, ptr noundef null)
%76 = getelementptr inbounds [6 x ptr], ptr %13, i64 0, i64 0
%77 = call i32 @execvp(ptr noundef @.str.3, ptr noundef %76)
%78 = call i32 @perror(ptr noundef @.str.6)
store i32 -1, ptr %5, align 4
br label %106
79: ; preds = %31
br label %80
80: ; preds = %92, %79
%81 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%82 = load i32, ptr %81, align 4
%83 = load i32, ptr %8, align 4
%84 = call i32 @dup2(i32 noundef %82, i32 noundef %83)
store i32 %84, ptr %10, align 4
br label %85
85: ; preds = %80
%86 = load i32, ptr %10, align 4
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %92
88: ; preds = %85
%89 = load i64, ptr @errno, align 8
%90 = load i64, ptr @EINTR, align 8
%91 = icmp eq i64 %89, %90
br label %92
92: ; preds = %88, %85
%93 = phi i1 [ false, %85 ], [ %91, %88 ]
br i1 %93, label %80, label %94, !llvm.loop !8
94: ; preds = %92
%95 = load i32, ptr %10, align 4
%96 = icmp slt i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %94
%98 = call i32 @perror(ptr noundef @.str.7)
store i32 -1, ptr %5, align 4
br label %106
99: ; preds = %94
%100 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%101 = load i32, ptr %100, align 4
%102 = call i32 @close(i32 noundef %101)
%103 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%104 = load i32, ptr %103, align 4
%105 = call i32 @close(i32 noundef %104)
store i32 0, ptr %5, align 4
br label %106
106: ; preds = %99, %97, %58, %56, %23, %17
%107 = load i32, ptr %5, align 4
ret i32 %107
}
declare i64 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @close_on_exec(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk4ajch7w.c'
source_filename = "/tmp/tmpk4ajch7w.c"
target datalayout = "e-m:e-p270: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/tmpk4ajch7w.c"
target datalayout = "e-m:e-p270: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/tmp2egs29oj.c'
source_filename = "/tmp/tmp2egs29oj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @noinline_abs(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 @abs(i32 noundef %3) #2
ret i32 %4
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2egs29oj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @noinline_abs(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 @abs(i32 noundef %3) #2
ret i32 %4
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz3dr2540.c'
source_filename = "/tmp/tmpz3dr2540.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mergesort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @mergesortRange(ptr noundef %5, i32 noundef 0, i32 noundef %6)
ret void
}
declare i32 @mergesortRange(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/tmpz3dr2540.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mergesort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @mergesortRange(ptr noundef %5, i32 noundef 0, i32 noundef %6)
ret void
}
declare i32 @mergesortRange(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/tmpi46iom97.c'
source_filename = "/tmp/tmpi46iom97.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x53() #0 {
%1 = call i64 @iscntrl(i32 noundef 83)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 420, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi46iom97.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x53() #0 {
%1 = call i64 @iscntrl(i32 noundef 83)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 420, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqrtcl1l6.c'
source_filename = "/tmp/tmpqrtcl1l6.c"
target datalayout = "e-m:e-p270: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/tmpqrtcl1l6.c"
target datalayout = "e-m:e-p270: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/tmp6ssad_se.c'
source_filename = "/tmp/tmp6ssad_se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getQR_house(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%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 ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 8, %23
%25 = trunc i64 %24 to i32
%26 = call i64 @malloc(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %18, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 8, %29
%31 = trunc i64 %30 to i32
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %19, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = mul i64 8, %35
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %36, %38
%40 = trunc i64 %39 to i32
%41 = call i64 @malloc(i32 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %20, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 8, %44
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = mul i64 %45, %47
%49 = trunc i64 %48 to i32
%50 = call i64 @malloc(i32 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %21, align 8
store i32 0, ptr %13, align 4
br label %52
52: ; preds = %94, %6
%53 = load i32, ptr %13, align 4
%54 = load i32, ptr %9, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %97
56: ; preds = %52
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %9, align 4
%59 = mul nsw i32 %57, %58
store i32 %59, ptr %16, align 4
store i32 0, ptr %14, align 4
br label %60
60: ; preds = %90, %56
%61 = load i32, ptr %14, align 4
%62 = load i32, ptr %9, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %93
64: ; preds = %60
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %14, align 4
%67 = icmp sgt i32 %65, %66
br i1 %67, label %68, label %75
68: ; preds = %64
%69 = load ptr, ptr %12, align 8
%70 = load i32, ptr %16, align 4
%71 = load i32, ptr %14, align 4
%72 = add nsw i32 %70, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %69, i64 %73
store double 0.000000e+00, ptr %74, align 8
br label %89
75: ; preds = %64
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %16, align 4
%78 = load i32, ptr %14, align 4
%79 = add nsw i32 %77, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, ptr %76, i64 %80
%82 = load double, ptr %81, align 8
%83 = load ptr, ptr %12, align 8
%84 = load i32, ptr %16, align 4
%85 = load i32, ptr %14, align 4
%86 = add nsw i32 %84, %85
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %83, i64 %87
store double %82, ptr %88, align 8
br label %89
89: ; preds = %75, %68
br label %90
90: ; preds = %89
%91 = load i32, ptr %14, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %14, align 4
br label %60, !llvm.loop !6
93: ; preds = %60
br label %94
94: ; preds = %93
%95 = load i32, ptr %13, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %13, align 4
br label %52, !llvm.loop !8
97: ; preds = %52
store i32 0, ptr %13, align 4
br label %98
98: ; preds = %133, %97
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %8, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %102, label %136
102: ; preds = %98
%103 = load i32, ptr %13, align 4
%104 = load i32, ptr %9, align 4
%105 = mul nsw i32 %103, %104
store i32 %105, ptr %16, align 4
store i32 0, ptr %14, align 4
br label %106
106: ; preds = %129, %102
%107 = load i32, ptr %14, align 4
%108 = load i32, ptr %9, align 4
%109 = icmp slt i32 %107, %108
br i1 %109, label %110, label %132
110: ; preds = %106
%111 = load i32, ptr %13, align 4
%112 = load i32, ptr %14, align 4
%113 = icmp eq i32 %111, %112
br i1 %113, label %114, label %121
114: ; preds = %110
%115 = load ptr, ptr %11, align 8
%116 = load i32, ptr %16, align 4
%117 = load i32, ptr %14, align 4
%118 = add nsw i32 %116, %117
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %115, i64 %119
store double 1.000000e+00, ptr %120, align 8
br label %128
121: ; preds = %110
%122 = load ptr, ptr %11, align 8
%123 = load i32, ptr %16, align 4
%124 = load i32, ptr %14, align 4
%125 = add nsw i32 %123, %124
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %122, i64 %126
store double 0.000000e+00, ptr %127, align 8
br label %128
128: ; preds = %121, %114
br label %129
129: ; preds = %128
%130 = load i32, ptr %14, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %14, align 4
br label %106, !llvm.loop !9
132: ; preds = %106
br label %133
133: ; preds = %132
%134 = load i32, ptr %13, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %13, align 4
br label %98, !llvm.loop !10
136: ; preds = %98
%137 = load i32, ptr %9, align 4
%138 = sub nsw i32 %137, 1
store i32 %138, ptr %14, align 4
br label %139
139: ; preds = %290, %136
%140 = load i32, ptr %14, align 4
%141 = icmp sge i32 %140, 0
br i1 %141, label %142, label %293
142: ; preds = %139
%143 = load ptr, ptr %19, align 8
%144 = getelementptr inbounds double, ptr %143, i64 0
store double 1.000000e+00, ptr %144, align 8
%145 = load i32, ptr %14, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %13, align 4
br label %147
147: ; preds = %167, %142
%148 = load i32, ptr %13, align 4
%149 = load i32, ptr %8, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %151, label %170
151: ; preds = %147
%152 = load ptr, ptr %7, align 8
%153 = load i32, ptr %13, align 4
%154 = load i32, ptr %9, align 4
%155 = mul nsw i32 %153, %154
%156 = load i32, ptr %14, align 4
%157 = add nsw i32 %155, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, ptr %152, i64 %158
%160 = load double, ptr %159, align 8
%161 = load ptr, ptr %19, align 8
%162 = load i32, ptr %13, align 4
%163 = load i32, ptr %14, align 4
%164 = sub nsw i32 %162, %163
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %161, i64 %165
store double %160, ptr %166, align 8
br label %167
167: ; preds = %151
%168 = load i32, ptr %13, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %13, align 4
br label %147, !llvm.loop !11
170: ; preds = %147
%171 = load i32, ptr %14, align 4
store i32 %171, ptr %13, align 4
br label %172
172: ; preds = %210, %170
%173 = load i32, ptr %13, align 4
%174 = load i32, ptr %8, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %176, label %213
176: ; preds = %172
%177 = load i32, ptr %13, align 4
%178 = load i32, ptr %9, align 4
%179 = mul nsw i32 %177, %178
store i32 %179, ptr %16, align 4
store i32 0, ptr %17, align 4
%180 = load i32, ptr %14, align 4
store i32 %180, ptr %15, align 4
br label %181
181: ; preds = %206, %176
%182 = load i32, ptr %15, align 4
%183 = load i32, ptr %9, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %209
185: ; preds = %181
%186 = load ptr, ptr %11, align 8
%187 = load i32, ptr %15, align 4
%188 = load i32, ptr %16, align 4
%189 = add nsw i32 %187, %188
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, ptr %186, i64 %190
%192 = load double, ptr %191, align 8
%193 = load ptr, ptr %20, align 8
%194 = load i32, ptr %17, align 4
%195 = load i32, ptr %13, align 4
%196 = add nsw i32 %194, %195
%197 = load i32, ptr %14, align 4
%198 = sub nsw i32 %196, %197
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %193, i64 %199
store double %192, ptr %200, align 8
%201 = load i32, ptr %8, align 4
%202 = load i32, ptr %14, align 4
%203 = sub nsw i32 %201, %202
%204 = load i32, ptr %17, align 4
%205 = add nsw i32 %204, %203
store i32 %205, ptr %17, align 4
br label %206
206: ; preds = %185
%207 = load i32, ptr %15, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %15, align 4
br label %181, !llvm.loop !12
209: ; preds = %181
br label %210
210: ; preds = %209
%211 = load i32, ptr %13, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %13, align 4
br label %172, !llvm.loop !13
213: ; preds = %172
%214 = load ptr, ptr %20, align 8
%215 = load ptr, ptr %19, align 8
%216 = load ptr, ptr %21, align 8
%217 = load i32, ptr %9, align 4
%218 = load i32, ptr %14, align 4
%219 = sub nsw i32 %217, %218
%220 = load i32, ptr %8, align 4
%221 = load i32, ptr %14, align 4
%222 = sub nsw i32 %220, %221
%223 = call i32 @mmult(ptr noundef %214, ptr noundef %215, ptr noundef %216, i32 noundef %219, i32 noundef %222, i32 noundef 1)
%224 = load ptr, ptr %21, align 8
%225 = load i32, ptr %9, align 4
%226 = load i32, ptr %14, align 4
%227 = sub nsw i32 %225, %226
%228 = load ptr, ptr %10, align 8
%229 = load i32, ptr %14, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds double, ptr %228, i64 %230
%232 = load double, ptr %231, align 8
%233 = call i32 @scale(ptr noundef %224, i32 noundef %227, i32 noundef 1, double noundef %232)
%234 = load ptr, ptr %19, align 8
%235 = load ptr, ptr %21, align 8
%236 = load ptr, ptr %20, align 8
%237 = load i32, ptr %8, align 4
%238 = load i32, ptr %14, align 4
%239 = sub nsw i32 %237, %238
%240 = load i32, ptr %9, align 4
%241 = load i32, ptr %14, align 4
%242 = sub nsw i32 %240, %241
%243 = call i32 @mmult(ptr noundef %234, ptr noundef %235, ptr noundef %236, i32 noundef %239, i32 noundef 1, i32 noundef %242)
%244 = load i32, ptr %14, align 4
store i32 %244, ptr %13, align 4
br label %245
245: ; preds = %286, %213
%246 = load i32, ptr %13, align 4
%247 = load i32, ptr %8, align 4
%248 = icmp slt i32 %246, %247
br i1 %248, label %249, label %289
249: ; preds = %245
%250 = load i32, ptr %13, align 4
%251 = load i32, ptr %9, align 4
%252 = mul nsw i32 %250, %251
store i32 %252, ptr %16, align 4
%253 = load i32, ptr %14, align 4
store i32 %253, ptr %15, align 4
br label %254
254: ; preds = %282, %249
%255 = load i32, ptr %15, align 4
%256 = load i32, ptr %9, align 4
%257 = icmp slt i32 %255, %256
br i1 %257, label %258, label %285
258: ; preds = %254
%259 = load ptr, ptr %20, align 8
%260 = load i32, ptr %13, align 4
%261 = load i32, ptr %14, align 4
%262 = sub nsw i32 %260, %261
%263 = load i32, ptr %9, align 4
%264 = load i32, ptr %14, align 4
%265 = sub nsw i32 %263, %264
%266 = mul nsw i32 %262, %265
%267 = load i32, ptr %15, align 4
%268 = add nsw i32 %266, %267
%269 = load i32, ptr %14, align 4
%270 = sub nsw i32 %268, %269
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds double, ptr %259, i64 %271
%273 = load double, ptr %272, align 8
%274 = load ptr, ptr %11, align 8
%275 = load i32, ptr %16, align 4
%276 = load i32, ptr %15, align 4
%277 = add nsw i32 %275, %276
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds double, ptr %274, i64 %278
%280 = load double, ptr %279, align 8
%281 = fsub double %280, %273
store double %281, ptr %279, align 8
br label %282
282: ; preds = %258
%283 = load i32, ptr %15, align 4
%284 = add nsw i32 %283, 1
store i32 %284, ptr %15, align 4
br label %254, !llvm.loop !14
285: ; preds = %254
br label %286
286: ; preds = %285
%287 = load i32, ptr %13, align 4
%288 = add nsw i32 %287, 1
store i32 %288, ptr %13, align 4
br label %245, !llvm.loop !15
289: ; preds = %245
br label %290
290: ; preds = %289
%291 = load i32, ptr %14, align 4
%292 = add nsw i32 %291, -1
store i32 %292, ptr %14, align 4
br label %139, !llvm.loop !16
293: ; preds = %139
%294 = load ptr, ptr %18, align 8
%295 = call i32 @free(ptr noundef %294)
%296 = load ptr, ptr %19, align 8
%297 = call i32 @free(ptr noundef %296)
%298 = load ptr, ptr %20, align 8
%299 = call i32 @free(ptr noundef %298)
%300 = load ptr, ptr %21, align 8
%301 = call i32 @free(ptr noundef %300)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @mmult(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale(ptr noundef, i32 noundef, i32 noundef, double 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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ssad_se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getQR_house(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%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 ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 8, %23
%25 = trunc i64 %24 to i32
%26 = call i64 @malloc(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %18, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 8, %29
%31 = trunc i64 %30 to i32
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %19, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = mul i64 8, %35
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %36, %38
%40 = trunc i64 %39 to i32
%41 = call i64 @malloc(i32 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %20, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 8, %44
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = mul i64 %45, %47
%49 = trunc i64 %48 to i32
%50 = call i64 @malloc(i32 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %21, align 8
store i32 0, ptr %13, align 4
%52 = load i32, ptr %13, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph2, label %101
.lr.ph2: ; preds = %6
br label %55
55: ; preds = %.lr.ph2, %95
%56 = load i32, ptr %13, align 4
%57 = load i32, ptr %9, align 4
%58 = mul nsw i32 %56, %57
store i32 %58, ptr %16, align 4
store i32 0, ptr %14, align 4
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph, label %94
.lr.ph: ; preds = %55
br label %62
62: ; preds = %.lr.ph, %88
%63 = load i32, ptr %13, align 4
%64 = load i32, ptr %14, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %66, label %73
66: ; preds = %62
%67 = load ptr, ptr %12, align 8
%68 = load i32, ptr %16, align 4
%69 = load i32, ptr %14, align 4
%70 = add nsw i32 %68, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %67, i64 %71
store double 0.000000e+00, ptr %72, align 8
br label %87
73: ; preds = %62
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %16, align 4
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %75, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %74, i64 %78
%80 = load double, ptr %79, align 8
%81 = load ptr, ptr %12, align 8
%82 = load i32, ptr %16, align 4
%83 = load i32, ptr %14, align 4
%84 = add nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %81, i64 %85
store double %80, ptr %86, align 8
br label %87
87: ; preds = %73, %66
br label %88
88: ; preds = %87
%89 = load i32, ptr %14, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %14, align 4
%91 = load i32, ptr %14, align 4
%92 = load i32, ptr %9, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %62, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %88
br label %94
94: ; preds = %._crit_edge, %55
br label %95
95: ; preds = %94
%96 = load i32, ptr %13, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %13, align 4
%98 = load i32, ptr %13, align 4
%99 = load i32, ptr %9, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %101
101: ; preds = %._crit_edge3, %6
store i32 0, ptr %13, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %8, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %.lr.ph8, label %144
.lr.ph8: ; preds = %101
br label %105
105: ; preds = %.lr.ph8, %138
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %9, align 4
%108 = mul nsw i32 %106, %107
store i32 %108, ptr %16, align 4
store i32 0, ptr %14, align 4
%109 = load i32, ptr %14, align 4
%110 = load i32, ptr %9, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %.lr.ph5, label %137
.lr.ph5: ; preds = %105
br label %112
112: ; preds = %.lr.ph5, %131
%113 = load i32, ptr %13, align 4
%114 = load i32, ptr %14, align 4
%115 = icmp eq i32 %113, %114
br i1 %115, label %116, label %123
116: ; preds = %112
%117 = load ptr, ptr %11, align 8
%118 = load i32, ptr %16, align 4
%119 = load i32, ptr %14, align 4
%120 = add nsw i32 %118, %119
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %117, i64 %121
store double 1.000000e+00, ptr %122, align 8
br label %130
123: ; preds = %112
%124 = load ptr, ptr %11, align 8
%125 = load i32, ptr %16, align 4
%126 = load i32, ptr %14, align 4
%127 = add nsw i32 %125, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %124, i64 %128
store double 0.000000e+00, ptr %129, align 8
br label %130
130: ; preds = %123, %116
br label %131
131: ; preds = %130
%132 = load i32, ptr %14, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %14, align 4
%134 = load i32, ptr %14, align 4
%135 = load i32, ptr %9, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %112, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %131
br label %137
137: ; preds = %._crit_edge6, %105
br label %138
138: ; preds = %137
%139 = load i32, ptr %13, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %13, align 4
%141 = load i32, ptr %13, align 4
%142 = load i32, ptr %8, align 4
%143 = icmp slt i32 %141, %142
br i1 %143, label %105, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %138
br label %144
144: ; preds = %._crit_edge9, %101
%145 = load i32, ptr %9, align 4
%146 = sub nsw i32 %145, 1
store i32 %146, ptr %14, align 4
%147 = load i32, ptr %14, align 4
%148 = icmp sge i32 %147, 0
br i1 %148, label %.lr.ph26, label %312
.lr.ph26: ; preds = %144
br label %149
149: ; preds = %.lr.ph26, %307
%150 = load ptr, ptr %19, align 8
%151 = getelementptr inbounds double, ptr %150, i64 0
store double 1.000000e+00, ptr %151, align 8
%152 = load i32, ptr %14, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %13, align 4
%154 = load i32, ptr %13, align 4
%155 = load i32, ptr %8, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %.lr.ph11, label %179
.lr.ph11: ; preds = %149
br label %157
157: ; preds = %.lr.ph11, %173
%158 = load ptr, ptr %7, align 8
%159 = load i32, ptr %13, align 4
%160 = load i32, ptr %9, align 4
%161 = mul nsw i32 %159, %160
%162 = load i32, ptr %14, align 4
%163 = add nsw i32 %161, %162
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds double, ptr %158, i64 %164
%166 = load double, ptr %165, align 8
%167 = load ptr, ptr %19, align 8
%168 = load i32, ptr %13, align 4
%169 = load i32, ptr %14, align 4
%170 = sub nsw i32 %168, %169
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds double, ptr %167, i64 %171
store double %166, ptr %172, align 8
br label %173
173: ; preds = %157
%174 = load i32, ptr %13, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %13, align 4
%176 = load i32, ptr %13, align 4
%177 = load i32, ptr %8, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %157, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %173
br label %179
179: ; preds = %._crit_edge12, %149
%180 = load i32, ptr %14, align 4
store i32 %180, ptr %13, align 4
%181 = load i32, ptr %13, align 4
%182 = load i32, ptr %8, align 4
%183 = icmp slt i32 %181, %182
br i1 %183, label %.lr.ph17, label %226
.lr.ph17: ; preds = %179
br label %184
184: ; preds = %.lr.ph17, %220
%185 = load i32, ptr %13, align 4
%186 = load i32, ptr %9, align 4
%187 = mul nsw i32 %185, %186
store i32 %187, ptr %16, align 4
store i32 0, ptr %17, align 4
%188 = load i32, ptr %14, align 4
store i32 %188, ptr %15, align 4
%189 = load i32, ptr %15, align 4
%190 = load i32, ptr %9, align 4
%191 = icmp slt i32 %189, %190
br i1 %191, label %.lr.ph14, label %219
.lr.ph14: ; preds = %184
br label %192
192: ; preds = %.lr.ph14, %213
%193 = load ptr, ptr %11, align 8
%194 = load i32, ptr %15, align 4
%195 = load i32, ptr %16, align 4
%196 = add nsw i32 %194, %195
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %193, i64 %197
%199 = load double, ptr %198, align 8
%200 = load ptr, ptr %20, align 8
%201 = load i32, ptr %17, align 4
%202 = load i32, ptr %13, align 4
%203 = add nsw i32 %201, %202
%204 = load i32, ptr %14, align 4
%205 = sub nsw i32 %203, %204
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %200, i64 %206
store double %199, ptr %207, align 8
%208 = load i32, ptr %8, align 4
%209 = load i32, ptr %14, align 4
%210 = sub nsw i32 %208, %209
%211 = load i32, ptr %17, align 4
%212 = add nsw i32 %211, %210
store i32 %212, ptr %17, align 4
br label %213
213: ; preds = %192
%214 = load i32, ptr %15, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %15, align 4
%216 = load i32, ptr %15, align 4
%217 = load i32, ptr %9, align 4
%218 = icmp slt i32 %216, %217
br i1 %218, label %192, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %213
br label %219
219: ; preds = %._crit_edge15, %184
br label %220
220: ; preds = %219
%221 = load i32, ptr %13, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %13, align 4
%223 = load i32, ptr %13, align 4
%224 = load i32, ptr %8, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %184, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %220
br label %226
226: ; preds = %._crit_edge18, %179
%227 = load ptr, ptr %20, align 8
%228 = load ptr, ptr %19, align 8
%229 = load ptr, ptr %21, align 8
%230 = load i32, ptr %9, align 4
%231 = load i32, ptr %14, align 4
%232 = sub nsw i32 %230, %231
%233 = load i32, ptr %8, align 4
%234 = load i32, ptr %14, align 4
%235 = sub nsw i32 %233, %234
%236 = call i32 @mmult(ptr noundef %227, ptr noundef %228, ptr noundef %229, i32 noundef %232, i32 noundef %235, i32 noundef 1)
%237 = load ptr, ptr %21, align 8
%238 = load i32, ptr %9, align 4
%239 = load i32, ptr %14, align 4
%240 = sub nsw i32 %238, %239
%241 = load ptr, ptr %10, align 8
%242 = load i32, ptr %14, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds double, ptr %241, i64 %243
%245 = load double, ptr %244, align 8
%246 = call i32 @scale(ptr noundef %237, i32 noundef %240, i32 noundef 1, double noundef %245)
%247 = load ptr, ptr %19, align 8
%248 = load ptr, ptr %21, align 8
%249 = load ptr, ptr %20, align 8
%250 = load i32, ptr %8, align 4
%251 = load i32, ptr %14, align 4
%252 = sub nsw i32 %250, %251
%253 = load i32, ptr %9, align 4
%254 = load i32, ptr %14, align 4
%255 = sub nsw i32 %253, %254
%256 = call i32 @mmult(ptr noundef %247, ptr noundef %248, ptr noundef %249, i32 noundef %252, i32 noundef 1, i32 noundef %255)
%257 = load i32, ptr %14, align 4
store i32 %257, ptr %13, align 4
%258 = load i32, ptr %13, align 4
%259 = load i32, ptr %8, align 4
%260 = icmp slt i32 %258, %259
br i1 %260, label %.lr.ph23, label %306
.lr.ph23: ; preds = %226
br label %261
261: ; preds = %.lr.ph23, %300
%262 = load i32, ptr %13, align 4
%263 = load i32, ptr %9, align 4
%264 = mul nsw i32 %262, %263
store i32 %264, ptr %16, align 4
%265 = load i32, ptr %14, align 4
store i32 %265, ptr %15, align 4
%266 = load i32, ptr %15, align 4
%267 = load i32, ptr %9, align 4
%268 = icmp slt i32 %266, %267
br i1 %268, label %.lr.ph20, label %299
.lr.ph20: ; preds = %261
br label %269
269: ; preds = %.lr.ph20, %293
%270 = load ptr, ptr %20, align 8
%271 = load i32, ptr %13, align 4
%272 = load i32, ptr %14, align 4
%273 = sub nsw i32 %271, %272
%274 = load i32, ptr %9, align 4
%275 = load i32, ptr %14, align 4
%276 = sub nsw i32 %274, %275
%277 = mul nsw i32 %273, %276
%278 = load i32, ptr %15, align 4
%279 = add nsw i32 %277, %278
%280 = load i32, ptr %14, align 4
%281 = sub nsw i32 %279, %280
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds double, ptr %270, i64 %282
%284 = load double, ptr %283, align 8
%285 = load ptr, ptr %11, align 8
%286 = load i32, ptr %16, align 4
%287 = load i32, ptr %15, align 4
%288 = add nsw i32 %286, %287
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, ptr %285, i64 %289
%291 = load double, ptr %290, align 8
%292 = fsub double %291, %284
store double %292, ptr %290, align 8
br label %293
293: ; preds = %269
%294 = load i32, ptr %15, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %15, align 4
%296 = load i32, ptr %15, align 4
%297 = load i32, ptr %9, align 4
%298 = icmp slt i32 %296, %297
br i1 %298, label %269, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %293
br label %299
299: ; preds = %._crit_edge21, %261
br label %300
300: ; preds = %299
%301 = load i32, ptr %13, align 4
%302 = add nsw i32 %301, 1
store i32 %302, ptr %13, align 4
%303 = load i32, ptr %13, align 4
%304 = load i32, ptr %8, align 4
%305 = icmp slt i32 %303, %304
br i1 %305, label %261, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %300
br label %306
306: ; preds = %._crit_edge24, %226
br label %307
307: ; preds = %306
%308 = load i32, ptr %14, align 4
%309 = add nsw i32 %308, -1
store i32 %309, ptr %14, align 4
%310 = load i32, ptr %14, align 4
%311 = icmp sge i32 %310, 0
br i1 %311, label %149, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %307
br label %312
312: ; preds = %._crit_edge27, %144
%313 = load ptr, ptr %18, align 8
%314 = call i32 @free(ptr noundef %313)
%315 = load ptr, ptr %19, align 8
%316 = call i32 @free(ptr noundef %315)
%317 = load ptr, ptr %20, align 8
%318 = call i32 @free(ptr noundef %317)
%319 = load ptr, ptr %21, align 8
%320 = call i32 @free(ptr noundef %319)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @mmult(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale(ptr noundef, i32 noundef, i32 noundef, double 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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
|
; ModuleID = '/tmp/tmp8qarxoox.c'
source_filename = "/tmp/tmp8qarxoox.c"
target datalayout = "e-m:e-p270: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"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"e\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"f\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"g\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"h\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"j\00", align 1
@.str.10 = private unnamed_addr constant [20 x i8] c"\0Atask selected: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 160)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %19
9: ; preds = %6
%10 = call i64 @malloc(i32 noundef 16)
%11 = inttoptr i64 %10 to ptr
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
store ptr %11, ptr %15, align 8
br label %16
16: ; preds = %9
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str)
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.1)
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 2
%30 = load ptr, ptr %29, align 8
%31 = call i32 @strcpy(ptr noundef %30, ptr noundef @.str.2)
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 3
%34 = load ptr, ptr %33, align 8
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.3)
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 4
%38 = load ptr, ptr %37, align 8
%39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.4)
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 5
%42 = load ptr, ptr %41, align 8
%43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.5)
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 6
%46 = load ptr, ptr %45, align 8
%47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str.6)
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 7
%50 = load ptr, ptr %49, align 8
%51 = call i32 @strcpy(ptr noundef %50, ptr noundef @.str.7)
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 8
%54 = load ptr, ptr %53, align 8
%55 = call i32 @strcpy(ptr noundef %54, ptr noundef @.str.8)
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 9
%58 = load ptr, ptr %57, align 8
%59 = call i32 @strcpy(ptr noundef %58, ptr noundef @.str.9)
%60 = load ptr, ptr %3, align 8
%61 = call ptr @select_task(ptr noundef %60, i32 noundef 10, i32 noundef 8)
%62 = call i32 @printf(ptr noundef @.str.10, ptr noundef %61)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @select_task(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/tmp8qarxoox.c"
target datalayout = "e-m:e-p270: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"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"e\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"f\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"g\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"h\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"j\00", align 1
@.str.10 = private unnamed_addr constant [20 x i8] c"\0Atask selected: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 160)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %15
%9 = call i64 @malloc(i32 noundef 16)
%10 = inttoptr i64 %9 to ptr
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
store ptr %10, ptr %14, align 8
br label %15
15: ; preds = %8
%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, 10
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str)
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str.1)
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strcpy(ptr noundef %31, ptr noundef @.str.2)
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 3
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.3)
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 4
%39 = load ptr, ptr %38, align 8
%40 = call i32 @strcpy(ptr noundef %39, ptr noundef @.str.4)
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 5
%43 = load ptr, ptr %42, align 8
%44 = call i32 @strcpy(ptr noundef %43, ptr noundef @.str.5)
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 6
%47 = load ptr, ptr %46, align 8
%48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str.6)
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 7
%51 = load ptr, ptr %50, align 8
%52 = call i32 @strcpy(ptr noundef %51, ptr noundef @.str.7)
%53 = load ptr, ptr %3, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 8
%55 = load ptr, ptr %54, align 8
%56 = call i32 @strcpy(ptr noundef %55, ptr noundef @.str.8)
%57 = load ptr, ptr %3, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 9
%59 = load ptr, ptr %58, align 8
%60 = call i32 @strcpy(ptr noundef %59, ptr noundef @.str.9)
%61 = load ptr, ptr %3, align 8
%62 = call ptr @select_task(ptr noundef %61, i32 noundef 10, i32 noundef 8)
%63 = call i32 @printf(ptr noundef @.str.10, ptr noundef %62)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @select_task(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/tmptm6r69gj.c'
source_filename = "/tmp/tmptm6r69gj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Color3ub(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = load i8, ptr %4, align 1
%8 = load i8, ptr %5, align 1
%9 = load i8, ptr %6, align 1
%10 = call i32 @glColor3ub(i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9)
ret void
}
declare i32 @glColor3ub(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptm6r69gj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Color3ub(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = load i8, ptr %4, align 1
%8 = load i8, ptr %5, align 1
%9 = load i8, ptr %6, align 1
%10 = call i32 @glColor3ub(i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9)
ret void
}
declare i32 @glColor3ub(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv8jxehhg.c'
source_filename = "/tmp/tmpv8jxehhg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Press Enter\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"getchar() != EOF = %d\0A\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i64 (...) @getchar()
%3 = load i64, ptr @EOF, align 8
%4 = icmp ne i64 %2, %3
%5 = zext i1 %4 to i32
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv8jxehhg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Press Enter\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"getchar() != EOF = %d\0A\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i64 (...) @getchar()
%3 = load i64, ptr @EOF, align 8
%4 = icmp ne i64 %2, %3
%5 = zext i1 %4 to i32
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkpuukekc.c'
source_filename = "/tmp/tmpkpuukekc.c"
target datalayout = "e-m:e-p270: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"RTC: \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"found at 0x%04x (battery \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"OK)\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"invalid)\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"not found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__kern_rtc_init() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
store ptr inttoptr (i64 4128 to ptr), ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 14
%7 = load i8, ptr %6, align 1
%8 = zext i8 %7 to i32
%9 = or i32 %8, 15
%10 = trunc i32 %9 to i8
store i8 %10, ptr %1, align 1
store i8 86, ptr %2, align 1
%11 = load i8, ptr %2, align 1
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 15
store i8 %11, ptr %13, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 15
%16 = load i8, ptr %15, align 1
store i8 %16, ptr %2, align 1
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 13
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = and i32 %20, 1
%22 = trunc i32 %21 to i8
store i8 %22, ptr %3, align 1
%23 = call i32 (ptr, ...) @kprintf(ptr noundef @.str)
%24 = load i8, ptr %1, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 15
br i1 %26, label %27, label %43
27: ; preds = %0
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %43
31: ; preds = %27
%32 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.1, i32 noundef 4128)
%33 = load i8, ptr %3, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.2)
br label %39
37: ; preds = %31
%38 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.3)
br label %39
39: ; preds = %37, %35
%40 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.4)
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 14
store i8 6, ptr %42, align 1
br label %45
43: ; preds = %27, %0
%44 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.5)
br label %45
45: ; preds = %43, %39
ret void
}
declare i32 @kprintf(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/tmpkpuukekc.c"
target datalayout = "e-m:e-p270: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"RTC: \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"found at 0x%04x (battery \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"OK)\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"invalid)\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"not found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__kern_rtc_init() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
store ptr inttoptr (i64 4128 to ptr), ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 14
%7 = load i8, ptr %6, align 1
%8 = zext i8 %7 to i32
%9 = or i32 %8, 15
%10 = trunc i32 %9 to i8
store i8 %10, ptr %1, align 1
store i8 86, ptr %2, align 1
%11 = load i8, ptr %2, align 1
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 15
store i8 %11, ptr %13, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 15
%16 = load i8, ptr %15, align 1
store i8 %16, ptr %2, align 1
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 13
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = and i32 %20, 1
%22 = trunc i32 %21 to i8
store i8 %22, ptr %3, align 1
%23 = call i32 (ptr, ...) @kprintf(ptr noundef @.str)
%24 = load i8, ptr %1, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 15
br i1 %26, label %27, label %43
27: ; preds = %0
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %43
31: ; preds = %27
%32 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.1, i32 noundef 4128)
%33 = load i8, ptr %3, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.2)
br label %39
37: ; preds = %31
%38 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.3)
br label %39
39: ; preds = %37, %35
%40 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.4)
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 14
store i8 6, ptr %42, align 1
br label %45
43: ; preds = %27, %0
%44 = call i32 (ptr, ...) @kprintf(ptr noundef @.str.5)
br label %45
45: ; preds = %43, %39
ret void
}
declare i32 @kprintf(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/tmpw8eth4hs.c'
source_filename = "/tmp/tmpw8eth4hs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Wgetpass(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca [2 x i8], align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 2, i1 false)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 1
store i8 0, ptr %8, align 1
br label %9
9: ; preds = %21, %1
%10 = call i32 (...) @getchar()
store i32 %10, ptr %5, align 4
%11 = icmp ne i32 %10, 10
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = trunc i32 %13 to i8
%15 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
store i8 %14, ptr %15, align 1
%16 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
%18 = sext i32 %17 to i64
%19 = icmp ugt i64 %18, 1023
br i1 %19, label %20, label %21
20: ; preds = %12
br label %25
21: ; preds = %12
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @strcat(ptr noundef %22, ptr noundef %23)
br label %9, !llvm.loop !6
25: ; preds = %20, %9
%26 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%27 = call ptr @strdup(ptr noundef %26)
ret ptr %27
}
; 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, ptr noundef) #2
declare i32 @getchar(...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @strdup(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/tmpw8eth4hs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Wgetpass(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca [2 x i8], align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 2, i1 false)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 1
store i8 0, ptr %8, align 1
%9 = call i32 (...) @getchar()
store i32 %9, ptr %5, align 4
%10 = icmp ne i32 %9, 10
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %20
%12 = load i32, ptr %5, align 4
%13 = trunc i32 %12 to i8
%14 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
store i8 %13, ptr %14, align 1
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = sext i32 %16 to i64
%18 = icmp ugt i64 %17, 1023
br i1 %18, label %19, label %20
19: ; preds = %11
br label %26
20: ; preds = %11
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
%24 = call i32 (...) @getchar()
store i32 %24, ptr %5, align 4
%25 = icmp ne i32 %24, 10
br i1 %25, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %26
26: ; preds = %.loopexit, %19
%27 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%28 = call ptr @strdup(ptr noundef %27)
ret ptr %28
}
; 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, ptr noundef) #2
declare i32 @getchar(...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @strdup(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/tmpo3b4yqoy.c'
source_filename = "/tmp/tmpo3b4yqoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGRTMIN = 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/tmpo3b4yqoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGRTMIN = 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/tmp92gx0quy.c'
source_filename = "/tmp/tmp92gx0quy.c"
target datalayout = "e-m:e-p270: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"%f\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%.1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load float, ptr %2, align 4
%9 = load float, ptr %3, align 4
%10 = fcmp ogt float %8, %9
br i1 %10, label %11, label %18
11: ; preds = %0
%12 = load float, ptr %2, align 4
%13 = load float, ptr %4, align 4
%14 = fcmp ogt float %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load float, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, float noundef %16)
br label %33
18: ; preds = %11, %0
%19 = load float, ptr %3, align 4
%20 = load float, ptr %2, align 4
%21 = fcmp ogt float %19, %20
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = load float, ptr %3, align 4
%24 = load float, ptr %4, align 4
%25 = fcmp ogt float %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load float, ptr %3, align 4
%28 = call i32 @printf(ptr noundef @.str.1, float noundef %27)
br label %32
29: ; preds = %22, %18
%30 = load float, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str.1, float noundef %30)
br label %32
32: ; preds = %29, %26
br label %33
33: ; preds = %32, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp92gx0quy.c"
target datalayout = "e-m:e-p270: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"%f\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%.1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load float, ptr %2, align 4
%9 = load float, ptr %3, align 4
%10 = fcmp ogt float %8, %9
br i1 %10, label %11, label %18
11: ; preds = %0
%12 = load float, ptr %2, align 4
%13 = load float, ptr %4, align 4
%14 = fcmp ogt float %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load float, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, float noundef %16)
br label %33
18: ; preds = %11, %0
%19 = load float, ptr %3, align 4
%20 = load float, ptr %2, align 4
%21 = fcmp ogt float %19, %20
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = load float, ptr %3, align 4
%24 = load float, ptr %4, align 4
%25 = fcmp ogt float %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load float, ptr %3, align 4
%28 = call i32 @printf(ptr noundef @.str.1, float noundef %27)
br label %32
29: ; preds = %22, %18
%30 = load float, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str.1, float noundef %30)
br label %32
32: ; preds = %29, %26
br label %33
33: ; preds = %32, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps71roo1v.c'
source_filename = "/tmp/tmps71roo1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RKMath_Sqrt(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call float @InvSqrt(float noundef %4)
%6 = fmul float %3, %5
ret float %6
}
declare float @InvSqrt(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/tmps71roo1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RKMath_Sqrt(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call float @InvSqrt(float noundef %4)
%6 = fmul float %3, %5
ret float %6
}
declare float @InvSqrt(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/tmpg7pp65oe.c'
source_filename = "/tmp/tmpg7pp65oe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@spofa.j = internal global i64 0, align 8
@spofa.jm1 = internal global i64 0, align 8
@spofa.k = internal global i64 0, align 8
@spofa.t = internal global double 0.000000e+00, align 8
@spofa.s = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @spofa(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 1, ptr @spofa.j, align 8
br label %9
9: ; preds = %105, %4
%10 = load i64, ptr @spofa.j, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp sle i64 %10, %11
br i1 %12, label %13, label %108
13: ; preds = %9
%14 = load i64, ptr @spofa.j, align 8
%15 = load ptr, ptr %8, align 8
store i64 %14, ptr %15, align 8
store double 0.000000e+00, ptr @spofa.s, align 8
%16 = load i64, ptr @spofa.j, align 8
%17 = sub nsw i64 %16, 1
store i64 %17, ptr @spofa.jm1, align 8
%18 = load i64, ptr @spofa.jm1, align 8
%19 = icmp slt i64 %18, 1
br i1 %19, label %20, label %21
20: ; preds = %13
br label %77
21: ; preds = %13
store i64 0, ptr @spofa.k, align 8
br label %22
22: ; preds = %73, %21
%23 = load i64, ptr @spofa.k, align 8
%24 = load i64, ptr @spofa.jm1, align 8
%25 = icmp slt i64 %23, %24
br i1 %25, label %26, label %76
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = load i64, ptr @spofa.k, align 8
%29 = getelementptr inbounds double, ptr %27, i64 %28
%30 = load i64, ptr @spofa.j, align 8
%31 = sub nsw i64 %30, 1
%32 = load i64, ptr %6, align 8
%33 = mul nsw i64 %31, %32
%34 = getelementptr inbounds double, ptr %29, i64 %33
%35 = load double, ptr %34, align 8
%36 = load i64, ptr @spofa.k, align 8
%37 = load ptr, ptr %5, align 8
%38 = load i64, ptr @spofa.k, align 8
%39 = load i64, ptr %6, align 8
%40 = mul nsw i64 %38, %39
%41 = getelementptr inbounds double, ptr %37, i64 %40
%42 = load ptr, ptr %5, align 8
%43 = load i64, ptr @spofa.j, align 8
%44 = sub nsw i64 %43, 1
%45 = load i64, ptr %6, align 8
%46 = mul nsw i64 %44, %45
%47 = getelementptr inbounds double, ptr %42, i64 %46
%48 = call double @sdot(i64 noundef %36, ptr noundef %41, i64 noundef 1, ptr noundef %47, i64 noundef 1)
%49 = fsub double %35, %48
store double %49, ptr @spofa.t, align 8
%50 = load ptr, ptr %5, align 8
%51 = load i64, ptr @spofa.k, align 8
%52 = getelementptr inbounds double, ptr %50, i64 %51
%53 = load i64, ptr @spofa.k, align 8
%54 = load i64, ptr %6, align 8
%55 = mul nsw i64 %53, %54
%56 = getelementptr inbounds double, ptr %52, i64 %55
%57 = load double, ptr %56, align 8
%58 = load double, ptr @spofa.t, align 8
%59 = fdiv double %58, %57
store double %59, ptr @spofa.t, align 8
%60 = load double, ptr @spofa.t, align 8
%61 = load ptr, ptr %5, align 8
%62 = load i64, ptr @spofa.k, align 8
%63 = getelementptr inbounds double, ptr %61, i64 %62
%64 = load i64, ptr @spofa.j, align 8
%65 = sub nsw i64 %64, 1
%66 = load i64, ptr %6, align 8
%67 = mul nsw i64 %65, %66
%68 = getelementptr inbounds double, ptr %63, i64 %67
store double %60, ptr %68, align 8
%69 = load double, ptr @spofa.t, align 8
%70 = load double, ptr @spofa.t, align 8
%71 = load double, ptr @spofa.s, align 8
%72 = call double @llvm.fmuladd.f64(double %69, double %70, double %71)
store double %72, ptr @spofa.s, align 8
br label %73
73: ; preds = %26
%74 = load i64, ptr @spofa.k, align 8
%75 = add nsw i64 %74, 1
store i64 %75, ptr @spofa.k, align 8
br label %22, !llvm.loop !6
76: ; preds = %22
br label %77
77: ; preds = %76, %20
%78 = load ptr, ptr %5, align 8
%79 = load i64, ptr @spofa.j, align 8
%80 = getelementptr inbounds double, ptr %78, i64 %79
%81 = getelementptr inbounds double, ptr %80, i64 -1
%82 = load i64, ptr @spofa.j, align 8
%83 = sub nsw i64 %82, 1
%84 = load i64, ptr %6, align 8
%85 = mul nsw i64 %83, %84
%86 = getelementptr inbounds double, ptr %81, i64 %85
%87 = load double, ptr %86, align 8
%88 = load double, ptr @spofa.s, align 8
%89 = fsub double %87, %88
store double %89, ptr @spofa.s, align 8
%90 = load double, ptr @spofa.s, align 8
%91 = fcmp ole double %90, 0.000000e+00
br i1 %91, label %92, label %93
92: ; preds = %77
br label %110
93: ; preds = %77
%94 = load double, ptr @spofa.s, align 8
%95 = call double @sqrt(double noundef %94) #4
%96 = load ptr, ptr %5, align 8
%97 = load i64, ptr @spofa.j, align 8
%98 = getelementptr inbounds double, ptr %96, i64 %97
%99 = getelementptr inbounds double, ptr %98, i64 -1
%100 = load i64, ptr @spofa.j, align 8
%101 = sub nsw i64 %100, 1
%102 = load i64, ptr %6, align 8
%103 = mul nsw i64 %101, %102
%104 = getelementptr inbounds double, ptr %99, i64 %103
store double %95, ptr %104, align 8
br label %105
105: ; preds = %93
%106 = load i64, ptr @spofa.j, align 8
%107 = add nsw i64 %106, 1
store i64 %107, ptr @spofa.j, align 8
br label %9, !llvm.loop !8
108: ; preds = %9
%109 = load ptr, ptr %8, align 8
store i64 0, ptr %109, align 8
br label %110
110: ; preds = %108, %92
ret void
}
declare double @sdot(i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7pp65oe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@spofa.j = internal global i64 0, align 8
@spofa.jm1 = internal global i64 0, align 8
@spofa.k = internal global i64 0, align 8
@spofa.t = internal global double 0.000000e+00, align 8
@spofa.s = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @spofa(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 1, ptr @spofa.j, align 8
%9 = load i64, ptr @spofa.j, align 8
%10 = load i64, ptr %7, align 8
%11 = icmp sle i64 %9, %10
br i1 %11, label %.lr.ph2, label %112
.lr.ph2: ; preds = %4
br label %12
12: ; preds = %.lr.ph2, %106
%13 = load i64, ptr @spofa.j, align 8
%14 = load ptr, ptr %8, align 8
store i64 %13, ptr %14, align 8
store double 0.000000e+00, ptr @spofa.s, align 8
%15 = load i64, ptr @spofa.j, align 8
%16 = sub nsw i64 %15, 1
store i64 %16, ptr @spofa.jm1, align 8
%17 = load i64, ptr @spofa.jm1, align 8
%18 = icmp slt i64 %17, 1
br i1 %18, label %19, label %20
19: ; preds = %12
br label %78
20: ; preds = %12
store i64 0, ptr @spofa.k, align 8
%21 = load i64, ptr @spofa.k, align 8
%22 = load i64, ptr @spofa.jm1, align 8
%23 = icmp slt i64 %21, %22
br i1 %23, label %.lr.ph, label %77
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %71
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr @spofa.k, align 8
%27 = getelementptr inbounds double, ptr %25, i64 %26
%28 = load i64, ptr @spofa.j, align 8
%29 = sub nsw i64 %28, 1
%30 = load i64, ptr %6, align 8
%31 = mul nsw i64 %29, %30
%32 = getelementptr inbounds double, ptr %27, i64 %31
%33 = load double, ptr %32, align 8
%34 = load i64, ptr @spofa.k, align 8
%35 = load ptr, ptr %5, align 8
%36 = load i64, ptr @spofa.k, align 8
%37 = load i64, ptr %6, align 8
%38 = mul nsw i64 %36, %37
%39 = getelementptr inbounds double, ptr %35, i64 %38
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr @spofa.j, align 8
%42 = sub nsw i64 %41, 1
%43 = load i64, ptr %6, align 8
%44 = mul nsw i64 %42, %43
%45 = getelementptr inbounds double, ptr %40, i64 %44
%46 = call double @sdot(i64 noundef %34, ptr noundef %39, i64 noundef 1, ptr noundef %45, i64 noundef 1)
%47 = fsub double %33, %46
store double %47, ptr @spofa.t, align 8
%48 = load ptr, ptr %5, align 8
%49 = load i64, ptr @spofa.k, align 8
%50 = getelementptr inbounds double, ptr %48, i64 %49
%51 = load i64, ptr @spofa.k, align 8
%52 = load i64, ptr %6, align 8
%53 = mul nsw i64 %51, %52
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = load double, ptr @spofa.t, align 8
%57 = fdiv double %56, %55
store double %57, ptr @spofa.t, align 8
%58 = load double, ptr @spofa.t, align 8
%59 = load ptr, ptr %5, align 8
%60 = load i64, ptr @spofa.k, align 8
%61 = getelementptr inbounds double, ptr %59, i64 %60
%62 = load i64, ptr @spofa.j, align 8
%63 = sub nsw i64 %62, 1
%64 = load i64, ptr %6, align 8
%65 = mul nsw i64 %63, %64
%66 = getelementptr inbounds double, ptr %61, i64 %65
store double %58, ptr %66, align 8
%67 = load double, ptr @spofa.t, align 8
%68 = load double, ptr @spofa.t, align 8
%69 = load double, ptr @spofa.s, align 8
%70 = call double @llvm.fmuladd.f64(double %67, double %68, double %69)
store double %70, ptr @spofa.s, align 8
br label %71
71: ; preds = %24
%72 = load i64, ptr @spofa.k, align 8
%73 = add nsw i64 %72, 1
store i64 %73, ptr @spofa.k, align 8
%74 = load i64, ptr @spofa.k, align 8
%75 = load i64, ptr @spofa.jm1, align 8
%76 = icmp slt i64 %74, %75
br i1 %76, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %20
br label %78
78: ; preds = %77, %19
%79 = load ptr, ptr %5, align 8
%80 = load i64, ptr @spofa.j, align 8
%81 = getelementptr inbounds double, ptr %79, i64 %80
%82 = getelementptr inbounds double, ptr %81, i64 -1
%83 = load i64, ptr @spofa.j, align 8
%84 = sub nsw i64 %83, 1
%85 = load i64, ptr %6, align 8
%86 = mul nsw i64 %84, %85
%87 = getelementptr inbounds double, ptr %82, i64 %86
%88 = load double, ptr %87, align 8
%89 = load double, ptr @spofa.s, align 8
%90 = fsub double %88, %89
store double %90, ptr @spofa.s, align 8
%91 = load double, ptr @spofa.s, align 8
%92 = fcmp ole double %91, 0.000000e+00
br i1 %92, label %93, label %94
93: ; preds = %78
br label %114
94: ; preds = %78
%95 = load double, ptr @spofa.s, align 8
%96 = call double @sqrt(double noundef %95) #4
%97 = load ptr, ptr %5, align 8
%98 = load i64, ptr @spofa.j, align 8
%99 = getelementptr inbounds double, ptr %97, i64 %98
%100 = getelementptr inbounds double, ptr %99, i64 -1
%101 = load i64, ptr @spofa.j, align 8
%102 = sub nsw i64 %101, 1
%103 = load i64, ptr %6, align 8
%104 = mul nsw i64 %102, %103
%105 = getelementptr inbounds double, ptr %100, i64 %104
store double %96, ptr %105, align 8
br label %106
106: ; preds = %94
%107 = load i64, ptr @spofa.j, align 8
%108 = add nsw i64 %107, 1
store i64 %108, ptr @spofa.j, align 8
%109 = load i64, ptr @spofa.j, align 8
%110 = load i64, ptr %7, align 8
%111 = icmp sle i64 %109, %110
br i1 %111, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %106
br label %112
112: ; preds = %._crit_edge3, %4
%113 = load ptr, ptr %8, align 8
store i64 0, ptr %113, align 8
br label %114
114: ; preds = %112, %93
ret void
}
declare double @sdot(i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpg8vm30dt.c'
source_filename = "/tmp/tmpg8vm30dt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"rmdir %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_rmdir(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 [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @url_encode(ptr noundef %8, ptr noundef %9, i32 noundef 1024)
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @simple_command(ptr noundef %11, i32 noundef %12, ptr noundef @.str, ptr noundef %13)
ret i32 %14
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(ptr 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/tmpg8vm30dt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"rmdir %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_rmdir(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 [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @url_encode(ptr noundef %8, ptr noundef %9, i32 noundef 1024)
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @simple_command(ptr noundef %11, i32 noundef %12, ptr noundef @.str, ptr noundef %13)
ret i32 %14
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(ptr 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/tmpnoobtm1x.c'
source_filename = "/tmp/tmpnoobtm1x.c"
target datalayout = "e-m:e-p270: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/tmpnoobtm1x.c"
target datalayout = "e-m:e-p270: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/tmpq8iolzh3.c'
source_filename = "/tmp/tmpq8iolzh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printBinary(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 = sub i32 %6, 1
store i32 %7, ptr %5, align 4
br label %8
8: ; preds = %39, %2
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %42
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %5, align 4
%14 = shl i32 1, %13
%15 = and i32 %12, %14
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, i32 1, i32 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = srem i32 %20, 16
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %11
%24 = load i32, ptr %5, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
28: ; preds = %23, %11
%29 = load i32, ptr %5, align 4
%30 = srem i32 %29, 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %32, %28
br label %38
38: ; preds = %37, %26
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %5, align 4
br label %8, !llvm.loop !6
42: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq8iolzh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printBinary(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 = sub i32 %6, 1
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %43
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %38
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = shl i32 1, %12
%14 = and i32 %11, %13
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = srem i32 %19, 16
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %10
%23 = load i32, ptr %5, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
27: ; preds = %22, %10
%28 = load i32, ptr %5, align 4
%29 = srem i32 %28, 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %36
36: ; preds = %34, %31, %27
br label %37
37: ; preds = %36, %25
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp sge i32 %41, 0
br i1 %42, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyb6heqcf.c'
source_filename = "/tmp/tmpyb6heqcf.c"
target datalayout = "e-m:e-p270: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/tmpyb6heqcf.c"
target datalayout = "e-m:e-p270: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/tmpwuaqf_kt.c'
source_filename = "/tmp/tmpwuaqf_kt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpwuaqf_kt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpls308fh2.c'
source_filename = "/tmp/tmpls308fh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%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 i64 %3, ptr %8, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = load i64, ptr %8, align 8
%15 = call i64 @wcscnlen(ptr noundef %12, i32 noundef %13, i64 noundef %14)
store i64 %15, ptr %9, align 8
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = load i64, ptr %8, align 8
%19 = call i64 @wcscnlen(ptr noundef %16, i32 noundef %17, i64 noundef %18)
store i64 %19, ptr %10, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %4
%26 = load i64, ptr %9, align 8
br label %29
27: ; preds = %4
%28 = load i64, ptr %10, align 8
br label %29
29: ; preds = %27, %25
%30 = phi i64 [ %26, %25 ], [ %28, %27 ]
%31 = call i32 @wmemcmp(ptr noundef %20, ptr noundef %21, i64 noundef %30)
store i32 %31, ptr %11, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load i32, ptr %11, align 4
br label %49
36: ; preds = %29
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %10, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %41
40: ; preds = %36
br label %47
41: ; preds = %36
%42 = load i64, ptr %9, align 8
%43 = load i64, ptr %10, align 8
%44 = icmp ult i64 %42, %43
%45 = zext i1 %44 to i64
%46 = select i1 %44, i32 -1, i32 1
br label %47
47: ; preds = %41, %40
%48 = phi i32 [ 0, %40 ], [ %46, %41 ]
br label %49
49: ; preds = %47, %34
%50 = phi i32 [ %35, %34 ], [ %48, %47 ]
ret i32 %50
}
declare i64 @wcscnlen(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @wmemcmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpls308fh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%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 i64 %3, ptr %8, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = load i64, ptr %8, align 8
%15 = call i64 @wcscnlen(ptr noundef %12, i32 noundef %13, i64 noundef %14)
store i64 %15, ptr %9, align 8
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = load i64, ptr %8, align 8
%19 = call i64 @wcscnlen(ptr noundef %16, i32 noundef %17, i64 noundef %18)
store i64 %19, ptr %10, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %4
%26 = load i64, ptr %9, align 8
br label %29
27: ; preds = %4
%28 = load i64, ptr %10, align 8
br label %29
29: ; preds = %27, %25
%30 = phi i64 [ %26, %25 ], [ %28, %27 ]
%31 = call i32 @wmemcmp(ptr noundef %20, ptr noundef %21, i64 noundef %30)
store i32 %31, ptr %11, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load i32, ptr %11, align 4
br label %49
36: ; preds = %29
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %10, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %41
40: ; preds = %36
br label %47
41: ; preds = %36
%42 = load i64, ptr %9, align 8
%43 = load i64, ptr %10, align 8
%44 = icmp ult i64 %42, %43
%45 = zext i1 %44 to i64
%46 = select i1 %44, i32 -1, i32 1
br label %47
47: ; preds = %41, %40
%48 = phi i32 [ 0, %40 ], [ %46, %41 ]
br label %49
49: ; preds = %47, %34
%50 = phi i32 [ %35, %34 ], [ %48, %47 ]
ret i32 %50
}
declare i64 @wcscnlen(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @wmemcmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpklt3ocue.c'
source_filename = "/tmp/tmpklt3ocue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [201 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %48, %2
%9 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 0
%10 = call i64 @scanf(ptr noundef @.str, ptr noundef %9)
%11 = load i64, ptr @EOF, align 8
%12 = icmp ne i64 %10, %11
br i1 %12, label %13, label %51
13: ; preds = %8
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %45, %13
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %48
21: ; preds = %14
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 49
br i1 %27, label %28, label %32
28: ; preds = %21
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %30
store i8 48, ptr %31, align 1
br label %44
32: ; preds = %21
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 48
br i1 %38, label %39, label %43
39: ; preds = %32
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %41
store i8 49, ptr %42, align 1
br label %43
43: ; preds = %39, %32
br label %44
44: ; preds = %43, %28
br label %45
45: ; preds = %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %14, !llvm.loop !6
48: ; preds = %14
%49 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 0
%50 = call i32 @printf(ptr noundef @.str.1, ptr noundef %49)
br label %8, !llvm.loop !8
51: ; preds = %8
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpklt3ocue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [201 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 0
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %.lr.ph2, label %58
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %52
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [201 x i8], ptr %6, i64 0, 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 %52
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %43
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 49
br i1 %25, label %26, label %30
26: ; preds = %19
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %28
store i8 48, ptr %29, align 1
br label %42
30: ; preds = %19
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 48
br i1 %36, label %37, label %41
37: ; preds = %30
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 %39
store i8 49, ptr %40, align 1
br label %41
41: ; preds = %37, %30
br label %42
42: ; preds = %41, %26
br label %43
43: ; preds = %42
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [201 x i8], ptr %6, i64 0, 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 %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %52
52: ; preds = %._crit_edge, %12
%53 = getelementptr inbounds [201 x i8], ptr %6, i64 0, i64 0
%54 = call i32 @printf(ptr noundef @.str.1, ptr noundef %53)
%55 = call i64 @scanf(ptr noundef @.str, ptr noundef %8)
%56 = load i64, ptr @EOF, align 8
%57 = icmp ne i64 %55, %56
br i1 %57, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %2
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpq5_a5np1.c'
source_filename = "/tmp/tmpq5_a5np1.c"
target datalayout = "e-m:e-p270: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"Enter N\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [15 x i8] c"%3s %10s %14s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"x(i)\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"w(i)\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"%3d %14.6e %14.6e\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"\0ACheck value: %15.7e should be: %15.7e\0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"\0AIntegral from orthog: %12.6f\0A\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"Actual value: %12.6f\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%14 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %14, ptr %7, align 8
%15 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %15, ptr %8, align 8
%16 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %16, ptr %9, align 8
%17 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %17, ptr %10, align 8
%18 = call ptr @vector(i32 noundef 1, i32 noundef 128)
store ptr %18, ptr %11, align 8
%19 = call ptr @vector(i32 noundef 1, i32 noundef 127)
store ptr %19, ptr %12, align 8
%20 = call ptr @vector(i32 noundef 1, i32 noundef 127)
store ptr %20, ptr %13, align 8
br label %21
21: ; preds = %187, %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%23 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %3)
%24 = load i64, ptr @EOF, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %21
br label %193
27: ; preds = %21
%28 = load ptr, ptr %12, align 8
%29 = getelementptr inbounds float, ptr %28, i64 1
store float 5.000000e-01, ptr %29, align 4
%30 = load ptr, ptr %13, align 8
%31 = getelementptr inbounds float, ptr %30, i64 1
store float 1.000000e+00, ptr %31, align 4
store i32 2, ptr %2, align 4
br label %32
32: ; preds = %58, %27
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = mul nsw i32 2, %34
%36 = sub nsw i32 %35, 1
%37 = icmp sle i32 %33, %36
br i1 %37, label %38, label %61
38: ; preds = %32
%39 = load ptr, ptr %12, align 8
%40 = load i32, ptr %2, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
store float 5.000000e-01, ptr %42, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 1
%45 = load i32, ptr %2, align 4
%46 = sub nsw i32 %45, 1
%47 = mul nsw i32 %44, %46
%48 = sitofp i32 %47 to double
%49 = fdiv double 1.000000e+00, %48
%50 = fsub double 4.000000e+00, %49
%51 = fmul double 4.000000e+00, %50
%52 = fdiv double 1.000000e+00, %51
%53 = fptrunc double %52 to float
%54 = load ptr, ptr %13, align 8
%55 = load i32, ptr %2, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %54, i64 %56
store float %53, ptr %57, align 4
br label %58
58: ; preds = %38
%59 = load i32, ptr %2, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %2, align 4
br label %32, !llvm.loop !6
61: ; preds = %32
%62 = load ptr, ptr %11, align 8
%63 = getelementptr inbounds float, ptr %62, i64 1
store float 1.000000e+00, ptr %63, align 4
%64 = load ptr, ptr %11, align 8
%65 = getelementptr inbounds float, ptr %64, i64 2
store float -2.500000e-01, ptr %65, align 4
store i32 2, ptr %2, align 4
br label %66
66: ; preds = %103, %61
%67 = load i32, ptr %2, align 4
%68 = load i32, ptr %3, align 4
%69 = mul nsw i32 2, %68
%70 = sub nsw i32 %69, 1
%71 = icmp sle i32 %67, %70
br i1 %71, label %72, label %106
72: ; preds = %66
%73 = load ptr, ptr %11, align 8
%74 = load i32, ptr %2, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, ptr %73, i64 %75
%77 = load float, ptr %76, align 4
%78 = fneg float %77
%79 = load i32, ptr %2, align 4
%80 = sitofp i32 %79 to float
%81 = fmul float %78, %80
%82 = load i32, ptr %2, align 4
%83 = sub nsw i32 %82, 1
%84 = sitofp i32 %83 to float
%85 = fmul float %81, %84
%86 = fpext float %85 to double
%87 = load i32, ptr %2, align 4
%88 = add nsw i32 %87, 1
%89 = sitofp i32 %88 to double
%90 = fmul double 2.000000e+00, %89
%91 = load i32, ptr %2, align 4
%92 = mul nsw i32 2, %91
%93 = sub nsw i32 %92, 1
%94 = sitofp i32 %93 to double
%95 = fmul double %90, %94
%96 = fdiv double %86, %95
%97 = fptrunc double %96 to float
%98 = load ptr, ptr %11, align 8
%99 = load i32, ptr %2, align 4
%100 = add nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds float, ptr %98, i64 %101
store float %97, ptr %102, align 4
br label %103
103: ; preds = %72
%104 = load i32, ptr %2, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %2, align 4
br label %66, !llvm.loop !8
106: ; preds = %66
%107 = load i32, ptr %3, align 4
%108 = load ptr, ptr %11, align 8
%109 = load ptr, ptr %12, align 8
%110 = load ptr, ptr %13, align 8
%111 = load ptr, ptr %7, align 8
%112 = load ptr, ptr %8, align 8
%113 = call i32 @orthog(i32 noundef %107, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112)
store float 1.000000e+00, ptr %4, align 4
%114 = load i32, ptr %3, align 4
%115 = load ptr, ptr %7, align 8
%116 = load ptr, ptr %8, align 8
%117 = load float, ptr %4, align 4
%118 = load ptr, ptr %9, align 8
%119 = load ptr, ptr %10, align 8
%120 = call i32 @gaucof(i32 noundef %114, ptr noundef %115, ptr noundef %116, float noundef %117, ptr noundef %118, ptr noundef %119)
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
store i32 1, ptr %2, align 4
br label %122
122: ; preds = %141, %106
%123 = load i32, ptr %2, align 4
%124 = load i32, ptr %3, align 4
%125 = icmp sle i32 %123, %124
br i1 %125, label %126, label %144
126: ; preds = %122
%127 = load i32, ptr %2, align 4
%128 = load ptr, ptr %9, align 8
%129 = load i32, ptr %2, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds float, ptr %128, i64 %130
%132 = load float, ptr %131, align 4
%133 = fpext float %132 to double
%134 = load ptr, ptr %10, align 8
%135 = load i32, ptr %2, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds float, ptr %134, i64 %136
%138 = load float, ptr %137, align 4
%139 = fpext float %138 to double
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %127, double noundef %133, double noundef %139)
br label %141
141: ; preds = %126
%142 = load i32, ptr %2, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %2, align 4
br label %122, !llvm.loop !9
144: ; preds = %122
store float 0.000000e+00, ptr %5, align 4
store i32 1, ptr %2, align 4
br label %145
145: ; preds = %157, %144
%146 = load i32, ptr %2, align 4
%147 = load i32, ptr %3, align 4
%148 = icmp sle i32 %146, %147
br i1 %148, label %149, label %160
149: ; preds = %145
%150 = load ptr, ptr %10, align 8
%151 = load i32, ptr %2, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds float, ptr %150, i64 %152
%154 = load float, ptr %153, align 4
%155 = load float, ptr %5, align 4
%156 = fadd float %155, %154
store float %156, ptr %5, align 4
br label %157
157: ; preds = %149
%158 = load i32, ptr %2, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %2, align 4
br label %145, !llvm.loop !10
160: ; preds = %145
%161 = load float, ptr %5, align 4
%162 = fpext float %161 to double
%163 = load float, ptr %4, align 4
%164 = fpext float %163 to double
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %162, double noundef %164)
store float 0.000000e+00, ptr %6, align 4
store i32 1, ptr %2, align 4
br label %166
166: ; preds = %184, %160
%167 = load i32, ptr %2, align 4
%168 = load i32, ptr %3, align 4
%169 = icmp sle i32 %167, %168
br i1 %169, label %170, label %187
170: ; preds = %166
%171 = load ptr, ptr %10, align 8
%172 = load i32, ptr %2, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds float, ptr %171, i64 %173
%175 = load float, ptr %174, align 4
%176 = load ptr, ptr %9, align 8
%177 = load i32, ptr %2, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds float, ptr %176, i64 %178
%180 = load float, ptr %179, align 4
%181 = call float @func(float noundef %180)
%182 = load float, ptr %6, align 4
%183 = call float @llvm.fmuladd.f32(float %175, float %181, float %182)
store float %183, ptr %6, align 4
br label %184
184: ; preds = %170
%185 = load i32, ptr %2, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %2, align 4
br label %166, !llvm.loop !11
187: ; preds = %166
%188 = load float, ptr %6, align 4
%189 = fpext float %188 to double
%190 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %189)
%191 = call double @log(double noundef 2.000000e+00) #4
%192 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %191)
br label %21
193: ; preds = %26
%194 = load ptr, ptr %13, align 8
%195 = call i32 @free_vector(ptr noundef %194, i32 noundef 1, i32 noundef 127)
%196 = load ptr, ptr %12, align 8
%197 = call i32 @free_vector(ptr noundef %196, i32 noundef 1, i32 noundef 127)
%198 = load ptr, ptr %11, align 8
%199 = call i32 @free_vector(ptr noundef %198, i32 noundef 1, i32 noundef 128)
%200 = load ptr, ptr %10, align 8
%201 = call i32 @free_vector(ptr noundef %200, i32 noundef 1, i32 noundef 64)
%202 = load ptr, ptr %9, align 8
%203 = call i32 @free_vector(ptr noundef %202, i32 noundef 1, i32 noundef 64)
%204 = load ptr, ptr %8, align 8
%205 = call i32 @free_vector(ptr noundef %204, i32 noundef 1, i32 noundef 64)
%206 = load ptr, ptr %7, align 8
%207 = call i32 @free_vector(ptr noundef %206, i32 noundef 1, i32 noundef 64)
ret i32 0
}
declare ptr @vector(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @orthog(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gaucof(i32 noundef, ptr noundef, ptr noundef, float noundef, ptr noundef, ptr noundef) #1
declare float @func(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare i32 @free_vector(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5_a5np1.c"
target datalayout = "e-m:e-p270: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"Enter N\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [15 x i8] c"%3s %10s %14s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"x(i)\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"w(i)\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"%3d %14.6e %14.6e\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"\0ACheck value: %15.7e should be: %15.7e\0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"\0AIntegral from orthog: %12.6f\0A\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"Actual value: %12.6f\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%14 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %14, ptr %7, align 8
%15 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %15, ptr %8, align 8
%16 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %16, ptr %9, align 8
%17 = call ptr @vector(i32 noundef 1, i32 noundef 64)
store ptr %17, ptr %10, align 8
%18 = call ptr @vector(i32 noundef 1, i32 noundef 128)
store ptr %18, ptr %11, align 8
%19 = call ptr @vector(i32 noundef 1, i32 noundef 127)
store ptr %19, ptr %12, align 8
%20 = call ptr @vector(i32 noundef 1, i32 noundef 127)
store ptr %20, ptr %13, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%22 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %3)
%23 = load i64, ptr @EOF, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %.lr.ph14
.lr.ph14: ; preds = %0
br label %26
._crit_edge15: ; preds = %200
br label %25
25: ; preds = %._crit_edge15, %0
br label %210
26: ; preds = %.lr.ph14, %200
%27 = load ptr, ptr %12, align 8
%28 = getelementptr inbounds float, ptr %27, i64 1
store float 5.000000e-01, ptr %28, align 4
%29 = load ptr, ptr %13, align 8
%30 = getelementptr inbounds float, ptr %29, i64 1
store float 1.000000e+00, ptr %30, align 4
store i32 2, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = mul nsw i32 2, %32
%34 = sub nsw i32 %33, 1
%35 = icmp sle i32 %31, %34
br i1 %35, label %.lr.ph, label %64
.lr.ph: ; preds = %26
br label %36
36: ; preds = %.lr.ph, %56
%37 = load ptr, ptr %12, align 8
%38 = load i32, ptr %2, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds float, ptr %37, i64 %39
store float 5.000000e-01, ptr %40, align 4
%41 = load i32, ptr %2, align 4
%42 = sub nsw i32 %41, 1
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 1
%45 = mul nsw i32 %42, %44
%46 = sitofp i32 %45 to double
%47 = fdiv double 1.000000e+00, %46
%48 = fsub double 4.000000e+00, %47
%49 = fmul double 4.000000e+00, %48
%50 = fdiv double 1.000000e+00, %49
%51 = fptrunc double %50 to float
%52 = load ptr, ptr %13, align 8
%53 = load i32, ptr %2, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
store float %51, ptr %55, align 4
br label %56
56: ; preds = %36
%57 = load i32, ptr %2, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = load i32, ptr %3, align 4
%61 = mul nsw i32 2, %60
%62 = sub nsw i32 %61, 1
%63 = icmp sle i32 %59, %62
br i1 %63, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %64
64: ; preds = %._crit_edge, %26
%65 = load ptr, ptr %11, align 8
%66 = getelementptr inbounds float, ptr %65, i64 1
store float 1.000000e+00, ptr %66, align 4
%67 = load ptr, ptr %11, align 8
%68 = getelementptr inbounds float, ptr %67, i64 2
store float -2.500000e-01, ptr %68, align 4
store i32 2, ptr %2, align 4
%69 = load i32, ptr %2, align 4
%70 = load i32, ptr %3, align 4
%71 = mul nsw i32 2, %70
%72 = sub nsw i32 %71, 1
%73 = icmp sle i32 %69, %72
br i1 %73, label %.lr.ph2, label %113
.lr.ph2: ; preds = %64
br label %74
74: ; preds = %.lr.ph2, %105
%75 = load ptr, ptr %11, align 8
%76 = load i32, ptr %2, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds float, ptr %75, i64 %77
%79 = load float, ptr %78, align 4
%80 = fneg float %79
%81 = load i32, ptr %2, align 4
%82 = sitofp i32 %81 to float
%83 = fmul float %80, %82
%84 = load i32, ptr %2, align 4
%85 = sub nsw i32 %84, 1
%86 = sitofp i32 %85 to float
%87 = fmul float %83, %86
%88 = fpext float %87 to double
%89 = load i32, ptr %2, align 4
%90 = add nsw i32 %89, 1
%91 = sitofp i32 %90 to double
%92 = fmul double 2.000000e+00, %91
%93 = load i32, ptr %2, align 4
%94 = mul nsw i32 2, %93
%95 = sub nsw i32 %94, 1
%96 = sitofp i32 %95 to double
%97 = fmul double %92, %96
%98 = fdiv double %88, %97
%99 = fptrunc double %98 to float
%100 = load ptr, ptr %11, align 8
%101 = load i32, ptr %2, align 4
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds float, ptr %100, i64 %103
store float %99, ptr %104, align 4
br label %105
105: ; preds = %74
%106 = load i32, ptr %2, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %2, align 4
%108 = load i32, ptr %2, align 4
%109 = load i32, ptr %3, align 4
%110 = mul nsw i32 2, %109
%111 = sub nsw i32 %110, 1
%112 = icmp sle i32 %108, %111
br i1 %112, label %74, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %105
br label %113
113: ; preds = %._crit_edge3, %64
%114 = load i32, ptr %3, align 4
%115 = load ptr, ptr %11, align 8
%116 = load ptr, ptr %12, align 8
%117 = load ptr, ptr %13, align 8
%118 = load ptr, ptr %7, align 8
%119 = load ptr, ptr %8, align 8
%120 = call i32 @orthog(i32 noundef %114, ptr noundef %115, ptr noundef %116, ptr noundef %117, ptr noundef %118, ptr noundef %119)
store float 1.000000e+00, ptr %4, align 4
%121 = load i32, ptr %3, align 4
%122 = load ptr, ptr %7, align 8
%123 = load ptr, ptr %8, align 8
%124 = load float, ptr %4, align 4
%125 = load ptr, ptr %9, align 8
%126 = load ptr, ptr %10, align 8
%127 = call i32 @gaucof(i32 noundef %121, ptr noundef %122, ptr noundef %123, float noundef %124, ptr noundef %125, ptr noundef %126)
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
store i32 1, ptr %2, align 4
%129 = load i32, ptr %2, align 4
%130 = load i32, ptr %3, align 4
%131 = icmp sle i32 %129, %130
br i1 %131, label %.lr.ph5, label %153
.lr.ph5: ; preds = %113
br label %132
132: ; preds = %.lr.ph5, %147
%133 = load i32, ptr %2, align 4
%134 = load ptr, ptr %9, align 8
%135 = load i32, ptr %2, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds float, ptr %134, i64 %136
%138 = load float, ptr %137, align 4
%139 = fpext float %138 to double
%140 = load ptr, ptr %10, align 8
%141 = load i32, ptr %2, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds float, ptr %140, i64 %142
%144 = load float, ptr %143, align 4
%145 = fpext float %144 to double
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %133, double noundef %139, double noundef %145)
br label %147
147: ; preds = %132
%148 = load i32, ptr %2, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %2, align 4
%150 = load i32, ptr %2, align 4
%151 = load i32, ptr %3, align 4
%152 = icmp sle i32 %150, %151
br i1 %152, label %132, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %147
br label %153
153: ; preds = %._crit_edge6, %113
store float 0.000000e+00, ptr %5, align 4
store i32 1, ptr %2, align 4
%154 = load i32, ptr %2, align 4
%155 = load i32, ptr %3, align 4
%156 = icmp sle i32 %154, %155
br i1 %156, label %.lr.ph8, label %171
.lr.ph8: ; preds = %153
br label %157
157: ; preds = %.lr.ph8, %165
%158 = load ptr, ptr %10, align 8
%159 = load i32, ptr %2, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds float, ptr %158, i64 %160
%162 = load float, ptr %161, align 4
%163 = load float, ptr %5, align 4
%164 = fadd float %163, %162
store float %164, ptr %5, align 4
br label %165
165: ; preds = %157
%166 = load i32, ptr %2, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %2, align 4
%168 = load i32, ptr %2, align 4
%169 = load i32, ptr %3, align 4
%170 = icmp sle i32 %168, %169
br i1 %170, label %157, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %165
br label %171
171: ; preds = %._crit_edge9, %153
%172 = load float, ptr %5, align 4
%173 = fpext float %172 to double
%174 = load float, ptr %4, align 4
%175 = fpext float %174 to double
%176 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %173, double noundef %175)
store float 0.000000e+00, ptr %6, align 4
store i32 1, ptr %2, align 4
%177 = load i32, ptr %2, align 4
%178 = load i32, ptr %3, align 4
%179 = icmp sle i32 %177, %178
br i1 %179, label %.lr.ph11, label %200
.lr.ph11: ; preds = %171
br label %180
180: ; preds = %.lr.ph11, %194
%181 = load ptr, ptr %10, align 8
%182 = load i32, ptr %2, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds float, ptr %181, i64 %183
%185 = load float, ptr %184, align 4
%186 = load ptr, ptr %9, align 8
%187 = load i32, ptr %2, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds float, ptr %186, i64 %188
%190 = load float, ptr %189, align 4
%191 = call float @func(float noundef %190)
%192 = load float, ptr %6, align 4
%193 = call float @llvm.fmuladd.f32(float %185, float %191, float %192)
store float %193, ptr %6, align 4
br label %194
194: ; preds = %180
%195 = load i32, ptr %2, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %2, align 4
%197 = load i32, ptr %2, align 4
%198 = load i32, ptr %3, align 4
%199 = icmp sle i32 %197, %198
br i1 %199, label %180, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %194
br label %200
200: ; preds = %._crit_edge12, %171
%201 = load float, ptr %6, align 4
%202 = fpext float %201 to double
%203 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %202)
%204 = call double @log(double noundef 2.000000e+00) #4
%205 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %204)
%206 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%207 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %3)
%208 = load i64, ptr @EOF, align 8
%209 = icmp eq i64 %207, %208
br i1 %209, label %._crit_edge15, label %26
210: ; preds = %25
%211 = load ptr, ptr %13, align 8
%212 = call i32 @free_vector(ptr noundef %211, i32 noundef 1, i32 noundef 127)
%213 = load ptr, ptr %12, align 8
%214 = call i32 @free_vector(ptr noundef %213, i32 noundef 1, i32 noundef 127)
%215 = load ptr, ptr %11, align 8
%216 = call i32 @free_vector(ptr noundef %215, i32 noundef 1, i32 noundef 128)
%217 = load ptr, ptr %10, align 8
%218 = call i32 @free_vector(ptr noundef %217, i32 noundef 1, i32 noundef 64)
%219 = load ptr, ptr %9, align 8
%220 = call i32 @free_vector(ptr noundef %219, i32 noundef 1, i32 noundef 64)
%221 = load ptr, ptr %8, align 8
%222 = call i32 @free_vector(ptr noundef %221, i32 noundef 1, i32 noundef 64)
%223 = load ptr, ptr %7, align 8
%224 = call i32 @free_vector(ptr noundef %223, i32 noundef 1, i32 noundef 64)
ret i32 0
}
declare ptr @vector(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @orthog(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gaucof(i32 noundef, ptr noundef, ptr noundef, float noundef, ptr noundef, ptr noundef) #1
declare float @func(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare i32 @free_vector(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp_2uge_ht.c'
source_filename = "/tmp/tmp_2uge_ht.c"
target datalayout = "e-m:e-p270: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_2uge_ht.c"
target datalayout = "e-m:e-p270: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/tmptklcmzma.c'
source_filename = "/tmp/tmptklcmzma.c"
target datalayout = "e-m:e-p270: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/tmptklcmzma.c"
target datalayout = "e-m:e-p270: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.