llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpbvhox_wc.c'
source_filename = "/tmp/tmpbvhox_wc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"NOTE2\00", align 1
@MM_PRINT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"only1field\00", align 1
@MM_INFO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"text2\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"action2\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"tag2\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"UX:cat\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"invalid syntax\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"refer to manual\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"UX:cat:001\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"label:foo\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"text\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"action\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"tag\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 @addseverity(i32 noundef 5, ptr noundef @.str)
%3 = load i32, ptr @MM_PRINT, align 4
%4 = load i32, ptr @MM_INFO, align 4
%5 = call i32 @fmtmsg(i32 noundef %3, ptr noundef @.str.1, i32 noundef %4, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%6 = load i32, ptr @MM_PRINT, align 4
%7 = call i32 @fmtmsg(i32 noundef %6, ptr noundef @.str.5, i32 noundef 5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8)
%8 = load i32, ptr @MM_PRINT, align 4
%9 = call i32 @fmtmsg(i32 noundef %8, ptr noundef @.str.9, i32 noundef 6, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12)
ret i32 0
}
declare i32 @addseverity(i32 noundef, ptr noundef) #1
declare i32 @fmtmsg(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbvhox_wc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"NOTE2\00", align 1
@MM_PRINT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"only1field\00", align 1
@MM_INFO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"text2\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"action2\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"tag2\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"UX:cat\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"invalid syntax\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"refer to manual\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"UX:cat:001\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"label:foo\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"text\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"action\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"tag\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 @addseverity(i32 noundef 5, ptr noundef @.str)
%3 = load i32, ptr @MM_PRINT, align 4
%4 = load i32, ptr @MM_INFO, align 4
%5 = call i32 @fmtmsg(i32 noundef %3, ptr noundef @.str.1, i32 noundef %4, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%6 = load i32, ptr @MM_PRINT, align 4
%7 = call i32 @fmtmsg(i32 noundef %6, ptr noundef @.str.5, i32 noundef 5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8)
%8 = load i32, ptr @MM_PRINT, align 4
%9 = call i32 @fmtmsg(i32 noundef %8, ptr noundef @.str.9, i32 noundef 6, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12)
ret i32 0
}
declare i32 @addseverity(i32 noundef, ptr noundef) #1
declare i32 @fmtmsg(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkabnam9u.c'
source_filename = "/tmp/tmpkabnam9u.c"
target datalayout = "e-m:e-p270: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/tmpkabnam9u.c"
target datalayout = "e-m:e-p270: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/tmpq1p2us3f.c'
source_filename = "/tmp/tmpq1p2us3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trilinear_interp(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, float noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca float, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca [4 x float], align 16
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store float %6, ptr %14, align 4
store float 0.000000e+00, ptr %18, align 4
store float 0.000000e+00, ptr %19, align 4
store float 0.000000e+00, ptr %20, align 4
store float 0.000000e+00, ptr %21, align 4
store float 0.000000e+00, ptr %22, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %80, %7
%25 = load i32, ptr %23, align 4
%26 = load i32, ptr %9, align 4
%27 = sdiv i32 %26, 2
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %83
29: ; preds = %24
%30 = load ptr, ptr %10, align 8
%31 = load i32, ptr %23, align 4
%32 = mul nsw i32 2, %31
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %30, i64 %34
%36 = load float, ptr %35, align 4
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %23, align 4
%39 = mul nsw i32 2, %38
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %37, i64 %41
%43 = load float, ptr %42, align 4
%44 = load ptr, ptr %10, align 8
%45 = load i32, ptr %23, align 4
%46 = mul nsw i32 2, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds float, ptr %44, i64 %47
%49 = load float, ptr %48, align 4
%50 = fsub float %43, %49
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %23, align 4
%53 = mul nsw i32 2, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %51, i64 %54
%56 = load float, ptr %55, align 4
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %23, align 4
%59 = mul nsw i32 2, %58
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %57, i64 %61
%63 = load float, ptr %62, align 4
%64 = fsub float %56, %63
%65 = fdiv float %50, %64
%66 = load float, ptr %14, align 4
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %23, align 4
%69 = mul nsw i32 2, %68
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %67, i64 %71
%73 = load float, ptr %72, align 4
%74 = fsub float %66, %73
%75 = fneg float %65
%76 = call float @llvm.fmuladd.f32(float %75, float %74, float %36)
%77 = load i32, ptr %23, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 %78
store float %76, ptr %79, align 4
br label %80
80: ; preds = %29
%81 = load i32, ptr %23, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %23, align 4
br label %24, !llvm.loop !6
83: ; preds = %24
%84 = load ptr, ptr %12, align 8
%85 = getelementptr inbounds float, ptr %84, i64 1
%86 = load float, ptr %85, align 4
%87 = call float @fmod(float noundef %86, double noundef 1.000000e+00)
store float %87, ptr %21, align 4
%88 = load ptr, ptr %12, align 8
%89 = getelementptr inbounds float, ptr %88, i64 0
%90 = load float, ptr %89, align 4
%91 = call float @fmod(float noundef %90, double noundef 1.000000e+00)
store float %91, ptr %22, align 4
%92 = load float, ptr %21, align 4
%93 = fpext float %92 to double
%94 = fsub double 1.000000e+00, %93
%95 = fptrunc double %94 to float
store float %95, ptr %19, align 4
%96 = load float, ptr %22, align 4
%97 = fpext float %96 to double
%98 = fsub double 1.000000e+00, %97
%99 = fptrunc double %98 to float
store float %99, ptr %20, align 4
%100 = load float, ptr %19, align 4
%101 = load float, ptr %20, align 4
%102 = fmul float %100, %101
%103 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 0
%104 = load float, ptr %103, align 16
%105 = load float, ptr %21, align 4
%106 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 2
%107 = load float, ptr %106, align 8
%108 = fmul float %105, %107
%109 = load float, ptr %20, align 4
%110 = fmul float %108, %109
%111 = call float @llvm.fmuladd.f32(float %102, float %104, float %110)
%112 = load float, ptr %19, align 4
%113 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 1
%114 = load float, ptr %113, align 4
%115 = fmul float %112, %114
%116 = load float, ptr %22, align 4
%117 = call float @llvm.fmuladd.f32(float %115, float %116, float %111)
%118 = load float, ptr %21, align 4
%119 = load float, ptr %22, align 4
%120 = fmul float %118, %119
%121 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 3
%122 = load float, ptr %121, align 4
%123 = call float @llvm.fmuladd.f32(float %120, float %122, float %117)
store float %123, ptr %18, align 4
%124 = load float, ptr %18, align 4
ret float %124
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @fmod(float noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1p2us3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trilinear_interp(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, float noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca float, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca [4 x float], align 16
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store float %6, ptr %14, align 4
store float 0.000000e+00, ptr %18, align 4
store float 0.000000e+00, ptr %19, align 4
store float 0.000000e+00, ptr %20, align 4
store float 0.000000e+00, ptr %21, align 4
store float 0.000000e+00, ptr %22, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %23, align 4
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %9, align 4
%26 = sdiv i32 %25, 2
%27 = icmp slt i32 %24, %26
br i1 %27, label %.lr.ph, label %86
.lr.ph: ; preds = %7
br label %28
28: ; preds = %.lr.ph, %79
%29 = load ptr, ptr %10, align 8
%30 = load i32, ptr %23, align 4
%31 = mul nsw i32 2, %30
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds float, ptr %29, i64 %33
%35 = load float, ptr %34, align 4
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %23, align 4
%38 = mul nsw i32 2, %37
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, ptr %36, i64 %40
%42 = load float, ptr %41, align 4
%43 = load ptr, ptr %10, align 8
%44 = load i32, ptr %23, align 4
%45 = mul nsw i32 2, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds float, ptr %43, i64 %46
%48 = load float, ptr %47, align 4
%49 = fsub float %42, %48
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %23, align 4
%52 = mul nsw i32 2, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %50, i64 %53
%55 = load float, ptr %54, align 4
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %23, align 4
%58 = mul nsw i32 2, %57
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %56, i64 %60
%62 = load float, ptr %61, align 4
%63 = fsub float %55, %62
%64 = fdiv float %49, %63
%65 = load float, ptr %14, align 4
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %23, align 4
%68 = mul nsw i32 2, %67
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds float, ptr %66, i64 %70
%72 = load float, ptr %71, align 4
%73 = fsub float %65, %72
%74 = fneg float %64
%75 = call float @llvm.fmuladd.f32(float %74, float %73, float %35)
%76 = load i32, ptr %23, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 %77
store float %75, ptr %78, align 4
br label %79
79: ; preds = %28
%80 = load i32, ptr %23, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %23, align 4
%82 = load i32, ptr %23, align 4
%83 = load i32, ptr %9, align 4
%84 = sdiv i32 %83, 2
%85 = icmp slt i32 %82, %84
br i1 %85, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %86
86: ; preds = %._crit_edge, %7
%87 = load ptr, ptr %12, align 8
%88 = getelementptr inbounds float, ptr %87, i64 1
%89 = load float, ptr %88, align 4
%90 = call float @fmod(float noundef %89, double noundef 1.000000e+00)
store float %90, ptr %21, align 4
%91 = load ptr, ptr %12, align 8
%92 = getelementptr inbounds float, ptr %91, i64 0
%93 = load float, ptr %92, align 4
%94 = call float @fmod(float noundef %93, double noundef 1.000000e+00)
store float %94, ptr %22, align 4
%95 = load float, ptr %21, align 4
%96 = fpext float %95 to double
%97 = fsub double 1.000000e+00, %96
%98 = fptrunc double %97 to float
store float %98, ptr %19, align 4
%99 = load float, ptr %22, align 4
%100 = fpext float %99 to double
%101 = fsub double 1.000000e+00, %100
%102 = fptrunc double %101 to float
store float %102, ptr %20, align 4
%103 = load float, ptr %19, align 4
%104 = load float, ptr %20, align 4
%105 = fmul float %103, %104
%106 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 0
%107 = load float, ptr %106, align 16
%108 = load float, ptr %21, align 4
%109 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 2
%110 = load float, ptr %109, align 8
%111 = fmul float %108, %110
%112 = load float, ptr %20, align 4
%113 = fmul float %111, %112
%114 = call float @llvm.fmuladd.f32(float %105, float %107, float %113)
%115 = load float, ptr %19, align 4
%116 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 1
%117 = load float, ptr %116, align 4
%118 = fmul float %115, %117
%119 = load float, ptr %22, align 4
%120 = call float @llvm.fmuladd.f32(float %118, float %119, float %114)
%121 = load float, ptr %21, align 4
%122 = load float, ptr %22, align 4
%123 = fmul float %121, %122
%124 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 3
%125 = load float, ptr %124, align 4
%126 = call float @llvm.fmuladd.f32(float %123, float %125, float %120)
store float %126, ptr %18, align 4
%127 = load float, ptr %18, align 4
ret float %127
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @fmod(float noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqywxs5n4.c'
source_filename = "/tmp/tmpqywxs5n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"no\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"yes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %15, label %7
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 100
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 400
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11, %0
%16 = call i32 @printf(ptr noundef @.str.1)
br label %19
17: ; preds = %11, %7
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqywxs5n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"no\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"yes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %15, label %7
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 100
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 400
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11, %0
%16 = call i32 @printf(ptr noundef @.str.1)
br label %19
17: ; preds = %11, %7
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvx_cw0p2.c'
source_filename = "/tmp/tmpvx_cw0p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @naiveConvolve(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store ptr %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%30 = load i32, ptr %14, align 4
%31 = sdiv i32 %30, 2
%32 = call i32 @floor(i32 noundef %31)
store i32 %32, ptr %22, align 4
%33 = load i32, ptr %15, align 4
%34 = sdiv i32 %33, 2
%35 = call i32 @floor(i32 noundef %34)
store i32 %35, ptr %23, align 4
%36 = load i32, ptr %14, align 4
%37 = load i32, ptr %15, align 4
%38 = mul nsw i32 %36, %37
store i32 %38, ptr %24, align 4
store i32 0, ptr %25, align 4
store i32 0, ptr %17, align 4
br label %39
39: ; preds = %136, %8
%40 = load i32, ptr %17, align 4
%41 = load i32, ptr %16, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %139
43: ; preds = %39
%44 = load i32, ptr %24, align 4
%45 = load i32, ptr %17, align 4
%46 = mul nsw i32 %44, %45
store i32 %46, ptr %26, align 4
%47 = load i32, ptr %22, align 4
store i32 %47, ptr %18, align 4
br label %48
48: ; preds = %132, %43
%49 = load i32, ptr %18, align 4
%50 = load i32, ptr %11, align 4
%51 = load i32, ptr %22, align 4
%52 = sub nsw i32 %50, %51
%53 = icmp slt i32 %49, %52
br i1 %53, label %54, label %135
54: ; preds = %48
%55 = load i32, ptr %23, align 4
store i32 %55, ptr %19, align 4
br label %56
56: ; preds = %128, %54
%57 = load i32, ptr %19, align 4
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %23, align 4
%60 = sub nsw i32 %58, %59
%61 = icmp slt i32 %57, %60
br i1 %61, label %62, label %131
62: ; preds = %56
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %25, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
store double 0.000000e+00, ptr %66, align 8
store i32 0, ptr %20, align 4
br label %67
67: ; preds = %122, %62
%68 = load i32, ptr %20, align 4
%69 = load i32, ptr %14, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %125
71: ; preds = %67
store i32 0, ptr %21, align 4
br label %72
72: ; preds = %118, %71
%73 = load i32, ptr %21, align 4
%74 = load i32, ptr %15, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %121
76: ; preds = %72
%77 = load i32, ptr %18, align 4
%78 = load i32, ptr %20, align 4
%79 = load i32, ptr %23, align 4
%80 = sub nsw i32 %78, %79
%81 = add nsw i32 %77, %80
store i32 %81, ptr %27, align 4
%82 = load i32, ptr %19, align 4
%83 = load i32, ptr %21, align 4
%84 = load i32, ptr %22, align 4
%85 = sub nsw i32 %83, %84
%86 = add nsw i32 %82, %85
store i32 %86, ptr %28, align 4
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %25, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
store double %91, ptr %29, align 8
%92 = load double, ptr %29, align 8
%93 = load ptr, ptr %10, align 8
%94 = load i32, ptr %27, align 4
%95 = load i32, ptr %12, align 4
%96 = mul nsw i32 %94, %95
%97 = load i32, ptr %28, align 4
%98 = add nsw i32 %96, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %93, i64 %99
%101 = load double, ptr %100, align 8
%102 = load ptr, ptr %13, align 8
%103 = load i32, ptr %26, align 4
%104 = load i32, ptr %20, align 4
%105 = load i32, ptr %15, align 4
%106 = mul nsw i32 %104, %105
%107 = add nsw i32 %103, %106
%108 = load i32, ptr %21, align 4
%109 = add nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %102, i64 %110
%112 = load double, ptr %111, align 8
%113 = call double @llvm.fmuladd.f64(double %101, double %112, double %92)
%114 = load ptr, ptr %9, align 8
%115 = load i32, ptr %25, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, ptr %114, i64 %116
store double %113, ptr %117, align 8
br label %118
118: ; preds = %76
%119 = load i32, ptr %21, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %21, align 4
br label %72, !llvm.loop !6
121: ; preds = %72
br label %122
122: ; preds = %121
%123 = load i32, ptr %20, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %20, align 4
br label %67, !llvm.loop !8
125: ; preds = %67
%126 = load i32, ptr %25, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %25, align 4
br label %128
128: ; preds = %125
%129 = load i32, ptr %19, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %19, align 4
br label %56, !llvm.loop !9
131: ; preds = %56
br label %132
132: ; preds = %131
%133 = load i32, ptr %18, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %18, align 4
br label %48, !llvm.loop !10
135: ; preds = %48
br label %136
136: ; preds = %135
%137 = load i32, ptr %17, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %17, align 4
br label %39, !llvm.loop !11
139: ; preds = %39
ret void
}
declare i32 @floor(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpvx_cw0p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @naiveConvolve(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store ptr %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%30 = load i32, ptr %14, align 4
%31 = sdiv i32 %30, 2
%32 = call i32 @floor(i32 noundef %31)
store i32 %32, ptr %22, align 4
%33 = load i32, ptr %15, align 4
%34 = sdiv i32 %33, 2
%35 = call i32 @floor(i32 noundef %34)
store i32 %35, ptr %23, align 4
%36 = load i32, ptr %14, align 4
%37 = load i32, ptr %15, align 4
%38 = mul nsw i32 %36, %37
store i32 %38, ptr %24, align 4
store i32 0, ptr %25, align 4
store i32 0, ptr %17, align 4
%39 = load i32, ptr %17, align 4
%40 = load i32, ptr %16, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph11, label %153
.lr.ph11: ; preds = %8
br label %42
42: ; preds = %.lr.ph11, %147
%43 = load i32, ptr %24, align 4
%44 = load i32, ptr %17, align 4
%45 = mul nsw i32 %43, %44
store i32 %45, ptr %26, align 4
%46 = load i32, ptr %22, align 4
store i32 %46, ptr %18, align 4
%47 = load i32, ptr %18, align 4
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %22, align 4
%50 = sub nsw i32 %48, %49
%51 = icmp slt i32 %47, %50
br i1 %51, label %.lr.ph8, label %146
.lr.ph8: ; preds = %42
br label %52
52: ; preds = %.lr.ph8, %138
%53 = load i32, ptr %23, align 4
store i32 %53, ptr %19, align 4
%54 = load i32, ptr %19, align 4
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %23, align 4
%57 = sub nsw i32 %55, %56
%58 = icmp slt i32 %54, %57
br i1 %58, label %.lr.ph5, label %137
.lr.ph5: ; preds = %52
br label %59
59: ; preds = %.lr.ph5, %129
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %25, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
store double 0.000000e+00, ptr %63, align 8
store i32 0, ptr %20, align 4
%64 = load i32, ptr %20, align 4
%65 = load i32, ptr %14, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph2, label %126
.lr.ph2: ; preds = %59
br label %67
67: ; preds = %.lr.ph2, %120
store i32 0, ptr %21, align 4
%68 = load i32, ptr %21, align 4
%69 = load i32, ptr %15, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph, label %119
.lr.ph: ; preds = %67
br label %71
71: ; preds = %.lr.ph, %113
%72 = load i32, ptr %18, align 4
%73 = load i32, ptr %20, align 4
%74 = load i32, ptr %23, align 4
%75 = sub nsw i32 %73, %74
%76 = add nsw i32 %72, %75
store i32 %76, ptr %27, align 4
%77 = load i32, ptr %19, align 4
%78 = load i32, ptr %21, align 4
%79 = load i32, ptr %22, align 4
%80 = sub nsw i32 %78, %79
%81 = add nsw i32 %77, %80
store i32 %81, ptr %28, align 4
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %25, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %82, i64 %84
%86 = load double, ptr %85, align 8
store double %86, ptr %29, align 8
%87 = load double, ptr %29, align 8
%88 = load ptr, ptr %10, align 8
%89 = load i32, ptr %27, align 4
%90 = load i32, ptr %12, align 4
%91 = mul nsw i32 %89, %90
%92 = load i32, ptr %28, align 4
%93 = add nsw i32 %91, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %88, i64 %94
%96 = load double, ptr %95, align 8
%97 = load ptr, ptr %13, align 8
%98 = load i32, ptr %26, align 4
%99 = load i32, ptr %20, align 4
%100 = load i32, ptr %15, align 4
%101 = mul nsw i32 %99, %100
%102 = add nsw i32 %98, %101
%103 = load i32, ptr %21, align 4
%104 = add nsw i32 %102, %103
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %97, i64 %105
%107 = load double, ptr %106, align 8
%108 = call double @llvm.fmuladd.f64(double %96, double %107, double %87)
%109 = load ptr, ptr %9, align 8
%110 = load i32, ptr %25, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
store double %108, ptr %112, align 8
br label %113
113: ; preds = %71
%114 = load i32, ptr %21, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %21, align 4
%116 = load i32, ptr %21, align 4
%117 = load i32, ptr %15, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %71, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %113
br label %119
119: ; preds = %._crit_edge, %67
br label %120
120: ; preds = %119
%121 = load i32, ptr %20, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %20, align 4
%123 = load i32, ptr %20, align 4
%124 = load i32, ptr %14, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %67, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %120
br label %126
126: ; preds = %._crit_edge3, %59
%127 = load i32, ptr %25, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %25, align 4
br label %129
129: ; preds = %126
%130 = load i32, ptr %19, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %19, align 4
%132 = load i32, ptr %19, align 4
%133 = load i32, ptr %12, align 4
%134 = load i32, ptr %23, align 4
%135 = sub nsw i32 %133, %134
%136 = icmp slt i32 %132, %135
br i1 %136, label %59, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %129
br label %137
137: ; preds = %._crit_edge6, %52
br label %138
138: ; preds = %137
%139 = load i32, ptr %18, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %18, align 4
%141 = load i32, ptr %18, align 4
%142 = load i32, ptr %11, align 4
%143 = load i32, ptr %22, align 4
%144 = sub nsw i32 %142, %143
%145 = icmp slt i32 %141, %144
br i1 %145, label %52, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %138
br label %146
146: ; preds = %._crit_edge9, %42
br label %147
147: ; preds = %146
%148 = load i32, ptr %17, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %17, align 4
%150 = load i32, ptr %17, align 4
%151 = load i32, ptr %16, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %42, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %147
br label %153
153: ; preds = %._crit_edge12, %8
ret void
}
declare i32 @floor(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmp3o2wx55m.c'
source_filename = "/tmp/tmp3o2wx55m.c"
target datalayout = "e-m:e-p270: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/tmp3o2wx55m.c"
target datalayout = "e-m:e-p270: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/tmp6jw2_wgd.c'
source_filename = "/tmp/tmp6jw2_wgd.c"
target datalayout = "e-m:e-p270: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/tmp6jw2_wgd.c"
target datalayout = "e-m:e-p270: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/tmpmq7_xa44.c'
source_filename = "/tmp/tmpmq7_xa44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FIONBIO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @FIONBIO, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmq7_xa44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FIONBIO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @FIONBIO, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6u905qx1.c'
source_filename = "/tmp/tmp6u905qx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLIN = 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/tmp6u905qx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLIN = 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/tmp58nkd4ex.c'
source_filename = "/tmp/tmp58nkd4ex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_mkpath(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @my_strdup(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 47
br i1 %11, label %17, label %12
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 92
br label %17
17: ; preds = %12, %1
%18 = phi i1 [ true, %1 ], [ %16, %12 ]
%19 = zext i1 %18 to i32
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %83, %17
br i1 true, label %21, label %86
21: ; preds = %20
br label %22
22: ; preds = %51, %21
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %48
30: ; preds = %22
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 47
br i1 %37, label %38, label %46
38: ; preds = %30
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 92
br label %46
46: ; preds = %38, %30
%47 = phi i1 [ false, %30 ], [ %45, %38 ]
br label %48
48: ; preds = %46, %22
%49 = phi i1 [ false, %22 ], [ %47, %46 ]
br i1 %49, label %50, label %54
50: ; preds = %48
br label %51
51: ; preds = %50
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
br label %22, !llvm.loop !6
54: ; preds = %48
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = icmp ne i8 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %54
br label %86
62: ; preds = %54
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %5, align 8
%68 = call i32 @file_is_exist(ptr noundef %67)
%69 = icmp ne i32 %68, 0
br i1 %69, label %78, label %70
70: ; preds = %62
%71 = load ptr, ptr %5, align 8
%72 = call i64 @mkdir(ptr noundef %71, i32 noundef 511)
%73 = icmp slt i64 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %70
%75 = load ptr, ptr %5, align 8
%76 = call i32 @free(ptr noundef %75)
store i32 -1, ptr %2, align 4
br label %89
77: ; preds = %70
br label %78
78: ; preds = %77, %62
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 47, ptr %82, align 1
br label %83
83: ; preds = %78
%84 = load i32, ptr %4, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %4, align 4
br label %20
86: ; preds = %61, %20
%87 = load ptr, ptr %5, align 8
%88 = call i32 @free(ptr noundef %87)
store i32 0, ptr %2, align 4
br label %89
89: ; preds = %86, %74
%90 = load i32, ptr %2, align 4
ret i32 %90
}
declare ptr @my_strdup(ptr noundef) #1
declare i32 @file_is_exist(ptr noundef) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp58nkd4ex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_mkpath(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @my_strdup(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 47
br i1 %11, label %17, label %12
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 92
br label %17
17: ; preds = %12, %1
%18 = phi i1 [ true, %1 ], [ %16, %12 ]
%19 = zext i1 %18 to i32
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %17, %82
br label %21
21: ; preds = %50, %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %47
29: ; preds = %21
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 47
br i1 %36, label %37, label %45
37: ; preds = %29
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 92
br label %45
45: ; preds = %37, %29
%46 = phi i1 [ false, %29 ], [ %44, %37 ]
br label %47
47: ; preds = %45, %21
%48 = phi i1 [ false, %21 ], [ %46, %45 ]
br i1 %48, label %49, label %53
49: ; preds = %47
br label %50
50: ; preds = %49
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %4, align 4
br label %21, !llvm.loop !6
53: ; preds = %47
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = icmp ne i8 %58, 0
br i1 %59, label %61, label %60
60: ; preds = %53
br label %85
61: ; preds = %53
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %4, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 0, ptr %65, align 1
%66 = load ptr, ptr %5, align 8
%67 = call i32 @file_is_exist(ptr noundef %66)
%68 = icmp ne i32 %67, 0
br i1 %68, label %77, label %69
69: ; preds = %61
%70 = load ptr, ptr %5, align 8
%71 = call i64 @mkdir(ptr noundef %70, i32 noundef 511)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load ptr, ptr %5, align 8
%75 = call i32 @free(ptr noundef %74)
store i32 -1, ptr %2, align 4
br label %88
76: ; preds = %69
br label %77
77: ; preds = %76, %61
%78 = load ptr, ptr %5, align 8
%79 = load i32, ptr %4, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store i8 47, ptr %81, align 1
br label %82
82: ; preds = %77
%83 = load i32, ptr %4, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %4, align 4
br i1 true, label %20, label %.loopexit
.loopexit: ; preds = %82
br label %85
85: ; preds = %.loopexit, %60
%86 = load ptr, ptr %5, align 8
%87 = call i32 @free(ptr noundef %86)
store i32 0, ptr %2, align 4
br label %88
88: ; preds = %85, %73
%89 = load i32, ptr %2, align 4
ret i32 %89
}
declare ptr @my_strdup(ptr noundef) #1
declare i32 @file_is_exist(ptr noundef) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprerdpiux.c'
source_filename = "/tmp/tmprerdpiux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d - %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %10, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 256
br i1 %5, label %6, label %13
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
br label %10
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
br label %3, !llvm.loop !6
13: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprerdpiux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d - %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 256
br i1 %4, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %9
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
br label %9
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 256
br i1 %13, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgp4z9y80.c'
source_filename = "/tmp/tmpgp4z9y80.c"
target datalayout = "e-m:e-p270: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/tmpgp4z9y80.c"
target datalayout = "e-m:e-p270: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/tmpsn35a2vw.c'
source_filename = "/tmp/tmpsn35a2vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"5170984 %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"406567 %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"368750 %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"2369510 %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"2183293 %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 @ReversedNumber(i32 noundef 5170984)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @ReversedNumber(i32 noundef 406567)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @ReversedNumber(i32 noundef 368750)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @ReversedNumber(i32 noundef 2369510)
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = call i32 @ReversedNumber(i32 noundef 2183293)
%11 = call i32 @printf(ptr noundef @.str.4, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @ReversedNumber(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/tmpsn35a2vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"5170984 %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"406567 %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"368750 %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"2369510 %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"2183293 %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 @ReversedNumber(i32 noundef 5170984)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @ReversedNumber(i32 noundef 406567)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @ReversedNumber(i32 noundef 368750)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @ReversedNumber(i32 noundef 2369510)
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = call i32 @ReversedNumber(i32 noundef 2183293)
%11 = call i32 @printf(ptr noundef @.str.4, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @ReversedNumber(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/tmpcycusmps.c'
source_filename = "/tmp/tmpcycusmps.c"
target datalayout = "e-m:e-p270: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/tmpcycusmps.c"
target datalayout = "e-m:e-p270: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/tmpy4ww9j9r.c'
source_filename = "/tmp/tmpy4ww9j9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colorMap_jet(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = fmul double 4.000000e+00, %9
store double %10, ptr %8, align 8
%11 = load double, ptr %8, align 8
%12 = fsub double %11, 5.000000e-01
%13 = load double, ptr %8, align 8
%14 = fneg double %13
%15 = fadd double %14, 4.500000e+00
%16 = fcmp olt double %12, %15
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load double, ptr %8, align 8
%19 = fsub double %18, 5.000000e-01
br label %24
20: ; preds = %2
%21 = load double, ptr %8, align 8
%22 = fneg double %21
%23 = fadd double %22, 4.500000e+00
br label %24
24: ; preds = %20, %17
%25 = phi double [ %19, %17 ], [ %23, %20 ]
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 0
store double %25, ptr %27, align 8
%28 = load double, ptr %8, align 8
%29 = fsub double %28, 5.000000e-01
%30 = load double, ptr %8, align 8
%31 = fneg double %30
%32 = fadd double %31, 3.500000e+00
%33 = fcmp olt double %29, %32
br i1 %33, label %34, label %37
34: ; preds = %24
%35 = load double, ptr %8, align 8
%36 = fsub double %35, 5.000000e-01
br label %41
37: ; preds = %24
%38 = load double, ptr %8, align 8
%39 = fneg double %38
%40 = fadd double %39, 3.500000e+00
br label %41
41: ; preds = %37, %34
%42 = phi double [ %36, %34 ], [ %40, %37 ]
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds double, ptr %43, i64 1
store double %42, ptr %44, align 8
%45 = load double, ptr %8, align 8
%46 = fadd double %45, 5.000000e-01
%47 = load double, ptr %8, align 8
%48 = fneg double %47
%49 = fadd double %48, 2.500000e+00
%50 = fcmp olt double %46, %49
br i1 %50, label %51, label %54
51: ; preds = %41
%52 = load double, ptr %8, align 8
%53 = fadd double %52, 5.000000e-01
br label %58
54: ; preds = %41
%55 = load double, ptr %8, align 8
%56 = fneg double %55
%57 = fadd double %56, 2.500000e+00
br label %58
58: ; preds = %54, %51
%59 = phi double [ %53, %51 ], [ %57, %54 ]
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds double, ptr %60, i64 2
store double %59, ptr %61, align 8
store i32 0, ptr %5, align 4
br label %62
62: ; preds = %92, %58
%63 = load i32, ptr %5, align 4
%64 = icmp slt i32 %63, 3
br i1 %64, label %65, label %95
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
%70 = load double, ptr %69, align 8
%71 = fcmp ogt double %70, 0.000000e+00
br i1 %71, label %72, label %78
72: ; preds = %65
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
br label %79
78: ; preds = %65
br label %79
79: ; preds = %78, %72
%80 = phi double [ %77, %72 ], [ 0.000000e+00, %78 ]
store double %80, ptr %6, align 8
%81 = load double, ptr %6, align 8
%82 = fcmp olt double %81, 1.000000e+00
br i1 %82, label %83, label %85
83: ; preds = %79
%84 = load double, ptr %6, align 8
br label %86
85: ; preds = %79
br label %86
86: ; preds = %85, %83
%87 = phi double [ %84, %83 ], [ 1.000000e+00, %85 ]
%88 = load ptr, ptr %4, align 8
%89 = load i32, ptr %5, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %88, i64 %90
store double %87, ptr %91, align 8
br label %92
92: ; preds = %86
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %5, align 4
br label %62, !llvm.loop !6
95: ; preds = %62
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/tmpy4ww9j9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colorMap_jet(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = fmul double 4.000000e+00, %9
store double %10, ptr %8, align 8
%11 = load double, ptr %8, align 8
%12 = fsub double %11, 5.000000e-01
%13 = load double, ptr %8, align 8
%14 = fneg double %13
%15 = fadd double %14, 4.500000e+00
%16 = fcmp olt double %12, %15
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load double, ptr %8, align 8
%19 = fsub double %18, 5.000000e-01
br label %24
20: ; preds = %2
%21 = load double, ptr %8, align 8
%22 = fneg double %21
%23 = fadd double %22, 4.500000e+00
br label %24
24: ; preds = %20, %17
%25 = phi double [ %19, %17 ], [ %23, %20 ]
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 0
store double %25, ptr %27, align 8
%28 = load double, ptr %8, align 8
%29 = fsub double %28, 5.000000e-01
%30 = load double, ptr %8, align 8
%31 = fneg double %30
%32 = fadd double %31, 3.500000e+00
%33 = fcmp olt double %29, %32
br i1 %33, label %34, label %37
34: ; preds = %24
%35 = load double, ptr %8, align 8
%36 = fsub double %35, 5.000000e-01
br label %41
37: ; preds = %24
%38 = load double, ptr %8, align 8
%39 = fneg double %38
%40 = fadd double %39, 3.500000e+00
br label %41
41: ; preds = %37, %34
%42 = phi double [ %36, %34 ], [ %40, %37 ]
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds double, ptr %43, i64 1
store double %42, ptr %44, align 8
%45 = load double, ptr %8, align 8
%46 = fadd double %45, 5.000000e-01
%47 = load double, ptr %8, align 8
%48 = fneg double %47
%49 = fadd double %48, 2.500000e+00
%50 = fcmp olt double %46, %49
br i1 %50, label %51, label %54
51: ; preds = %41
%52 = load double, ptr %8, align 8
%53 = fadd double %52, 5.000000e-01
br label %58
54: ; preds = %41
%55 = load double, ptr %8, align 8
%56 = fneg double %55
%57 = fadd double %56, 2.500000e+00
br label %58
58: ; preds = %54, %51
%59 = phi double [ %53, %51 ], [ %57, %54 ]
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds double, ptr %60, i64 2
store double %59, ptr %61, align 8
store i32 0, ptr %5, align 4
%62 = load i32, ptr %5, align 4
%63 = icmp slt i32 %62, 3
br i1 %63, label %.lr.ph, label %96
.lr.ph: ; preds = %58
br label %64
64: ; preds = %.lr.ph, %91
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %65, i64 %67
%69 = load double, ptr %68, align 8
%70 = fcmp ogt double %69, 0.000000e+00
br i1 %70, label %71, label %77
71: ; preds = %64
%72 = load ptr, ptr %4, align 8
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
%76 = load double, ptr %75, align 8
br label %78
77: ; preds = %64
br label %78
78: ; preds = %77, %71
%79 = phi double [ %76, %71 ], [ 0.000000e+00, %77 ]
store double %79, ptr %6, align 8
%80 = load double, ptr %6, align 8
%81 = fcmp olt double %80, 1.000000e+00
br i1 %81, label %82, label %84
82: ; preds = %78
%83 = load double, ptr %6, align 8
br label %85
84: ; preds = %78
br label %85
85: ; preds = %84, %82
%86 = phi double [ %83, %82 ], [ 1.000000e+00, %84 ]
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
store double %86, ptr %90, align 8
br label %91
91: ; preds = %85
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
%94 = load i32, ptr %5, align 4
%95 = icmp slt i32 %94, 3
br i1 %95, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %91
br label %96
96: ; preds = %._crit_edge, %58
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/tmp1f9rzd_5.c'
source_filename = "/tmp/tmp1f9rzd_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [14 x i8] c"stat() failed\00", align 1
@errno = dso_local global i64 0, align 8
@EACCES = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"File does not exist.\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"send() failed\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Reading file failed.\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"HTTP/1.0 200 OK\0AContent-Type: text/html; charset=UTF-8\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Content-Length: %zd\0A\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [14 x i8] c"open() failed\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"Sending %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"read() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_file(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
%7 = alloca i32, align 4
%8 = alloca [1024 x ptr], align 16
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @stat(ptr noundef %14, ptr noundef %6)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %40
18: ; preds = %2
%19 = call i32 @perror(ptr noundef @.str)
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @EACCES, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = call i32 (i32, ...) @send(i32 noundef %24, ptr noundef @.str.1, i32 noundef 20, i32 noundef 0)
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @perror(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %23
br label %39
31: ; preds = %18
%32 = load i32, ptr %3, align 4
%33 = call i32 (i32, ...) @send(i32 noundef %32, ptr noundef @.str.3, i32 noundef 20, i32 noundef 0)
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = call i32 @perror(ptr noundef @.str.2)
br label %38
38: ; preds = %36, %31
br label %39
39: ; preds = %38, %30
br label %108
40: ; preds = %2
%41 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %3, align 4
%44 = call i32 (i32, ...) @send(i32 noundef %43, ptr noundef @.str.4, i32 noundef 56, i32 noundef 0)
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %49
47: ; preds = %40
%48 = call i32 @perror(ptr noundef @.str.2)
br label %108
49: ; preds = %40
%50 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%51 = load i32, ptr %7, align 4
%52 = call i32 @snprintf(ptr noundef %50, i32 noundef 1024, ptr noundef @.str.5, i32 noundef %51)
%53 = load i32, ptr %3, align 4
%54 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%55 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%56 = call i32 @strlen(ptr noundef %55)
%57 = call i32 (i32, ...) @send(i32 noundef %53, ptr noundef %54, i32 noundef %56, i32 noundef 0)
store i32 %57, ptr %5, align 4
%58 = load i32, ptr %5, align 4
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %62
60: ; preds = %49
%61 = call i32 @perror(ptr noundef @.str.2)
br label %108
62: ; preds = %49
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr @O_RDONLY, align 4
%65 = call i32 @open(ptr noundef %63, i32 noundef %64)
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %66, -1
br i1 %67, label %68, label %70
68: ; preds = %62
%69 = call i32 @perror(ptr noundef @.str.6)
br label %108
70: ; preds = %62
%71 = load ptr, ptr %4, align 8
%72 = call i32 @printf(ptr noundef @.str.7, ptr noundef %71)
br label %73
73: ; preds = %105, %70
%74 = load i32, ptr %11, align 4
%75 = getelementptr inbounds [1024 x ptr], ptr %8, i64 0, i64 0
%76 = call i32 @read(i32 noundef %74, ptr noundef %75, i32 noundef 1024)
store i32 %76, ptr %9, align 4
%77 = load i32, ptr %9, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %81
79: ; preds = %73
%80 = call i32 @perror(ptr noundef @.str.8)
br label %108
81: ; preds = %73
store i32 0, ptr %12, align 4
br label %82
82: ; preds = %100, %81
%83 = load i32, ptr %12, align 4
%84 = load i32, ptr %9, align 4
%85 = icmp ne i32 %83, %84
br i1 %85, label %86, label %104
86: ; preds = %82
%87 = load i32, ptr %3, align 4
%88 = getelementptr inbounds [1024 x ptr], ptr %8, i64 0, i64 0
%89 = load i32, ptr %12, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load i32, ptr %9, align 4
%93 = load i32, ptr %12, align 4
%94 = sub nsw i32 %92, %93
%95 = call i32 (i32, ...) @send(i32 noundef %87, ptr noundef %91, i32 noundef %94, i32 noundef 0)
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %100
98: ; preds = %86
%99 = call i32 @perror(ptr noundef @.str.2)
br label %108
100: ; preds = %86
%101 = load i32, ptr %13, align 4
%102 = load i32, ptr %12, align 4
%103 = add nsw i32 %102, %101
store i32 %103, ptr %12, align 4
br label %82, !llvm.loop !6
104: ; preds = %82
br label %105
105: ; preds = %104
%106 = load i32, ptr %9, align 4
%107 = icmp sgt i32 %106, 0
br i1 %107, label %73, label %108, !llvm.loop !8
108: ; preds = %39, %47, %60, %68, %79, %98, %105
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @send(i32 noundef, ...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1f9rzd_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [14 x i8] c"stat() failed\00", align 1
@errno = dso_local global i64 0, align 8
@EACCES = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"File does not exist.\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"send() failed\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Reading file failed.\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"HTTP/1.0 200 OK\0AContent-Type: text/html; charset=UTF-8\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Content-Length: %zd\0A\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [14 x i8] c"open() failed\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"Sending %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"read() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_file(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
%7 = alloca i32, align 4
%8 = alloca [1024 x ptr], align 16
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @stat(ptr noundef %14, ptr noundef %6)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %40
18: ; preds = %2
%19 = call i32 @perror(ptr noundef @.str)
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @EACCES, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = call i32 (i32, ...) @send(i32 noundef %24, ptr noundef @.str.1, i32 noundef 20, i32 noundef 0)
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @perror(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %23
br label %39
31: ; preds = %18
%32 = load i32, ptr %3, align 4
%33 = call i32 (i32, ...) @send(i32 noundef %32, ptr noundef @.str.3, i32 noundef 20, i32 noundef 0)
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = call i32 @perror(ptr noundef @.str.2)
br label %38
38: ; preds = %36, %31
br label %39
39: ; preds = %38, %30
br label %110
40: ; preds = %2
%41 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %3, align 4
%44 = call i32 (i32, ...) @send(i32 noundef %43, ptr noundef @.str.4, i32 noundef 56, i32 noundef 0)
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %49
47: ; preds = %40
%48 = call i32 @perror(ptr noundef @.str.2)
br label %110
49: ; preds = %40
%50 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%51 = load i32, ptr %7, align 4
%52 = call i32 @snprintf(ptr noundef %50, i32 noundef 1024, ptr noundef @.str.5, i32 noundef %51)
%53 = load i32, ptr %3, align 4
%54 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%55 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%56 = call i32 @strlen(ptr noundef %55)
%57 = call i32 (i32, ...) @send(i32 noundef %53, ptr noundef %54, i32 noundef %56, i32 noundef 0)
store i32 %57, ptr %5, align 4
%58 = load i32, ptr %5, align 4
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %62
60: ; preds = %49
%61 = call i32 @perror(ptr noundef @.str.2)
br label %110
62: ; preds = %49
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr @O_RDONLY, align 4
%65 = call i32 @open(ptr noundef %63, i32 noundef %64)
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %66, -1
br i1 %67, label %68, label %70
68: ; preds = %62
%69 = call i32 @perror(ptr noundef @.str.6)
br label %110
70: ; preds = %62
%71 = load ptr, ptr %4, align 8
%72 = call i32 @printf(ptr noundef @.str.7, ptr noundef %71)
br label %73
73: ; preds = %107, %70
%74 = load i32, ptr %11, align 4
%75 = getelementptr inbounds [1024 x ptr], ptr %8, i64 0, i64 0
%76 = call i32 @read(i32 noundef %74, ptr noundef %75, i32 noundef 1024)
store i32 %76, ptr %9, align 4
%77 = load i32, ptr %9, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %81
79: ; preds = %73
%80 = call i32 @perror(ptr noundef @.str.8)
br label %110
81: ; preds = %73
store i32 0, ptr %12, align 4
%82 = load i32, ptr %12, align 4
%83 = load i32, ptr %9, align 4
%84 = icmp ne i32 %82, %83
br i1 %84, label %.lr.ph, label %106
.lr.ph: ; preds = %81
br label %85
85: ; preds = %.lr.ph, %99
%86 = load i32, ptr %3, align 4
%87 = getelementptr inbounds [1024 x ptr], ptr %8, i64 0, i64 0
%88 = load i32, ptr %12, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds ptr, ptr %87, i64 %89
%91 = load i32, ptr %9, align 4
%92 = load i32, ptr %12, align 4
%93 = sub nsw i32 %91, %92
%94 = call i32 (i32, ...) @send(i32 noundef %86, ptr noundef %90, i32 noundef %93, i32 noundef 0)
store i32 %94, ptr %13, align 4
%95 = load i32, ptr %13, align 4
%96 = icmp eq i32 %95, -1
br i1 %96, label %97, label %99
97: ; preds = %85
%98 = call i32 @perror(ptr noundef @.str.2)
br label %110
99: ; preds = %85
%100 = load i32, ptr %13, align 4
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, %100
store i32 %102, ptr %12, align 4
%103 = load i32, ptr %12, align 4
%104 = load i32, ptr %9, align 4
%105 = icmp ne i32 %103, %104
br i1 %105, label %85, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %99
br label %106
106: ; preds = %._crit_edge, %81
br label %107
107: ; preds = %106
%108 = load i32, ptr %9, align 4
%109 = icmp sgt i32 %108, 0
br i1 %109, label %73, label %.loopexit, !llvm.loop !8
.loopexit: ; preds = %107
br label %110
110: ; preds = %.loopexit, %97, %79, %68, %60, %47, %39
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @send(i32 noundef, ...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3zgmqv8v.c'
source_filename = "/tmp/tmp3zgmqv8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"A=%.4lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load double, ptr %2, align 8
%5 = fmul double 3.141590e+00, %4
%6 = load double, ptr %2, align 8
%7 = fmul double %5, %6
%8 = call i32 @printf(ptr noundef @.str.1, double noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zgmqv8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"A=%.4lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load double, ptr %2, align 8
%5 = fmul double 3.141590e+00, %4
%6 = load double, ptr %2, align 8
%7 = fmul double %5, %6
%8 = call i32 @printf(ptr noundef @.str.1, double noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdvcuox8s.c'
source_filename = "/tmp/tmpdvcuox8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn2() #0 {
%1 = alloca [128 x i64], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %14, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 128
br i1 %5, label %6, label %17
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = add nsw i64 %8, 1
%10 = mul nsw i64 %9, 81985529216486895
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [128 x i64], ptr %1, i64 0, i64 %12
store i64 %10, ptr %13, align 8
br label %14
14: ; preds = %6
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %3, !llvm.loop !6
17: ; preds = %3
%18 = getelementptr inbounds [128 x i64], ptr %1, i64 0, i64 0
%19 = call i32 @bar(ptr noundef %18)
ret void
}
declare i32 @bar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdvcuox8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn2() #0 {
%1 = alloca [128 x i64], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 128
br i1 %4, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %13
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = add nsw i64 %7, 1
%9 = mul nsw i64 %8, 81985529216486895
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [128 x i64], ptr %1, i64 0, i64 %11
store i64 %9, ptr %12, align 8
br label %13
13: ; preds = %5
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 128
br i1 %17, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = getelementptr inbounds [128 x i64], ptr %1, i64 0, i64 0
%20 = call i32 @bar(ptr noundef %19)
ret void
}
declare i32 @bar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1p39ppso.c'
source_filename = "/tmp/tmp1p39ppso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @random_population(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%11 = call i32 @time(ptr noundef null)
%12 = call i32 @srand(i32 noundef %11)
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %52, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %55
17: ; preds = %13
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %48, %17
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %51
22: ; preds = %18
%23 = call i64 (...) @rand()
%24 = sitofp i64 %23 to double
%25 = load double, ptr @RAND_MAX, align 8
%26 = fdiv double %24, %25
%27 = load double, ptr %8, align 8
%28 = fcmp olt double %26, %27
br i1 %28, label %29, label %38
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 1, ptr %37, align 4
br label %47
38: ; preds = %22
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 0, ptr %46, align 4
br label %47
47: ; preds = %38, %29
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
br label %18, !llvm.loop !6
51: ; preds = %18
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %13, !llvm.loop !8
55: ; preds = %13
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1p39ppso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @random_population(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%11 = call i32 @time(ptr noundef null)
%12 = call i32 @srand(i32 noundef %11)
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph2, label %59
.lr.ph2: ; preds = %4
br label %16
16: ; preds = %.lr.ph2, %53
store i32 0, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %52
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %46
%21 = call i64 (...) @rand()
%22 = sitofp i64 %21 to double
%23 = load double, ptr @RAND_MAX, align 8
%24 = fdiv double %22, %23
%25 = load double, ptr %8, align 8
%26 = fcmp olt double %24, %25
br i1 %26, label %27, label %36
27: ; preds = %20
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 1, ptr %35, align 4
br label %45
36: ; preds = %20
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
store i32 0, ptr %44, align 4
br label %45
45: ; preds = %36, %27
br label %46
46: ; preds = %45
%47 = load i32, ptr %10, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %16
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %4
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyy0h13i4.c'
source_filename = "/tmp/tmpyy0h13i4.c"
target datalayout = "e-m:e-p270: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/tmpyy0h13i4.c"
target datalayout = "e-m:e-p270: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/tmphy86_vnt.c'
source_filename = "/tmp/tmphy86_vnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdt_get_path(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fdt_check_header(ptr noundef %17)
store i32 %18, ptr %16, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = load i32, ptr %16, align 4
store i32 %21, ptr %5, align 4
br label %135
22: ; preds = %4
%23 = load i32, ptr %9, align 4
%24 = icmp slt i32 %23, 2
br i1 %24, label %25, label %26
25: ; preds = %22
store i32 -3, ptr %5, align 4
br label %135
26: ; preds = %22
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %27
27: ; preds = %117, %26
%28 = load i32, ptr %12, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sle i32 %31, %32
br label %34
34: ; preds = %30, %27
%35 = phi i1 [ false, %27 ], [ %33, %30 ]
br i1 %35, label %36, label %121
36: ; preds = %34
br label %37
37: ; preds = %54, %36
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %13, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %41, label %57
41: ; preds = %37
br label %42
42: ; preds = %45, %41
%43 = load i32, ptr %11, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %11, align 4
br label %45
45: ; preds = %42
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %11, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 47
br i1 %53, label %42, label %54, !llvm.loop !6
54: ; preds = %45
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %10, align 4
br label %37, !llvm.loop !8
57: ; preds = %37
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %13, align 4
%60 = icmp sge i32 %58, %59
br i1 %60, label %61, label %95
61: ; preds = %57
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %12, align 4
%64 = call ptr @fdt_get_name(ptr noundef %62, i32 noundef %63, ptr noundef %14)
store ptr %64, ptr %15, align 8
%65 = load ptr, ptr %15, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %69, label %67
67: ; preds = %61
%68 = load i32, ptr %14, align 4
store i32 %68, ptr %5, align 4
br label %135
69: ; preds = %61
%70 = load i32, ptr %11, align 4
%71 = load i32, ptr %14, align 4
%72 = add nsw i32 %70, %71
%73 = add nsw i32 %72, 1
%74 = load i32, ptr %9, align 4
%75 = icmp sle i32 %73, %74
br i1 %75, label %76, label %94
76: ; preds = %69
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %11, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load ptr, ptr %15, align 8
%82 = load i32, ptr %14, align 4
%83 = call i32 @memcpy(ptr noundef %80, ptr noundef %81, i32 noundef %82)
%84 = load i32, ptr %14, align 4
%85 = load i32, ptr %11, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %11, align 4
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %11, align 4
%90 = sext i32 %88 to i64
%91 = getelementptr inbounds i8, ptr %87, i64 %90
store i8 47, ptr %91, align 1
%92 = load i32, ptr %10, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %10, align 4
br label %94
94: ; preds = %76, %69
br label %95
95: ; preds = %94, %57
%96 = load i32, ptr %12, align 4
%97 = load i32, ptr %7, align 4
%98 = icmp eq i32 %96, %97
br i1 %98, label %99, label %116
99: ; preds = %95
%100 = load i32, ptr %10, align 4
%101 = load i32, ptr %13, align 4
%102 = add nsw i32 %101, 1
%103 = icmp slt i32 %100, %102
br i1 %103, label %104, label %105
104: ; preds = %99
store i32 -3, ptr %5, align 4
br label %135
105: ; preds = %99
%106 = load i32, ptr %11, align 4
%107 = icmp sgt i32 %106, 1
br i1 %107, label %108, label %111
108: ; preds = %105
%109 = load i32, ptr %11, align 4
%110 = add nsw i32 %109, -1
store i32 %110, ptr %11, align 4
br label %111
111: ; preds = %108, %105
%112 = load ptr, ptr %8, align 8
%113 = load i32, ptr %11, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
store i8 0, ptr %115, align 1
store i32 0, ptr %5, align 4
br label %135
116: ; preds = %95
br label %117
117: ; preds = %116
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %12, align 4
%120 = call i32 @fdt_next_node(ptr noundef %118, i32 noundef %119, ptr noundef %13)
store i32 %120, ptr %12, align 4
br label %27, !llvm.loop !9
121: ; preds = %34
%122 = load i32, ptr %12, align 4
%123 = icmp eq i32 %122, -1
br i1 %123, label %127, label %124
124: ; preds = %121
%125 = load i32, ptr %12, align 4
%126 = icmp sge i32 %125, 0
br i1 %126, label %127, label %128
127: ; preds = %124, %121
store i32 -4, ptr %5, align 4
br label %135
128: ; preds = %124
%129 = load i32, ptr %12, align 4
%130 = icmp eq i32 %129, -4
br i1 %130, label %131, label %132
131: ; preds = %128
store i32 -11, ptr %5, align 4
br label %135
132: ; preds = %128
br label %133
133: ; preds = %132
%134 = load i32, ptr %12, align 4
store i32 %134, ptr %5, align 4
br label %135
135: ; preds = %133, %131, %127, %111, %104, %67, %25, %20
%136 = load i32, ptr %5, align 4
ret i32 %136
}
declare i32 @fdt_check_header(ptr noundef) #1
declare ptr @fdt_get_name(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fdt_next_node(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphy86_vnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdt_get_path(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fdt_check_header(ptr noundef %17)
store i32 %18, ptr %16, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = load i32, ptr %16, align 4
store i32 %21, ptr %5, align 4
br label %137
22: ; preds = %4
%23 = load i32, ptr %9, align 4
%24 = icmp slt i32 %23, 2
br i1 %24, label %25, label %26
25: ; preds = %22
store i32 -3, ptr %5, align 4
br label %137
26: ; preds = %22
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %27
27: ; preds = %119, %26
%28 = load i32, ptr %12, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sle i32 %31, %32
br label %34
34: ; preds = %30, %27
%35 = phi i1 [ false, %27 ], [ %33, %30 ]
br i1 %35, label %36, label %123
36: ; preds = %34
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %13, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %.lr.ph, label %59
.lr.ph: ; preds = %36
br label %40
40: ; preds = %.lr.ph, %53
br label %41
41: ; preds = %44, %40
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %11, align 4
br label %44
44: ; preds = %41
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %11, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %45, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 47
br i1 %52, label %41, label %53, !llvm.loop !6
53: ; preds = %44
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, -1
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %13, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %40, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %36
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %13, align 4
%62 = icmp sge i32 %60, %61
br i1 %62, label %63, label %97
63: ; preds = %59
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %12, align 4
%66 = call ptr @fdt_get_name(ptr noundef %64, i32 noundef %65, ptr noundef %14)
store ptr %66, ptr %15, align 8
%67 = load ptr, ptr %15, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %71, label %69
69: ; preds = %63
%70 = load i32, ptr %14, align 4
store i32 %70, ptr %5, align 4
br label %137
71: ; preds = %63
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %14, align 4
%74 = add nsw i32 %72, %73
%75 = add nsw i32 %74, 1
%76 = load i32, ptr %9, align 4
%77 = icmp sle i32 %75, %76
br i1 %77, label %78, label %96
78: ; preds = %71
%79 = load ptr, ptr %8, align 8
%80 = load i32, ptr %11, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load ptr, ptr %15, align 8
%84 = load i32, ptr %14, align 4
%85 = call i32 @memcpy(ptr noundef %82, ptr noundef %83, i32 noundef %84)
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %11, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %11, align 4
%89 = load ptr, ptr %8, align 8
%90 = load i32, ptr %11, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %11, align 4
%92 = sext i32 %90 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
store i8 47, ptr %93, align 1
%94 = load i32, ptr %10, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %10, align 4
br label %96
96: ; preds = %78, %71
br label %97
97: ; preds = %96, %59
%98 = load i32, ptr %12, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %118
101: ; preds = %97
%102 = load i32, ptr %10, align 4
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 1
%105 = icmp slt i32 %102, %104
br i1 %105, label %106, label %107
106: ; preds = %101
store i32 -3, ptr %5, align 4
br label %137
107: ; preds = %101
%108 = load i32, ptr %11, align 4
%109 = icmp sgt i32 %108, 1
br i1 %109, label %110, label %113
110: ; preds = %107
%111 = load i32, ptr %11, align 4
%112 = add nsw i32 %111, -1
store i32 %112, ptr %11, align 4
br label %113
113: ; preds = %110, %107
%114 = load ptr, ptr %8, align 8
%115 = load i32, ptr %11, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 0, ptr %117, align 1
store i32 0, ptr %5, align 4
br label %137
118: ; preds = %97
br label %119
119: ; preds = %118
%120 = load ptr, ptr %6, align 8
%121 = load i32, ptr %12, align 4
%122 = call i32 @fdt_next_node(ptr noundef %120, i32 noundef %121, ptr noundef %13)
store i32 %122, ptr %12, align 4
br label %27, !llvm.loop !9
123: ; preds = %34
%124 = load i32, ptr %12, align 4
%125 = icmp eq i32 %124, -1
br i1 %125, label %129, label %126
126: ; preds = %123
%127 = load i32, ptr %12, align 4
%128 = icmp sge i32 %127, 0
br i1 %128, label %129, label %130
129: ; preds = %126, %123
store i32 -4, ptr %5, align 4
br label %137
130: ; preds = %126
%131 = load i32, ptr %12, align 4
%132 = icmp eq i32 %131, -4
br i1 %132, label %133, label %134
133: ; preds = %130
store i32 -11, ptr %5, align 4
br label %137
134: ; preds = %130
br label %135
135: ; preds = %134
%136 = load i32, ptr %12, align 4
store i32 %136, ptr %5, align 4
br label %137
137: ; preds = %135, %133, %129, %113, %106, %69, %25, %20
%138 = load i32, ptr %5, align 4
ret i32 %138
}
declare i32 @fdt_check_header(ptr noundef) #1
declare ptr @fdt_get_name(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fdt_next_node(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp1c1isz56.c'
source_filename = "/tmp/tmp1c1isz56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug_c.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%.12lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_memory_structure_dense_to_file(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %20, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds float, ptr %14, i64 %16
%18 = load float, ptr %17, align 4
%19 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.2, float noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @fclose(ptr noundef %24)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, float noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1c1isz56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug_c.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%.12lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_memory_structure_dense_to_file(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds float, ptr %13, i64 %15
%17 = load float, ptr %16, align 4
%18 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.2, float noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = load ptr, ptr %5, align 8
%27 = call i32 @fclose(ptr noundef %26)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, float noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1rc3pg6l.c'
source_filename = "/tmp/tmp1rc3pg6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %0, %25
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %18, %3
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %21
9: ; preds = %6
%10 = load i32, ptr %1, align 4
%11 = icmp sge i32 0, %10
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load i32, ptr %1, align 4
%15 = icmp sle i32 %14, 10
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
br label %18
18: ; preds = %9
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
%22 = load i32, ptr %1, align 4
%23 = icmp sgt i32 %22, 9
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 0, ptr %1, align 4
br label %25
25: ; preds = %24, %21
br label %3
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1rc3pg6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %26, %0
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
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 %22
.lr.ph: ; preds = %3
br label %8
8: ; preds = %.lr.ph, %17
%9 = load i32, ptr %1, align 4
%10 = icmp sge i32 0, %9
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = icmp sle i32 %13, 10
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
br label %17
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %3
%23 = load i32, ptr %1, align 4
%24 = icmp sgt i32 %23, 9
br i1 %24, label %25, label %26
25: ; preds = %22
store i32 0, ptr %1, align 4
br label %26
26: ; preds = %25, %22
br label %3
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuhbonz5g.c'
source_filename = "/tmp/tmpuhbonz5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This output produced by ExportedFromExe.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ExportedFromExe() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuhbonz5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This output produced by ExportedFromExe.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ExportedFromExe() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe0v8m09s.c'
source_filename = "/tmp/tmpe0v8m09s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ignoredReturnValue(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sqlite3_malloc(i32 noundef 10)
%4 = call i32 @sqlite3_malloc64(i32 noundef 5)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sqlite3_msize(ptr noundef %5)
ret void
}
declare i32 @sqlite3_malloc(i32 noundef) #1
declare i32 @sqlite3_malloc64(i32 noundef) #1
declare i32 @sqlite3_msize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0v8m09s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ignoredReturnValue(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sqlite3_malloc(i32 noundef 10)
%4 = call i32 @sqlite3_malloc64(i32 noundef 5)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sqlite3_msize(ptr noundef %5)
ret void
}
declare i32 @sqlite3_malloc(i32 noundef) #1
declare i32 @sqlite3_malloc64(i32 noundef) #1
declare i32 @sqlite3_msize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp56ut6lns.c'
source_filename = "/tmp/tmp56ut6lns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkRange(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 %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %3, align 4
br label %15
14: ; preds = %10
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %13, %9
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp56ut6lns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkRange(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 %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %3, align 4
br label %15
14: ; preds = %10
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %13, %9
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt4g3fzn3.c'
source_filename = "/tmp/tmpt4g3fzn3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_finish() #0 {
%1 = call i32 (...) @ERR_free_strings()
ret void
}
declare i32 @ERR_free_strings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4g3fzn3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_finish() #0 {
%1 = call i32 (...) @ERR_free_strings()
ret void
}
declare i32 @ERR_free_strings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu3yp4ywi.c'
source_filename = "/tmp/tmpu3yp4ywi.c"
target datalayout = "e-m:e-p270: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/tmpu3yp4ywi.c"
target datalayout = "e-m:e-p270: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/tmp08rcehas.c'
source_filename = "/tmp/tmp08rcehas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Informe um numero inteiro positivo: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"S = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @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 @S(i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @S(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/tmp08rcehas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Informe um numero inteiro positivo: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"S = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @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 @S(i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @S(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/tmp7f_wea29.c'
source_filename = "/tmp/tmp7f_wea29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetAudioLanguageInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %18, label %15
15: ; preds = %4
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %15, %4
store i32 0, ptr %5, align 4
br label %90
19: ; preds = %15
store i32 0, ptr %12, align 4
%20 = load ptr, ptr %8, align 8
store i64 0, ptr %20, align 8
%21 = load ptr, ptr %9, align 8
store i8 0, ptr %21, align 1
br label %22
22: ; preds = %85, %19
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %89
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
store i8 %31, ptr %10, align 1
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %12, align 4
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 %39, 2
store i32 %40, ptr %12, align 4
%41 = load i8, ptr %10, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %42, 10
br i1 %43, label %44, label %85
44: ; preds = %26
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %7, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %50, label %85
50: ; preds = %44
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %12, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = zext i8 %55 to i32
%57 = shl i32 %56, 24
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %12, align 4
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %58, i64 %61
%63 = load i8, ptr %62, align 1
%64 = zext i8 %63 to i32
%65 = shl i32 %64, 16
%66 = or i32 %57, %65
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %12, align 4
%69 = add nsw i32 %68, 2
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
%72 = load i8, ptr %71, align 1
%73 = zext i8 %72 to i32
%74 = shl i32 %73, 8
%75 = or i32 %66, %74
%76 = sext i32 %75 to i64
%77 = load ptr, ptr %8, align 8
store i64 %76, ptr %77, align 8
%78 = load ptr, ptr %6, align 8
%79 = load i32, ptr %12, align 4
%80 = add nsw i32 %79, 3
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %78, i64 %81
%83 = load i8, ptr %82, align 1
%84 = load ptr, ptr %9, align 8
store i8 %83, ptr %84, align 1
store i32 1, ptr %5, align 4
br label %90
85: ; preds = %44, %26
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %12, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %12, align 4
br label %22, !llvm.loop !6
89: ; preds = %22
store i32 0, ptr %5, align 4
br label %90
90: ; preds = %89, %50, %18
%91 = load i32, ptr %5, align 4
ret i32 %91
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7f_wea29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetAudioLanguageInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %18, label %15
15: ; preds = %4
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %15, %4
store i32 0, ptr %5, align 4
br label %92
19: ; preds = %15
store i32 0, ptr %12, align 4
%20 = load ptr, ptr %8, align 8
store i64 0, ptr %20, align 8
%21 = load ptr, ptr %9, align 8
store i8 0, ptr %21, align 1
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %91
.lr.ph: ; preds = %19
br label %25
25: ; preds = %.lr.ph, %84
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %12, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
store i8 %30, ptr %10, align 1
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %12, align 4
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
store i32 %37, ptr %11, align 4
%38 = load i32, ptr %12, align 4
%39 = add nsw i32 %38, 2
store i32 %39, ptr %12, align 4
%40 = load i8, ptr %10, align 1
%41 = zext i8 %40 to i32
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %84
43: ; preds = %25
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %44, %45
%47 = load i32, ptr %7, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %49, label %84
49: ; preds = %43
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = shl i32 %55, 24
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %12, align 4
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
%62 = load i8, ptr %61, align 1
%63 = zext i8 %62 to i32
%64 = shl i32 %63, 16
%65 = or i32 %56, %64
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = add nsw i32 %67, 2
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = load i8, ptr %70, align 1
%72 = zext i8 %71 to i32
%73 = shl i32 %72, 8
%74 = or i32 %65, %73
%75 = sext i32 %74 to i64
%76 = load ptr, ptr %8, align 8
store i64 %75, ptr %76, align 8
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %12, align 4
%79 = add nsw i32 %78, 3
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %77, i64 %80
%82 = load i8, ptr %81, align 1
%83 = load ptr, ptr %9, align 8
store i8 %82, ptr %83, align 1
store i32 1, ptr %5, align 4
br label %92
84: ; preds = %43, %25
%85 = load i32, ptr %11, align 4
%86 = load i32, ptr %12, align 4
%87 = add nsw i32 %86, %85
store i32 %87, ptr %12, align 4
%88 = load i32, ptr %12, align 4
%89 = load i32, ptr %7, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %91
91: ; preds = %._crit_edge, %19
store i32 0, ptr %5, align 4
br label %92
92: ; preds = %91, %49, %18
%93 = load i32, ptr %5, align 4
ret i32 %93
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprytfoof6.c'
source_filename = "/tmp/tmprytfoof6.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"Invalid number of arguments, use: mikill <num signal> <pid>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Invalid signal, try again\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Invalid pid, try again\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Can't kill pid %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Killed pid - %d - with signal - %d -\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%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 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @_exit(i32 noundef %13) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %15
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @_exit(i32 noundef %24) #3
unreachable
26: ; preds = %15
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %6, align 4
%31 = icmp sle i32 %30, 1
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i32, ptr @stderr, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @_exit(i32 noundef %35) #3
unreachable
37: ; preds = %26
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %7, align 4
%40 = call i32 @kill(i32 noundef %38, i32 noundef %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %48
42: ; preds = %37
%43 = load i32, ptr @stderr, align 4
%44 = load i32, ptr %6, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, i32 noundef %44)
%46 = load i32, ptr @EXIT_FAILURE, align 4
%47 = call i32 @_exit(i32 noundef %46) #3
unreachable
48: ; preds = %37
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %7, align 4
%51 = call i32 @printf(ptr noundef @.str.4, i32 noundef %49, i32 noundef %50)
%52 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %52
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmprytfoof6.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"Invalid number of arguments, use: mikill <num signal> <pid>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Invalid signal, try again\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Invalid pid, try again\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Can't kill pid %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Killed pid - %d - with signal - %d -\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%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 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @_exit(i32 noundef %13) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %15
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @_exit(i32 noundef %24) #3
unreachable
26: ; preds = %15
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %6, align 4
%31 = icmp sle i32 %30, 1
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i32, ptr @stderr, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @_exit(i32 noundef %35) #3
unreachable
37: ; preds = %26
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %7, align 4
%40 = call i32 @kill(i32 noundef %38, i32 noundef %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %48
42: ; preds = %37
%43 = load i32, ptr @stderr, align 4
%44 = load i32, ptr %6, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, i32 noundef %44)
%46 = load i32, ptr @EXIT_FAILURE, align 4
%47 = call i32 @_exit(i32 noundef %46) #3
unreachable
48: ; preds = %37
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %7, align 4
%51 = call i32 @printf(ptr noundef @.str.4, i32 noundef %49, i32 noundef %50)
%52 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %52
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpfb6w5tus.c'
source_filename = "/tmp/tmpfb6w5tus.c"
target datalayout = "e-m:e-p270: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/tmpfb6w5tus.c"
target datalayout = "e-m:e-p270: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/tmpa9mb6di0.c'
source_filename = "/tmp/tmpa9mb6di0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_unshare(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 i64 @shim_enosys(i32 noundef 0, i32 noundef %3)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @shim_enosys(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/tmpa9mb6di0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_unshare(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 i64 @shim_enosys(i32 noundef 0, i32 noundef %3)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @shim_enosys(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/tmpofjjeoj3.c'
source_filename = "/tmp/tmpofjjeoj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Starting Libevent %s. Available methods are:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c" %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Couldn't get an event_base!\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Using Libevent with backend method %s.\00", align 1
@EV_FEATURE_ET = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c" Edge-triggered events are supported.\00", align 1
@EV_FEATURE_O1 = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [40 x i8] c" O(1) event notification is supported.\00", align 1
@EV_FEATURE_FDS = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [30 x i8] c" All FD types are supported.\00", align 1
@.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call ptr (...) @event_get_supported_methods()
store ptr %11, ptr %7, align 8
%12 = call ptr (...) @event_get_version()
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %28, %2
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %31
21: ; preds = %14
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = call ptr (...) @event_config_new()
store ptr %32, ptr %9, align 8
%33 = load ptr, ptr %9, align 8
%34 = call ptr @event_base_new_with_config(ptr noundef %33)
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %8, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %39, label %37
37: ; preds = %31
%38 = call i32 @puts(ptr noundef @.str.2)
br label %67
39: ; preds = %31
%40 = load ptr, ptr %8, align 8
%41 = call ptr @event_base_get_method(ptr noundef %40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = call i32 @event_base_get_features(ptr noundef %43)
store i32 %44, ptr %10, align 4
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr @EV_FEATURE_ET, align 4
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %39
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %51
51: ; preds = %49, %39
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr @EV_FEATURE_O1, align 4
%54 = and i32 %52, %53
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %51
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %58
58: ; preds = %56, %51
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr @EV_FEATURE_FDS, align 4
%61 = and i32 %59, %60
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %65
65: ; preds = %63, %58
%66 = call i32 @puts(ptr noundef @.str.7)
br label %67
67: ; preds = %65, %37
ret i32 0
}
declare ptr @event_get_supported_methods(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @event_get_version(...) #1
declare ptr @event_config_new(...) #1
declare ptr @event_base_new_with_config(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare ptr @event_base_get_method(ptr noundef) #1
declare i32 @event_base_get_features(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpofjjeoj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Starting Libevent %s. Available methods are:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c" %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Couldn't get an event_base!\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Using Libevent with backend method %s.\00", align 1
@EV_FEATURE_ET = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c" Edge-triggered events are supported.\00", align 1
@EV_FEATURE_O1 = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [40 x i8] c" O(1) event notification is supported.\00", align 1
@EV_FEATURE_FDS = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [30 x i8] c" All FD types are supported.\00", align 1
@.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call ptr (...) @event_get_supported_methods()
store ptr %11, ptr %7, align 8
%12 = call ptr (...) @event_get_version()
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %6, align 4
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %27
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %36
36: ; preds = %._crit_edge, %2
%37 = call ptr (...) @event_config_new()
store ptr %37, ptr %9, align 8
%38 = load ptr, ptr %9, align 8
%39 = call ptr @event_base_new_with_config(ptr noundef %38)
store ptr %39, ptr %8, align 8
%40 = load ptr, ptr %8, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %44, label %42
42: ; preds = %36
%43 = call i32 @puts(ptr noundef @.str.2)
br label %72
44: ; preds = %36
%45 = load ptr, ptr %8, align 8
%46 = call ptr @event_base_get_method(ptr noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46)
%48 = load ptr, ptr %8, align 8
%49 = call i32 @event_base_get_features(ptr noundef %48)
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr @EV_FEATURE_ET, align 4
%52 = and i32 %50, %51
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %44
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %56
56: ; preds = %54, %44
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr @EV_FEATURE_O1, align 4
%59 = and i32 %57, %58
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %63
63: ; preds = %61, %56
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr @EV_FEATURE_FDS, align 4
%66 = and i32 %64, %65
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %63
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %70
70: ; preds = %68, %63
%71 = call i32 @puts(ptr noundef @.str.7)
br label %72
72: ; preds = %70, %42
ret i32 0
}
declare ptr @event_get_supported_methods(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @event_get_version(...) #1
declare ptr @event_config_new(...) #1
declare ptr @event_base_new_with_config(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare ptr @event_base_get_method(ptr noundef) #1
declare i32 @event_base_get_features(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7bdb6b8u.c'
source_filename = "/tmp/tmp7bdb6b8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 0 for <\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x3c() #0 {
%1 = call i64 @isupper(i32 noundef 60)
%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 305, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmp7bdb6b8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 0 for <\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x3c() #0 {
%1 = call i64 @isupper(i32 noundef 60)
%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 305, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmpy1byv69u.c'
source_filename = "/tmp/tmpy1byv69u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_arr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1byv69u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_arr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9j2kb_pd.c'
source_filename = "/tmp/tmp9j2kb_pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createBitVector(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %34, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %5
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %10, align 1
%12 = call i32 @isEnglishLetter(i8 noundef signext %11)
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %34
14: ; preds = %9
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = call i32 @tolower(i8 noundef signext %16)
%18 = sub nsw i32 %17, 96
%19 = shl i32 1, %18
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = and i32 %20, %21
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %14
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = or i32 %26, %25
store i32 %27, ptr %4, align 4
br label %33
28: ; preds = %14
%29 = load i32, ptr %3, align 4
%30 = xor i32 %29, -1
%31 = load i32, ptr %4, align 4
%32 = and i32 %31, %30
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %28, %24
br label %34
34: ; preds = %33, %9
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %2, align 8
br label %5, !llvm.loop !6
37: ; preds = %5
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @isEnglishLetter(i8 noundef signext) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9j2kb_pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createBitVector(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %39
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %33
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i32 @isEnglishLetter(i8 noundef signext %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %33
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = call i32 @tolower(i8 noundef signext %15)
%17 = sub nsw i32 %16, 96
%18 = shl i32 1, %17
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = and i32 %19, %20
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %13
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %4, align 4
br label %32
27: ; preds = %13
%28 = load i32, ptr %3, align 4
%29 = xor i32 %28, -1
%30 = load i32, ptr %4, align 4
%31 = and i32 %30, %29
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %27, %23
br label %33
33: ; preds = %32, %8
%34 = load ptr, ptr %2, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %2, align 8
%36 = load ptr, ptr %2, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %1
%40 = load i32, ptr %4, align 4
ret i32 %40
}
declare i32 @isEnglishLetter(i8 noundef signext) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpigk_nzfd.c'
source_filename = "/tmp/tmpigk_nzfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 1000, %3
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(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/tmpigk_nzfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 1000, %3
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(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/tmpz3xit9el.c'
source_filename = "/tmp/tmpz3xit9el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Server: Unable to set a new session.\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"Server: Unable to set controlling terminal.\00", align 1
@STDIN_FILENO = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [43 x i8] c"Server: Unable to redirect standard input.\00", align 1
@STDOUT_FILENO = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [44 x i8] c"Server: Unable to redirect standard output.\00", align 1
@STDERR_FILENO = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [50 x i8] c"Server: Unable to redirect standard error output.\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"bash\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"Server: Unable to execute Bash in terminal.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @run_pty_shell(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (...) @setsid()
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = call i32 @perror(ptr noundef @.str)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr @O_RDWR, align 4
%15 = call i32 @open(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = call i32 @perror(ptr noundef @.str.1)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %12
%22 = load i32, ptr %5, align 4
%23 = load i64, ptr @STDIN_FILENO, align 8
%24 = call i64 @dup2(i32 noundef %22, i64 noundef %23)
%25 = load i64, ptr @STDIN_FILENO, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %31
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.2)
%29 = load i32, ptr @EXIT_FAILURE, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
31: ; preds = %21
%32 = load i32, ptr %5, align 4
%33 = load i64, ptr @STDOUT_FILENO, align 8
%34 = call i64 @dup2(i32 noundef %32, i64 noundef %33)
%35 = load i64, ptr @STDOUT_FILENO, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %31
%38 = call i32 @perror(ptr noundef @.str.3)
%39 = load i32, ptr @EXIT_FAILURE, align 4
%40 = call i32 @exit(i32 noundef %39) #3
unreachable
41: ; preds = %31
%42 = load i32, ptr %5, align 4
%43 = load i64, ptr @STDERR_FILENO, align 8
%44 = call i64 @dup2(i32 noundef %42, i64 noundef %43)
%45 = load i64, ptr @STDERR_FILENO, align 8
%46 = icmp ne i64 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %41
%48 = call i32 @perror(ptr noundef @.str.4)
%49 = load i32, ptr @EXIT_FAILURE, align 4
%50 = call i32 @exit(i32 noundef %49) #3
unreachable
51: ; preds = %41
%52 = call i32 @execlp(ptr noundef @.str.5, ptr noundef @.str.5, ptr noundef null)
%53 = call i32 @perror(ptr noundef @.str.6)
%54 = load i32, ptr @EXIT_FAILURE, align 4
%55 = call i32 @exit(i32 noundef %54) #3
unreachable
}
declare i32 @setsid(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @dup2(i32 noundef, i64 noundef) #1
declare i32 @execlp(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" }
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/tmpz3xit9el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Server: Unable to set a new session.\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"Server: Unable to set controlling terminal.\00", align 1
@STDIN_FILENO = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [43 x i8] c"Server: Unable to redirect standard input.\00", align 1
@STDOUT_FILENO = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [44 x i8] c"Server: Unable to redirect standard output.\00", align 1
@STDERR_FILENO = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [50 x i8] c"Server: Unable to redirect standard error output.\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"bash\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"Server: Unable to execute Bash in terminal.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @run_pty_shell(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (...) @setsid()
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = call i32 @perror(ptr noundef @.str)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr @O_RDWR, align 4
%15 = call i32 @open(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = call i32 @perror(ptr noundef @.str.1)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %12
%22 = load i32, ptr %5, align 4
%23 = load i64, ptr @STDIN_FILENO, align 8
%24 = call i64 @dup2(i32 noundef %22, i64 noundef %23)
%25 = load i64, ptr @STDIN_FILENO, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %31
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.2)
%29 = load i32, ptr @EXIT_FAILURE, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
31: ; preds = %21
%32 = load i32, ptr %5, align 4
%33 = load i64, ptr @STDOUT_FILENO, align 8
%34 = call i64 @dup2(i32 noundef %32, i64 noundef %33)
%35 = load i64, ptr @STDOUT_FILENO, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %31
%38 = call i32 @perror(ptr noundef @.str.3)
%39 = load i32, ptr @EXIT_FAILURE, align 4
%40 = call i32 @exit(i32 noundef %39) #3
unreachable
41: ; preds = %31
%42 = load i32, ptr %5, align 4
%43 = load i64, ptr @STDERR_FILENO, align 8
%44 = call i64 @dup2(i32 noundef %42, i64 noundef %43)
%45 = load i64, ptr @STDERR_FILENO, align 8
%46 = icmp ne i64 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %41
%48 = call i32 @perror(ptr noundef @.str.4)
%49 = load i32, ptr @EXIT_FAILURE, align 4
%50 = call i32 @exit(i32 noundef %49) #3
unreachable
51: ; preds = %41
%52 = call i32 @execlp(ptr noundef @.str.5, ptr noundef @.str.5, ptr noundef null)
%53 = call i32 @perror(ptr noundef @.str.6)
%54 = load i32, ptr @EXIT_FAILURE, align 4
%55 = call i32 @exit(i32 noundef %54) #3
unreachable
}
declare i32 @setsid(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @dup2(i32 noundef, i64 noundef) #1
declare i32 @execlp(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" }
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/tmpopf7e3gn.c'
source_filename = "/tmp/tmpopf7e3gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cosatanf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @atanf(float noundef %3)
%5 = call float @cosf(i32 noundef %4)
ret float %5
}
declare float @cosf(i32 noundef) #1
declare i32 @atanf(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/tmpopf7e3gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cosatanf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @atanf(float noundef %3)
%5 = call float @cosf(i32 noundef %4)
ret float %5
}
declare float @cosf(i32 noundef) #1
declare i32 @atanf(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/tmp77om2cgj.c'
source_filename = "/tmp/tmp77om2cgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%7.5f \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 @printvec(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = zext i32 %6 to i64
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %20, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = load i32, ptr @stdout, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
%18 = load double, ptr %17, align 8
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, double noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load i32, ptr @stdout, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77om2cgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%7.5f \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 @printvec(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = zext i32 %6 to i64
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load i32, ptr @stdout, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, double noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i32, ptr @stdout, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4c4kw1su.c'
source_filename = "/tmp/tmp4c4kw1su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xc0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0xc0() #0 {
%1 = call i64 @isodigit(i32 noundef 192)
%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 965, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp4c4kw1su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xc0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0xc0() #0 {
%1 = call i64 @isodigit(i32 noundef 192)
%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 965, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_6pwc6yz.c'
source_filename = "/tmp/tmp_6pwc6yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sysinfo = type { i64, double, double, double }
@.str = private unnamed_addr constant [43 x i8] c"system uptime : %ld days, %ld:%02ld:%02ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"total RAM : %5.1f MB\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"free RAM : %5.1f MB\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"process count : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
%6 = alloca %struct.sysinfo, align 8
store i32 0, ptr %1, align 4
store i64 60, ptr %2, align 8
store i64 3600, ptr %3, align 8
store i64 86400, ptr %4, align 8
store double 0x4130000000000000, ptr %5, align 8
%7 = call i32 @sysinfo(ptr noundef %6)
%8 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = sdiv i64 %9, 86400
%11 = sitofp i64 %10 to double
%12 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = srem i64 %13, 86400
%15 = sdiv i64 %14, 3600
%16 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = srem i64 %17, 3600
%19 = sdiv i64 %18, 60
%20 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = srem i64 %21, 60
%23 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %11, i64 noundef %15, i64 noundef %19, i64 noundef %22)
%24 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 1
%25 = load double, ptr %24, align 8
%26 = fdiv double %25, 0x4130000000000000
%27 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %26)
%28 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 2
%29 = load double, ptr %28, align 8
%30 = fdiv double %29, 0x4130000000000000
%31 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %30)
%32 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 3
%33 = load double, ptr %32, align 8
%34 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %33)
ret i32 0
}
declare i32 @sysinfo(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_6pwc6yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sysinfo = type { i64, double, double, double }
@.str = private unnamed_addr constant [43 x i8] c"system uptime : %ld days, %ld:%02ld:%02ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"total RAM : %5.1f MB\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"free RAM : %5.1f MB\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"process count : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
%6 = alloca %struct.sysinfo, align 8
store i32 0, ptr %1, align 4
store i64 60, ptr %2, align 8
store i64 3600, ptr %3, align 8
store i64 86400, ptr %4, align 8
store double 0x4130000000000000, ptr %5, align 8
%7 = call i32 @sysinfo(ptr noundef %6)
%8 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = sdiv i64 %9, 86400
%11 = sitofp i64 %10 to double
%12 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = srem i64 %13, 86400
%15 = sdiv i64 %14, 3600
%16 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = srem i64 %17, 3600
%19 = sdiv i64 %18, 60
%20 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = srem i64 %21, 60
%23 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %11, i64 noundef %15, i64 noundef %19, i64 noundef %22)
%24 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 1
%25 = load double, ptr %24, align 8
%26 = fdiv double %25, 0x4130000000000000
%27 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %26)
%28 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 2
%29 = load double, ptr %28, align 8
%30 = fdiv double %29, 0x4130000000000000
%31 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %30)
%32 = getelementptr inbounds %struct.sysinfo, ptr %6, i32 0, i32 3
%33 = load double, ptr %32, align 8
%34 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %33)
ret i32 0
}
declare i32 @sysinfo(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7b8ltf60.c'
source_filename = "/tmp/tmp7b8ltf60.c"
target datalayout = "e-m:e-p270: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/tmp7b8ltf60.c"
target datalayout = "e-m:e-p270: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/tmpmc0q1pop.c'
source_filename = "/tmp/tmpmc0q1pop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %11, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %14
8: ; preds = %5
store i32 3, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
br label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load i32, ptr %2, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmc0q1pop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
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 %15
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %10
store i32 3, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 5
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphvgi4ctd.c'
source_filename = "/tmp/tmphvgi4ctd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0x10\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x10() #0 {
%1 = call i64 @ispunct(i32 noundef 16)
%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 85, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmphvgi4ctd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0x10\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x10() #0 {
%1 = call i64 @ispunct(i32 noundef 16)
%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 85, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmp771iiodt.c'
source_filename = "/tmp/tmp771iiodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pushreal4array_(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 = load i32, ptr %6, align 4
%8 = mul i32 %7, 4
%9 = call i32 @pushNarray(ptr noundef %5, i32 noundef %8)
ret void
}
declare i32 @pushNarray(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/tmp771iiodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pushreal4array_(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 = load i32, ptr %6, align 4
%8 = mul i32 %7, 4
%9 = call i32 @pushNarray(ptr noundef %5, i32 noundef %8)
ret void
}
declare i32 @pushNarray(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/tmp916epl9o.c'
source_filename = "/tmp/tmp916epl9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getOutPutFileName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 4
%8 = sext i32 %7 to i64
%9 = mul i64 1, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %22, %1
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %17
br label %22
22: ; preds = %21
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
br label %17, !llvm.loop !6
25: ; preds = %17
%26 = load ptr, ptr %4, align 8
store i8 46, ptr %26, align 1
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
%29 = load ptr, ptr %4, align 8
store i8 105, ptr %29, align 1
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
store i8 114, ptr %32, align 1
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %4, align 8
%35 = load ptr, ptr %4, align 8
store i8 0, ptr %35, align 1
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %4, align 8
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp916epl9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getOutPutFileName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 4
%8 = sext i32 %7 to i64
%9 = mul i64 1, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %20
20: ; preds = %.lr.ph, %21
br label %21
21: ; preds = %20
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
%28 = load ptr, ptr %4, align 8
store i8 46, ptr %28, align 1
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
%31 = load ptr, ptr %4, align 8
store i8 105, ptr %31, align 1
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
%34 = load ptr, ptr %4, align 8
store i8 114, ptr %34, align 1
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
%37 = load ptr, ptr %4, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %4, align 8
%40 = load ptr, ptr %3, align 8
ret ptr %40
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpznws2dhn.c'
source_filename = "/tmp/tmpznws2dhn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"%d can be divided by %d number(s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 25, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %22, %0
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %23
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = srem i32 %10, %11
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %22
19: ; preds = %9
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %19, %14
br label %5, !llvm.loop !6
23: ; preds = %5
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %4, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpznws2dhn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"%d can be divided by %d number(s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 25, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %21
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = srem i32 %9, %10
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %21
18: ; preds = %8
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %18, %13
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %25
25: ; preds = %._crit_edge, %0
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef @.str, i32 noundef %26, i32 noundef %27)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxzeg543b.c'
source_filename = "/tmp/tmpxzeg543b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QuickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %88
14: ; preds = %3
%15 = call i32 @time(ptr noundef null)
%16 = call i32 @srand(i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = call i32 (...) @rand()
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
%22 = add nsw i32 %21, 1
%23 = srem i32 %18, %22
%24 = add nsw i32 %17, %23
store i32 %24, ptr %7, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %6, align 4
store i32 %31, ptr %10, align 4
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %7, align 4
%35 = call i32 @Swap(ptr noundef %32, i32 noundef %33, i32 noundef %34)
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %7, align 4
br label %37
37: ; preds = %77, %14
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %78
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp eq i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %41
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %77
52: ; preds = %41
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %69
60: ; preds = %52
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %5, align 4
%63 = load i32, ptr %7, align 4
%64 = call i32 @Swap(ptr noundef %61, i32 noundef %62, i32 noundef %63)
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
br label %76
69: ; preds = %52
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %5, align 4
%72 = load i32, ptr %6, align 4
%73 = call i32 @Swap(ptr noundef %70, i32 noundef %71, i32 noundef %72)
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, -1
store i32 %75, ptr %6, align 4
br label %76
76: ; preds = %69, %60
br label %77
77: ; preds = %76, %49
br label %37, !llvm.loop !6
78: ; preds = %37
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %9, align 4
%81 = load i32, ptr %7, align 4
%82 = sub nsw i32 %81, 1
%83 = call i32 @QuickSort(ptr noundef %79, i32 noundef %80, i32 noundef %82)
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %10, align 4
%87 = call i32 @QuickSort(ptr noundef %84, i32 noundef %85, i32 noundef %86)
br label %88
88: ; preds = %78, %3
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @Swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxzeg543b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QuickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %90
14: ; preds = %3
%15 = call i32 @time(ptr noundef null)
%16 = call i32 @srand(i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = call i32 (...) @rand()
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
%22 = add nsw i32 %21, 1
%23 = srem i32 %18, %22
%24 = add nsw i32 %17, %23
store i32 %24, ptr %7, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %6, align 4
store i32 %31, ptr %10, align 4
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %7, align 4
%35 = call i32 @Swap(ptr noundef %32, i32 noundef %33, i32 noundef %34)
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %.lr.ph, label %80
.lr.ph: ; preds = %14
br label %40
40: ; preds = %.lr.ph, %76
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %40
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %76
51: ; preds = %40
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %68
59: ; preds = %51
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %7, align 4
%63 = call i32 @Swap(ptr noundef %60, i32 noundef %61, i32 noundef %62)
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
br label %75
68: ; preds = %51
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = call i32 @Swap(ptr noundef %69, i32 noundef %70, i32 noundef %71)
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, -1
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %68, %59
br label %76
76: ; preds = %75, %48
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp sle i32 %77, %78
br i1 %79, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %80
80: ; preds = %._crit_edge, %14
%81 = load ptr, ptr %4, align 8
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %7, align 4
%84 = sub nsw i32 %83, 1
%85 = call i32 @QuickSort(ptr noundef %81, i32 noundef %82, i32 noundef %84)
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr %10, align 4
%89 = call i32 @QuickSort(ptr noundef %86, i32 noundef %87, i32 noundef %88)
br label %90
90: ; preds = %80, %3
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @Swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4apthaut.c'
source_filename = "/tmp/tmp4apthaut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @processNormalKeys(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %13 [
i32 113, label %9
i32 63, label %11
]
9: ; preds = %3
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %3
%12 = call i32 (...) @print_help()
br label %13
13: ; preds = %3, %11
ret void
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @print_help(...) #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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmp4apthaut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @processNormalKeys(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %13 [
i32 113, label %9
i32 63, label %11
]
9: ; preds = %3
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %3
%12 = call i32 (...) @print_help()
br label %13
13: ; preds = %11, %3
ret void
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @print_help(...) #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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_iowgq41.c'
source_filename = "/tmp/tmp_iowgq41.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sesSCSICmdResponse(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 @sesSCSIResponse(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @sesSCSIResponse(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_iowgq41.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sesSCSICmdResponse(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 @sesSCSIResponse(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @sesSCSIResponse(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/tmpy64fqyjp.c'
source_filename = "/tmp/tmpy64fqyjp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomInt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @rand()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = srem i32 %5, %8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
ret i32 %11
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy64fqyjp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomInt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @rand()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = srem i32 %5, %8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
ret i32 %11
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl4aksksx.c'
source_filename = "/tmp/tmpl4aksksx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [66 x i8] c"enter machine where server is running (return if same as client)\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"enter port number (return if 5001)\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @AskForPlace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr @stdin, align 4
%7 = call ptr @get_line(i32 noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
store ptr null, ptr %4, align 8
br label %15
15: ; preds = %12, %1
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = load i32, ptr @stdin, align 4
%18 = call ptr @get_line(i32 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
store i16 5001, ptr %24, align 2
br label %29
25: ; preds = %15
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %2, align 8
%28 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %27)
br label %29
29: ; preds = %25, %23
%30 = load ptr, ptr %3, align 8
%31 = call i32 @free(ptr noundef %30)
%32 = load ptr, ptr %4, align 8
ret ptr %32
}
declare i32 @printf(ptr noundef) #1
declare ptr @get_line(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @sscanf(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/tmpl4aksksx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [66 x i8] c"enter machine where server is running (return if same as client)\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"enter port number (return if 5001)\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @AskForPlace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr @stdin, align 4
%7 = call ptr @get_line(i32 noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
store ptr null, ptr %4, align 8
br label %15
15: ; preds = %12, %1
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = load i32, ptr @stdin, align 4
%18 = call ptr @get_line(i32 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
store i16 5001, ptr %24, align 2
br label %29
25: ; preds = %15
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %2, align 8
%28 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %27)
br label %29
29: ; preds = %25, %23
%30 = load ptr, ptr %3, align 8
%31 = call i32 @free(ptr noundef %30)
%32 = load ptr, ptr %4, align 8
ret ptr %32
}
declare i32 @printf(ptr noundef) #1
declare ptr @get_line(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @sscanf(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/tmpcp_wfr0l.c'
source_filename = "/tmp/tmpcp_wfr0l.c"
target datalayout = "e-m:e-p270: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/tmpcp_wfr0l.c"
target datalayout = "e-m:e-p270: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/tmpyx3_y4h5.c'
source_filename = "/tmp/tmpyx3_y4h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @regexp(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i16, align 2
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
br label %9
9: ; preds = %96, %3
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %101
14: ; preds = %9
br label %15
15: ; preds = %20, %14
%16 = load ptr, ptr %6, align 8
%17 = call signext i16 @skip_vt102_codes(ptr noundef %16)
store i16 %17, ptr %8, align 2
%18 = sext i16 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %15
%21 = load i16, ptr %8, align 2
%22 = sext i16 %21 to i32
%23 = load ptr, ptr %6, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr %6, align 8
br label %15, !llvm.loop !6
26: ; preds = %15
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
switch i32 %29, label %71 [
i32 63, label %30
i32 42, label %37
i32 92, label %60
]
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %30
store i32 0, ptr %4, align 4
br label %110
36: ; preds = %30
br label %95
37: ; preds = %26
%38 = load ptr, ptr %6, align 8
%39 = call signext i16 @strlen(ptr noundef %38)
store i16 %39, ptr %8, align 2
br label %40
40: ; preds = %56, %37
%41 = load i16, ptr %8, align 2
%42 = sext i16 %41 to i32
%43 = icmp sge i32 %42, 0
br i1 %43, label %44, label %59
44: ; preds = %40
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load ptr, ptr %6, align 8
%48 = load i16, ptr %8, align 2
%49 = sext i16 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %7, align 1
%52 = call i32 @regexp(ptr noundef %46, ptr noundef %50, i8 noundef zeroext %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %44
store i32 1, ptr %4, align 4
br label %110
55: ; preds = %44
br label %56
56: ; preds = %55
%57 = load i16, ptr %8, align 2
%58 = add i16 %57, -1
store i16 %58, ptr %8, align 2
br label %40, !llvm.loop !8
59: ; preds = %40
store i32 0, ptr %4, align 4
br label %110
60: ; preds = %26
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = load ptr, ptr %6, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %64, %67
br i1 %68, label %69, label %70
69: ; preds = %60
store i32 0, ptr %4, align 4
br label %110
70: ; preds = %60
br label %95
71: ; preds = %26
%72 = load i8, ptr %7, align 1
%73 = icmp ne i8 %72, 0
br i1 %73, label %74, label %84
74: ; preds = %71
%75 = load ptr, ptr %5, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = load ptr, ptr %6, align 8
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %77, %80
br i1 %81, label %82, label %83
82: ; preds = %74
store i32 0, ptr %4, align 4
br label %110
83: ; preds = %74
br label %94
84: ; preds = %71
%85 = load ptr, ptr %5, align 8
%86 = load i8, ptr %85, align 1
%87 = call i32 @tolower(i8 noundef signext %86)
%88 = load ptr, ptr %6, align 8
%89 = load i8, ptr %88, align 1
%90 = call i32 @tolower(i8 noundef signext %89)
%91 = icmp ne i32 %87, %90
br i1 %91, label %92, label %93
92: ; preds = %84
store i32 0, ptr %4, align 4
br label %110
93: ; preds = %84
br label %94
94: ; preds = %93, %83
br label %95
95: ; preds = %94, %70, %36
br label %96
96: ; preds = %95
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %5, align 8
%99 = load ptr, ptr %6, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %6, align 8
br label %9, !llvm.loop !9
101: ; preds = %9
%102 = load ptr, ptr %5, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = load ptr, ptr %6, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %104, %107
%109 = zext i1 %108 to i32
store i32 %109, ptr %4, align 4
br label %110
110: ; preds = %101, %92, %82, %69, %59, %54, %35
%111 = load i32, ptr %4, align 4
ret i32 %111
}
declare signext i16 @skip_vt102_codes(ptr noundef) #1
declare signext i16 @strlen(ptr noundef) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyx3_y4h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @regexp(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i16, align 2
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph2, label %109
.lr.ph2: ; preds = %3
br label %13
13: ; preds = %.lr.ph2, %100
%14 = load ptr, ptr %6, align 8
%15 = call signext i16 @skip_vt102_codes(ptr noundef %14)
store i16 %15, ptr %8, align 2
%16 = sext i16 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %28
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %18
%19 = load i16, ptr %8, align 2
%20 = sext i16 %19 to i32
%21 = load ptr, ptr %6, align 8
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call signext i16 @skip_vt102_codes(ptr noundef %24)
store i16 %25, ptr %8, align 2
%26 = sext i16 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %28
28: ; preds = %._crit_edge, %13
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
switch i32 %31, label %75 [
i32 63, label %32
i32 42, label %39
i32 92, label %64
]
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %32
store i32 0, ptr %4, align 4
br label %118
38: ; preds = %32
br label %99
39: ; preds = %28
%40 = load ptr, ptr %6, align 8
%41 = call signext i16 @strlen(ptr noundef %40)
store i16 %41, ptr %8, align 2
%42 = load i16, ptr %8, align 2
%43 = sext i16 %42 to i32
%44 = icmp sge i32 %43, 0
br i1 %44, label %.lr.ph5, label %63
.lr.ph5: ; preds = %39
br label %45
45: ; preds = %.lr.ph5, %57
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 1
%48 = load ptr, ptr %6, align 8
%49 = load i16, ptr %8, align 2
%50 = sext i16 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %7, align 1
%53 = call i32 @regexp(ptr noundef %47, ptr noundef %51, i8 noundef zeroext %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %45
store i32 1, ptr %4, align 4
br label %118
56: ; preds = %45
br label %57
57: ; preds = %56
%58 = load i16, ptr %8, align 2
%59 = add i16 %58, -1
store i16 %59, ptr %8, align 2
%60 = load i16, ptr %8, align 2
%61 = sext i16 %60 to i32
%62 = icmp sge i32 %61, 0
br i1 %62, label %45, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %57
br label %63
63: ; preds = %._crit_edge6, %39
store i32 0, ptr %4, align 4
br label %118
64: ; preds = %28
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %5, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = load ptr, ptr %6, align 8
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %68, %71
br i1 %72, label %73, label %74
73: ; preds = %64
store i32 0, ptr %4, align 4
br label %118
74: ; preds = %64
br label %99
75: ; preds = %28
%76 = load i8, ptr %7, align 1
%77 = icmp ne i8 %76, 0
br i1 %77, label %78, label %88
78: ; preds = %75
%79 = load ptr, ptr %5, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = load ptr, ptr %6, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %81, %84
br i1 %85, label %86, label %87
86: ; preds = %78
store i32 0, ptr %4, align 4
br label %118
87: ; preds = %78
br label %98
88: ; preds = %75
%89 = load ptr, ptr %5, align 8
%90 = load i8, ptr %89, align 1
%91 = call i32 @tolower(i8 noundef signext %90)
%92 = load ptr, ptr %6, align 8
%93 = load i8, ptr %92, align 1
%94 = call i32 @tolower(i8 noundef signext %93)
%95 = icmp ne i32 %91, %94
br i1 %95, label %96, label %97
96: ; preds = %88
store i32 0, ptr %4, align 4
br label %118
97: ; preds = %88
br label %98
98: ; preds = %97, %87
br label %99
99: ; preds = %98, %74, %38
br label %100
100: ; preds = %99
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %5, align 8
%103 = load ptr, ptr %6, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %6, align 8
%105 = load ptr, ptr %5, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp ne i32 %107, 0
br i1 %108, label %13, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %100
br label %109
109: ; preds = %._crit_edge3, %3
%110 = load ptr, ptr %5, align 8
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = load ptr, ptr %6, align 8
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %112, %115
%117 = zext i1 %116 to i32
store i32 %117, ptr %4, align 4
br label %118
118: ; preds = %109, %96, %86, %73, %63, %55, %37
%119 = load i32, ptr %4, align 4
ret i32 %119
}
declare signext i16 @skip_vt102_codes(ptr noundef) #1
declare signext i16 @strlen(ptr noundef) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpje_2xc6s.c'
source_filename = "/tmp/tmpje_2xc6s.c"
target datalayout = "e-m:e-p270: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/tmpje_2xc6s.c"
target datalayout = "e-m:e-p270: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/tmpps4kjrmw.c'
source_filename = "/tmp/tmpps4kjrmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s %s:%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"login\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"ERROR sending message\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Access denied\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @authenticate(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca [32768 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %10, ptr noundef %11)
%13 = load i32, ptr %4, align 4
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i64 @send(i32 noundef %13, ptr noundef %14, i32 noundef 256, i32 noundef 0)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 @error(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %3
%20 = load i32, ptr %4, align 4
%21 = getelementptr inbounds [32768 x i8], ptr %8, i64 0, i64 0
%22 = call i32 @receive_msg(i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [32768 x i8], ptr %8, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str.3, ptr noundef %23)
%25 = getelementptr inbounds [32768 x i8], ptr %8, i64 0, i64 0
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %19
%29 = call i32 @exit(i32 noundef 0) #3
unreachable
30: ; preds = %19
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @receive_msg(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpps4kjrmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s %s:%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"login\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"ERROR sending message\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Access denied\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @authenticate(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca [32768 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %10, ptr noundef %11)
%13 = load i32, ptr %4, align 4
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i64 @send(i32 noundef %13, ptr noundef %14, i32 noundef 256, i32 noundef 0)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 @error(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %3
%20 = load i32, ptr %4, align 4
%21 = getelementptr inbounds [32768 x i8], ptr %8, i64 0, i64 0
%22 = call i32 @receive_msg(i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [32768 x i8], ptr %8, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str.3, ptr noundef %23)
%25 = getelementptr inbounds [32768 x i8], ptr %8, i64 0, i64 0
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %19
%29 = call i32 @exit(i32 noundef 0) #3
unreachable
30: ; preds = %19
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @receive_msg(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm5ge5in8.c'
source_filename = "/tmp/tmpm5ge5in8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"E+\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"E-\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"e-\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"e+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strfix(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 ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = 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
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 35
br i1 %20, label %21, label %70
21: ; preds = %3
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
store ptr %28, ptr %10, align 8
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @strlen(ptr noundef %30)
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = getelementptr inbounds i8, ptr %33, i64 -1
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %9, align 8
%36 = load i8, ptr %35, align 1
store i8 %36, ptr %11, align 1
%37 = load ptr, ptr %9, align 8
%38 = call i32 @isnum(ptr noundef %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %21
%41 = load ptr, ptr %9, align 8
store i8 0, ptr %41, align 1
br label %42
42: ; preds = %40, %21
%43 = load ptr, ptr %10, align 8
%44 = call i32 @isnum(ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %66
46: ; preds = %42
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %4, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
store ptr %51, ptr %9, align 8
%52 = load ptr, ptr %4, align 8
store ptr %52, ptr %10, align 8
br label %53
53: ; preds = %62, %46
%54 = load ptr, ptr %10, align 8
%55 = load ptr, ptr %9, align 8
%56 = icmp ult ptr %54, %55
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 1
%60 = load i8, ptr %59, align 1
%61 = load ptr, ptr %10, align 8
store i8 %60, ptr %61, align 1
br label %62
62: ; preds = %57
%63 = load ptr, ptr %10, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %10, align 8
br label %53, !llvm.loop !6
65: ; preds = %53
br label %69
66: ; preds = %42
%67 = load i8, ptr %11, align 1
%68 = load ptr, ptr %9, align 8
store i8 %67, ptr %68, align 1
br label %69
69: ; preds = %66, %65
br label %70
70: ; preds = %69, %3
%71 = load ptr, ptr %4, align 8
%72 = call i32 @isnum(ptr noundef %71)
%73 = icmp sgt i32 %72, 1
br i1 %73, label %74, label %152
74: ; preds = %70
%75 = load ptr, ptr %4, align 8
%76 = call ptr @strsrch(ptr noundef %75, ptr noundef @.str)
%77 = icmp ne ptr %76, null
br i1 %77, label %78, label %152
78: ; preds = %74
%79 = load ptr, ptr %4, align 8
%80 = call i32 @strlen(ptr noundef %79)
store i32 %80, ptr %14, align 4
%81 = load ptr, ptr %4, align 8
%82 = load i32, ptr %14, align 4
%83 = sub nsw i32 %82, 1
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %81, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = sub nsw i32 %87, 48
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %13, align 4
%90 = load ptr, ptr %4, align 8
%91 = load i32, ptr %14, align 4
%92 = sub nsw i32 %91, 2
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %90, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = sub nsw i32 %96, 48
%98 = mul nsw i32 10, %97
%99 = add nsw i32 %89, %98
store i32 %99, ptr %13, align 4
%100 = load i32, ptr %13, align 4
%101 = load i32, ptr %14, align 4
%102 = sub nsw i32 %101, 7
%103 = icmp slt i32 %100, %102
br i1 %103, label %104, label %151
104: ; preds = %78
%105 = load i32, ptr %14, align 4
%106 = sub nsw i32 %105, 4
store i32 %106, ptr %14, align 4
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %14, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
store i8 0, ptr %110, align 1
%111 = load ptr, ptr %4, align 8
%112 = load i32, ptr %14, align 4
%113 = add nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %111, i64 %114
store i8 0, ptr %115, align 1
%116 = load ptr, ptr %4, align 8
%117 = load i32, ptr %14, align 4
%118 = add nsw i32 %117, 2
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %116, i64 %119
store i8 0, ptr %120, align 1
%121 = load ptr, ptr %4, align 8
%122 = load i32, ptr %14, align 4
%123 = add nsw i32 %122, 3
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i8, ptr %121, i64 %124
store i8 0, ptr %125, align 1
%126 = load ptr, ptr %4, align 8
%127 = call ptr @strchr(ptr noundef %126, i8 noundef signext 46)
store ptr %127, ptr %7, align 8
%128 = load i32, ptr %13, align 4
%129 = icmp sgt i32 %128, 0
br i1 %129, label %130, label %150
130: ; preds = %104
%131 = load ptr, ptr %7, align 8
%132 = icmp ne ptr %131, null
br i1 %132, label %133, label %150
133: ; preds = %130
store i32 1, ptr %15, align 4
br label %134
134: ; preds = %146, %133
%135 = load i32, ptr %15, align 4
%136 = load i32, ptr %13, align 4
%137 = icmp sle i32 %135, %136
br i1 %137, label %138, label %149
138: ; preds = %134
%139 = load ptr, ptr %7, align 8
%140 = getelementptr inbounds i8, ptr %139, i64 1
%141 = load i8, ptr %140, align 1
%142 = load ptr, ptr %7, align 8
store i8 %141, ptr %142, align 1
%143 = load ptr, ptr %7, align 8
%144 = getelementptr inbounds i8, ptr %143, i32 1
store ptr %144, ptr %7, align 8
%145 = load ptr, ptr %7, align 8
store i8 46, ptr %145, align 1
br label %146
146: ; preds = %138
%147 = load i32, ptr %15, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %15, align 4
br label %134, !llvm.loop !8
149: ; preds = %134
br label %150
150: ; preds = %149, %130, %104
br label %151
151: ; preds = %150, %78
br label %152
152: ; preds = %151, %74, %70
%153 = load i32, ptr %6, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %212
155: ; preds = %152
%156 = load ptr, ptr %4, align 8
%157 = call i32 @isnum(ptr noundef %156)
%158 = icmp sgt i32 %157, 1
br i1 %158, label %159, label %211
159: ; preds = %155
%160 = load ptr, ptr %4, align 8
%161 = call ptr @strchr(ptr noundef %160, i8 noundef signext 46)
%162 = icmp ne ptr %161, null
br i1 %162, label %163, label %211
163: ; preds = %159
%164 = load ptr, ptr %4, align 8
%165 = call ptr @strsrch(ptr noundef %164, ptr noundef @.str.1)
%166 = icmp eq ptr %165, null
br i1 %166, label %167, label %211
167: ; preds = %163
%168 = load ptr, ptr %4, align 8
%169 = call ptr @strsrch(ptr noundef %168, ptr noundef @.str)
%170 = icmp eq ptr %169, null
br i1 %170, label %171, label %211
171: ; preds = %167
%172 = load ptr, ptr %4, align 8
%173 = call ptr @strsrch(ptr noundef %172, ptr noundef @.str.2)
%174 = icmp eq ptr %173, null
br i1 %174, label %175, label %211
175: ; preds = %171
%176 = load ptr, ptr %4, align 8
%177 = call ptr @strsrch(ptr noundef %176, ptr noundef @.str.3)
%178 = icmp eq ptr %177, null
br i1 %178, label %179, label %211
179: ; preds = %175
%180 = load ptr, ptr %4, align 8
%181 = call i32 @strlen(ptr noundef %180)
store i32 %181, ptr %14, align 4
%182 = load ptr, ptr %4, align 8
%183 = load i32, ptr %14, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8, ptr %182, i64 %184
%186 = getelementptr inbounds i8, ptr %185, i64 -1
store ptr %186, ptr %8, align 8
br label %187
187: ; preds = %207, %179
%188 = load ptr, ptr %8, align 8
%189 = load i8, ptr %188, align 1
%190 = sext i8 %189 to i32
%191 = icmp eq i32 %190, 48
br i1 %191, label %192, label %195
192: ; preds = %187
%193 = load i32, ptr %14, align 4
%194 = icmp sgt i32 %193, 1
br label %195
195: ; preds = %192, %187
%196 = phi i1 [ false, %187 ], [ %194, %192 ]
br i1 %196, label %197, label %210
197: ; preds = %195
%198 = load ptr, ptr %8, align 8
%199 = getelementptr inbounds i8, ptr %198, i64 -1
%200 = load i8, ptr %199, align 1
%201 = sext i8 %200 to i32
%202 = icmp ne i32 %201, 46
br i1 %202, label %203, label %207
203: ; preds = %197
%204 = load ptr, ptr %8, align 8
store i8 0, ptr %204, align 1
%205 = load i32, ptr %14, align 4
%206 = add nsw i32 %205, -1
store i32 %206, ptr %14, align 4
br label %207
207: ; preds = %203, %197
%208 = load ptr, ptr %8, align 8
%209 = getelementptr inbounds i8, ptr %208, i32 -1
store ptr %209, ptr %8, align 8
br label %187, !llvm.loop !9
210: ; preds = %195
br label %211
211: ; preds = %210, %175, %171, %167, %163, %159, %155
br label %212
212: ; preds = %211, %152
%213 = load ptr, ptr %4, align 8
%214 = call i32 @strlen(ptr noundef %213)
store i32 %214, ptr %14, align 4
%215 = load ptr, ptr %4, align 8
%216 = load i32, ptr %14, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i8, ptr %215, i64 %217
%219 = getelementptr inbounds i8, ptr %218, i64 -1
store ptr %219, ptr %8, align 8
%220 = load ptr, ptr %8, align 8
%221 = load i8, ptr %220, align 1
%222 = sext i8 %221 to i32
%223 = icmp eq i32 %222, 46
br i1 %223, label %224, label %226
224: ; preds = %212
%225 = load ptr, ptr %8, align 8
store i8 0, ptr %225, align 1
br label %226
226: ; preds = %224, %212
%227 = load i32, ptr %5, align 4
%228 = icmp ne i32 %227, 0
br i1 %228, label %229, label %253
229: ; preds = %226
%230 = load ptr, ptr %4, align 8
%231 = call i32 @strlen(ptr noundef %230)
store i32 %231, ptr %14, align 4
%232 = load ptr, ptr %4, align 8
%233 = load i32, ptr %14, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i8, ptr %232, i64 %234
store ptr %235, ptr %12, align 8
%236 = load ptr, ptr %4, align 8
store ptr %236, ptr %8, align 8
br label %237
237: ; preds = %249, %229
%238 = load ptr, ptr %8, align 8
%239 = load ptr, ptr %12, align 8
%240 = icmp ult ptr %238, %239
br i1 %240, label %241, label %252
241: ; preds = %237
%242 = load ptr, ptr %8, align 8
%243 = load i8, ptr %242, align 1
%244 = sext i8 %243 to i32
%245 = icmp eq i32 %244, 32
br i1 %245, label %246, label %248
246: ; preds = %241
%247 = load ptr, ptr %8, align 8
store i8 95, ptr %247, align 1
br label %248
248: ; preds = %246, %241
br label %249
249: ; preds = %248
%250 = load ptr, ptr %8, align 8
%251 = getelementptr inbounds i8, ptr %250, i32 1
store ptr %251, ptr %8, align 8
br label %237, !llvm.loop !10
252: ; preds = %237
br label %253
253: ; preds = %252, %226
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isnum(ptr noundef) #1
declare ptr @strsrch(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpm5ge5in8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"E+\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"E-\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"e-\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"e+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strfix(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 ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = 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
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 35
br i1 %20, label %21, label %72
21: ; preds = %3
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
store ptr %28, ptr %10, align 8
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @strlen(ptr noundef %30)
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = getelementptr inbounds i8, ptr %33, i64 -1
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %9, align 8
%36 = load i8, ptr %35, align 1
store i8 %36, ptr %11, align 1
%37 = load ptr, ptr %9, align 8
%38 = call i32 @isnum(ptr noundef %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %21
%41 = load ptr, ptr %9, align 8
store i8 0, ptr %41, align 1
br label %42
42: ; preds = %40, %21
%43 = load ptr, ptr %10, align 8
%44 = call i32 @isnum(ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %68
46: ; preds = %42
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %4, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
store ptr %51, ptr %9, align 8
%52 = load ptr, ptr %4, align 8
store ptr %52, ptr %10, align 8
%53 = load ptr, ptr %10, align 8
%54 = load ptr, ptr %9, align 8
%55 = icmp ult ptr %53, %54
br i1 %55, label %.lr.ph, label %67
.lr.ph: ; preds = %46
br label %56
56: ; preds = %.lr.ph, %61
%57 = load ptr, ptr %10, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 1
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %10, align 8
store i8 %59, ptr %60, align 1
br label %61
61: ; preds = %56
%62 = load ptr, ptr %10, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %10, align 8
%64 = load ptr, ptr %10, align 8
%65 = load ptr, ptr %9, align 8
%66 = icmp ult ptr %64, %65
br i1 %66, label %56, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %67
67: ; preds = %._crit_edge, %46
br label %71
68: ; preds = %42
%69 = load i8, ptr %11, align 1
%70 = load ptr, ptr %9, align 8
store i8 %69, ptr %70, align 1
br label %71
71: ; preds = %68, %67
br label %72
72: ; preds = %71, %3
%73 = load ptr, ptr %4, align 8
%74 = call i32 @isnum(ptr noundef %73)
%75 = icmp sgt i32 %74, 1
br i1 %75, label %76, label %156
76: ; preds = %72
%77 = load ptr, ptr %4, align 8
%78 = call ptr @strsrch(ptr noundef %77, ptr noundef @.str)
%79 = icmp ne ptr %78, null
br i1 %79, label %80, label %156
80: ; preds = %76
%81 = load ptr, ptr %4, align 8
%82 = call i32 @strlen(ptr noundef %81)
store i32 %82, ptr %14, align 4
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %14, align 4
%85 = sub nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %83, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = sub nsw i32 %89, 48
store i32 %90, ptr %13, align 4
%91 = load i32, ptr %13, align 4
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %14, align 4
%94 = sub nsw i32 %93, 2
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = sub nsw i32 %98, 48
%100 = mul nsw i32 10, %99
%101 = add nsw i32 %91, %100
store i32 %101, ptr %13, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %14, align 4
%104 = sub nsw i32 %103, 7
%105 = icmp slt i32 %102, %104
br i1 %105, label %106, label %155
106: ; preds = %80
%107 = load i32, ptr %14, align 4
%108 = sub nsw i32 %107, 4
store i32 %108, ptr %14, align 4
%109 = load ptr, ptr %4, align 8
%110 = load i32, ptr %14, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %109, i64 %111
store i8 0, ptr %112, align 1
%113 = load ptr, ptr %4, align 8
%114 = load i32, ptr %14, align 4
%115 = add nsw i32 %114, 1
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %113, i64 %116
store i8 0, ptr %117, align 1
%118 = load ptr, ptr %4, align 8
%119 = load i32, ptr %14, align 4
%120 = add nsw i32 %119, 2
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store i8 0, ptr %122, align 1
%123 = load ptr, ptr %4, align 8
%124 = load i32, ptr %14, align 4
%125 = add nsw i32 %124, 3
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i8, ptr %123, i64 %126
store i8 0, ptr %127, align 1
%128 = load ptr, ptr %4, align 8
%129 = call ptr @strchr(ptr noundef %128, i8 noundef signext 46)
store ptr %129, ptr %7, align 8
%130 = load i32, ptr %13, align 4
%131 = icmp sgt i32 %130, 0
br i1 %131, label %132, label %154
132: ; preds = %106
%133 = load ptr, ptr %7, align 8
%134 = icmp ne ptr %133, null
br i1 %134, label %135, label %154
135: ; preds = %132
store i32 1, ptr %15, align 4
%136 = load i32, ptr %15, align 4
%137 = load i32, ptr %13, align 4
%138 = icmp sle i32 %136, %137
br i1 %138, label %.lr.ph2, label %153
.lr.ph2: ; preds = %135
br label %139
139: ; preds = %.lr.ph2, %147
%140 = load ptr, ptr %7, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 1
%142 = load i8, ptr %141, align 1
%143 = load ptr, ptr %7, align 8
store i8 %142, ptr %143, align 1
%144 = load ptr, ptr %7, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %7, align 8
%146 = load ptr, ptr %7, align 8
store i8 46, ptr %146, align 1
br label %147
147: ; preds = %139
%148 = load i32, ptr %15, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %15, align 4
%150 = load i32, ptr %15, align 4
%151 = load i32, ptr %13, align 4
%152 = icmp sle i32 %150, %151
br i1 %152, label %139, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %147
br label %153
153: ; preds = %._crit_edge3, %135
br label %154
154: ; preds = %153, %132, %106
br label %155
155: ; preds = %154, %80
br label %156
156: ; preds = %155, %76, %72
%157 = load i32, ptr %6, align 4
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %216
159: ; preds = %156
%160 = load ptr, ptr %4, align 8
%161 = call i32 @isnum(ptr noundef %160)
%162 = icmp sgt i32 %161, 1
br i1 %162, label %163, label %215
163: ; preds = %159
%164 = load ptr, ptr %4, align 8
%165 = call ptr @strchr(ptr noundef %164, i8 noundef signext 46)
%166 = icmp ne ptr %165, null
br i1 %166, label %167, label %215
167: ; preds = %163
%168 = load ptr, ptr %4, align 8
%169 = call ptr @strsrch(ptr noundef %168, ptr noundef @.str.1)
%170 = icmp eq ptr %169, null
br i1 %170, label %171, label %215
171: ; preds = %167
%172 = load ptr, ptr %4, align 8
%173 = call ptr @strsrch(ptr noundef %172, ptr noundef @.str)
%174 = icmp eq ptr %173, null
br i1 %174, label %175, label %215
175: ; preds = %171
%176 = load ptr, ptr %4, align 8
%177 = call ptr @strsrch(ptr noundef %176, ptr noundef @.str.2)
%178 = icmp eq ptr %177, null
br i1 %178, label %179, label %215
179: ; preds = %175
%180 = load ptr, ptr %4, align 8
%181 = call ptr @strsrch(ptr noundef %180, ptr noundef @.str.3)
%182 = icmp eq ptr %181, null
br i1 %182, label %183, label %215
183: ; preds = %179
%184 = load ptr, ptr %4, align 8
%185 = call i32 @strlen(ptr noundef %184)
store i32 %185, ptr %14, align 4
%186 = load ptr, ptr %4, align 8
%187 = load i32, ptr %14, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %186, i64 %188
%190 = getelementptr inbounds i8, ptr %189, i64 -1
store ptr %190, ptr %8, align 8
br label %191
191: ; preds = %211, %183
%192 = load ptr, ptr %8, align 8
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp eq i32 %194, 48
br i1 %195, label %196, label %199
196: ; preds = %191
%197 = load i32, ptr %14, align 4
%198 = icmp sgt i32 %197, 1
br label %199
199: ; preds = %196, %191
%200 = phi i1 [ false, %191 ], [ %198, %196 ]
br i1 %200, label %201, label %214
201: ; preds = %199
%202 = load ptr, ptr %8, align 8
%203 = getelementptr inbounds i8, ptr %202, i64 -1
%204 = load i8, ptr %203, align 1
%205 = sext i8 %204 to i32
%206 = icmp ne i32 %205, 46
br i1 %206, label %207, label %211
207: ; preds = %201
%208 = load ptr, ptr %8, align 8
store i8 0, ptr %208, align 1
%209 = load i32, ptr %14, align 4
%210 = add nsw i32 %209, -1
store i32 %210, ptr %14, align 4
br label %211
211: ; preds = %207, %201
%212 = load ptr, ptr %8, align 8
%213 = getelementptr inbounds i8, ptr %212, i32 -1
store ptr %213, ptr %8, align 8
br label %191, !llvm.loop !9
214: ; preds = %199
br label %215
215: ; preds = %214, %179, %175, %171, %167, %163, %159
br label %216
216: ; preds = %215, %156
%217 = load ptr, ptr %4, align 8
%218 = call i32 @strlen(ptr noundef %217)
store i32 %218, ptr %14, align 4
%219 = load ptr, ptr %4, align 8
%220 = load i32, ptr %14, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds i8, ptr %219, i64 %221
%223 = getelementptr inbounds i8, ptr %222, i64 -1
store ptr %223, ptr %8, align 8
%224 = load ptr, ptr %8, align 8
%225 = load i8, ptr %224, align 1
%226 = sext i8 %225 to i32
%227 = icmp eq i32 %226, 46
br i1 %227, label %228, label %230
228: ; preds = %216
%229 = load ptr, ptr %8, align 8
store i8 0, ptr %229, align 1
br label %230
230: ; preds = %228, %216
%231 = load i32, ptr %5, align 4
%232 = icmp ne i32 %231, 0
br i1 %232, label %233, label %259
233: ; preds = %230
%234 = load ptr, ptr %4, align 8
%235 = call i32 @strlen(ptr noundef %234)
store i32 %235, ptr %14, align 4
%236 = load ptr, ptr %4, align 8
%237 = load i32, ptr %14, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i8, ptr %236, i64 %238
store ptr %239, ptr %12, align 8
%240 = load ptr, ptr %4, align 8
store ptr %240, ptr %8, align 8
%241 = load ptr, ptr %8, align 8
%242 = load ptr, ptr %12, align 8
%243 = icmp ult ptr %241, %242
br i1 %243, label %.lr.ph5, label %258
.lr.ph5: ; preds = %233
br label %244
244: ; preds = %.lr.ph5, %252
%245 = load ptr, ptr %8, align 8
%246 = load i8, ptr %245, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 32
br i1 %248, label %249, label %251
249: ; preds = %244
%250 = load ptr, ptr %8, align 8
store i8 95, ptr %250, align 1
br label %251
251: ; preds = %249, %244
br label %252
252: ; preds = %251
%253 = load ptr, ptr %8, align 8
%254 = getelementptr inbounds i8, ptr %253, i32 1
store ptr %254, ptr %8, align 8
%255 = load ptr, ptr %8, align 8
%256 = load ptr, ptr %12, align 8
%257 = icmp ult ptr %255, %256
br i1 %257, label %244, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %252
br label %258
258: ; preds = %._crit_edge6, %233
br label %259
259: ; preds = %258, %230
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isnum(ptr noundef) #1
declare ptr @strsrch(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpgbnd8189.c'
source_filename = "/tmp/tmpgbnd8189.c"
target datalayout = "e-m:e-p270: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/tmpgbnd8189.c"
target datalayout = "e-m:e-p270: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/tmpqn854bso.c'
source_filename = "/tmp/tmpqn854bso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"/sys/firmware/efi/systab\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @helper_efi_locate(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [64 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store i64 0, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
store i64 0, ptr %12, align 8
%13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %45
16: ; preds = %3
br label %17
17: ; preds = %35, %16
%18 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %8, align 8
%20 = call ptr @fgets(ptr noundef %18, i32 noundef 63, ptr noundef %19)
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %36
22: ; preds = %17
%23 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strncmp(ptr noundef %23, ptr noundef %24, i32 noundef 6)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %22
%28 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%29 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call ptr @memchr(ptr noundef %28, i8 noundef signext 61, i32 noundef %30)
%32 = getelementptr inbounds i8, ptr %31, i64 1
store ptr %32, ptr %10, align 8
%33 = load ptr, ptr %10, align 8
%34 = call i64 @strtol(ptr noundef %33, ptr noundef null, i32 noundef 0)
store i64 %34, ptr %11, align 8
br label %36
35: ; preds = %22
br label %17, !llvm.loop !6
36: ; preds = %27, %17
%37 = load ptr, ptr %8, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = load i64, ptr %11, align 8
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load i64, ptr %11, align 8
%43 = load ptr, ptr %7, align 8
store i64 %42, ptr %43, align 8
store i32 0, ptr %4, align 4
br label %46
44: ; preds = %36
br label %45
45: ; preds = %44, %3
store i32 -1, ptr %4, align 4
br label %46
46: ; preds = %45, %41
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqn854bso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"/sys/firmware/efi/systab\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @helper_efi_locate(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [64 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store i64 0, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
store i64 0, ptr %12, align 8
%13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %47
16: ; preds = %3
%17 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %8, align 8
%19 = call ptr @fgets(ptr noundef %17, i32 noundef 63, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %25
21: ; preds = %25
%22 = load ptr, ptr %8, align 8
%23 = call ptr @fgets(ptr noundef %17, i32 noundef 63, ptr noundef %22)
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %..loopexit_crit_edge, !llvm.loop !6
25: ; preds = %.lr.ph, %21
%26 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%27 = load ptr, ptr %5, align 8
%28 = call i64 @strncmp(ptr noundef %26, ptr noundef %27, i32 noundef 6)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %21
30: ; preds = %25
%31 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%32 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%33 = call i32 @strlen(ptr noundef %32)
%34 = call ptr @memchr(ptr noundef %31, i8 noundef signext 61, i32 noundef %33)
%35 = getelementptr inbounds i8, ptr %34, i64 1
store ptr %35, ptr %10, align 8
%36 = load ptr, ptr %10, align 8
%37 = call i64 @strtol(ptr noundef %36, ptr noundef null, i32 noundef 0)
store i64 %37, ptr %11, align 8
br label %38
..loopexit_crit_edge: ; preds = %21
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %38
38: ; preds = %.loopexit, %30
%39 = load ptr, ptr %8, align 8
%40 = call i32 @fclose(ptr noundef %39)
%41 = load i64, ptr %11, align 8
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = load i64, ptr %11, align 8
%45 = load ptr, ptr %7, align 8
store i64 %44, ptr %45, align 8
store i32 0, ptr %4, align 4
br label %48
46: ; preds = %38
br label %47
47: ; preds = %46, %3
store i32 -1, ptr %4, align 4
br label %48
48: ; preds = %47, %43
%49 = load i32, ptr %4, align 4
ret i32 %49
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu8b5dv_9.c'
source_filename = "/tmp/tmpu8b5dv_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmpu8b5dv_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmpnbtp5k6r.c'
source_filename = "/tmp/tmpnbtp5k6r.c"
target datalayout = "e-m:e-p270: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/tmpnbtp5k6r.c"
target datalayout = "e-m:e-p270: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/tmpnq3uxfrb.c'
source_filename = "/tmp/tmpnq3uxfrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"little-endian\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"big-endian\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"who knows?\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
store i32 67305985, ptr %2, align 4
store ptr %2, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = zext i8 %5 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
br label %20
10: ; preds = %0
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 4
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @printf(ptr noundef @.str.1)
br label %19
17: ; preds = %10
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19, %8
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnq3uxfrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"little-endian\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"big-endian\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"who knows?\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
store i32 67305985, ptr %2, align 4
store ptr %2, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = zext i8 %5 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
br label %20
10: ; preds = %0
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 4
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @printf(ptr noundef @.str.1)
br label %19
17: ; preds = %10
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19, %8
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppx1wwv0a.c'
source_filename = "/tmp/tmppx1wwv0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%s:%d: %f expected, but got %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fexpectf(ptr noundef %0, i32 noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%9 = load float, ptr %7, align 4
%10 = load float, ptr %8, align 4
%11 = fcmp oeq float %9, %10
br i1 %11, label %12, label %13
12: ; preds = %4
ret void
13: ; preds = %4
%14 = call i32 (...) @printfail()
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = load float, ptr %7, align 4
%18 = load float, ptr %8, align 4
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %16, float noundef %17, float noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printfail(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, float noundef, float noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppx1wwv0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%s:%d: %f expected, but got %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fexpectf(ptr noundef %0, i32 noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%9 = load float, ptr %7, align 4
%10 = load float, ptr %8, align 4
%11 = fcmp oeq float %9, %10
br i1 %11, label %12, label %13
12: ; preds = %4
ret void
13: ; preds = %4
%14 = call i32 (...) @printfail()
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = load float, ptr %7, align 4
%18 = load float, ptr %8, align 4
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %16, float noundef %17, float noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printfail(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, float noundef, float noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeepcyn2t.c'
source_filename = "/tmp/tmpeepcyn2t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xf9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xf9() #0 {
%1 = call i64 @isgraph(i32 noundef 249)
%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 1250, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpeepcyn2t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xf9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xf9() #0 {
%1 = call i64 @isgraph(i32 noundef 249)
%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 1250, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpczqhgo2g.c'
source_filename = "/tmp/tmpczqhgo2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Name flag is all 0's, possibly EOL\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"././@LongLink\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Detected a long file name, adjusting\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Extracting %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"EOL reached\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRWXG = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"--\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @extract(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [512 x i8], align 16
%6 = alloca [512 x i8], align 16
%7 = alloca [512 x i8], align 16
%8 = alloca [8 x i8], align 1
%9 = alloca [8 x i8], align 1
%10 = alloca [8 x i8], align 1
%11 = alloca [12 x i8], align 1
%12 = alloca [12 x i8], align 1
%13 = alloca [8 x i8], align 1
%14 = alloca [1 x i8], align 1
%15 = alloca [100 x i8], align 16
%16 = alloca [6 x i8], align 1
%17 = alloca [2 x i8], align 1
%18 = alloca [32 x i8], align 16
%19 = alloca [32 x i8], align 16
%20 = alloca [8 x i8], align 1
%21 = alloca [8 x i8], align 1
%22 = alloca [155 x i8], align 16
%23 = alloca [12 x i8], align 1
%24 = alloca ptr, align 8
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca [100 x i8], align 16
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%31 = load ptr, ptr %3, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str)
store ptr %32, ptr %24, align 8
store i32 0, ptr %27, align 4
br label %33
33: ; preds = %237, %2
%34 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %24, align 8
%36 = call i64 @fread(ptr noundef %34, i32 noundef 1, i32 noundef 100, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %33
%39 = load i32, ptr %27, align 4
%40 = icmp ne i32 %39, 0
%41 = xor i1 %40, true
br label %42
42: ; preds = %38, %33
%43 = phi i1 [ false, %33 ], [ %41, %38 ]
br i1 %43, label %44, label %239
44: ; preds = %42
%45 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%46 = load ptr, ptr %24, align 8
%47 = call i64 @fread(ptr noundef %45, i32 noundef 1, i32 noundef 8, ptr noundef %46)
%48 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%49 = load ptr, ptr %24, align 8
%50 = call i64 @fread(ptr noundef %48, i32 noundef 1, i32 noundef 8, ptr noundef %49)
%51 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0
%52 = load ptr, ptr %24, align 8
%53 = call i64 @fread(ptr noundef %51, i32 noundef 1, i32 noundef 8, ptr noundef %52)
%54 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0
%55 = load ptr, ptr %24, align 8
%56 = call i64 @fread(ptr noundef %54, i32 noundef 1, i32 noundef 12, ptr noundef %55)
%57 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
%58 = load ptr, ptr %24, align 8
%59 = call i64 @fread(ptr noundef %57, i32 noundef 1, i32 noundef 12, ptr noundef %58)
%60 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0
%61 = load ptr, ptr %24, align 8
%62 = call i64 @fread(ptr noundef %60, i32 noundef 1, i32 noundef 8, ptr noundef %61)
%63 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0
%64 = load ptr, ptr %24, align 8
%65 = call i64 @fread(ptr noundef %63, i32 noundef 1, i32 noundef 1, ptr noundef %64)
%66 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0
%67 = load ptr, ptr %24, align 8
%68 = call i64 @fread(ptr noundef %66, i32 noundef 1, i32 noundef 100, ptr noundef %67)
%69 = getelementptr inbounds [6 x i8], ptr %16, i64 0, i64 0
%70 = load ptr, ptr %24, align 8
%71 = call i64 @fread(ptr noundef %69, i32 noundef 1, i32 noundef 6, ptr noundef %70)
%72 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0
%73 = load ptr, ptr %24, align 8
%74 = call i64 @fread(ptr noundef %72, i32 noundef 1, i32 noundef 2, ptr noundef %73)
%75 = getelementptr inbounds [32 x i8], ptr %18, i64 0, i64 0
%76 = load ptr, ptr %24, align 8
%77 = call i64 @fread(ptr noundef %75, i32 noundef 1, i32 noundef 32, ptr noundef %76)
%78 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
%79 = load ptr, ptr %24, align 8
%80 = call i64 @fread(ptr noundef %78, i32 noundef 1, i32 noundef 32, ptr noundef %79)
%81 = getelementptr inbounds [8 x i8], ptr %20, i64 0, i64 0
%82 = load ptr, ptr %24, align 8
%83 = call i64 @fread(ptr noundef %81, i32 noundef 1, i32 noundef 8, ptr noundef %82)
%84 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
%85 = load ptr, ptr %24, align 8
%86 = call i64 @fread(ptr noundef %84, i32 noundef 1, i32 noundef 8, ptr noundef %85)
%87 = getelementptr inbounds [155 x i8], ptr %22, i64 0, i64 0
%88 = load ptr, ptr %24, align 8
%89 = call i64 @fread(ptr noundef %87, i32 noundef 1, i32 noundef 155, ptr noundef %88)
%90 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
%91 = load ptr, ptr %24, align 8
%92 = call i64 @fread(ptr noundef %90, i32 noundef 1, i32 noundef 12, ptr noundef %91)
store i32 0, ptr %30, align 4
%93 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%94 = call i64 @isEmpty(ptr noundef %93, i32 noundef 100)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %44
%97 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.1)
store i32 1, ptr %30, align 4
br label %159
98: ; preds = %44
%99 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%100 = call i64 @isEqual(ptr noundef %99, ptr noundef @.str.2)
%101 = icmp ne i64 %100, 0
br i1 %101, label %102, label %158
102: ; preds = %98
%103 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.3)
%104 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%105 = load ptr, ptr %24, align 8
%106 = call i64 @fread(ptr noundef %104, i32 noundef 1, i32 noundef 512, ptr noundef %105)
%107 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0
%108 = load ptr, ptr %24, align 8
%109 = call i64 @fread(ptr noundef %107, i32 noundef 1, i32 noundef 100, ptr noundef %108)
%110 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%111 = load ptr, ptr %24, align 8
%112 = call i64 @fread(ptr noundef %110, i32 noundef 1, i32 noundef 8, ptr noundef %111)
%113 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%114 = load ptr, ptr %24, align 8
%115 = call i64 @fread(ptr noundef %113, i32 noundef 1, i32 noundef 8, ptr noundef %114)
%116 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0
%117 = load ptr, ptr %24, align 8
%118 = call i64 @fread(ptr noundef %116, i32 noundef 1, i32 noundef 8, ptr noundef %117)
%119 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0
%120 = load ptr, ptr %24, align 8
%121 = call i64 @fread(ptr noundef %119, i32 noundef 1, i32 noundef 12, ptr noundef %120)
%122 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
%123 = load ptr, ptr %24, align 8
%124 = call i64 @fread(ptr noundef %122, i32 noundef 1, i32 noundef 12, ptr noundef %123)
%125 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0
%126 = load ptr, ptr %24, align 8
%127 = call i64 @fread(ptr noundef %125, i32 noundef 1, i32 noundef 8, ptr noundef %126)
%128 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0
%129 = load ptr, ptr %24, align 8
%130 = call i64 @fread(ptr noundef %128, i32 noundef 1, i32 noundef 1, ptr noundef %129)
%131 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0
%132 = load ptr, ptr %24, align 8
%133 = call i64 @fread(ptr noundef %131, i32 noundef 1, i32 noundef 100, ptr noundef %132)
%134 = getelementptr inbounds [6 x i8], ptr %16, i64 0, i64 0
%135 = load ptr, ptr %24, align 8
%136 = call i64 @fread(ptr noundef %134, i32 noundef 1, i32 noundef 6, ptr noundef %135)
%137 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0
%138 = load ptr, ptr %24, align 8
%139 = call i64 @fread(ptr noundef %137, i32 noundef 1, i32 noundef 2, ptr noundef %138)
%140 = getelementptr inbounds [32 x i8], ptr %18, i64 0, i64 0
%141 = load ptr, ptr %24, align 8
%142 = call i64 @fread(ptr noundef %140, i32 noundef 1, i32 noundef 32, ptr noundef %141)
%143 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
%144 = load ptr, ptr %24, align 8
%145 = call i64 @fread(ptr noundef %143, i32 noundef 1, i32 noundef 32, ptr noundef %144)
%146 = getelementptr inbounds [8 x i8], ptr %20, i64 0, i64 0
%147 = load ptr, ptr %24, align 8
%148 = call i64 @fread(ptr noundef %146, i32 noundef 1, i32 noundef 8, ptr noundef %147)
%149 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
%150 = load ptr, ptr %24, align 8
%151 = call i64 @fread(ptr noundef %149, i32 noundef 1, i32 noundef 8, ptr noundef %150)
%152 = getelementptr inbounds [155 x i8], ptr %22, i64 0, i64 0
%153 = load ptr, ptr %24, align 8
%154 = call i64 @fread(ptr noundef %152, i32 noundef 1, i32 noundef 155, ptr noundef %153)
%155 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
%156 = load ptr, ptr %24, align 8
%157 = call i64 @fread(ptr noundef %155, i32 noundef 1, i32 noundef 12, ptr noundef %156)
br label %158
158: ; preds = %102, %98
br label %159
159: ; preds = %158, %96
%160 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%161 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.4, ptr noundef %160)
%162 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0
%163 = call i32 @strtol(ptr noundef %162, ptr noundef null, i32 noundef 8)
store i32 %163, ptr %26, align 4
%164 = load i32, ptr %26, align 4
%165 = icmp sgt i32 %164, 0
br i1 %165, label %166, label %171
166: ; preds = %159
%167 = load i32, ptr %26, align 4
%168 = sub nsw i32 %167, 1
%169 = sdiv i32 %168, 512
%170 = add nsw i32 %169, 1
br label %172
171: ; preds = %159
br label %172
172: ; preds = %171, %166
%173 = phi i32 [ %170, %166 ], [ 0, %171 ]
store i32 %173, ptr %25, align 4
%174 = load i32, ptr %30, align 4
%175 = icmp ne i32 %174, 0
br i1 %175, label %176, label %192
176: ; preds = %172
%177 = load i32, ptr %25, align 4
%178 = icmp sle i32 %177, 0
br i1 %178, label %179, label %192
179: ; preds = %176
%180 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%181 = load ptr, ptr %24, align 8
%182 = call i64 @fread(ptr noundef %180, i32 noundef 1, i32 noundef 512, ptr noundef %181)
%183 = load i32, ptr %30, align 4
%184 = icmp ne i32 %183, 0
br i1 %184, label %185, label %191
185: ; preds = %179
%186 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%187 = call i64 @isEmpty(ptr noundef %186, i32 noundef 512)
%188 = icmp ne i64 %187, 0
br i1 %188, label %189, label %191
189: ; preds = %185
%190 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.5)
store i32 1, ptr %27, align 4
br label %191
191: ; preds = %189, %185, %179
br label %192
192: ; preds = %191, %176, %172
%193 = load i32, ptr %25, align 4
%194 = icmp eq i32 %193, 0
br i1 %194, label %195, label %207
195: ; preds = %192
%196 = load ptr, ptr %4, align 8
%197 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%198 = call ptr @concat(i32 noundef 3, ptr noundef %196, ptr noundef @.str.6, ptr noundef %197)
%199 = load i32, ptr @S_IRWXU, align 4
%200 = load i32, ptr @S_IRWXG, align 4
%201 = or i32 %199, %200
%202 = load i32, ptr @S_IROTH, align 4
%203 = or i32 %201, %202
%204 = load i32, ptr @S_IXOTH, align 4
%205 = or i32 %203, %204
%206 = call i32 @mkpath(ptr noundef %198, i32 noundef %205)
br label %237
207: ; preds = %192
%208 = load ptr, ptr %4, align 8
%209 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%210 = call ptr @concat(i32 noundef 3, ptr noundef %208, ptr noundef @.str.6, ptr noundef %209)
%211 = call ptr @fopen(ptr noundef %210, ptr noundef @.str.7)
store ptr %211, ptr %29, align 8
br label %212
212: ; preds = %233, %207
%213 = load i32, ptr %25, align 4
%214 = add nsw i32 %213, -1
store i32 %214, ptr %25, align 4
%215 = icmp sgt i32 %213, 0
br i1 %215, label %216, label %234
216: ; preds = %212
%217 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%218 = load ptr, ptr %24, align 8
%219 = call i64 @fread(ptr noundef %217, i32 noundef 1, i32 noundef 512, ptr noundef %218)
%220 = load i32, ptr %26, align 4
%221 = icmp sge i32 %220, 512
br i1 %221, label %222, label %228
222: ; preds = %216
%223 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%224 = load ptr, ptr %29, align 8
%225 = call i32 @fwrite(ptr noundef %223, i32 noundef 1, i32 noundef 512, ptr noundef %224)
%226 = load i32, ptr %26, align 4
%227 = sub nsw i32 %226, 512
store i32 %227, ptr %26, align 4
br label %233
228: ; preds = %216
%229 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%230 = load i32, ptr %26, align 4
%231 = load ptr, ptr %29, align 8
%232 = call i32 @fwrite(ptr noundef %229, i32 noundef 1, i32 noundef %230, ptr noundef %231)
store i32 0, ptr %26, align 4
br label %233
233: ; preds = %228, %222
br label %212, !llvm.loop !6
234: ; preds = %212
%235 = load ptr, ptr %29, align 8
%236 = call i32 @fclose(ptr noundef %235)
br label %237
237: ; preds = %234, %195
%238 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.8)
br label %33, !llvm.loop !8
239: ; preds = %42
%240 = load ptr, ptr %24, align 8
%241 = call i32 @fclose(ptr noundef %240)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @isEmpty(ptr noundef, i32 noundef) #1
declare i32 @logOutFile(ptr noundef, ...) #1
declare i64 @isEqual(ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mkpath(ptr noundef, i32 noundef) #1
declare ptr @concat(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpczqhgo2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Name flag is all 0's, possibly EOL\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"././@LongLink\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Detected a long file name, adjusting\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Extracting %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"EOL reached\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRWXG = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"--\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @extract(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [512 x i8], align 16
%6 = alloca [512 x i8], align 16
%7 = alloca [512 x i8], align 16
%8 = alloca [8 x i8], align 1
%9 = alloca [8 x i8], align 1
%10 = alloca [8 x i8], align 1
%11 = alloca [12 x i8], align 1
%12 = alloca [12 x i8], align 1
%13 = alloca [8 x i8], align 1
%14 = alloca [1 x i8], align 1
%15 = alloca [100 x i8], align 16
%16 = alloca [6 x i8], align 1
%17 = alloca [2 x i8], align 1
%18 = alloca [32 x i8], align 16
%19 = alloca [32 x i8], align 16
%20 = alloca [8 x i8], align 1
%21 = alloca [8 x i8], align 1
%22 = alloca [155 x i8], align 16
%23 = alloca [12 x i8], align 1
%24 = alloca ptr, align 8
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca [100 x i8], align 16
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%31 = load ptr, ptr %3, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str)
store ptr %32, ptr %24, align 8
store i32 0, ptr %27, align 4
br label %33
33: ; preds = %239, %2
%34 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %24, align 8
%36 = call i64 @fread(ptr noundef %34, i32 noundef 1, i32 noundef 100, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %33
%39 = load i32, ptr %27, align 4
%40 = icmp ne i32 %39, 0
%41 = xor i1 %40, true
br label %42
42: ; preds = %38, %33
%43 = phi i1 [ false, %33 ], [ %41, %38 ]
br i1 %43, label %44, label %241
44: ; preds = %42
%45 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%46 = load ptr, ptr %24, align 8
%47 = call i64 @fread(ptr noundef %45, i32 noundef 1, i32 noundef 8, ptr noundef %46)
%48 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%49 = load ptr, ptr %24, align 8
%50 = call i64 @fread(ptr noundef %48, i32 noundef 1, i32 noundef 8, ptr noundef %49)
%51 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0
%52 = load ptr, ptr %24, align 8
%53 = call i64 @fread(ptr noundef %51, i32 noundef 1, i32 noundef 8, ptr noundef %52)
%54 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0
%55 = load ptr, ptr %24, align 8
%56 = call i64 @fread(ptr noundef %54, i32 noundef 1, i32 noundef 12, ptr noundef %55)
%57 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
%58 = load ptr, ptr %24, align 8
%59 = call i64 @fread(ptr noundef %57, i32 noundef 1, i32 noundef 12, ptr noundef %58)
%60 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0
%61 = load ptr, ptr %24, align 8
%62 = call i64 @fread(ptr noundef %60, i32 noundef 1, i32 noundef 8, ptr noundef %61)
%63 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0
%64 = load ptr, ptr %24, align 8
%65 = call i64 @fread(ptr noundef %63, i32 noundef 1, i32 noundef 1, ptr noundef %64)
%66 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0
%67 = load ptr, ptr %24, align 8
%68 = call i64 @fread(ptr noundef %66, i32 noundef 1, i32 noundef 100, ptr noundef %67)
%69 = getelementptr inbounds [6 x i8], ptr %16, i64 0, i64 0
%70 = load ptr, ptr %24, align 8
%71 = call i64 @fread(ptr noundef %69, i32 noundef 1, i32 noundef 6, ptr noundef %70)
%72 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0
%73 = load ptr, ptr %24, align 8
%74 = call i64 @fread(ptr noundef %72, i32 noundef 1, i32 noundef 2, ptr noundef %73)
%75 = getelementptr inbounds [32 x i8], ptr %18, i64 0, i64 0
%76 = load ptr, ptr %24, align 8
%77 = call i64 @fread(ptr noundef %75, i32 noundef 1, i32 noundef 32, ptr noundef %76)
%78 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
%79 = load ptr, ptr %24, align 8
%80 = call i64 @fread(ptr noundef %78, i32 noundef 1, i32 noundef 32, ptr noundef %79)
%81 = getelementptr inbounds [8 x i8], ptr %20, i64 0, i64 0
%82 = load ptr, ptr %24, align 8
%83 = call i64 @fread(ptr noundef %81, i32 noundef 1, i32 noundef 8, ptr noundef %82)
%84 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
%85 = load ptr, ptr %24, align 8
%86 = call i64 @fread(ptr noundef %84, i32 noundef 1, i32 noundef 8, ptr noundef %85)
%87 = getelementptr inbounds [155 x i8], ptr %22, i64 0, i64 0
%88 = load ptr, ptr %24, align 8
%89 = call i64 @fread(ptr noundef %87, i32 noundef 1, i32 noundef 155, ptr noundef %88)
%90 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
%91 = load ptr, ptr %24, align 8
%92 = call i64 @fread(ptr noundef %90, i32 noundef 1, i32 noundef 12, ptr noundef %91)
store i32 0, ptr %30, align 4
%93 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%94 = call i64 @isEmpty(ptr noundef %93, i32 noundef 100)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %44
%97 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.1)
store i32 1, ptr %30, align 4
br label %159
98: ; preds = %44
%99 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%100 = call i64 @isEqual(ptr noundef %99, ptr noundef @.str.2)
%101 = icmp ne i64 %100, 0
br i1 %101, label %102, label %158
102: ; preds = %98
%103 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.3)
%104 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%105 = load ptr, ptr %24, align 8
%106 = call i64 @fread(ptr noundef %104, i32 noundef 1, i32 noundef 512, ptr noundef %105)
%107 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0
%108 = load ptr, ptr %24, align 8
%109 = call i64 @fread(ptr noundef %107, i32 noundef 1, i32 noundef 100, ptr noundef %108)
%110 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%111 = load ptr, ptr %24, align 8
%112 = call i64 @fread(ptr noundef %110, i32 noundef 1, i32 noundef 8, ptr noundef %111)
%113 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%114 = load ptr, ptr %24, align 8
%115 = call i64 @fread(ptr noundef %113, i32 noundef 1, i32 noundef 8, ptr noundef %114)
%116 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0
%117 = load ptr, ptr %24, align 8
%118 = call i64 @fread(ptr noundef %116, i32 noundef 1, i32 noundef 8, ptr noundef %117)
%119 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0
%120 = load ptr, ptr %24, align 8
%121 = call i64 @fread(ptr noundef %119, i32 noundef 1, i32 noundef 12, ptr noundef %120)
%122 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
%123 = load ptr, ptr %24, align 8
%124 = call i64 @fread(ptr noundef %122, i32 noundef 1, i32 noundef 12, ptr noundef %123)
%125 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0
%126 = load ptr, ptr %24, align 8
%127 = call i64 @fread(ptr noundef %125, i32 noundef 1, i32 noundef 8, ptr noundef %126)
%128 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0
%129 = load ptr, ptr %24, align 8
%130 = call i64 @fread(ptr noundef %128, i32 noundef 1, i32 noundef 1, ptr noundef %129)
%131 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0
%132 = load ptr, ptr %24, align 8
%133 = call i64 @fread(ptr noundef %131, i32 noundef 1, i32 noundef 100, ptr noundef %132)
%134 = getelementptr inbounds [6 x i8], ptr %16, i64 0, i64 0
%135 = load ptr, ptr %24, align 8
%136 = call i64 @fread(ptr noundef %134, i32 noundef 1, i32 noundef 6, ptr noundef %135)
%137 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0
%138 = load ptr, ptr %24, align 8
%139 = call i64 @fread(ptr noundef %137, i32 noundef 1, i32 noundef 2, ptr noundef %138)
%140 = getelementptr inbounds [32 x i8], ptr %18, i64 0, i64 0
%141 = load ptr, ptr %24, align 8
%142 = call i64 @fread(ptr noundef %140, i32 noundef 1, i32 noundef 32, ptr noundef %141)
%143 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
%144 = load ptr, ptr %24, align 8
%145 = call i64 @fread(ptr noundef %143, i32 noundef 1, i32 noundef 32, ptr noundef %144)
%146 = getelementptr inbounds [8 x i8], ptr %20, i64 0, i64 0
%147 = load ptr, ptr %24, align 8
%148 = call i64 @fread(ptr noundef %146, i32 noundef 1, i32 noundef 8, ptr noundef %147)
%149 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
%150 = load ptr, ptr %24, align 8
%151 = call i64 @fread(ptr noundef %149, i32 noundef 1, i32 noundef 8, ptr noundef %150)
%152 = getelementptr inbounds [155 x i8], ptr %22, i64 0, i64 0
%153 = load ptr, ptr %24, align 8
%154 = call i64 @fread(ptr noundef %152, i32 noundef 1, i32 noundef 155, ptr noundef %153)
%155 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
%156 = load ptr, ptr %24, align 8
%157 = call i64 @fread(ptr noundef %155, i32 noundef 1, i32 noundef 12, ptr noundef %156)
br label %158
158: ; preds = %102, %98
br label %159
159: ; preds = %158, %96
%160 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%161 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.4, ptr noundef %160)
%162 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0
%163 = call i32 @strtol(ptr noundef %162, ptr noundef null, i32 noundef 8)
store i32 %163, ptr %26, align 4
%164 = load i32, ptr %26, align 4
%165 = icmp sgt i32 %164, 0
br i1 %165, label %166, label %171
166: ; preds = %159
%167 = load i32, ptr %26, align 4
%168 = sub nsw i32 %167, 1
%169 = sdiv i32 %168, 512
%170 = add nsw i32 %169, 1
br label %172
171: ; preds = %159
br label %172
172: ; preds = %171, %166
%173 = phi i32 [ %170, %166 ], [ 0, %171 ]
store i32 %173, ptr %25, align 4
%174 = load i32, ptr %30, align 4
%175 = icmp ne i32 %174, 0
br i1 %175, label %176, label %192
176: ; preds = %172
%177 = load i32, ptr %25, align 4
%178 = icmp sle i32 %177, 0
br i1 %178, label %179, label %192
179: ; preds = %176
%180 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%181 = load ptr, ptr %24, align 8
%182 = call i64 @fread(ptr noundef %180, i32 noundef 1, i32 noundef 512, ptr noundef %181)
%183 = load i32, ptr %30, align 4
%184 = icmp ne i32 %183, 0
br i1 %184, label %185, label %191
185: ; preds = %179
%186 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%187 = call i64 @isEmpty(ptr noundef %186, i32 noundef 512)
%188 = icmp ne i64 %187, 0
br i1 %188, label %189, label %191
189: ; preds = %185
%190 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.5)
store i32 1, ptr %27, align 4
br label %191
191: ; preds = %189, %185, %179
br label %192
192: ; preds = %191, %176, %172
%193 = load i32, ptr %25, align 4
%194 = icmp eq i32 %193, 0
br i1 %194, label %195, label %207
195: ; preds = %192
%196 = load ptr, ptr %4, align 8
%197 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%198 = call ptr @concat(i32 noundef 3, ptr noundef %196, ptr noundef @.str.6, ptr noundef %197)
%199 = load i32, ptr @S_IRWXU, align 4
%200 = load i32, ptr @S_IRWXG, align 4
%201 = or i32 %199, %200
%202 = load i32, ptr @S_IROTH, align 4
%203 = or i32 %201, %202
%204 = load i32, ptr @S_IXOTH, align 4
%205 = or i32 %203, %204
%206 = call i32 @mkpath(ptr noundef %198, i32 noundef %205)
br label %239
207: ; preds = %192
%208 = load ptr, ptr %4, align 8
%209 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%210 = call ptr @concat(i32 noundef 3, ptr noundef %208, ptr noundef @.str.6, ptr noundef %209)
%211 = call ptr @fopen(ptr noundef %210, ptr noundef @.str.7)
store ptr %211, ptr %29, align 8
%212 = load i32, ptr %25, align 4
%213 = add nsw i32 %212, -1
store i32 %213, ptr %25, align 4
%214 = icmp sgt i32 %212, 0
br i1 %214, label %.lr.ph, label %236
.lr.ph: ; preds = %207
br label %215
215: ; preds = %.lr.ph, %232
%216 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%217 = load ptr, ptr %24, align 8
%218 = call i64 @fread(ptr noundef %216, i32 noundef 1, i32 noundef 512, ptr noundef %217)
%219 = load i32, ptr %26, align 4
%220 = icmp sge i32 %219, 512
br i1 %220, label %221, label %227
221: ; preds = %215
%222 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%223 = load ptr, ptr %29, align 8
%224 = call i32 @fwrite(ptr noundef %222, i32 noundef 1, i32 noundef 512, ptr noundef %223)
%225 = load i32, ptr %26, align 4
%226 = sub nsw i32 %225, 512
store i32 %226, ptr %26, align 4
br label %232
227: ; preds = %215
%228 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%229 = load i32, ptr %26, align 4
%230 = load ptr, ptr %29, align 8
%231 = call i32 @fwrite(ptr noundef %228, i32 noundef 1, i32 noundef %229, ptr noundef %230)
store i32 0, ptr %26, align 4
br label %232
232: ; preds = %227, %221
%233 = load i32, ptr %25, align 4
%234 = add nsw i32 %233, -1
store i32 %234, ptr %25, align 4
%235 = icmp sgt i32 %233, 0
br i1 %235, label %215, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %232
br label %236
236: ; preds = %._crit_edge, %207
%237 = load ptr, ptr %29, align 8
%238 = call i32 @fclose(ptr noundef %237)
br label %239
239: ; preds = %236, %195
%240 = call i32 (ptr, ...) @logOutFile(ptr noundef @.str.8)
br label %33, !llvm.loop !8
241: ; preds = %42
%242 = load ptr, ptr %24, align 8
%243 = call i32 @fclose(ptr noundef %242)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @isEmpty(ptr noundef, i32 noundef) #1
declare i32 @logOutFile(ptr noundef, ...) #1
declare i64 @isEqual(ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mkpath(ptr noundef, i32 noundef) #1
declare ptr @concat(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7kvrc7c6.c'
source_filename = "/tmp/tmp7kvrc7c6.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"Unable to create conversion map\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_unable_to_create_conversion_map() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7kvrc7c6.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"Unable to create conversion map\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_unable_to_create_conversion_map() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfvb60tb5.c'
source_filename = "/tmp/tmpfvb60tb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byteswap32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i64 (...) @littleEndian()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = ashr i32 %7, 24
%9 = and i32 %8, 255
%10 = load i32, ptr %3, align 4
%11 = shl i32 %10, 8
%12 = and i32 %11, 16711680
%13 = or i32 %9, %12
%14 = load i32, ptr %3, align 4
%15 = ashr i32 %14, 8
%16 = and i32 %15, 65280
%17 = or i32 %13, %16
%18 = load i32, ptr %3, align 4
%19 = shl i32 %18, 24
%20 = and i32 %19, -16777216
%21 = or i32 %17, %20
store i32 %21, ptr %2, align 4
br label %24
22: ; preds = %1
%23 = load i32, ptr %3, align 4
store i32 %23, ptr %2, align 4
br label %24
24: ; preds = %22, %6
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @littleEndian(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfvb60tb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byteswap32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i64 (...) @littleEndian()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = ashr i32 %7, 24
%9 = and i32 %8, 255
%10 = load i32, ptr %3, align 4
%11 = shl i32 %10, 8
%12 = and i32 %11, 16711680
%13 = or i32 %9, %12
%14 = load i32, ptr %3, align 4
%15 = ashr i32 %14, 8
%16 = and i32 %15, 65280
%17 = or i32 %13, %16
%18 = load i32, ptr %3, align 4
%19 = shl i32 %18, 24
%20 = and i32 %19, -16777216
%21 = or i32 %17, %20
store i32 %21, ptr %2, align 4
br label %24
22: ; preds = %1
%23 = load i32, ptr %3, align 4
store i32 %23, ptr %2, align 4
br label %24
24: ; preds = %22, %6
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @littleEndian(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpczlm1ja2.c'
source_filename = "/tmp/tmpczlm1ja2.c"
target datalayout = "e-m:e-p270: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/tmpczlm1ja2.c"
target datalayout = "e-m:e-p270: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/tmpg4g9bfus.c'
source_filename = "/tmp/tmpg4g9bfus.c"
target datalayout = "e-m:e-p270: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/tmpg4g9bfus.c"
target datalayout = "e-m:e-p270: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/tmpw0oehaq1.c'
source_filename = "/tmp/tmpw0oehaq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"/dev/input/event%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_powermate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [256 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %22, %1
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 16
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%12 = load i32, ptr %5, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%15 = load i32, ptr %3, align 4
%16 = call i32 @open_powermate(ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %10
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %2, align 4
br label %26
21: ; preds = %10
br label %22
22: ; preds = %21
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
store i32 -1, ptr %2, align 4
br label %26
26: ; preds = %25, %19
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @open_powermate(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw0oehaq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"/dev/input/event%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_powermate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [256 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 16
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %21
%10 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%11 = load i32, ptr %5, align 4
%12 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%14 = load i32, ptr %3, align 4
%15 = call i32 @open_powermate(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %9
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %2, align 4
br label %27
20: ; preds = %9
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 16
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %1
store i32 -1, ptr %2, align 4
br label %27
27: ; preds = %26, %18
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @open_powermate(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0unjii9r.c'
source_filename = "/tmp/tmp0unjii9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdns_get_api_version_number() #0 {
ret i32 132056832
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0unjii9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdns_get_api_version_number() #0 {
ret i32 132056832
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmw4zj5or.c'
source_filename = "/tmp/tmpmw4zj5or.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ephAtmRef(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fmul double %4, 6.000000e+01
%6 = call double @ephTan(double noundef 0x3FFA94F2094F2094)
%7 = fdiv double -1.000000e+00, %6
%8 = fcmp ogt double %5, %7
br i1 %8, label %9, label %18
9: ; preds = %1
%10 = load double, ptr %2, align 8
%11 = load double, ptr %2, align 8
%12 = fadd double %11, 5.110000e+00
%13 = fdiv double 1.030000e+01, %12
%14 = fadd double %10, %13
%15 = call double @ephTan(double noundef %14)
%16 = fdiv double 1.020000e+00, %15
%17 = fadd double %16, 1.927900e-03
store double %17, ptr %3, align 8
br label %19
18: ; preds = %1
store double 0.000000e+00, ptr %3, align 8
br label %19
19: ; preds = %18, %9
%20 = load double, ptr %2, align 8
%21 = load double, ptr %3, align 8
%22 = fdiv double %21, 6.000000e+01
%23 = fadd double %20, %22
ret double %23
}
declare double @ephTan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmw4zj5or.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ephAtmRef(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fmul double %4, 6.000000e+01
%6 = call double @ephTan(double noundef 0x3FFA94F2094F2094)
%7 = fdiv double -1.000000e+00, %6
%8 = fcmp ogt double %5, %7
br i1 %8, label %9, label %18
9: ; preds = %1
%10 = load double, ptr %2, align 8
%11 = load double, ptr %2, align 8
%12 = fadd double %11, 5.110000e+00
%13 = fdiv double 1.030000e+01, %12
%14 = fadd double %10, %13
%15 = call double @ephTan(double noundef %14)
%16 = fdiv double 1.020000e+00, %15
%17 = fadd double %16, 1.927900e-03
store double %17, ptr %3, align 8
br label %19
18: ; preds = %1
store double 0.000000e+00, ptr %3, align 8
br label %19
19: ; preds = %18, %9
%20 = load double, ptr %2, align 8
%21 = load double, ptr %3, align 8
%22 = fdiv double %21, 6.000000e+01
%23 = fadd double %20, %22
ret double %23
}
declare double @ephTan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ok8sh2p.c'
source_filename = "/tmp/tmp0ok8sh2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The command line has %d arguments:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%d: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %22, %2
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ok8sh2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The command line has %d arguments:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%d: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
store i32 1, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsz_n3atx.c'
source_filename = "/tmp/tmpsz_n3atx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"fahr\09celius\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 300, ptr %5, align 4
store i32 20, ptr %6, align 4
%7 = load i32, ptr %5, align 4
store i32 %7, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %9
9: ; preds = %12, %0
%10 = load i32, ptr %2, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 %13, 32
%15 = mul nsw i32 5, %14
%16 = sdiv i32 %15, 9
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %6, align 4
%22 = sub nsw i32 %20, %21
store i32 %22, ptr %2, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
%24 = load i32, ptr %1, align 4
ret i32 %24
}
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/tmpsz_n3atx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"fahr\09celius\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 300, ptr %5, align 4
store i32 20, ptr %6, align 4
%7 = load i32, ptr %5, align 4
store i32 %7, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %2, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 %12, 32
%14 = mul nsw i32 5, %13
%15 = sdiv i32 %14, 9
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %6, align 4
%21 = sub nsw i32 %19, %20
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %1, align 4
ret i32 %25
}
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/tmpgiq67sgi.c'
source_filename = "/tmp/tmpgiq67sgi.c"
target datalayout = "e-m:e-p270: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/tmpgiq67sgi.c"
target datalayout = "e-m:e-p270: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/tmpetr50sp8.c'
source_filename = "/tmp/tmpetr50sp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Curl_ssl_recv(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpetr50sp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Curl_ssl_recv(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsempej3y.c'
source_filename = "/tmp/tmpsempej3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_CREAT = dso_local global i32 0, align 4
@SHM_R = dso_local global i32 0, align 4
@SHM_W = dso_local global i32 0, align 4
@IPC_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c">El segmento de memoria compartida ya ha sido creado\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"Error al obtener el id de la memoria compartida\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c">El segmento de memoria compartida ha sido creado\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"ipcs -m\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"Error al obtener la direcci\C3\B3n de memoria compartida\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c">Direccion de memoria compartida obtenida\0A\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"Error al desvincular la memoria compartida\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c">Proceso desvinculado de la memoria compartida\0A\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [41 x i8] c"Error al eliminar la memoria compartida\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c">Memoria compartida borrada\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %3, align 8
store i32 2, ptr %4, align 4
%5 = load i32, ptr @IPC_CREAT, align 4
%6 = load i32, ptr @SHM_R, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @SHM_W, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @IPC_EXCL, align 4
%11 = or i32 %9, %10
%12 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %27
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i32, ptr @SHM_R, align 4
%18 = load i32, ptr @SHM_W, align 4
%19 = or i32 %17, %18
%20 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %19)
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef -1) #3
unreachable
26: ; preds = %15
br label %29
27: ; preds = %0
%28 = call i32 @printf(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %26
%30 = call i32 @system(ptr noundef @.str.3)
%31 = load i32, ptr %2, align 4
%32 = call i64 @shmat(i32 noundef %31, ptr noundef null, i32 noundef 0)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %3, align 8
%34 = load ptr, ptr %3, align 8
%35 = icmp eq ptr %34, inttoptr (i64 -1 to ptr)
br i1 %35, label %36, label %39
36: ; preds = %29
%37 = call i32 @printf(ptr noundef @.str.4)
%38 = call i32 @exit(i32 noundef -1) #3
unreachable
39: ; preds = %29
%40 = call i32 @printf(ptr noundef @.str.5)
%41 = load i32, ptr %4, align 4
%42 = load ptr, ptr %3, align 8
store i32 %41, ptr %42, align 4
%43 = load ptr, ptr %3, align 8
%44 = call i32 @shmdt(ptr noundef %43)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = call i32 @printf(ptr noundef @.str.6)
%48 = call i32 @exit(i32 noundef -1) #3
unreachable
49: ; preds = %39
%50 = call i32 @printf(ptr noundef @.str.7)
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr @IPC_RMID, align 4
%53 = call i32 @shmctl(i32 noundef %51, i32 noundef %52, ptr noundef null)
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = call i32 @printf(ptr noundef @.str.8)
%57 = call i32 @exit(i32 noundef -1) #3
unreachable
58: ; preds = %49
%59 = call i32 @printf(ptr noundef @.str.9)
%60 = call i32 @system(ptr noundef @.str.3)
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @system(ptr noundef) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @shmctl(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" }
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/tmpsempej3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_CREAT = dso_local global i32 0, align 4
@SHM_R = dso_local global i32 0, align 4
@SHM_W = dso_local global i32 0, align 4
@IPC_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c">El segmento de memoria compartida ya ha sido creado\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"Error al obtener el id de la memoria compartida\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c">El segmento de memoria compartida ha sido creado\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"ipcs -m\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"Error al obtener la direcci\C3\B3n de memoria compartida\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c">Direccion de memoria compartida obtenida\0A\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"Error al desvincular la memoria compartida\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c">Proceso desvinculado de la memoria compartida\0A\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [41 x i8] c"Error al eliminar la memoria compartida\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c">Memoria compartida borrada\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %3, align 8
store i32 2, ptr %4, align 4
%5 = load i32, ptr @IPC_CREAT, align 4
%6 = load i32, ptr @SHM_R, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @SHM_W, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @IPC_EXCL, align 4
%11 = or i32 %9, %10
%12 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %27
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i32, ptr @SHM_R, align 4
%18 = load i32, ptr @SHM_W, align 4
%19 = or i32 %17, %18
%20 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %19)
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef -1) #3
unreachable
26: ; preds = %15
br label %29
27: ; preds = %0
%28 = call i32 @printf(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %26
%30 = call i32 @system(ptr noundef @.str.3)
%31 = load i32, ptr %2, align 4
%32 = call i64 @shmat(i32 noundef %31, ptr noundef null, i32 noundef 0)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %3, align 8
%34 = load ptr, ptr %3, align 8
%35 = icmp eq ptr %34, inttoptr (i64 -1 to ptr)
br i1 %35, label %36, label %39
36: ; preds = %29
%37 = call i32 @printf(ptr noundef @.str.4)
%38 = call i32 @exit(i32 noundef -1) #3
unreachable
39: ; preds = %29
%40 = call i32 @printf(ptr noundef @.str.5)
%41 = load i32, ptr %4, align 4
%42 = load ptr, ptr %3, align 8
store i32 %41, ptr %42, align 4
%43 = load ptr, ptr %3, align 8
%44 = call i32 @shmdt(ptr noundef %43)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = call i32 @printf(ptr noundef @.str.6)
%48 = call i32 @exit(i32 noundef -1) #3
unreachable
49: ; preds = %39
%50 = call i32 @printf(ptr noundef @.str.7)
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr @IPC_RMID, align 4
%53 = call i32 @shmctl(i32 noundef %51, i32 noundef %52, ptr noundef null)
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = call i32 @printf(ptr noundef @.str.8)
%57 = call i32 @exit(i32 noundef -1) #3
unreachable
58: ; preds = %49
%59 = call i32 @printf(ptr noundef @.str.9)
%60 = call i32 @system(ptr noundef @.str.3)
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @system(ptr noundef) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @shmctl(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" }
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/tmpodt6_ivy.c'
source_filename = "/tmp/tmpodt6_ivy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtolower(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
br label %26
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %23, %7
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %26
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isalpha(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = call signext i8 @tolower(i8 noundef signext %20)
%22 = load ptr, ptr %3, align 8
store i8 %21, ptr %22, align 1
br label %23
23: ; preds = %18, %13
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %3, align 8
br label %9, !llvm.loop !6
26: ; preds = %6, %9
ret void
}
declare i64 @isalpha(i8 noundef signext) #1
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpodt6_ivy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtolower(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
br label %28
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %7
br label %12
12: ; preds = %.lr.ph, %22
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @isalpha(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = call signext i8 @tolower(i8 noundef signext %19)
%21 = load ptr, ptr %3, align 8
store i8 %20, ptr %21, align 1
br label %22
22: ; preds = %17, %12
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %7
br label %28
28: ; preds = %.loopexit, %6
ret void
}
declare i64 @isalpha(i8 noundef signext) #1
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc7netop6.c'
source_filename = "/tmp/tmpc7netop6.c"
target datalayout = "e-m:e-p270: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/tmpc7netop6.c"
target datalayout = "e-m:e-p270: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/tmpwa2w42sz.c'
source_filename = "/tmp/tmpwa2w42sz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = 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/tmpwa2w42sz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = 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/tmpflaovmww.c'
source_filename = "/tmp/tmpflaovmww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c" * \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"=====\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%02d-%02d\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"there are %04d words overflowing!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vhist(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 1, ptr %9, align 4
store i32 2, ptr %8, align 4
br label %11
11: ; preds = %29, %3
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 15
br i1 %13, label %14, label %32
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp slt i32 %19, %24
br i1 %25, label %26, label %28
26: ; preds = %14
%27 = load i32, ptr %8, align 4
store i32 %27, ptr %9, align 4
br label %28
28: ; preds = %26, %14
br label %29
29: ; preds = %28
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %11, !llvm.loop !6
32: ; preds = %11
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = sdiv i32 15, %38
store i32 %39, ptr %10, align 4
store i32 15, ptr %8, align 4
br label %40
40: ; preds = %70, %32
%41 = load i32, ptr %8, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %73
43: ; preds = %40
store i32 1, ptr %9, align 4
br label %44
44: ; preds = %64, %43
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 15
br i1 %46, label %47, label %67
47: ; preds = %44
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %10, align 4
%54 = mul nsw i32 %52, %53
%55 = load i32, ptr %8, align 4
%56 = icmp sge i32 %54, %55
br i1 %56, label %57, label %60
57: ; preds = %47
%58 = load ptr, ptr %4, align 8
%59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str)
br label %63
60: ; preds = %47
%61 = load ptr, ptr %4, align 8
%62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.1)
br label %63
63: ; preds = %60, %57
br label %64
64: ; preds = %63
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %9, align 4
br label %44, !llvm.loop !8
67: ; preds = %44
%68 = load ptr, ptr %4, align 8
%69 = call i32 @fputc(i8 noundef signext 10, ptr noundef %68)
br label %70
70: ; preds = %67
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %8, align 4
br label %40, !llvm.loop !9
73: ; preds = %40
store i32 1, ptr %8, align 4
br label %74
74: ; preds = %80, %73
%75 = load i32, ptr %8, align 4
%76 = icmp slt i32 %75, 15
br i1 %76, label %77, label %83
77: ; preds = %74
%78 = load ptr, ptr %4, align 8
%79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.2)
br label %80
80: ; preds = %77
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %8, align 4
br label %74, !llvm.loop !10
83: ; preds = %74
%84 = load ptr, ptr %4, align 8
%85 = call i32 @fputc(i8 noundef signext 10, ptr noundef %84)
store i32 1, ptr %8, align 4
br label %86
86: ; preds = %98, %83
%87 = load i32, ptr %8, align 4
%88 = icmp slt i32 %87, 15
br i1 %88, label %89, label %101
89: ; preds = %86
%90 = load ptr, ptr %4, align 8
%91 = load i32, ptr %8, align 4
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %8, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
%96 = load i32, ptr %95, align 4
%97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.3, i32 noundef %91, i32 noundef %96)
br label %98
98: ; preds = %89
%99 = load i32, ptr %8, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %8, align 4
br label %86, !llvm.loop !11
101: ; preds = %86
%102 = load ptr, ptr %4, align 8
%103 = call i32 @fputc(i8 noundef signext 10, ptr noundef %102)
%104 = load i32, ptr %6, align 4
%105 = icmp sgt i32 %104, 0
br i1 %105, label %106, label %110
106: ; preds = %101
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %6, align 4
%109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.4, i32 noundef %108)
br label %110
110: ; preds = %106, %101
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpflaovmww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c" * \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"=====\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%02d-%02d\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"there are %04d words overflowing!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vhist(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 1, ptr %9, align 4
store i32 2, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 15
br i1 %12, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %28
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp slt i32 %18, %23
br i1 %24, label %25, label %27
25: ; preds = %13
%26 = load i32, ptr %8, align 4
store i32 %26, ptr %9, align 4
br label %27
27: ; preds = %25, %13
br label %28
28: ; preds = %27
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 15
br i1 %32, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %3
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = sdiv i32 15, %39
store i32 %40, ptr %10, align 4
store i32 15, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %.lr.ph5, label %76
.lr.ph5: ; preds = %33
br label %43
43: ; preds = %.lr.ph5, %71
store i32 1, ptr %9, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %44, 15
br i1 %45, label %.lr.ph2, label %68
.lr.ph2: ; preds = %43
br label %46
46: ; preds = %.lr.ph2, %63
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %10, align 4
%53 = mul nsw i32 %51, %52
%54 = load i32, ptr %8, align 4
%55 = icmp sge i32 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %46
%57 = load ptr, ptr %4, align 8
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str)
br label %62
59: ; preds = %46
%60 = load ptr, ptr %4, align 8
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.1)
br label %62
62: ; preds = %59, %56
br label %63
63: ; preds = %62
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
%66 = load i32, ptr %9, align 4
%67 = icmp slt i32 %66, 15
br i1 %67, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %68
68: ; preds = %._crit_edge3, %43
%69 = load ptr, ptr %4, align 8
%70 = call i32 @fputc(i8 noundef signext 10, ptr noundef %69)
br label %71
71: ; preds = %68
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, -1
store i32 %73, ptr %8, align 4
%74 = load i32, ptr %8, align 4
%75 = icmp sgt i32 %74, 0
br i1 %75, label %43, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %76
76: ; preds = %._crit_edge6, %33
store i32 1, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp slt i32 %77, 15
br i1 %78, label %.lr.ph8, label %87
.lr.ph8: ; preds = %76
br label %79
79: ; preds = %.lr.ph8, %82
%80 = load ptr, ptr %4, align 8
%81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.2)
br label %82
82: ; preds = %79
%83 = load i32, ptr %8, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %8, align 4
%85 = load i32, ptr %8, align 4
%86 = icmp slt i32 %85, 15
br i1 %86, label %79, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %82
br label %87
87: ; preds = %._crit_edge9, %76
%88 = load ptr, ptr %4, align 8
%89 = call i32 @fputc(i8 noundef signext 10, ptr noundef %88)
store i32 1, ptr %8, align 4
%90 = load i32, ptr %8, align 4
%91 = icmp slt i32 %90, 15
br i1 %91, label %.lr.ph11, label %106
.lr.ph11: ; preds = %87
br label %92
92: ; preds = %.lr.ph11, %101
%93 = load ptr, ptr %4, align 8
%94 = load i32, ptr %8, align 4
%95 = load ptr, ptr %5, align 8
%96 = load i32, ptr %8, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
%99 = load i32, ptr %98, align 4
%100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.3, i32 noundef %94, i32 noundef %99)
br label %101
101: ; preds = %92
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %8, align 4
%104 = load i32, ptr %8, align 4
%105 = icmp slt i32 %104, 15
br i1 %105, label %92, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %101
br label %106
106: ; preds = %._crit_edge12, %87
%107 = load ptr, ptr %4, align 8
%108 = call i32 @fputc(i8 noundef signext 10, ptr noundef %107)
%109 = load i32, ptr %6, align 4
%110 = icmp sgt i32 %109, 0
br i1 %110, label %111, label %115
111: ; preds = %106
%112 = load ptr, ptr %4, align 8
%113 = load i32, ptr %6, align 4
%114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.4, i32 noundef %113)
br label %115
115: ; preds = %111, %106
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5ciyvy5j.c'
source_filename = "/tmp/tmp5ciyvy5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_DFL = 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/tmp5ciyvy5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_DFL = 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/tmpqk3w_5j2.c'
source_filename = "/tmp/tmpqk3w_5j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CRC32_FromFile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 -1, ptr %6, align 4
br label %8
8: ; preds = %19, %2
%9 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = call i64 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1024, ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = load i64, ptr %7, align 8
%15 = call i32 @CRC32_Update(i32 noundef %12, ptr noundef %13, i64 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i64, ptr %7, align 8
%17 = icmp ult i64 %16, 1024
br i1 %17, label %18, label %19
18: ; preds = %8
br label %20
19: ; preds = %8
br label %8
20: ; preds = %18
%21 = load i32, ptr %6, align 4
%22 = xor i32 %21, -1
%23 = load ptr, ptr %4, align 8
store i32 %22, ptr %23, align 4
%24 = load ptr, ptr %3, align 8
%25 = call i32 @feof(ptr noundef %24)
ret i32 %25
}
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @CRC32_Update(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqk3w_5j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CRC32_FromFile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 -1, ptr %6, align 4
br label %8
8: ; preds = %8, %2
%9 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = call i64 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1024, ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = load i64, ptr %7, align 8
%15 = call i32 @CRC32_Update(i32 noundef %12, ptr noundef %13, i64 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i64, ptr %7, align 8
%17 = icmp ult i64 %16, 1024
br i1 %17, label %18, label %8
18: ; preds = %8
br label %19
19: ; preds = %18
%20 = load i32, ptr %6, align 4
%21 = xor i32 %20, -1
%22 = load ptr, ptr %4, align 8
store i32 %21, ptr %22, align 4
%23 = load ptr, ptr %3, align 8
%24 = call i32 @feof(ptr noundef %23)
ret i32 %24
}
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @CRC32_Update(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf80qo9vq.c'
source_filename = "/tmp/tmpf80qo9vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"send\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"can only send %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @start_server(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = ptrtoint ptr %10 to i64
%12 = trunc i64 %11 to i32
store i32 %12, ptr %4, align 4
store i32 4, ptr %6, align 4
%13 = call ptr @malloc(i32 noundef 8192)
store ptr %13, ptr %7, align 8
br label %14
14: ; preds = %47, %1
%15 = load i32, ptr %4, align 4
%16 = call i32 @accept(i32 noundef %15, ptr noundef %5, ptr noundef %6)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @perror(ptr noundef @.str)
br label %51
21: ; preds = %14
br label %22
22: ; preds = %33, %21
%23 = load i32, ptr %8, align 4
%24 = load ptr, ptr %7, align 8
%25 = call i32 @send(i32 noundef %23, ptr noundef %24, i32 noundef 8192, i32 noundef 0)
store i32 %25, ptr %9, align 4
br label %26
26: ; preds = %22
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EINTR, align 8
%32 = icmp eq i64 %30, %31
br label %33
33: ; preds = %29, %26
%34 = phi i1 [ false, %26 ], [ %32, %29 ]
br i1 %34, label %22, label %35, !llvm.loop !6
35: ; preds = %33
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 @perror(ptr noundef @.str.1)
br label %40
40: ; preds = %38, %35
%41 = load i32, ptr %9, align 4
%42 = icmp ne i32 %41, 8192
br i1 %42, label %43, label %47
43: ; preds = %40
%44 = load i32, ptr @stderr, align 4
%45 = load i32, ptr %9, align 4
%46 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.2, i32 noundef %45)
br label %47
47: ; preds = %43, %40
%48 = call i32 @sleep(i32 noundef 1)
%49 = load i32, ptr %8, align 4
%50 = call i32 @close(i32 noundef %49)
br label %14
51: ; preds = %19
%52 = load ptr, ptr %7, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load i32, ptr %4, align 4
%55 = call i32 @close(i32 noundef %54)
%56 = call i32 @pthread_exit(i32 noundef 0)
%57 = load ptr, ptr %2, align 8
ret ptr %57
}
declare ptr @malloc(i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @pthread_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpf80qo9vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"send\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"can only send %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @start_server(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = ptrtoint ptr %10 to i64
%12 = trunc i64 %11 to i32
store i32 %12, ptr %4, align 4
store i32 4, ptr %6, align 4
%13 = call ptr @malloc(i32 noundef 8192)
store ptr %13, ptr %7, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @accept(i32 noundef %14, ptr noundef %5, ptr noundef %6)
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %.lr.ph
.lr.ph: ; preds = %1
br label %20
._crit_edge: ; preds = %46
br label %18
18: ; preds = %._crit_edge, %1
%19 = call i32 @perror(ptr noundef @.str)
br label %54
20: ; preds = %.lr.ph, %46
br label %21
21: ; preds = %32, %20
%22 = load i32, ptr %8, align 4
%23 = load ptr, ptr %7, align 8
%24 = call i32 @send(i32 noundef %22, ptr noundef %23, i32 noundef 8192, i32 noundef 0)
store i32 %24, ptr %9, align 4
br label %25
25: ; preds = %21
%26 = load i32, ptr %9, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @EINTR, align 8
%31 = icmp eq i64 %29, %30
br label %32
32: ; preds = %28, %25
%33 = phi i1 [ false, %25 ], [ %31, %28 ]
br i1 %33, label %21, label %34, !llvm.loop !6
34: ; preds = %32
%35 = load i32, ptr %9, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @perror(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %34
%40 = load i32, ptr %9, align 4
%41 = icmp ne i32 %40, 8192
br i1 %41, label %42, label %46
42: ; preds = %39
%43 = load i32, ptr @stderr, align 4
%44 = load i32, ptr %9, align 4
%45 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.2, i32 noundef %44)
br label %46
46: ; preds = %42, %39
%47 = call i32 @sleep(i32 noundef 1)
%48 = load i32, ptr %8, align 4
%49 = call i32 @close(i32 noundef %48)
%50 = load i32, ptr %4, align 4
%51 = call i32 @accept(i32 noundef %50, ptr noundef %5, ptr noundef %6)
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %._crit_edge, label %20
54: ; preds = %18
%55 = load ptr, ptr %7, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = load i32, ptr %4, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = call i32 @pthread_exit(i32 noundef 0)
%60 = load ptr, ptr %2, align 8
ret ptr %60
}
declare ptr @malloc(i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @pthread_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpknas64kq.c'
source_filename = "/tmp/tmpknas64kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Max unsigned char size: %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Max unsigned short size: %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Max unsigned int size: %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Max unsigned long size: %lu\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Max unsigned long long size: %llu\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Max char size: %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Min char size: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Max short size: %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"Min short size: %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"Max int size: %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"Min int size: %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [20 x i8] c"Max long size: %ld\0A\00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"Min long size: %ld\0A\00", align 1
@.str.13 = private unnamed_addr constant [26 x i8] c"Max long long size: %lld\0A\00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"Min long long size: %lld\0A\00", align 1
@.str.15 = private unnamed_addr constant [20 x i8] c"Max float size: %f\0A\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c"Min float size: %f\0A\00", align 1
@.str.17 = private unnamed_addr constant [21 x i8] c"Max double size: %f\0A\00", align 1
@.str.18 = private unnamed_addr constant [21 x i8] c"Min double size: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i8, align 1
%12 = alloca i16, align 2
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i8, align 1
%17 = alloca i16, align 2
%18 = alloca i32, align 4
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca float, align 4
%22 = alloca double, align 8
%23 = alloca float, align 4
%24 = alloca double, align 8
%25 = alloca i64, align 8
%26 = alloca i64, align 8
%27 = alloca i64, align 8
%28 = alloca i64, align 8
%29 = alloca i64, align 8
%30 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 0, ptr %6, align 1
store i16 0, ptr %7, align 2
store i32 0, ptr %8, align 4
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i8 0, ptr %11, align 1
store i16 0, ptr %12, align 2
store i32 0, ptr %13, align 4
store i64 0, ptr %14, align 8
store i64 0, ptr %15, align 8
store i8 0, ptr %16, align 1
store i16 0, ptr %17, align 2
store i32 0, ptr %18, align 4
store i64 0, ptr %19, align 8
store i64 0, ptr %20, align 8
store float 0.000000e+00, ptr %21, align 4
store double 0.000000e+00, ptr %22, align 8
store float 0.000000e+00, ptr %23, align 4
store double 0.000000e+00, ptr %24, align 8
%31 = load i8, ptr %6, align 1
%32 = zext i8 %31 to i32
%33 = xor i32 %32, -1
%34 = trunc i32 %33 to i8
store i8 %34, ptr %6, align 1
%35 = load i8, ptr %6, align 1
%36 = uitofp i8 %35 to double
%37 = call i32 @printf(ptr noundef @.str, double noundef %36)
%38 = load i16, ptr %7, align 2
%39 = zext i16 %38 to i32
%40 = xor i32 %39, -1
%41 = trunc i32 %40 to i16
store i16 %41, ptr %7, align 2
%42 = load i16, ptr %7, align 2
%43 = uitofp i16 %42 to double
%44 = call i32 @printf(ptr noundef @.str.1, double noundef %43)
%45 = load i32, ptr %8, align 4
%46 = xor i32 %45, -1
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = uitofp i32 %47 to double
%49 = call i32 @printf(ptr noundef @.str.2, double noundef %48)
%50 = load i64, ptr %9, align 8
%51 = xor i64 %50, -1
store i64 %51, ptr %9, align 8
%52 = load i64, ptr %9, align 8
%53 = uitofp i64 %52 to double
%54 = call i32 @printf(ptr noundef @.str.3, double noundef %53)
%55 = load i64, ptr %10, align 8
%56 = xor i64 %55, -1
store i64 %56, ptr %10, align 8
%57 = load i64, ptr %10, align 8
%58 = uitofp i64 %57 to double
%59 = call i32 @printf(ptr noundef @.str.4, double noundef %58)
%60 = load i8, ptr %11, align 1
%61 = sext i8 %60 to i32
%62 = xor i32 %61, -1
%63 = trunc i32 %62 to i8
%64 = zext i8 %63 to i32
%65 = ashr i32 %64, 1
%66 = trunc i32 %65 to i8
store i8 %66, ptr %11, align 1
%67 = load i8, ptr %11, align 1
%68 = sitofp i8 %67 to double
%69 = call i32 @printf(ptr noundef @.str.5, double noundef %68)
%70 = load i8, ptr %11, align 1
%71 = sext i8 %70 to i32
%72 = shl i32 %71, 1
%73 = add nsw i32 %72, 1
%74 = load i8, ptr %11, align 1
%75 = sext i8 %74 to i32
%76 = xor i32 %73, %75
%77 = trunc i32 %76 to i8
store i8 %77, ptr %16, align 1
%78 = load i8, ptr %16, align 1
%79 = sitofp i8 %78 to double
%80 = call i32 @printf(ptr noundef @.str.6, double noundef %79)
%81 = load i16, ptr %12, align 2
%82 = sext i16 %81 to i32
%83 = xor i32 %82, -1
%84 = trunc i32 %83 to i16
%85 = zext i16 %84 to i32
%86 = ashr i32 %85, 1
%87 = trunc i32 %86 to i16
store i16 %87, ptr %12, align 2
%88 = load i16, ptr %12, align 2
%89 = sitofp i16 %88 to double
%90 = call i32 @printf(ptr noundef @.str.7, double noundef %89)
%91 = load i16, ptr %12, align 2
%92 = sext i16 %91 to i32
%93 = shl i32 %92, 1
%94 = add nsw i32 %93, 1
%95 = load i16, ptr %12, align 2
%96 = sext i16 %95 to i32
%97 = xor i32 %94, %96
%98 = trunc i32 %97 to i16
store i16 %98, ptr %17, align 2
%99 = load i16, ptr %17, align 2
%100 = sitofp i16 %99 to double
%101 = call i32 @printf(ptr noundef @.str.8, double noundef %100)
%102 = load i32, ptr %13, align 4
%103 = xor i32 %102, -1
%104 = lshr i32 %103, 1
store i32 %104, ptr %13, align 4
%105 = load i32, ptr %13, align 4
%106 = sitofp i32 %105 to double
%107 = call i32 @printf(ptr noundef @.str.9, double noundef %106)
%108 = load i32, ptr %13, align 4
%109 = shl i32 %108, 1
%110 = add nsw i32 %109, 1
%111 = load i32, ptr %13, align 4
%112 = xor i32 %110, %111
store i32 %112, ptr %18, align 4
%113 = load i32, ptr %18, align 4
%114 = sitofp i32 %113 to double
%115 = call i32 @printf(ptr noundef @.str.10, double noundef %114)
%116 = load i64, ptr %14, align 8
%117 = xor i64 %116, -1
%118 = lshr i64 %117, 1
store i64 %118, ptr %14, align 8
%119 = load i64, ptr %14, align 8
%120 = sitofp i64 %119 to double
%121 = call i32 @printf(ptr noundef @.str.11, double noundef %120)
%122 = load i64, ptr %14, align 8
%123 = shl i64 %122, 1
%124 = add nsw i64 %123, 1
%125 = load i64, ptr %14, align 8
%126 = xor i64 %124, %125
store i64 %126, ptr %19, align 8
%127 = load i64, ptr %19, align 8
%128 = sitofp i64 %127 to double
%129 = call i32 @printf(ptr noundef @.str.12, double noundef %128)
%130 = load i64, ptr %15, align 8
%131 = xor i64 %130, -1
%132 = lshr i64 %131, 1
store i64 %132, ptr %15, align 8
%133 = load i64, ptr %15, align 8
%134 = sitofp i64 %133 to double
%135 = call i32 @printf(ptr noundef @.str.13, double noundef %134)
%136 = load i64, ptr %15, align 8
%137 = shl i64 %136, 1
%138 = add nsw i64 %137, 1
%139 = load i64, ptr %15, align 8
%140 = xor i64 %138, %139
store i64 %140, ptr %20, align 8
%141 = load i64, ptr %20, align 8
%142 = sitofp i64 %141 to double
%143 = call i32 @printf(ptr noundef @.str.14, double noundef %142)
store i64 0, ptr %25, align 8
store i64 -1, ptr %26, align 8
%144 = load i64, ptr %26, align 8
%145 = lshr i64 %144, 9
store i64 %145, ptr %26, align 8
store i64 127, ptr %27, align 8
%146 = load i64, ptr %27, align 8
%147 = shl i64 %146, 24
store i64 %147, ptr %27, align 8
%148 = load i64, ptr %25, align 8
%149 = load i64, ptr %26, align 8
%150 = or i64 %148, %149
%151 = load i64, ptr %27, align 8
%152 = or i64 %150, %151
store i64 %152, ptr %25, align 8
%153 = load float, ptr %25, align 8
store float %153, ptr %21, align 4
%154 = load float, ptr %21, align 4
%155 = fpext float %154 to double
%156 = call i32 @printf(ptr noundef @.str.15, double noundef %155)
%157 = load i64, ptr %25, align 8
%158 = or i64 %157, -9223372036854775808
store i64 %158, ptr %25, align 8
%159 = load float, ptr %25, align 8
store float %159, ptr %23, align 4
%160 = load float, ptr %23, align 4
%161 = fpext float %160 to double
%162 = call i32 @printf(ptr noundef @.str.16, double noundef %161)
store i64 0, ptr %28, align 8
store i64 -1, ptr %29, align 8
%163 = load i64, ptr %29, align 8
%164 = lshr i64 %163, 12
store i64 %164, ptr %29, align 8
store i64 1023, ptr %30, align 8
%165 = load i64, ptr %30, align 8
%166 = shl i64 %165, 53
store i64 %166, ptr %30, align 8
%167 = load i64, ptr %28, align 8
%168 = load i64, ptr %29, align 8
%169 = or i64 %167, %168
%170 = load i64, ptr %30, align 8
%171 = or i64 %169, %170
store i64 %171, ptr %28, align 8
%172 = load double, ptr %28, align 8
store double %172, ptr %22, align 8
%173 = load double, ptr %22, align 8
%174 = call i32 @printf(ptr noundef @.str.17, double noundef %173)
%175 = load i64, ptr %28, align 8
%176 = or i64 %175, -9223372036854775808
store i64 %176, ptr %28, align 8
%177 = load double, ptr %28, align 8
store double %177, ptr %24, align 8
%178 = load double, ptr %24, align 8
%179 = call i32 @printf(ptr noundef @.str.18, double noundef %178)
ret i32 0
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpknas64kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Max unsigned char size: %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Max unsigned short size: %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Max unsigned int size: %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Max unsigned long size: %lu\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Max unsigned long long size: %llu\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Max char size: %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Min char size: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Max short size: %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"Min short size: %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"Max int size: %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"Min int size: %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [20 x i8] c"Max long size: %ld\0A\00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"Min long size: %ld\0A\00", align 1
@.str.13 = private unnamed_addr constant [26 x i8] c"Max long long size: %lld\0A\00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"Min long long size: %lld\0A\00", align 1
@.str.15 = private unnamed_addr constant [20 x i8] c"Max float size: %f\0A\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c"Min float size: %f\0A\00", align 1
@.str.17 = private unnamed_addr constant [21 x i8] c"Max double size: %f\0A\00", align 1
@.str.18 = private unnamed_addr constant [21 x i8] c"Min double size: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i8, align 1
%12 = alloca i16, align 2
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i8, align 1
%17 = alloca i16, align 2
%18 = alloca i32, align 4
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca float, align 4
%22 = alloca double, align 8
%23 = alloca float, align 4
%24 = alloca double, align 8
%25 = alloca i64, align 8
%26 = alloca i64, align 8
%27 = alloca i64, align 8
%28 = alloca i64, align 8
%29 = alloca i64, align 8
%30 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 0, ptr %6, align 1
store i16 0, ptr %7, align 2
store i32 0, ptr %8, align 4
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i8 0, ptr %11, align 1
store i16 0, ptr %12, align 2
store i32 0, ptr %13, align 4
store i64 0, ptr %14, align 8
store i64 0, ptr %15, align 8
store i8 0, ptr %16, align 1
store i16 0, ptr %17, align 2
store i32 0, ptr %18, align 4
store i64 0, ptr %19, align 8
store i64 0, ptr %20, align 8
store float 0.000000e+00, ptr %21, align 4
store double 0.000000e+00, ptr %22, align 8
store float 0.000000e+00, ptr %23, align 4
store double 0.000000e+00, ptr %24, align 8
%31 = load i8, ptr %6, align 1
%32 = zext i8 %31 to i32
%33 = xor i32 %32, -1
%34 = trunc i32 %33 to i8
store i8 %34, ptr %6, align 1
%35 = load i8, ptr %6, align 1
%36 = uitofp i8 %35 to double
%37 = call i32 @printf(ptr noundef @.str, double noundef %36)
%38 = load i16, ptr %7, align 2
%39 = zext i16 %38 to i32
%40 = xor i32 %39, -1
%41 = trunc i32 %40 to i16
store i16 %41, ptr %7, align 2
%42 = load i16, ptr %7, align 2
%43 = uitofp i16 %42 to double
%44 = call i32 @printf(ptr noundef @.str.1, double noundef %43)
%45 = load i32, ptr %8, align 4
%46 = xor i32 %45, -1
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = uitofp i32 %47 to double
%49 = call i32 @printf(ptr noundef @.str.2, double noundef %48)
%50 = load i64, ptr %9, align 8
%51 = xor i64 %50, -1
store i64 %51, ptr %9, align 8
%52 = load i64, ptr %9, align 8
%53 = uitofp i64 %52 to double
%54 = call i32 @printf(ptr noundef @.str.3, double noundef %53)
%55 = load i64, ptr %10, align 8
%56 = xor i64 %55, -1
store i64 %56, ptr %10, align 8
%57 = load i64, ptr %10, align 8
%58 = uitofp i64 %57 to double
%59 = call i32 @printf(ptr noundef @.str.4, double noundef %58)
%60 = load i8, ptr %11, align 1
%61 = sext i8 %60 to i32
%62 = xor i32 %61, -1
%63 = trunc i32 %62 to i8
%64 = zext i8 %63 to i32
%65 = ashr i32 %64, 1
%66 = trunc i32 %65 to i8
store i8 %66, ptr %11, align 1
%67 = load i8, ptr %11, align 1
%68 = sitofp i8 %67 to double
%69 = call i32 @printf(ptr noundef @.str.5, double noundef %68)
%70 = load i8, ptr %11, align 1
%71 = sext i8 %70 to i32
%72 = shl i32 %71, 1
%73 = add nsw i32 %72, 1
%74 = load i8, ptr %11, align 1
%75 = sext i8 %74 to i32
%76 = xor i32 %73, %75
%77 = trunc i32 %76 to i8
store i8 %77, ptr %16, align 1
%78 = load i8, ptr %16, align 1
%79 = sitofp i8 %78 to double
%80 = call i32 @printf(ptr noundef @.str.6, double noundef %79)
%81 = load i16, ptr %12, align 2
%82 = sext i16 %81 to i32
%83 = xor i32 %82, -1
%84 = trunc i32 %83 to i16
%85 = zext i16 %84 to i32
%86 = ashr i32 %85, 1
%87 = trunc i32 %86 to i16
store i16 %87, ptr %12, align 2
%88 = load i16, ptr %12, align 2
%89 = sitofp i16 %88 to double
%90 = call i32 @printf(ptr noundef @.str.7, double noundef %89)
%91 = load i16, ptr %12, align 2
%92 = sext i16 %91 to i32
%93 = shl i32 %92, 1
%94 = add nsw i32 %93, 1
%95 = load i16, ptr %12, align 2
%96 = sext i16 %95 to i32
%97 = xor i32 %94, %96
%98 = trunc i32 %97 to i16
store i16 %98, ptr %17, align 2
%99 = load i16, ptr %17, align 2
%100 = sitofp i16 %99 to double
%101 = call i32 @printf(ptr noundef @.str.8, double noundef %100)
%102 = load i32, ptr %13, align 4
%103 = xor i32 %102, -1
%104 = lshr i32 %103, 1
store i32 %104, ptr %13, align 4
%105 = load i32, ptr %13, align 4
%106 = sitofp i32 %105 to double
%107 = call i32 @printf(ptr noundef @.str.9, double noundef %106)
%108 = load i32, ptr %13, align 4
%109 = shl i32 %108, 1
%110 = add nsw i32 %109, 1
%111 = load i32, ptr %13, align 4
%112 = xor i32 %110, %111
store i32 %112, ptr %18, align 4
%113 = load i32, ptr %18, align 4
%114 = sitofp i32 %113 to double
%115 = call i32 @printf(ptr noundef @.str.10, double noundef %114)
%116 = load i64, ptr %14, align 8
%117 = xor i64 %116, -1
%118 = lshr i64 %117, 1
store i64 %118, ptr %14, align 8
%119 = load i64, ptr %14, align 8
%120 = sitofp i64 %119 to double
%121 = call i32 @printf(ptr noundef @.str.11, double noundef %120)
%122 = load i64, ptr %14, align 8
%123 = shl i64 %122, 1
%124 = add nsw i64 %123, 1
%125 = load i64, ptr %14, align 8
%126 = xor i64 %124, %125
store i64 %126, ptr %19, align 8
%127 = load i64, ptr %19, align 8
%128 = sitofp i64 %127 to double
%129 = call i32 @printf(ptr noundef @.str.12, double noundef %128)
%130 = load i64, ptr %15, align 8
%131 = xor i64 %130, -1
%132 = lshr i64 %131, 1
store i64 %132, ptr %15, align 8
%133 = load i64, ptr %15, align 8
%134 = sitofp i64 %133 to double
%135 = call i32 @printf(ptr noundef @.str.13, double noundef %134)
%136 = load i64, ptr %15, align 8
%137 = shl i64 %136, 1
%138 = add nsw i64 %137, 1
%139 = load i64, ptr %15, align 8
%140 = xor i64 %138, %139
store i64 %140, ptr %20, align 8
%141 = load i64, ptr %20, align 8
%142 = sitofp i64 %141 to double
%143 = call i32 @printf(ptr noundef @.str.14, double noundef %142)
store i64 0, ptr %25, align 8
store i64 -1, ptr %26, align 8
%144 = load i64, ptr %26, align 8
%145 = lshr i64 %144, 9
store i64 %145, ptr %26, align 8
store i64 127, ptr %27, align 8
%146 = load i64, ptr %27, align 8
%147 = shl i64 %146, 24
store i64 %147, ptr %27, align 8
%148 = load i64, ptr %25, align 8
%149 = load i64, ptr %26, align 8
%150 = or i64 %148, %149
%151 = load i64, ptr %27, align 8
%152 = or i64 %150, %151
store i64 %152, ptr %25, align 8
%153 = load float, ptr %25, align 8
store float %153, ptr %21, align 4
%154 = load float, ptr %21, align 4
%155 = fpext float %154 to double
%156 = call i32 @printf(ptr noundef @.str.15, double noundef %155)
%157 = load i64, ptr %25, align 8
%158 = or i64 %157, -9223372036854775808
store i64 %158, ptr %25, align 8
%159 = load float, ptr %25, align 8
store float %159, ptr %23, align 4
%160 = load float, ptr %23, align 4
%161 = fpext float %160 to double
%162 = call i32 @printf(ptr noundef @.str.16, double noundef %161)
store i64 0, ptr %28, align 8
store i64 -1, ptr %29, align 8
%163 = load i64, ptr %29, align 8
%164 = lshr i64 %163, 12
store i64 %164, ptr %29, align 8
store i64 1023, ptr %30, align 8
%165 = load i64, ptr %30, align 8
%166 = shl i64 %165, 53
store i64 %166, ptr %30, align 8
%167 = load i64, ptr %28, align 8
%168 = load i64, ptr %29, align 8
%169 = or i64 %167, %168
%170 = load i64, ptr %30, align 8
%171 = or i64 %169, %170
store i64 %171, ptr %28, align 8
%172 = load double, ptr %28, align 8
store double %172, ptr %22, align 8
%173 = load double, ptr %22, align 8
%174 = call i32 @printf(ptr noundef @.str.17, double noundef %173)
%175 = load i64, ptr %28, align 8
%176 = or i64 %175, -9223372036854775808
store i64 %176, ptr %28, align 8
%177 = load double, ptr %28, align 8
store double %177, ptr %24, align 8
%178 = load double, ptr %24, align 8
%179 = call i32 @printf(ptr noundef @.str.18, double noundef %178)
ret i32 0
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfl39_qxn.c'
source_filename = "/tmp/tmpfl39_qxn.c"
target datalayout = "e-m:e-p270: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/tmpfl39_qxn.c"
target datalayout = "e-m:e-p270: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/tmp7x5tkutj.c'
source_filename = "/tmp/tmp7x5tkutj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbstrcasestr(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 i64 @strcasestr(ptr noundef %5, ptr noundef %6)
%8 = inttoptr i64 %7 to ptr
ret ptr %8
}
declare i64 @strcasestr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7x5tkutj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbstrcasestr(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 i64 @strcasestr(ptr noundef %5, ptr noundef %6)
%8 = inttoptr i64 %7 to ptr
ret ptr %8
}
declare i64 @strcasestr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5jonm9ot.c'
source_filename = "/tmp/tmp5jonm9ot.c"
target datalayout = "e-m:e-p270: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/tmp5jonm9ot.c"
target datalayout = "e-m:e-p270: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/tmp1jh2e673.c'
source_filename = "/tmp/tmp1jh2e673.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valueAtPoint(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %8, align 4
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %8, align 4
br label %11
11: ; preds = %22, %3
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %25
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %8, align 4
%18 = call double @coefficient(ptr noundef %15, i32 noundef %16, i32 noundef %17)
%19 = load double, ptr %6, align 8
%20 = load double, ptr %7, align 8
%21 = call double @llvm.fmuladd.f64(double %19, double %20, double %18)
store double %21, ptr %7, align 8
br label %22
22: ; preds = %14
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %8, align 4
br label %11, !llvm.loop !6
25: ; preds = %11
%26 = load double, ptr %7, align 8
ret double %26
}
declare double @coefficient(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1jh2e673.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valueAtPoint(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %8, align 4
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %21
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %8, align 4
%17 = call double @coefficient(ptr noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load double, ptr %6, align 8
%19 = load double, ptr %7, align 8
%20 = call double @llvm.fmuladd.f64(double %18, double %19, double %17)
store double %20, ptr %7, align 8
br label %21
21: ; preds = %13
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %3
%27 = load double, ptr %7, align 8
ret double %27
}
declare double @coefficient(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy86p81pa.c'
source_filename = "/tmp/tmpy86p81pa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_uranus_phase(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %2, align 8
%7 = load double, ptr %2, align 8
%8 = call double @ln_get_earth_solar_dist(double noundef %7)
store double %8, ptr %6, align 8
%9 = load double, ptr %2, align 8
%10 = call double @ln_get_uranus_solar_dist(double noundef %9)
store double %10, ptr %4, align 8
%11 = load double, ptr %2, align 8
%12 = call double @ln_get_uranus_earth_dist(double noundef %11)
store double %12, ptr %5, align 8
%13 = load double, ptr %4, align 8
%14 = load double, ptr %4, align 8
%15 = load double, ptr %5, align 8
%16 = load double, ptr %5, align 8
%17 = fmul double %15, %16
%18 = call double @llvm.fmuladd.f64(double %13, double %14, double %17)
%19 = load double, ptr %6, align 8
%20 = load double, ptr %6, align 8
%21 = fneg double %19
%22 = call double @llvm.fmuladd.f64(double %21, double %20, double %18)
%23 = load double, ptr %4, align 8
%24 = fmul double 2.000000e+00, %23
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
%27 = fdiv double %22, %26
store double %27, ptr %3, align 8
%28 = load double, ptr %3, align 8
%29 = call double @acos(double noundef %28) #4
store double %29, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = call double @ln_rad_to_deg(double noundef %30)
ret double %31
}
declare double @ln_get_earth_solar_dist(double noundef) #1
declare double @ln_get_uranus_solar_dist(double noundef) #1
declare double @ln_get_uranus_earth_dist(double 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 @acos(double noundef) #3
declare double @ln_rad_to_deg(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy86p81pa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_uranus_phase(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %2, align 8
%7 = load double, ptr %2, align 8
%8 = call double @ln_get_earth_solar_dist(double noundef %7)
store double %8, ptr %6, align 8
%9 = load double, ptr %2, align 8
%10 = call double @ln_get_uranus_solar_dist(double noundef %9)
store double %10, ptr %4, align 8
%11 = load double, ptr %2, align 8
%12 = call double @ln_get_uranus_earth_dist(double noundef %11)
store double %12, ptr %5, align 8
%13 = load double, ptr %4, align 8
%14 = load double, ptr %4, align 8
%15 = load double, ptr %5, align 8
%16 = load double, ptr %5, align 8
%17 = fmul double %15, %16
%18 = call double @llvm.fmuladd.f64(double %13, double %14, double %17)
%19 = load double, ptr %6, align 8
%20 = load double, ptr %6, align 8
%21 = fneg double %19
%22 = call double @llvm.fmuladd.f64(double %21, double %20, double %18)
%23 = load double, ptr %4, align 8
%24 = fmul double 2.000000e+00, %23
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
%27 = fdiv double %22, %26
store double %27, ptr %3, align 8
%28 = load double, ptr %3, align 8
%29 = call double @acos(double noundef %28) #4
store double %29, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = call double @ln_rad_to_deg(double noundef %30)
ret double %31
}
declare double @ln_get_earth_solar_dist(double noundef) #1
declare double @ln_get_uranus_solar_dist(double noundef) #1
declare double @ln_get_uranus_earth_dist(double 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 @acos(double noundef) #3
declare double @ln_rad_to_deg(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2wl2zcvx.c'
source_filename = "/tmp/tmp2wl2zcvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foofile\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @serialReceiveInit(i32 noundef %7, i32 noundef %8)
%10 = call ptr @malloc(i32 noundef 10)
store ptr %10, ptr %4, align 8
%11 = call ptr @getDataLinux(ptr noundef %4)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %0
%15 = load i32, ptr @O_WRONLY, align 4
%16 = load i32, ptr @O_APPEND, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @O_CREAT, align 4
%19 = or i32 %17, %18
%20 = call i32 @open(ptr noundef @.str, i32 noundef %19, i32 noundef 438)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @write(i32 noundef %21, ptr noundef @.str.1, i32 noundef 2)
br label %23
23: ; preds = %14, %0
ret i32 0
}
declare i32 @serialReceiveInit(i32 noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @getDataLinux(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2wl2zcvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foofile\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @serialReceiveInit(i32 noundef %7, i32 noundef %8)
%10 = call ptr @malloc(i32 noundef 10)
store ptr %10, ptr %4, align 8
%11 = call ptr @getDataLinux(ptr noundef %4)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %0
%15 = load i32, ptr @O_WRONLY, align 4
%16 = load i32, ptr @O_APPEND, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @O_CREAT, align 4
%19 = or i32 %17, %18
%20 = call i32 @open(ptr noundef @.str, i32 noundef %19, i32 noundef 438)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @write(i32 noundef %21, ptr noundef @.str.1, i32 noundef 2)
br label %23
23: ; preds = %14, %0
ret i32 0
}
declare i32 @serialReceiveInit(i32 noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @getDataLinux(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptgq5d7ag.c'
source_filename = "/tmp/tmptgq5d7ag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(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 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 %4
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptgq5d7ag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(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 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 %4
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmgvpxcfo.c'
source_filename = "/tmp/tmpmgvpxcfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = call i32 @findMin(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %13, i64 %16
%18 = load i32, ptr %17, align 4
%19 = icmp sgt i32 %12, %18
br i1 %19, label %20, label %27
20: ; preds = %3
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %24, 1
%26 = call i32 @binarySearch(ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 0, i32 noundef %25)
store i32 %26, ptr %7, align 4
br label %35
27: ; preds = %3
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %32, 1
%34 = call i32 @binarySearch(ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %33)
store i32 %34, ptr %7, align 4
br label %35
35: ; preds = %27, %20
%36 = load i32, ptr %7, align 4
ret i32 %36
}
declare i32 @findMin(ptr noundef, i32 noundef) #1
declare i32 @binarySearch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmgvpxcfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = call i32 @findMin(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %13, i64 %16
%18 = load i32, ptr %17, align 4
%19 = icmp sgt i32 %12, %18
br i1 %19, label %20, label %27
20: ; preds = %3
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %24, 1
%26 = call i32 @binarySearch(ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 0, i32 noundef %25)
store i32 %26, ptr %7, align 4
br label %35
27: ; preds = %3
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %32, 1
%34 = call i32 @binarySearch(ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %33)
store i32 %34, ptr %7, align 4
br label %35
35: ; preds = %27, %20
%36 = load i32, ptr %7, align 4
ret i32 %36
}
declare i32 @findMin(ptr noundef, i32 noundef) #1
declare i32 @binarySearch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfydv1v7o.c'
source_filename = "/tmp/tmpfydv1v7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testTortureExecute() #0 {
%1 = call i32 @a(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @a(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/tmpfydv1v7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testTortureExecute() #0 {
%1 = call i32 @a(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @a(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/tmpy4eplnsm.c'
source_filename = "/tmp/tmpy4eplnsm.c"
target datalayout = "e-m:e-p270: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/tmpy4eplnsm.c"
target datalayout = "e-m:e-p270: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/tmpygynp_ek.c'
source_filename = "/tmp/tmpygynp_ek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100000 x i32], align 16
%3 = alloca [100000 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %9, %0
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 100000
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = call i32 (...) @__VERIFIER_nondet_int()
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [100000 x i32], ptr %3, i64 0, i64 %12
store i32 %10, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
store i32 1, ptr %4, align 4
br label %17
17: ; preds = %20, %16
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 100000
br i1 %19, label %20, label %32
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [100000 x i32], ptr %3, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %26
store i32 %24, ptr %27, align 4
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 5
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %17, !llvm.loop !8
32: ; preds = %17
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %33
33: ; preds = %36, %32
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 100000
br i1 %35, label %36, label %54
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %5, align 4
%42 = mul nsw i32 5, %41
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100000 x i32], ptr %3, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp eq i32 %40, %46
%48 = zext i1 %47 to i32
%49 = call i32 @__VERIFIER_assert(i32 noundef %48)
%50 = load i32, ptr %4, align 4
%51 = add nsw i32 %50, 5
store i32 %51, ptr %4, align 4
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %33, !llvm.loop !9
54: ; preds = %33
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i32 @__VERIFIER_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpygynp_ek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100000 x i32], align 16
%3 = alloca [100000 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 100000
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = call i32 (...) @__VERIFIER_nondet_int()
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100000 x i32], ptr %3, i64 0, i64 %11
store i32 %9, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 100000
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %0
store i32 1, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 100000
br i1 %19, label %.lr.ph2, label %34
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %20
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [100000 x i32], ptr %3, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %26
store i32 %24, ptr %27, align 4
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 5
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %32, 100000
br i1 %33, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %20
br label %34
34: ; preds = %._crit_edge3, %17
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 100000
br i1 %36, label %.lr.ph5, label %57
.lr.ph5: ; preds = %34
br label %37
37: ; preds = %.lr.ph5, %37
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %5, align 4
%43 = mul nsw i32 5, %42
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100000 x i32], ptr %3, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp eq i32 %41, %47
%49 = zext i1 %48 to i32
%50 = call i32 @__VERIFIER_assert(i32 noundef %49)
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, 5
store i32 %52, ptr %4, align 4
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp slt i32 %55, 100000
br i1 %56, label %37, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %37
br label %57
57: ; preds = %._crit_edge6, %34
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i32 @__VERIFIER_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdc1ql_mk.c'
source_filename = "/tmp/tmpdc1ql_mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subsets(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 5000, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %10, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
store ptr %21, ptr %11, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = trunc i64 %24 to i32
%26 = call ptr @malloc(i32 noundef %25)
%27 = load ptr, ptr %8, align 8
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %7, align 8
store i32 0, ptr %28, align 4
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %10, align 8
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %34, align 8
%36 = call i32 @dfs(ptr noundef %29, i32 noundef %30, i32 noundef 0, ptr noundef %31, i32 noundef 0, ptr noundef %32, ptr noundef %33, ptr noundef %35)
%37 = load ptr, ptr %10, align 8
ret ptr %37
}
declare ptr @malloc(i32 noundef) #1
declare i32 @dfs(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdc1ql_mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subsets(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 5000, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %10, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
store ptr %21, ptr %11, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = trunc i64 %24 to i32
%26 = call ptr @malloc(i32 noundef %25)
%27 = load ptr, ptr %8, align 8
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %7, align 8
store i32 0, ptr %28, align 4
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %10, align 8
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %34, align 8
%36 = call i32 @dfs(ptr noundef %29, i32 noundef %30, i32 noundef 0, ptr noundef %31, i32 noundef 0, ptr noundef %32, ptr noundef %33, ptr noundef %35)
%37 = load ptr, ptr %10, align 8
ret ptr %37
}
declare ptr @malloc(i32 noundef) #1
declare i32 @dfs(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn6hbtxnq.c'
source_filename = "/tmp/tmpn6hbtxnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Temperature < abs.0\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%.2f C:\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%.2f K:\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%.2f F:\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%.2f K: \0A\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"%.2f C: \0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"%.2f F: \0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert(double noundef %0, i8 noundef signext %1) #0 {
%3 = alloca double, align 8
%4 = alloca i8, align 1
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
switch i32 %12, label %68 [
i32 67, label %13
i32 99, label %13
i32 75, label %31
i32 107, label %31
i32 70, label %48
i32 102, label %48
]
13: ; preds = %2, %2
%14 = load double, ptr %3, align 8
%15 = fcmp olt double %14, -2.731500e+02
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
18: ; preds = %13
%19 = load double, ptr %3, align 8
%20 = fadd double %19, 2.731500e+02
store double %20, ptr %5, align 8
%21 = load double, ptr %3, align 8
%22 = fmul double %21, 9.000000e+00
%23 = fdiv double %22, 5.000000e+00
%24 = fadd double %23, 3.200000e+01
store double %24, ptr %6, align 8
%25 = load double, ptr %3, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %25)
%27 = load double, ptr %5, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %27)
%29 = load double, ptr %6, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29)
br label %70
31: ; preds = %2, %2
%32 = load double, ptr %3, align 8
%33 = fcmp olt double %32, 0.000000e+00
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
36: ; preds = %31
%37 = load double, ptr %3, align 8
%38 = fsub double %37, 2.731500e+02
store double %38, ptr %7, align 8
%39 = load double, ptr %3, align 8
%40 = fdiv double %39, 5.000000e+00
%41 = call double @llvm.fmuladd.f64(double %40, double 9.000000e+00, double -4.596700e+02)
store double %41, ptr %8, align 8
%42 = load double, ptr %3, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %42)
%44 = load double, ptr %7, align 8
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %44)
%46 = load double, ptr %8, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %46)
br label %70
48: ; preds = %2, %2
%49 = load double, ptr %3, align 8
%50 = fcmp olt double %49, -4.596700e+02
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
53: ; preds = %48
%54 = load double, ptr %3, align 8
%55 = fsub double %54, 3.200000e+01
%56 = fmul double %55, 5.000000e+00
%57 = fdiv double %56, 9.000000e+00
store double %57, ptr %9, align 8
%58 = load double, ptr %3, align 8
%59 = fadd double %58, 4.596700e+02
%60 = fmul double %59, 5.000000e+00
%61 = fdiv double %60, 9.000000e+00
store double %61, ptr %10, align 8
%62 = load double, ptr %3, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %62)
%64 = load double, ptr %9, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %64)
%66 = load double, ptr %10, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %66)
br label %70
68: ; preds = %2
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %70
70: ; preds = %68, %53, %51, %36, %34, %18, %16
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn6hbtxnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Temperature < abs.0\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%.2f C:\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%.2f K:\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%.2f F:\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%.2f K: \0A\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"%.2f C: \0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"%.2f F: \0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert(double noundef %0, i8 noundef signext %1) #0 {
%3 = alloca double, align 8
%4 = alloca i8, align 1
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
switch i32 %12, label %68 [
i32 67, label %13
i32 99, label %13
i32 75, label %31
i32 107, label %31
i32 70, label %48
i32 102, label %48
]
13: ; preds = %2, %2
%14 = load double, ptr %3, align 8
%15 = fcmp olt double %14, -2.731500e+02
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
18: ; preds = %13
%19 = load double, ptr %3, align 8
%20 = fadd double %19, 2.731500e+02
store double %20, ptr %5, align 8
%21 = load double, ptr %3, align 8
%22 = fmul double %21, 9.000000e+00
%23 = fdiv double %22, 5.000000e+00
%24 = fadd double %23, 3.200000e+01
store double %24, ptr %6, align 8
%25 = load double, ptr %3, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %25)
%27 = load double, ptr %5, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %27)
%29 = load double, ptr %6, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29)
br label %70
31: ; preds = %2, %2
%32 = load double, ptr %3, align 8
%33 = fcmp olt double %32, 0.000000e+00
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
36: ; preds = %31
%37 = load double, ptr %3, align 8
%38 = fsub double %37, 2.731500e+02
store double %38, ptr %7, align 8
%39 = load double, ptr %3, align 8
%40 = fdiv double %39, 5.000000e+00
%41 = call double @llvm.fmuladd.f64(double %40, double 9.000000e+00, double -4.596700e+02)
store double %41, ptr %8, align 8
%42 = load double, ptr %3, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %42)
%44 = load double, ptr %7, align 8
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %44)
%46 = load double, ptr %8, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %46)
br label %70
48: ; preds = %2, %2
%49 = load double, ptr %3, align 8
%50 = fcmp olt double %49, -4.596700e+02
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
53: ; preds = %48
%54 = load double, ptr %3, align 8
%55 = fsub double %54, 3.200000e+01
%56 = fmul double %55, 5.000000e+00
%57 = fdiv double %56, 9.000000e+00
store double %57, ptr %9, align 8
%58 = load double, ptr %3, align 8
%59 = fadd double %58, 4.596700e+02
%60 = fmul double %59, 5.000000e+00
%61 = fdiv double %60, 9.000000e+00
store double %61, ptr %10, align 8
%62 = load double, ptr %3, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %62)
%64 = load double, ptr %9, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %64)
%66 = load double, ptr %10, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %66)
br label %70
68: ; preds = %2
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %70
70: ; preds = %68, %53, %51, %36, %34, %18, %16
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.