llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpumsmgnan.c'
source_filename = "/tmp/tmpumsmgnan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca double, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %10, align 4
br label %15
15: ; preds = %25, %2
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = call double (...) @rand_double()
%21 = call double @llvm.fmuladd.f64(double %20, double 2.000000e+04, double -1.000000e+04)
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %14, i64 %23
store double %21, ptr %24, align 8
br label %25
25: ; preds = %19
%26 = load i32, ptr %10, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %10, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
store double 0.000000e+00, ptr %8, align 8
%29 = call double (...) @tic()
store double %29, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %30
30: ; preds = %43, %28
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = load i32, ptr %4, align 4
%36 = call double @stdlib_strided_dsumkbn2(i32 noundef %35, ptr noundef %14, i32 noundef 1)
store double %36, ptr %8, align 8
%37 = load double, ptr %8, align 8
%38 = load double, ptr %8, align 8
%39 = fcmp une double %37, %38
br i1 %39, label %40, label %42
40: ; preds = %34
%41 = call i32 @printf(ptr noundef @.str)
br label %46
42: ; preds = %34
br label %43
43: ; preds = %42
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
br label %30, !llvm.loop !8
46: ; preds = %40, %30
%47 = call double (...) @tic()
%48 = load double, ptr %9, align 8
%49 = fsub double %47, %48
store double %49, ptr %5, align 8
%50 = load double, ptr %8, align 8
%51 = load double, ptr %8, align 8
%52 = fcmp une double %50, %51
br i1 %52, label %53, label %55
53: ; preds = %46
%54 = call i32 @printf(ptr noundef @.str)
br label %55
55: ; preds = %53, %46
%56 = load double, ptr %5, align 8
%57 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %57)
ret double %56
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare double @rand_double(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @tic(...) #2
declare double @stdlib_strided_dsumkbn2(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpumsmgnan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca double, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %24
%19 = call double (...) @rand_double()
%20 = call double @llvm.fmuladd.f64(double %19, double 2.000000e+04, double -1.000000e+04)
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %14, i64 %22
store double %20, ptr %23, align 8
br label %24
24: ; preds = %18
%25 = load i32, ptr %10, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
store double 0.000000e+00, ptr %8, align 8
%31 = call double (...) @tic()
store double %31, ptr %9, align 8
store i32 0, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %44
%36 = load i32, ptr %4, align 4
%37 = call double @stdlib_strided_dsumkbn2(i32 noundef %36, ptr noundef %14, i32 noundef 1)
store double %37, ptr %8, align 8
%38 = load double, ptr %8, align 8
%39 = load double, ptr %8, align 8
%40 = fcmp une double %38, %39
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = call i32 @printf(ptr noundef @.str)
br label %50
43: ; preds = %35
br label %44
44: ; preds = %43
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %30
br label %50
50: ; preds = %.loopexit, %41
%51 = call double (...) @tic()
%52 = load double, ptr %9, align 8
%53 = fsub double %51, %52
store double %53, ptr %5, align 8
%54 = load double, ptr %8, align 8
%55 = load double, ptr %8, align 8
%56 = fcmp une double %54, %55
br i1 %56, label %57, label %59
57: ; preds = %50
%58 = call i32 @printf(ptr noundef @.str)
br label %59
59: ; preds = %57, %50
%60 = load double, ptr %5, align 8
%61 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %61)
ret double %60
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare double @rand_double(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @tic(...) #2
declare double @stdlib_strided_dsumkbn2(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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}
|
; ModuleID = '/tmp/tmpm8k85ofm.c'
source_filename = "/tmp/tmpm8k85ofm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dswap\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoubSwap() #0 {
%1 = call i32 @callrts(ptr noundef @.str)
ret void
}
declare i32 @callrts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm8k85ofm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dswap\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoubSwap() #0 {
%1 = call i32 @callrts(ptr noundef @.str)
ret void
}
declare i32 @callrts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3wtg4rn9.c'
source_filename = "/tmp/tmp3wtg4rn9.c"
target datalayout = "e-m:e-p270: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/tmp3wtg4rn9.c"
target datalayout = "e-m:e-p270: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/tmp77s1j3a3.c'
source_filename = "/tmp/tmp77s1j3a3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1025 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
%5 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @palindrom(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @palindrom(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77s1j3a3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1025 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
%5 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @palindrom(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @palindrom(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn_36vl5b.c'
source_filename = "/tmp/tmpn_36vl5b.c"
target datalayout = "e-m:e-p270: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/tmpn_36vl5b.c"
target datalayout = "e-m:e-p270: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/tmpoeuq1i2k.c'
source_filename = "/tmp/tmpoeuq1i2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"Boring!\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %75, %16, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %76
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13, %10
%17 = call i32 @puts(ptr noundef @.str.1)
br label %6, !llvm.loop !6
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 1
store i32 %19, ptr %20, align 4
store i32 1, ptr %5, align 4
br label %21
21: ; preds = %18, %36
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp eq i32 %25, 1
br i1 %26, label %35, label %27
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %4, align 4
%33 = srem i32 %31, %32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %27, %21
br label %49
36: ; preds = %27
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %4, align 4
%42 = sdiv i32 %40, %41
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %45
store i32 %42, ptr %46, align 4
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
br label %21
49: ; preds = %35
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = icmp ne i32 %53, 1
br i1 %54, label %55, label %57
55: ; preds = %49
%56 = call i32 @puts(ptr noundef @.str.1)
br label %75
57: ; preds = %49
store i32 1, ptr %5, align 4
br label %58
58: ; preds = %70, %57
%59 = load i32, ptr %5, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = icmp ne i32 %62, 1
br i1 %63, label %64, label %73
64: ; preds = %58
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %68)
br label %70
70: ; preds = %64
%71 = load i32, ptr %5, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %5, align 4
br label %58, !llvm.loop !8
73: ; preds = %58
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %75
75: ; preds = %73, %55
br label %6, !llvm.loop !6
76: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoeuq1i2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"Boring!\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph6, label %86
.lr.ph6: ; preds = %0
br label %9
9: ; preds = %.lr.ph6, %.backedge
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %20
15: ; preds = %12, %9
%16 = call i32 @puts(ptr noundef @.str.1)
br label %.backedge
.backedge: ; preds = %15, %85
%17 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%18 = load i64, ptr @EOF, align 8
%19 = icmp ne i64 %17, %18
br i1 %19, label %9, label %._crit_edge7, !llvm.loop !6
20: ; preds = %12
%21 = load i32, ptr %3, align 4
%22 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 1
store i32 %21, ptr %22, align 4
store i32 1, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %26, 1
br i1 %27, label %36, label %.lr.ph
.lr.ph: ; preds = %20
br label %28
28: ; preds = %.lr.ph, %37
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %4, align 4
%34 = srem i32 %32, %33
%35 = icmp ne i32 %34, 0
br i1 %35, label %._crit_edge, label %37
._crit_edge: ; preds = %28
br label %36
._crit_edge1: ; preds = %37
br label %36
36: ; preds = %._crit_edge1, %._crit_edge, %20
br label %55
37: ; preds = %28
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %4, align 4
%43 = sdiv i32 %41, %42
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %46
store i32 %43, ptr %47, align 4
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = icmp eq i32 %53, 1
br i1 %54, label %._crit_edge1, label %28
55: ; preds = %36
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp ne i32 %59, 1
br i1 %60, label %61, label %63
61: ; preds = %55
%62 = call i32 @puts(ptr noundef @.str.1)
br label %85
63: ; preds = %55
store i32 1, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = icmp ne i32 %67, 1
br i1 %68, label %.lr.ph3, label %83
.lr.ph3: ; preds = %63
br label %69
69: ; preds = %.lr.ph3, %75
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73)
br label %75
75: ; preds = %69
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %5, align 4
%78 = load i32, ptr %5, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = icmp ne i32 %81, 1
br i1 %82, label %69, label %._crit_edge4, !llvm.loop !8
._crit_edge4: ; preds = %75
br label %83
83: ; preds = %._crit_edge4, %63
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %85
85: ; preds = %83, %61
br label %.backedge
._crit_edge7: ; preds = %.backedge
br label %86
86: ; preds = %._crit_edge7, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpsg58ly9z.c'
source_filename = "/tmp/tmpsg58ly9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 5)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 5
store i8 99, ptr %5, align 1
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 5
%8 = load i8, ptr %7, align 1
%9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8)
%10 = load ptr, ptr %1, align 8
%11 = call i32 @mymemset(ptr noundef %10, i8 noundef signext 97, i32 noundef 10)
%12 = load ptr, ptr %1, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 7
%14 = load i8, ptr %13, align 1
%15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @mymemset(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsg58ly9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 5)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 5
store i8 99, ptr %5, align 1
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 5
%8 = load i8, ptr %7, align 1
%9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8)
%10 = load ptr, ptr %1, align 8
%11 = call i32 @mymemset(ptr noundef %10, i8 noundef signext 97, i32 noundef 10)
%12 = load ptr, ptr %1, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 7
%14 = load i8, ptr %13, align 1
%15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @mymemset(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqka7rqk5.c'
source_filename = "/tmp/tmpqka7rqk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ZN_GPUclose() #0 {
%1 = call i64 (...) @GPUclose()
ret i64 %1
}
declare i64 @GPUclose(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqka7rqk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ZN_GPUclose() #0 {
%1 = call i64 (...) @GPUclose()
ret i64 %1
}
declare i64 @GPUclose(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpif3r4p9s.c'
source_filename = "/tmp/tmpif3r4p9s.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"\0AEnter a character: \00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0AYou entered, in order, %c and %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 ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i64 @malloc(i32 noundef 255)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %6, align 8
%11 = call ptr @getstring(i32 noundef 25)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fputs(ptr noundef %12, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call signext i8 (...) @getch()
store i8 %16, ptr %7, align 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call signext i8 (...) @getche()
store i8 %18, ptr %8, align 1
%19 = load i8, ptr %7, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %8, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @free(ptr noundef %24)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @getstring(i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getch(...) #1
declare signext i8 @getche(...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpif3r4p9s.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"\0AEnter a character: \00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0AYou entered, in order, %c and %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 ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i64 @malloc(i32 noundef 255)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %6, align 8
%11 = call ptr @getstring(i32 noundef 25)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fputs(ptr noundef %12, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call signext i8 (...) @getch()
store i8 %16, ptr %7, align 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call signext i8 (...) @getche()
store i8 %18, ptr %8, align 1
%19 = load i8, ptr %7, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %8, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @free(ptr noundef %24)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @getstring(i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getch(...) #1
declare signext i8 @getche(...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmpywwtyv.c'
source_filename = "/tmp/tmpmpywwtyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter a integer: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 2, ptr %3, align 4
br label %6
6: ; preds = %17, %0
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 %13, %14
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 2
store i32 %19, ptr %3, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmpywwtyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter a integer: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 2, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 %6, %7
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = mul nsw i32 %12, %13
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 2
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %2, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg5kl5uez.c'
source_filename = "/tmp/tmpg5kl5uez.c"
target datalayout = "e-m:e-p270: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
@_IOLBF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"first line\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"second line\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"last line\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 = load i32, ptr @stdout, align 4
%3 = load i32, ptr @_IOLBF, align 4
%4 = call i32 @setvbuf(i32 noundef %2, ptr noundef null, i32 noundef %3, i32 noundef 0)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @sleep(i32 noundef 1)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @sleep(i32 noundef 1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fflush(i32 noundef %10)
ret i32 0
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg5kl5uez.c"
target datalayout = "e-m:e-p270: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
@_IOLBF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"first line\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"second line\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"last line\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 = load i32, ptr @stdout, align 4
%3 = load i32, ptr @_IOLBF, align 4
%4 = call i32 @setvbuf(i32 noundef %2, ptr noundef null, i32 noundef %3, i32 noundef 0)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @sleep(i32 noundef 1)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @sleep(i32 noundef 1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fflush(i32 noundef %10)
ret i32 0
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpngd6i0y4.c'
source_filename = "/tmp/tmpngd6i0y4.c"
target datalayout = "e-m:e-p270: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/tmpngd6i0y4.c"
target datalayout = "e-m:e-p270: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/tmpwzpytuke.c'
source_filename = "/tmp/tmpwzpytuke.c"
target datalayout = "e-m:e-p270: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/tmpwzpytuke.c"
target datalayout = "e-m:e-p270: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/tmpiu0u6y6s.c'
source_filename = "/tmp/tmpiu0u6y6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"digraph g {\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"\09n%d -> n%s;\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 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 ptr, align 8
%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, 2
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %29
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call ptr @strtok(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %20, %11
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = load ptr, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21, ptr noundef %22)
%24 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %24, ptr %6, align 8
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %17, !llvm.loop !6
27: ; preds = %17
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %27, %10
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strtok(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/tmpiu0u6y6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"digraph g {\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"\09n%d -> n%s;\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 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 ptr, align 8
%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, 2
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %30
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call ptr @strtok(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %6, align 8
store i32 0, ptr %7, align 4
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %.lr.ph, label %28
.lr.ph: ; preds = %11
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, ptr noundef %21)
%23 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %28
28: ; preds = %._crit_edge, %11
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %28, %10
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strtok(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/tmpc0qdgx54.c'
source_filename = "/tmp/tmpc0qdgx54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"0 0 1.00 60.00 120.00\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"\09%d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yax_draw(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = sub nsw i32 %7, 1
%9 = mul nsw i32 %8, 1000
%10 = add nsw i32 %9, 1800
%11 = add nsw i32 %10, 225
%12 = load i32, ptr %6, align 4
%13 = mul nsw i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = load i32, ptr %4, align 4
%17 = mul nsw i32 %16, 1000
%18 = add nsw i32 %17, 1800
%19 = add nsw i32 %18, 225
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 1050, %22
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 675, i32 noundef %21, i32 noundef 675, i32 noundef %23)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc0qdgx54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"0 0 1.00 60.00 120.00\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"\09%d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yax_draw(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = sub nsw i32 %7, 1
%9 = mul nsw i32 %8, 1000
%10 = add nsw i32 %9, 1800
%11 = add nsw i32 %10, 225
%12 = load i32, ptr %6, align 4
%13 = mul nsw i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = load i32, ptr %4, align 4
%17 = mul nsw i32 %16, 1000
%18 = add nsw i32 %17, 1800
%19 = add nsw i32 %18, 225
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 1050, %22
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 675, i32 noundef %21, i32 noundef 675, i32 noundef %23)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmj9hmuyp.c'
source_filename = "/tmp/tmpmj9hmuyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_days_in_month(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @date_get_last_month_day(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @date_get_last_month_day(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/tmpmj9hmuyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_days_in_month(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @date_get_last_month_day(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @date_get_last_month_day(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/tmppngz_6r3.c'
source_filename = "/tmp/tmppngz_6r3.c"
target datalayout = "e-m:e-p270: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/tmppngz_6r3.c"
target datalayout = "e-m:e-p270: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/tmp6rcr3fdb.c'
source_filename = "/tmp/tmp6rcr3fdb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGRTMIN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"send_software_interrupt kill\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_user_interrupt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @SIGRTMIN, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %5, %6
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @getpid()
%9 = load i32, ptr %3, align 4
%10 = call i32 @kill(i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = call i32 @error(ptr noundef @.str)
br label %15
15: ; preds = %13, %1
ret void
}
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rcr3fdb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGRTMIN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"send_software_interrupt kill\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_user_interrupt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @SIGRTMIN, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %5, %6
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @getpid()
%9 = load i32, ptr %3, align 4
%10 = call i32 @kill(i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = call i32 @error(ptr noundef @.str)
br label %15
15: ; preds = %13, %1
ret void
}
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw136c38b.c'
source_filename = "/tmp/tmpw136c38b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
@FTS_AGAIN = dso_local global i32 0, align 4
@FTS_FOLLOW = dso_local global i32 0, align 4
@FTS_NOINSTR = dso_local global i32 0, align 4
@FTS_SKIP = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fts_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = call i32 @_DIAGASSERT(i32 noundef %10)
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @_DIAGASSERT(i32 noundef %14)
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %36
18: ; preds = %3
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr @FTS_AGAIN, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %36
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @FTS_FOLLOW, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %36
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr @FTS_NOINSTR, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr @FTS_SKIP, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr @EINVAL, align 4
store i32 %35, ptr @errno, align 4
store i32 1, ptr %4, align 4
br label %40
36: ; preds = %30, %26, %22, %18, %3
%37 = load i32, ptr %7, align 4
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds %struct.TYPE_3__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %36, %34
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @_DIAGASSERT(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/tmpw136c38b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
@FTS_AGAIN = dso_local global i32 0, align 4
@FTS_FOLLOW = dso_local global i32 0, align 4
@FTS_NOINSTR = dso_local global i32 0, align 4
@FTS_SKIP = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fts_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = call i32 @_DIAGASSERT(i32 noundef %10)
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @_DIAGASSERT(i32 noundef %14)
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %36
18: ; preds = %3
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr @FTS_AGAIN, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %36
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @FTS_FOLLOW, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %36
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr @FTS_NOINSTR, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr @FTS_SKIP, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr @EINVAL, align 4
store i32 %35, ptr @errno, align 4
store i32 1, ptr %4, align 4
br label %40
36: ; preds = %30, %26, %22, %18, %3
%37 = load i32, ptr %7, align 4
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds %struct.TYPE_3__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %36, %34
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @_DIAGASSERT(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/tmp2tfltj67.c'
source_filename = "/tmp/tmp2tfltj67.c"
target datalayout = "e-m:e-p270: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/tmp2tfltj67.c"
target datalayout = "e-m:e-p270: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/tmpk076fklg.c'
source_filename = "/tmp/tmpk076fklg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s then:%s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[33m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @THEN(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 @.str.1, ptr noundef @.str.2, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk076fklg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s then:%s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[33m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @THEN(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 @.str.1, ptr noundef @.str.2, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp438z9aim.c'
source_filename = "/tmp/tmp438z9aim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_6__ = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @i2s_ASN1_ENUMERATED_TABLE(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @ASN1_ENUMERATED_get(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %30, %2
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i32 0, i32 1
%16 = load i64, ptr %15, align 8
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %13
%19 = load i64, ptr %7, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i32 0, i32 0
%22 = load i64, ptr %21, align 8
%23 = icmp eq i64 %19, %22
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.TYPE_6__, ptr %25, i32 0, i32 1
%27 = load i64, ptr %26, align 8
%28 = call ptr @strdup(i64 noundef %27)
store ptr %28, ptr %3, align 8
br label %37
29: ; preds = %18
br label %30
30: ; preds = %29
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds %struct.TYPE_6__, ptr %31, i32 1
store ptr %32, ptr %6, align 8
br label %13, !llvm.loop !6
33: ; preds = %13
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %5, align 8
%36 = call ptr @i2s_ASN1_ENUMERATED(ptr noundef %34, ptr noundef %35)
store ptr %36, ptr %3, align 8
br label %37
37: ; preds = %33, %24
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare i64 @ASN1_ENUMERATED_get(ptr noundef) #1
declare ptr @strdup(i64 noundef) #1
declare ptr @i2s_ASN1_ENUMERATED(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/tmp438z9aim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_6__ = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @i2s_ASN1_ENUMERATED_TABLE(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @ASN1_ENUMERATED_get(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %29
%18 = load i64, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = icmp eq i64 %18, %21
br i1 %22, label %23, label %28
23: ; preds = %17
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %24, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = call ptr @strdup(i64 noundef %26)
store ptr %27, ptr %3, align 8
br label %40
28: ; preds = %17
br label %29
29: ; preds = %28
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i32 1
store ptr %31, ptr %6, align 8
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = icmp ne i64 %34, 0
br i1 %35, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %2
%37 = load ptr, ptr %4, align 8
%38 = load ptr, ptr %5, align 8
%39 = call ptr @i2s_ASN1_ENUMERATED(ptr noundef %37, ptr noundef %38)
store ptr %39, ptr %3, align 8
br label %40
40: ; preds = %36, %23
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i64 @ASN1_ENUMERATED_get(ptr noundef) #1
declare ptr @strdup(i64 noundef) #1
declare ptr @i2s_ASN1_ENUMERATED(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/tmpf7tvse4t.c'
source_filename = "/tmp/tmpf7tvse4t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.do_use_fd.str = private unnamed_addr constant [17 x i8] c"God bless you!/n\00", align 16
@.str = private unnamed_addr constant [5 x i8] c"send\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_use_fd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [17 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.do_use_fd.str, i64 17, i1 false)
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @send(i32 noundef %4, ptr noundef %5, i32 noundef 17, i32 noundef 0)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load i32, ptr %2, align 4
%12 = call i32 @close(i32 noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf7tvse4t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.do_use_fd.str = private unnamed_addr constant [17 x i8] c"God bless you!/n\00", align 16
@.str = private unnamed_addr constant [5 x i8] c"send\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_use_fd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [17 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.do_use_fd.str, i64 17, i1 false)
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @send(i32 noundef %4, ptr noundef %5, i32 noundef 17, i32 noundef 0)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load i32, ptr %2, align 4
%12 = call i32 @close(i32 noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkc_atgy3.c'
source_filename = "/tmp/tmpkc_atgy3.c"
target datalayout = "e-m:e-p270: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/tmpkc_atgy3.c"
target datalayout = "e-m:e-p270: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/tmpk6mco3pq.c'
source_filename = "/tmp/tmpk6mco3pq.c"
target datalayout = "e-m:e-p270: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/tmpk6mco3pq.c"
target datalayout = "e-m:e-p270: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/tmp2x1px7dg.c'
source_filename = "/tmp/tmp2x1px7dg.c"
target datalayout = "e-m:e-p270: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/tmp2x1px7dg.c"
target datalayout = "e-m:e-p270: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/tmpnb790sdy.c'
source_filename = "/tmp/tmpnb790sdy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_hex(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
store i8 35, ptr %8, align 1
store i32 1, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %44, %2
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %49
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = srem i32 %19, 16
%21 = call signext i8 @hexvalue(i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store i8 %21, ptr %26, align 1
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = sdiv i32 %31, 16
store i32 %32, ptr %30, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = srem i32 %37, 16
%39 = call signext i8 @hexvalue(i32 noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 %39, ptr %43, align 1
br label %44
44: ; preds = %14
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 2
store i32 %48, ptr %6, align 4
br label %9, !llvm.loop !6
49: ; preds = %9
ret void
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @hexvalue(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/tmpnb790sdy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_hex(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
store i8 35, ptr %8, align 1
store i32 1, ptr %6, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %52
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %43
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = srem i32 %18, 16
%20 = call signext i8 @hexvalue(i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 %20, ptr %25, align 1
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = sdiv i32 %30, 16
store i32 %31, ptr %29, align 4
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = srem i32 %36, 16
%38 = call signext i8 @hexvalue(i32 noundef %37)
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
br label %43
43: ; preds = %13
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 2
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = load ptr, ptr %4, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = icmp slt i32 %48, %50
br i1 %51, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %52
52: ; preds = %._crit_edge, %2
ret void
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @hexvalue(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/tmpn6uequjb.c'
source_filename = "/tmp/tmpn6uequjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"CAPTION\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c">%s</CAPTION>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @html_tablecaption(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 = call i32 @html_string(ptr noundef @.str, ptr noundef @.str.1)
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @html_tablealign(i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = add nsw i64 %10, %8
%12 = trunc i64 %11 to i32
store i32 %12, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @html_string(ptr noundef @.str.2, ptr noundef %13)
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @html_string(ptr noundef, ptr noundef) #1
declare i64 @html_tablealign(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/tmpn6uequjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"CAPTION\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c">%s</CAPTION>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @html_tablecaption(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 = call i32 @html_string(ptr noundef @.str, ptr noundef @.str.1)
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @html_tablealign(i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = add nsw i64 %10, %8
%12 = trunc i64 %11 to i32
store i32 %12, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @html_string(ptr noundef @.str.2, ptr noundef %13)
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @html_string(ptr noundef, ptr noundef) #1
declare i64 @html_tablealign(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/tmphxco9eyv.c'
source_filename = "/tmp/tmphxco9eyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"consume.c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Some kind of a file error\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %0
%8 = call i32 @puts(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %24
9: ; preds = %0
br label %10
10: ; preds = %17, %9
%11 = load ptr, ptr %2, align 8
%12 = call signext i8 @fgetc(ptr noundef %11)
store i8 %12, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = load i8, ptr @EOF, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %13, %15
br i1 %16, label %17, label %21
17: ; preds = %10
%18 = load i8, ptr %3, align 1
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @fputc(i8 noundef signext %18, i32 noundef %19)
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = load ptr, ptr %2, align 8
%23 = call i32 @fclose(ptr noundef %22)
store i32 0, ptr %1, align 4
br label %24
24: ; preds = %21, %7
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, 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/tmphxco9eyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"consume.c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Some kind of a file error\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %0
%8 = call i32 @puts(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %29
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call signext i8 @fgetc(ptr noundef %10)
store i8 %11, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr @EOF, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %12, %14
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %9
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i8, ptr %3, align 1
%18 = load i32, ptr @stdout, align 4
%19 = call i32 @fputc(i8 noundef signext %17, i32 noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = call signext i8 @fgetc(ptr noundef %20)
store i8 %21, ptr %3, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr @EOF, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %26
26: ; preds = %._crit_edge, %9
%27 = load ptr, ptr %2, align 8
%28 = call i32 @fclose(ptr noundef %27)
store i32 0, ptr %1, align 4
br label %29
29: ; preds = %26, %7
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, 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/tmpdj_8xjg2.c'
source_filename = "/tmp/tmpdj_8xjg2.c"
target datalayout = "e-m:e-p270: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/tmpdj_8xjg2.c"
target datalayout = "e-m:e-p270: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/tmpbimsmja9.c'
source_filename = "/tmp/tmpbimsmja9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @FOO_FOO() #0 {
%1 = call i32 @genStd4(i8 noundef zeroext 85)
ret void
}
declare i32 @genStd4(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbimsmja9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @FOO_FOO() #0 {
%1 = call i32 @genStd4(i8 noundef zeroext 85)
ret void
}
declare i32 @genStd4(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg4_ulz4u.c'
source_filename = "/tmp/tmpg4_ulz4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%s (%s) %s :: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"nntp.mod\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"JoMo-Kun <jmk@foofus.net>\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Brute force module for NNTP sessions\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [55 x i8] c" Usage example: \22-M nntp -U accounts.txt -p password\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showUsage() #0 {
%1 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%2 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5)
%3 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.6)
%4 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5)
ret void
}
declare i32 @writeVerbose(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/tmpg4_ulz4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%s (%s) %s :: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"nntp.mod\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"JoMo-Kun <jmk@foofus.net>\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Brute force module for NNTP sessions\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [55 x i8] c" Usage example: \22-M nntp -U accounts.txt -p password\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showUsage() #0 {
%1 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%2 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5)
%3 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.6)
%4 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5)
ret void
}
declare i32 @writeVerbose(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/tmpsez6cjrv.c'
source_filename = "/tmp/tmpsez6cjrv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"unload\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Check_Unload(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 3
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 4
br i1 %9, label %10, label %11
10: ; preds = %7
br label %21
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @PrintErrorExit(ptr noundef %14, ptr noundef @.str)
br label %16
16: ; preds = %11, %2
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @PrintErrorExit(ptr noundef %19, ptr noundef @.str)
br label %21
21: ; preds = %16, %10
ret void
}
declare i32 @PrintErrorExit(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/tmpsez6cjrv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"unload\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Check_Unload(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 3
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 4
br i1 %9, label %10, label %11
10: ; preds = %7
br label %21
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @PrintErrorExit(ptr noundef %14, ptr noundef @.str)
br label %16
16: ; preds = %11, %2
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @PrintErrorExit(ptr noundef %19, ptr noundef @.str)
br label %21
21: ; preds = %16, %10
ret void
}
declare i32 @PrintErrorExit(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/tmpl7j3xdry.c'
source_filename = "/tmp/tmpl7j3xdry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.strings_and_pointers.arr = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"arr[2] = %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strings_and_pointers() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
%3 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.strings_and_pointers.arr, i64 6, i1 false)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 2
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = call i32 @printf(ptr noundef @.str, i8 noundef signext %6)
%8 = load i32, ptr %1, align 4
ret i32 %8
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7j3xdry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.strings_and_pointers.arr = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"arr[2] = %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strings_and_pointers() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
%3 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.strings_and_pointers.arr, i64 6, i1 false)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 2
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = call i32 @printf(ptr noundef @.str, i8 noundef signext %6)
%8 = load i32, ptr %1, align 4
ret i32 %8
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpobod13_j.c'
source_filename = "/tmp/tmpobod13_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter an integer > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"-%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %5, align 4
store i32 100, ptr %6, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = mul nsw i32 %15, -1
store i32 %16, ptr %2, align 4
store i32 1, ptr %9, align 4
br label %17
17: ; preds = %14, %0
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %22, %17
%20 = load i32, ptr %3, align 4
%21 = icmp sge i32 %20, 10
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = sdiv i32 %23, 10
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %19, !llvm.loop !6
27: ; preds = %19
%28 = load i32, ptr %2, align 4
%29 = srem i32 %28, 10
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
store i32 0, ptr %4, align 4
br label %31
31: ; preds = %55, %27
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %58
35: ; preds = %31
%36 = load i32, ptr %2, align 4
%37 = load i32, ptr %6, align 4
%38 = srem i32 %36, %37
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %5, align 4
%41 = srem i32 %39, %40
%42 = sub nsw i32 %38, %41
%43 = load i32, ptr %5, align 4
%44 = sdiv i32 %42, %43
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45)
%47 = load i32, ptr %6, align 4
%48 = sitofp i32 %47 to double
%49 = fmul double %48, 1.000000e+01
%50 = fptosi double %49 to i32
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = sitofp i32 %51 to double
%53 = fmul double %52, 1.000000e+01
%54 = fptosi double %53 to i32
store i32 %54, ptr %5, align 4
br label %55
55: ; preds = %35
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %31, !llvm.loop !8
58: ; preds = %31
%59 = load i32, ptr %2, align 4
%60 = load i32, ptr %6, align 4
%61 = srem i32 %59, %60
%62 = load i32, ptr %2, align 4
%63 = load i32, ptr %5, align 4
%64 = srem i32 %62, %63
%65 = sub nsw i32 %61, %64
%66 = load i32, ptr %5, align 4
%67 = sdiv i32 %65, %66
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %7, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %80
70: ; preds = %58
%71 = load i32, ptr %9, align 4
%72 = icmp eq i32 %71, 1
br i1 %72, label %73, label %76
73: ; preds = %70
%74 = load i32, ptr %7, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %74)
br label %79
76: ; preds = %70
%77 = load i32, ptr %7, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %77)
br label %79
79: ; preds = %76, %73
br label %80
80: ; preds = %79, %58
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpobod13_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter an integer > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"-%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %5, align 4
store i32 100, ptr %6, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = mul nsw i32 %15, -1
store i32 %16, ptr %2, align 4
store i32 1, ptr %9, align 4
br label %17
17: ; preds = %14, %0
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sge i32 %19, 10
br i1 %20, label %.lr.ph, label %28
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %3, align 4
%23 = sdiv i32 %22, 10
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp sge i32 %26, 10
br i1 %27, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %17
%29 = load i32, ptr %2, align 4
%30 = srem i32 %29, 10
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
store i32 0, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %61
.lr.ph2: ; preds = %28
br label %35
35: ; preds = %.lr.ph2, %55
%36 = load i32, ptr %2, align 4
%37 = load i32, ptr %6, align 4
%38 = srem i32 %36, %37
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %5, align 4
%41 = srem i32 %39, %40
%42 = sub nsw i32 %38, %41
%43 = load i32, ptr %5, align 4
%44 = sdiv i32 %42, %43
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45)
%47 = load i32, ptr %6, align 4
%48 = sitofp i32 %47 to double
%49 = fmul double %48, 1.000000e+01
%50 = fptosi double %49 to i32
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = sitofp i32 %51 to double
%53 = fmul double %52, 1.000000e+01
%54 = fptosi double %53 to i32
store i32 %54, ptr %5, align 4
br label %55
55: ; preds = %35
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %4, align 4
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %28
%62 = load i32, ptr %2, align 4
%63 = load i32, ptr %6, align 4
%64 = srem i32 %62, %63
%65 = load i32, ptr %2, align 4
%66 = load i32, ptr %5, align 4
%67 = srem i32 %65, %66
%68 = sub nsw i32 %64, %67
%69 = load i32, ptr %5, align 4
%70 = sdiv i32 %68, %69
store i32 %70, ptr %7, align 4
%71 = load i32, ptr %7, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %83
73: ; preds = %61
%74 = load i32, ptr %9, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = load i32, ptr %7, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %77)
br label %82
79: ; preds = %73
%80 = load i32, ptr %7, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %80)
br label %82
82: ; preds = %79, %76
br label %83
83: ; preds = %82, %61
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmzz2nhcd.c'
source_filename = "/tmp/tmpmzz2nhcd.c"
target datalayout = "e-m:e-p270: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/tmpmzz2nhcd.c"
target datalayout = "e-m:e-p270: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/tmpra89k9hx.c'
source_filename = "/tmp/tmpra89k9hx.c"
target datalayout = "e-m:e-p270: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/tmpra89k9hx.c"
target datalayout = "e-m:e-p270: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/tmpptu33jbb.c'
source_filename = "/tmp/tmpptu33jbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %d\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 @dumpCodingMatrix(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
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %36, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %39
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %31, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %34
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = mul nsw i32 %21, %22
%24 = add nsw i32 %20, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %19, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = and i32 255, %28
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
br label %31
31: ; preds = %18
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %14, !llvm.loop !6
34: ; preds = %14
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %9, !llvm.loop !8
39: ; preds = %9
%40 = 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpptu33jbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %d\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 @dumpCodingMatrix(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
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %43
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %37
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %35
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %29
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = mul nsw i32 %19, %20
%22 = add nsw i32 %18, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %17, i64 %23
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = and i32 255, %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %16
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %12
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %3
%44 = 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8d8i2bf2.c'
source_filename = "/tmp/tmp8d8i2bf2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NvmInit() #0 {
%1 = call i32 (...) @FlashInit()
ret void
}
declare i32 @FlashInit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8d8i2bf2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NvmInit() #0 {
%1 = call i32 (...) @FlashInit()
ret void
}
declare i32 @FlashInit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1_sj80a5.c'
source_filename = "/tmp/tmp1_sj80a5.c"
target datalayout = "e-m:e-p270: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/tmp1_sj80a5.c"
target datalayout = "e-m:e-p270: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/tmp894djahf.c'
source_filename = "/tmp/tmp894djahf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld %lld\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Case %lld: %lld\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 i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %4, align 8
br label %8
8: ; preds = %42, %0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %50
11: ; preds = %8
%12 = load i64, ptr %2, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i64, ptr %3, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14
br label %50
18: ; preds = %14, %11
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 1, ptr %5, align 8
br label %19
19: ; preds = %27, %18
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %2, align 8
%22 = icmp slt i64 %20, %21
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load i64, ptr %5, align 8
%25 = load i64, ptr %6, align 8
%26 = add nsw i64 %25, %24
store i64 %26, ptr %6, align 8
br label %27
27: ; preds = %23
%28 = load i64, ptr %5, align 8
%29 = add nsw i64 %28, 1
store i64 %29, ptr %5, align 8
br label %19, !llvm.loop !6
30: ; preds = %19
store i64 1, ptr %5, align 8
br label %31
31: ; preds = %39, %30
%32 = load i64, ptr %5, align 8
%33 = load i64, ptr %3, align 8
%34 = icmp slt i64 %32, %33
br i1 %34, label %35, label %42
35: ; preds = %31
%36 = load i64, ptr %5, align 8
%37 = load i64, ptr %7, align 8
%38 = add nsw i64 %37, %36
store i64 %38, ptr %7, align 8
br label %39
39: ; preds = %35
%40 = load i64, ptr %5, align 8
%41 = add nsw i64 %40, 1
store i64 %41, ptr %5, align 8
br label %31, !llvm.loop !8
42: ; preds = %31
%43 = load i64, ptr %4, align 8
%44 = load i64, ptr %6, align 8
%45 = load i64, ptr %7, align 8
%46 = mul nsw i64 %44, %45
%47 = call i32 @printf(ptr noundef @.str.1, i64 noundef %43, i64 noundef %46)
%48 = load i64, ptr %4, align 8
%49 = add nsw i64 %48, 1
store i64 %49, ptr %4, align 8
br label %8, !llvm.loop !9
50: ; preds = %17, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp894djahf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld %lld\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Case %lld: %lld\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 i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %4, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%9 = icmp eq i32 %8, 2
br i1 %9, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %0
br label %10
10: ; preds = %.lr.ph5, %45
%11 = load i64, ptr %2, align 8
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i64, ptr %3, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
br label %55
17: ; preds = %13, %10
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 1, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %2, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %.lr.ph, label %31
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %25
%22 = load i64, ptr %5, align 8
%23 = load i64, ptr %6, align 8
%24 = add nsw i64 %23, %22
store i64 %24, ptr %6, align 8
br label %25
25: ; preds = %21
%26 = load i64, ptr %5, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %5, align 8
%28 = load i64, ptr %5, align 8
%29 = load i64, ptr %2, align 8
%30 = icmp slt i64 %28, %29
br i1 %30, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %17
store i64 1, ptr %5, align 8
%32 = load i64, ptr %5, align 8
%33 = load i64, ptr %3, align 8
%34 = icmp slt i64 %32, %33
br i1 %34, label %.lr.ph2, label %45
.lr.ph2: ; preds = %31
br label %35
35: ; preds = %.lr.ph2, %39
%36 = load i64, ptr %5, align 8
%37 = load i64, ptr %7, align 8
%38 = add nsw i64 %37, %36
store i64 %38, ptr %7, align 8
br label %39
39: ; preds = %35
%40 = load i64, ptr %5, align 8
%41 = add nsw i64 %40, 1
store i64 %41, ptr %5, align 8
%42 = load i64, ptr %5, align 8
%43 = load i64, ptr %3, align 8
%44 = icmp slt i64 %42, %43
br i1 %44, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %31
%46 = load i64, ptr %4, align 8
%47 = load i64, ptr %6, align 8
%48 = load i64, ptr %7, align 8
%49 = mul nsw i64 %47, %48
%50 = call i32 @printf(ptr noundef @.str.1, i64 noundef %46, i64 noundef %49)
%51 = load i64, ptr %4, align 8
%52 = add nsw i64 %51, 1
store i64 %52, ptr %4, align 8
%53 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%54 = icmp eq i32 %53, 2
br i1 %54, label %10, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %45
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %55
55: ; preds = %.loopexit, %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7xamfvfo.c'
source_filename = "/tmp/tmp7xamfvfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEBUG: max1=%d, max2=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @max_sum_subarray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %14
14: ; preds = %60, %2
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %63
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %19, %24
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %25, %30
br i1 %31, label %32, label %40
32: ; preds = %18
%33 = load i32, ptr %6, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = add nsw i32 %33, %38
br label %46
40: ; preds = %18
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
br label %46
46: ; preds = %40, %32
%47 = phi i32 [ %39, %32 ], [ %45, %40 ]
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp sgt i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %46
%52 = load i32, ptr %6, align 4
br label %55
53: ; preds = %46
%54 = load i32, ptr %5, align 4
br label %55
55: ; preds = %53, %51
%56 = phi i32 [ %52, %51 ], [ %54, %53 ]
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = load i32, ptr %6, align 4
%59 = call i32 @printf(ptr noundef @.str, i32 noundef %57, i32 noundef %58)
br label %60
60: ; preds = %55
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %14, !llvm.loop !6
63: ; preds = %14
%64 = load i32, ptr %5, align 4
ret i32 %64
}
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/tmp7xamfvfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEBUG: max1=%d, max2=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @max_sum_subarray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %6, align 4
store i32 1, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %65
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %59
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %18, %23
%25 = load ptr, ptr %3, 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
%30 = icmp sgt i32 %24, %29
br i1 %30, label %31, label %39
31: ; preds = %17
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %32, %37
br label %45
39: ; preds = %17
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
br label %45
45: ; preds = %39, %31
%46 = phi i32 [ %38, %31 ], [ %44, %39 ]
store i32 %46, ptr %6, align 4
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp sgt i32 %47, %48
br i1 %49, label %50, label %52
50: ; preds = %45
%51 = load i32, ptr %6, align 4
br label %54
52: ; preds = %45
%53 = load i32, ptr %5, align 4
br label %54
54: ; preds = %52, %50
%55 = phi i32 [ %51, %50 ], [ %53, %52 ]
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = call i32 @printf(ptr noundef @.str, i32 noundef %56, i32 noundef %57)
br label %59
59: ; preds = %54
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %2
%66 = load i32, ptr %5, align 4
ret i32 %66
}
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/tmp3lpmexx5.c'
source_filename = "/tmp/tmp3lpmexx5.c"
target datalayout = "e-m:e-p270: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/tmp3lpmexx5.c"
target datalayout = "e-m:e-p270: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/tmplcmla0kg.c'
source_filename = "/tmp/tmplcmla0kg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numTrees(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %2, align 4
br label %92
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
store i32 1, ptr %21, align 4
store i32 1, ptr %5, align 4
br label %22
22: ; preds = %83, %12
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %86
26: ; preds = %22
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 0, ptr %30, align 4
store i32 0, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = sub nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %33
33: ; preds = %37, %26
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %60
37: ; preds = %33
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = mul nsw i32 %42, %47
%49 = mul nsw i32 %48, 2
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = add nsw i32 %54, %49
store i32 %55, ptr %53, align 4
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %7, align 4
br label %33, !llvm.loop !6
60: ; preds = %33
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp eq i32 %61, %62
br i1 %63, label %64, label %82
64: ; preds = %60
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = mul nsw i32 %69, %74
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
%81 = add nsw i32 %80, %75
store i32 %81, ptr %79, align 4
br label %82
82: ; preds = %64, %60
br label %83
83: ; preds = %82
%84 = load i32, ptr %5, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %5, align 4
br label %22, !llvm.loop !8
86: ; preds = %22
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %3, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
%91 = load i32, ptr %90, align 4
store i32 %91, ptr %2, align 4
br label %92
92: ; preds = %86, %10
%93 = load i32, ptr %2, align 4
ret i32 %93
}
declare i64 @malloc(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/tmplcmla0kg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numTrees(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %2, align 4
br label %96
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
store i32 1, ptr %21, align 4
store i32 1, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph2, label %90
.lr.ph2: ; preds = %12
br label %25
25: ; preds = %.lr.ph2, %84
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 0, ptr %29, align 4
store i32 0, ptr %6, align 4
%30 = load i32, ptr %5, align 4
%31 = sub nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %61
.lr.ph: ; preds = %25
br label %35
35: ; preds = %.lr.ph, %35
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = mul nsw i32 %40, %45
%47 = mul nsw i32 %46, 2
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, %47
store i32 %53, ptr %51, align 4
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %6, align 4
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %61
61: ; preds = %._crit_edge, %25
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp eq i32 %62, %63
br i1 %64, label %65, label %83
65: ; preds = %61
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = mul nsw i32 %70, %75
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %5, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = add nsw i32 %81, %76
store i32 %82, ptr %80, align 4
br label %83
83: ; preds = %65, %61
br label %84
84: ; preds = %83
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr %3, align 4
%89 = icmp sle i32 %87, %88
br i1 %89, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %90
90: ; preds = %._crit_edge3, %12
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %3, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
%95 = load i32, ptr %94, align 4
store i32 %95, ptr %2, align 4
br label %96
96: ; preds = %90, %10
%97 = load i32, ptr %2, align 4
ret i32 %97
}
declare i64 @malloc(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/tmpc06z6b9a.c'
source_filename = "/tmp/tmpc06z6b9a.c"
target datalayout = "e-m:e-p270: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/tmpc06z6b9a.c"
target datalayout = "e-m:e-p270: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/tmpr_nm2k1y.c'
source_filename = "/tmp/tmpr_nm2k1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGSTOP = 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/tmpr_nm2k1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGSTOP = 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/tmprrym8o0v.c'
source_filename = "/tmp/tmprrym8o0v.c"
target datalayout = "e-m:e-p270: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/tmprrym8o0v.c"
target datalayout = "e-m:e-p270: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/tmpj23vb06a.c'
source_filename = "/tmp/tmpj23vb06a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @findPal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [17 x i8], align 16
%9 = alloca [17 x i8], align 16
store i32 %0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %5, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %23, %1
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %26
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, 16
%17 = call signext i8 @decHex(i32 noundef %16)
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %19
store i8 %17, ptr %20, align 1
%21 = load i32, ptr %2, align 4
%22 = sdiv i32 %21, 16
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %14
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = load i32, ptr %3, align 4
store i32 %27, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %40, %26
%29 = load i32, ptr %3, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %38
store i8 %36, ptr %39, align 1
br label %40
40: ; preds = %31
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %3, align 4
br label %28, !llvm.loop !8
45: ; preds = %28
store i32 0, ptr %3, align 4
br label %46
46: ; preds = %61, %45
%47 = load i32, ptr %3, align 4
%48 = icmp slt i32 %47, 17
br i1 %48, label %49, label %64
49: ; preds = %46
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %51
%53 = load i8, ptr %52, align 1
%54 = call i64 @checkSym(i8 noundef signext %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %49
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %58
store i8 0, ptr %59, align 1
br label %60
60: ; preds = %56, %49
br label %61
61: ; preds = %60
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
br label %46, !llvm.loop !9
64: ; preds = %46
%65 = load i32, ptr %6, align 4
%66 = icmp eq i32 %65, 1
br i1 %66, label %67, label %70
67: ; preds = %64
%68 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%69 = call i32 @printf(ptr noundef @.str, ptr noundef %68)
br label %125
70: ; preds = %64
%71 = load i32, ptr %6, align 4
%72 = icmp eq i32 %71, 2
br i1 %72, label %73, label %87
73: ; preds = %70
%74 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%75 = load i8, ptr %74, align 16
%76 = sext i8 %75 to i32
%77 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 1
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %76, %79
br i1 %80, label %81, label %84
81: ; preds = %73
%82 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%83 = call i32 @printf(ptr noundef @.str, ptr noundef %82)
br label %125
84: ; preds = %73
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
call void @findPal(i32 noundef %86)
br label %125
87: ; preds = %70
store i32 0, ptr %3, align 4
%88 = load i32, ptr %4, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %4, align 4
br label %90
90: ; preds = %109, %87
%91 = load i32, ptr %3, align 4
%92 = load i32, ptr %6, align 4
%93 = sdiv i32 %92, 2
%94 = icmp slt i32 %91, %93
br i1 %94, label %95, label %114
95: ; preds = %90
%96 = load i32, ptr %3, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = load i32, ptr %4, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp ne i32 %100, %105
br i1 %106, label %107, label %108
107: ; preds = %95
store i32 0, ptr %7, align 4
br label %108
108: ; preds = %107, %95
br label %109
109: ; preds = %108
%110 = load i32, ptr %3, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %3, align 4
%112 = load i32, ptr %4, align 4
%113 = add nsw i32 %112, -1
store i32 %113, ptr %4, align 4
br label %90, !llvm.loop !10
114: ; preds = %90
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
%117 = load i32, ptr %7, align 4
%118 = icmp eq i32 %117, 1
br i1 %118, label %119, label %122
119: ; preds = %116
%120 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%121 = call i32 @printf(ptr noundef @.str, ptr noundef %120)
br label %125
122: ; preds = %116
%123 = load i32, ptr %5, align 4
%124 = add nsw i32 %123, 1
call void @findPal(i32 noundef %124)
br label %125
125: ; preds = %122, %119, %84, %81, %67
ret void
}
declare signext i8 @decHex(i32 noundef) #1
declare i64 @checkSym(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj23vb06a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @findPal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [17 x i8], align 16
%9 = alloca [17 x i8], align 16
store i32 %0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %5, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 16
%16 = call signext i8 @decHex(i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %18
store i8 %16, ptr %19, align 1
%20 = load i32, ptr %2, align 4
%21 = sdiv i32 %20, 16
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %13
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %3, align 4
store i32 %28, ptr %6, align 4
store i32 0, ptr %4, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %.lr.ph2, label %47
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %40
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %38
store i8 %36, ptr %39, align 1
br label %40
40: ; preds = %31
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %47
47: ; preds = %._crit_edge3, %27
store i32 0, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %48, 17
br i1 %49, label %.lr.ph5, label %67
.lr.ph5: ; preds = %47
br label %50
50: ; preds = %.lr.ph5, %62
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call i64 @checkSym(i8 noundef signext %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %50
%58 = load i32, ptr %3, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %59
store i8 0, ptr %60, align 1
br label %61
61: ; preds = %57, %50
br label %62
62: ; preds = %61
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %65, 17
br i1 %66, label %50, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %67
67: ; preds = %._crit_edge6, %47
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 1
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%72 = call i32 @printf(ptr noundef @.str, ptr noundef %71)
br label %131
73: ; preds = %67
%74 = load i32, ptr %6, align 4
%75 = icmp eq i32 %74, 2
br i1 %75, label %76, label %90
76: ; preds = %73
%77 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%78 = load i8, ptr %77, align 16
%79 = sext i8 %78 to i32
%80 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 1
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %79, %82
br i1 %83, label %84, label %87
84: ; preds = %76
%85 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%86 = call i32 @printf(ptr noundef @.str, ptr noundef %85)
br label %131
87: ; preds = %76
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, 1
call void @findPal(i32 noundef %89)
br label %131
90: ; preds = %73
store i32 0, ptr %3, align 4
%91 = load i32, ptr %4, align 4
%92 = add nsw i32 %91, -1
store i32 %92, ptr %4, align 4
%93 = load i32, ptr %3, align 4
%94 = load i32, ptr %6, align 4
%95 = sdiv i32 %94, 2
%96 = icmp slt i32 %93, %95
br i1 %96, label %.lr.ph8, label %120
.lr.ph8: ; preds = %90
br label %97
97: ; preds = %.lr.ph8, %111
%98 = load i32, ptr %3, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = load i32, ptr %4, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp ne i32 %102, %107
br i1 %108, label %109, label %110
109: ; preds = %97
store i32 0, ptr %7, align 4
br label %110
110: ; preds = %109, %97
br label %111
111: ; preds = %110
%112 = load i32, ptr %3, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %3, align 4
%114 = load i32, ptr %4, align 4
%115 = add nsw i32 %114, -1
store i32 %115, ptr %4, align 4
%116 = load i32, ptr %3, align 4
%117 = load i32, ptr %6, align 4
%118 = sdiv i32 %117, 2
%119 = icmp slt i32 %116, %118
br i1 %119, label %97, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %111
br label %120
120: ; preds = %._crit_edge9, %90
br label %121
121: ; preds = %120
br label %122
122: ; preds = %121
%123 = load i32, ptr %7, align 4
%124 = icmp eq i32 %123, 1
br i1 %124, label %125, label %128
125: ; preds = %122
%126 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 0
%127 = call i32 @printf(ptr noundef @.str, ptr noundef %126)
br label %131
128: ; preds = %122
%129 = load i32, ptr %5, align 4
%130 = add nsw i32 %129, 1
call void @findPal(i32 noundef %130)
br label %131
131: ; preds = %128, %125, %87, %84, %70
ret void
}
declare signext i8 @decHex(i32 noundef) #1
declare i64 @checkSym(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp_7dbd2od.c'
source_filename = "/tmp/tmp_7dbd2od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = call i64 (...) @nd_int()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
store i32 5, ptr %7, align 4
br label %10
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
store i32 10, ptr %9, align 4
br label %10
10: ; preds = %8, %6
%11 = load ptr, ptr %1, align 8
ret ptr %11
}
declare i64 @malloc(i32 noundef) #1
declare i64 @nd_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_7dbd2od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = call i64 (...) @nd_int()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
store i32 5, ptr %7, align 4
br label %10
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
store i32 10, ptr %9, align 4
br label %10
10: ; preds = %8, %6
%11 = load ptr, ptr %1, align 8
ret ptr %11
}
declare i64 @malloc(i32 noundef) #1
declare i64 @nd_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnorb0epp.c'
source_filename = "/tmp/tmpnorb0epp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_UART_ReceiveCongestionBuffer(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %19, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = call zeroext i8 @BSP_UART_ReceiveByte(i32 noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 %14, ptr %18, align 1
br label %19
19: ; preds = %12
%20 = load i32, ptr %7, align 4
%21 = add i32 %20, 1
store i32 %21, ptr %7, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
ret void
}
declare zeroext i8 @BSP_UART_ReceiveByte(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/tmpnorb0epp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_UART_ReceiveCongestionBuffer(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %18
%12 = load i32, ptr %4, align 4
%13 = call zeroext i8 @BSP_UART_ReceiveByte(i32 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 %13, ptr %17, align 1
br label %18
18: ; preds = %11
%19 = load i32, ptr %7, align 4
%20 = add i32 %19, 1
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp ult i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %3
ret void
}
declare zeroext i8 @BSP_UART_ReceiveByte(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/tmpnfafm70g.c'
source_filename = "/tmp/tmpnfafm70g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_system_info.buf = internal global [1000 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [9 x i8] c"uname -a\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 ptr @get_system_info() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store ptr null, ptr %1, align 8
br label %12
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fgets(ptr noundef @get_system_info.buf, i32 noundef 1000, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @pclose(ptr noundef %10)
store ptr @get_system_info.buf, ptr %1, align 8
br label %12
12: ; preds = %7, %6
%13 = load ptr, ptr %1, align 8
ret ptr %13
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnfafm70g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_system_info.buf = internal global [1000 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [9 x i8] c"uname -a\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 ptr @get_system_info() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store ptr null, ptr %1, align 8
br label %12
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fgets(ptr noundef @get_system_info.buf, i32 noundef 1000, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @pclose(ptr noundef %10)
store ptr @get_system_info.buf, ptr %1, align 8
br label %12
12: ; preds = %7, %6
%13 = load ptr, ptr %1, align 8
ret ptr %13
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5yp5yegs.c'
source_filename = "/tmp/tmp5yp5yegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glavniMeni() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %4
4: ; preds = %17, %0
%5 = load i32, ptr %1, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = call i32 (...) @izborFilma()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
switch i32 %9, label %17 [
i32 0, label %10
i32 1, label %11
i32 2, label %13
i32 3, label %15
]
10: ; preds = %7
store i32 0, ptr %1, align 4
br label %17
11: ; preds = %7
store i32 0, ptr %1, align 4
%12 = call i32 (...) @izborFilmaPoImenu()
store i32 %12, ptr %2, align 4
br label %17
13: ; preds = %7
store i32 0, ptr %1, align 4
%14 = call i32 (...) @izborFilmaPoZanru()
store i32 %14, ptr %2, align 4
br label %17
15: ; preds = %7
store i32 0, ptr %1, align 4
%16 = call i32 (...) @izborFilmaPoPopularnosti()
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %7, %15, %13, %11, %10
br label %4, !llvm.loop !6
18: ; preds = %4
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @izborFilma(...) #1
declare i32 @izborFilmaPoImenu(...) #1
declare i32 @izborFilmaPoZanru(...) #1
declare i32 @izborFilmaPoPopularnosti(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5yp5yegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glavniMeni() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %16
%7 = call i32 (...) @izborFilma()
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
switch i32 %8, label %16 [
i32 0, label %9
i32 1, label %10
i32 2, label %12
i32 3, label %14
]
9: ; preds = %6
store i32 0, ptr %1, align 4
br label %16
10: ; preds = %6
store i32 0, ptr %1, align 4
%11 = call i32 (...) @izborFilmaPoImenu()
store i32 %11, ptr %2, align 4
br label %16
12: ; preds = %6
store i32 0, ptr %1, align 4
%13 = call i32 (...) @izborFilmaPoZanru()
store i32 %13, ptr %2, align 4
br label %16
14: ; preds = %6
store i32 0, ptr %1, align 4
%15 = call i32 (...) @izborFilmaPoPopularnosti()
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %14, %12, %10, %9, %6
%17 = load i32, ptr %1, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @izborFilma(...) #1
declare i32 @izborFilmaPoImenu(...) #1
declare i32 @izborFilmaPoZanru(...) #1
declare i32 @izborFilmaPoPopularnosti(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpieiwwcae.c'
source_filename = "/tmp/tmpieiwwcae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rescale(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = sdiv i32 %12, 4
store i32 %13, ptr %11, align 4
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
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/tmpieiwwcae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rescale(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 4
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %13
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = load i32, ptr %10, align 4
%12 = sdiv i32 %11, 4
store i32 %12, ptr %10, align 4
br label %13
13: ; preds = %6
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %1
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/tmpk3lxsic4.c'
source_filename = "/tmp/tmpk3lxsic4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.are_you_sure.answer = private unnamed_addr constant [8 x i8] c"n\00\00\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [10 x i8] c"%s [%s]: \00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"are you sure ? (y/n)\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @are_you_sure() #0 {
%1 = alloca [8 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.are_you_sure.answer, i64 8, i1 false)
%2 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %2)
%4 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 8, i32 noundef %5)
%7 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @chomp(ptr noundef %7)
%9 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp eq i64 0, %10
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 1, i32 0
ret i32 %13
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @chomp(ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk3lxsic4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.are_you_sure.answer = private unnamed_addr constant [8 x i8] c"n\00\00\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [10 x i8] c"%s [%s]: \00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"are you sure ? (y/n)\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @are_you_sure() #0 {
%1 = alloca [8 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.are_you_sure.answer, i64 8, i1 false)
%2 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %2)
%4 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 8, i32 noundef %5)
%7 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @chomp(ptr noundef %7)
%9 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp eq i64 0, %10
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 1, i32 0
ret i32 %13
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @chomp(ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg43p4yma.c'
source_filename = "/tmp/tmpg43p4yma.c"
target datalayout = "e-m:e-p270: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._ID_SCORE = type { i32, double }
@.str = private unnamed_addr constant [24 x i8] c"Top-%d [pageID: score]\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%4d: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTopK(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 ptr, align 8
%10 = alloca %struct._ID_SCORE, align 8
%11 = 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
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %19
18: ; preds = %14, %3
br label %129
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 16, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %26
26: ; preds = %47, %19
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %50
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds %struct._ID_SCORE, ptr %32, i64 %34
%36 = getelementptr inbounds %struct._ID_SCORE, ptr %35, i32 0, i32 0
store i32 %31, ptr %36, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds %struct._ID_SCORE, ptr %42, i64 %44
%46 = getelementptr inbounds %struct._ID_SCORE, ptr %45, i32 0, i32 1
store double %41, ptr %46, align 8
br label %47
47: ; preds = %30
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %7, align 4
br label %26, !llvm.loop !6
50: ; preds = %26
store i32 0, ptr %7, align 4
br label %51
51: ; preds = %99, %50
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %102
55: ; preds = %51
%56 = load i32, ptr %7, align 4
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %7, align 4
store i32 %57, ptr %8, align 4
br label %58
58: ; preds = %79, %55
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %82
62: ; preds = %58
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %11, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds %struct._ID_SCORE, ptr %63, i64 %65
%67 = getelementptr inbounds %struct._ID_SCORE, ptr %66, i32 0, i32 1
%68 = load double, ptr %67, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds %struct._ID_SCORE, ptr %69, i64 %71
%73 = getelementptr inbounds %struct._ID_SCORE, ptr %72, i32 0, i32 1
%74 = load double, ptr %73, align 8
%75 = fcmp olt double %68, %74
br i1 %75, label %76, label %78
76: ; preds = %62
%77 = load i32, ptr %8, align 4
store i32 %77, ptr %11, align 4
br label %78
78: ; preds = %76, %62
br label %79
79: ; preds = %78
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
br label %58, !llvm.loop !8
82: ; preds = %58
%83 = load ptr, ptr %9, align 8
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds %struct._ID_SCORE, ptr %83, i64 %85
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %86, i64 16, i1 false)
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %7, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds %struct._ID_SCORE, ptr %87, i64 %89
%91 = load ptr, ptr %9, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds %struct._ID_SCORE, ptr %91, i64 %93
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 %94, i64 16, i1 false)
%95 = load ptr, ptr %9, align 8
%96 = load i32, ptr %11, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds %struct._ID_SCORE, ptr %95, i64 %97
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %98, ptr align 8 %10, i64 16, i1 false)
br label %99
99: ; preds = %82
%100 = load i32, ptr %7, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %7, align 4
br label %51, !llvm.loop !9
102: ; preds = %51
%103 = load i32, ptr %6, align 4
%104 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %103)
store i32 0, ptr %7, align 4
br label %105
105: ; preds = %123, %102
%106 = load i32, ptr %7, align 4
%107 = load i32, ptr %6, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %126
109: ; preds = %105
%110 = load ptr, ptr %9, align 8
%111 = load i32, ptr %7, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds %struct._ID_SCORE, ptr %110, i64 %112
%114 = getelementptr inbounds %struct._ID_SCORE, ptr %113, i32 0, i32 0
%115 = load i32, ptr %114, align 8
%116 = load ptr, ptr %9, align 8
%117 = load i32, ptr %7, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds %struct._ID_SCORE, ptr %116, i64 %118
%120 = getelementptr inbounds %struct._ID_SCORE, ptr %119, i32 0, i32 1
%121 = load double, ptr %120, align 8
%122 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %115, double noundef %121)
br label %123
123: ; preds = %109
%124 = load i32, ptr %7, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %7, align 4
br label %105, !llvm.loop !10
126: ; preds = %105
%127 = load ptr, ptr %9, align 8
%128 = call i32 @free(ptr noundef %127)
br label %129
129: ; preds = %126, %18
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpg43p4yma.c"
target datalayout = "e-m:e-p270: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._ID_SCORE = type { i32, double }
@.str = private unnamed_addr constant [24 x i8] c"Top-%d [pageID: score]\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%4d: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTopK(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 ptr, align 8
%10 = alloca %struct._ID_SCORE, align 8
%11 = 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
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %19
18: ; preds = %14, %3
br label %137
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 16, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %9, align 8
store i32 0, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %52
.lr.ph: ; preds = %19
br label %29
29: ; preds = %.lr.ph, %46
%30 = load i32, ptr %7, align 4
%31 = load ptr, ptr %9, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds %struct._ID_SCORE, ptr %31, i64 %33
%35 = getelementptr inbounds %struct._ID_SCORE, ptr %34, i32 0, i32 0
store i32 %30, ptr %35, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %9, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds %struct._ID_SCORE, ptr %41, i64 %43
%45 = getelementptr inbounds %struct._ID_SCORE, ptr %44, i32 0, i32 1
store double %40, ptr %45, align 8
br label %46
46: ; preds = %29
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %19
store i32 0, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph5, label %108
.lr.ph5: ; preds = %52
br label %56
56: ; preds = %.lr.ph5, %102
%57 = load i32, ptr %7, align 4
store i32 %57, ptr %11, align 4
%58 = load i32, ptr %7, align 4
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph2, label %85
.lr.ph2: ; preds = %56
br label %62
62: ; preds = %.lr.ph2, %79
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %11, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds %struct._ID_SCORE, ptr %63, i64 %65
%67 = getelementptr inbounds %struct._ID_SCORE, ptr %66, i32 0, i32 1
%68 = load double, ptr %67, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds %struct._ID_SCORE, ptr %69, i64 %71
%73 = getelementptr inbounds %struct._ID_SCORE, ptr %72, i32 0, i32 1
%74 = load double, ptr %73, align 8
%75 = fcmp olt double %68, %74
br i1 %75, label %76, label %78
76: ; preds = %62
%77 = load i32, ptr %8, align 4
store i32 %77, ptr %11, align 4
br label %78
78: ; preds = %76, %62
br label %79
79: ; preds = %78
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
%82 = load i32, ptr %8, align 4
%83 = load i32, ptr %5, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %85
85: ; preds = %._crit_edge3, %56
%86 = load ptr, ptr %9, align 8
%87 = load i32, ptr %7, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds %struct._ID_SCORE, ptr %86, i64 %88
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %89, i64 16, i1 false)
%90 = load ptr, ptr %9, align 8
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds %struct._ID_SCORE, ptr %90, i64 %92
%94 = load ptr, ptr %9, align 8
%95 = load i32, ptr %11, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds %struct._ID_SCORE, ptr %94, i64 %96
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %93, ptr align 8 %97, i64 16, i1 false)
%98 = load ptr, ptr %9, align 8
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds %struct._ID_SCORE, ptr %98, i64 %100
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %101, ptr align 8 %10, i64 16, i1 false)
br label %102
102: ; preds = %85
%103 = load i32, ptr %7, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %7, align 4
%105 = load i32, ptr %7, align 4
%106 = load i32, ptr %5, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %56, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %108
108: ; preds = %._crit_edge6, %52
%109 = load i32, ptr %6, align 4
%110 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %109)
store i32 0, ptr %7, align 4
%111 = load i32, ptr %7, align 4
%112 = load i32, ptr %6, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %.lr.ph8, label %134
.lr.ph8: ; preds = %108
br label %114
114: ; preds = %.lr.ph8, %128
%115 = load ptr, ptr %9, align 8
%116 = load i32, ptr %7, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds %struct._ID_SCORE, ptr %115, i64 %117
%119 = getelementptr inbounds %struct._ID_SCORE, ptr %118, i32 0, i32 0
%120 = load i32, ptr %119, align 8
%121 = load ptr, ptr %9, align 8
%122 = load i32, ptr %7, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds %struct._ID_SCORE, ptr %121, i64 %123
%125 = getelementptr inbounds %struct._ID_SCORE, ptr %124, i32 0, i32 1
%126 = load double, ptr %125, align 8
%127 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %120, double noundef %126)
br label %128
128: ; preds = %114
%129 = load i32, ptr %7, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %7, align 4
%131 = load i32, ptr %7, align 4
%132 = load i32, ptr %6, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %114, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %128
br label %134
134: ; preds = %._crit_edge9, %108
%135 = load ptr, ptr %9, align 8
%136 = call i32 @free(ptr noundef %135)
br label %137
137: ; preds = %134, %18
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpz1kvra6k.c'
source_filename = "/tmp/tmpz1kvra6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_fibonacci_sequence() #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 1, ptr %2, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %16, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 90
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %2, align 4
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %3, align 4
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %8
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1kvra6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_fibonacci_sequence() #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 1, ptr %2, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 90
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %15
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %8, %9
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %2, align 4
store i32 %13, ptr %1, align 4
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %7
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 90
br i1 %19, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkuce99wy.c'
source_filename = "/tmp/tmpkuce99wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.addspace.space = private unnamed_addr constant [3 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @addspace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [3 x i8], align 1
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.addspace.space, i64 3, i1 false)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %16, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 9
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds ptr, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%15 = call i32 @strcat(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkuce99wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.addspace.space = private unnamed_addr constant [3 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @addspace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [3 x i8], align 1
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.addspace.space, i64 3, i1 false)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 9
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %15
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%14 = call i32 @strcat(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %7
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 9
br i1 %19, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps76mc3zp.c'
source_filename = "/tmp/tmps76mc3zp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"enter the 5 elements\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Sorted array is:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
%17 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%18 = call i32 @heapsort(ptr noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %29, %16
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %32
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %23
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %20, !llvm.loop !8
32: ; preds = %20
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @heapsort(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmps76mc3zp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"enter the 5 elements\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Sorted array is:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %9
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%19 = call i32 @heapsort(ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %.lr.ph2, label %34
.lr.ph2: ; preds = %17
br label %23
23: ; preds = %.lr.ph2, %29
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %23
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 5
br i1 %33, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %17
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @heapsort(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpw51dey1v.c'
source_filename = "/tmp/tmpw51dey1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RemoveFirstCarWeightInfo() #0 {
%1 = call i32 (...) @Car_QueuePop()
%2 = call i32 (...) @CarList_Change()
ret void
}
declare i32 @Car_QueuePop(...) #1
declare i32 @CarList_Change(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw51dey1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RemoveFirstCarWeightInfo() #0 {
%1 = call i32 (...) @Car_QueuePop()
%2 = call i32 (...) @CarList_Change()
ret void
}
declare i32 @Car_QueuePop(...) #1
declare i32 @CarList_Change(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz8d958nf.c'
source_filename = "/tmp/tmpz8d958nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.log\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %f\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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %7, align 8
store i64 0, ptr %8, align 8
store i32 0, ptr %10, align 4
%14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, ptr @EXIT_FAILURE, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
20: ; preds = %2
%21 = call i64 (...) @clock()
store i64 %21, ptr %11, align 8
br label %22
22: ; preds = %26, %20
%23 = load ptr, ptr %6, align 8
%24 = call i32 @getline(ptr noundef %7, ptr noundef %8, ptr noundef %23)
store i32 %24, ptr %9, align 4
%25 = icmp ne i32 %24, -1
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %10, align 4
br label %22, !llvm.loop !6
29: ; preds = %22
%30 = call i64 (...) @clock()
store i64 %30, ptr %12, align 8
%31 = load i64, ptr %12, align 8
%32 = sitofp i64 %31 to float
%33 = load i64, ptr %11, align 8
%34 = sitofp i64 %33 to float
%35 = fsub float %32, %34
%36 = fdiv float %35, 1.000000e+06
%37 = fmul float %36, 1.000000e+03
store float %37, ptr %13, align 4
%38 = load i32, ptr %10, align 4
%39 = load float, ptr %13, align 4
%40 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38, float noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = call i32 @fclose(ptr noundef %41)
%43 = load ptr, ptr %7, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %48
45: ; preds = %29
%46 = load ptr, ptr %7, align 8
%47 = call i32 @free(ptr noundef %46)
br label %48
48: ; preds = %45, %29
%49 = load i32, ptr @EXIT_SUCCESS, align 4
%50 = call i32 @exit(i32 noundef %49) #3
unreachable
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @clock(...) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz8d958nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.log\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %f\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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %7, align 8
store i64 0, ptr %8, align 8
store i32 0, ptr %10, align 4
%14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, ptr @EXIT_FAILURE, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
20: ; preds = %2
%21 = call i64 (...) @clock()
store i64 %21, ptr %11, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @getline(ptr noundef %7, ptr noundef %8, ptr noundef %22)
store i32 %23, ptr %9, align 4
%24 = icmp ne i32 %23, -1
br i1 %24, label %.lr.ph, label %31
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %25
%26 = load i32, ptr %10, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %10, align 4
%28 = load ptr, ptr %6, align 8
%29 = call i32 @getline(ptr noundef %7, ptr noundef %8, ptr noundef %28)
store i32 %29, ptr %9, align 4
%30 = icmp ne i32 %29, -1
br i1 %30, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %20
%32 = call i64 (...) @clock()
store i64 %32, ptr %12, align 8
%33 = load i64, ptr %12, align 8
%34 = sitofp i64 %33 to float
%35 = load i64, ptr %11, align 8
%36 = sitofp i64 %35 to float
%37 = fsub float %34, %36
%38 = fdiv float %37, 1.000000e+06
%39 = fmul float %38, 1.000000e+03
store float %39, ptr %13, align 4
%40 = load i32, ptr %10, align 4
%41 = load float, ptr %13, align 4
%42 = call i32 @printf(ptr noundef @.str.2, i32 noundef %40, float noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fclose(ptr noundef %43)
%45 = load ptr, ptr %7, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %50
47: ; preds = %31
%48 = load ptr, ptr %7, align 8
%49 = call i32 @free(ptr noundef %48)
br label %50
50: ; preds = %47, %31
%51 = load i32, ptr @EXIT_SUCCESS, align 4
%52 = call i32 @exit(i32 noundef %51) #3
unreachable
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @clock(...) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphj6kwmmb.c'
source_filename = "/tmp/tmphj6kwmmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Insira N!: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Fatorial de %d! \C3\A9: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @LC_ALL, align 4
%4 = call i32 @setlocale(i32 noundef %3, ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = call i32 @abs(i32 noundef %7) #3
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @fatorial(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9, i32 noundef %11)
ret i32 0
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @fatorial(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphj6kwmmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Insira N!: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Fatorial de %d! \C3\A9: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @LC_ALL, align 4
%4 = call i32 @setlocale(i32 noundef %3, ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = call i32 @abs(i32 noundef %7) #3
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @fatorial(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9, i32 noundef %11)
ret i32 0
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @fatorial(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx0j5trkl.c'
source_filename = "/tmp/tmpx0j5trkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0j5trkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5rnmopfr.c'
source_filename = "/tmp/tmp5rnmopfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/mounts\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [28 x i8] c"unable to open /proc/mounts\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%*[^ ] %s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vz_fs_is_mounted(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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 ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %8, align 4
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr @errno, align 4
%13 = call i32 @logger(i32 noundef -1, i32 noundef %12, ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %53
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call ptr @realpath(ptr noundef %15, ptr noundef null)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = call ptr @strdup(ptr noundef %20)
store ptr %21, ptr %7, align 8
br label %22
22: ; preds = %19, %14
br label %23
23: ; preds = %46, %39, %22
%24 = load ptr, ptr %4, align 8
%25 = call i32 @feof(ptr noundef %24)
%26 = icmp ne i32 %25, 0
%27 = xor i1 %26, true
br i1 %27, label %28, label %47
28: ; preds = %23
%29 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%30 = load ptr, ptr %4, align 8
%31 = call ptr @fgets(ptr noundef %29, i32 noundef 512, ptr noundef %30)
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %28
br label %47
34: ; preds = %28
%35 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%36 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%37 = call i32 @sscanf(ptr noundef %35, ptr noundef @.str.3, ptr noundef %36)
%38 = icmp ne i32 %37, 1
br i1 %38, label %39, label %40
39: ; preds = %34
br label %23, !llvm.loop !6
40: ; preds = %34
%41 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%42 = load ptr, ptr %7, align 8
%43 = call i32 @strcmp(ptr noundef %41, ptr noundef %42)
%44 = icmp ne i32 %43, 0
br i1 %44, label %46, label %45
45: ; preds = %40
store i32 1, ptr %8, align 4
br label %47
46: ; preds = %40
br label %23, !llvm.loop !6
47: ; preds = %45, %33, %23
%48 = load ptr, ptr %7, align 8
%49 = call i32 @free(ptr noundef %48)
%50 = load ptr, ptr %4, align 8
%51 = call i32 @fclose(ptr noundef %50)
%52 = load i32, ptr %8, align 4
store i32 %52, ptr %2, align 4
br label %53
53: ; preds = %47, %11
%54 = load i32, ptr %2, align 4
ret i32 %54
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @logger(i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5rnmopfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/mounts\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [28 x i8] c"unable to open /proc/mounts\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%*[^ ] %s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vz_fs_is_mounted(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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 ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %8, align 4
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr @errno, align 4
%13 = call i32 @logger(i32 noundef -1, i32 noundef %12, ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %56
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call ptr @realpath(ptr noundef %15, ptr noundef null)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = call ptr @strdup(ptr noundef %20)
store ptr %21, ptr %7, align 8
br label %22
22: ; preds = %19, %14
%23 = load ptr, ptr %4, align 8
%24 = call i32 @feof(ptr noundef %23)
%25 = icmp ne i32 %24, 0
%26 = xor i1 %25, true
br i1 %26, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %.backedge
%28 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%29 = load ptr, ptr %4, align 8
%30 = call ptr @fgets(ptr noundef %28, i32 noundef 512, ptr noundef %29)
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %27
br label %50
33: ; preds = %27
%34 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%35 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%36 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.3, ptr noundef %35)
%37 = icmp ne i32 %36, 1
br i1 %37, label %38, label %43
38: ; preds = %33
br label %.backedge
.backedge: ; preds = %38, %49
%39 = load ptr, ptr %4, align 8
%40 = call i32 @feof(ptr noundef %39)
%41 = icmp ne i32 %40, 0
%42 = xor i1 %41, true
br i1 %42, label %27, label %..loopexit_crit_edge, !llvm.loop !6
43: ; preds = %33
%44 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strcmp(ptr noundef %44, ptr noundef %45)
%47 = icmp ne i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %43
store i32 1, ptr %8, align 4
br label %50
49: ; preds = %43
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %22
br label %50
50: ; preds = %.loopexit, %48, %32
%51 = load ptr, ptr %7, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load ptr, ptr %4, align 8
%54 = call i32 @fclose(ptr noundef %53)
%55 = load i32, ptr %8, align 4
store i32 %55, ptr %2, align 4
br label %56
56: ; preds = %50, %11
%57 = load i32, ptr %2, align 4
ret i32 %57
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @logger(i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(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"}
|
; ModuleID = '/tmp/tmpuzz4a82v.c'
source_filename = "/tmp/tmpuzz4a82v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @movement(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call signext i8 (...) @get_movement()
store i8 %6, ptr %5, align 1
%7 = load i8, ptr %5, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 27
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call signext i8 (...) @getch()
%12 = call signext i8 (...) @getch()
store i8 %12, ptr %5, align 1
br label %13
13: ; preds = %10, %2
%14 = load i8, ptr %5, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 54
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i8, ptr %5, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 67
br i1 %20, label %21, label %26
21: ; preds = %17, %13
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %23, 1
%25 = load ptr, ptr %3, align 8
store i32 %24, ptr %25, align 4
br label %68
26: ; preds = %17
%27 = load i8, ptr %5, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 52
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i8, ptr %5, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 68
br i1 %33, label %34, label %39
34: ; preds = %30, %26
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %35, align 4
%37 = sub nsw i32 %36, 1
%38 = load ptr, ptr %3, align 8
store i32 %37, ptr %38, align 4
br label %67
39: ; preds = %30
%40 = load i8, ptr %5, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 50
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = load i8, ptr %5, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 65
br i1 %46, label %47, label %52
47: ; preds = %43, %39
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %48, align 4
%50 = add nsw i32 %49, 1
%51 = load ptr, ptr %4, align 8
store i32 %50, ptr %51, align 4
br label %66
52: ; preds = %43
%53 = load i8, ptr %5, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 56
br i1 %55, label %60, label %56
56: ; preds = %52
%57 = load i8, ptr %5, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 66
br i1 %59, label %60, label %65
60: ; preds = %56, %52
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %61, align 4
%63 = sub nsw i32 %62, 1
%64 = load ptr, ptr %4, align 8
store i32 %63, ptr %64, align 4
br label %65
65: ; preds = %60, %56
br label %66
66: ; preds = %65, %47
br label %67
67: ; preds = %66, %34
br label %68
68: ; preds = %67, %21
%69 = load i8, ptr %5, align 1
ret i8 %69
}
declare signext i8 @get_movement(...) #1
declare signext i8 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuzz4a82v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @movement(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call signext i8 (...) @get_movement()
store i8 %6, ptr %5, align 1
%7 = load i8, ptr %5, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 27
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call signext i8 (...) @getch()
%12 = call signext i8 (...) @getch()
store i8 %12, ptr %5, align 1
br label %13
13: ; preds = %10, %2
%14 = load i8, ptr %5, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 54
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i8, ptr %5, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 67
br i1 %20, label %21, label %26
21: ; preds = %17, %13
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %23, 1
%25 = load ptr, ptr %3, align 8
store i32 %24, ptr %25, align 4
br label %68
26: ; preds = %17
%27 = load i8, ptr %5, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 52
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i8, ptr %5, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 68
br i1 %33, label %34, label %39
34: ; preds = %30, %26
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %35, align 4
%37 = sub nsw i32 %36, 1
%38 = load ptr, ptr %3, align 8
store i32 %37, ptr %38, align 4
br label %67
39: ; preds = %30
%40 = load i8, ptr %5, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 50
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = load i8, ptr %5, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 65
br i1 %46, label %47, label %52
47: ; preds = %43, %39
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %48, align 4
%50 = add nsw i32 %49, 1
%51 = load ptr, ptr %4, align 8
store i32 %50, ptr %51, align 4
br label %66
52: ; preds = %43
%53 = load i8, ptr %5, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 56
br i1 %55, label %60, label %56
56: ; preds = %52
%57 = load i8, ptr %5, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 66
br i1 %59, label %60, label %65
60: ; preds = %56, %52
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %61, align 4
%63 = sub nsw i32 %62, 1
%64 = load ptr, ptr %4, align 8
store i32 %63, ptr %64, align 4
br label %65
65: ; preds = %60, %56
br label %66
66: ; preds = %65, %47
br label %67
67: ; preds = %66, %34
br label %68
68: ; preds = %67, %21
%69 = load i8, ptr %5, align 1
ret i8 %69
}
declare signext i8 @get_movement(...) #1
declare signext i8 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphcrr6_rl.c'
source_filename = "/tmp/tmphcrr6_rl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds i8, ptr %11, i64 %12
store ptr %13, ptr %4, align 8
br label %14
14: ; preds = %27, %3
%15 = load i64, ptr %6, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load i8, ptr %18, align 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
store i8 %20, ptr %21, align 1
%23 = sext i8 %20 to i32
%24 = icmp ne i32 %23, 0
br label %25
25: ; preds = %17, %14
%26 = phi i1 [ false, %14 ], [ %24, %17 ]
br i1 %26, label %27, label %30
27: ; preds = %25
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %6, align 8
br label %14, !llvm.loop !6
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i8 0, ptr %31, align 1
%33 = load ptr, ptr %7, align 8
ret ptr %33
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphcrr6_rl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds i8, ptr %11, i64 %12
store ptr %13, ptr %4, align 8
br label %14
14: ; preds = %27, %3
%15 = load i64, ptr %6, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load i8, ptr %18, align 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
store i8 %20, ptr %21, align 1
%23 = sext i8 %20 to i32
%24 = icmp ne i32 %23, 0
br label %25
25: ; preds = %17, %14
%26 = phi i1 [ false, %14 ], [ %24, %17 ]
br i1 %26, label %27, label %30
27: ; preds = %25
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %6, align 8
br label %14, !llvm.loop !6
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i8 0, ptr %31, align 1
%33 = load ptr, ptr %7, align 8
ret ptr %33
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjeocar5s.c'
source_filename = "/tmp/tmpjeocar5s.c"
target datalayout = "e-m:e-p270: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/tmpjeocar5s.c"
target datalayout = "e-m:e-p270: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/tmpeza73r1p.c'
source_filename = "/tmp/tmpeza73r1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @pidfd_getfd(i32 noundef -1, i32 noundef 0, i32 noundef 0)
ret i32 %2
}
declare i32 @pidfd_getfd(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/tmpeza73r1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @pidfd_getfd(i32 noundef -1, i32 noundef 0, i32 noundef 0)
ret i32 %2
}
declare i32 @pidfd_getfd(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/tmpvrip3hrk.c'
source_filename = "/tmp/tmpvrip3hrk.c"
target datalayout = "e-m:e-p270: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/tmpvrip3hrk.c"
target datalayout = "e-m:e-p270: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/tmp70chosqj.c'
source_filename = "/tmp/tmp70chosqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeScenario(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp70chosqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeScenario(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphwk30xn9.c'
source_filename = "/tmp/tmphwk30xn9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"You entered '%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
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = trunc i32 %4 to i8
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %5)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphwk30xn9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"You entered '%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
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = trunc i32 %4 to i8
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %5)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaeltv8ly.c'
source_filename = "/tmp/tmpaeltv8ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@.str.3 = 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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 400, ptr %2, align 4
%6 = call ptr @llvm.stacksave()
store ptr %6, ptr %3, align 8
%7 = alloca i8, i64 400, align 16
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%9 = call i32 (...) @getchar()
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%11 = load i8, ptr %5, align 1
%12 = call ptr @find(ptr noundef %7, i8 noundef signext %11)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %24
17: ; preds = %0
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %18 to i64
%20 = ptrtoint ptr %7 to i64
%21 = sub i64 %19, %20
%22 = trunc i64 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
br label %24
24: ; preds = %17, %15
store i32 0, ptr %1, align 4
%25 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %25)
%26 = load i32, ptr %1, align 4
ret i32 %26
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @getchar(...) #2
declare ptr @find(ptr noundef, i8 noundef signext) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaeltv8ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@.str.3 = 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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 400, ptr %2, align 4
%6 = call ptr @llvm.stacksave()
store ptr %6, ptr %3, align 8
%7 = alloca i8, i64 400, align 16
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%9 = call i32 (...) @getchar()
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%11 = load i8, ptr %5, align 1
%12 = call ptr @find(ptr noundef %7, i8 noundef signext %11)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %24
17: ; preds = %0
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %18 to i64
%20 = ptrtoint ptr %7 to i64
%21 = sub i64 %19, %20
%22 = trunc i64 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
br label %24
24: ; preds = %17, %15
store i32 0, ptr %1, align 4
%25 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %25)
%26 = load i32, ptr %1, align 4
ret i32 %26
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @getchar(...) #2
declare ptr @find(ptr noundef, i8 noundef signext) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiqpvbel9.c'
source_filename = "/tmp/tmpiqpvbel9.c"
target datalayout = "e-m:e-p270: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/tmpiqpvbel9.c"
target datalayout = "e-m:e-p270: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/tmpzpz7kft8.c'
source_filename = "/tmp/tmpzpz7kft8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bcorr.c0 = internal global double 0x3FB5555555555553, align 8
@bcorr.c1 = internal global double 0xBF66C16C16BB8412, align 8
@bcorr.c2 = internal global double 0x3F4A019FD4488960, align 8
@bcorr.c3 = internal global double 0xBF4380EC8FF430DF, align 8
@bcorr.c4 = internal global double 0x3F4B6FD94FB94A6B, align 8
@bcorr.c5 = internal global double 0xBF5B1625CBCA1838, align 8
@bcorr.bcorr = internal global double 0.000000e+00, align 8
@bcorr.a = internal global double 0.000000e+00, align 8
@bcorr.b = internal global double 0.000000e+00, align 8
@bcorr.c = internal global double 0.000000e+00, align 8
@bcorr.h = internal global double 0.000000e+00, align 8
@bcorr.s11 = internal global double 0.000000e+00, align 8
@bcorr.s3 = internal global double 0.000000e+00, align 8
@bcorr.s5 = internal global double 0.000000e+00, align 8
@bcorr.s7 = internal global double 0.000000e+00, align 8
@bcorr.s9 = internal global double 0.000000e+00, align 8
@bcorr.t = internal global double 0.000000e+00, align 8
@bcorr.w = internal global double 0.000000e+00, align 8
@bcorr.x = internal global double 0.000000e+00, align 8
@bcorr.x2 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bcorr(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 double, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load double, ptr %7, align 8
%9 = call double @fifdmin1(double noundef %6, double noundef %8)
store double %9, ptr @bcorr.a, align 8
%10 = load ptr, ptr %3, align 8
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = load double, ptr %12, align 8
%14 = call double @fifdmax1(double noundef %11, double noundef %13)
store double %14, ptr @bcorr.b, align 8
%15 = load double, ptr @bcorr.a, align 8
%16 = load double, ptr @bcorr.b, align 8
%17 = fdiv double %15, %16
store double %17, ptr @bcorr.h, align 8
%18 = load double, ptr @bcorr.h, align 8
%19 = load double, ptr @bcorr.h, align 8
%20 = fadd double 1.000000e+00, %19
%21 = fdiv double %18, %20
store double %21, ptr @bcorr.c, align 8
%22 = load double, ptr @bcorr.h, align 8
%23 = fadd double 1.000000e+00, %22
%24 = fdiv double 1.000000e+00, %23
store double %24, ptr @bcorr.x, align 8
%25 = load double, ptr @bcorr.x, align 8
%26 = load double, ptr @bcorr.x, align 8
%27 = fmul double %25, %26
store double %27, ptr @bcorr.x2, align 8
%28 = load double, ptr @bcorr.x, align 8
%29 = load double, ptr @bcorr.x2, align 8
%30 = fadd double %28, %29
%31 = fadd double 1.000000e+00, %30
store double %31, ptr @bcorr.s3, align 8
%32 = load double, ptr @bcorr.x, align 8
%33 = load double, ptr @bcorr.x2, align 8
%34 = load double, ptr @bcorr.s3, align 8
%35 = call double @llvm.fmuladd.f64(double %33, double %34, double %32)
%36 = fadd double 1.000000e+00, %35
store double %36, ptr @bcorr.s5, align 8
%37 = load double, ptr @bcorr.x, align 8
%38 = load double, ptr @bcorr.x2, align 8
%39 = load double, ptr @bcorr.s5, align 8
%40 = call double @llvm.fmuladd.f64(double %38, double %39, double %37)
%41 = fadd double 1.000000e+00, %40
store double %41, ptr @bcorr.s7, align 8
%42 = load double, ptr @bcorr.x, align 8
%43 = load double, ptr @bcorr.x2, align 8
%44 = load double, ptr @bcorr.s7, align 8
%45 = call double @llvm.fmuladd.f64(double %43, double %44, double %42)
%46 = fadd double 1.000000e+00, %45
store double %46, ptr @bcorr.s9, align 8
%47 = load double, ptr @bcorr.x, align 8
%48 = load double, ptr @bcorr.x2, align 8
%49 = load double, ptr @bcorr.s9, align 8
%50 = call double @llvm.fmuladd.f64(double %48, double %49, double %47)
%51 = fadd double 1.000000e+00, %50
store double %51, ptr @bcorr.s11, align 8
%52 = load double, ptr @bcorr.b, align 8
%53 = fdiv double 1.000000e+00, %52
%54 = call double @pow(double noundef %53, double noundef 2.000000e+00) #4
store double %54, ptr @bcorr.t, align 8
%55 = load double, ptr @bcorr.c5, align 8
%56 = load double, ptr @bcorr.s11, align 8
%57 = fmul double %55, %56
%58 = load double, ptr @bcorr.t, align 8
%59 = load double, ptr @bcorr.c4, align 8
%60 = load double, ptr @bcorr.s9, align 8
%61 = fmul double %59, %60
%62 = call double @llvm.fmuladd.f64(double %57, double %58, double %61)
%63 = load double, ptr @bcorr.t, align 8
%64 = load double, ptr @bcorr.c3, align 8
%65 = load double, ptr @bcorr.s7, align 8
%66 = fmul double %64, %65
%67 = call double @llvm.fmuladd.f64(double %62, double %63, double %66)
%68 = load double, ptr @bcorr.t, align 8
%69 = load double, ptr @bcorr.c2, align 8
%70 = load double, ptr @bcorr.s5, align 8
%71 = fmul double %69, %70
%72 = call double @llvm.fmuladd.f64(double %67, double %68, double %71)
%73 = load double, ptr @bcorr.t, align 8
%74 = load double, ptr @bcorr.c1, align 8
%75 = load double, ptr @bcorr.s3, align 8
%76 = fmul double %74, %75
%77 = call double @llvm.fmuladd.f64(double %72, double %73, double %76)
%78 = load double, ptr @bcorr.t, align 8
%79 = load double, ptr @bcorr.c0, align 8
%80 = call double @llvm.fmuladd.f64(double %77, double %78, double %79)
store double %80, ptr @bcorr.w, align 8
%81 = load double, ptr @bcorr.c, align 8
%82 = load double, ptr @bcorr.b, align 8
%83 = fdiv double %81, %82
%84 = load double, ptr @bcorr.w, align 8
%85 = fmul double %84, %83
store double %85, ptr @bcorr.w, align 8
%86 = load double, ptr @bcorr.a, align 8
%87 = fdiv double 1.000000e+00, %86
%88 = call double @pow(double noundef %87, double noundef 2.000000e+00) #4
store double %88, ptr @bcorr.t, align 8
%89 = load double, ptr @bcorr.c5, align 8
%90 = load double, ptr @bcorr.t, align 8
%91 = load double, ptr @bcorr.c4, align 8
%92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91)
%93 = load double, ptr @bcorr.t, align 8
%94 = load double, ptr @bcorr.c3, align 8
%95 = call double @llvm.fmuladd.f64(double %92, double %93, double %94)
%96 = load double, ptr @bcorr.t, align 8
%97 = load double, ptr @bcorr.c2, align 8
%98 = call double @llvm.fmuladd.f64(double %95, double %96, double %97)
%99 = load double, ptr @bcorr.t, align 8
%100 = load double, ptr @bcorr.c1, align 8
%101 = call double @llvm.fmuladd.f64(double %98, double %99, double %100)
%102 = load double, ptr @bcorr.t, align 8
%103 = load double, ptr @bcorr.c0, align 8
%104 = call double @llvm.fmuladd.f64(double %101, double %102, double %103)
%105 = load double, ptr @bcorr.a, align 8
%106 = fdiv double %104, %105
%107 = load double, ptr @bcorr.w, align 8
%108 = fadd double %106, %107
store double %108, ptr @bcorr.bcorr, align 8
%109 = load double, ptr @bcorr.bcorr, align 8
ret double %109
}
declare double @fifdmin1(double noundef, double noundef) #1
declare double @fifdmax1(double noundef, 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 @pow(double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpz7kft8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bcorr.c0 = internal global double 0x3FB5555555555553, align 8
@bcorr.c1 = internal global double 0xBF66C16C16BB8412, align 8
@bcorr.c2 = internal global double 0x3F4A019FD4488960, align 8
@bcorr.c3 = internal global double 0xBF4380EC8FF430DF, align 8
@bcorr.c4 = internal global double 0x3F4B6FD94FB94A6B, align 8
@bcorr.c5 = internal global double 0xBF5B1625CBCA1838, align 8
@bcorr.bcorr = internal global double 0.000000e+00, align 8
@bcorr.a = internal global double 0.000000e+00, align 8
@bcorr.b = internal global double 0.000000e+00, align 8
@bcorr.c = internal global double 0.000000e+00, align 8
@bcorr.h = internal global double 0.000000e+00, align 8
@bcorr.s11 = internal global double 0.000000e+00, align 8
@bcorr.s3 = internal global double 0.000000e+00, align 8
@bcorr.s5 = internal global double 0.000000e+00, align 8
@bcorr.s7 = internal global double 0.000000e+00, align 8
@bcorr.s9 = internal global double 0.000000e+00, align 8
@bcorr.t = internal global double 0.000000e+00, align 8
@bcorr.w = internal global double 0.000000e+00, align 8
@bcorr.x = internal global double 0.000000e+00, align 8
@bcorr.x2 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bcorr(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 double, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load double, ptr %7, align 8
%9 = call double @fifdmin1(double noundef %6, double noundef %8)
store double %9, ptr @bcorr.a, align 8
%10 = load ptr, ptr %3, align 8
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = load double, ptr %12, align 8
%14 = call double @fifdmax1(double noundef %11, double noundef %13)
store double %14, ptr @bcorr.b, align 8
%15 = load double, ptr @bcorr.a, align 8
%16 = load double, ptr @bcorr.b, align 8
%17 = fdiv double %15, %16
store double %17, ptr @bcorr.h, align 8
%18 = load double, ptr @bcorr.h, align 8
%19 = load double, ptr @bcorr.h, align 8
%20 = fadd double 1.000000e+00, %19
%21 = fdiv double %18, %20
store double %21, ptr @bcorr.c, align 8
%22 = load double, ptr @bcorr.h, align 8
%23 = fadd double 1.000000e+00, %22
%24 = fdiv double 1.000000e+00, %23
store double %24, ptr @bcorr.x, align 8
%25 = load double, ptr @bcorr.x, align 8
%26 = load double, ptr @bcorr.x, align 8
%27 = fmul double %25, %26
store double %27, ptr @bcorr.x2, align 8
%28 = load double, ptr @bcorr.x, align 8
%29 = load double, ptr @bcorr.x2, align 8
%30 = fadd double %28, %29
%31 = fadd double 1.000000e+00, %30
store double %31, ptr @bcorr.s3, align 8
%32 = load double, ptr @bcorr.x, align 8
%33 = load double, ptr @bcorr.x2, align 8
%34 = load double, ptr @bcorr.s3, align 8
%35 = call double @llvm.fmuladd.f64(double %33, double %34, double %32)
%36 = fadd double 1.000000e+00, %35
store double %36, ptr @bcorr.s5, align 8
%37 = load double, ptr @bcorr.x, align 8
%38 = load double, ptr @bcorr.x2, align 8
%39 = load double, ptr @bcorr.s5, align 8
%40 = call double @llvm.fmuladd.f64(double %38, double %39, double %37)
%41 = fadd double 1.000000e+00, %40
store double %41, ptr @bcorr.s7, align 8
%42 = load double, ptr @bcorr.x, align 8
%43 = load double, ptr @bcorr.x2, align 8
%44 = load double, ptr @bcorr.s7, align 8
%45 = call double @llvm.fmuladd.f64(double %43, double %44, double %42)
%46 = fadd double 1.000000e+00, %45
store double %46, ptr @bcorr.s9, align 8
%47 = load double, ptr @bcorr.x, align 8
%48 = load double, ptr @bcorr.x2, align 8
%49 = load double, ptr @bcorr.s9, align 8
%50 = call double @llvm.fmuladd.f64(double %48, double %49, double %47)
%51 = fadd double 1.000000e+00, %50
store double %51, ptr @bcorr.s11, align 8
%52 = load double, ptr @bcorr.b, align 8
%53 = fdiv double 1.000000e+00, %52
%54 = call double @pow(double noundef %53, double noundef 2.000000e+00) #4
store double %54, ptr @bcorr.t, align 8
%55 = load double, ptr @bcorr.c5, align 8
%56 = load double, ptr @bcorr.s11, align 8
%57 = fmul double %55, %56
%58 = load double, ptr @bcorr.t, align 8
%59 = load double, ptr @bcorr.c4, align 8
%60 = load double, ptr @bcorr.s9, align 8
%61 = fmul double %59, %60
%62 = call double @llvm.fmuladd.f64(double %57, double %58, double %61)
%63 = load double, ptr @bcorr.t, align 8
%64 = load double, ptr @bcorr.c3, align 8
%65 = load double, ptr @bcorr.s7, align 8
%66 = fmul double %64, %65
%67 = call double @llvm.fmuladd.f64(double %62, double %63, double %66)
%68 = load double, ptr @bcorr.t, align 8
%69 = load double, ptr @bcorr.c2, align 8
%70 = load double, ptr @bcorr.s5, align 8
%71 = fmul double %69, %70
%72 = call double @llvm.fmuladd.f64(double %67, double %68, double %71)
%73 = load double, ptr @bcorr.t, align 8
%74 = load double, ptr @bcorr.c1, align 8
%75 = load double, ptr @bcorr.s3, align 8
%76 = fmul double %74, %75
%77 = call double @llvm.fmuladd.f64(double %72, double %73, double %76)
%78 = load double, ptr @bcorr.t, align 8
%79 = load double, ptr @bcorr.c0, align 8
%80 = call double @llvm.fmuladd.f64(double %77, double %78, double %79)
store double %80, ptr @bcorr.w, align 8
%81 = load double, ptr @bcorr.c, align 8
%82 = load double, ptr @bcorr.b, align 8
%83 = fdiv double %81, %82
%84 = load double, ptr @bcorr.w, align 8
%85 = fmul double %84, %83
store double %85, ptr @bcorr.w, align 8
%86 = load double, ptr @bcorr.a, align 8
%87 = fdiv double 1.000000e+00, %86
%88 = call double @pow(double noundef %87, double noundef 2.000000e+00) #4
store double %88, ptr @bcorr.t, align 8
%89 = load double, ptr @bcorr.c5, align 8
%90 = load double, ptr @bcorr.t, align 8
%91 = load double, ptr @bcorr.c4, align 8
%92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91)
%93 = load double, ptr @bcorr.t, align 8
%94 = load double, ptr @bcorr.c3, align 8
%95 = call double @llvm.fmuladd.f64(double %92, double %93, double %94)
%96 = load double, ptr @bcorr.t, align 8
%97 = load double, ptr @bcorr.c2, align 8
%98 = call double @llvm.fmuladd.f64(double %95, double %96, double %97)
%99 = load double, ptr @bcorr.t, align 8
%100 = load double, ptr @bcorr.c1, align 8
%101 = call double @llvm.fmuladd.f64(double %98, double %99, double %100)
%102 = load double, ptr @bcorr.t, align 8
%103 = load double, ptr @bcorr.c0, align 8
%104 = call double @llvm.fmuladd.f64(double %101, double %102, double %103)
%105 = load double, ptr @bcorr.a, align 8
%106 = fdiv double %104, %105
%107 = load double, ptr @bcorr.w, align 8
%108 = fadd double %106, %107
store double %108, ptr @bcorr.bcorr, align 8
%109 = load double, ptr @bcorr.bcorr, align 8
ret double %109
}
declare double @fifdmin1(double noundef, double noundef) #1
declare double @fifdmax1(double noundef, 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 @pow(double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmm6mq5w.c'
source_filename = "/tmp/tmpvmm6mq5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2wcube_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load float, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %9, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %10, align 8
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %11, align 8
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %12, align 8
%24 = load float, ptr %23, align 4
%25 = call i32 @s2wcube(float noundef %14, float noundef %16, float noundef %18, float noundef %20, float noundef %22, float noundef %24)
ret void
}
declare i32 @s2wcube(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmm6mq5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2wcube_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load float, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %9, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %10, align 8
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %11, align 8
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %12, align 8
%24 = load float, ptr %23, align 4
%25 = call i32 @s2wcube(float noundef %14, float noundef %16, float noundef %18, float noundef %20, float noundef %22, float noundef %24)
ret void
}
declare i32 @s2wcube(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpthkzvzqp.c'
source_filename = "/tmp/tmpthkzvzqp.c"
target datalayout = "e-m:e-p270: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/tmpthkzvzqp.c"
target datalayout = "e-m:e-p270: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/tmpb3t3epw2.c'
source_filename = "/tmp/tmpb3t3epw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Short is the life of an LKM\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup_module() #0 {
%1 = call i32 @console_print(ptr noundef @.str)
ret void
}
declare i32 @console_print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3t3epw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Short is the life of an LKM\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup_module() #0 {
%1 = call i32 @console_print(ptr noundef @.str)
ret void
}
declare i32 @console_print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp590582uu.c'
source_filename = "/tmp/tmp590582uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_cgo_setenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @setenv(ptr noundef %5, ptr noundef %8, i32 noundef 1)
ret void
}
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp590582uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_cgo_setenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @setenv(ptr noundef %5, ptr noundef %8, i32 noundef 1)
ret void
}
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnu0eqn79.c'
source_filename = "/tmp/tmpnu0eqn79.c"
target datalayout = "e-m:e-p270: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/tmpnu0eqn79.c"
target datalayout = "e-m:e-p270: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/tmp3tihkczd.c'
source_filename = "/tmp/tmp3tihkczd.c"
target datalayout = "e-m:e-p270: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/tmp3tihkczd.c"
target datalayout = "e-m:e-p270: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/tmpszcx4vdc.c'
source_filename = "/tmp/tmpszcx4vdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"shmctl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @work_queue_destroy_data_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr @IPC_RMID, align 4
%6 = call i32 @shmctl(i32 noundef %4, i32 noundef %5, ptr noundef null)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %1
ret i32 0
}
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpszcx4vdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"shmctl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @work_queue_destroy_data_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr @IPC_RMID, align 4
%6 = call i32 @shmctl(i32 noundef %4, i32 noundef %5, ptr noundef null)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %1
ret i32 0
}
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkk8yinjz.c'
source_filename = "/tmp/tmpkk8yinjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rStrStr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = sub nsw i32 %14, %15
store i32 %16, ptr %6, align 4
br label %17
17: ; preds = %60, %2
%18 = load i32, ptr %6, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %20, label %63
20: ; preds = %17
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %50, %20
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %53
25: ; preds = %21
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %26, %27
%29 = load i32, ptr %8, align 4
%30 = icmp sge i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %25
br label %53
32: ; preds = %25
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %33, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %40, %46
br i1 %47, label %48, label %49
48: ; preds = %32
br label %53
49: ; preds = %32
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %21, !llvm.loop !6
53: ; preds = %48, %31, %21
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp eq i32 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = load i32, ptr %6, align 4
store i32 %58, ptr %3, align 4
br label %64
59: ; preds = %53
br label %60
60: ; preds = %59
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %6, align 4
br label %17, !llvm.loop !8
63: ; preds = %17
store i32 -1, ptr %3, align 4
br label %64
64: ; preds = %63, %57
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkk8yinjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rStrStr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = sub nsw i32 %14, %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 %.lr.ph1, label %66
.lr.ph1: ; preds = %2
br label %19
19: ; preds = %.lr.ph1, %61
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %48
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %24, %25
%27 = load i32, ptr %8, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %23
br label %54
30: ; preds = %23
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %31, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, 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 %38, %44
br i1 %45, label %46, label %47
46: ; preds = %30
br label %54
47: ; preds = %30
br label %48
48: ; preds = %47
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %9, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %23, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %54
54: ; preds = %.loopexit, %46, %29
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp eq i32 %55, %56
br i1 %57, label %58, label %60
58: ; preds = %54
%59 = load i32, ptr %6, align 4
store i32 %59, ptr %3, align 4
br label %67
60: ; preds = %54
br label %61
61: ; preds = %60
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %6, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp sge i32 %64, 0
br i1 %65, label %19, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %61
br label %66
66: ; preds = %._crit_edge, %2
store i32 -1, ptr %3, align 4
br label %67
67: ; preds = %66, %58
%68 = load i32, ptr %3, align 4
ret i32 %68
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8w9jy0xf.c'
source_filename = "/tmp/tmp8w9jy0xf.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"saving 0x%x chars at buffer pos 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ndb_write2buf_char_n(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%11 = call i32 (...) @ndb_getDebugLevel()
%12 = icmp sge i32 %11, 8
br i1 %12, label %13, label %19
13: ; preds = %4
%14 = load i32, ptr @stdout, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15, i32 noundef %17)
br label %19
19: ; preds = %13, %4
store i32 0, ptr %9, align 4
br label %20
20: ; preds = %57, %19
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %60
24: ; preds = %20
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%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 = %27
store i32 1, ptr %10, align 4
br label %36
36: ; preds = %35, %27
br label %37
37: ; preds = %36, %24
%38 = load i32, ptr %10, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %47
40: ; preds = %37
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %40
%49 = phi i32 [ %46, %40 ], [ 0, %47 ]
%50 = trunc i32 %49 to i8
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %52, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %52, align 4
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
store i8 %50, ptr %56, align 1
br label %57
57: ; preds = %48
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %20, !llvm.loop !6
60: ; preds = %20
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %61, align 4
ret i32 %62
}
declare i32 @ndb_getDebugLevel(...) #1
declare i32 @fprintf(i32 noundef, 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/tmp8w9jy0xf.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"saving 0x%x chars at buffer pos 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ndb_write2buf_char_n(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%11 = call i32 (...) @ndb_getDebugLevel()
%12 = icmp sge i32 %11, 8
br i1 %12, label %13, label %19
13: ; preds = %4
%14 = load i32, ptr @stdout, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15, i32 noundef %17)
br label %19
19: ; preds = %13, %4
store i32 0, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %62
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %56
%24 = load i32, ptr %10, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %36
26: ; preds = %23
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %26
store i32 1, ptr %10, align 4
br label %35
35: ; preds = %34, %26
br label %36
36: ; preds = %35, %23
%37 = load i32, ptr %10, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %46
39: ; preds = %36
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
br label %47
46: ; preds = %36
br label %47
47: ; preds = %46, %39
%48 = phi i32 [ %45, %39 ], [ 0, %46 ]
%49 = trunc i32 %48 to i8
%50 = load ptr, ptr %5, align 8
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %51, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
store i8 %49, ptr %55, align 1
br label %56
56: ; preds = %47
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %8, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %19
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %63, align 4
ret i32 %64
}
declare i32 @ndb_getDebugLevel(...) #1
declare i32 @fprintf(i32 noundef, 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/tmpyzarit81.c'
source_filename = "/tmp/tmpyzarit81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wpa(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %6, align 8
%7 = load i64, ptr %3, align 8
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
store i64 0, ptr %5, align 8
br label %10
10: ; preds = %19, %2
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %3, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %10
%15 = call signext i8 @gen_byte(i32 noundef 32, i32 noundef 126)
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
store i8 %15, ptr %18, align 1
br label %19
19: ; preds = %14
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %5, align 8
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i64, ptr %3, align 8
%27 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i64 noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = call i32 @free(ptr noundef %28)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare signext i8 @gen_byte(i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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/tmpyzarit81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wpa(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %6, align 8
%7 = load i64, ptr %3, align 8
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
store i64 0, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %18
%14 = call signext i8 @gen_byte(i32 noundef 32, i32 noundef 126)
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 %14, ptr %17, align 1
br label %18
18: ; preds = %13
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %5, align 8
%22 = load i64, ptr %3, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %3, align 8
%29 = call i32 @memcpy(ptr noundef %26, ptr noundef %27, i64 noundef %28)
%30 = load ptr, ptr %6, align 8
%31 = call i32 @free(ptr noundef %30)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare signext i8 @gen_byte(i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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/tmpp9_qxbgw.c'
source_filename = "/tmp/tmpp9_qxbgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"STOPPED\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"OBD responded \22STOPPED\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"UNABLE TO CONNECT\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"OBD responded \22UNABLE TO CONNECT\22, exiting.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @obd_get_bytes(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca [50 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i16, align 2
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%11 = load i64, ptr %4, align 8
%12 = mul i64 %11, 3
%13 = sub i64 %12, 1
%14 = add i64 6, %13
%15 = add i64 %14, 1
store i64 %15, ptr %9, align 8
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @obd_read(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = load i64, ptr %9, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %51
23: ; preds = %2
%24 = load i64, ptr %4, align 8
%25 = add i64 %24, 2
%26 = mul i64 8, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @malloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %8, align 8
%30 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%31 = call i64 @strtol(ptr noundef %30, ptr noundef %7, i32 noundef 16)
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i64, ptr %32, i64 0
store i64 %31, ptr %33, align 8
store i16 1, ptr %10, align 2
br label %34
34: ; preds = %47, %23
%35 = load i16, ptr %10, align 2
%36 = sext i16 %35 to i64
%37 = load i64, ptr %4, align 8
%38 = add i64 %37, 2
%39 = icmp ult i64 %36, %38
br i1 %39, label %40, label %50
40: ; preds = %34
%41 = load ptr, ptr %7, align 8
%42 = call i64 @strtol(ptr noundef %41, ptr noundef %7, i32 noundef 16)
%43 = load ptr, ptr %8, align 8
%44 = load i16, ptr %10, align 2
%45 = sext i16 %44 to i64
%46 = getelementptr inbounds i64, ptr %43, i64 %45
store i64 %42, ptr %46, align 8
br label %47
47: ; preds = %40
%48 = load i16, ptr %10, align 2
%49 = add i16 %48, 1
store i16 %49, ptr %10, align 2
br label %34, !llvm.loop !6
50: ; preds = %34
br label %70
51: ; preds = %2
%52 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%53 = call ptr @strstr(ptr noundef %52, ptr noundef @.str)
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = load i32, ptr @stderr, align 4
%57 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.1)
store ptr null, ptr %8, align 8
br label %69
58: ; preds = %51
%59 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%60 = call ptr @strstr(ptr noundef %59, ptr noundef @.str.2)
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %67
62: ; preds = %58
%63 = load i32, ptr @stderr, align 4
%64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.3)
%65 = load i32, ptr @EXIT_FAILURE, align 4
%66 = call i32 @exit(i32 noundef %65) #3
unreachable
67: ; preds = %58
store ptr null, ptr %8, align 8
br label %68
68: ; preds = %67
br label %69
69: ; preds = %68, %55
br label %70
70: ; preds = %69, %50
%71 = load ptr, ptr %8, align 8
ret ptr %71
}
declare i32 @obd_read(i32 noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp9_qxbgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"STOPPED\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"OBD responded \22STOPPED\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"UNABLE TO CONNECT\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"OBD responded \22UNABLE TO CONNECT\22, exiting.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @obd_get_bytes(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca [50 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i16, align 2
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%11 = load i64, ptr %4, align 8
%12 = mul i64 %11, 3
%13 = sub i64 %12, 1
%14 = add i64 6, %13
%15 = add i64 %14, 1
store i64 %15, ptr %9, align 8
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @obd_read(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = load i64, ptr %9, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %55
23: ; preds = %2
%24 = load i64, ptr %4, align 8
%25 = add i64 %24, 2
%26 = mul i64 8, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @malloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %8, align 8
%30 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%31 = call i64 @strtol(ptr noundef %30, ptr noundef %7, i32 noundef 16)
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i64, ptr %32, i64 0
store i64 %31, ptr %33, align 8
store i16 1, ptr %10, align 2
%34 = load i16, ptr %10, align 2
%35 = sext i16 %34 to i64
%36 = load i64, ptr %4, align 8
%37 = add i64 %36, 2
%38 = icmp ult i64 %35, %37
br i1 %38, label %.lr.ph, label %54
.lr.ph: ; preds = %23
br label %39
39: ; preds = %.lr.ph, %46
%40 = load ptr, ptr %7, align 8
%41 = call i64 @strtol(ptr noundef %40, ptr noundef %7, i32 noundef 16)
%42 = load ptr, ptr %8, align 8
%43 = load i16, ptr %10, align 2
%44 = sext i16 %43 to i64
%45 = getelementptr inbounds i64, ptr %42, i64 %44
store i64 %41, ptr %45, align 8
br label %46
46: ; preds = %39
%47 = load i16, ptr %10, align 2
%48 = add i16 %47, 1
store i16 %48, ptr %10, align 2
%49 = load i16, ptr %10, align 2
%50 = sext i16 %49 to i64
%51 = load i64, ptr %4, align 8
%52 = add i64 %51, 2
%53 = icmp ult i64 %50, %52
br i1 %53, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %54
54: ; preds = %._crit_edge, %23
br label %74
55: ; preds = %2
%56 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%57 = call ptr @strstr(ptr noundef %56, ptr noundef @.str)
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load i32, ptr @stderr, align 4
%61 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.1)
store ptr null, ptr %8, align 8
br label %73
62: ; preds = %55
%63 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%64 = call ptr @strstr(ptr noundef %63, ptr noundef @.str.2)
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %71
66: ; preds = %62
%67 = load i32, ptr @stderr, align 4
%68 = call i32 @fprintf(i32 noundef %67, ptr noundef @.str.3)
%69 = load i32, ptr @EXIT_FAILURE, align 4
%70 = call i32 @exit(i32 noundef %69) #3
unreachable
71: ; preds = %62
store ptr null, ptr %8, align 8
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72, %59
br label %74
74: ; preds = %73, %54
%75 = load ptr, ptr %8, align 8
ret ptr %75
}
declare i32 @obd_read(i32 noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2adi1utb.c'
source_filename = "/tmp/tmp2adi1utb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@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 [10 x i32], align 16
%8 = alloca [10 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40, i1 false)
%10 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%11 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = call i32 @fill_array(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%15 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%16 = call i32 @start_game(ptr noundef %14, ptr noundef %15, i32 noundef 10)
%17 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%18 = call i32 @print_in_binary(ptr noundef %17, i32 noundef 10)
%19 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %19
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @fill_array(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @start_game(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @print_in_binary(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2adi1utb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@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 [10 x i32], align 16
%8 = alloca [10 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40, i1 false)
%10 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%11 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = call i32 @fill_array(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%15 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%16 = call i32 @start_game(ptr noundef %14, ptr noundef %15, i32 noundef 10)
%17 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%18 = call i32 @print_in_binary(ptr noundef %17, i32 noundef 10)
%19 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %19
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @fill_array(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @start_game(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @print_in_binary(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp74vbhert.c'
source_filename = "/tmp/tmp74vbhert.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am %d years old.\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"I am %d inches tall.\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" \\\22 \\ \0A I \10 \E2\82\93 %X test test\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\E2\81\90\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"\\u%d %%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1000 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 72, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 10)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1000, i1 false)
store i32 0, ptr %5, align 4
store i32 2050, ptr %5, align 4
br label %12
12: ; preds = %22, %0
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 2080
br i1 %14, label %15, label %25
15: ; preds = %12
%16 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%17 = load i32, ptr %5, align 4
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str.4, i32 noundef %17)
%19 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%20 = load i32, ptr %5, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef %19, i32 noundef %20)
br label %22
22: ; preds = %15
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %12, !llvm.loop !6
25: ; preds = %12
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp74vbhert.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am %d years old.\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"I am %d inches tall.\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" \\\22 \\ \0A I \10 \E2\82\93 %X test test\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\E2\81\90\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"\\u%d %%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1000 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 72, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 10)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1000, i1 false)
store i32 0, ptr %5, align 4
store i32 2050, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 2080
br i1 %13, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %21
%15 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%16 = load i32, ptr %5, align 4
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str.4, i32 noundef %16)
%18 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%19 = load i32, ptr %5, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef %18, i32 noundef %19)
br label %21
21: ; preds = %14
%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, 2080
br i1 %25, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp64bcympa.c'
source_filename = "/tmp/tmp64bcympa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x > 0\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"x > 100\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"0 < x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_uint32_comparison() #0 {
%1 = alloca i32, align 4
store i32 -1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sgt i32 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = icmp sgt i32 %6, 100
%8 = zext i1 %7 to i32
%9 = call i32 @assertTrue(ptr noundef @.str.1, i32 noundef %8)
%10 = load i32, ptr %1, align 4
%11 = icmp slt i32 0, %10
%12 = zext i1 %11 to i32
%13 = call i32 @assertTrue(ptr noundef @.str.2, i32 noundef %12)
ret void
}
declare i32 @assertTrue(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/tmp64bcympa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x > 0\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"x > 100\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"0 < x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_uint32_comparison() #0 {
%1 = alloca i32, align 4
store i32 -1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sgt i32 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = icmp sgt i32 %6, 100
%8 = zext i1 %7 to i32
%9 = call i32 @assertTrue(ptr noundef @.str.1, i32 noundef %8)
%10 = load i32, ptr %1, align 4
%11 = icmp slt i32 0, %10
%12 = zext i1 %11 to i32
%13 = call i32 @assertTrue(ptr noundef @.str.2, i32 noundef %12)
ret void
}
declare i32 @assertTrue(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/tmp7fvp2_a1.c'
source_filename = "/tmp/tmp7fvp2_a1.c"
target datalayout = "e-m:e-p270: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/tmp7fvp2_a1.c"
target datalayout = "e-m:e-p270: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/tmpl4d0y3s4.c'
source_filename = "/tmp/tmpl4d0y3s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tribonacci(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %5, align 8
store i64 1, ptr %6, align 8
store i64 1, ptr %7, align 8
store i64 0, ptr %9, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp slt i64 %11, 3
br i1 %12, label %13, label %31
13: ; preds = %2
%14 = load i64, ptr %3, align 8
store i64 %14, ptr %10, align 8
br label %15
15: ; preds = %27, %13
%16 = load i64, ptr %10, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp sle i64 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i64, ptr %10, align 8
%21 = icmp slt i64 %20, 3
br label %22
22: ; preds = %19, %15
%23 = phi i1 [ false, %15 ], [ %21, %19 ]
br i1 %23, label %24, label %30
24: ; preds = %22
%25 = load i64, ptr %9, align 8
%26 = add nsw i64 %25, 1
store i64 %26, ptr %9, align 8
br label %27
27: ; preds = %24
%28 = load i64, ptr %10, align 8
%29 = add nsw i64 %28, 1
store i64 %29, ptr %10, align 8
br label %15, !llvm.loop !6
30: ; preds = %22
br label %31
31: ; preds = %30, %2
store i64 3, ptr %10, align 8
br label %32
32: ; preds = %55, %31
%33 = load i64, ptr %10, align 8
%34 = load i64, ptr %4, align 8
%35 = icmp sle i64 %33, %34
br i1 %35, label %36, label %58
36: ; preds = %32
%37 = load i64, ptr %5, align 8
store i64 %37, ptr %8, align 8
%38 = load i64, ptr %6, align 8
store i64 %38, ptr %5, align 8
%39 = load i64, ptr %7, align 8
store i64 %39, ptr %6, align 8
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %5, align 8
%42 = add nsw i64 %40, %41
%43 = load i64, ptr %6, align 8
%44 = add nsw i64 %42, %43
%45 = srem i64 %44, 1000000007
store i64 %45, ptr %7, align 8
%46 = load i64, ptr %10, align 8
%47 = load i64, ptr %3, align 8
%48 = icmp sge i64 %46, %47
br i1 %48, label %49, label %54
49: ; preds = %36
%50 = load i64, ptr %9, align 8
%51 = load i64, ptr %7, align 8
%52 = add nsw i64 %50, %51
%53 = srem i64 %52, 1000000007
store i64 %53, ptr %9, align 8
br label %54
54: ; preds = %49, %36
br label %55
55: ; preds = %54
%56 = load i64, ptr %10, align 8
%57 = add nsw i64 %56, 1
store i64 %57, ptr %10, align 8
br label %32, !llvm.loop !8
58: ; preds = %32
%59 = load i64, ptr %9, align 8
%60 = call i32 @printf(ptr noundef @.str, i64 noundef %59)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl4d0y3s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tribonacci(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %5, align 8
store i64 1, ptr %6, align 8
store i64 1, ptr %7, align 8
store i64 0, ptr %9, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp slt i64 %11, 3
br i1 %12, label %13, label %31
13: ; preds = %2
%14 = load i64, ptr %3, align 8
store i64 %14, ptr %10, align 8
br label %15
15: ; preds = %27, %13
%16 = load i64, ptr %10, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp sle i64 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i64, ptr %10, align 8
%21 = icmp slt i64 %20, 3
br label %22
22: ; preds = %19, %15
%23 = phi i1 [ false, %15 ], [ %21, %19 ]
br i1 %23, label %24, label %30
24: ; preds = %22
%25 = load i64, ptr %9, align 8
%26 = add nsw i64 %25, 1
store i64 %26, ptr %9, align 8
br label %27
27: ; preds = %24
%28 = load i64, ptr %10, align 8
%29 = add nsw i64 %28, 1
store i64 %29, ptr %10, align 8
br label %15, !llvm.loop !6
30: ; preds = %22
br label %31
31: ; preds = %30, %2
store i64 3, ptr %10, align 8
%32 = load i64, ptr %10, align 8
%33 = load i64, ptr %4, align 8
%34 = icmp sle i64 %32, %33
br i1 %34, label %.lr.ph, label %60
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %54
%36 = load i64, ptr %5, align 8
store i64 %36, ptr %8, align 8
%37 = load i64, ptr %6, align 8
store i64 %37, ptr %5, align 8
%38 = load i64, ptr %7, align 8
store i64 %38, ptr %6, align 8
%39 = load i64, ptr %8, align 8
%40 = load i64, ptr %5, align 8
%41 = add nsw i64 %39, %40
%42 = load i64, ptr %6, align 8
%43 = add nsw i64 %41, %42
%44 = srem i64 %43, 1000000007
store i64 %44, ptr %7, align 8
%45 = load i64, ptr %10, align 8
%46 = load i64, ptr %3, align 8
%47 = icmp sge i64 %45, %46
br i1 %47, label %48, label %53
48: ; preds = %35
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %7, align 8
%51 = add nsw i64 %49, %50
%52 = srem i64 %51, 1000000007
store i64 %52, ptr %9, align 8
br label %53
53: ; preds = %48, %35
br label %54
54: ; preds = %53
%55 = load i64, ptr %10, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %10, align 8
%57 = load i64, ptr %10, align 8
%58 = load i64, ptr %4, align 8
%59 = icmp sle i64 %57, %58
br i1 %59, label %35, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %31
%61 = load i64, ptr %9, align 8
%62 = call i32 @printf(ptr noundef @.str, i64 noundef %61)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8h17j_ky.c'
source_filename = "/tmp/tmp8h17j_ky.c"
target datalayout = "e-m:e-p270: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/tmp8h17j_ky.c"
target datalayout = "e-m:e-p270: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/tmpviiey0td.c'
source_filename = "/tmp/tmpviiey0td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumProd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 1.000000e+00, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %22, %1
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %25
10: ; preds = %6
%11 = load float, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = sitofp i32 %12 to float
%14 = fmul float %11, %13
store float %14, ptr %4, align 4
%15 = load float, ptr %3, align 4
%16 = load i32, ptr %5, align 4
%17 = sitofp i32 %16 to float
%18 = fadd float %15, %17
store float %18, ptr %3, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = call i32 @foo(float noundef %19, float noundef %20)
br label %22
22: ; preds = %10
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %6, !llvm.loop !6
25: ; preds = %6
ret void
}
declare i32 @foo(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpviiey0td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumProd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 1.000000e+00, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %21
%10 = load float, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = sitofp i32 %11 to float
%13 = fmul float %10, %12
store float %13, ptr %4, align 4
%14 = load float, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = sitofp i32 %15 to float
%17 = fadd float %14, %16
store float %17, ptr %3, align 4
%18 = load float, ptr %3, align 4
%19 = load float, ptr %4, align 4
%20 = call i32 @foo(float noundef %18, float noundef %19)
br label %21
21: ; preds = %9
%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 = load i32, ptr %2, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
ret void
}
declare i32 @foo(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnax8lc9y.c'
source_filename = "/tmp/tmpnax8lc9y.c"
target datalayout = "e-m:e-p270: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/tmpnax8lc9y.c"
target datalayout = "e-m:e-p270: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/tmpgf_3eew2.c'
source_filename = "/tmp/tmpgf_3eew2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgf_3eew2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvm4lckmr.c'
source_filename = "/tmp/tmpvm4lckmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @in_mandel(i32 noundef 1, i32 noundef 2, i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @in_mandel(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/tmpvm4lckmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @in_mandel(i32 noundef 1, i32 noundef 2, i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @in_mandel(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/tmpk2k0h00z.c'
source_filename = "/tmp/tmpk2k0h00z.c"
target datalayout = "e-m:e-p270: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/tmpk2k0h00z.c"
target datalayout = "e-m:e-p270: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/tmpd9v1gjwv.c'
source_filename = "/tmp/tmpd9v1gjwv.c"
target datalayout = "e-m:e-p270: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/tmpd9v1gjwv.c"
target datalayout = "e-m:e-p270: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/tmput5xnww_.c'
source_filename = "/tmp/tmput5xnww_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComparatorIntEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = shl i32 1, %5
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 8
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = or i32 %11, %6
store volatile i32 %12, ptr %10, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmput5xnww_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComparatorIntEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = shl i32 1, %5
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 8
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = or i32 %11, %6
store volatile i32 %12, ptr %10, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk7lm5p6n.c'
source_filename = "/tmp/tmpk7lm5p6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"val = %d, rev_val = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isPalindrome(i32 noundef %0) #0 {
%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 %3, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %54
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 0, %14
store i32 %15, ptr %4, align 4
store i32 1, ptr %6, align 4
br label %18
16: ; preds = %10
%17 = load i32, ptr %3, align 4
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %4, align 4
%20 = call i32 @reverse(i32 noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22)
br label %24
24: ; preds = %37, %18
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %27, %24
%31 = phi i1 [ false, %24 ], [ %29, %27 ]
br i1 %31, label %32, label %42
32: ; preds = %30
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 0, ptr %2, align 4
br label %54
37: ; preds = %32
%38 = load i32, ptr %4, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = sdiv i32 %40, 10
store i32 %41, ptr %5, align 4
br label %24, !llvm.loop !6
42: ; preds = %30
%43 = load i32, ptr %4, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %48, label %45
45: ; preds = %42
%46 = load i32, ptr %5, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %45, %42
store i32 0, ptr %2, align 4
br label %54
49: ; preds = %45
%50 = load i32, ptr %6, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 0, ptr %2, align 4
br label %54
53: ; preds = %49
store i32 1, ptr %2, align 4
br label %54
54: ; preds = %53, %52, %48, %36, %9
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i32 @reverse(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpk7lm5p6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"val = %d, rev_val = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isPalindrome(i32 noundef %0) #0 {
%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 %3, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %54
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 0, %14
store i32 %15, ptr %4, align 4
store i32 1, ptr %6, align 4
br label %18
16: ; preds = %10
%17 = load i32, ptr %3, align 4
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %4, align 4
%20 = call i32 @reverse(i32 noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22)
br label %24
24: ; preds = %37, %18
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %27, %24
%31 = phi i1 [ false, %24 ], [ %29, %27 ]
br i1 %31, label %32, label %42
32: ; preds = %30
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 0, ptr %2, align 4
br label %54
37: ; preds = %32
%38 = load i32, ptr %4, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = sdiv i32 %40, 10
store i32 %41, ptr %5, align 4
br label %24, !llvm.loop !6
42: ; preds = %30
%43 = load i32, ptr %4, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %48, label %45
45: ; preds = %42
%46 = load i32, ptr %5, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %45, %42
store i32 0, ptr %2, align 4
br label %54
49: ; preds = %45
%50 = load i32, ptr %6, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 0, ptr %2, align 4
br label %54
53: ; preds = %49
store i32 1, ptr %2, align 4
br label %54
54: ; preds = %53, %52, %48, %36, %9
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i32 @reverse(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgex1_4gg.c'
source_filename = "/tmp/tmpgex1_4gg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrt_int32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %23, %1
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %26
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = mul nsw i32 %14, %15
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %19, %10
%24 = load i32, ptr %3, align 4
%25 = ashr i32 %24, 1
store i32 %25, ptr %3, align 4
br label %7, !llvm.loop !6
26: ; preds = %7
%27 = load i32, ptr %4, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgex1_4gg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrt_int32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %10, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %13, %14
%16 = load i32, ptr %2, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %9
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, %19
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %18, %9
%23 = load i32, ptr %3, align 4
%24 = ashr i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %4, align 4
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfj9v8os7.c'
source_filename = "/tmp/tmpfj9v8os7.c"
target datalayout = "e-m:e-p270: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/tmpfj9v8os7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.