llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpc4q0ckdv.c'
source_filename = "/tmp/tmpc4q0ckdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC16F1788_periferic() #0 {
%1 = call i32 (...) @p16e_mssp()
%2 = call i32 (...) @p16e_adc()
%3 = call i32 (...) @p16e_int_pin()
%4 = call i32 (...) @p16e_int_ports()
%5 = call i32 (...) @p16e_tmr0()
%6 = call i32 (...) @p16e_wdt_2()
%7 = call i32 (...) @p16e_eeprom()
%8 = call i32 (...) @p16e_tmr1()
%9 = call i32 (...) @p16e_tmr2()
%10 = call i32 @serial(i32 noundef 0)
ret void
}
declare i32 @p16e_mssp(...) #1
declare i32 @p16e_adc(...) #1
declare i32 @p16e_int_pin(...) #1
declare i32 @p16e_int_ports(...) #1
declare i32 @p16e_tmr0(...) #1
declare i32 @p16e_wdt_2(...) #1
declare i32 @p16e_eeprom(...) #1
declare i32 @p16e_tmr1(...) #1
declare i32 @p16e_tmr2(...) #1
declare i32 @serial(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/tmpc4q0ckdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC16F1788_periferic() #0 {
%1 = call i32 (...) @p16e_mssp()
%2 = call i32 (...) @p16e_adc()
%3 = call i32 (...) @p16e_int_pin()
%4 = call i32 (...) @p16e_int_ports()
%5 = call i32 (...) @p16e_tmr0()
%6 = call i32 (...) @p16e_wdt_2()
%7 = call i32 (...) @p16e_eeprom()
%8 = call i32 (...) @p16e_tmr1()
%9 = call i32 (...) @p16e_tmr2()
%10 = call i32 @serial(i32 noundef 0)
ret void
}
declare i32 @p16e_mssp(...) #1
declare i32 @p16e_adc(...) #1
declare i32 @p16e_int_pin(...) #1
declare i32 @p16e_int_ports(...) #1
declare i32 @p16e_tmr0(...) #1
declare i32 @p16e_wdt_2(...) #1
declare i32 @p16e_eeprom(...) #1
declare i32 @p16e_tmr1(...) #1
declare i32 @p16e_tmr2(...) #1
declare i32 @serial(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/tmp9mhherdg.c'
source_filename = "/tmp/tmp9mhherdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @computarOperacao(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %7, align 8
br label %10
10: ; preds = %38, %2
%11 = load i64, ptr %7, align 8
%12 = icmp ult i64 %11, 6
br i1 %12, label %13, label %41
13: ; preds = %10
%14 = load i64, ptr %7, align 8
%15 = add i64 %14, 1
store i64 %15, ptr %8, align 8
br label %16
16: ; preds = %34, %13
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub i64 11, %18
%20 = icmp ult i64 %17, %19
br i1 %20, label %21, label %37
21: ; preds = %16
%22 = load ptr, ptr %5, align 8
%23 = load i64, ptr %7, align 8
%24 = sub i64 12, %23
%25 = sub i64 %24, 1
%26 = getelementptr inbounds [12 x double], ptr %22, i64 %25
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds [12 x double], ptr %26, i64 0, i64 %27
%29 = load double, ptr %28, align 8
%30 = load double, ptr %6, align 8
%31 = fadd double %30, %29
store double %31, ptr %6, align 8
%32 = load i64, ptr %9, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %9, align 8
br label %34
34: ; preds = %21
%35 = load i64, ptr %8, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %8, align 8
br label %16, !llvm.loop !6
37: ; preds = %16
br label %38
38: ; preds = %37
%39 = load i64, ptr %7, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %7, align 8
br label %10, !llvm.loop !8
41: ; preds = %10
%42 = load i8, ptr %4, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 83
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load double, ptr %6, align 8
store double %46, ptr %3, align 8
br label %52
47: ; preds = %41
%48 = load double, ptr %6, align 8
%49 = load i64, ptr %9, align 8
%50 = uitofp i64 %49 to double
%51 = fdiv double %48, %50
store double %51, ptr %3, align 8
br label %52
52: ; preds = %47, %45
%53 = load double, ptr %3, align 8
ret double %53
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp9mhherdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @computarOperacao(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = icmp ult i64 %10, 6
br i1 %11, label %.lr.ph2, label %45
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %40
%13 = load i64, ptr %7, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %8, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %7, align 8
%17 = sub i64 11, %16
%18 = icmp ult i64 %15, %17
br i1 %18, label %.lr.ph, label %39
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %32
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %7, align 8
%22 = sub i64 12, %21
%23 = sub i64 %22, 1
%24 = getelementptr inbounds [12 x double], ptr %20, i64 %23
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds [12 x double], ptr %24, i64 0, i64 %25
%27 = load double, ptr %26, align 8
%28 = load double, ptr %6, align 8
%29 = fadd double %28, %27
store double %29, ptr %6, align 8
%30 = load i64, ptr %9, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %9, align 8
br label %32
32: ; preds = %19
%33 = load i64, ptr %8, align 8
%34 = add i64 %33, 1
store i64 %34, ptr %8, align 8
%35 = load i64, ptr %8, align 8
%36 = load i64, ptr %7, align 8
%37 = sub i64 11, %36
%38 = icmp ult i64 %35, %37
br i1 %38, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %39
39: ; preds = %._crit_edge, %12
br label %40
40: ; preds = %39
%41 = load i64, ptr %7, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %7, align 8
%43 = load i64, ptr %7, align 8
%44 = icmp ult i64 %43, 6
br i1 %44, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %2
%46 = load i8, ptr %4, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 83
br i1 %48, label %49, label %51
49: ; preds = %45
%50 = load double, ptr %6, align 8
store double %50, ptr %3, align 8
br label %56
51: ; preds = %45
%52 = load double, ptr %6, align 8
%53 = load i64, ptr %9, align 8
%54 = uitofp i64 %53 to double
%55 = fdiv double %52, %54
store double %55, ptr %3, align 8
br label %56
56: ; preds = %51, %49
%57 = load double, ptr %3, align 8
ret double %57
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp9614shie.c'
source_filename = "/tmp/tmp9614shie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The value of p is: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nine() #0 {
%1 = alloca float, align 4
%2 = alloca ptr, align 8
store float 1.250000e+01, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load float, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, float noundef %4)
ret void
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9614shie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The value of p is: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nine() #0 {
%1 = alloca float, align 4
%2 = alloca ptr, align 8
store float 1.250000e+01, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load float, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, float noundef %4)
ret void
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3zb433bt.c'
source_filename = "/tmp/tmp3zb433bt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quatf_slerp_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca [4 x float], align 16
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca [4 x float], align 16
%16 = alloca [4 x float], align 16
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca [4 x float], align 16
%20 = alloca [4 x float], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store float %3, ptr %8, align 4
%21 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call i32 @vec4f_copy(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = call float @vec4f_dot(ptr noundef %24, ptr noundef %25)
store float %26, ptr %10, align 4
%27 = load float, ptr %10, align 4
%28 = fcmp olt float %27, 0.000000e+00
br i1 %28, label %29, label %34
29: ; preds = %4
%30 = load float, ptr %10, align 4
%31 = fneg float %30
store float %31, ptr %10, align 4
%32 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%33 = call i32 @vec4f_scalarMult(ptr noundef %32, i32 noundef -1)
br label %34
34: ; preds = %29, %4
%35 = load float, ptr %10, align 4
%36 = fadd float 1.000000e+00, %35
%37 = fpext float %36 to double
%38 = fcmp ogt double %37, 1.000000e-10
br i1 %38, label %39, label %85
39: ; preds = %34
%40 = load float, ptr %10, align 4
%41 = fsub float 1.000000e+00, %40
%42 = fpext float %41 to double
%43 = fcmp ogt double %42, 1.000000e-10
br i1 %43, label %44, label %66
44: ; preds = %39
%45 = load float, ptr %10, align 4
%46 = call float @acosf(float noundef %45) #3
store float %46, ptr %13, align 4
%47 = load float, ptr %13, align 4
%48 = call float @sinf(float noundef %47) #3
store float %48, ptr %14, align 4
%49 = load float, ptr %8, align 4
%50 = fpext float %49 to double
%51 = fsub double 1.000000e+00, %50
%52 = load float, ptr %13, align 4
%53 = fpext float %52 to double
%54 = fmul double %51, %53
%55 = load float, ptr %14, align 4
%56 = fpext float %55 to double
%57 = fdiv double %54, %56
%58 = fptrunc double %57 to float
%59 = call float @sinf(float noundef %58) #3
store float %59, ptr %11, align 4
%60 = load float, ptr %8, align 4
%61 = load float, ptr %13, align 4
%62 = fmul float %60, %61
%63 = call float @sinf(float noundef %62) #3
%64 = load float, ptr %14, align 4
%65 = fdiv float %63, %64
store float %65, ptr %12, align 4
br label %72
66: ; preds = %39
%67 = load float, ptr %8, align 4
%68 = fpext float %67 to double
%69 = fsub double 1.000000e+00, %68
%70 = fptrunc double %69 to float
store float %70, ptr %11, align 4
%71 = load float, ptr %8, align 4
store float %71, ptr %12, align 4
br label %72
72: ; preds = %66, %44
%73 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 0
%74 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%75 = load float, ptr %11, align 4
%76 = call i32 @vec4f_scalarMult_new(ptr noundef %73, ptr noundef %74, float noundef %75)
%77 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 0
%78 = load ptr, ptr %7, align 8
%79 = load float, ptr %12, align 4
%80 = call i32 @vec4f_scalarMult_new(ptr noundef %77, ptr noundef %78, float noundef %79)
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 0
%83 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 0
%84 = call i32 @vec4f_add_new(ptr noundef %81, ptr noundef %82, ptr noundef %83)
br label %123
85: ; preds = %34
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 1
%88 = load float, ptr %87, align 4
%89 = fneg float %88
%90 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%91 = load float, ptr %90, align 16
%92 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 3
%93 = load float, ptr %92, align 4
%94 = fneg float %93
%95 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 2
%96 = load float, ptr %95, align 8
%97 = call i32 @vec4f_set(ptr noundef %86, float noundef %89, float noundef %91, float noundef %94, float noundef %96)
%98 = load float, ptr %8, align 4
%99 = fpext float %98 to double
%100 = fsub double 5.000000e-01, %99
%101 = load double, ptr @M_PI, align 8
%102 = fmul double %100, %101
%103 = fptrunc double %102 to float
%104 = call float @sin(float noundef %103)
store float %104, ptr %17, align 4
%105 = load float, ptr %8, align 4
%106 = fpext float %105 to double
%107 = load double, ptr @M_PI, align 8
%108 = fmul double %106, %107
%109 = fptrunc double %108 to float
%110 = call float @sin(float noundef %109)
store float %110, ptr %18, align 4
%111 = getelementptr inbounds [4 x float], ptr %19, i64 0, i64 0
%112 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%113 = load float, ptr %17, align 4
%114 = call i32 @vec4f_scalarMult_new(ptr noundef %111, ptr noundef %112, float noundef %113)
%115 = getelementptr inbounds [4 x float], ptr %20, i64 0, i64 0
%116 = load ptr, ptr %5, align 8
%117 = load float, ptr %18, align 4
%118 = call i32 @vec4f_scalarMult_new(ptr noundef %115, ptr noundef %116, float noundef %117)
%119 = load ptr, ptr %5, align 8
%120 = getelementptr inbounds [4 x float], ptr %19, i64 0, i64 0
%121 = getelementptr inbounds [4 x float], ptr %20, i64 0, i64 0
%122 = call i32 @vec4f_add_new(ptr noundef %119, ptr noundef %120, ptr noundef %121)
br label %123
123: ; preds = %85, %72
ret void
}
declare i32 @vec4f_copy(ptr noundef, ptr noundef) #1
declare float @vec4f_dot(ptr noundef, ptr noundef) #1
declare i32 @vec4f_scalarMult(ptr noundef, i32 noundef) #1
; Function Attrs: nounwind
declare float @acosf(float noundef) #2
; Function Attrs: nounwind
declare float @sinf(float noundef) #2
declare i32 @vec4f_scalarMult_new(ptr noundef, ptr noundef, float noundef) #1
declare i32 @vec4f_add_new(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @vec4f_set(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1
declare float @sin(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" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zb433bt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quatf_slerp_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca [4 x float], align 16
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca [4 x float], align 16
%16 = alloca [4 x float], align 16
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca [4 x float], align 16
%20 = alloca [4 x float], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store float %3, ptr %8, align 4
%21 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call i32 @vec4f_copy(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = call float @vec4f_dot(ptr noundef %24, ptr noundef %25)
store float %26, ptr %10, align 4
%27 = load float, ptr %10, align 4
%28 = fcmp olt float %27, 0.000000e+00
br i1 %28, label %29, label %34
29: ; preds = %4
%30 = load float, ptr %10, align 4
%31 = fneg float %30
store float %31, ptr %10, align 4
%32 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%33 = call i32 @vec4f_scalarMult(ptr noundef %32, i32 noundef -1)
br label %34
34: ; preds = %29, %4
%35 = load float, ptr %10, align 4
%36 = fadd float 1.000000e+00, %35
%37 = fpext float %36 to double
%38 = fcmp ogt double %37, 1.000000e-10
br i1 %38, label %39, label %85
39: ; preds = %34
%40 = load float, ptr %10, align 4
%41 = fsub float 1.000000e+00, %40
%42 = fpext float %41 to double
%43 = fcmp ogt double %42, 1.000000e-10
br i1 %43, label %44, label %66
44: ; preds = %39
%45 = load float, ptr %10, align 4
%46 = call float @acosf(float noundef %45) #3
store float %46, ptr %13, align 4
%47 = load float, ptr %13, align 4
%48 = call float @sinf(float noundef %47) #3
store float %48, ptr %14, align 4
%49 = load float, ptr %8, align 4
%50 = fpext float %49 to double
%51 = fsub double 1.000000e+00, %50
%52 = load float, ptr %13, align 4
%53 = fpext float %52 to double
%54 = fmul double %51, %53
%55 = load float, ptr %14, align 4
%56 = fpext float %55 to double
%57 = fdiv double %54, %56
%58 = fptrunc double %57 to float
%59 = call float @sinf(float noundef %58) #3
store float %59, ptr %11, align 4
%60 = load float, ptr %8, align 4
%61 = load float, ptr %13, align 4
%62 = fmul float %60, %61
%63 = call float @sinf(float noundef %62) #3
%64 = load float, ptr %14, align 4
%65 = fdiv float %63, %64
store float %65, ptr %12, align 4
br label %72
66: ; preds = %39
%67 = load float, ptr %8, align 4
%68 = fpext float %67 to double
%69 = fsub double 1.000000e+00, %68
%70 = fptrunc double %69 to float
store float %70, ptr %11, align 4
%71 = load float, ptr %8, align 4
store float %71, ptr %12, align 4
br label %72
72: ; preds = %66, %44
%73 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 0
%74 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%75 = load float, ptr %11, align 4
%76 = call i32 @vec4f_scalarMult_new(ptr noundef %73, ptr noundef %74, float noundef %75)
%77 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 0
%78 = load ptr, ptr %7, align 8
%79 = load float, ptr %12, align 4
%80 = call i32 @vec4f_scalarMult_new(ptr noundef %77, ptr noundef %78, float noundef %79)
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 0
%83 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 0
%84 = call i32 @vec4f_add_new(ptr noundef %81, ptr noundef %82, ptr noundef %83)
br label %123
85: ; preds = %34
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 1
%88 = load float, ptr %87, align 4
%89 = fneg float %88
%90 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%91 = load float, ptr %90, align 16
%92 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 3
%93 = load float, ptr %92, align 4
%94 = fneg float %93
%95 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 2
%96 = load float, ptr %95, align 8
%97 = call i32 @vec4f_set(ptr noundef %86, float noundef %89, float noundef %91, float noundef %94, float noundef %96)
%98 = load float, ptr %8, align 4
%99 = fpext float %98 to double
%100 = fsub double 5.000000e-01, %99
%101 = load double, ptr @M_PI, align 8
%102 = fmul double %100, %101
%103 = fptrunc double %102 to float
%104 = call float @sin(float noundef %103)
store float %104, ptr %17, align 4
%105 = load float, ptr %8, align 4
%106 = fpext float %105 to double
%107 = load double, ptr @M_PI, align 8
%108 = fmul double %106, %107
%109 = fptrunc double %108 to float
%110 = call float @sin(float noundef %109)
store float %110, ptr %18, align 4
%111 = getelementptr inbounds [4 x float], ptr %19, i64 0, i64 0
%112 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
%113 = load float, ptr %17, align 4
%114 = call i32 @vec4f_scalarMult_new(ptr noundef %111, ptr noundef %112, float noundef %113)
%115 = getelementptr inbounds [4 x float], ptr %20, i64 0, i64 0
%116 = load ptr, ptr %5, align 8
%117 = load float, ptr %18, align 4
%118 = call i32 @vec4f_scalarMult_new(ptr noundef %115, ptr noundef %116, float noundef %117)
%119 = load ptr, ptr %5, align 8
%120 = getelementptr inbounds [4 x float], ptr %19, i64 0, i64 0
%121 = getelementptr inbounds [4 x float], ptr %20, i64 0, i64 0
%122 = call i32 @vec4f_add_new(ptr noundef %119, ptr noundef %120, ptr noundef %121)
br label %123
123: ; preds = %85, %72
ret void
}
declare i32 @vec4f_copy(ptr noundef, ptr noundef) #1
declare float @vec4f_dot(ptr noundef, ptr noundef) #1
declare i32 @vec4f_scalarMult(ptr noundef, i32 noundef) #1
; Function Attrs: nounwind
declare float @acosf(float noundef) #2
; Function Attrs: nounwind
declare float @sinf(float noundef) #2
declare i32 @vec4f_scalarMult_new(ptr noundef, ptr noundef, float noundef) #1
declare i32 @vec4f_add_new(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @vec4f_set(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1
declare float @sin(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" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeo2z25ri.c'
source_filename = "/tmp/tmpeo2z25ri.c"
target datalayout = "e-m:e-p270: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/tmpeo2z25ri.c"
target datalayout = "e-m:e-p270: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/tmpgqz84szr.c'
source_filename = "/tmp/tmpgqz84szr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Error: Expected non-empty expression\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isempty(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %11, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqz84szr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Error: Expected non-empty expression\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isempty(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %11, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb6j631oe.c'
source_filename = "/tmp/tmpb6j631oe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Test OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x ptr], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %17, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 100
br i1 %6, label %7, label %20
7: ; preds = %4
%8 = call ptr @tlsf_malloc(i32 noundef 1024)
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 %10
store ptr %8, ptr %11, align 8
%12 = icmp ne ptr %8, null
br i1 %12, label %16, label %13
13: ; preds = %7
%14 = call i32 @printf(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %7
br label %17
17: ; preds = %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %30, %20
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 100
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 @tlsf_free(ptr noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %21, !llvm.loop !8
33: ; preds = %21
%34 = call i32 @printf(ptr noundef @.str.1)
%35 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @tlsf_malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @tlsf_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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb6j631oe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Test OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x ptr], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 100
br i1 %5, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %16
%7 = call ptr @tlsf_malloc(i32 noundef 1024)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 %9
store ptr %7, ptr %10, align 8
%11 = icmp ne ptr %7, null
br i1 %11, label %15, label %12
12: ; preds = %6
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
15: ; preds = %6
br label %16
16: ; preds = %15
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 100
br i1 %20, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 100
br i1 %23, label %.lr.ph2, label %35
.lr.ph2: ; preds = %21
br label %24
24: ; preds = %.lr.ph2, %30
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 @tlsf_free(ptr noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 100
br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %21
%36 = call i32 @printf(ptr noundef @.str.1)
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @tlsf_malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @tlsf_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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpop0jsjdv.c'
source_filename = "/tmp/tmpop0jsjdv.c"
target datalayout = "e-m:e-p270: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/tmpop0jsjdv.c"
target datalayout = "e-m:e-p270: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/tmphykd0a89.c'
source_filename = "/tmp/tmphykd0a89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"1234567890\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"3456\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"34567890\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"expect [rel], but got [\2234567890\22]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tc_002() #0 {
%1 = alloca ptr, align 8
%2 = call i32 @strlen(ptr noundef @.str)
%3 = call i32 @strlen(ptr noundef @.str.1)
%4 = call ptr @KMP(ptr noundef @.str, i32 noundef %2, ptr noundef @.str.1, i32 noundef %3)
store ptr %4, ptr %1, align 8
br label %5
5: ; preds = %0
%6 = load ptr, ptr %1, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.2)
%8 = icmp eq i64 0, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, ptr null, ptr @.str.3
br label %11
11: ; preds = %5
ret ptr %10
}
declare ptr @KMP(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphykd0a89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"1234567890\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"3456\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"34567890\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"expect [rel], but got [\2234567890\22]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tc_002() #0 {
%1 = alloca ptr, align 8
%2 = call i32 @strlen(ptr noundef @.str)
%3 = call i32 @strlen(ptr noundef @.str.1)
%4 = call ptr @KMP(ptr noundef @.str, i32 noundef %2, ptr noundef @.str.1, i32 noundef %3)
store ptr %4, ptr %1, align 8
br label %5
5: ; preds = %0
%6 = load ptr, ptr %1, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.2)
%8 = icmp eq i64 0, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, ptr null, ptr @.str.3
br label %11
11: ; preds = %5
ret ptr %10
}
declare ptr @KMP(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqgovmlmz.c'
source_filename = "/tmp/tmpqgovmlmz.c"
target datalayout = "e-m:e-p270: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.update_blocka = type { [20 x i8], [200 x i8], [50 x i8] }
@.str = private unnamed_addr constant [87 x i8] c"Dette programet tar inn en linkdb fil og lager Brank\0A\0A\09Usage: ./BrankCalculate linkdb\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Cant read\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.update_blocka, align 1
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @perror(ptr noundef %24)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %14
br label %28
28: ; preds = %45, %27
%29 = load ptr, ptr %6, align 8
%30 = call i32 @feof(ptr noundef %29)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
br i1 %32, label %33, label %49
33: ; preds = %28
%34 = load ptr, ptr %6, align 8
%35 = call i32 @fread(ptr noundef %7, i32 noundef 270, i32 noundef 1, ptr noundef %34)
%36 = getelementptr inbounds %struct.update_blocka, ptr %7, i32 0, i32 1
%37 = getelementptr inbounds [200 x i8], ptr %36, i64 0, i64 0
%38 = call ptr @strstr(ptr noundef %37, ptr noundef @.str.3)
store ptr %38, ptr %8, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %45
40: ; preds = %33
%41 = load ptr, ptr %8, align 8
store i8 0, ptr %41, align 1
%42 = getelementptr inbounds %struct.update_blocka, ptr %7, i32 0, i32 1
%43 = getelementptr inbounds [200 x i8], ptr %42, i64 0, i64 0
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %43)
br label %45
45: ; preds = %40, %33
%46 = getelementptr inbounds %struct.update_blocka, ptr %7, i32 0, i32 1
%47 = getelementptr inbounds [200 x i8], ptr %46, i64 0, i64 0
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %47)
br label %28, !llvm.loop !6
49: ; preds = %28
%50 = load ptr, ptr %6, align 8
%51 = call i32 @fclose(ptr noundef %50)
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpqgovmlmz.c"
target datalayout = "e-m:e-p270: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.update_blocka = type { [20 x i8], [200 x i8], [50 x i8] }
@.str = private unnamed_addr constant [87 x i8] c"Dette programet tar inn en linkdb fil og lager Brank\0A\0A\09Usage: ./BrankCalculate linkdb\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Cant read\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.update_blocka, align 1
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @perror(ptr noundef %24)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %14
%28 = load ptr, ptr %6, align 8
%29 = call i32 @feof(ptr noundef %28)
%30 = icmp ne i32 %29, 0
%31 = xor i1 %30, true
br i1 %31, label %.lr.ph, label %52
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %44
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fread(ptr noundef %7, i32 noundef 270, i32 noundef 1, ptr noundef %33)
%35 = getelementptr inbounds %struct.update_blocka, ptr %7, i32 0, i32 1
%36 = getelementptr inbounds [200 x i8], ptr %35, i64 0, i64 0
%37 = call ptr @strstr(ptr noundef %36, ptr noundef @.str.3)
store ptr %37, ptr %8, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %44
39: ; preds = %32
%40 = load ptr, ptr %8, align 8
store i8 0, ptr %40, align 1
%41 = getelementptr inbounds %struct.update_blocka, ptr %7, i32 0, i32 1
%42 = getelementptr inbounds [200 x i8], ptr %41, i64 0, i64 0
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %42)
br label %44
44: ; preds = %39, %32
%45 = getelementptr inbounds %struct.update_blocka, ptr %7, i32 0, i32 1
%46 = getelementptr inbounds [200 x i8], ptr %45, i64 0, i64 0
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @feof(ptr noundef %48)
%50 = icmp ne i32 %49, 0
%51 = xor i1 %50, true
br i1 %51, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %52
52: ; preds = %._crit_edge, %27
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fclose(ptr noundef %53)
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp6hw2oap_.c'
source_filename = "/tmp/tmp6hw2oap_.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c" Please report this bug to [email protected]\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" Include the message above, your input data set, and the exact\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c" command line you used to run Triangle.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @internalerror() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fflush(i32 noundef %1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.2)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fflush(i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hw2oap_.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c" Please report this bug to [email protected]\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" Include the message above, your input data set, and the exact\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c" command line you used to run Triangle.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @internalerror() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fflush(i32 noundef %1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.2)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fflush(i32 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"}
|
; ModuleID = '/tmp/tmpo4uh9nte.c'
source_filename = "/tmp/tmpo4uh9nte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIGTTIN = dso_local global i32 0, align 4
@SIGTTOU = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_job_signals(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @SIGINT, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @signal(i32 noundef %3, ptr noundef %4)
%6 = load i32, ptr @SIGQUIT, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @signal(i32 noundef %6, ptr noundef %7)
%9 = load i32, ptr @SIGTSTP, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @signal(i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr @SIGTTIN, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @signal(i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr @SIGTTOU, align 4
%16 = load ptr, ptr %2, align 8
%17 = call i32 @signal(i32 noundef %15, ptr noundef %16)
%18 = load i32, ptr @SIGCHLD, align 4
%19 = load ptr, ptr %2, align 8
%20 = call i32 @signal(i32 noundef %18, ptr noundef %19)
ret void
}
declare i32 @signal(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/tmpo4uh9nte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIGTTIN = dso_local global i32 0, align 4
@SIGTTOU = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_job_signals(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @SIGINT, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @signal(i32 noundef %3, ptr noundef %4)
%6 = load i32, ptr @SIGQUIT, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @signal(i32 noundef %6, ptr noundef %7)
%9 = load i32, ptr @SIGTSTP, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @signal(i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr @SIGTTIN, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @signal(i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr @SIGTTOU, align 4
%16 = load ptr, ptr %2, align 8
%17 = call i32 @signal(i32 noundef %15, ptr noundef %16)
%18 = load i32, ptr @SIGCHLD, align 4
%19 = load ptr, ptr %2, align 8
%20 = call i32 @signal(i32 noundef %18, ptr noundef %19)
ret void
}
declare i32 @signal(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/tmpdm8o6hvw.c'
source_filename = "/tmp/tmpdm8o6hvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printByte(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = and i32 %4, 240
%6 = ashr i32 %5, 4
%7 = trunc i32 %6 to i8
%8 = call i32 @printNibble(i8 noundef zeroext %7)
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = and i32 %10, 15
%12 = trunc i32 %11 to i8
%13 = call i32 @printNibble(i8 noundef zeroext %12)
ret void
}
declare i32 @printNibble(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/tmpdm8o6hvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printByte(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = and i32 %4, 240
%6 = ashr i32 %5, 4
%7 = trunc i32 %6 to i8
%8 = call i32 @printNibble(i8 noundef zeroext %7)
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = and i32 %10, 15
%12 = trunc i32 %11 to i8
%13 = call i32 @printNibble(i8 noundef zeroext %12)
ret void
}
declare i32 @printNibble(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/tmpf5p974ey.c'
source_filename = "/tmp/tmpf5p974ey.c"
target datalayout = "e-m:e-p270: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/tmpf5p974ey.c"
target datalayout = "e-m:e-p270: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/tmpagi8envs.c'
source_filename = "/tmp/tmpagi8envs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %15, %3
%12 = load i64, ptr %6, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %6, align 8
%14 = icmp ne i64 %12, 0
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %16, align 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %7, align 8
store i8 %18, ptr %19, align 1
br label %11, !llvm.loop !6
21: ; preds = %11
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpagi8envs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = add i64 %11, -1
store i64 %12, ptr %6, align 8
%13 = icmp ne i64 %11, 0
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %8, align 8
%17 = load i8, ptr %15, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
store i8 %17, ptr %18, align 1
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, -1
store i64 %21, ptr %6, align 8
%22 = icmp ne i64 %20, 0
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %3
%24 = load ptr, ptr %4, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbfqfwimb.c'
source_filename = "/tmp/tmpbfqfwimb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [7 x i32], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
store i32 0, ptr %3, align 16
%4 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
store i32 0, ptr %4, align 8
br label %5
5: ; preds = %18, %0
%6 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %6, align 16
%8 = icmp slt i32 %7, 5
br i1 %8, label %15, label %9
9: ; preds = %5
%10 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
%11 = load i32, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = mul nsw i32 0, %12
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %9, %5
%16 = phi i1 [ true, %5 ], [ %14, %9 ]
br i1 %16, label %17, label %38
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%20 = load i32, ptr %19, align 16
%21 = add nsw i32 %20, 1
store i32 %21, ptr %19, align 16
%22 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i32, ptr %22, i64 %23
%25 = call i32 @scanf(ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %26, align 16
%28 = srem i32 %27, 2
%29 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %29, align 16
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = mul nsw i32 %28, %33
%35 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
%36 = load i32, ptr %35, align 8
%37 = add nsw i32 %36, %34
store i32 %37, ptr %35, align 8
br label %5, !llvm.loop !6
38: ; preds = %15
%39 = load i32, ptr %1, align 4
ret i32 %39
}
declare i32 @printf(ptr noundef, i32 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/tmpbfqfwimb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [7 x i32], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
store i32 0, ptr %3, align 16
%4 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
store i32 0, ptr %4, align 8
br label %5
5: ; preds = %18, %0
%6 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %6, align 16
%8 = icmp slt i32 %7, 5
br i1 %8, label %15, label %9
9: ; preds = %5
%10 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
%11 = load i32, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = mul nsw i32 0, %12
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %9, %5
%16 = phi i1 [ true, %5 ], [ %14, %9 ]
br i1 %16, label %17, label %38
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%20 = load i32, ptr %19, align 16
%21 = add nsw i32 %20, 1
store i32 %21, ptr %19, align 16
%22 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i32, ptr %22, i64 %23
%25 = call i32 @scanf(ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %26, align 16
%28 = srem i32 %27, 2
%29 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %29, align 16
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = mul nsw i32 %28, %33
%35 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
%36 = load i32, ptr %35, align 8
%37 = add nsw i32 %36, %34
store i32 %37, ptr %35, align 8
br label %5, !llvm.loop !6
38: ; preds = %15
%39 = load i32, ptr %1, align 4
ret i32 %39
}
declare i32 @printf(ptr noundef, i32 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/tmppzkav59p.c'
source_filename = "/tmp/tmppzkav59p.c"
target datalayout = "e-m:e-p270: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/tmppzkav59p.c"
target datalayout = "e-m:e-p270: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/tmp3jrw8r39.c'
source_filename = "/tmp/tmp3jrw8r39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"/dev/ttyUSB%d\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_NDELAY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"open_port: Unable to open %s\00", align 1
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_port(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [30 x i8], align 16
%5 = alloca [30 x i8], align 16
store i32 %0, ptr %2, align 4
%6 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%10 = load i32, ptr @O_RDWR, align 4
%11 = load i32, ptr @O_NDELAY, align 4
%12 = or i32 %10, %11
%13 = call i32 @open(ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %22
16: ; preds = %1
%17 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @perror(ptr noundef %20)
br label %26
22: ; preds = %1
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @F_SETFL, align 4
%25 = call i32 @fcntl(i32 noundef %23, i32 noundef %24, i32 noundef 0)
br label %26
26: ; preds = %22, %16
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fcntl(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/tmp3jrw8r39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"/dev/ttyUSB%d\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_NDELAY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"open_port: Unable to open %s\00", align 1
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_port(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [30 x i8], align 16
%5 = alloca [30 x i8], align 16
store i32 %0, ptr %2, align 4
%6 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%10 = load i32, ptr @O_RDWR, align 4
%11 = load i32, ptr @O_NDELAY, align 4
%12 = or i32 %10, %11
%13 = call i32 @open(ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %22
16: ; preds = %1
%17 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @perror(ptr noundef %20)
br label %26
22: ; preds = %1
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @F_SETFL, align 4
%25 = call i32 @fcntl(i32 noundef %23, i32 noundef %24, i32 noundef 0)
br label %26
26: ; preds = %22, %16
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fcntl(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/tmp2d_obkd5.c'
source_filename = "/tmp/tmp2d_obkd5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"This program has two function. Please specify the option \0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"Choose '1' for writing to the data folder \0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Choose '2' for reading from the etc folder \0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Your input: \00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"/opt/container/process2/data/process2_direct.txt\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Error! \0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"This file was created by process 2\00", align 1
@.str.8 = private unnamed_addr constant [43 x i8] c"/opt/container/process2/etc/boolean.config\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"input: %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c"Option not available or wrong input type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 (...) @getchar()
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 49
br i1 %12, label %13, label %22
13: ; preds = %0
%14 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5)
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %13
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %1, align 4
br label %41
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
%21 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.7)
br label %22
22: ; preds = %19, %0
%23 = load i32, ptr %3, align 4
%24 = icmp eq i32 %23, 50
br i1 %24, label %25, label %36
25: ; preds = %22
%26 = call ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.9)
store ptr %26, ptr %2, align 8
%27 = load ptr, ptr %2, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %1, align 4
br label %41
31: ; preds = %25
%32 = load ptr, ptr %2, align 8
%33 = call i32 @getline(ptr noundef %5, ptr noundef %4, ptr noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %34)
br label %38
36: ; preds = %22
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 1, ptr %1, align 4
br label %41
38: ; preds = %31
%39 = load ptr, ptr %2, align 8
%40 = call i32 @fclose(ptr noundef %39)
store i32 0, ptr %1, align 4
br label %41
41: ; preds = %38, %36, %29, %17
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2d_obkd5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"This program has two function. Please specify the option \0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"Choose '1' for writing to the data folder \0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Choose '2' for reading from the etc folder \0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Your input: \00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"/opt/container/process2/data/process2_direct.txt\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Error! \0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"This file was created by process 2\00", align 1
@.str.8 = private unnamed_addr constant [43 x i8] c"/opt/container/process2/etc/boolean.config\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"input: %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c"Option not available or wrong input type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 (...) @getchar()
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 49
br i1 %12, label %13, label %22
13: ; preds = %0
%14 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5)
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %13
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %1, align 4
br label %41
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
%21 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.7)
br label %22
22: ; preds = %19, %0
%23 = load i32, ptr %3, align 4
%24 = icmp eq i32 %23, 50
br i1 %24, label %25, label %36
25: ; preds = %22
%26 = call ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.9)
store ptr %26, ptr %2, align 8
%27 = load ptr, ptr %2, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %1, align 4
br label %41
31: ; preds = %25
%32 = load ptr, ptr %2, align 8
%33 = call i32 @getline(ptr noundef %5, ptr noundef %4, ptr noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %34)
br label %38
36: ; preds = %22
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 1, ptr %1, align 4
br label %41
38: ; preds = %31
%39 = load ptr, ptr %2, align 8
%40 = call i32 @fclose(ptr noundef %39)
store i32 0, ptr %1, align 4
br label %41
41: ; preds = %38, %36, %29, %17
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj9dh5nc1.c'
source_filename = "/tmp/tmpj9dh5nc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 2, i32 3, i32 3, i32 4, i32 4, i32 4, i32 5, i32 5], align 16
@.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 [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca [10 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 40, i1 false)
store i32 10, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %10, %0
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %5, align 4
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %13
store i32 -1, ptr %14, align 4
br label %6, !llvm.loop !6
15: ; preds = %6
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %31, %15
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %34
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %29
store i32 %24, ptr %30, align 4
br label %31
31: ; preds = %20
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %16, !llvm.loop !8
34: ; preds = %16
store i32 0, ptr %5, align 4
br label %35
35: ; preds = %49, %34
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %3, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %52
39: ; preds = %35
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp sgt i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %39
%46 = load i32, ptr %5, align 4
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
br label %48
48: ; preds = %45, %39
br label %49
49: ; preds = %48
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %35, !llvm.loop !9
52: ; preds = %35
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9dh5nc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 2, i32 3, i32 3, i32 4, i32 4, i32 4, i32 5, i32 5], align 16
@.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 [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca [10 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 40, i1 false)
store i32 10, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %5, align 4
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %12
store i32 -1, ptr %13, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %38
.lr.ph2: ; preds = %17
br label %21
21: ; preds = %.lr.ph2, %32
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %30
store i32 %25, ptr %31, align 4
br label %32
32: ; preds = %21
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %38
38: ; preds = %._crit_edge3, %17
store i32 0, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph5, label %58
.lr.ph5: ; preds = %38
br label %42
42: ; preds = %.lr.ph5, %52
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %42
%49 = load i32, ptr %5, align 4
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
br label %51
51: ; preds = %48, %42
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %42, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %52
br label %58
58: ; preds = %._crit_edge6, %38
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphvgv2u8b.c'
source_filename = "/tmp/tmphvgv2u8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGQUIT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__libc_system(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %2, align 4
br label %72
12: ; preds = %1
%13 = load i32, ptr @SIGQUIT, align 4
%14 = load i32, ptr @SIG_IGN, align 4
%15 = call i32 @signal(i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr @SIGINT, align 4
%17 = load i32, ptr @SIG_IGN, align 4
%18 = call i32 @signal(i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr @SIGCHLD, align 4
%20 = load i32, ptr @SIG_DFL, align 4
%21 = call i32 @signal(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %8, align 4
%22 = call i32 (...) @fork()
store i32 %22, ptr %5, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %34
24: ; preds = %12
%25 = load i32, ptr @SIGQUIT, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @signal(i32 noundef %25, i32 noundef %26)
%28 = load i32, ptr @SIGINT, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @signal(i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr @SIGCHLD, align 4
%32 = load i32, ptr %8, align 4
%33 = call i32 @signal(i32 noundef %31, i32 noundef %32)
store i32 -1, ptr %2, align 4
br label %72
34: ; preds = %12
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %50
37: ; preds = %34
%38 = load i32, ptr @SIGQUIT, align 4
%39 = load i32, ptr @SIG_DFL, align 4
%40 = call i32 @signal(i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr @SIGINT, align 4
%42 = load i32, ptr @SIG_DFL, align 4
%43 = call i32 @signal(i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr @SIGCHLD, align 4
%45 = load i32, ptr @SIG_DFL, align 4
%46 = call i32 @signal(i32 noundef %44, i32 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %47, ptr noundef null)
%49 = call i32 @_exit(i32 noundef 127) #3
unreachable
50: ; preds = %34
%51 = load i32, ptr @SIGQUIT, align 4
%52 = load i32, ptr @SIG_IGN, align 4
%53 = call i32 @signal(i32 noundef %51, i32 noundef %52)
%54 = load i32, ptr @SIGINT, align 4
%55 = load i32, ptr @SIG_IGN, align 4
%56 = call i32 @signal(i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %5, align 4
%58 = call i32 @wait4(i32 noundef %57, ptr noundef %4, i32 noundef 0, i32 noundef 0)
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %61
60: ; preds = %50
store i32 -1, ptr %4, align 4
br label %61
61: ; preds = %60, %50
%62 = load i32, ptr @SIGQUIT, align 4
%63 = load i32, ptr %6, align 4
%64 = call i32 @signal(i32 noundef %62, i32 noundef %63)
%65 = load i32, ptr @SIGINT, align 4
%66 = load i32, ptr %7, align 4
%67 = call i32 @signal(i32 noundef %65, i32 noundef %66)
%68 = load i32, ptr @SIGCHLD, align 4
%69 = load i32, ptr %8, align 4
%70 = call i32 @signal(i32 noundef %68, i32 noundef %69)
%71 = load i32, ptr %4, align 4
store i32 %71, ptr %2, align 4
br label %72
72: ; preds = %61, %24, %11
%73 = load i32, ptr %2, align 4
ret i32 %73
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @wait4(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" }
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/tmphvgv2u8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGQUIT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__libc_system(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %2, align 4
br label %72
12: ; preds = %1
%13 = load i32, ptr @SIGQUIT, align 4
%14 = load i32, ptr @SIG_IGN, align 4
%15 = call i32 @signal(i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr @SIGINT, align 4
%17 = load i32, ptr @SIG_IGN, align 4
%18 = call i32 @signal(i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr @SIGCHLD, align 4
%20 = load i32, ptr @SIG_DFL, align 4
%21 = call i32 @signal(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %8, align 4
%22 = call i32 (...) @fork()
store i32 %22, ptr %5, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %34
24: ; preds = %12
%25 = load i32, ptr @SIGQUIT, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @signal(i32 noundef %25, i32 noundef %26)
%28 = load i32, ptr @SIGINT, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @signal(i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr @SIGCHLD, align 4
%32 = load i32, ptr %8, align 4
%33 = call i32 @signal(i32 noundef %31, i32 noundef %32)
store i32 -1, ptr %2, align 4
br label %72
34: ; preds = %12
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %50
37: ; preds = %34
%38 = load i32, ptr @SIGQUIT, align 4
%39 = load i32, ptr @SIG_DFL, align 4
%40 = call i32 @signal(i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr @SIGINT, align 4
%42 = load i32, ptr @SIG_DFL, align 4
%43 = call i32 @signal(i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr @SIGCHLD, align 4
%45 = load i32, ptr @SIG_DFL, align 4
%46 = call i32 @signal(i32 noundef %44, i32 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %47, ptr noundef null)
%49 = call i32 @_exit(i32 noundef 127) #3
unreachable
50: ; preds = %34
%51 = load i32, ptr @SIGQUIT, align 4
%52 = load i32, ptr @SIG_IGN, align 4
%53 = call i32 @signal(i32 noundef %51, i32 noundef %52)
%54 = load i32, ptr @SIGINT, align 4
%55 = load i32, ptr @SIG_IGN, align 4
%56 = call i32 @signal(i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %5, align 4
%58 = call i32 @wait4(i32 noundef %57, ptr noundef %4, i32 noundef 0, i32 noundef 0)
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %61
60: ; preds = %50
store i32 -1, ptr %4, align 4
br label %61
61: ; preds = %60, %50
%62 = load i32, ptr @SIGQUIT, align 4
%63 = load i32, ptr %6, align 4
%64 = call i32 @signal(i32 noundef %62, i32 noundef %63)
%65 = load i32, ptr @SIGINT, align 4
%66 = load i32, ptr %7, align 4
%67 = call i32 @signal(i32 noundef %65, i32 noundef %66)
%68 = load i32, ptr @SIGCHLD, align 4
%69 = load i32, ptr %8, align 4
%70 = call i32 @signal(i32 noundef %68, i32 noundef %69)
%71 = load i32, ptr %4, align 4
store i32 %71, ptr %2, align 4
br label %72
72: ; preds = %61, %24, %11
%73 = load i32, ptr %2, align 4
ret i32 %73
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @wait4(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" }
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/tmpzohbpgb5.c'
source_filename = "/tmp/tmpzohbpgb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 the number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @power_of_two(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @power_of_two(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/tmpzohbpgb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 the number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @power_of_two(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @power_of_two(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/tmpszkltp6a.c'
source_filename = "/tmp/tmpszkltp6a.c"
target datalayout = "e-m:e-p270: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/tmpszkltp6a.c"
target datalayout = "e-m:e-p270: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/tmpva19u_f9.c'
source_filename = "/tmp/tmpva19u_f9.c"
target datalayout = "e-m:e-p270: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/tmpva19u_f9.c"
target datalayout = "e-m:e-p270: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/tmpk__mrxu5.c'
source_filename = "/tmp/tmpk__mrxu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ilu_relax_snode(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load ptr, ptr %11, align 8
%18 = load i32, ptr %7, align 4
%19 = call i32 @ifill(ptr noundef %17, i32 noundef %18, i32 noundef -1)
%20 = load ptr, ptr %12, align 8
%21 = load i32, ptr %7, align 4
%22 = call i32 @ifill(ptr noundef %20, i32 noundef %21, i32 noundef -1)
store i32 0, ptr %13, align 4
br label %23
23: ; preds = %32, %6
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 0, ptr %31, align 4
br label %32
32: ; preds = %27
%33 = load i32, ptr %13, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %13, align 4
br label %23, !llvm.loop !6
35: ; preds = %23
store i32 0, ptr %13, align 4
br label %36
36: ; preds = %63, %35
%37 = load i32, ptr %13, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %66
40: ; preds = %36
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %13, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %15, align 4
%46 = load i32, ptr %15, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp ne i32 %46, %47
br i1 %48, label %49, label %62
49: ; preds = %40
%50 = load ptr, ptr %10, align 8
%51 = load i32, ptr %13, 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, 1
%56 = load ptr, ptr %10, align 8
%57 = load i32, ptr %15, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %60, %55
store i32 %61, ptr %59, align 4
br label %62
62: ; preds = %49, %40
br label %63
63: ; preds = %62
%64 = load i32, ptr %13, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %13, align 4
br label %36, !llvm.loop !8
66: ; preds = %36
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %67
67: ; preds = %129, %66
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %130
71: ; preds = %67
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %13, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
store i32 %76, ptr %15, align 4
%77 = load i32, ptr %13, align 4
store i32 %77, ptr %16, align 4
br label %78
78: ; preds = %92, %71
%79 = load i32, ptr %15, align 4
%80 = load i32, ptr %7, align 4
%81 = icmp ne i32 %79, %80
br i1 %81, label %82, label %90
82: ; preds = %78
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %15, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load i32, ptr %9, align 4
%89 = icmp slt i32 %87, %88
br label %90
90: ; preds = %82, %78
%91 = phi i1 [ false, %78 ], [ %89, %82 ]
br i1 %91, label %92, label %99
92: ; preds = %90
%93 = load i32, ptr %15, align 4
store i32 %93, ptr %13, align 4
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %13, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
store i32 %98, ptr %15, align 4
br label %78, !llvm.loop !9
99: ; preds = %90
%100 = load i32, ptr %13, align 4
%101 = load ptr, ptr %11, align 8
%102 = load i32, ptr %16, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
store i32 %100, ptr %104, align 4
%105 = load i32, ptr %13, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %13, align 4
%107 = load i32, ptr %16, align 4
%108 = load ptr, ptr %12, align 8
%109 = load i32, ptr %14, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %14, align 4
%111 = sext i32 %109 to i64
%112 = getelementptr inbounds i32, ptr %108, i64 %111
store i32 %107, ptr %112, align 4
br label %113
113: ; preds = %126, %99
%114 = load ptr, ptr %10, align 8
%115 = load i32, ptr %13, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
%118 = load i32, ptr %117, align 4
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %124
120: ; preds = %113
%121 = load i32, ptr %13, align 4
%122 = load i32, ptr %7, align 4
%123 = icmp slt i32 %121, %122
br label %124
124: ; preds = %120, %113
%125 = phi i1 [ false, %113 ], [ %123, %120 ]
br i1 %125, label %126, label %129
126: ; preds = %124
%127 = load i32, ptr %13, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %13, align 4
br label %113, !llvm.loop !10
129: ; preds = %124
br label %67, !llvm.loop !11
130: ; preds = %67
ret void
}
declare i32 @ifill(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk__mrxu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ilu_relax_snode(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load ptr, ptr %11, align 8
%18 = load i32, ptr %7, align 4
%19 = call i32 @ifill(ptr noundef %17, i32 noundef %18, i32 noundef -1)
%20 = load ptr, ptr %12, align 8
%21 = load i32, ptr %7, align 4
%22 = call i32 @ifill(ptr noundef %20, i32 noundef %21, i32 noundef -1)
store i32 0, ptr %13, align 4
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %37
.lr.ph: ; preds = %6
br label %26
26: ; preds = %.lr.ph, %31
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %13, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 0, ptr %30, align 4
br label %31
31: ; preds = %26
%32 = load i32, ptr %13, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %13, align 4
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %6
store i32 0, ptr %13, align 4
%38 = load i32, ptr %13, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph2, label %70
.lr.ph2: ; preds = %37
br label %41
41: ; preds = %.lr.ph2, %64
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %13, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %15, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp ne i32 %47, %48
br i1 %49, label %50, label %63
50: ; preds = %41
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = add nsw i32 %55, 1
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %15, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %61, %56
store i32 %62, ptr %60, align 4
br label %63
63: ; preds = %50, %41
br label %64
64: ; preds = %63
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %13, align 4
%67 = load i32, ptr %13, align 4
%68 = load i32, ptr %7, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %70
70: ; preds = %._crit_edge3, %37
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
%71 = load i32, ptr %13, align 4
%72 = load i32, ptr %7, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %.lr.ph5, label %136
.lr.ph5: ; preds = %70
br label %74
74: ; preds = %.lr.ph5, %132
%75 = load ptr, ptr %8, align 8
%76 = load i32, ptr %13, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
%79 = load i32, ptr %78, align 4
store i32 %79, ptr %15, align 4
%80 = load i32, ptr %13, align 4
store i32 %80, ptr %16, align 4
br label %81
81: ; preds = %95, %74
%82 = load i32, ptr %15, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp ne i32 %82, %83
br i1 %84, label %85, label %93
85: ; preds = %81
%86 = load ptr, ptr %10, align 8
%87 = load i32, ptr %15, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load i32, ptr %9, align 4
%92 = icmp slt i32 %90, %91
br label %93
93: ; preds = %85, %81
%94 = phi i1 [ false, %81 ], [ %92, %85 ]
br i1 %94, label %95, label %102
95: ; preds = %93
%96 = load i32, ptr %15, align 4
store i32 %96, ptr %13, align 4
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %13, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
store i32 %101, ptr %15, align 4
br label %81, !llvm.loop !9
102: ; preds = %93
%103 = load i32, ptr %13, align 4
%104 = load ptr, ptr %11, align 8
%105 = load i32, ptr %16, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %104, i64 %106
store i32 %103, ptr %107, align 4
%108 = load i32, ptr %13, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %13, align 4
%110 = load i32, ptr %16, align 4
%111 = load ptr, ptr %12, align 8
%112 = load i32, ptr %14, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %14, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds i32, ptr %111, i64 %114
store i32 %110, ptr %115, align 4
br label %116
116: ; preds = %129, %102
%117 = load ptr, ptr %10, align 8
%118 = load i32, ptr %13, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, ptr %117, i64 %119
%121 = load i32, ptr %120, align 4
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %127
123: ; preds = %116
%124 = load i32, ptr %13, align 4
%125 = load i32, ptr %7, align 4
%126 = icmp slt i32 %124, %125
br label %127
127: ; preds = %123, %116
%128 = phi i1 [ false, %116 ], [ %126, %123 ]
br i1 %128, label %129, label %132
129: ; preds = %127
%130 = load i32, ptr %13, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %13, align 4
br label %116, !llvm.loop !10
132: ; preds = %127
%133 = load i32, ptr %13, align 4
%134 = load i32, ptr %7, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %74, label %._crit_edge6, !llvm.loop !11
._crit_edge6: ; preds = %132
br label %136
136: ; preds = %._crit_edge6, %70
ret void
}
declare i32 @ifill(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpvumyza8e.c'
source_filename = "/tmp/tmpvumyza8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @flag_error(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 @puts(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @puts(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/tmpvumyza8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @flag_error(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 @puts(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @puts(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/tmp_cti79n4.c'
source_filename = "/tmp/tmp_cti79n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_cti79n4.c"
target datalayout = "e-m:e-p270: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/tmpl51kr_gp.c'
source_filename = "/tmp/tmpl51kr_gp.c"
target datalayout = "e-m:e-p270: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/tmpl51kr_gp.c"
target datalayout = "e-m:e-p270: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/tmpiwnf7bsh.c'
source_filename = "/tmp/tmpiwnf7bsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convertbyte(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 56
%7 = trunc i32 %6 to i8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 %7, ptr %9, align 1
%10 = load i32, ptr %4, align 4
%11 = ashr i32 %10, 48
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 %12, ptr %14, align 1
%15 = load i32, ptr %4, align 4
%16 = ashr i32 %15, 40
%17 = trunc i32 %16 to i8
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
store i8 %17, ptr %19, align 1
%20 = load i32, ptr %4, align 4
%21 = ashr i32 %20, 32
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 3
store i8 %22, ptr %24, align 1
%25 = load i32, ptr %4, align 4
%26 = ashr i32 %25, 24
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 4
store i8 %27, ptr %29, align 1
%30 = load i32, ptr %4, align 4
%31 = ashr i32 %30, 16
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 5
store i8 %32, ptr %34, align 1
%35 = load i32, ptr %4, align 4
%36 = ashr i32 %35, 8
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 6
store i8 %37, ptr %39, align 1
%40 = load i32, ptr %4, align 4
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 7
store i8 %41, ptr %43, align 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwnf7bsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convertbyte(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 56
%7 = trunc i32 %6 to i8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 %7, ptr %9, align 1
%10 = load i32, ptr %4, align 4
%11 = ashr i32 %10, 48
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 %12, ptr %14, align 1
%15 = load i32, ptr %4, align 4
%16 = ashr i32 %15, 40
%17 = trunc i32 %16 to i8
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
store i8 %17, ptr %19, align 1
%20 = load i32, ptr %4, align 4
%21 = ashr i32 %20, 32
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 3
store i8 %22, ptr %24, align 1
%25 = load i32, ptr %4, align 4
%26 = ashr i32 %25, 24
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 4
store i8 %27, ptr %29, align 1
%30 = load i32, ptr %4, align 4
%31 = ashr i32 %30, 16
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 5
store i8 %32, ptr %34, align 1
%35 = load i32, ptr %4, align 4
%36 = ashr i32 %35, 8
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 6
store i8 %37, ptr %39, align 1
%40 = load i32, ptr %4, align 4
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 7
store i8 %41, ptr %43, align 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"}
|
; ModuleID = '/tmp/tmpsxnz9yh4.c'
source_filename = "/tmp/tmpsxnz9yh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/bash\00", align 1
@__const.main.bash = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x ptr], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @setreuid(i32 noundef 0, i32 noundef 0)
%8 = call i32 @setregid(i32 noundef 0, i32 noundef 0)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.bash, i64 16, i1 false)
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = call i32 @execvp(ptr noundef %14, ptr noundef %16)
br label %23
18: ; preds = %2
%19 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%20 = load ptr, ptr %19, align 16
%21 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%22 = call i32 @execv(ptr noundef %20, ptr noundef %21)
br label %23
23: ; preds = %18, %11
ret i32 0
}
declare i32 @setreuid(i32 noundef, i32 noundef) #1
declare i32 @setregid(i32 noundef, 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 @execvp(ptr noundef, ptr noundef) #1
declare i32 @execv(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxnz9yh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/bash\00", align 1
@__const.main.bash = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x ptr], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @setreuid(i32 noundef 0, i32 noundef 0)
%8 = call i32 @setregid(i32 noundef 0, i32 noundef 0)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.bash, i64 16, i1 false)
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = call i32 @execvp(ptr noundef %14, ptr noundef %16)
br label %23
18: ; preds = %2
%19 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%20 = load ptr, ptr %19, align 16
%21 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%22 = call i32 @execv(ptr noundef %20, ptr noundef %21)
br label %23
23: ; preds = %18, %11
ret i32 0
}
declare i32 @setreuid(i32 noundef, i32 noundef) #1
declare i32 @setregid(i32 noundef, 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 @execvp(ptr noundef, ptr noundef) #1
declare i32 @execv(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
|
; ModuleID = '/tmp/tmpe6zv9jrx.c'
source_filename = "/tmp/tmpe6zv9jrx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp sgt i64 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load i64, ptr %6, align 8
store i64 %12, ptr %7, align 8
%13 = load i64, ptr %5, align 8
store i64 %13, ptr %6, align 8
%14 = load i64, ptr %7, align 8
store i64 %14, ptr %5, align 8
br label %15
15: ; preds = %11, %3
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %16, align 8
%18 = mul nsw i64 1103515245, %17
%19 = add nsw i64 %18, 12345
%20 = load ptr, ptr %4, align 8
store i64 %19, ptr %20, align 8
%21 = load ptr, ptr %4, align 8
%22 = load i64, ptr %21, align 8
%23 = call i64 @remainder(i64 noundef %22, i64 noundef 2147483648)
%24 = load ptr, ptr %4, align 8
store i64 %23, ptr %24, align 8
%25 = load ptr, ptr %4, align 8
%26 = load i64, ptr %25, align 8
%27 = load i64, ptr %6, align 8
%28 = load i64, ptr %5, align 8
%29 = sub nsw i64 %27, %28
%30 = add nsw i64 %29, 1
%31 = call i64 @remainder(i64 noundef %26, i64 noundef %30)
%32 = load i64, ptr %5, align 8
%33 = add nsw i64 %31, %32
ret i64 %33
}
declare i64 @remainder(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6zv9jrx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp sgt i64 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load i64, ptr %6, align 8
store i64 %12, ptr %7, align 8
%13 = load i64, ptr %5, align 8
store i64 %13, ptr %6, align 8
%14 = load i64, ptr %7, align 8
store i64 %14, ptr %5, align 8
br label %15
15: ; preds = %11, %3
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %16, align 8
%18 = mul nsw i64 1103515245, %17
%19 = add nsw i64 %18, 12345
%20 = load ptr, ptr %4, align 8
store i64 %19, ptr %20, align 8
%21 = load ptr, ptr %4, align 8
%22 = load i64, ptr %21, align 8
%23 = call i64 @remainder(i64 noundef %22, i64 noundef 2147483648)
%24 = load ptr, ptr %4, align 8
store i64 %23, ptr %24, align 8
%25 = load ptr, ptr %4, align 8
%26 = load i64, ptr %25, align 8
%27 = load i64, ptr %6, align 8
%28 = load i64, ptr %5, align 8
%29 = sub nsw i64 %27, %28
%30 = add nsw i64 %29, 1
%31 = call i64 @remainder(i64 noundef %26, i64 noundef %30)
%32 = load i64, ptr %5, align 8
%33 = add nsw i64 %31, %32
ret i64 %33
}
declare i64 @remainder(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"}
|
; ModuleID = '/tmp/tmpo_5q2ruk.c'
source_filename = "/tmp/tmpo_5q2ruk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @prefix_stream_urls(i32 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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %48, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %51
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = sext i32 %14 to i64
%16 = mul i64 1, %15
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sext i32 %22 to i64
%24 = add i64 %16, %23
%25 = add i64 %24, 1
%26 = trunc i64 %25 to i32
%27 = call i64 @malloc(i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.1, ptr noundef %30, ptr noundef %35)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i32 @free(ptr noundef %41)
%43 = load ptr, ptr %7, align 8
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %6, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
store ptr %43, ptr %47, align 8
br label %48
48: ; preds = %12
%49 = load i32, ptr %6, align 4
%50 = add i32 %49, 1
store i32 %50, ptr %6, align 4
br label %8, !llvm.loop !6
51: ; preds = %8
%52 = load ptr, ptr %4, align 8
ret ptr %52
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo_5q2ruk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @prefix_stream_urls(i32 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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph, label %53
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %47
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sext i32 %13 to i64
%15 = mul i64 1, %14
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = sext i32 %21 to i64
%23 = add i64 %15, %22
%24 = add i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call i64 @malloc(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %7, align 8
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %5, align 8
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = zext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %29, ptr noundef %34)
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = call i32 @free(ptr noundef %40)
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %6, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
store ptr %42, ptr %46, align 8
br label %47
47: ; preds = %11
%48 = load i32, ptr %6, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp ult i32 %50, %51
br i1 %52, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %2
%54 = load ptr, ptr %4, align 8
ret ptr %54
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqhob0lbf.c'
source_filename = "/tmp/tmpqhob0lbf.c"
target datalayout = "e-m:e-p270: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/tmpqhob0lbf.c"
target datalayout = "e-m:e-p270: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/tmpz8twlbx2.c'
source_filename = "/tmp/tmpz8twlbx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glBindTexture(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
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/tmpz8twlbx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glBindTexture(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
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/tmp98024muz.c'
source_filename = "/tmp/tmp98024muz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @newtonRaphson(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
store double 1.000000e+00, ptr %5, align 8
%8 = load double, ptr %5, align 8
%9 = load double, ptr %3, align 8
%10 = call double @siguientePaso(double noundef %8, double noundef %9)
store double %10, ptr %6, align 8
br label %11
11: ; preds = %17, %2
%12 = load double, ptr %6, align 8
%13 = load double, ptr %5, align 8
%14 = call double @error(double noundef %12, double noundef %13)
%15 = load double, ptr %4, align 8
%16 = fcmp ogt double %14, %15
br i1 %16, label %17, label %22
17: ; preds = %11
%18 = load double, ptr %6, align 8
store double %18, ptr %5, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %3, align 8
%21 = call double @siguientePaso(double noundef %19, double noundef %20)
store double %21, ptr %6, align 8
br label %11, !llvm.loop !6
22: ; preds = %11
%23 = load double, ptr %6, align 8
ret double %23
}
declare double @siguientePaso(double noundef, double noundef) #1
declare double @error(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98024muz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @newtonRaphson(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
store double 1.000000e+00, ptr %5, align 8
%8 = load double, ptr %5, align 8
%9 = load double, ptr %3, align 8
%10 = call double @siguientePaso(double noundef %8, double noundef %9)
store double %10, ptr %6, align 8
%11 = load double, ptr %6, align 8
%12 = load double, ptr %5, align 8
%13 = call double @error(double noundef %11, double noundef %12)
%14 = load double, ptr %4, align 8
%15 = fcmp ogt double %13, %14
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %16
%17 = load double, ptr %6, align 8
store double %17, ptr %5, align 8
%18 = load double, ptr %5, align 8
%19 = load double, ptr %3, align 8
%20 = call double @siguientePaso(double noundef %18, double noundef %19)
store double %20, ptr %6, align 8
%21 = load double, ptr %6, align 8
%22 = load double, ptr %5, align 8
%23 = call double @error(double noundef %21, double noundef %22)
%24 = load double, ptr %4, align 8
%25 = fcmp ogt double %23, %24
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %26
26: ; preds = %._crit_edge, %2
%27 = load double, ptr %6, align 8
ret double %27
}
declare double @siguientePaso(double noundef, double noundef) #1
declare double @error(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpi31f7jzc.c'
source_filename = "/tmp/tmpi31f7jzc.c"
target datalayout = "e-m:e-p270: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/tmpi31f7jzc.c"
target datalayout = "e-m:e-p270: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/tmpbkw448uo.c'
source_filename = "/tmp/tmpbkw448uo.c"
target datalayout = "e-m:e-p270: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/tmpbkw448uo.c"
target datalayout = "e-m:e-p270: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/tmpwk0gf9cm.c'
source_filename = "/tmp/tmpwk0gf9cm.c"
target datalayout = "e-m:e-p270: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/tmpwk0gf9cm.c"
target datalayout = "e-m:e-p270: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/tmp4s4lnmhq.c'
source_filename = "/tmp/tmp4s4lnmhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4s4lnmhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp323u7068.c'
source_filename = "/tmp/tmp323u7068.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_BLOCK = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @l_putenv_r(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = call i32 @sigfillset(ptr noundef %7)
%10 = load i32, ptr @SIG_BLOCK, align 4
%11 = call i32 @pthread_sigmask(i32 noundef %10, ptr noundef %7, ptr noundef %8)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load i32, ptr %6, align 4
store i32 %15, ptr %3, align 4
br label %27
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @l_putenv_r_thread_safe(ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load i32, ptr %6, align 4
store i32 %23, ptr %3, align 4
br label %27
24: ; preds = %16
%25 = load i32, ptr @SIG_SETMASK, align 4
%26 = call i32 @pthread_sigmask(i32 noundef %25, ptr noundef %8, ptr noundef null)
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %24, %22, %14
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @sigfillset(ptr noundef) #1
declare i32 @pthread_sigmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @l_putenv_r_thread_safe(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/tmp323u7068.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_BLOCK = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @l_putenv_r(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = call i32 @sigfillset(ptr noundef %7)
%10 = load i32, ptr @SIG_BLOCK, align 4
%11 = call i32 @pthread_sigmask(i32 noundef %10, ptr noundef %7, ptr noundef %8)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load i32, ptr %6, align 4
store i32 %15, ptr %3, align 4
br label %27
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @l_putenv_r_thread_safe(ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load i32, ptr %6, align 4
store i32 %23, ptr %3, align 4
br label %27
24: ; preds = %16
%25 = load i32, ptr @SIG_SETMASK, align 4
%26 = call i32 @pthread_sigmask(i32 noundef %25, ptr noundef %8, ptr noundef null)
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %24, %22, %14
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @sigfillset(ptr noundef) #1
declare i32 @pthread_sigmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @l_putenv_r_thread_safe(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/tmpl3sgkt5q.c'
source_filename = "/tmp/tmpl3sgkt5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_wildcard(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %72, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %75
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %64, %13
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %67
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 42
br i1 %35, label %60, label %36
36: ; preds = %24
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %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 eq i32 %46, 36
br i1 %47, label %60, label %48
48: ; preds = %36
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 126
br i1 %59, label %60, label %63
60: ; preds = %48, %36, %24
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
br label %63
63: ; preds = %60, %48
br label %67
64: ; No predecessors!
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %7, align 4
br label %20, !llvm.loop !6
67: ; preds = %63, %20
%68 = load i32, ptr %5, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %67
br label %75
71: ; preds = %67
br label %72
72: ; preds = %71
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %9, !llvm.loop !8
75: ; preds = %70, %9
%76 = load i32, ptr %5, align 4
ret i32 %76
}
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/tmpl3sgkt5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_wildcard(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %71
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strlen(ptr noundef %17)
store i32 %18, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %12
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %66
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %7, 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, 42
br i1 %34, label %59, label %35
35: ; preds = %23
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %7, 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
%46 = icmp eq i32 %45, 36
br i1 %46, label %59, label %47
47: ; preds = %35
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 126
br i1 %58, label %59, label %62
59: ; preds = %47, %35, %23
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %59, %47
br label %66
63: ; No predecessors!
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %7, align 4
unreachable
66: ; preds = %62, %19
%67 = load i32, ptr %5, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %66
br label %77
70: ; preds = %66
br label %71
71: ; preds = %70
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %3, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %71
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %77
77: ; preds = %.loopexit, %69
%78 = load i32, ptr %5, align 4
ret i32 %78
}
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/tmp3tcvodiy.c'
source_filename = "/tmp/tmp3tcvodiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwiUngetC(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = load i32, ptr %2, align 4
%6 = call i32 @uugcInjectC(i32 noundef %5)
ret void
}
declare i32 @uugcInjectC(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/tmp3tcvodiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwiUngetC(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = load i32, ptr %2, align 4
%6 = call i32 @uugcInjectC(i32 noundef %5)
ret void
}
declare i32 @uugcInjectC(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/tmpshylad30.c'
source_filename = "/tmp/tmpshylad30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/mnt/A\00", align 1
@MNT_DETACH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mount_setattr_idmapped_teardown(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 i32, ptr @MNT_DETACH, align 4
%6 = call i32 @umount2(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr @MNT_DETACH, align 4
%8 = call i32 @umount2(ptr noundef @.str.1, i32 noundef %7)
ret void
}
declare i32 @umount2(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/tmpshylad30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/mnt/A\00", align 1
@MNT_DETACH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mount_setattr_idmapped_teardown(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 i32, ptr @MNT_DETACH, align 4
%6 = call i32 @umount2(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr @MNT_DETACH, align 4
%8 = call i32 @umount2(ptr noundef @.str.1, i32 noundef %7)
ret void
}
declare i32 @umount2(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/tmpn23crtz4.c'
source_filename = "/tmp/tmpn23crtz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1..8\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"ok 1 - fenv\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"ok 2 - fenv\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"ok 3 - fenv\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"ok 4 - fenv\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"ok 5 - fenv\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"ok 6 - fenv\0A\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"ok 7 - fenv\0A\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"ok 8 - fenv\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @init_exceptsets()
%8 = call i32 (...) @test_dfl_env()
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = call i32 (...) @test_fetestclearexcept()
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 (...) @test_fegsetexceptflag()
%13 = call i32 @printf(ptr noundef @.str.3)
%14 = call i32 (...) @test_feraiseexcept()
%15 = call i32 @printf(ptr noundef @.str.4)
%16 = call i32 (...) @test_fegsetround()
%17 = call i32 @printf(ptr noundef @.str.5)
%18 = call i32 (...) @test_fegsetenv()
%19 = call i32 @printf(ptr noundef @.str.6)
%20 = call i32 (...) @test_masking()
%21 = call i32 @printf(ptr noundef @.str.7)
%22 = call i32 (...) @test_feholdupdate()
%23 = call i32 @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @init_exceptsets(...) #1
declare i32 @test_dfl_env(...) #1
declare i32 @test_fetestclearexcept(...) #1
declare i32 @test_fegsetexceptflag(...) #1
declare i32 @test_feraiseexcept(...) #1
declare i32 @test_fegsetround(...) #1
declare i32 @test_fegsetenv(...) #1
declare i32 @test_masking(...) #1
declare i32 @test_feholdupdate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn23crtz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1..8\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"ok 1 - fenv\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"ok 2 - fenv\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"ok 3 - fenv\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"ok 4 - fenv\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"ok 5 - fenv\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"ok 6 - fenv\0A\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"ok 7 - fenv\0A\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"ok 8 - fenv\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @init_exceptsets()
%8 = call i32 (...) @test_dfl_env()
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = call i32 (...) @test_fetestclearexcept()
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 (...) @test_fegsetexceptflag()
%13 = call i32 @printf(ptr noundef @.str.3)
%14 = call i32 (...) @test_feraiseexcept()
%15 = call i32 @printf(ptr noundef @.str.4)
%16 = call i32 (...) @test_fegsetround()
%17 = call i32 @printf(ptr noundef @.str.5)
%18 = call i32 (...) @test_fegsetenv()
%19 = call i32 @printf(ptr noundef @.str.6)
%20 = call i32 (...) @test_masking()
%21 = call i32 @printf(ptr noundef @.str.7)
%22 = call i32 (...) @test_feholdupdate()
%23 = call i32 @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @init_exceptsets(...) #1
declare i32 @test_dfl_env(...) #1
declare i32 @test_fetestclearexcept(...) #1
declare i32 @test_fegsetexceptflag(...) #1
declare i32 @test_feraiseexcept(...) #1
declare i32 @test_fegsetround(...) #1
declare i32 @test_fegsetenv(...) #1
declare i32 @test_masking(...) #1
declare i32 @test_feholdupdate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk_nuyt1d.c'
source_filename = "/tmp/tmpk_nuyt1d.c"
target datalayout = "e-m:e-p270: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/tmpk_nuyt1d.c"
target datalayout = "e-m:e-p270: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/tmp2gbj9vrg.c'
source_filename = "/tmp/tmp2gbj9vrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Spaces: \00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"Tabs: \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Ends: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %28, %0
%7 = call i32 (...) @getchar()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %10, label %29
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 32
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
br label %16
16: ; preds = %13, %10
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %17, 9
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %19, %16
%23 = load i32, ptr %2, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %28
28: ; preds = %25, %22
br label %6, !llvm.loop !6
29: ; preds = %6
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%31 = load i32, ptr %5, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %31)
%33 = load i32, ptr %4, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, i32 noundef %33)
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef %35)
ret i32 0
}
declare i32 @getchar(...) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2gbj9vrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Spaces: \00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"Tabs: \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Ends: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%6 = call i32 (...) @getchar()
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %27
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %12, %9
%16 = load i32, ptr %2, align 4
%17 = icmp eq i32 %16, 9
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %18, %15
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %24, %21
%28 = call i32 (...) @getchar()
store i32 %28, ptr %2, align 4
%29 = load i32, ptr @EOF, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %31
31: ; preds = %._crit_edge, %0
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%33 = load i32, ptr %5, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %33)
%35 = load i32, ptr %4, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, i32 noundef %35)
%37 = load i32, ptr %3, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef %37)
ret i32 0
}
declare i32 @getchar(...) #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"}
|
; ModuleID = '/tmp/tmpj134i4in.c'
source_filename = "/tmp/tmpj134i4in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"escolha exercicio 1 a 4\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"pause\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
br label %3
3: ; preds = %12, %0
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %6
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 1
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 4
br label %12
12: ; preds = %9, %6
%13 = phi i1 [ true, %6 ], [ %11, %9 ]
br i1 %13, label %3, label %14, !llvm.loop !6
14: ; preds = %12
%15 = load i32, ptr %2, align 4
switch i32 %15, label %28 [
i32 1, label %16
i32 2, label %19
i32 3, label %22
i32 4, label %25
]
16: ; preds = %14
%17 = call i32 @puts(ptr noundef @.str.2)
%18 = call i32 (...) @ex1()
br label %28
19: ; preds = %14
%20 = call i32 @puts(ptr noundef @.str.2)
%21 = call i32 (...) @ex2()
br label %28
22: ; preds = %14
%23 = call i32 @puts(ptr noundef @.str.2)
%24 = call i32 (...) @ex3()
br label %28
25: ; preds = %14
%26 = call i32 @puts(ptr noundef @.str.2)
%27 = call i32 (...) @ex4()
br label %28
28: ; preds = %14, %25, %22, %19, %16
%29 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @ex1(...) #1
declare i32 @ex2(...) #1
declare i32 @ex3(...) #1
declare i32 @ex4(...) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj134i4in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"escolha exercicio 1 a 4\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"pause\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
br label %3
3: ; preds = %12, %0
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %6
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 1
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 4
br label %12
12: ; preds = %9, %6
%13 = phi i1 [ true, %6 ], [ %11, %9 ]
br i1 %13, label %3, label %14, !llvm.loop !6
14: ; preds = %12
%15 = load i32, ptr %2, align 4
switch i32 %15, label %28 [
i32 1, label %16
i32 2, label %19
i32 3, label %22
i32 4, label %25
]
16: ; preds = %14
%17 = call i32 @puts(ptr noundef @.str.2)
%18 = call i32 (...) @ex1()
br label %28
19: ; preds = %14
%20 = call i32 @puts(ptr noundef @.str.2)
%21 = call i32 (...) @ex2()
br label %28
22: ; preds = %14
%23 = call i32 @puts(ptr noundef @.str.2)
%24 = call i32 (...) @ex3()
br label %28
25: ; preds = %14
%26 = call i32 @puts(ptr noundef @.str.2)
%27 = call i32 (...) @ex4()
br label %28
28: ; preds = %25, %22, %19, %16, %14
%29 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @ex1(...) #1
declare i32 @ex2(...) #1
declare i32 @ex3(...) #1
declare i32 @ex4(...) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqc_sydxr.c'
source_filename = "/tmp/tmpqc_sydxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@pathJoin.buffer = internal global [4097 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pathJoin(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
store i8 0, ptr @pathJoin.buffer, align 16
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @snprintf(ptr noundef @pathJoin.buffer, i32 noundef 4096, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
ret ptr @pathJoin.buffer
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqc_sydxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@pathJoin.buffer = internal global [4097 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pathJoin(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
store i8 0, ptr @pathJoin.buffer, align 16
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @snprintf(ptr noundef @pathJoin.buffer, i32 noundef 4096, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
ret ptr @pathJoin.buffer
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ym_ovo2.c'
source_filename = "/tmp/tmp0ym_ovo2.c"
target datalayout = "e-m:e-p270: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/tmp0ym_ovo2.c"
target datalayout = "e-m:e-p270: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/tmp3pyn9wyz.c'
source_filename = "/tmp/tmp3pyn9wyz.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, i32, ptr, i64, i64 }
@.str = private unnamed_addr constant [19 x i8] c"error in tcgetattr\00", align 1
@CSIZE = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@IGNBRK = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@IXON = dso_local global i32 0, align 4
@IXOFF = dso_local global i32 0, align 4
@IXANY = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@PARODD = dso_local global i32 0, align 4
@CSTOPB = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"error from tcsetattr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_serial_attribs(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.termios, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32)
%10 = load i32, ptr %5, align 4
%11 = call i64 @tcgetattr(i32 noundef %10, ptr noundef %8)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %87
15: ; preds = %3
%16 = load i32, ptr %6, align 4
%17 = call i32 @cfsetospeed(ptr noundef %8, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = call i32 @cfsetispeed(ptr noundef %8, i32 noundef %18)
%20 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%21 = load i32, ptr %20, align 8
%22 = load i32, ptr @CSIZE, align 4
%23 = xor i32 %22, -1
%24 = and i32 %21, %23
%25 = load i32, ptr @CS8, align 4
%26 = or i32 %24, %25
%27 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
store i32 %26, ptr %27, align 8
%28 = load i32, ptr @IGNBRK, align 4
%29 = xor i32 %28, -1
%30 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, %29
store i32 %32, ptr %30, align 4
%33 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 4
store i64 0, ptr %33, align 8
%34 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 3
store i64 0, ptr %34, align 8
%35 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2
%36 = load ptr, ptr %35, align 8
%37 = load i64, ptr @VMIN, align 8
%38 = getelementptr inbounds i32, ptr %36, i64 %37
store i32 0, ptr %38, align 4
%39 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2
%40 = load ptr, ptr %39, align 8
%41 = load i64, ptr @VTIME, align 8
%42 = getelementptr inbounds i32, ptr %40, i64 %41
store i32 5, ptr %42, align 4
%43 = load i32, ptr @IXON, align 4
%44 = load i32, ptr @IXOFF, align 4
%45 = or i32 %43, %44
%46 = load i32, ptr @IXANY, align 4
%47 = or i32 %45, %46
%48 = xor i32 %47, -1
%49 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1
%50 = load i32, ptr %49, align 4
%51 = and i32 %50, %48
store i32 %51, ptr %49, align 4
%52 = load i32, ptr @CLOCAL, align 4
%53 = load i32, ptr @CREAD, align 4
%54 = or i32 %52, %53
%55 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%56 = load i32, ptr %55, align 8
%57 = or i32 %56, %54
store i32 %57, ptr %55, align 8
%58 = load i32, ptr @PARENB, align 4
%59 = load i32, ptr @PARODD, align 4
%60 = or i32 %58, %59
%61 = xor i32 %60, -1
%62 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%63 = load i32, ptr %62, align 8
%64 = and i32 %63, %61
store i32 %64, ptr %62, align 8
%65 = load i32, ptr %7, align 4
%66 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%67 = load i32, ptr %66, align 8
%68 = or i32 %67, %65
store i32 %68, ptr %66, align 8
%69 = load i32, ptr @CSTOPB, align 4
%70 = xor i32 %69, -1
%71 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%72 = load i32, ptr %71, align 8
%73 = and i32 %72, %70
store i32 %73, ptr %71, align 8
%74 = load i32, ptr @CRTSCTS, align 4
%75 = xor i32 %74, -1
%76 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%77 = load i32, ptr %76, align 8
%78 = and i32 %77, %75
store i32 %78, ptr %76, align 8
%79 = call i32 @cfmakeraw(ptr noundef %8)
%80 = load i32, ptr %5, align 4
%81 = load i32, ptr @TCSANOW, align 4
%82 = call i64 @tcsetattr(i32 noundef %80, i32 noundef %81, ptr noundef %8)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %15
%85 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %87
86: ; preds = %15
store i32 0, ptr %4, align 4
br label %87
87: ; preds = %86, %84, %13
%88 = load i32, ptr %4, align 4
ret i32 %88
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1
declare i32 @cfmakeraw(ptr noundef) #1
declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3pyn9wyz.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, i32, ptr, i64, i64 }
@.str = private unnamed_addr constant [19 x i8] c"error in tcgetattr\00", align 1
@CSIZE = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@IGNBRK = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@IXON = dso_local global i32 0, align 4
@IXOFF = dso_local global i32 0, align 4
@IXANY = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@PARODD = dso_local global i32 0, align 4
@CSTOPB = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"error from tcsetattr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_serial_attribs(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.termios, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32)
%10 = load i32, ptr %5, align 4
%11 = call i64 @tcgetattr(i32 noundef %10, ptr noundef %8)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %87
15: ; preds = %3
%16 = load i32, ptr %6, align 4
%17 = call i32 @cfsetospeed(ptr noundef %8, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = call i32 @cfsetispeed(ptr noundef %8, i32 noundef %18)
%20 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%21 = load i32, ptr %20, align 8
%22 = load i32, ptr @CSIZE, align 4
%23 = xor i32 %22, -1
%24 = and i32 %21, %23
%25 = load i32, ptr @CS8, align 4
%26 = or i32 %24, %25
%27 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
store i32 %26, ptr %27, align 8
%28 = load i32, ptr @IGNBRK, align 4
%29 = xor i32 %28, -1
%30 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, %29
store i32 %32, ptr %30, align 4
%33 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 4
store i64 0, ptr %33, align 8
%34 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 3
store i64 0, ptr %34, align 8
%35 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2
%36 = load ptr, ptr %35, align 8
%37 = load i64, ptr @VMIN, align 8
%38 = getelementptr inbounds i32, ptr %36, i64 %37
store i32 0, ptr %38, align 4
%39 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2
%40 = load ptr, ptr %39, align 8
%41 = load i64, ptr @VTIME, align 8
%42 = getelementptr inbounds i32, ptr %40, i64 %41
store i32 5, ptr %42, align 4
%43 = load i32, ptr @IXON, align 4
%44 = load i32, ptr @IXOFF, align 4
%45 = or i32 %43, %44
%46 = load i32, ptr @IXANY, align 4
%47 = or i32 %45, %46
%48 = xor i32 %47, -1
%49 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1
%50 = load i32, ptr %49, align 4
%51 = and i32 %50, %48
store i32 %51, ptr %49, align 4
%52 = load i32, ptr @CLOCAL, align 4
%53 = load i32, ptr @CREAD, align 4
%54 = or i32 %52, %53
%55 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%56 = load i32, ptr %55, align 8
%57 = or i32 %56, %54
store i32 %57, ptr %55, align 8
%58 = load i32, ptr @PARENB, align 4
%59 = load i32, ptr @PARODD, align 4
%60 = or i32 %58, %59
%61 = xor i32 %60, -1
%62 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%63 = load i32, ptr %62, align 8
%64 = and i32 %63, %61
store i32 %64, ptr %62, align 8
%65 = load i32, ptr %7, align 4
%66 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%67 = load i32, ptr %66, align 8
%68 = or i32 %67, %65
store i32 %68, ptr %66, align 8
%69 = load i32, ptr @CSTOPB, align 4
%70 = xor i32 %69, -1
%71 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%72 = load i32, ptr %71, align 8
%73 = and i32 %72, %70
store i32 %73, ptr %71, align 8
%74 = load i32, ptr @CRTSCTS, align 4
%75 = xor i32 %74, -1
%76 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0
%77 = load i32, ptr %76, align 8
%78 = and i32 %77, %75
store i32 %78, ptr %76, align 8
%79 = call i32 @cfmakeraw(ptr noundef %8)
%80 = load i32, ptr %5, align 4
%81 = load i32, ptr @TCSANOW, align 4
%82 = call i64 @tcsetattr(i32 noundef %80, i32 noundef %81, ptr noundef %8)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %15
%85 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %87
86: ; preds = %15
store i32 0, ptr %4, align 4
br label %87
87: ; preds = %86, %84, %13
%88 = load i32, ptr %4, align 4
ret i32 %88
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1
declare i32 @cfmakeraw(ptr noundef) #1
declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpazn92uyc.c'
source_filename = "/tmp/tmpazn92uyc.c"
target datalayout = "e-m:e-p270: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/tmpazn92uyc.c"
target datalayout = "e-m:e-p270: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/tmpucsad9ay.c'
source_filename = "/tmp/tmpucsad9ay.c"
target datalayout = "e-m:e-p270: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/tmpucsad9ay.c"
target datalayout = "e-m:e-p270: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/tmpr8xb48hk.c'
source_filename = "/tmp/tmpr8xb48hk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Usage: %s file b1 [b2 ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr8xb48hk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Usage: %s file b1 [b2 ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplb4u3cno.c'
source_filename = "/tmp/tmplb4u3cno.c"
target datalayout = "e-m:e-p270: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/tmplb4u3cno.c"
target datalayout = "e-m:e-p270: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/tmpdkh89lyc.c'
source_filename = "/tmp/tmpdkh89lyc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"[%i,%i]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sheet_cell_callback(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ugt i64 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %4
%14 = load i64, ptr %5, align 8
%15 = trunc i64 %14 to i32
%16 = load i64, ptr %6, align 8
%17 = trunc i64 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %17)
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load ptr, ptr %7, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22)
br label %24
24: ; preds = %21, %13
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdkh89lyc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"[%i,%i]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sheet_cell_callback(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ugt i64 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %4
%14 = load i64, ptr %5, align 8
%15 = trunc i64 %14 to i32
%16 = load i64, ptr %6, align 8
%17 = trunc i64 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %17)
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load ptr, ptr %7, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22)
br label %24
24: ; preds = %21, %13
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzi2ta8jd.c'
source_filename = "/tmp/tmpzi2ta8jd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzi2ta8jd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %11, ptr noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfhaqbvlt.c'
source_filename = "/tmp/tmpfhaqbvlt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Power(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %25
11: ; preds = %2
store i32 1, ptr %6, align 4
br label %12
12: ; preds = %20, %11
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %7, align 4
%19 = mul nsw i32 %17, %18
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %12, !llvm.loop !6
23: ; preds = %12
%24 = load i32, ptr %4, align 4
store i32 %24, ptr %3, align 4
br label %26
25: ; preds = %2
store i32 1, ptr %3, align 4
br label %26
26: ; preds = %25, %23
%27 = load i32, ptr %3, 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/tmpfhaqbvlt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Power(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %2
store i32 1, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %7, align 4
%18 = mul nsw i32 %16, %17
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %11
%26 = load i32, ptr %4, align 4
store i32 %26, ptr %3, align 4
br label %28
27: ; preds = %2
store i32 1, ptr %3, align 4
br label %28
28: ; preds = %27, %25
%29 = load i32, ptr %3, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp7erflze_.c'
source_filename = "/tmp/tmp7erflze_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.2lf \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7)
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %29, %2
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %27)
br label %29
29: ; preds = %23
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %19, !llvm.loop !6
32: ; preds = %19
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = call double @count_sort_parallel(ptr noundef %33, i32 noundef %34, i32 noundef %35)
store double %36, ptr %10, align 8
store i32 0, ptr %6, align 4
br label %37
37: ; preds = %48, %32
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %51
41: ; preds = %37
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %46)
br label %48
48: ; preds = %41
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
br label %37, !llvm.loop !8
51: ; preds = %37
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%53 = load double, ptr %10, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %53)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare double @count_sort_parallel(ptr noundef, i32 noundef, i32 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/tmp7erflze_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.2lf \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7)
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store i32 0, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %22
22: ; preds = %.lr.ph, %28
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %22
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %2
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = call double @count_sort_parallel(ptr noundef %35, i32 noundef %36, i32 noundef %37)
store double %38, ptr %10, align 8
store i32 0, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph2, label %55
.lr.ph2: ; preds = %34
br label %42
42: ; preds = %.lr.ph2, %49
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %43, i64 %45
%47 = load double, ptr %46, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %47)
br label %49
49: ; preds = %42
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %34
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%57 = load double, ptr %10, align 8
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %57)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare double @count_sort_parallel(ptr noundef, i32 noundef, i32 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/tmptgdy_czi.c'
source_filename = "/tmp/tmptgdy_czi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTRACE_PEEKTEXT = 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/tmptgdy_czi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTRACE_PEEKTEXT = 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/tmpn8use7nw.c'
source_filename = "/tmp/tmpn8use7nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @pal(ptr noundef %5)
ret i32 0
}
declare i32 @gets(ptr noundef) #1
declare i32 @pal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn8use7nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @pal(ptr noundef %5)
ret i32 0
}
declare i32 @gets(ptr noundef) #1
declare i32 @pal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgvj6ftb_.c'
source_filename = "/tmp/tmpgvj6ftb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Enter a word to check if it is a palindrome\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @check(ptr noundef %6, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @check(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/tmpgvj6ftb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Enter a word to check if it is a palindrome\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @check(ptr noundef %6, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @check(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/tmp5b8ury1j.c'
source_filename = "/tmp/tmp5b8ury1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"a=%p,b=%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"---%d,%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"--%d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @swap(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
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/tmp5b8ury1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"a=%p,b=%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"---%d,%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"--%d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @swap(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
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/tmpummwhk06.c'
source_filename = "/tmp/tmpummwhk06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @polindrome()
ret i32 0
}
declare i32 @polindrome(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpummwhk06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @polindrome()
ret i32 0
}
declare i32 @polindrome(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa3ekogpq.c'
source_filename = "/tmp/tmpa3ekogpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.h1 = private unnamed_addr constant [3 x i32] [i32 2, i32 0, i32 2], align 4
@__const.main.h2 = private unnamed_addr constant [12 x i32] [i32 0, i32 1, i32 0, i32 2, i32 1, i32 0, i32 1, i32 3, i32 2, i32 1, i32 2, i32 1], align 16
@.str = private unnamed_addr constant [17 x i8] c"assert fail: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"h1 == 2\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"h2 == 6\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"everything is fine!\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 [3 x i32], align 4
%7 = alloca [12 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
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.h1, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.h2, i64 48, i1 false)
%8 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0
%9 = call i32 @trap(ptr noundef %8, i32 noundef 3)
%10 = icmp eq i32 %9, 2
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef -1) #4
unreachable
14: ; preds = %2
%15 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 0
%16 = call i32 @trap(ptr noundef %15, i32 noundef 12)
%17 = icmp eq i32 %16, 6
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.2)
%20 = call i32 @exit(i32 noundef -1) #4
unreachable
21: ; preds = %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @trap(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 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 = { 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa3ekogpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.h1 = private unnamed_addr constant [3 x i32] [i32 2, i32 0, i32 2], align 4
@__const.main.h2 = private unnamed_addr constant [12 x i32] [i32 0, i32 1, i32 0, i32 2, i32 1, i32 0, i32 1, i32 3, i32 2, i32 1, i32 2, i32 1], align 16
@.str = private unnamed_addr constant [17 x i8] c"assert fail: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"h1 == 2\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"h2 == 6\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"everything is fine!\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 [3 x i32], align 4
%7 = alloca [12 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
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.h1, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.h2, i64 48, i1 false)
%8 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0
%9 = call i32 @trap(ptr noundef %8, i32 noundef 3)
%10 = icmp eq i32 %9, 2
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef -1) #4
unreachable
14: ; preds = %2
%15 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 0
%16 = call i32 @trap(ptr noundef %15, i32 noundef 12)
%17 = icmp eq i32 %16, 6
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.2)
%20 = call i32 @exit(i32 noundef -1) #4
unreachable
21: ; preds = %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @trap(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 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 = { 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph1qdcn27.c'
source_filename = "/tmp/tmph1qdcn27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am a shared library!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1qdcn27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am a shared library!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmlp5ppx8.c'
source_filename = "/tmp/tmpmlp5ppx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_make_tests() #0 {
%1 = call i32 (...) @test_make_comment_entities()
ret void
}
declare i32 @test_make_comment_entities(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmlp5ppx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_make_tests() #0 {
%1 = call i32 (...) @test_make_comment_entities()
ret void
}
declare i32 @test_make_comment_entities(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_skp8b69.c'
source_filename = "/tmp/tmp_skp8b69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M997_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M997_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_skp8b69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M997_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M997_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplt1gla6o.c'
source_filename = "/tmp/tmplt1gla6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"Cholesky decomposition error: Matrix is not positive definite\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @choldc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %96, %3
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %99
15: ; preds = %11
store i32 0, ptr %8, align 4
br label %16
16: ; preds = %92, %15
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %95
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
store double %29, ptr %10, align 8
%30 = load i32, ptr %7, align 4
%31 = sub nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %32
32: ; preds = %57, %20
%33 = load i32, ptr %9, align 4
%34 = icmp sge i32 %33, 0
br i1 %34, label %35, label %60
35: ; preds = %32
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = load double, ptr %10, align 8
%55 = fneg double %44
%56 = call double @llvm.fmuladd.f64(double %55, double %53, double %54)
store double %56, ptr %10, align 8
br label %57
57: ; preds = %35
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %9, align 4
br label %32, !llvm.loop !6
60: ; preds = %32
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %8, align 4
%63 = icmp eq i32 %61, %62
br i1 %63, label %64, label %75
64: ; preds = %60
%65 = load double, ptr %10, align 8
%66 = fcmp ole double %65, 0.000000e+00
br i1 %66, label %67, label %68
67: ; preds = %64
call void @calcerror(ptr noundef @.str)
br label %68
68: ; preds = %67, %64
%69 = load double, ptr %10, align 8
%70 = call double @sqrt(double noundef %69) #4
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
store double %70, ptr %74, align 8
br label %91
75: ; preds = %60
%76 = load double, ptr %10, align 8
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %77, i64 %79
%81 = load double, ptr %80, align 8
%82 = fdiv double %76, %81
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %7, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
store double %82, ptr %90, align 8
br label %91
91: ; preds = %75, %68
br label %92
92: ; preds = %91
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %8, align 4
br label %16, !llvm.loop !8
95: ; preds = %16
br label %96
96: ; preds = %95
%97 = load i32, ptr %7, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %7, align 4
br label %11, !llvm.loop !9
99: ; preds = %11
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare void @calcerror(ptr noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplt1gla6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"Cholesky decomposition error: Matrix is not positive definite\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @choldc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph5, label %104
.lr.ph5: ; preds = %3
br label %14
14: ; preds = %.lr.ph5, %98
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph2, label %97
.lr.ph2: ; preds = %14
br label %18
18: ; preds = %.lr.ph2, %91
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
store double %27, ptr %10, align 8
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %.lr.ph, label %59
.lr.ph: ; preds = %18
br label %32
32: ; preds = %.lr.ph, %54
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %9, 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 %4, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = load double, ptr %10, align 8
%52 = fneg double %41
%53 = call double @llvm.fmuladd.f64(double %52, double %50, double %51)
store double %53, ptr %10, align 8
br label %54
54: ; preds = %32
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp sge i32 %57, 0
br i1 %58, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %59
59: ; preds = %._crit_edge, %18
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %74
63: ; preds = %59
%64 = load double, ptr %10, align 8
%65 = fcmp ole double %64, 0.000000e+00
br i1 %65, label %66, label %67
66: ; preds = %63
call void @calcerror(ptr noundef @.str)
br label %67
67: ; preds = %66, %63
%68 = load double, ptr %10, align 8
%69 = call double @sqrt(double noundef %68) #4
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
store double %69, ptr %73, align 8
br label %90
74: ; preds = %59
%75 = load double, ptr %10, align 8
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %76, i64 %78
%80 = load double, ptr %79, align 8
%81 = fdiv double %75, %80
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
%86 = load ptr, ptr %85, align 8
%87 = load i32, ptr %7, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
store double %81, ptr %89, align 8
br label %90
90: ; preds = %74, %67
br label %91
91: ; preds = %90
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %8, align 4
%94 = load i32, ptr %8, align 4
%95 = load i32, ptr %5, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %91
br label %97
97: ; preds = %._crit_edge3, %14
br label %98
98: ; preds = %97
%99 = load i32, ptr %7, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %7, align 4
%101 = load i32, ptr %7, align 4
%102 = load i32, ptr %5, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %14, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %98
br label %104
104: ; preds = %._crit_edge6, %3
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare void @calcerror(ptr noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmps6wloxue.c'
source_filename = "/tmp/tmps6wloxue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"progress bar error\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"|%5.1f%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @simpleProgress(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sitofp i32 %9 to float
%11 = load i32, ptr %5, align 4
%12 = sitofp i32 %11 to float
%13 = fdiv float %10, %12
%14 = fmul float %13, 1.000000e+02
store float %14, ptr %8, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17, %2
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %52
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = mul nsw i32 %24, 20
%26 = load i32, ptr %5, align 4
%27 = sdiv i32 %25, %26
store i32 %27, ptr %7, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %29
29: ; preds = %35, %23
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %35
35: ; preds = %33
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %29, !llvm.loop !6
38: ; preds = %29
%39 = load i32, ptr %7, align 4
store i32 %39, ptr %6, align 4
br label %40
40: ; preds = %45, %38
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %41, 20
br i1 %42, label %43, label %48
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
45: ; preds = %43
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
br label %40, !llvm.loop !8
48: ; preds = %40
%49 = load float, ptr %8, align 4
%50 = fpext float %49 to double
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %50)
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %48, %21
%53 = load i32, ptr %3, align 4
ret i32 %53
}
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/tmps6wloxue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"progress bar error\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"|%5.1f%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @simpleProgress(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sitofp i32 %9 to float
%11 = load i32, ptr %5, align 4
%12 = sitofp i32 %11 to float
%13 = fdiv float %10, %12
%14 = fmul float %13, 1.000000e+02
store float %14, ptr %8, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17, %2
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %55
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = mul nsw i32 %24, 20
%26 = load i32, ptr %5, align 4
%27 = sdiv i32 %25, %26
store i32 %27, ptr %7, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph, label %40
.lr.ph: ; preds = %23
br label %32
32: ; preds = %.lr.ph, %34
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %34
34: ; preds = %32
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %23
%41 = load i32, ptr %7, align 4
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %42, 20
br i1 %43, label %.lr.ph2, label %51
.lr.ph2: ; preds = %40
br label %44
44: ; preds = %.lr.ph2, %46
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %46
46: ; preds = %44
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %49, 20
br i1 %50, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %51
51: ; preds = %._crit_edge3, %40
%52 = load float, ptr %8, align 4
%53 = fpext float %52 to double
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %53)
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %51, %21
%56 = load i32, ptr %3, align 4
ret i32 %56
}
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/tmpjsjn0ijx.c'
source_filename = "/tmp/tmpjsjn0ijx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sh_verrx(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = call i32 @exvwarning(i32 noundef -1, ptr noundef %7, i32 noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @sh_exit(i32 noundef %10)
ret void
}
declare i32 @exvwarning(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sh_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjsjn0ijx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sh_verrx(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = call i32 @exvwarning(i32 noundef -1, ptr noundef %7, i32 noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @sh_exit(i32 noundef %10)
ret void
}
declare i32 @exvwarning(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sh_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2d6l9q9.c'
source_filename = "/tmp/tmpw2d6l9q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"fcntl F_GETFL error\00", align 1
@F_SETFL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"fcntl F_SETFL error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clr_fl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @F_GETFL, align 4
%8 = call i64 @fcntl(i32 noundef %6, i32 noundef %7, i32 noundef 0)
%9 = trunc i64 %8 to i32
store i32 %9, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = load i32, ptr %4, align 4
%15 = xor i32 %14, -1
%16 = load i32, ptr %5, align 4
%17 = and i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr @F_SETFL, align 4
%20 = load i32, ptr %5, align 4
%21 = call i64 @fcntl(i32 noundef %18, i32 noundef %19, i32 noundef %20)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %13
%24 = call i32 @perror(ptr noundef @.str.1)
br label %25
25: ; preds = %23, %13
ret void
}
declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2d6l9q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"fcntl F_GETFL error\00", align 1
@F_SETFL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"fcntl F_SETFL error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clr_fl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @F_GETFL, align 4
%8 = call i64 @fcntl(i32 noundef %6, i32 noundef %7, i32 noundef 0)
%9 = trunc i64 %8 to i32
store i32 %9, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = load i32, ptr %4, align 4
%15 = xor i32 %14, -1
%16 = load i32, ptr %5, align 4
%17 = and i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr @F_SETFL, align 4
%20 = load i32, ptr %5, align 4
%21 = call i64 @fcntl(i32 noundef %18, i32 noundef %19, i32 noundef %20)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %13
%24 = call i32 @perror(ptr noundef @.str.1)
br label %25
25: ; preds = %23, %13
ret void
}
declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsjdx4ots.c'
source_filename = "/tmp/tmpsjdx4ots.c"
target datalayout = "e-m:e-p270: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/tmpsjdx4ots.c"
target datalayout = "e-m:e-p270: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/tmpmcu6zxvf.c'
source_filename = "/tmp/tmpmcu6zxvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08zx: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_binary(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %13
13: ; preds = %105, %3
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %108
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %8, align 8
%20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str, i64 noundef %19)
store i32 0, ptr %9, align 4
br label %21
21: ; preds = %52, %17
%22 = load i32, ptr %9, align 4
%23 = icmp ult i32 %22, 16
br i1 %23, label %24, label %55
24: ; preds = %21
%25 = load i64, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = zext i32 %26 to i64
%28 = add i64 %25, %27
%29 = load i64, ptr %6, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %31, label %41
31: ; preds = %24
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = zext i32 %35 to i64
%37 = add i64 %34, %36
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.1, i32 noundef %39)
br label %44
41: ; preds = %24
%42 = load ptr, ptr %4, align 8
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.2)
br label %44
44: ; preds = %41, %31
%45 = load i32, ptr %9, align 4
%46 = urem i32 %45, 16
%47 = icmp eq i32 %46, 7
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.3)
br label %51
51: ; preds = %48, %44
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add i32 %53, 1
store i32 %54, ptr %9, align 4
br label %21, !llvm.loop !6
55: ; preds = %21
%56 = load ptr, ptr %4, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.4)
store i32 0, ptr %10, align 4
br label %58
58: ; preds = %99, %55
%59 = load i32, ptr %10, align 4
%60 = icmp ult i32 %59, 16
br i1 %60, label %61, label %102
61: ; preds = %58
%62 = load ptr, ptr %7, align 8
%63 = load i64, ptr %8, align 8
%64 = load i32, ptr %10, align 4
%65 = zext i32 %64 to i64
%66 = add i64 %63, %65
%67 = getelementptr inbounds i32, ptr %62, i64 %66
%68 = load i32, ptr %67, align 4
store i32 %68, ptr %11, align 4
%69 = load i64, ptr %8, align 8
%70 = load i32, ptr %10, align 4
%71 = zext i32 %70 to i64
%72 = add i64 %69, %71
%73 = load i64, ptr %6, align 8
%74 = icmp ult i64 %72, %73
br i1 %74, label %75, label %88
75: ; preds = %61
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %11, align 4
%78 = icmp sle i32 32, %77
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load i32, ptr %11, align 4
%81 = icmp slt i32 %80, 127
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = load i32, ptr %11, align 4
br label %85
84: ; preds = %79, %75
br label %85
85: ; preds = %84, %82
%86 = phi i32 [ %83, %82 ], [ 46, %84 ]
%87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.5, i32 noundef %86)
br label %91
88: ; preds = %61
%89 = load ptr, ptr %4, align 8
%90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.3)
br label %91
91: ; preds = %88, %85
%92 = load i32, ptr %10, align 4
%93 = urem i32 %92, 16
%94 = icmp eq i32 %93, 7
br i1 %94, label %95, label %98
95: ; preds = %91
%96 = load ptr, ptr %4, align 8
%97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.3)
br label %98
98: ; preds = %95, %91
br label %99
99: ; preds = %98
%100 = load i32, ptr %10, align 4
%101 = add i32 %100, 1
store i32 %101, ptr %10, align 4
br label %58, !llvm.loop !8
102: ; preds = %58
%103 = load ptr, ptr %4, align 8
%104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.6)
br label %105
105: ; preds = %102
%106 = load i64, ptr %8, align 8
%107 = add i64 %106, 16
store i64 %107, ptr %8, align 8
br label %13, !llvm.loop !9
108: ; preds = %13
%109 = load i64, ptr %6, align 8
%110 = urem i64 %109, 16
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %108
%113 = load ptr, ptr %4, align 8
%114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.6)
br label %115
115: ; preds = %112, %108
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmcu6zxvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08zx: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_binary(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %7, align 8
store i64 0, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph5, label %112
.lr.ph5: ; preds = %3
br label %16
16: ; preds = %.lr.ph5, %106
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %8, align 8
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str, i64 noundef %18)
store i32 0, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp ult i32 %20, 16
br i1 %21, label %.lr.ph, label %55
.lr.ph: ; preds = %16
br label %22
22: ; preds = %.lr.ph, %50
%23 = load i64, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = zext i32 %24 to i64
%26 = add i64 %23, %25
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %29, label %39
29: ; preds = %22
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %7, align 8
%32 = load i64, ptr %8, align 8
%33 = load i32, ptr %9, align 4
%34 = zext i32 %33 to i64
%35 = add i64 %32, %34
%36 = getelementptr inbounds i32, ptr %31, i64 %35
%37 = load i32, ptr %36, align 4
%38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.1, i32 noundef %37)
br label %42
39: ; preds = %22
%40 = load ptr, ptr %4, align 8
%41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.2)
br label %42
42: ; preds = %39, %29
%43 = load i32, ptr %9, align 4
%44 = urem i32 %43, 16
%45 = icmp eq i32 %44, 7
br i1 %45, label %46, label %49
46: ; preds = %42
%47 = load ptr, ptr %4, align 8
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.3)
br label %49
49: ; preds = %46, %42
br label %50
50: ; preds = %49
%51 = load i32, ptr %9, align 4
%52 = add i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp ult i32 %53, 16
br i1 %54, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %55
55: ; preds = %._crit_edge, %16
%56 = load ptr, ptr %4, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.4)
store i32 0, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp ult i32 %58, 16
br i1 %59, label %.lr.ph2, label %103
.lr.ph2: ; preds = %55
br label %60
60: ; preds = %.lr.ph2, %98
%61 = load ptr, ptr %7, align 8
%62 = load i64, ptr %8, align 8
%63 = load i32, ptr %10, align 4
%64 = zext i32 %63 to i64
%65 = add i64 %62, %64
%66 = getelementptr inbounds i32, ptr %61, i64 %65
%67 = load i32, ptr %66, align 4
store i32 %67, ptr %11, align 4
%68 = load i64, ptr %8, align 8
%69 = load i32, ptr %10, align 4
%70 = zext i32 %69 to i64
%71 = add i64 %68, %70
%72 = load i64, ptr %6, align 8
%73 = icmp ult i64 %71, %72
br i1 %73, label %74, label %87
74: ; preds = %60
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %11, align 4
%77 = icmp sle i32 32, %76
br i1 %77, label %78, label %83
78: ; preds = %74
%79 = load i32, ptr %11, align 4
%80 = icmp slt i32 %79, 127
br i1 %80, label %81, label %83
81: ; preds = %78
%82 = load i32, ptr %11, align 4
br label %84
83: ; preds = %78, %74
br label %84
84: ; preds = %83, %81
%85 = phi i32 [ %82, %81 ], [ 46, %83 ]
%86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.5, i32 noundef %85)
br label %90
87: ; preds = %60
%88 = load ptr, ptr %4, align 8
%89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.3)
br label %90
90: ; preds = %87, %84
%91 = load i32, ptr %10, align 4
%92 = urem i32 %91, 16
%93 = icmp eq i32 %92, 7
br i1 %93, label %94, label %97
94: ; preds = %90
%95 = load ptr, ptr %4, align 8
%96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.3)
br label %97
97: ; preds = %94, %90
br label %98
98: ; preds = %97
%99 = load i32, ptr %10, align 4
%100 = add i32 %99, 1
store i32 %100, ptr %10, align 4
%101 = load i32, ptr %10, align 4
%102 = icmp ult i32 %101, 16
br i1 %102, label %60, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %98
br label %103
103: ; preds = %._crit_edge3, %55
%104 = load ptr, ptr %4, align 8
%105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.6)
br label %106
106: ; preds = %103
%107 = load i64, ptr %8, align 8
%108 = add i64 %107, 16
store i64 %108, ptr %8, align 8
%109 = load i64, ptr %8, align 8
%110 = load i64, ptr %6, align 8
%111 = icmp ult i64 %109, %110
br i1 %111, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %106
br label %112
112: ; preds = %._crit_edge6, %3
%113 = load i64, ptr %6, align 8
%114 = urem i64 %113, 16
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %119
116: ; preds = %112
%117 = load ptr, ptr %4, align 8
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.6)
br label %119
119: ; preds = %116, %112
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpu9h_0len.c'
source_filename = "/tmp/tmpu9h_0len.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"> \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"fgets\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4096 x i8], align 16
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 (...) @init_job()
%5 = call i32 (...) @install_signal_handler()
br label %6
6: ; preds = %27, %0
%7 = call i32 @printf(ptr noundef @.str)
%8 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %8, i32 noundef 4096, i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %6
%14 = load i32, ptr @stdin, align 4
%15 = call i64 @ferror(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = call i32 @perror(ptr noundef @.str.1)
%19 = call i32 (...) @free_job()
store i32 -1, ptr %1, align 4
br label %30
20: ; preds = %13
br label %21
21: ; preds = %20, %6
%22 = load i32, ptr @stdin, align 4
%23 = call i64 @feof(i32 noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (...) @free_job()
store i32 0, ptr %1, align 4
br label %30
27: ; preds = %21
%28 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%29 = call i32 @eval(ptr noundef %28)
br label %6
30: ; preds = %25, %17
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @init_job(...) #1
declare i32 @install_signal_handler(...) #1
declare i32 @printf(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ferror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @free_job(...) #1
declare i64 @feof(i32 noundef) #1
declare i32 @eval(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu9h_0len.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"> \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"fgets\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4096 x i8], align 16
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 (...) @init_job()
%5 = call i32 (...) @install_signal_handler()
br label %6
6: ; preds = %27, %0
%7 = call i32 @printf(ptr noundef @.str)
%8 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %8, i32 noundef 4096, i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %6
%14 = load i32, ptr @stdin, align 4
%15 = call i64 @ferror(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = call i32 @perror(ptr noundef @.str.1)
%19 = call i32 (...) @free_job()
store i32 -1, ptr %1, align 4
br label %30
20: ; preds = %13
br label %21
21: ; preds = %20, %6
%22 = load i32, ptr @stdin, align 4
%23 = call i64 @feof(i32 noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (...) @free_job()
store i32 0, ptr %1, align 4
br label %30
27: ; preds = %21
%28 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%29 = call i32 @eval(ptr noundef %28)
br label %6
30: ; preds = %25, %17
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @init_job(...) #1
declare i32 @install_signal_handler(...) #1
declare i32 @printf(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ferror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @free_job(...) #1
declare i64 @feof(i32 noundef) #1
declare i32 @eval(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpizl2o_5t.c'
source_filename = "/tmp/tmpizl2o_5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"XScreenResourceString called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XScreenResourceString() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpizl2o_5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"XScreenResourceString called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XScreenResourceString() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq43lx29u.c'
source_filename = "/tmp/tmpq43lx29u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%d %d %d %d %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_callfunc8v(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ...) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %15, align 4
%24 = load i32, ptr %16, align 4
%25 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = load i32, ptr %10, align 4
ret i32 %26
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq43lx29u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%d %d %d %d %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_callfunc8v(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ...) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %15, align 4
%24 = load i32, ptr %16, align 4
%25 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = load i32, ptr %10, align 4
ret i32 %26
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz5475ww5.c'
source_filename = "/tmp/tmpz5475ww5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fsync(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i64 0, ptr @errno, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5475ww5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fsync(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i64 0, ptr @errno, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1w4bzym2.c'
source_filename = "/tmp/tmp1w4bzym2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clEnqueueCopyBuffer(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [9 x i32], align 16
store i64 %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store i64 %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%20 = load i64, ptr %10, align 8
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
store i32 %21, ptr %22, align 16
%23 = load i64, ptr %11, align 8
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = load i64, ptr %12, align 8
%27 = trunc i64 %26 to i32
%28 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 2
store i32 %27, ptr %28, align 8
%29 = load i64, ptr %13, align 8
%30 = trunc i64 %29 to i32
%31 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 3
store i32 %30, ptr %31, align 4
%32 = load i64, ptr %14, align 8
%33 = trunc i64 %32 to i32
%34 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 4
store i32 %33, ptr %34, align 16
%35 = load i64, ptr %15, align 8
%36 = trunc i64 %35 to i32
%37 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 5
store i32 %36, ptr %37, align 4
%38 = load i64, ptr %16, align 8
%39 = trunc i64 %38 to i32
%40 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 6
store i32 %39, ptr %40, align 8
%41 = load ptr, ptr %17, align 8
%42 = ptrtoint ptr %41 to i32
%43 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 7
store i32 %42, ptr %43, align 4
%44 = load ptr, ptr %18, align 8
%45 = ptrtoint ptr %44 to i32
%46 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 8
store i32 %45, ptr %46, align 16
%47 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
%48 = call i32 @syscall(i32 noundef 325, i32 noundef 1057, ptr noundef %47)
ret i32 %48
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1w4bzym2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clEnqueueCopyBuffer(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [9 x i32], align 16
store i64 %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store i64 %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%20 = load i64, ptr %10, align 8
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
store i32 %21, ptr %22, align 16
%23 = load i64, ptr %11, align 8
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = load i64, ptr %12, align 8
%27 = trunc i64 %26 to i32
%28 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 2
store i32 %27, ptr %28, align 8
%29 = load i64, ptr %13, align 8
%30 = trunc i64 %29 to i32
%31 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 3
store i32 %30, ptr %31, align 4
%32 = load i64, ptr %14, align 8
%33 = trunc i64 %32 to i32
%34 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 4
store i32 %33, ptr %34, align 16
%35 = load i64, ptr %15, align 8
%36 = trunc i64 %35 to i32
%37 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 5
store i32 %36, ptr %37, align 4
%38 = load i64, ptr %16, align 8
%39 = trunc i64 %38 to i32
%40 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 6
store i32 %39, ptr %40, align 8
%41 = load ptr, ptr %17, align 8
%42 = ptrtoint ptr %41 to i32
%43 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 7
store i32 %42, ptr %43, align 4
%44 = load ptr, ptr %18, align 8
%45 = ptrtoint ptr %44 to i32
%46 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 8
store i32 %45, ptr %46, align 16
%47 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
%48 = call i32 @syscall(i32 noundef 325, i32 noundef 1057, ptr noundef %47)
ret i32 %48
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw_8k6s1q.c'
source_filename = "/tmp/tmpw_8k6s1q.c"
target datalayout = "e-m:e-p270: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/tmpw_8k6s1q.c"
target datalayout = "e-m:e-p270: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/tmpy9_mtxql.c'
source_filename = "/tmp/tmpy9_mtxql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"ERROR: Insufficient memory for array of pointers\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c" to the spectra.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @new_float2(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr null, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 8, %6
%8 = trunc i64 %7 to i32
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %18, label %13
13: ; preds = %1
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1)
store ptr null, ptr %2, align 8
br label %20
18: ; preds = %1
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %2, align 8
br label %20
20: ; preds = %18, %13
%21 = load ptr, ptr %2, align 8
ret ptr %21
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy9_mtxql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"ERROR: Insufficient memory for array of pointers\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c" to the spectra.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @new_float2(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr null, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 8, %6
%8 = trunc i64 %7 to i32
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %18, label %13
13: ; preds = %1
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1)
store ptr null, ptr %2, align 8
br label %20
18: ; preds = %1
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %2, align 8
br label %20
20: ; preds = %18, %13
%21 = load ptr, ptr %2, align 8
ret ptr %21
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppjs67w_e.c'
source_filename = "/tmp/tmppjs67w_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pbst_free(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 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ false, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppjs67w_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pbst_free(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 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ false, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwmngech_.c'
source_filename = "/tmp/tmpwmngech_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@strtok.ptr = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr @strtok.ptr, align 8
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr @strtok.ptr, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %15
store ptr null, ptr %3, align 8
br label %40
19: ; preds = %15, %12
%20 = load ptr, ptr @strtok.ptr, align 8
%21 = load ptr, ptr %5, align 8
%22 = call i32 @strspn(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr @strtok.ptr, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr @strtok.ptr, align 8
%26 = load ptr, ptr @strtok.ptr, align 8
%27 = load ptr, ptr %5, align 8
%28 = call ptr @strpbrk(ptr noundef %26, ptr noundef %27)
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %36
31: ; preds = %19
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %7, align 8
store i8 0, ptr %32, align 1
%34 = load ptr, ptr @strtok.ptr, align 8
store ptr %34, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
store ptr %35, ptr @strtok.ptr, align 8
br label %38
36: ; preds = %19
%37 = load ptr, ptr @strtok.ptr, align 8
store ptr %37, ptr %6, align 8
store ptr null, ptr @strtok.ptr, align 8
br label %38
38: ; preds = %36, %31
%39 = load ptr, ptr %6, align 8
store ptr %39, ptr %3, align 8
br label %40
40: ; preds = %38, %18
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @strspn(ptr noundef, ptr noundef) #1
declare ptr @strpbrk(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/tmpwmngech_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@strtok.ptr = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr @strtok.ptr, align 8
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr @strtok.ptr, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %15
store ptr null, ptr %3, align 8
br label %40
19: ; preds = %15, %12
%20 = load ptr, ptr @strtok.ptr, align 8
%21 = load ptr, ptr %5, align 8
%22 = call i32 @strspn(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr @strtok.ptr, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr @strtok.ptr, align 8
%26 = load ptr, ptr @strtok.ptr, align 8
%27 = load ptr, ptr %5, align 8
%28 = call ptr @strpbrk(ptr noundef %26, ptr noundef %27)
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %36
31: ; preds = %19
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %7, align 8
store i8 0, ptr %32, align 1
%34 = load ptr, ptr @strtok.ptr, align 8
store ptr %34, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
store ptr %35, ptr @strtok.ptr, align 8
br label %38
36: ; preds = %19
%37 = load ptr, ptr @strtok.ptr, align 8
store ptr %37, ptr %6, align 8
store ptr null, ptr @strtok.ptr, align 8
br label %38
38: ; preds = %36, %31
%39 = load ptr, ptr %6, align 8
store ptr %39, ptr %3, align 8
br label %40
40: ; preds = %38, %18
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @strspn(ptr noundef, ptr noundef) #1
declare ptr @strpbrk(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/tmphawbc0ns.c'
source_filename = "/tmp/tmphawbc0ns.c"
target datalayout = "e-m:e-p270: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/tmphawbc0ns.c"
target datalayout = "e-m:e-p270: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/tmp0c36x1h1.c'
source_filename = "/tmp/tmp0c36x1h1.c"
target datalayout = "e-m:e-p270: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/tmp0c36x1h1.c"
target datalayout = "e-m:e-p270: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/tmpy7l1ehuu.c'
source_filename = "/tmp/tmpy7l1ehuu.c"
target datalayout = "e-m:e-p270: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/tmpy7l1ehuu.c"
target datalayout = "e-m:e-p270: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/tmpnzl1y4ml.c'
source_filename = "/tmp/tmpnzl1y4ml.c"
target datalayout = "e-m:e-p270: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/tmpnzl1y4ml.c"
target datalayout = "e-m:e-p270: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/tmp24p2mwe1.c'
source_filename = "/tmp/tmp24p2mwe1.c"
target datalayout = "e-m:e-p270: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/tmp24p2mwe1.c"
target datalayout = "e-m:e-p270: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/tmpofbrp31q.c'
source_filename = "/tmp/tmpofbrp31q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Warning! : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @logwarn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = call i32 @strcat(i8 noundef signext %6, i8 noundef signext %8)
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i32 @klog(i8 noundef signext %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
ret i32 %13
}
declare i32 @strcat(i8 noundef signext, i8 noundef signext) #1
declare i32 @klog(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/tmpofbrp31q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Warning! : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @logwarn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = call i32 @strcat(i8 noundef signext %6, i8 noundef signext %8)
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i32 @klog(i8 noundef signext %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
ret i32 %13
}
declare i32 @strcat(i8 noundef signext, i8 noundef signext) #1
declare i32 @klog(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/tmprlnhyxzo.c'
source_filename = "/tmp/tmprlnhyxzo.c"
target datalayout = "e-m:e-p270: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/tmprlnhyxzo.c"
target datalayout = "e-m:e-p270: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/tmpoqlf0vhe.c'
source_filename = "/tmp/tmpoqlf0vhe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vwarnx(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @vfdprintf(i32 noundef 2, ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @vfdprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqlf0vhe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vwarnx(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @vfdprintf(i32 noundef 2, ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @vfdprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0y44r1zc.c'
source_filename = "/tmp/tmp0y44r1zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfArr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8, %2
br label %27
12: ; preds = %8
store i32 0, ptr %5, align 4
br label %13
13: ; preds = %24, %12
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %13, !llvm.loop !6
27: ; preds = %11, %13
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/tmp0y44r1zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfArr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8, %2
br label %29
12: ; preds = %8
store i32 0, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %23
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %23
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %12
br label %29
29: ; preds = %.loopexit, %11
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/tmpye87z7cn.c'
source_filename = "/tmp/tmpye87z7cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @macro_new_test()
%2 = call i32 (...) @macro_new_table_test()
ret i32 0
}
declare i32 @macro_new_test(...) #1
declare i32 @macro_new_table_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpye87z7cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @macro_new_test()
%2 = call i32 (...) @macro_new_table_test()
ret i32 0
}
declare i32 @macro_new_test(...) #1
declare i32 @macro_new_table_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbkmtr22_.c'
source_filename = "/tmp/tmpbkmtr22_.c"
target datalayout = "e-m:e-p270: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.test12.a = private unnamed_addr constant [5 x i8] c"12321", align 1
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test12() #0 {
%1 = alloca [5 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test12.a, i64 5, i1 false)
%2 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @test_palindrome(ptr noundef %2, i32 noundef 5, i32 noundef 1)
%4 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @test_palindrome(ptr noundef %4, i32 noundef 5, i32 noundef 2)
%6 = call i32 @printf(ptr noundef @.str)
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 @test_palindrome(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbkmtr22_.c"
target datalayout = "e-m:e-p270: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.test12.a = private unnamed_addr constant [5 x i8] c"12321", align 1
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test12() #0 {
%1 = alloca [5 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test12.a, i64 5, i1 false)
%2 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @test_palindrome(ptr noundef %2, i32 noundef 5, i32 noundef 1)
%4 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @test_palindrome(ptr noundef %4, i32 noundef 5, i32 noundef 2)
%6 = call i32 @printf(ptr noundef @.str)
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 @test_palindrome(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptzy4hvpt.c'
source_filename = "/tmp/tmptzy4hvpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @f(double noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
switch i32 %8, label %25 [
i32 0, label %9
i32 1, label %13
i32 2, label %17
i32 3, label %21
]
9: ; preds = %3
%10 = load double, ptr %5, align 8
%11 = load double, ptr %6, align 8
%12 = call double @a(double noundef %10, double noundef %11)
store double %12, ptr %4, align 8
br label %26
13: ; preds = %3
%14 = load double, ptr %5, align 8
%15 = load double, ptr %6, align 8
%16 = call double @b(double noundef %14, double noundef %15)
store double %16, ptr %4, align 8
br label %26
17: ; preds = %3
%18 = load double, ptr %5, align 8
%19 = load double, ptr %6, align 8
%20 = call double @c(double noundef %18, double noundef %19)
store double %20, ptr %4, align 8
br label %26
21: ; preds = %3
%22 = load double, ptr %5, align 8
%23 = load double, ptr %6, align 8
%24 = call double @d(double noundef %22, double noundef %23)
store double %24, ptr %4, align 8
br label %26
25: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %26
26: ; preds = %25, %21, %17, %13, %9
%27 = load double, ptr %4, align 8
ret double %27
}
declare double @a(double noundef, double noundef) #1
declare double @b(double noundef, double noundef) #1
declare double @c(double noundef, double noundef) #1
declare double @d(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptzy4hvpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @f(double noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
switch i32 %8, label %25 [
i32 0, label %9
i32 1, label %13
i32 2, label %17
i32 3, label %21
]
9: ; preds = %3
%10 = load double, ptr %5, align 8
%11 = load double, ptr %6, align 8
%12 = call double @a(double noundef %10, double noundef %11)
store double %12, ptr %4, align 8
br label %26
13: ; preds = %3
%14 = load double, ptr %5, align 8
%15 = load double, ptr %6, align 8
%16 = call double @b(double noundef %14, double noundef %15)
store double %16, ptr %4, align 8
br label %26
17: ; preds = %3
%18 = load double, ptr %5, align 8
%19 = load double, ptr %6, align 8
%20 = call double @c(double noundef %18, double noundef %19)
store double %20, ptr %4, align 8
br label %26
21: ; preds = %3
%22 = load double, ptr %5, align 8
%23 = load double, ptr %6, align 8
%24 = call double @d(double noundef %22, double noundef %23)
store double %24, ptr %4, align 8
br label %26
25: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %26
26: ; preds = %25, %21, %17, %13, %9
%27 = load double, ptr %4, align 8
ret double %27
}
declare double @a(double noundef, double noundef) #1
declare double @b(double noundef, double noundef) #1
declare double @c(double noundef, double noundef) #1
declare double @d(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpamufrl5j.c'
source_filename = "/tmp/tmpamufrl5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cw_save_file(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
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %5, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %23
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %8, align 8
%19 = call i32 @fwrite(ptr noundef %16, i32 noundef 1, i32 noundef %17, ptr noundef %18)
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i32, ptr %9, align 4
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %15, %14
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamufrl5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cw_save_file(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
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %5, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %23
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %8, align 8
%19 = call i32 @fwrite(ptr noundef %16, i32 noundef 1, i32 noundef %17, ptr noundef %18)
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i32, ptr %9, align 4
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %15, %14
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4vml202c.c'
source_filename = "/tmp/tmp4vml202c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_expr_1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @my_parse_nbr(ptr noundef %6)
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %31, %1
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %9, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 42
br i1 %14, label %29, label %15
15: ; preds = %8
%16 = load ptr, ptr %2, align 8
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 47
br i1 %21, label %29, label %22
22: ; preds = %15
%23 = load ptr, ptr %2, align 8
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 37
br label %29
29: ; preds = %22, %15, %8
%30 = phi i1 [ true, %15 ], [ true, %8 ], [ %28, %22 ]
br i1 %30, label %31, label %46
31: ; preds = %29
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
store i8 %35, ptr %5, align 1
%36 = load ptr, ptr %2, align 8
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %2, align 8
store ptr %38, ptr %39, align 8
%40 = load ptr, ptr %2, align 8
%41 = call i32 @my_parse_nbr(ptr noundef %40)
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = load i8, ptr %5, align 1
%45 = call i32 @do_op(i32 noundef %42, i32 noundef %43, i8 noundef signext %44)
store i32 %45, ptr %3, align 4
br label %8, !llvm.loop !6
46: ; preds = %29
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @my_parse_nbr(ptr noundef) #1
declare i32 @do_op(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4vml202c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_expr_1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @my_parse_nbr(ptr noundef %6)
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %31, %1
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %9, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 42
br i1 %14, label %29, label %15
15: ; preds = %8
%16 = load ptr, ptr %2, align 8
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 47
br i1 %21, label %29, label %22
22: ; preds = %15
%23 = load ptr, ptr %2, align 8
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 37
br label %29
29: ; preds = %22, %15, %8
%30 = phi i1 [ true, %15 ], [ true, %8 ], [ %28, %22 ]
br i1 %30, label %31, label %46
31: ; preds = %29
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
store i8 %35, ptr %5, align 1
%36 = load ptr, ptr %2, align 8
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %2, align 8
store ptr %38, ptr %39, align 8
%40 = load ptr, ptr %2, align 8
%41 = call i32 @my_parse_nbr(ptr noundef %40)
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = load i8, ptr %5, align 1
%45 = call i32 @do_op(i32 noundef %42, i32 noundef %43, i8 noundef signext %44)
store i32 %45, ptr %3, align 4
br label %8, !llvm.loop !6
46: ; preds = %29
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @my_parse_nbr(ptr noundef) #1
declare i32 @do_op(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa73gn_k4.c'
source_filename = "/tmp/tmpa73gn_k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GOC \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"GONC \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%04X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @desas3(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [40 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = and i32 %11, 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str)
br label %20
17: ; preds = %3
%18 = load ptr, ptr %6, align 8
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str.1)
br label %20
20: ; preds = %17, %14
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
%23 = load i32, ptr %22, align 4
%24 = ashr i32 %23, 3
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp sgt i32 %25, 63
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %28, 128
store i32 %29, ptr %7, align 4
br label %30
30: ; preds = %27, %20
%31 = getelementptr inbounds [40 x i8], ptr %8, i64 0, i64 0
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %32, %33
%35 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str.2, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds [40 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
ret i32 1
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa73gn_k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GOC \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"GONC \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%04X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @desas3(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [40 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = and i32 %11, 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str)
br label %20
17: ; preds = %3
%18 = load ptr, ptr %6, align 8
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str.1)
br label %20
20: ; preds = %17, %14
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
%23 = load i32, ptr %22, align 4
%24 = ashr i32 %23, 3
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp sgt i32 %25, 63
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %28, 128
store i32 %29, ptr %7, align 4
br label %30
30: ; preds = %27, %20
%31 = getelementptr inbounds [40 x i8], ptr %8, i64 0, i64 0
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %32, %33
%35 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str.2, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds [40 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
ret i32 1
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprvferoo5.c'
source_filename = "/tmp/tmprvferoo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @connect_to_compiler()
br label %3
3: ; preds = %6, %0
%4 = call i64 (...) @update_code()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %3
br label %3, !llvm.loop !6
7: ; preds = %3
%8 = call i32 (...) @disconnect_from_compiler()
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @connect_to_compiler(...) #1
declare i64 @update_code(...) #1
declare i32 @disconnect_from_compiler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmprvferoo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @connect_to_compiler()
br label %3
3: ; preds = %3, %0
%4 = call i64 (...) @update_code()
%5 = icmp ne i64 %4, 0
br i1 %5, label %3, label %6, !llvm.loop !6
6: ; preds = %3
%7 = call i32 (...) @disconnect_from_compiler()
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @connect_to_compiler(...) #1
declare i64 @update_code(...) #1
declare i32 @disconnect_from_compiler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpviw8vkzm.c'
source_filename = "/tmp/tmpviw8vkzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @atof(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca double, align 8
store ptr %0, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %14, %1
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %8
br label %14
14: ; preds = %13
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 45
%22 = zext i1 %21 to i64
%23 = select i1 %21, i32 45, i32 43
%24 = trunc i32 %23 to i8
store i8 %24, ptr %5, align 1
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 45
br i1 %28, label %34, label %29
29: ; preds = %17
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 43
br i1 %33, label %34, label %37
34: ; preds = %29, %17
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
br label %37
37: ; preds = %34, %29
br label %38
38: ; preds = %43, %37
%39 = load ptr, ptr %4, align 8
%40 = load i8, ptr %39, align 1
%41 = call i64 @isdigit(i8 noundef signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %38
%44 = load double, ptr %3, align 8
%45 = load ptr, ptr %4, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = sub nsw i32 %47, 48
%49 = sitofp i32 %48 to double
%50 = call double @llvm.fmuladd.f64(double %44, double 1.000000e+01, double %49)
store double %50, ptr %3, align 8
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
br label %38, !llvm.loop !8
53: ; preds = %38
%54 = load ptr, ptr %4, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 46
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
br label %61
61: ; preds = %58, %53
store double 1.000000e+00, ptr %6, align 8
br label %62
62: ; preds = %77, %61
%63 = load ptr, ptr %4, align 8
%64 = load i8, ptr %63, align 1
%65 = call i64 @isdigit(i8 noundef signext %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %80
67: ; preds = %62
%68 = load double, ptr %3, align 8
%69 = load ptr, ptr %4, align 8
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = sub nsw i32 %71, 48
%73 = sitofp i32 %72 to double
%74 = call double @llvm.fmuladd.f64(double %68, double 1.000000e+01, double %73)
store double %74, ptr %3, align 8
%75 = load double, ptr %6, align 8
%76 = fmul double %75, 1.000000e+01
store double %76, ptr %6, align 8
br label %77
77: ; preds = %67
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i8, ptr %78, i32 1
store ptr %79, ptr %4, align 8
br label %62, !llvm.loop !9
80: ; preds = %62
%81 = load double, ptr %6, align 8
%82 = load double, ptr %3, align 8
%83 = fdiv double %82, %81
store double %83, ptr %3, align 8
%84 = load i8, ptr %5, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 45
br i1 %86, label %87, label %90
87: ; preds = %80
%88 = load double, ptr %3, align 8
%89 = fmul double %88, -1.000000e+00
store double %89, ptr %3, align 8
br label %90
90: ; preds = %87, %80
%91 = load ptr, ptr %4, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 101
br i1 %94, label %100, label %95
95: ; preds = %90
%96 = load ptr, ptr %4, align 8
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 69
br i1 %99, label %100, label %103
100: ; preds = %95, %90
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %4, align 8
br label %103
103: ; preds = %100, %95
%104 = load ptr, ptr %4, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 45
%108 = zext i1 %107 to i64
%109 = select i1 %107, i32 45, i32 43
%110 = trunc i32 %109 to i8
store i8 %110, ptr %5, align 1
%111 = load ptr, ptr %4, align 8
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 45
br i1 %114, label %120, label %115
115: ; preds = %103
%116 = load ptr, ptr %4, align 8
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 43
br i1 %119, label %120, label %123
120: ; preds = %115, %103
%121 = load ptr, ptr %4, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %4, align 8
br label %123
123: ; preds = %120, %115
br label %124
124: ; preds = %129, %123
%125 = load ptr, ptr %4, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 48
br i1 %128, label %129, label %132
129: ; preds = %124
%130 = load ptr, ptr %4, align 8
%131 = getelementptr inbounds i8, ptr %130, i32 1
store ptr %131, ptr %4, align 8
br label %124, !llvm.loop !10
132: ; preds = %124
store double 0.000000e+00, ptr %6, align 8
br label %133
133: ; preds = %146, %132
%134 = load ptr, ptr %4, align 8
%135 = load i8, ptr %134, align 1
%136 = call i64 @isdigit(i8 noundef signext %135)
%137 = icmp ne i64 %136, 0
br i1 %137, label %138, label %149
138: ; preds = %133
%139 = load double, ptr %6, align 8
%140 = load ptr, ptr %4, align 8
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = sub nsw i32 %142, 48
%144 = sitofp i32 %143 to double
%145 = call double @llvm.fmuladd.f64(double %139, double 1.000000e+01, double %144)
store double %145, ptr %6, align 8
br label %146
146: ; preds = %138
%147 = load ptr, ptr %4, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %4, align 8
br label %133, !llvm.loop !11
149: ; preds = %133
%150 = load double, ptr %6, align 8
%151 = call double @pow(double noundef 1.000000e+01, double noundef %150) #4
store double %151, ptr %6, align 8
%152 = load i8, ptr %5, align 1
%153 = sext i8 %152 to i32
%154 = icmp eq i32 %153, 45
br i1 %154, label %155, label %159
155: ; preds = %149
%156 = load double, ptr %6, align 8
%157 = load double, ptr %3, align 8
%158 = fdiv double %157, %156
store double %158, ptr %3, align 8
br label %163
159: ; preds = %149
%160 = load double, ptr %6, align 8
%161 = load double, ptr %3, align 8
%162 = fmul double %161, %160
store double %162, ptr %3, align 8
br label %163
163: ; preds = %159, %155
%164 = load double, ptr %3, align 8
ret double %164
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpviw8vkzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @atof(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca double, align 8
store ptr %0, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = call i64 @isspace(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %13
br label %13
13: ; preds = %12
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = call i64 @isspace(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %1
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 45
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 45, i32 43
%27 = trunc i32 %26 to i8
store i8 %27, ptr %5, align 1
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 45
br i1 %31, label %37, label %32
32: ; preds = %20
%33 = load ptr, ptr %4, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 43
br i1 %36, label %37, label %40
37: ; preds = %32, %20
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %4, align 8
br label %40
40: ; preds = %37, %32
%41 = load ptr, ptr %4, align 8
%42 = load i8, ptr %41, align 1
%43 = call i64 @isdigit(i8 noundef signext %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %.lr.ph2, label %59
.lr.ph2: ; preds = %40
br label %45
45: ; preds = %.lr.ph2, %45
%46 = load double, ptr %3, align 8
%47 = load ptr, ptr %4, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = sub nsw i32 %49, 48
%51 = sitofp i32 %50 to double
%52 = call double @llvm.fmuladd.f64(double %46, double 1.000000e+01, double %51)
store double %52, ptr %3, align 8
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %4, align 8
%55 = load ptr, ptr %4, align 8
%56 = load i8, ptr %55, align 1
%57 = call i64 @isdigit(i8 noundef signext %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %45, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %59
59: ; preds = %._crit_edge3, %40
%60 = load ptr, ptr %4, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 46
br i1 %63, label %64, label %67
64: ; preds = %59
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %4, align 8
br label %67
67: ; preds = %64, %59
store double 1.000000e+00, ptr %6, align 8
%68 = load ptr, ptr %4, align 8
%69 = load i8, ptr %68, align 1
%70 = call i64 @isdigit(i8 noundef signext %69)
%71 = icmp ne i64 %70, 0
br i1 %71, label %.lr.ph5, label %89
.lr.ph5: ; preds = %67
br label %72
72: ; preds = %.lr.ph5, %82
%73 = load double, ptr %3, align 8
%74 = load ptr, ptr %4, align 8
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = sub nsw i32 %76, 48
%78 = sitofp i32 %77 to double
%79 = call double @llvm.fmuladd.f64(double %73, double 1.000000e+01, double %78)
store double %79, ptr %3, align 8
%80 = load double, ptr %6, align 8
%81 = fmul double %80, 1.000000e+01
store double %81, ptr %6, align 8
br label %82
82: ; preds = %72
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %4, align 8
%85 = load ptr, ptr %4, align 8
%86 = load i8, ptr %85, align 1
%87 = call i64 @isdigit(i8 noundef signext %86)
%88 = icmp ne i64 %87, 0
br i1 %88, label %72, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %82
br label %89
89: ; preds = %._crit_edge6, %67
%90 = load double, ptr %6, align 8
%91 = load double, ptr %3, align 8
%92 = fdiv double %91, %90
store double %92, ptr %3, align 8
%93 = load i8, ptr %5, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 45
br i1 %95, label %96, label %99
96: ; preds = %89
%97 = load double, ptr %3, align 8
%98 = fmul double %97, -1.000000e+00
store double %98, ptr %3, align 8
br label %99
99: ; preds = %96, %89
%100 = load ptr, ptr %4, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 101
br i1 %103, label %109, label %104
104: ; preds = %99
%105 = load ptr, ptr %4, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 69
br i1 %108, label %109, label %112
109: ; preds = %104, %99
%110 = load ptr, ptr %4, align 8
%111 = getelementptr inbounds i8, ptr %110, i32 1
store ptr %111, ptr %4, align 8
br label %112
112: ; preds = %109, %104
%113 = load ptr, ptr %4, align 8
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 45
%117 = zext i1 %116 to i64
%118 = select i1 %116, i32 45, i32 43
%119 = trunc i32 %118 to i8
store i8 %119, ptr %5, align 1
%120 = load ptr, ptr %4, align 8
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 45
br i1 %123, label %129, label %124
124: ; preds = %112
%125 = load ptr, ptr %4, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 43
br i1 %128, label %129, label %132
129: ; preds = %124, %112
%130 = load ptr, ptr %4, align 8
%131 = getelementptr inbounds i8, ptr %130, i32 1
store ptr %131, ptr %4, align 8
br label %132
132: ; preds = %129, %124
%133 = load ptr, ptr %4, align 8
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 48
br i1 %136, label %.lr.ph8, label %144
.lr.ph8: ; preds = %132
br label %137
137: ; preds = %.lr.ph8, %137
%138 = load ptr, ptr %4, align 8
%139 = getelementptr inbounds i8, ptr %138, i32 1
store ptr %139, ptr %4, align 8
%140 = load ptr, ptr %4, align 8
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 48
br i1 %143, label %137, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %137
br label %144
144: ; preds = %._crit_edge9, %132
store double 0.000000e+00, ptr %6, align 8
%145 = load ptr, ptr %4, align 8
%146 = load i8, ptr %145, align 1
%147 = call i64 @isdigit(i8 noundef signext %146)
%148 = icmp ne i64 %147, 0
br i1 %148, label %.lr.ph11, label %164
.lr.ph11: ; preds = %144
br label %149
149: ; preds = %.lr.ph11, %157
%150 = load double, ptr %6, align 8
%151 = load ptr, ptr %4, align 8
%152 = load i8, ptr %151, align 1
%153 = sext i8 %152 to i32
%154 = sub nsw i32 %153, 48
%155 = sitofp i32 %154 to double
%156 = call double @llvm.fmuladd.f64(double %150, double 1.000000e+01, double %155)
store double %156, ptr %6, align 8
br label %157
157: ; preds = %149
%158 = load ptr, ptr %4, align 8
%159 = getelementptr inbounds i8, ptr %158, i32 1
store ptr %159, ptr %4, align 8
%160 = load ptr, ptr %4, align 8
%161 = load i8, ptr %160, align 1
%162 = call i64 @isdigit(i8 noundef signext %161)
%163 = icmp ne i64 %162, 0
br i1 %163, label %149, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %157
br label %164
164: ; preds = %._crit_edge12, %144
%165 = load double, ptr %6, align 8
%166 = call double @pow(double noundef 1.000000e+01, double noundef %165) #4
store double %166, ptr %6, align 8
%167 = load i8, ptr %5, align 1
%168 = sext i8 %167 to i32
%169 = icmp eq i32 %168, 45
br i1 %169, label %170, label %174
170: ; preds = %164
%171 = load double, ptr %6, align 8
%172 = load double, ptr %3, align 8
%173 = fdiv double %172, %171
store double %173, ptr %3, align 8
br label %178
174: ; preds = %164
%175 = load double, ptr %6, align 8
%176 = load double, ptr %3, align 8
%177 = fmul double %176, %175
store double %177, ptr %3, align 8
br label %178
178: ; preds = %174, %170
%179 = load double, ptr %3, align 8
ret double %179
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpuzba1kzh.c'
source_filename = "/tmp/tmpuzba1kzh.c"
target datalayout = "e-m:e-p270: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/tmpuzba1kzh.c"
target datalayout = "e-m:e-p270: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 saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.