llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp_q4wehwp.c'
source_filename = "/tmp/tmp_q4wehwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/self\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 @get_pid_from_proc_self() #0 {
%1 = alloca [32 x i8], align 16
%2 = alloca i32, align 4
%3 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @readlink(ptr noundef @.str, ptr noundef %3, i32 noundef 32)
%5 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
ret i32 %7
}
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_q4wehwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/self\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 @get_pid_from_proc_self() #0 {
%1 = alloca [32 x i8], align 16
%2 = alloca i32, align 4
%3 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @readlink(ptr noundef @.str, ptr noundef %3, i32 noundef 32)
%5 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
ret i32 %7
}
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzyemi4lw.c'
source_filename = "/tmp/tmpzyemi4lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcbrt(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store double %0, ptr %2, align 8
store double 1.000000e+00, ptr %5, align 8
%8 = load double, ptr %2, align 8
%9 = call double @fabsk(double noundef %8)
%10 = call i32 @ilogbk(double noundef %9)
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load double, ptr %2, align 8
%13 = load i32, ptr %6, align 4
%14 = sub nsw i32 0, %13
%15 = call double @ldexp2k(double noundef %12, i32 noundef %14)
store double %15, ptr %2, align 8
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 6144
%18 = srem i32 %17, 3
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %1
br label %24
22: ; preds = %1
%23 = load double, ptr %5, align 8
br label %24
24: ; preds = %22, %21
%25 = phi double [ 0x3FF428A2F98D728B, %21 ], [ %23, %22 ]
store double %25, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %29
28: ; preds = %24
br label %31
29: ; preds = %24
%30 = load double, ptr %5, align 8
br label %31
31: ; preds = %29, %28
%32 = phi double [ 0x3FF965FEA53D6E3D, %28 ], [ %30, %29 ]
store double %32, ptr %5, align 8
%33 = load double, ptr %5, align 8
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 6144
%36 = sdiv i32 %35, 3
%37 = sub nsw i32 %36, 2048
%38 = call double @ldexp2k(double noundef %33, i32 noundef %37)
store double %38, ptr %5, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %2, align 8
%41 = call double @mulsign(double noundef %39, double noundef %40)
store double %41, ptr %5, align 8
%42 = load double, ptr %2, align 8
%43 = call double @fabsk(double noundef %42)
store double %43, ptr %2, align 8
store double 0xBFE47CE4F76BED42, ptr %3, align 8
%44 = load double, ptr %3, align 8
%45 = load double, ptr %2, align 8
%46 = call double @mla(double noundef %44, double noundef %45, double noundef 0x4007B141AAA12A9C)
store double %46, ptr %3, align 8
%47 = load double, ptr %3, align 8
%48 = load double, ptr %2, align 8
%49 = call double @mla(double noundef %47, double noundef %48, double noundef 0xC016EF22A5E505B3)
store double %49, ptr %3, align 8
%50 = load double, ptr %3, align 8
%51 = load double, ptr %2, align 8
%52 = call double @mla(double noundef %50, double noundef %51, double noundef 0x401828DC834C5911)
store double %52, ptr %3, align 8
%53 = load double, ptr %3, align 8
%54 = load double, ptr %2, align 8
%55 = call double @mla(double noundef %53, double noundef %54, double noundef 0xC00EDE0AF7836A8B)
store double %55, ptr %3, align 8
%56 = load double, ptr %3, align 8
%57 = load double, ptr %2, align 8
%58 = call double @mla(double noundef %56, double noundef %57, double noundef 0x4001D887ACE5AC54)
store double %58, ptr %3, align 8
%59 = load double, ptr %3, align 8
%60 = load double, ptr %3, align 8
%61 = fmul double %59, %60
store double %61, ptr %4, align 8
%62 = load double, ptr %4, align 8
%63 = load double, ptr %4, align 8
%64 = fmul double %62, %63
store double %64, ptr %4, align 8
%65 = load double, ptr %2, align 8
%66 = load double, ptr %4, align 8
%67 = load double, ptr %3, align 8
%68 = fneg double %67
%69 = call double @llvm.fmuladd.f64(double %65, double %66, double %68)
%70 = load double, ptr %3, align 8
%71 = fneg double %69
%72 = call double @llvm.fmuladd.f64(double %71, double 0x3FD5555555555555, double %70)
store double %72, ptr %3, align 8
%73 = load double, ptr %2, align 8
%74 = load double, ptr %3, align 8
%75 = fmul double %73, %74
%76 = load double, ptr %3, align 8
%77 = fmul double %75, %76
store double %77, ptr %4, align 8
%78 = load double, ptr %4, align 8
%79 = load double, ptr %4, align 8
%80 = fmul double 0x3FE5555555555555, %79
%81 = load double, ptr %4, align 8
%82 = load double, ptr %3, align 8
%83 = call double @llvm.fmuladd.f64(double %81, double %82, double -1.000000e+00)
%84 = fneg double %80
%85 = call double @llvm.fmuladd.f64(double %84, double %83, double %78)
%86 = load double, ptr %5, align 8
%87 = fmul double %85, %86
store double %87, ptr %4, align 8
%88 = load double, ptr %4, align 8
ret double %88
}
declare i32 @ilogbk(double noundef) #1
declare double @fabsk(double noundef) #1
declare double @ldexp2k(double noundef, i32 noundef) #1
declare double @mulsign(double noundef, double noundef) #1
declare double @mla(double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzyemi4lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcbrt(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store double %0, ptr %2, align 8
store double 1.000000e+00, ptr %5, align 8
%8 = load double, ptr %2, align 8
%9 = call double @fabsk(double noundef %8)
%10 = call i32 @ilogbk(double noundef %9)
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load double, ptr %2, align 8
%13 = load i32, ptr %6, align 4
%14 = sub nsw i32 0, %13
%15 = call double @ldexp2k(double noundef %12, i32 noundef %14)
store double %15, ptr %2, align 8
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 6144
%18 = srem i32 %17, 3
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %1
br label %24
22: ; preds = %1
%23 = load double, ptr %5, align 8
br label %24
24: ; preds = %22, %21
%25 = phi double [ 0x3FF428A2F98D728B, %21 ], [ %23, %22 ]
store double %25, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %29
28: ; preds = %24
br label %31
29: ; preds = %24
%30 = load double, ptr %5, align 8
br label %31
31: ; preds = %29, %28
%32 = phi double [ 0x3FF965FEA53D6E3D, %28 ], [ %30, %29 ]
store double %32, ptr %5, align 8
%33 = load double, ptr %5, align 8
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 6144
%36 = sdiv i32 %35, 3
%37 = sub nsw i32 %36, 2048
%38 = call double @ldexp2k(double noundef %33, i32 noundef %37)
store double %38, ptr %5, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %2, align 8
%41 = call double @mulsign(double noundef %39, double noundef %40)
store double %41, ptr %5, align 8
%42 = load double, ptr %2, align 8
%43 = call double @fabsk(double noundef %42)
store double %43, ptr %2, align 8
store double 0xBFE47CE4F76BED42, ptr %3, align 8
%44 = load double, ptr %3, align 8
%45 = load double, ptr %2, align 8
%46 = call double @mla(double noundef %44, double noundef %45, double noundef 0x4007B141AAA12A9C)
store double %46, ptr %3, align 8
%47 = load double, ptr %3, align 8
%48 = load double, ptr %2, align 8
%49 = call double @mla(double noundef %47, double noundef %48, double noundef 0xC016EF22A5E505B3)
store double %49, ptr %3, align 8
%50 = load double, ptr %3, align 8
%51 = load double, ptr %2, align 8
%52 = call double @mla(double noundef %50, double noundef %51, double noundef 0x401828DC834C5911)
store double %52, ptr %3, align 8
%53 = load double, ptr %3, align 8
%54 = load double, ptr %2, align 8
%55 = call double @mla(double noundef %53, double noundef %54, double noundef 0xC00EDE0AF7836A8B)
store double %55, ptr %3, align 8
%56 = load double, ptr %3, align 8
%57 = load double, ptr %2, align 8
%58 = call double @mla(double noundef %56, double noundef %57, double noundef 0x4001D887ACE5AC54)
store double %58, ptr %3, align 8
%59 = load double, ptr %3, align 8
%60 = load double, ptr %3, align 8
%61 = fmul double %59, %60
store double %61, ptr %4, align 8
%62 = load double, ptr %4, align 8
%63 = load double, ptr %4, align 8
%64 = fmul double %62, %63
store double %64, ptr %4, align 8
%65 = load double, ptr %2, align 8
%66 = load double, ptr %4, align 8
%67 = load double, ptr %3, align 8
%68 = fneg double %67
%69 = call double @llvm.fmuladd.f64(double %65, double %66, double %68)
%70 = load double, ptr %3, align 8
%71 = fneg double %69
%72 = call double @llvm.fmuladd.f64(double %71, double 0x3FD5555555555555, double %70)
store double %72, ptr %3, align 8
%73 = load double, ptr %2, align 8
%74 = load double, ptr %3, align 8
%75 = fmul double %73, %74
%76 = load double, ptr %3, align 8
%77 = fmul double %75, %76
store double %77, ptr %4, align 8
%78 = load double, ptr %4, align 8
%79 = load double, ptr %4, align 8
%80 = fmul double 0x3FE5555555555555, %79
%81 = load double, ptr %4, align 8
%82 = load double, ptr %3, align 8
%83 = call double @llvm.fmuladd.f64(double %81, double %82, double -1.000000e+00)
%84 = fneg double %80
%85 = call double @llvm.fmuladd.f64(double %84, double %83, double %78)
%86 = load double, ptr %5, align 8
%87 = fmul double %85, %86
store double %87, ptr %4, align 8
%88 = load double, ptr %4, align 8
ret double %88
}
declare i32 @ilogbk(double noundef) #1
declare double @fabsk(double noundef) #1
declare double @ldexp2k(double noundef, i32 noundef) #1
declare double @mulsign(double noundef, double noundef) #1
declare double @mla(double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9cfg92b6.c'
source_filename = "/tmp/tmp9cfg92b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_number_delete(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strpbrk(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strtol(ptr noundef %10, ptr noundef %5, i32 noundef 10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = call i32 @valid_int(i64 noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
store i32 -1, ptr %16, align 4
br label %21
17: ; preds = %2
%18 = load i64, ptr %7, align 8
%19 = trunc i64 %18 to i32
%20 = load ptr, ptr %3, align 8
store i32 %19, ptr %20, align 4
br label %21
21: ; preds = %17, %15
ret void
}
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @valid_int(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/tmp9cfg92b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_number_delete(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strpbrk(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strtol(ptr noundef %10, ptr noundef %5, i32 noundef 10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = call i32 @valid_int(i64 noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
store i32 -1, ptr %16, align 4
br label %21
17: ; preds = %2
%18 = load i64, ptr %7, align 8
%19 = trunc i64 %18 to i32
%20 = load ptr, ptr %3, align 8
store i32 %19, ptr %20, align 4
br label %21
21: ; preds = %17, %15
ret void
}
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @valid_int(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/tmpjzpzfiyf.c'
source_filename = "/tmp/tmpjzpzfiyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"msg 5678:action:set_vers:name:%s:\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c" Client res error %d \0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"reply\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"msg 5678:action:get_vers:\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"name\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_get_vers(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 ptr, align 8
%9 = alloca [16 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca [132 x i8], align 16
%12 = alloca [132 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
%13 = getelementptr inbounds [16 x ptr], ptr %9, i64 0, i64 0
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %37
16: ; preds = %3
%17 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr %4, align 4
%21 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%22 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%23 = call i32 @ssds_send(i32 noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %16
%27 = load i32, ptr %7, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %26, %16
%30 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%31 = load ptr, ptr %8, align 8
%32 = call i32 @get_argc(ptr noundef %30, ptr noundef %31, i32 noundef 16)
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %5, align 8
%36 = call i32 @get_arg_char(i32 noundef %33, ptr noundef %34, ptr noundef @.str.2, ptr noundef %35, i32 noundef 32)
store i32 %36, ptr %7, align 4
br label %57
37: ; preds = %3
%38 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%39 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.3)
%40 = load i32, ptr %4, align 4
%41 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%42 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%43 = call i32 @ssds_send(i32 noundef %40, ptr noundef %41, ptr noundef %42)
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %37
%47 = load i32, ptr %7, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %47)
br label %49
49: ; preds = %46, %37
%50 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%51 = load ptr, ptr %8, align 8
%52 = call i32 @get_argc(ptr noundef %50, ptr noundef %51, i32 noundef 16)
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %5, align 8
%56 = call i32 @get_arg_char(i32 noundef %53, ptr noundef %54, ptr noundef @.str.4, ptr noundef %55, i32 noundef 32)
store i32 %56, ptr %7, align 4
br label %57
57: ; preds = %49, %29
%58 = load i32, ptr %7, align 4
ret i32 %58
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ssds_send(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @get_argc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_arg_char(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjzpzfiyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"msg 5678:action:set_vers:name:%s:\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c" Client res error %d \0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"reply\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"msg 5678:action:get_vers:\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"name\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_get_vers(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 ptr, align 8
%9 = alloca [16 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca [132 x i8], align 16
%12 = alloca [132 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
%13 = getelementptr inbounds [16 x ptr], ptr %9, i64 0, i64 0
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %37
16: ; preds = %3
%17 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr %4, align 4
%21 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%22 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%23 = call i32 @ssds_send(i32 noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %16
%27 = load i32, ptr %7, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %26, %16
%30 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%31 = load ptr, ptr %8, align 8
%32 = call i32 @get_argc(ptr noundef %30, ptr noundef %31, i32 noundef 16)
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %5, align 8
%36 = call i32 @get_arg_char(i32 noundef %33, ptr noundef %34, ptr noundef @.str.2, ptr noundef %35, i32 noundef 32)
store i32 %36, ptr %7, align 4
br label %57
37: ; preds = %3
%38 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%39 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.3)
%40 = load i32, ptr %4, align 4
%41 = getelementptr inbounds [132 x i8], ptr %12, i64 0, i64 0
%42 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%43 = call i32 @ssds_send(i32 noundef %40, ptr noundef %41, ptr noundef %42)
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %37
%47 = load i32, ptr %7, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %47)
br label %49
49: ; preds = %46, %37
%50 = getelementptr inbounds [132 x i8], ptr %11, i64 0, i64 0
%51 = load ptr, ptr %8, align 8
%52 = call i32 @get_argc(ptr noundef %50, ptr noundef %51, i32 noundef 16)
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %5, align 8
%56 = call i32 @get_arg_char(i32 noundef %53, ptr noundef %54, ptr noundef @.str.4, ptr noundef %55, i32 noundef 32)
store i32 %56, ptr %7, align 4
br label %57
57: ; preds = %49, %29
%58 = load i32, ptr %7, align 4
ret i32 %58
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ssds_send(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @get_argc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_arg_char(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk1iug07.c'
source_filename = "/tmp/tmphk1iug07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evm_porting_OsFree(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/tmphk1iug07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evm_porting_OsFree(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/tmp3pscd555.c'
source_filename = "/tmp/tmp3pscd555.c"
target datalayout = "e-m:e-p270: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/tmp3pscd555.c"
target datalayout = "e-m:e-p270: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/tmp6neu6ocb.c'
source_filename = "/tmp/tmp6neu6ocb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"kobayash15 likes pizza. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kobayash15() #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/tmp6neu6ocb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"kobayash15 likes pizza. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kobayash15() #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/tmpt_i36yns.c'
source_filename = "/tmp/tmpt_i36yns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Enter the student's grade: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"Invalid grade entered. Expected 0 <= grade <= 100\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Letter grade is: A\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"Letter grade is: B\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"Letter grade is: C\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Letter grade is: D\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Letter grade is: F\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 100
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %45
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str.2)
br label %44
14: ; preds = %9
%15 = load i32, ptr %2, align 4
%16 = icmp sge i32 %15, 90
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str.3)
br label %43
19: ; preds = %14
%20 = load i32, ptr %2, align 4
%21 = icmp sge i32 %20, 80
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @printf(ptr noundef @.str.4)
br label %42
24: ; preds = %19
%25 = load i32, ptr %2, align 4
%26 = icmp sge i32 %25, 70
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @printf(ptr noundef @.str.5)
br label %41
29: ; preds = %24
%30 = load i32, ptr %2, align 4
%31 = icmp sge i32 %30, 60
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(ptr noundef @.str.6)
br label %40
34: ; preds = %29
%35 = load i32, ptr %2, align 4
%36 = icmp sle i32 %35, 60
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @printf(ptr noundef @.str.7)
br label %39
39: ; preds = %37, %34
br label %40
40: ; preds = %39, %32
br label %41
41: ; preds = %40, %27
br label %42
42: ; preds = %41, %22
br label %43
43: ; preds = %42, %17
br label %44
44: ; preds = %43, %12
br label %45
45: ; preds = %44, %7
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt_i36yns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Enter the student's grade: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"Invalid grade entered. Expected 0 <= grade <= 100\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Letter grade is: A\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"Letter grade is: B\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"Letter grade is: C\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Letter grade is: D\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Letter grade is: F\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 100
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %45
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str.2)
br label %44
14: ; preds = %9
%15 = load i32, ptr %2, align 4
%16 = icmp sge i32 %15, 90
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str.3)
br label %43
19: ; preds = %14
%20 = load i32, ptr %2, align 4
%21 = icmp sge i32 %20, 80
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @printf(ptr noundef @.str.4)
br label %42
24: ; preds = %19
%25 = load i32, ptr %2, align 4
%26 = icmp sge i32 %25, 70
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @printf(ptr noundef @.str.5)
br label %41
29: ; preds = %24
%30 = load i32, ptr %2, align 4
%31 = icmp sge i32 %30, 60
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(ptr noundef @.str.6)
br label %40
34: ; preds = %29
%35 = load i32, ptr %2, align 4
%36 = icmp sle i32 %35, 60
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @printf(ptr noundef @.str.7)
br label %39
39: ; preds = %37, %34
br label %40
40: ; preds = %39, %32
br label %41
41: ; preds = %40, %27
br label %42
42: ; preds = %41, %22
br label %43
43: ; preds = %42, %17
br label %44
44: ; preds = %43, %12
br label %45
45: ; preds = %44, %7
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_2jay19w.c'
source_filename = "/tmp/tmp_2jay19w.c"
target datalayout = "e-m:e-p270: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_2jay19w.c"
target datalayout = "e-m:e-p270: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/tmplj6wp79a.c'
source_filename = "/tmp/tmplj6wp79a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_csv_file_name(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
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 3
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
store i8 99, ptr %12, align 1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %14, 2
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
store i8 115, ptr %17, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 118, ptr %22, align 1
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplj6wp79a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_csv_file_name(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
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 3
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
store i8 99, ptr %12, align 1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %14, 2
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
store i8 115, ptr %17, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 118, ptr %22, align 1
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
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"}
|
; ModuleID = '/tmp/tmp_mtidv69.c'
source_filename = "/tmp/tmp_mtidv69.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Usage: %s fields_to_pad total_field_size\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
%24 = call i32 @pad_leading_numbers(i32 noundef %19, i32 noundef %23)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pad_leading_numbers(i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp_mtidv69.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Usage: %s fields_to_pad total_field_size\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
%24 = call i32 @pad_leading_numbers(i32 noundef %19, i32 noundef %23)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pad_leading_numbers(i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpslxag1v1.c'
source_filename = "/tmp/tmpslxag1v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iupStrFileGetPath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %56
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %36, %9
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %39
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 92
br i1 %24, label %33, label %25
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %36
33: ; preds = %25, %17
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %39
36: ; preds = %25
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %4, align 4
br label %14, !llvm.loop !6
39: ; preds = %33, %14
%40 = load i32, ptr %4, align 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %39
store ptr null, ptr %2, align 8
br label %56
43: ; preds = %39
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
%46 = call ptr @malloc(i32 noundef %45)
store ptr %46, ptr %5, align 8
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %4, align 4
%50 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %5, align 8
store ptr %55, ptr %2, align 8
br label %56
56: ; preds = %43, %42, %8
%57 = load ptr, ptr %2, align 8
ret ptr %57
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpslxag1v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iupStrFileGetPath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %57
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %9
br label %16
16: ; preds = %.lr.ph, %35
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 92
br i1 %23, label %32, label %24
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 47
br i1 %31, label %32, label %35
32: ; preds = %24, %16
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %40
35: ; preds = %24
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %35
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %9
br label %40
40: ; preds = %.loopexit, %32
%41 = load i32, ptr %4, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %40
store ptr null, ptr %2, align 8
br label %57
44: ; preds = %40
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
%47 = call ptr @malloc(i32 noundef %46)
store ptr %47, ptr %5, align 8
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %4, align 4
%51 = call i32 @memcpy(ptr noundef %48, ptr noundef %49, i32 noundef %50)
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %5, align 8
store ptr %56, ptr %2, align 8
br label %57
57: ; preds = %44, %43, %8
%58 = load ptr, ptr %2, align 8
ret ptr %58
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3_2wca4f.c'
source_filename = "/tmp/tmp3_2wca4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32, i32, i32 }
@USSize = dso_local global i32 0, align 4
@PMinSize = dso_local global i32 0, align 4
@PMaxSize = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"Booyeah!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lockwindowsize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca %struct.TYPE_4__, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @XGetGeometry(ptr noundef %13, i32 noundef %14, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%16 = load i32, ptr @USSize, align 4
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 4
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %8, align 4
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = load i32, ptr %9, align 4
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 3
store i32 %21, ptr %22, align 4
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 2
store i32 %21, ptr %23, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = call i32 @XSetNormalHints(ptr noundef %24, i32 noundef %25, ptr noundef %12)
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr @PMinSize, align 4
%30 = load i32, ptr @PMaxSize, align 4
%31 = or i32 %29, %30
%32 = call i32 @XSetWMSizeHints(ptr noundef %27, i32 noundef %28, ptr noundef %12, i32 noundef %31)
%33 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @XGetGeometry(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @XSetNormalHints(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @XSetWMSizeHints(ptr noundef, i32 noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3_2wca4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32, i32, i32 }
@USSize = dso_local global i32 0, align 4
@PMinSize = dso_local global i32 0, align 4
@PMaxSize = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"Booyeah!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lockwindowsize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca %struct.TYPE_4__, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @XGetGeometry(ptr noundef %13, i32 noundef %14, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%16 = load i32, ptr @USSize, align 4
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 4
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %8, align 4
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = load i32, ptr %9, align 4
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 3
store i32 %21, ptr %22, align 4
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 2
store i32 %21, ptr %23, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = call i32 @XSetNormalHints(ptr noundef %24, i32 noundef %25, ptr noundef %12)
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr @PMinSize, align 4
%30 = load i32, ptr @PMaxSize, align 4
%31 = or i32 %29, %30
%32 = call i32 @XSetWMSizeHints(ptr noundef %27, i32 noundef %28, ptr noundef %12, i32 noundef %31)
%33 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @XGetGeometry(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @XSetNormalHints(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @XSetWMSizeHints(ptr noundef, i32 noundef, ptr 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"}
|
; ModuleID = '/tmp/tmp1391py4d.c'
source_filename = "/tmp/tmp1391py4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@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/tmp1391py4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@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/tmpxjh1zx5e.c'
source_filename = "/tmp/tmpxjh1zx5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ctime2gmst(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
%8 = alloca [2 x double], align 16
%9 = alloca [2 x double], align 16
%10 = alloca [2 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load double, ptr %5, align 8
%12 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%13 = call i32 @ctime2jd(double noundef %11, ptr noundef %12)
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %33, label %16
16: ; preds = %3
%17 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%18 = load double, ptr %6, align 8
%19 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0
%20 = call i32 @jdutc2jdut1(ptr noundef %17, double noundef %18, ptr noundef %19)
%21 = load double, ptr %5, align 8
%22 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%23 = call i32 @ctime2jdtt(double noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0
%25 = load double, ptr %24, align 16
%26 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 1
%27 = load double, ptr %26, align 8
%28 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%29 = load double, ptr %28, align 16
%30 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 1
%31 = load double, ptr %30, align 8
%32 = call double @eraGmst00(double noundef %25, double noundef %27, double noundef %29, double noundef %31)
store double %32, ptr %4, align 8
br label %43
33: ; preds = %3
%34 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%35 = load double, ptr %34, align 16
%36 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1
%37 = load double, ptr %36, align 8
%38 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%39 = load double, ptr %38, align 16
%40 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1
%41 = load double, ptr %40, align 8
%42 = call double @eraGmst00(double noundef %35, double noundef %37, double noundef %39, double noundef %41)
store double %42, ptr %4, align 8
br label %43
43: ; preds = %33, %16
%44 = load double, ptr %4, align 8
ret double %44
}
declare i32 @ctime2jd(double noundef, ptr noundef) #1
declare i32 @jdutc2jdut1(ptr noundef, double noundef, ptr noundef) #1
declare i32 @ctime2jdtt(double noundef, ptr noundef) #1
declare double @eraGmst00(double noundef, double noundef, 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/tmpxjh1zx5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ctime2gmst(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
%8 = alloca [2 x double], align 16
%9 = alloca [2 x double], align 16
%10 = alloca [2 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load double, ptr %5, align 8
%12 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%13 = call i32 @ctime2jd(double noundef %11, ptr noundef %12)
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %33, label %16
16: ; preds = %3
%17 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%18 = load double, ptr %6, align 8
%19 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0
%20 = call i32 @jdutc2jdut1(ptr noundef %17, double noundef %18, ptr noundef %19)
%21 = load double, ptr %5, align 8
%22 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%23 = call i32 @ctime2jdtt(double noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0
%25 = load double, ptr %24, align 16
%26 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 1
%27 = load double, ptr %26, align 8
%28 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%29 = load double, ptr %28, align 16
%30 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 1
%31 = load double, ptr %30, align 8
%32 = call double @eraGmst00(double noundef %25, double noundef %27, double noundef %29, double noundef %31)
store double %32, ptr %4, align 8
br label %43
33: ; preds = %3
%34 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%35 = load double, ptr %34, align 16
%36 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1
%37 = load double, ptr %36, align 8
%38 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%39 = load double, ptr %38, align 16
%40 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1
%41 = load double, ptr %40, align 8
%42 = call double @eraGmst00(double noundef %35, double noundef %37, double noundef %39, double noundef %41)
store double %42, ptr %4, align 8
br label %43
43: ; preds = %33, %16
%44 = load double, ptr %4, align 8
ret double %44
}
declare i32 @ctime2jd(double noundef, ptr noundef) #1
declare i32 @jdutc2jdut1(ptr noundef, double noundef, ptr noundef) #1
declare i32 @ctime2jdtt(double noundef, ptr noundef) #1
declare double @eraGmst00(double noundef, double noundef, 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/tmpgwcxhw2w.c'
source_filename = "/tmp/tmpgwcxhw2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PR_SET_DUMPABLE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"prctl(PR_SET_DUMPABLE, 0)\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 101, ptr %6, align 4
store i32 100, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @make_cloexec(i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = call i32 @make_cloexec(i32 noundef %12)
%14 = load i32, ptr @PR_SET_DUMPABLE, align 4
%15 = call i32 @prctl(i32 noundef %14, i32 noundef 0)
%16 = call i32 @check(i32 noundef %15, ptr noundef @.str)
br label %17
17: ; preds = %2, %17
%18 = load i32, ptr %7, align 4
%19 = call i32 @recv_fd(i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %8, align 4
%22 = call i32 @spawn_binary(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @waitfor(i32 noundef %23)
%25 = load i32, ptr %7, align 4
%26 = call i32 @send_str(i32 noundef %25, ptr noundef @.str.1)
br label %17
}
declare i32 @make_cloexec(i32 noundef) #1
declare i32 @check(i32 noundef, ptr noundef) #1
declare i32 @prctl(i32 noundef, i32 noundef) #1
declare i32 @recv_fd(i32 noundef) #1
declare i32 @spawn_binary(i32 noundef, i32 noundef) #1
declare i32 @waitfor(i32 noundef) #1
declare i32 @send_str(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/tmpgwcxhw2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PR_SET_DUMPABLE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"prctl(PR_SET_DUMPABLE, 0)\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 101, ptr %6, align 4
store i32 100, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @make_cloexec(i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = call i32 @make_cloexec(i32 noundef %12)
%14 = load i32, ptr @PR_SET_DUMPABLE, align 4
%15 = call i32 @prctl(i32 noundef %14, i32 noundef 0)
%16 = call i32 @check(i32 noundef %15, ptr noundef @.str)
br label %17
17: ; preds = %17, %2
%18 = load i32, ptr %7, align 4
%19 = call i32 @recv_fd(i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %8, align 4
%22 = call i32 @spawn_binary(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @waitfor(i32 noundef %23)
%25 = load i32, ptr %7, align 4
%26 = call i32 @send_str(i32 noundef %25, ptr noundef @.str.1)
br label %17
}
declare i32 @make_cloexec(i32 noundef) #1
declare i32 @check(i32 noundef, ptr noundef) #1
declare i32 @prctl(i32 noundef, i32 noundef) #1
declare i32 @recv_fd(i32 noundef) #1
declare i32 @spawn_binary(i32 noundef, i32 noundef) #1
declare i32 @waitfor(i32 noundef) #1
declare i32 @send_str(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/tmpj17u1cba.c'
source_filename = "/tmp/tmpj17u1cba.c"
target datalayout = "e-m:e-p270: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/tmpj17u1cba.c"
target datalayout = "e-m:e-p270: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/tmpkb_jc_h5.c'
source_filename = "/tmp/tmpkb_jc_h5.c"
target datalayout = "e-m:e-p270: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/tmpkb_jc_h5.c"
target datalayout = "e-m:e-p270: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/tmp0740l7p8.c'
source_filename = "/tmp/tmp0740l7p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"asra\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"rorb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_divide_by_two() #0 {
%1 = call i32 @output_line(ptr noundef @.str)
%2 = call i32 @output_line(ptr noundef @.str.1)
ret void
}
declare i32 @output_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0740l7p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"asra\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"rorb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_divide_by_two() #0 {
%1 = call i32 @output_line(ptr noundef @.str)
%2 = call i32 @output_line(ptr noundef @.str.1)
ret void
}
declare i32 @output_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxkz32av_.c'
source_filename = "/tmp/tmpxkz32av_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Digite seu nome completo : \00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Seu nome completo e : \00", align 1
; 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 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @puts(ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
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/tmpxkz32av_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Digite seu nome completo : \00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Seu nome completo e : \00", align 1
; 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 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @puts(ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
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/tmp9ahsv2dz.c'
source_filename = "/tmp/tmp9ahsv2dz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i32], align 16
%9 = alloca [20 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %20, %0
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %18
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %16
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %12, !llvm.loop !6
23: ; preds = %12
store i32 0, ptr %4, align 4
br label %24
24: ; preds = %34, %23
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %32
store i32 %30, ptr %33, align 4
br label %34
34: ; preds = %28
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %24, !llvm.loop !8
37: ; preds = %24
store i32 0, ptr %5, align 4
br label %38
38: ; preds = %76, %37
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %2, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %43, label %79
43: ; preds = %38
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
br label %50
50: ; preds = %72, %43
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %2, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %75
54: ; preds = %50
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp slt i32 %55, %59
br i1 %60, label %61, label %71
61: ; preds = %54
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %64, align 4
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
store i32 %70, ptr %10, align 4
br label %71
71: ; preds = %61, %54
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 %50, !llvm.loop !9
75: ; preds = %50
br label %76
76: ; preds = %75
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
br label %38, !llvm.loop !10
79: ; preds = %38
%80 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0
%81 = load i32, ptr %2, align 4
%82 = call i32 @max(ptr noundef %80, i32 noundef %81)
%83 = add nsw i32 %82, 1
%84 = call i32 @printf(ptr noundef @.str, i32 noundef %83)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @max(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ahsv2dz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i32], align 16
%9 = alloca [20 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %17
store i32 0, ptr %18, align 4
br label %19
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %2, 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, %0
store i32 0, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %41
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %35
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %33
store i32 %31, ptr %34, align 4
br label %35
35: ; preds = %29
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %25
store i32 0, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 1
%45 = icmp slt i32 %42, %44
br i1 %45, label %.lr.ph8, label %88
.lr.ph8: ; preds = %41
br label %46
46: ; preds = %.lr.ph8, %81
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph5, label %80
.lr.ph5: ; preds = %46
br label %56
56: ; preds = %.lr.ph5, %74
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %57, %61
br i1 %62, label %63, label %73
63: ; preds = %56
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %66, align 4
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
store i32 %72, ptr %10, align 4
br label %73
73: ; preds = %63, %56
br label %74
74: ; preds = %73
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr %2, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %56, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %74
br label %80
80: ; preds = %._crit_edge6, %46
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %2, align 4
%86 = sub nsw i32 %85, 1
%87 = icmp slt i32 %84, %86
br i1 %87, label %46, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %81
br label %88
88: ; preds = %._crit_edge9, %41
%89 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0
%90 = load i32, ptr %2, align 4
%91 = call i32 @max(ptr noundef %89, i32 noundef %90)
%92 = add nsw i32 %91, 1
%93 = call i32 @printf(ptr noundef @.str, i32 noundef %92)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @max(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpjxkb724u.c'
source_filename = "/tmp/tmpjxkb724u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pop_frame_until(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @_frame_until(i32 noundef %3, i32 noundef 1)
ret ptr %4
}
declare ptr @_frame_until(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/tmpjxkb724u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pop_frame_until(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @_frame_until(i32 noundef %3, i32 noundef 1)
ret ptr %4
}
declare ptr @_frame_until(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/tmppffxlhgi.c'
source_filename = "/tmp/tmppffxlhgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_addr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %28, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 58
br i1 %14, label %15, label %26
15: ; preds = %7
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 256
br label %26
26: ; preds = %23, %15, %7
%27 = phi i1 [ false, %15 ], [ false, %7 ], [ %25, %23 ]
br i1 %27, label %28, label %39
28: ; preds = %26
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %35
store i8 %33, ptr %36, align 1
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %7, !llvm.loop !6
39: ; preds = %26
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %41
store i8 0, ptr %42, align 1
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 1, %46
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%52 = load i32, ptr %5, align 4
%53 = call i32 @strncpy(ptr noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load ptr, ptr %6, align 8
ret ptr %54
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppffxlhgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_addr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %28, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 58
br i1 %14, label %15, label %26
15: ; preds = %7
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 256
br label %26
26: ; preds = %23, %15, %7
%27 = phi i1 [ false, %15 ], [ false, %7 ], [ %25, %23 ]
br i1 %27, label %28, label %39
28: ; preds = %26
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %35
store i8 %33, ptr %36, align 1
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %7, !llvm.loop !6
39: ; preds = %26
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %41
store i8 0, ptr %42, align 1
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 1, %46
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%52 = load i32, ptr %5, align 4
%53 = call i32 @strncpy(ptr noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load ptr, ptr %6, align 8
ret ptr %54
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmaou2jwq.c'
source_filename = "/tmp/tmpmaou2jwq.c"
target datalayout = "e-m:e-p270: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/tmpmaou2jwq.c"
target datalayout = "e-m:e-p270: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/tmplsclf4ql.c'
source_filename = "/tmp/tmplsclf4ql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, 2
store i32 %3, ptr %1, 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/tmplsclf4ql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, 2
store i32 %3, ptr %1, 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/tmpws9v1ao0.c'
source_filename = "/tmp/tmpws9v1ao0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"<html><title>Tiny Error</title>\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"%s<body bgcolor=ffffff>\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%s%s: %s\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"%s<p>%s: %s\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"%s<hr><em>The Tiny Web server</em>\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"HTTP/1.0 %s %s\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Content-type: text/html\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"Content-length: %d\0D\0A\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clienterror(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [8192 x i8], align 16
%12 = alloca [8192 x i8], align 16
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%14 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %13, ptr noundef @.str)
%15 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%16 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%17 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %16)
%18 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%19 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %9, align 8
%22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%24 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = load ptr, ptr %7, align 8
%27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %24, ptr noundef %25, ptr noundef %26)
%28 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%29 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%30 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.4, ptr noundef %29)
%31 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %9, align 8
%34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %32, ptr noundef %33)
%35 = load i32, ptr %6, align 4
%36 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%37 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%38 = call i64 @strlen(ptr noundef %37)
%39 = call i32 @Rio_writen(i32 noundef %35, ptr noundef %36, i64 noundef %38)
%40 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.6)
%42 = load i32, ptr %6, align 4
%43 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%44 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%45 = call i64 @strlen(ptr noundef %44)
%46 = call i32 @Rio_writen(i32 noundef %42, ptr noundef %43, i64 noundef %45)
%47 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%48 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%49 = call i64 @strlen(ptr noundef %48)
%50 = trunc i64 %49 to i32
%51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %47, ptr noundef @.str.7, i32 noundef %50)
%52 = load i32, ptr %6, align 4
%53 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%54 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%55 = call i64 @strlen(ptr noundef %54)
%56 = call i32 @Rio_writen(i32 noundef %52, ptr noundef %53, i64 noundef %55)
%57 = load i32, ptr %6, align 4
%58 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%59 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%60 = call i64 @strlen(ptr noundef %59)
%61 = call i32 @Rio_writen(i32 noundef %57, ptr noundef %58, i64 noundef %60)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @Rio_writen(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpws9v1ao0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"<html><title>Tiny Error</title>\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"%s<body bgcolor=ffffff>\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%s%s: %s\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"%s<p>%s: %s\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"%s<hr><em>The Tiny Web server</em>\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"HTTP/1.0 %s %s\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Content-type: text/html\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"Content-length: %d\0D\0A\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clienterror(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [8192 x i8], align 16
%12 = alloca [8192 x i8], align 16
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%14 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %13, ptr noundef @.str)
%15 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%16 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%17 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %16)
%18 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%19 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %9, align 8
%22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%24 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = load ptr, ptr %7, align 8
%27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %24, ptr noundef %25, ptr noundef %26)
%28 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%29 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%30 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.4, ptr noundef %29)
%31 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %9, align 8
%34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %32, ptr noundef %33)
%35 = load i32, ptr %6, align 4
%36 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%37 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%38 = call i64 @strlen(ptr noundef %37)
%39 = call i32 @Rio_writen(i32 noundef %35, ptr noundef %36, i64 noundef %38)
%40 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.6)
%42 = load i32, ptr %6, align 4
%43 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%44 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%45 = call i64 @strlen(ptr noundef %44)
%46 = call i32 @Rio_writen(i32 noundef %42, ptr noundef %43, i64 noundef %45)
%47 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%48 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%49 = call i64 @strlen(ptr noundef %48)
%50 = trunc i64 %49 to i32
%51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %47, ptr noundef @.str.7, i32 noundef %50)
%52 = load i32, ptr %6, align 4
%53 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%54 = getelementptr inbounds [8192 x i8], ptr %11, i64 0, i64 0
%55 = call i64 @strlen(ptr noundef %54)
%56 = call i32 @Rio_writen(i32 noundef %52, ptr noundef %53, i64 noundef %55)
%57 = load i32, ptr %6, align 4
%58 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%59 = getelementptr inbounds [8192 x i8], ptr %12, i64 0, i64 0
%60 = call i64 @strlen(ptr noundef %59)
%61 = call i32 @Rio_writen(i32 noundef %57, ptr noundef %58, i64 noundef %60)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @Rio_writen(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @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"}
|
; ModuleID = '/tmp/tmp297tu92e.c'
source_filename = "/tmp/tmp297tu92e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @readByte(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 i64 @buffRead(i32 noundef 1, ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
%6 = load i8, ptr %5, align 1
ret i8 %6
}
declare i64 @buffRead(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/tmp297tu92e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @readByte(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 i64 @buffRead(i32 noundef 1, ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
%6 = load i8, ptr %5, align 1
ret i8 %6
}
declare i64 @buffRead(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/tmp0xrf60g8.c'
source_filename = "/tmp/tmp0xrf60g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Not enough memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safeMalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = call i32 @safeExitErr(ptr noundef @.str)
br label %13
13: ; preds = %11, %8, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @safeExitErr(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xrf60g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Not enough memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safeMalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = call i32 @safeExitErr(ptr noundef @.str)
br label %13
13: ; preds = %11, %8, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @safeExitErr(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuxl_8oma.c'
source_filename = "/tmp/tmpuxl_8oma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"gmvinput ascii\0A\0Anodev %5d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Acells %5d\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c" tet 4\0A %4d %4d %4d %4d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"\0Amaterial %d 0\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"mat%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c" %2d\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"\0A\0Avariable\0Aqual 0\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c" %20.15lf\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"\0Aendvars\0A\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"\0A\0Apolygons\0A\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"%3d 3\00", align 1
@.str.14 = private unnamed_addr constant [29 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.15 = private unnamed_addr constant [34 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.16 = private unnamed_addr constant [9 x i8] c"endpoly\0A\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"\0Aendgmv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_mesh_gmv_qual(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store i32 %1, ptr %11, align 4
store ptr %2, ptr %12, align 8
store i32 %3, ptr %13, align 4
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i32 %6, ptr %16, align 4
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
%23 = load ptr, ptr %10, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str)
store ptr %24, ptr %22, align 8
%25 = load ptr, ptr %22, align 8
%26 = load i32, ptr %11, align 4
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef %26)
store i32 0, ptr %19, align 4
br label %28
28: ; preds = %56, %9
%29 = load i32, ptr %19, align 4
%30 = load i32, ptr %11, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %59
32: ; preds = %28
%33 = load ptr, ptr %22, align 8
%34 = load ptr, ptr %12, align 8
%35 = load i32, ptr %19, align 4
%36 = mul nsw i32 3, %35
%37 = add nsw i32 %36, 0
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %34, i64 %38
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %12, align 8
%42 = load i32, ptr %19, align 4
%43 = mul nsw i32 3, %42
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %41, i64 %45
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %12, align 8
%49 = load i32, ptr %19, align 4
%50 = mul nsw i32 3, %49
%51 = add nsw i32 %50, 2
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %48, i64 %52
%54 = load double, ptr %53, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.2, double noundef %40, double noundef %47, double noundef %54)
br label %56
56: ; preds = %32
%57 = load i32, ptr %19, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %19, align 4
br label %28, !llvm.loop !6
59: ; preds = %28
%60 = load ptr, ptr %22, align 8
%61 = load i32, ptr %16, align 4
%62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.3, i32 noundef %61)
store i32 0, ptr %19, align 4
br label %63
63: ; preds = %120, %59
%64 = load i32, ptr %19, align 4
%65 = load i32, ptr %16, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %123
67: ; preds = %63
%68 = load ptr, ptr %22, align 8
%69 = load ptr, ptr %17, align 8
%70 = load i32, ptr %19, align 4
%71 = mul nsw i32 4, %70
%72 = add nsw i32 %71, 0
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %69, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load ptr, ptr %17, align 8
%77 = load i32, ptr %19, align 4
%78 = mul nsw i32 4, %77
%79 = add nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %76, i64 %80
%82 = load i32, ptr %81, align 4
%83 = load ptr, ptr %17, align 8
%84 = load i32, ptr %19, align 4
%85 = mul nsw i32 4, %84
%86 = add nsw i32 %85, 2
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %83, i64 %87
%89 = load i32, ptr %88, align 4
%90 = load ptr, ptr %17, align 8
%91 = load i32, ptr %19, align 4
%92 = mul nsw i32 4, %91
%93 = add nsw i32 %92, 3
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %90, i64 %94
%96 = load i32, ptr %95, align 4
%97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.4, i32 noundef %75, i32 noundef %82, i32 noundef %89, i32 noundef %96)
%98 = load i32, ptr %20, align 4
%99 = load ptr, ptr %18, align 8
%100 = load i32, ptr %19, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %102, align 4
%104 = icmp slt i32 %98, %103
br i1 %104, label %105, label %111
105: ; preds = %67
%106 = load ptr, ptr %18, align 8
%107 = load i32, ptr %19, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
store i32 %110, ptr %20, align 4
br label %111
111: ; preds = %105, %67
%112 = load ptr, ptr %18, align 8
%113 = load i32, ptr %19, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %111
store i32 1, ptr %21, align 4
br label %119
119: ; preds = %118, %111
br label %120
120: ; preds = %119
%121 = load i32, ptr %19, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %19, align 4
br label %63, !llvm.loop !8
123: ; preds = %63
store i32 0, ptr %19, align 4
br label %124
124: ; preds = %151, %123
%125 = load i32, ptr %19, align 4
%126 = load i32, ptr %13, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %128, label %154
128: ; preds = %124
%129 = load i32, ptr %20, align 4
%130 = load ptr, ptr %15, align 8
%131 = load i32, ptr %19, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
%134 = load i32, ptr %133, align 4
%135 = icmp slt i32 %129, %134
br i1 %135, label %136, label %142
136: ; preds = %128
%137 = load ptr, ptr %15, align 8
%138 = load i32, ptr %19, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i32, ptr %137, i64 %139
%141 = load i32, ptr %140, align 4
store i32 %141, ptr %20, align 4
br label %142
142: ; preds = %136, %128
%143 = load ptr, ptr %15, align 8
%144 = load i32, ptr %19, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %143, i64 %145
%147 = load i32, ptr %146, align 4
%148 = icmp eq i32 %147, 0
br i1 %148, label %149, label %150
149: ; preds = %142
store i32 1, ptr %21, align 4
br label %150
150: ; preds = %149, %142
br label %151
151: ; preds = %150
%152 = load i32, ptr %19, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %19, align 4
br label %124, !llvm.loop !9
154: ; preds = %124
%155 = load i32, ptr %16, align 4
%156 = icmp ne i32 %155, 0
br i1 %156, label %157, label %260
157: ; preds = %154
%158 = load ptr, ptr %22, align 8
%159 = load i32, ptr %20, align 4
%160 = load i32, ptr %21, align 4
%161 = add nsw i32 %159, %160
%162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef @.str.5, i32 noundef %161)
store i32 0, ptr %19, align 4
br label %163
163: ; preds = %172, %157
%164 = load i32, ptr %19, align 4
%165 = load i32, ptr %20, align 4
%166 = icmp slt i32 %164, %165
br i1 %166, label %167, label %175
167: ; preds = %163
%168 = load ptr, ptr %22, align 8
%169 = load i32, ptr %19, align 4
%170 = add nsw i32 %169, 1
%171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef @.str.6, i32 noundef %170)
br label %172
172: ; preds = %167
%173 = load i32, ptr %19, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %19, align 4
br label %163, !llvm.loop !10
175: ; preds = %163
%176 = load i32, ptr %21, align 4
%177 = icmp ne i32 %176, 0
br i1 %177, label %178, label %181
178: ; preds = %175
%179 = load ptr, ptr %22, align 8
%180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.7)
br label %181
181: ; preds = %178, %175
store i32 0, ptr %19, align 4
br label %182
182: ; preds = %207, %181
%183 = load i32, ptr %19, align 4
%184 = load i32, ptr %16, align 4
%185 = icmp slt i32 %183, %184
br i1 %185, label %186, label %210
186: ; preds = %182
%187 = load ptr, ptr %22, align 8
%188 = load ptr, ptr %18, align 8
%189 = load i32, ptr %19, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32, ptr %188, i64 %190
%192 = load i32, ptr %191, align 4
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %200
194: ; preds = %186
%195 = load ptr, ptr %18, align 8
%196 = load i32, ptr %19, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i32, ptr %195, i64 %197
%199 = load i32, ptr %198, align 4
br label %204
200: ; preds = %186
%201 = load i32, ptr %20, align 4
%202 = load i32, ptr %21, align 4
%203 = add nsw i32 %201, %202
br label %204
204: ; preds = %200, %194
%205 = phi i32 [ %199, %194 ], [ %203, %200 ]
%206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.8, i32 noundef %205)
br label %207
207: ; preds = %204
%208 = load i32, ptr %19, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %19, align 4
br label %182, !llvm.loop !11
210: ; preds = %182
%211 = load ptr, ptr %22, align 8
%212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.9)
store i32 0, ptr %19, align 4
br label %213
213: ; preds = %254, %210
%214 = load i32, ptr %19, align 4
%215 = load i32, ptr %16, align 4
%216 = icmp slt i32 %214, %215
br i1 %216, label %217, label %257
217: ; preds = %213
%218 = load ptr, ptr %22, align 8
%219 = load ptr, ptr %12, align 8
%220 = load ptr, ptr %17, align 8
%221 = load i32, ptr %19, align 4
%222 = mul nsw i32 4, %221
%223 = add nsw i32 %222, 0
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i32, ptr %220, i64 %224
%226 = load i32, ptr %225, align 4
%227 = sub nsw i32 %226, 1
%228 = load ptr, ptr %17, align 8
%229 = load i32, ptr %19, align 4
%230 = mul nsw i32 4, %229
%231 = add nsw i32 %230, 1
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds i32, ptr %228, i64 %232
%234 = load i32, ptr %233, align 4
%235 = sub nsw i32 %234, 1
%236 = load ptr, ptr %17, align 8
%237 = load i32, ptr %19, align 4
%238 = mul nsw i32 4, %237
%239 = add nsw i32 %238, 2
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds i32, ptr %236, i64 %240
%242 = load i32, ptr %241, align 4
%243 = sub nsw i32 %242, 1
%244 = load ptr, ptr %17, align 8
%245 = load i32, ptr %19, align 4
%246 = mul nsw i32 4, %245
%247 = add nsw i32 %246, 3
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds i32, ptr %244, i64 %248
%250 = load i32, ptr %249, align 4
%251 = sub nsw i32 %250, 1
%252 = call i32 @aft_tetra_qual(ptr noundef %219, i32 noundef %227, i32 noundef %235, i32 noundef %243, i32 noundef %251)
%253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.10, i32 noundef %252)
br label %254
254: ; preds = %217
%255 = load i32, ptr %19, align 4
%256 = add nsw i32 %255, 1
store i32 %256, ptr %19, align 4
br label %213, !llvm.loop !12
257: ; preds = %213
%258 = load ptr, ptr %22, align 8
%259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.11)
br label %260
260: ; preds = %257, %154
%261 = load ptr, ptr %22, align 8
%262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.12)
store i32 0, ptr %19, align 4
br label %263
263: ; preds = %420, %260
%264 = load i32, ptr %19, align 4
%265 = load i32, ptr %13, align 4
%266 = icmp slt i32 %264, %265
br i1 %266, label %267, label %423
267: ; preds = %263
%268 = load ptr, ptr %22, align 8
%269 = load ptr, ptr %15, align 8
%270 = load i32, ptr %19, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds i32, ptr %269, i64 %271
%273 = load i32, ptr %272, align 4
%274 = icmp ne i32 %273, 0
br i1 %274, label %275, label %281
275: ; preds = %267
%276 = load ptr, ptr %15, align 8
%277 = load i32, ptr %19, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds i32, ptr %276, i64 %278
%280 = load i32, ptr %279, align 4
br label %285
281: ; preds = %267
%282 = load i32, ptr %20, align 4
%283 = load i32, ptr %21, align 4
%284 = add nsw i32 %282, %283
br label %285
285: ; preds = %281, %275
%286 = phi i32 [ %280, %275 ], [ %284, %281 ]
%287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef @.str.13, i32 noundef %286)
%288 = load ptr, ptr %22, align 8
%289 = load ptr, ptr %12, align 8
%290 = load ptr, ptr %14, align 8
%291 = load i32, ptr %19, align 4
%292 = mul nsw i32 3, %291
%293 = add nsw i32 %292, 0
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds i32, ptr %290, i64 %294
%296 = load i32, ptr %295, align 4
%297 = mul nsw i32 3, %296
%298 = add nsw i32 %297, 0
%299 = sub nsw i32 %298, 3
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds double, ptr %289, i64 %300
%302 = load double, ptr %301, align 8
%303 = load ptr, ptr %12, align 8
%304 = load ptr, ptr %14, align 8
%305 = load i32, ptr %19, align 4
%306 = mul nsw i32 3, %305
%307 = add nsw i32 %306, 1
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds i32, ptr %304, i64 %308
%310 = load i32, ptr %309, align 4
%311 = mul nsw i32 3, %310
%312 = add nsw i32 %311, 0
%313 = sub nsw i32 %312, 3
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, ptr %303, i64 %314
%316 = load double, ptr %315, align 8
%317 = load ptr, ptr %12, align 8
%318 = load ptr, ptr %14, align 8
%319 = load i32, ptr %19, align 4
%320 = mul nsw i32 3, %319
%321 = add nsw i32 %320, 2
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds i32, ptr %318, i64 %322
%324 = load i32, ptr %323, align 4
%325 = mul nsw i32 3, %324
%326 = add nsw i32 %325, 0
%327 = sub nsw i32 %326, 3
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds double, ptr %317, i64 %328
%330 = load double, ptr %329, align 8
%331 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %288, ptr noundef @.str.14, double noundef %302, double noundef %316, double noundef %330)
%332 = load ptr, ptr %22, align 8
%333 = load ptr, ptr %12, align 8
%334 = load ptr, ptr %14, align 8
%335 = load i32, ptr %19, align 4
%336 = mul nsw i32 3, %335
%337 = add nsw i32 %336, 0
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds i32, ptr %334, i64 %338
%340 = load i32, ptr %339, align 4
%341 = mul nsw i32 3, %340
%342 = add nsw i32 %341, 1
%343 = sub nsw i32 %342, 3
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %333, i64 %344
%346 = load double, ptr %345, align 8
%347 = load ptr, ptr %12, align 8
%348 = load ptr, ptr %14, align 8
%349 = load i32, ptr %19, align 4
%350 = mul nsw i32 3, %349
%351 = add nsw i32 %350, 1
%352 = sext i32 %351 to i64
%353 = getelementptr inbounds i32, ptr %348, i64 %352
%354 = load i32, ptr %353, align 4
%355 = mul nsw i32 3, %354
%356 = add nsw i32 %355, 1
%357 = sub nsw i32 %356, 3
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds double, ptr %347, i64 %358
%360 = load double, ptr %359, align 8
%361 = load ptr, ptr %12, align 8
%362 = load ptr, ptr %14, align 8
%363 = load i32, ptr %19, align 4
%364 = mul nsw i32 3, %363
%365 = add nsw i32 %364, 2
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds i32, ptr %362, i64 %366
%368 = load i32, ptr %367, align 4
%369 = mul nsw i32 3, %368
%370 = add nsw i32 %369, 1
%371 = sub nsw i32 %370, 3
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds double, ptr %361, i64 %372
%374 = load double, ptr %373, align 8
%375 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %332, ptr noundef @.str.15, double noundef %346, double noundef %360, double noundef %374)
%376 = load ptr, ptr %22, align 8
%377 = load ptr, ptr %12, align 8
%378 = load ptr, ptr %14, align 8
%379 = load i32, ptr %19, align 4
%380 = mul nsw i32 3, %379
%381 = add nsw i32 %380, 0
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds i32, ptr %378, i64 %382
%384 = load i32, ptr %383, align 4
%385 = mul nsw i32 3, %384
%386 = add nsw i32 %385, 2
%387 = sub nsw i32 %386, 3
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds double, ptr %377, i64 %388
%390 = load double, ptr %389, align 8
%391 = load ptr, ptr %12, align 8
%392 = load ptr, ptr %14, align 8
%393 = load i32, ptr %19, align 4
%394 = mul nsw i32 3, %393
%395 = add nsw i32 %394, 1
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds i32, ptr %392, i64 %396
%398 = load i32, ptr %397, align 4
%399 = mul nsw i32 3, %398
%400 = add nsw i32 %399, 2
%401 = sub nsw i32 %400, 3
%402 = sext i32 %401 to i64
%403 = getelementptr inbounds double, ptr %391, i64 %402
%404 = load double, ptr %403, align 8
%405 = load ptr, ptr %12, align 8
%406 = load ptr, ptr %14, align 8
%407 = load i32, ptr %19, align 4
%408 = mul nsw i32 3, %407
%409 = add nsw i32 %408, 2
%410 = sext i32 %409 to i64
%411 = getelementptr inbounds i32, ptr %406, i64 %410
%412 = load i32, ptr %411, align 4
%413 = mul nsw i32 3, %412
%414 = add nsw i32 %413, 2
%415 = sub nsw i32 %414, 3
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds double, ptr %405, i64 %416
%418 = load double, ptr %417, align 8
%419 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %376, ptr noundef @.str.15, double noundef %390, double noundef %404, double noundef %418)
br label %420
420: ; preds = %285
%421 = load i32, ptr %19, align 4
%422 = add nsw i32 %421, 1
store i32 %422, ptr %19, align 4
br label %263, !llvm.loop !13
423: ; preds = %263
%424 = load ptr, ptr %22, align 8
%425 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %424, ptr noundef @.str.16)
%426 = load ptr, ptr %22, align 8
%427 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %426, ptr noundef @.str.17)
%428 = load ptr, ptr %22, align 8
%429 = call i32 @fclose(ptr noundef %428)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @aft_tetra_qual(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxl_8oma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"gmvinput ascii\0A\0Anodev %5d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Acells %5d\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c" tet 4\0A %4d %4d %4d %4d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"\0Amaterial %d 0\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"mat%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c" %2d\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"\0A\0Avariable\0Aqual 0\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c" %20.15lf\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"\0Aendvars\0A\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"\0A\0Apolygons\0A\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"%3d 3\00", align 1
@.str.14 = private unnamed_addr constant [29 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.15 = private unnamed_addr constant [34 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.16 = private unnamed_addr constant [9 x i8] c"endpoly\0A\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"\0Aendgmv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_mesh_gmv_qual(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store i32 %1, ptr %11, align 4
store ptr %2, ptr %12, align 8
store i32 %3, ptr %13, align 4
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i32 %6, ptr %16, align 4
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
%23 = load ptr, ptr %10, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str)
store ptr %24, ptr %22, align 8
%25 = load ptr, ptr %22, align 8
%26 = load i32, ptr %11, align 4
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef %26)
store i32 0, ptr %19, align 4
%28 = load i32, ptr %19, align 4
%29 = load i32, ptr %11, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %61
.lr.ph: ; preds = %9
br label %31
31: ; preds = %.lr.ph, %55
%32 = load ptr, ptr %22, align 8
%33 = load ptr, ptr %12, align 8
%34 = load i32, ptr %19, align 4
%35 = mul nsw i32 3, %34
%36 = add nsw i32 %35, 0
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %33, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %12, align 8
%41 = load i32, ptr %19, align 4
%42 = mul nsw i32 3, %41
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %40, i64 %44
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i32, ptr %19, align 4
%49 = mul nsw i32 3, %48
%50 = add nsw i32 %49, 2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %47, i64 %51
%53 = load double, ptr %52, align 8
%54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.2, double noundef %39, double noundef %46, double noundef %53)
br label %55
55: ; preds = %31
%56 = load i32, ptr %19, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %19, align 4
%58 = load i32, ptr %19, align 4
%59 = load i32, ptr %11, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %9
%62 = load ptr, ptr %22, align 8
%63 = load i32, ptr %16, align 4
%64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.3, i32 noundef %63)
store i32 0, ptr %19, align 4
%65 = load i32, ptr %19, align 4
%66 = load i32, ptr %16, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %.lr.ph2, label %127
.lr.ph2: ; preds = %61
br label %68
68: ; preds = %.lr.ph2, %121
%69 = load ptr, ptr %22, align 8
%70 = load ptr, ptr %17, align 8
%71 = load i32, ptr %19, align 4
%72 = mul nsw i32 4, %71
%73 = add nsw i32 %72, 0
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %70, i64 %74
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %17, align 8
%78 = load i32, ptr %19, align 4
%79 = mul nsw i32 4, %78
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %77, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %17, align 8
%85 = load i32, ptr %19, align 4
%86 = mul nsw i32 4, %85
%87 = add nsw i32 %86, 2
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %84, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load ptr, ptr %17, align 8
%92 = load i32, ptr %19, align 4
%93 = mul nsw i32 4, %92
%94 = add nsw i32 %93, 3
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %91, i64 %95
%97 = load i32, ptr %96, align 4
%98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.4, i32 noundef %76, i32 noundef %83, i32 noundef %90, i32 noundef %97)
%99 = load i32, ptr %20, align 4
%100 = load ptr, ptr %18, align 8
%101 = load i32, ptr %19, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
%104 = load i32, ptr %103, align 4
%105 = icmp slt i32 %99, %104
br i1 %105, label %106, label %112
106: ; preds = %68
%107 = load ptr, ptr %18, align 8
%108 = load i32, ptr %19, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
%111 = load i32, ptr %110, align 4
store i32 %111, ptr %20, align 4
br label %112
112: ; preds = %106, %68
%113 = load ptr, ptr %18, align 8
%114 = load i32, ptr %19, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %113, i64 %115
%117 = load i32, ptr %116, align 4
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %112
store i32 1, ptr %21, align 4
br label %120
120: ; preds = %119, %112
br label %121
121: ; preds = %120
%122 = load i32, ptr %19, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %19, align 4
%124 = load i32, ptr %19, align 4
%125 = load i32, ptr %16, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %68, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %121
br label %127
127: ; preds = %._crit_edge3, %61
store i32 0, ptr %19, align 4
%128 = load i32, ptr %19, align 4
%129 = load i32, ptr %13, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %.lr.ph5, label %160
.lr.ph5: ; preds = %127
br label %131
131: ; preds = %.lr.ph5, %154
%132 = load i32, ptr %20, align 4
%133 = load ptr, ptr %15, align 8
%134 = load i32, ptr %19, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %133, i64 %135
%137 = load i32, ptr %136, align 4
%138 = icmp slt i32 %132, %137
br i1 %138, label %139, label %145
139: ; preds = %131
%140 = load ptr, ptr %15, align 8
%141 = load i32, ptr %19, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i32, ptr %140, i64 %142
%144 = load i32, ptr %143, align 4
store i32 %144, ptr %20, align 4
br label %145
145: ; preds = %139, %131
%146 = load ptr, ptr %15, align 8
%147 = load i32, ptr %19, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %146, i64 %148
%150 = load i32, ptr %149, align 4
%151 = icmp eq i32 %150, 0
br i1 %151, label %152, label %153
152: ; preds = %145
store i32 1, ptr %21, align 4
br label %153
153: ; preds = %152, %145
br label %154
154: ; preds = %153
%155 = load i32, ptr %19, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %19, align 4
%157 = load i32, ptr %19, align 4
%158 = load i32, ptr %13, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %131, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %154
br label %160
160: ; preds = %._crit_edge6, %127
%161 = load i32, ptr %16, align 4
%162 = icmp ne i32 %161, 0
br i1 %162, label %163, label %272
163: ; preds = %160
%164 = load ptr, ptr %22, align 8
%165 = load i32, ptr %20, align 4
%166 = load i32, ptr %21, align 4
%167 = add nsw i32 %165, %166
%168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.5, i32 noundef %167)
store i32 0, ptr %19, align 4
%169 = load i32, ptr %19, align 4
%170 = load i32, ptr %20, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %.lr.ph8, label %183
.lr.ph8: ; preds = %163
br label %172
172: ; preds = %.lr.ph8, %177
%173 = load ptr, ptr %22, align 8
%174 = load i32, ptr %19, align 4
%175 = add nsw i32 %174, 1
%176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.6, i32 noundef %175)
br label %177
177: ; preds = %172
%178 = load i32, ptr %19, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %19, align 4
%180 = load i32, ptr %19, align 4
%181 = load i32, ptr %20, align 4
%182 = icmp slt i32 %180, %181
br i1 %182, label %172, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %177
br label %183
183: ; preds = %._crit_edge9, %163
%184 = load i32, ptr %21, align 4
%185 = icmp ne i32 %184, 0
br i1 %185, label %186, label %189
186: ; preds = %183
%187 = load ptr, ptr %22, align 8
%188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.7)
br label %189
189: ; preds = %186, %183
store i32 0, ptr %19, align 4
%190 = load i32, ptr %19, align 4
%191 = load i32, ptr %16, align 4
%192 = icmp slt i32 %190, %191
br i1 %192, label %.lr.ph11, label %220
.lr.ph11: ; preds = %189
br label %193
193: ; preds = %.lr.ph11, %214
%194 = load ptr, ptr %22, align 8
%195 = load ptr, ptr %18, align 8
%196 = load i32, ptr %19, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i32, ptr %195, i64 %197
%199 = load i32, ptr %198, align 4
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %207
201: ; preds = %193
%202 = load ptr, ptr %18, align 8
%203 = load i32, ptr %19, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i32, ptr %202, i64 %204
%206 = load i32, ptr %205, align 4
br label %211
207: ; preds = %193
%208 = load i32, ptr %20, align 4
%209 = load i32, ptr %21, align 4
%210 = add nsw i32 %208, %209
br label %211
211: ; preds = %207, %201
%212 = phi i32 [ %206, %201 ], [ %210, %207 ]
%213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.8, i32 noundef %212)
br label %214
214: ; preds = %211
%215 = load i32, ptr %19, align 4
%216 = add nsw i32 %215, 1
store i32 %216, ptr %19, align 4
%217 = load i32, ptr %19, align 4
%218 = load i32, ptr %16, align 4
%219 = icmp slt i32 %217, %218
br i1 %219, label %193, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %214
br label %220
220: ; preds = %._crit_edge12, %189
%221 = load ptr, ptr %22, align 8
%222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.9)
store i32 0, ptr %19, align 4
%223 = load i32, ptr %19, align 4
%224 = load i32, ptr %16, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %.lr.ph14, label %269
.lr.ph14: ; preds = %220
br label %226
226: ; preds = %.lr.ph14, %263
%227 = load ptr, ptr %22, align 8
%228 = load ptr, ptr %12, align 8
%229 = load ptr, ptr %17, align 8
%230 = load i32, ptr %19, align 4
%231 = mul nsw i32 4, %230
%232 = add nsw i32 %231, 0
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i32, ptr %229, i64 %233
%235 = load i32, ptr %234, align 4
%236 = sub nsw i32 %235, 1
%237 = load ptr, ptr %17, align 8
%238 = load i32, ptr %19, align 4
%239 = mul nsw i32 4, %238
%240 = add nsw i32 %239, 1
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds i32, ptr %237, i64 %241
%243 = load i32, ptr %242, align 4
%244 = sub nsw i32 %243, 1
%245 = load ptr, ptr %17, align 8
%246 = load i32, ptr %19, align 4
%247 = mul nsw i32 4, %246
%248 = add nsw i32 %247, 2
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i32, ptr %245, i64 %249
%251 = load i32, ptr %250, align 4
%252 = sub nsw i32 %251, 1
%253 = load ptr, ptr %17, align 8
%254 = load i32, ptr %19, align 4
%255 = mul nsw i32 4, %254
%256 = add nsw i32 %255, 3
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds i32, ptr %253, i64 %257
%259 = load i32, ptr %258, align 4
%260 = sub nsw i32 %259, 1
%261 = call i32 @aft_tetra_qual(ptr noundef %228, i32 noundef %236, i32 noundef %244, i32 noundef %252, i32 noundef %260)
%262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.10, i32 noundef %261)
br label %263
263: ; preds = %226
%264 = load i32, ptr %19, align 4
%265 = add nsw i32 %264, 1
store i32 %265, ptr %19, align 4
%266 = load i32, ptr %19, align 4
%267 = load i32, ptr %16, align 4
%268 = icmp slt i32 %266, %267
br i1 %268, label %226, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %263
br label %269
269: ; preds = %._crit_edge15, %220
%270 = load ptr, ptr %22, align 8
%271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %270, ptr noundef @.str.11)
br label %272
272: ; preds = %269, %160
%273 = load ptr, ptr %22, align 8
%274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.12)
store i32 0, ptr %19, align 4
%275 = load i32, ptr %19, align 4
%276 = load i32, ptr %13, align 4
%277 = icmp slt i32 %275, %276
br i1 %277, label %.lr.ph17, label %437
.lr.ph17: ; preds = %272
br label %278
278: ; preds = %.lr.ph17, %431
%279 = load ptr, ptr %22, align 8
%280 = load ptr, ptr %15, align 8
%281 = load i32, ptr %19, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds i32, ptr %280, i64 %282
%284 = load i32, ptr %283, align 4
%285 = icmp ne i32 %284, 0
br i1 %285, label %286, label %292
286: ; preds = %278
%287 = load ptr, ptr %15, align 8
%288 = load i32, ptr %19, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds i32, ptr %287, i64 %289
%291 = load i32, ptr %290, align 4
br label %296
292: ; preds = %278
%293 = load i32, ptr %20, align 4
%294 = load i32, ptr %21, align 4
%295 = add nsw i32 %293, %294
br label %296
296: ; preds = %292, %286
%297 = phi i32 [ %291, %286 ], [ %295, %292 ]
%298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.13, i32 noundef %297)
%299 = load ptr, ptr %22, align 8
%300 = load ptr, ptr %12, align 8
%301 = load ptr, ptr %14, align 8
%302 = load i32, ptr %19, align 4
%303 = mul nsw i32 3, %302
%304 = add nsw i32 %303, 0
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds i32, ptr %301, i64 %305
%307 = load i32, ptr %306, align 4
%308 = mul nsw i32 3, %307
%309 = add nsw i32 %308, 0
%310 = sub nsw i32 %309, 3
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds double, ptr %300, i64 %311
%313 = load double, ptr %312, align 8
%314 = load ptr, ptr %12, align 8
%315 = load ptr, ptr %14, align 8
%316 = load i32, ptr %19, align 4
%317 = mul nsw i32 3, %316
%318 = add nsw i32 %317, 1
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds i32, ptr %315, i64 %319
%321 = load i32, ptr %320, align 4
%322 = mul nsw i32 3, %321
%323 = add nsw i32 %322, 0
%324 = sub nsw i32 %323, 3
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds double, ptr %314, i64 %325
%327 = load double, ptr %326, align 8
%328 = load ptr, ptr %12, align 8
%329 = load ptr, ptr %14, align 8
%330 = load i32, ptr %19, align 4
%331 = mul nsw i32 3, %330
%332 = add nsw i32 %331, 2
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds i32, ptr %329, i64 %333
%335 = load i32, ptr %334, align 4
%336 = mul nsw i32 3, %335
%337 = add nsw i32 %336, 0
%338 = sub nsw i32 %337, 3
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds double, ptr %328, i64 %339
%341 = load double, ptr %340, align 8
%342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.14, double noundef %313, double noundef %327, double noundef %341)
%343 = load ptr, ptr %22, align 8
%344 = load ptr, ptr %12, align 8
%345 = load ptr, ptr %14, align 8
%346 = load i32, ptr %19, align 4
%347 = mul nsw i32 3, %346
%348 = add nsw i32 %347, 0
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds i32, ptr %345, i64 %349
%351 = load i32, ptr %350, align 4
%352 = mul nsw i32 3, %351
%353 = add nsw i32 %352, 1
%354 = sub nsw i32 %353, 3
%355 = sext i32 %354 to i64
%356 = getelementptr inbounds double, ptr %344, i64 %355
%357 = load double, ptr %356, align 8
%358 = load ptr, ptr %12, align 8
%359 = load ptr, ptr %14, align 8
%360 = load i32, ptr %19, align 4
%361 = mul nsw i32 3, %360
%362 = add nsw i32 %361, 1
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds i32, ptr %359, i64 %363
%365 = load i32, ptr %364, align 4
%366 = mul nsw i32 3, %365
%367 = add nsw i32 %366, 1
%368 = sub nsw i32 %367, 3
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds double, ptr %358, i64 %369
%371 = load double, ptr %370, align 8
%372 = load ptr, ptr %12, align 8
%373 = load ptr, ptr %14, align 8
%374 = load i32, ptr %19, align 4
%375 = mul nsw i32 3, %374
%376 = add nsw i32 %375, 2
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds i32, ptr %373, i64 %377
%379 = load i32, ptr %378, align 4
%380 = mul nsw i32 3, %379
%381 = add nsw i32 %380, 1
%382 = sub nsw i32 %381, 3
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds double, ptr %372, i64 %383
%385 = load double, ptr %384, align 8
%386 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef @.str.15, double noundef %357, double noundef %371, double noundef %385)
%387 = load ptr, ptr %22, align 8
%388 = load ptr, ptr %12, align 8
%389 = load ptr, ptr %14, align 8
%390 = load i32, ptr %19, align 4
%391 = mul nsw i32 3, %390
%392 = add nsw i32 %391, 0
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds i32, ptr %389, i64 %393
%395 = load i32, ptr %394, align 4
%396 = mul nsw i32 3, %395
%397 = add nsw i32 %396, 2
%398 = sub nsw i32 %397, 3
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds double, ptr %388, i64 %399
%401 = load double, ptr %400, align 8
%402 = load ptr, ptr %12, align 8
%403 = load ptr, ptr %14, align 8
%404 = load i32, ptr %19, align 4
%405 = mul nsw i32 3, %404
%406 = add nsw i32 %405, 1
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i32, ptr %403, i64 %407
%409 = load i32, ptr %408, align 4
%410 = mul nsw i32 3, %409
%411 = add nsw i32 %410, 2
%412 = sub nsw i32 %411, 3
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds double, ptr %402, i64 %413
%415 = load double, ptr %414, align 8
%416 = load ptr, ptr %12, align 8
%417 = load ptr, ptr %14, align 8
%418 = load i32, ptr %19, align 4
%419 = mul nsw i32 3, %418
%420 = add nsw i32 %419, 2
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds i32, ptr %417, i64 %421
%423 = load i32, ptr %422, align 4
%424 = mul nsw i32 3, %423
%425 = add nsw i32 %424, 2
%426 = sub nsw i32 %425, 3
%427 = sext i32 %426 to i64
%428 = getelementptr inbounds double, ptr %416, i64 %427
%429 = load double, ptr %428, align 8
%430 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %387, ptr noundef @.str.15, double noundef %401, double noundef %415, double noundef %429)
br label %431
431: ; preds = %296
%432 = load i32, ptr %19, align 4
%433 = add nsw i32 %432, 1
store i32 %433, ptr %19, align 4
%434 = load i32, ptr %19, align 4
%435 = load i32, ptr %13, align 4
%436 = icmp slt i32 %434, %435
br i1 %436, label %278, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %431
br label %437
437: ; preds = %._crit_edge18, %272
%438 = load ptr, ptr %22, align 8
%439 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %438, ptr noundef @.str.16)
%440 = load ptr, ptr %22, align 8
%441 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %440, ptr noundef @.str.17)
%442 = load ptr, ptr %22, align 8
%443 = call i32 @fclose(ptr noundef %442)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @aft_tetra_qual(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpy_8od0qn.c'
source_filename = "/tmp/tmpy_8od0qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c",\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_from_list(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 -1, ptr %8, align 4
store i32 1, ptr %9, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = mul i64 1, %16
%18 = add i64 %17, 2
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %2
store i32 -1, ptr %3, align 4
br label %120
25: ; preds = %2
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = add nsw i32 %28, 2
%30 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
%38 = call i32 @strlen(ptr noundef %37)
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 44, ptr %40, align 1
br label %41
41: ; preds = %119, %25
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load ptr, ptr %6, align 8
%46 = call ptr @strtok(ptr noundef %45, ptr noundef @.str)
store ptr %46, ptr %7, align 8
br label %49
47: ; preds = %41
%48 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %48, ptr %7, align 8
br label %49
49: ; preds = %47, %44
%50 = load ptr, ptr %7, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %52, %49
store i32 -1, ptr %3, align 4
br label %120
58: ; preds = %52
%59 = load ptr, ptr %7, align 8
%60 = call ptr @strchr(ptr noundef %59, i8 noundef signext 45)
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %109
62: ; preds = %58
%63 = load ptr, ptr %7, align 8
store ptr %63, ptr %10, align 8
%64 = load ptr, ptr %7, align 8
%65 = call ptr @strchr(ptr noundef %64, i8 noundef signext 45)
store ptr %65, ptr %11, align 8
%66 = load ptr, ptr %11, align 8
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %11, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %11, align 8
%69 = load ptr, ptr %10, align 8
%70 = load i8, ptr %69, align 1
%71 = icmp ne i8 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %62
%73 = load ptr, ptr %11, align 8
%74 = load i8, ptr %73, align 1
%75 = icmp ne i8 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %72, %62
store i32 -1, ptr %3, align 4
br label %120
77: ; preds = %72
%78 = load ptr, ptr %10, align 8
%79 = call i32 @atoi(ptr noundef %78)
store i32 %79, ptr %12, align 4
%80 = load ptr, ptr %11, align 8
%81 = call i32 @atoi(ptr noundef %80)
store i32 %81, ptr %13, align 4
%82 = load i32, ptr %12, align 4
%83 = icmp slt i32 %82, 1
br i1 %83, label %91, label %84
84: ; preds = %77
%85 = load i32, ptr %13, align 4
%86 = icmp slt i32 %85, 1
br i1 %86, label %91, label %87
87: ; preds = %84
%88 = load i32, ptr %13, align 4
%89 = load i32, ptr %12, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %92
91: ; preds = %87, %84, %77
store i32 -1, ptr %3, align 4
br label %120
92: ; preds = %87
%93 = load i32, ptr %13, align 4
%94 = load i32, ptr %12, align 4
%95 = sub nsw i32 %93, %94
%96 = add nsw i32 %95, 1
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %8, align 4
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %5, align 4
%101 = icmp sge i32 %99, %100
br i1 %101, label %102, label %108
102: ; preds = %92
%103 = load i32, ptr %13, align 4
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %5, align 4
%106 = sub nsw i32 %104, %105
%107 = sub nsw i32 %103, %106
store i32 %107, ptr %3, align 4
br label %120
108: ; preds = %92
br label %119
109: ; preds = %58
%110 = load i32, ptr %8, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %8, align 4
%112 = load i32, ptr %8, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp eq i32 %112, %113
br i1 %114, label %115, label %118
115: ; preds = %109
%116 = load ptr, ptr %7, align 8
%117 = call i32 @atoi(ptr noundef %116)
store i32 %117, ptr %3, align 4
br label %120
118: ; preds = %109
br label %119
119: ; preds = %118, %108
store i32 0, ptr %9, align 4
br label %41
120: ; preds = %115, %102, %91, %76, %57, %24
%121 = load i32, ptr %3, align 4
ret i32 %121
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_8od0qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c",\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_from_list(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 -1, ptr %8, align 4
store i32 1, ptr %9, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = mul i64 1, %16
%18 = add i64 %17, 2
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %2
store i32 -1, ptr %3, align 4
br label %120
25: ; preds = %2
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = add nsw i32 %28, 2
%30 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
%38 = call i32 @strlen(ptr noundef %37)
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 44, ptr %40, align 1
br label %41
41: ; preds = %119, %25
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load ptr, ptr %6, align 8
%46 = call ptr @strtok(ptr noundef %45, ptr noundef @.str)
store ptr %46, ptr %7, align 8
br label %49
47: ; preds = %41
%48 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %48, ptr %7, align 8
br label %49
49: ; preds = %47, %44
%50 = load ptr, ptr %7, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %52, %49
store i32 -1, ptr %3, align 4
br label %120
58: ; preds = %52
%59 = load ptr, ptr %7, align 8
%60 = call ptr @strchr(ptr noundef %59, i8 noundef signext 45)
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %109
62: ; preds = %58
%63 = load ptr, ptr %7, align 8
store ptr %63, ptr %10, align 8
%64 = load ptr, ptr %7, align 8
%65 = call ptr @strchr(ptr noundef %64, i8 noundef signext 45)
store ptr %65, ptr %11, align 8
%66 = load ptr, ptr %11, align 8
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %11, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %11, align 8
%69 = load ptr, ptr %10, align 8
%70 = load i8, ptr %69, align 1
%71 = icmp ne i8 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %62
%73 = load ptr, ptr %11, align 8
%74 = load i8, ptr %73, align 1
%75 = icmp ne i8 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %72, %62
store i32 -1, ptr %3, align 4
br label %120
77: ; preds = %72
%78 = load ptr, ptr %10, align 8
%79 = call i32 @atoi(ptr noundef %78)
store i32 %79, ptr %12, align 4
%80 = load ptr, ptr %11, align 8
%81 = call i32 @atoi(ptr noundef %80)
store i32 %81, ptr %13, align 4
%82 = load i32, ptr %12, align 4
%83 = icmp slt i32 %82, 1
br i1 %83, label %91, label %84
84: ; preds = %77
%85 = load i32, ptr %13, align 4
%86 = icmp slt i32 %85, 1
br i1 %86, label %91, label %87
87: ; preds = %84
%88 = load i32, ptr %13, align 4
%89 = load i32, ptr %12, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %92
91: ; preds = %87, %84, %77
store i32 -1, ptr %3, align 4
br label %120
92: ; preds = %87
%93 = load i32, ptr %13, align 4
%94 = load i32, ptr %12, align 4
%95 = sub nsw i32 %93, %94
%96 = add nsw i32 %95, 1
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %8, align 4
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %5, align 4
%101 = icmp sge i32 %99, %100
br i1 %101, label %102, label %108
102: ; preds = %92
%103 = load i32, ptr %13, align 4
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %5, align 4
%106 = sub nsw i32 %104, %105
%107 = sub nsw i32 %103, %106
store i32 %107, ptr %3, align 4
br label %120
108: ; preds = %92
br label %119
109: ; preds = %58
%110 = load i32, ptr %8, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %8, align 4
%112 = load i32, ptr %8, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp eq i32 %112, %113
br i1 %114, label %115, label %118
115: ; preds = %109
%116 = load ptr, ptr %7, align 8
%117 = call i32 @atoi(ptr noundef %116)
store i32 %117, ptr %3, align 4
br label %120
118: ; preds = %109
br label %119
119: ; preds = %118, %108
store i32 0, ptr %9, align 4
br label %41
120: ; preds = %115, %102, %91, %76, %57, %24
%121 = load i32, ptr %3, align 4
ret i32 %121
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_03gvmh8.c'
source_filename = "/tmp/tmp_03gvmh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replacenonprintable(ptr noundef %0, i32 noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i8 %2, ptr %6, align 1
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %27, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %30
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @isprint(i8 noundef zeroext %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %12
%21 = load i8, ptr %6, align 1
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 %21, ptr %25, align 1
br label %26
26: ; preds = %20, %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
br label %8, !llvm.loop !6
30: ; preds = %8
ret void
}
declare i32 @isprint(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_03gvmh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replacenonprintable(ptr noundef %0, i32 noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i8 %2, ptr %6, align 1
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %26
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i32 @isprint(i8 noundef zeroext %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %11
%20 = load i8, ptr %6, align 1
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %19, %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %3
ret void
}
declare i32 @isprint(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu0v93v7y.c'
source_filename = "/tmp/tmpu0v93v7y.c"
target datalayout = "e-m:e-p270: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/tmpu0v93v7y.c"
target datalayout = "e-m:e-p270: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/tmp9qcyly63.c'
source_filename = "/tmp/tmp9qcyly63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mark_one_cluster(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %12, align 4
%18 = call i32 @fill_matrix(ptr noundef %15, i32 noundef %16, i32 noundef %17, i8 noundef signext 46)
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %12, align 4
%24 = load ptr, ptr %13, align 8
%25 = load i32, ptr %14, align 4
%26 = call i32 @mark_one_cluster_aux(ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %24, i32 noundef %25)
ret void
}
declare i32 @fill_matrix(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @mark_one_cluster_aux(ptr noundef, ptr noundef, ptr noundef, i32 noundef, 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/tmp9qcyly63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mark_one_cluster(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %12, align 4
%18 = call i32 @fill_matrix(ptr noundef %15, i32 noundef %16, i32 noundef %17, i8 noundef signext 46)
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %12, align 4
%24 = load ptr, ptr %13, align 8
%25 = load i32, ptr %14, align 4
%26 = call i32 @mark_one_cluster_aux(ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %24, i32 noundef %25)
ret void
}
declare i32 @fill_matrix(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @mark_one_cluster_aux(ptr noundef, ptr noundef, ptr noundef, i32 noundef, 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/tmpq4uhihro.c'
source_filename = "/tmp/tmpq4uhihro.c"
target datalayout = "e-m:e-p270: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/tmpq4uhihro.c"
target datalayout = "e-m:e-p270: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/tmpmyb0ewql.c'
source_filename = "/tmp/tmpmyb0ewql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_IP = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SIOCADDRT = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmyb0ewql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_IP = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SIOCADDRT = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp12sbj148.c'
source_filename = "/tmp/tmp12sbj148.c"
target datalayout = "e-m:e-p270: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/tmp12sbj148.c"
target datalayout = "e-m:e-p270: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/tmpfe8p2cvg.c'
source_filename = "/tmp/tmpfe8p2cvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (...) @__llair_choice()
store i32 %5, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare i32 @__llair_choice(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpfe8p2cvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (...) @__llair_choice()
store i32 %5, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %13
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @__llair_choice(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpjvm0jrzq.c'
source_filename = "/tmp/tmpjvm0jrzq.c"
target datalayout = "e-m:e-p270: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/tmpjvm0jrzq.c"
target datalayout = "e-m:e-p270: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/tmpa92ievcy.c'
source_filename = "/tmp/tmpa92ievcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s/.pom1/\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%spom1.cfg\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"// Pom1 Configuration\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"pixelSize=\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"scanlines=\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"terminalSpeed=\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"ram8k=\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"writeInRom=\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"fullscreen=\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"blinkCursor=\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"blockCursor=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saveConfiguration() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [256 x i8], align 16
%5 = alloca ptr, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %0
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 8
%13 = call i64 @malloc(i64 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @mkdir(ptr noundef %18, i32 noundef 493)
br label %22
20: ; preds = %0
%21 = call ptr @strdup(ptr noundef @.str.2)
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %20, %9
%23 = load ptr, ptr %2, align 8
%24 = call i64 @strlen(ptr noundef %23)
%25 = add nsw i64 %24, 9
%26 = call i64 @malloc(i64 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %3, align 8
%28 = load ptr, ptr %3, align 8
%29 = load ptr, ptr %2, align 8
%30 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.3, ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = load ptr, ptr %3, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.4)
store ptr %34, ptr %1, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load ptr, ptr %1, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %129
39: ; preds = %22
%40 = load ptr, ptr %1, align 8
%41 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %40)
%42 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.6)
%44 = call i32 (...) @getPixelSize()
%45 = or i32 %44, 48
%46 = trunc i32 %45 to i8
%47 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 10
store i8 %46, ptr %47, align 2
%48 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 10, ptr %48, align 1
%49 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 0, ptr %49, align 4
%50 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%51 = load ptr, ptr %1, align 8
%52 = call i32 @fputs(ptr noundef %50, ptr noundef %51)
%53 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%54 = call i32 @strcpy(ptr noundef %53, ptr noundef @.str.7)
%55 = call i32 (...) @getScanlines()
%56 = or i32 %55, 48
%57 = trunc i32 %56 to i8
%58 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 10
store i8 %57, ptr %58, align 2
%59 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 10, ptr %59, align 1
%60 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 0, ptr %60, align 4
%61 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%62 = load ptr, ptr %1, align 8
%63 = call i32 @fputs(ptr noundef %61, ptr noundef %62)
%64 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%65 = call i32 @strcpy(ptr noundef %64, ptr noundef @.str.8)
%66 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 14
%67 = call i32 (...) @getTerminalSpeed()
%68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.9, i32 noundef %67)
%69 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%70 = load ptr, ptr %1, align 8
%71 = call i32 @fputs(ptr noundef %69, ptr noundef %70)
%72 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%73 = call i32 @strcpy(ptr noundef %72, ptr noundef @.str.10)
%74 = call i32 (...) @getRam8k()
%75 = or i32 %74, 48
%76 = trunc i32 %75 to i8
%77 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 6
store i8 %76, ptr %77, align 2
%78 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 7
store i8 10, ptr %78, align 1
%79 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 8
store i8 0, ptr %79, align 8
%80 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%81 = load ptr, ptr %1, align 8
%82 = call i32 @fputs(ptr noundef %80, ptr noundef %81)
%83 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%84 = call i32 @strcpy(ptr noundef %83, ptr noundef @.str.11)
%85 = call i32 (...) @getWriteInRom()
%86 = or i32 %85, 48
%87 = trunc i32 %86 to i8
%88 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 %87, ptr %88, align 1
%89 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 10, ptr %89, align 4
%90 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 0, ptr %90, align 1
%91 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%92 = load ptr, ptr %1, align 8
%93 = call i32 @fputs(ptr noundef %91, ptr noundef %92)
%94 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%95 = call i32 @strcpy(ptr noundef %94, ptr noundef @.str.12)
%96 = call i32 (...) @getFullscreen()
%97 = or i32 %96, 48
%98 = trunc i32 %97 to i8
%99 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 %98, ptr %99, align 1
%100 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 10, ptr %100, align 4
%101 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 0, ptr %101, align 1
%102 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%103 = load ptr, ptr %1, align 8
%104 = call i32 @fputs(ptr noundef %102, ptr noundef %103)
%105 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%106 = call i32 @strcpy(ptr noundef %105, ptr noundef @.str.13)
%107 = call i32 (...) @getBlinkCursor()
%108 = or i32 %107, 48
%109 = trunc i32 %108 to i8
%110 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 %109, ptr %110, align 4
%111 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 10, ptr %111, align 1
%112 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 14
store i8 0, ptr %112, align 2
%113 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%114 = load ptr, ptr %1, align 8
%115 = call i32 @fputs(ptr noundef %113, ptr noundef %114)
%116 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%117 = call i32 @strcpy(ptr noundef %116, ptr noundef @.str.14)
%118 = call i32 (...) @getBlockCursor()
%119 = or i32 %118, 48
%120 = trunc i32 %119 to i8
%121 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 %120, ptr %121, align 4
%122 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 10, ptr %122, align 1
%123 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 14
store i8 0, ptr %123, align 2
%124 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%125 = load ptr, ptr %1, align 8
%126 = call i32 @fputs(ptr noundef %124, ptr noundef %125)
%127 = load ptr, ptr %1, align 8
%128 = call i32 @fclose(ptr noundef %127)
br label %129
129: ; preds = %39, %22
ret void
}
declare ptr @getenv(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @getPixelSize(...) #1
declare i32 @getScanlines(...) #1
declare i32 @getTerminalSpeed(...) #1
declare i32 @getRam8k(...) #1
declare i32 @getWriteInRom(...) #1
declare i32 @getFullscreen(...) #1
declare i32 @getBlinkCursor(...) #1
declare i32 @getBlockCursor(...) #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/tmpa92ievcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s/.pom1/\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%spom1.cfg\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"// Pom1 Configuration\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"pixelSize=\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"scanlines=\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"terminalSpeed=\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"ram8k=\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"writeInRom=\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"fullscreen=\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"blinkCursor=\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"blockCursor=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saveConfiguration() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [256 x i8], align 16
%5 = alloca ptr, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %0
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 8
%13 = call i64 @malloc(i64 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @mkdir(ptr noundef %18, i32 noundef 493)
br label %22
20: ; preds = %0
%21 = call ptr @strdup(ptr noundef @.str.2)
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %20, %9
%23 = load ptr, ptr %2, align 8
%24 = call i64 @strlen(ptr noundef %23)
%25 = add nsw i64 %24, 9
%26 = call i64 @malloc(i64 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %3, align 8
%28 = load ptr, ptr %3, align 8
%29 = load ptr, ptr %2, align 8
%30 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.3, ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = load ptr, ptr %3, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.4)
store ptr %34, ptr %1, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load ptr, ptr %1, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %129
39: ; preds = %22
%40 = load ptr, ptr %1, align 8
%41 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %40)
%42 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.6)
%44 = call i32 (...) @getPixelSize()
%45 = or i32 %44, 48
%46 = trunc i32 %45 to i8
%47 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 10
store i8 %46, ptr %47, align 2
%48 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 10, ptr %48, align 1
%49 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 0, ptr %49, align 4
%50 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%51 = load ptr, ptr %1, align 8
%52 = call i32 @fputs(ptr noundef %50, ptr noundef %51)
%53 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%54 = call i32 @strcpy(ptr noundef %53, ptr noundef @.str.7)
%55 = call i32 (...) @getScanlines()
%56 = or i32 %55, 48
%57 = trunc i32 %56 to i8
%58 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 10
store i8 %57, ptr %58, align 2
%59 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 10, ptr %59, align 1
%60 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 0, ptr %60, align 4
%61 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%62 = load ptr, ptr %1, align 8
%63 = call i32 @fputs(ptr noundef %61, ptr noundef %62)
%64 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%65 = call i32 @strcpy(ptr noundef %64, ptr noundef @.str.8)
%66 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 14
%67 = call i32 (...) @getTerminalSpeed()
%68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.9, i32 noundef %67)
%69 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%70 = load ptr, ptr %1, align 8
%71 = call i32 @fputs(ptr noundef %69, ptr noundef %70)
%72 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%73 = call i32 @strcpy(ptr noundef %72, ptr noundef @.str.10)
%74 = call i32 (...) @getRam8k()
%75 = or i32 %74, 48
%76 = trunc i32 %75 to i8
%77 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 6
store i8 %76, ptr %77, align 2
%78 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 7
store i8 10, ptr %78, align 1
%79 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 8
store i8 0, ptr %79, align 8
%80 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%81 = load ptr, ptr %1, align 8
%82 = call i32 @fputs(ptr noundef %80, ptr noundef %81)
%83 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%84 = call i32 @strcpy(ptr noundef %83, ptr noundef @.str.11)
%85 = call i32 (...) @getWriteInRom()
%86 = or i32 %85, 48
%87 = trunc i32 %86 to i8
%88 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 %87, ptr %88, align 1
%89 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 10, ptr %89, align 4
%90 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 0, ptr %90, align 1
%91 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%92 = load ptr, ptr %1, align 8
%93 = call i32 @fputs(ptr noundef %91, ptr noundef %92)
%94 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%95 = call i32 @strcpy(ptr noundef %94, ptr noundef @.str.12)
%96 = call i32 (...) @getFullscreen()
%97 = or i32 %96, 48
%98 = trunc i32 %97 to i8
%99 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 11
store i8 %98, ptr %99, align 1
%100 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 10, ptr %100, align 4
%101 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 0, ptr %101, align 1
%102 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%103 = load ptr, ptr %1, align 8
%104 = call i32 @fputs(ptr noundef %102, ptr noundef %103)
%105 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%106 = call i32 @strcpy(ptr noundef %105, ptr noundef @.str.13)
%107 = call i32 (...) @getBlinkCursor()
%108 = or i32 %107, 48
%109 = trunc i32 %108 to i8
%110 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 %109, ptr %110, align 4
%111 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 10, ptr %111, align 1
%112 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 14
store i8 0, ptr %112, align 2
%113 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%114 = load ptr, ptr %1, align 8
%115 = call i32 @fputs(ptr noundef %113, ptr noundef %114)
%116 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%117 = call i32 @strcpy(ptr noundef %116, ptr noundef @.str.14)
%118 = call i32 (...) @getBlockCursor()
%119 = or i32 %118, 48
%120 = trunc i32 %119 to i8
%121 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 12
store i8 %120, ptr %121, align 4
%122 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 13
store i8 10, ptr %122, align 1
%123 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 14
store i8 0, ptr %123, align 2
%124 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%125 = load ptr, ptr %1, align 8
%126 = call i32 @fputs(ptr noundef %124, ptr noundef %125)
%127 = load ptr, ptr %1, align 8
%128 = call i32 @fclose(ptr noundef %127)
br label %129
129: ; preds = %39, %22
ret void
}
declare ptr @getenv(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @getPixelSize(...) #1
declare i32 @getScanlines(...) #1
declare i32 @getTerminalSpeed(...) #1
declare i32 @getRam8k(...) #1
declare i32 @getWriteInRom(...) #1
declare i32 @getFullscreen(...) #1
declare i32 @getBlinkCursor(...) #1
declare i32 @getBlockCursor(...) #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/tmp4gmj96w6.c'
source_filename = "/tmp/tmp4gmj96w6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%s%s%s@%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_time_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [100 x i8], align 16
%7 = alloca [50 x ptr], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 0
%13 = call i32 @parse(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %5, align 4
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 2
%19 = load ptr, ptr %18, align 16
%20 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 1
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 4
%23 = load ptr, ptr %22, align 16
%24 = getelementptr inbounds i8, ptr %23, i64 2
%25 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 3
%26 = load ptr, ptr %25, align 8
%27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %19, ptr noundef %21, ptr noundef %24, ptr noundef %26)
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @parse(ptr noundef, ptr noundef) #1
declare i32 @sprintf(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/tmp4gmj96w6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%s%s%s@%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_time_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [100 x i8], align 16
%7 = alloca [50 x ptr], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 0
%13 = call i32 @parse(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %5, align 4
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 2
%19 = load ptr, ptr %18, align 16
%20 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 1
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 4
%23 = load ptr, ptr %22, align 16
%24 = getelementptr inbounds i8, ptr %23, i64 2
%25 = getelementptr inbounds [50 x ptr], ptr %7, i64 0, i64 3
%26 = load ptr, ptr %25, align 8
%27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %19, ptr noundef %21, ptr noundef %24, ptr noundef %26)
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @parse(ptr noundef, ptr noundef) #1
declare i32 @sprintf(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/tmpe62c1p0d.c'
source_filename = "/tmp/tmpe62c1p0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %73, %0
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %76
13: ; preds = %9
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sge i32 %15, %16
br i1 %17, label %18, label %43
18: ; preds = %13
%19 = load i32, ptr %3, align 4
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %37, %18
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %21, %22
br i1 %23, label %24, label %40
24: ; preds = %20
%25 = load i32, ptr %6, align 4
%26 = srem i32 %25, 2
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %33, %34
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %32, %28, %24
br label %37
37: ; preds = %36
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
br label %20, !llvm.loop !6
40: ; preds = %20
%41 = load i32, ptr %7, align 4
%42 = call i32 @printf(ptr noundef @.str.2, i32 noundef %41)
store i32 0, ptr %7, align 4
br label %43
43: ; preds = %40, %13
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %72
47: ; preds = %43
%48 = load i32, ptr %3, align 4
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %66, %47
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %69
53: ; preds = %49
%54 = load i32, ptr %6, align 4
%55 = srem i32 %54, 2
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp ne i32 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %62, %63
store i32 %64, ptr %7, align 4
br label %65
65: ; preds = %61, %57, %53
br label %66
66: ; preds = %65
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %49, !llvm.loop !8
69: ; preds = %49
%70 = load i32, ptr %7, align 4
%71 = call i32 @printf(ptr noundef @.str.2, i32 noundef %70)
store i32 0, ptr %7, align 4
br label %72
72: ; preds = %69, %43
br label %73
73: ; preds = %72
%74 = load i32, ptr %5, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %5, align 4
br label %9, !llvm.loop !9
76: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe62c1p0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph5, label %82
.lr.ph5: ; preds = %0
br label %12
12: ; preds = %.lr.ph5, %76
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %17, label %44
17: ; preds = %12
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %.lr.ph, label %41
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %6, align 4
%24 = srem i32 %23, 2
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %31, %32
store i32 %33, ptr %7, align 4
br label %34
34: ; preds = %30, %26, %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %17
%42 = load i32, ptr %7, align 4
%43 = call i32 @printf(ptr noundef @.str.2, i32 noundef %42)
store i32 0, ptr %7, align 4
br label %44
44: ; preds = %41, %12
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %75
48: ; preds = %44
%49 = load i32, ptr %3, align 4
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %72
.lr.ph2: ; preds = %48
br label %53
53: ; preds = %.lr.ph2, %66
%54 = load i32, ptr %6, align 4
%55 = srem i32 %54, 2
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp ne i32 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %62, %63
store i32 %64, ptr %7, align 4
br label %65
65: ; preds = %61, %57, %53
br label %66
66: ; preds = %65
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
%69 = load i32, ptr %6, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %48
%73 = load i32, ptr %7, align 4
%74 = call i32 @printf(ptr noundef @.str.2, i32 noundef %73)
store i32 0, ptr %7, align 4
br label %75
75: ; preds = %72, %44
br label %76
76: ; preds = %75
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %2, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpp2grw1ns.c'
source_filename = "/tmp/tmpp2grw1ns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @vla()
%2 = call i32 (...) @callok()
ret i32 0
}
declare i32 @vla(...) #1
declare i32 @callok(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2grw1ns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @vla()
%2 = call i32 (...) @callok()
ret i32 0
}
declare i32 @vla(...) #1
declare i32 @callok(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbul0rfy3.c'
source_filename = "/tmp/tmpbul0rfy3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@PROT_EXEC = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"mmap\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
store i32 0, ptr %1, align 4
%3 = load i32, ptr @PROT_READ, align 4
%4 = load i32, ptr @PROT_WRITE, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @PROT_EXEC, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @MAP_PRIVATE, align 4
%9 = load i32, ptr @MAP_ANONYMOUS, align 4
%10 = or i32 %8, %9
%11 = call ptr @mmap(ptr noundef null, i32 noundef 4096, i32 noundef %7, i32 noundef %10, i32 noundef -1, i32 noundef 0)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr @MAP_FAILED, align 8
%14 = icmp eq ptr %12, %13
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %0
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbul0rfy3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@PROT_EXEC = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"mmap\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
store i32 0, ptr %1, align 4
%3 = load i32, ptr @PROT_READ, align 4
%4 = load i32, ptr @PROT_WRITE, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @PROT_EXEC, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @MAP_PRIVATE, align 4
%9 = load i32, ptr @MAP_ANONYMOUS, align 4
%10 = or i32 %8, %9
%11 = call ptr @mmap(ptr noundef null, i32 noundef 4096, i32 noundef %7, i32 noundef %10, i32 noundef -1, i32 noundef 0)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr @MAP_FAILED, align 8
%14 = icmp eq ptr %12, %13
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %0
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoodb215c.c'
source_filename = "/tmp/tmpoodb215c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_port(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @set_port(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 18, i32 noundef 19)
ret void
}
declare i32 @set_port(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/tmpoodb215c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_port(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @set_port(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 18, i32 noundef 19)
ret void
}
declare i32 @set_port(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/tmpfuudq8j_.c'
source_filename = "/tmp/tmpfuudq8j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter number: \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 @inputNumber() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfuudq8j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter number: \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 @inputNumber() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbzngwbn1.c'
source_filename = "/tmp/tmpbzngwbn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uninitvar_towupper() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @towupper(i32 noundef %2)
ret void
}
declare i32 @towupper(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/tmpbzngwbn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uninitvar_towupper() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @towupper(i32 noundef %2)
ret void
}
declare i32 @towupper(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/tmpmqgdbk5a.c'
source_filename = "/tmp/tmpmqgdbk5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @estimateParametersML(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @estimateMeanVectorML(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @estimateCovarianceMatrixML(i32 noundef %5)
ret void
}
declare i32 @estimateMeanVectorML(i32 noundef) #1
declare i32 @estimateCovarianceMatrixML(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/tmpmqgdbk5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @estimateParametersML(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @estimateMeanVectorML(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @estimateCovarianceMatrixML(i32 noundef %5)
ret void
}
declare i32 @estimateMeanVectorML(i32 noundef) #1
declare i32 @estimateCovarianceMatrixML(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/tmp2nzc9mvs.c'
source_filename = "/tmp/tmp2nzc9mvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (i32, ...) @inner(i32 noundef 0)
%3 = call i32 (i32, ...) @inner(i32 noundef 1)
%4 = call i32 (i32, ...) @inner(i32 noundef 2)
%5 = call i32 (i32, ...) @inner(i32 noundef 3)
%6 = call i32 (i32, ...) @inner(i32 noundef 4, ptr noundef @.str)
%7 = call i32 (i32, ...) @inner(i32 noundef 5, ptr noundef @.str.1)
%8 = call i32 (i32, ...) @inner(i32 noundef 6, ptr noundef @.str.2)
%9 = call i32 (i32, ...) @inner(i32 noundef 7, ptr noundef @.str.3)
%10 = call i32 (i32, ...) @inner(i32 noundef 8, i32 noundef 120)
%11 = call i32 (i32, ...) @inner(i32 noundef 9, ptr noundef @.str.1)
%12 = call i32 (i32, ...) @inner(i32 noundef 10, i32 noundef 0)
ret i32 0
}
declare i32 @inner(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/tmp2nzc9mvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (i32, ...) @inner(i32 noundef 0)
%3 = call i32 (i32, ...) @inner(i32 noundef 1)
%4 = call i32 (i32, ...) @inner(i32 noundef 2)
%5 = call i32 (i32, ...) @inner(i32 noundef 3)
%6 = call i32 (i32, ...) @inner(i32 noundef 4, ptr noundef @.str)
%7 = call i32 (i32, ...) @inner(i32 noundef 5, ptr noundef @.str.1)
%8 = call i32 (i32, ...) @inner(i32 noundef 6, ptr noundef @.str.2)
%9 = call i32 (i32, ...) @inner(i32 noundef 7, ptr noundef @.str.3)
%10 = call i32 (i32, ...) @inner(i32 noundef 8, i32 noundef 120)
%11 = call i32 (i32, ...) @inner(i32 noundef 9, ptr noundef @.str.1)
%12 = call i32 (i32, ...) @inner(i32 noundef 10, i32 noundef 0)
ret i32 0
}
declare i32 @inner(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/tmpnuunbcio.c'
source_filename = "/tmp/tmpnuunbcio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnuunbcio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpag5wcwgi.c'
source_filename = "/tmp/tmpag5wcwgi.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"disk unlink error (%d:%s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @disk_unlink(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @unlink(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr @errno, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9, ptr noundef %11)
store i32 -1, ptr %2, align 4
br label %14
13: ; preds = %1
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %13, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @unlink(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpag5wcwgi.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"disk unlink error (%d:%s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @disk_unlink(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @unlink(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr @errno, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9, ptr noundef %11)
store i32 -1, ptr %2, align 4
br label %14
13: ; preds = %1
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %13, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @unlink(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt7t2s49y.c'
source_filename = "/tmp/tmpt7t2s49y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XImage_f_destroy_image(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store ptr %5, ptr %8, align 8
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/tmpt7t2s49y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XImage_f_destroy_image(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store ptr %5, ptr %8, align 8
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/tmp9_n941ob.c'
source_filename = "/tmp/tmp9_n941ob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tl880_blt_int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @tl880_read_register(ptr noundef %4, i32 noundef 16404)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @tl880_read_register(ptr noundef %6, i32 noundef 16400)
%8 = and i32 %5, %7
%9 = and i32 %8, 16
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @tl880_read_register(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/tmp9_n941ob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tl880_blt_int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @tl880_read_register(ptr noundef %4, i32 noundef 16404)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @tl880_read_register(ptr noundef %6, i32 noundef 16400)
%8 = and i32 %5, %7
%9 = and i32 %8, 16
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @tl880_read_register(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/tmpg5vc_tgw.c'
source_filename = "/tmp/tmpg5vc_tgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %11, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
br label %11
11: ; preds = %10
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
ret i64 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpg5vc_tgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %10
br label %10
10: ; preds = %9
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %2, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
ret i64 %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 = '/tmp/tmpazuwsxp5.c'
source_filename = "/tmp/tmpazuwsxp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bratio.K1 = internal global i32 1, align 4
@bratio.a0 = internal global double 0.000000e+00, align 8
@bratio.b0 = internal global double 0.000000e+00, align 8
@bratio.eps = internal global double 0.000000e+00, align 8
@bratio.lambda = internal global double 0.000000e+00, align 8
@bratio.t = internal global double 0.000000e+00, align 8
@bratio.x0 = internal global double 0.000000e+00, align 8
@bratio.y0 = internal global double 0.000000e+00, align 8
@bratio.z = internal global double 0.000000e+00, align 8
@bratio.ierr1 = internal global i32 0, align 4
@bratio.ind = internal global i32 0, align 4
@bratio.n = internal global i32 0, align 4
@bratio.T2 = internal global double 0.000000e+00, align 8
@bratio.T3 = internal global double 0.000000e+00, align 8
@bratio.T4 = internal global double 0.000000e+00, align 8
@bratio.T5 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bratio(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = call double @spmpar(ptr noundef @bratio.K1)
store double %15, ptr @bratio.eps, align 8
%16 = load ptr, ptr %13, align 8
store double 0.000000e+00, ptr %16, align 8
%17 = load ptr, ptr %12, align 8
store double 0.000000e+00, ptr %17, align 8
%18 = load ptr, ptr %8, align 8
%19 = load double, ptr %18, align 8
%20 = fcmp olt double %19, 0.000000e+00
br i1 %20, label %25, label %21
21: ; preds = %7
%22 = load ptr, ptr %9, align 8
%23 = load double, ptr %22, align 8
%24 = fcmp olt double %23, 0.000000e+00
br i1 %24, label %25, label %26
25: ; preds = %21, %7
br label %456
26: ; preds = %21
%27 = load ptr, ptr %8, align 8
%28 = load double, ptr %27, align 8
%29 = fcmp oeq double %28, 0.000000e+00
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
%32 = load double, ptr %31, align 8
%33 = fcmp oeq double %32, 0.000000e+00
br i1 %33, label %34, label %35
34: ; preds = %30
br label %458
35: ; preds = %30, %26
%36 = load ptr, ptr %10, align 8
%37 = load double, ptr %36, align 8
%38 = fcmp olt double %37, 0.000000e+00
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = load ptr, ptr %10, align 8
%41 = load double, ptr %40, align 8
%42 = fcmp ogt double %41, 1.000000e+00
br i1 %42, label %43, label %44
43: ; preds = %39, %35
br label %460
44: ; preds = %39
%45 = load ptr, ptr %11, align 8
%46 = load double, ptr %45, align 8
%47 = fcmp olt double %46, 0.000000e+00
br i1 %47, label %52, label %48
48: ; preds = %44
%49 = load ptr, ptr %11, align 8
%50 = load double, ptr %49, align 8
%51 = fcmp ogt double %50, 1.000000e+00
br i1 %51, label %52, label %53
52: ; preds = %48, %44
br label %462
53: ; preds = %48
%54 = load ptr, ptr %10, align 8
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %11, align 8
%57 = load double, ptr %56, align 8
%58 = fadd double %55, %57
%59 = fsub double %58, 5.000000e-01
%60 = fsub double %59, 5.000000e-01
store double %60, ptr @bratio.z, align 8
%61 = load double, ptr @bratio.z, align 8
%62 = call double @llvm.fabs.f64(double %61)
%63 = load double, ptr @bratio.eps, align 8
%64 = fmul double 3.000000e+00, %63
%65 = fcmp ogt double %62, %64
br i1 %65, label %66, label %67
66: ; preds = %53
br label %464
67: ; preds = %53
%68 = load ptr, ptr %14, align 8
store i32 0, ptr %68, align 4
%69 = load ptr, ptr %10, align 8
%70 = load double, ptr %69, align 8
%71 = fcmp oeq double %70, 0.000000e+00
br i1 %71, label %72, label %73
72: ; preds = %67
br label %407
73: ; preds = %67
%74 = load ptr, ptr %11, align 8
%75 = load double, ptr %74, align 8
%76 = fcmp oeq double %75, 0.000000e+00
br i1 %76, label %77, label %78
77: ; preds = %73
br label %416
78: ; preds = %73
%79 = load ptr, ptr %8, align 8
%80 = load double, ptr %79, align 8
%81 = fcmp oeq double %80, 0.000000e+00
br i1 %81, label %82, label %83
82: ; preds = %78
br label %422
83: ; preds = %78
%84 = load ptr, ptr %9, align 8
%85 = load double, ptr %84, align 8
%86 = fcmp oeq double %85, 0.000000e+00
br i1 %86, label %87, label %88
87: ; preds = %83
br label %413
88: ; preds = %83
%89 = load double, ptr @bratio.eps, align 8
%90 = call double @fifdmax1(double noundef %89, double noundef 1.000000e-15)
store double %90, ptr @bratio.eps, align 8
%91 = load ptr, ptr %8, align 8
%92 = load double, ptr %91, align 8
%93 = load ptr, ptr %9, align 8
%94 = load double, ptr %93, align 8
%95 = call double @fifdmax1(double noundef %92, double noundef %94)
%96 = load double, ptr @bratio.eps, align 8
%97 = fmul double 1.000000e-03, %96
%98 = fcmp olt double %95, %97
br i1 %98, label %99, label %100
99: ; preds = %88
br label %437
100: ; preds = %88
store i32 0, ptr @bratio.ind, align 4
%101 = load ptr, ptr %8, align 8
%102 = load double, ptr %101, align 8
store double %102, ptr @bratio.a0, align 8
%103 = load ptr, ptr %9, align 8
%104 = load double, ptr %103, align 8
store double %104, ptr @bratio.b0, align 8
%105 = load ptr, ptr %10, align 8
%106 = load double, ptr %105, align 8
store double %106, ptr @bratio.x0, align 8
%107 = load ptr, ptr %11, align 8
%108 = load double, ptr %107, align 8
store double %108, ptr @bratio.y0, align 8
%109 = load double, ptr @bratio.a0, align 8
%110 = load double, ptr @bratio.b0, align 8
%111 = call double @fifdmin1(double noundef %109, double noundef %110)
%112 = fcmp ogt double %111, 1.000000e+00
br i1 %112, label %113, label %114
113: ; preds = %100
br label %200
114: ; preds = %100
%115 = load ptr, ptr %10, align 8
%116 = load double, ptr %115, align 8
%117 = fcmp ole double %116, 5.000000e-01
br i1 %117, label %118, label %119
118: ; preds = %114
br label %128
119: ; preds = %114
store i32 1, ptr @bratio.ind, align 4
%120 = load ptr, ptr %9, align 8
%121 = load double, ptr %120, align 8
store double %121, ptr @bratio.a0, align 8
%122 = load ptr, ptr %8, align 8
%123 = load double, ptr %122, align 8
store double %123, ptr @bratio.b0, align 8
%124 = load ptr, ptr %11, align 8
%125 = load double, ptr %124, align 8
store double %125, ptr @bratio.x0, align 8
%126 = load ptr, ptr %10, align 8
%127 = load double, ptr %126, align 8
store double %127, ptr @bratio.y0, align 8
br label %128
128: ; preds = %119, %118
%129 = load double, ptr @bratio.b0, align 8
%130 = load double, ptr @bratio.eps, align 8
%131 = load double, ptr @bratio.eps, align 8
%132 = load double, ptr @bratio.a0, align 8
%133 = fmul double %131, %132
%134 = call double @fifdmin1(double noundef %130, double noundef %133)
%135 = fcmp olt double %129, %134
br i1 %135, label %136, label %137
136: ; preds = %128
br label %286
137: ; preds = %128
%138 = load double, ptr @bratio.a0, align 8
%139 = load double, ptr @bratio.eps, align 8
%140 = load double, ptr @bratio.eps, align 8
%141 = load double, ptr @bratio.b0, align 8
%142 = fmul double %140, %141
%143 = call double @fifdmin1(double noundef %139, double noundef %142)
%144 = fcmp olt double %138, %143
br i1 %144, label %145, label %151
145: ; preds = %137
%146 = load double, ptr @bratio.b0, align 8
%147 = load double, ptr @bratio.x0, align 8
%148 = fmul double %146, %147
%149 = fcmp ole double %148, 1.000000e+00
br i1 %149, label %150, label %151
150: ; preds = %145
br label %294
151: ; preds = %145, %137
%152 = load double, ptr @bratio.a0, align 8
%153 = load double, ptr @bratio.b0, align 8
%154 = call double @fifdmax1(double noundef %152, double noundef %153)
%155 = fcmp ogt double %154, 1.000000e+00
br i1 %155, label %156, label %157
156: ; preds = %151
br label %174
157: ; preds = %151
%158 = load double, ptr @bratio.a0, align 8
%159 = load double, ptr @bratio.b0, align 8
%160 = call double @fifdmin1(double noundef 2.000000e-01, double noundef %159)
%161 = fcmp oge double %158, %160
br i1 %161, label %162, label %163
162: ; preds = %157
br label %302
163: ; preds = %157
%164 = load double, ptr @bratio.x0, align 8
%165 = load double, ptr @bratio.a0, align 8
%166 = call double @pow(double noundef %164, double noundef %165) #4
%167 = fcmp ole double %166, 9.000000e-01
br i1 %167, label %168, label %169
168: ; preds = %163
br label %302
169: ; preds = %163
%170 = load double, ptr @bratio.x0, align 8
%171 = fcmp oge double %170, 3.000000e-01
br i1 %171, label %172, label %173
172: ; preds = %169
br label %310
173: ; preds = %169
store i32 20, ptr @bratio.n, align 4
br label %328
174: ; preds = %156
%175 = load double, ptr @bratio.b0, align 8
%176 = fcmp ole double %175, 1.000000e+00
br i1 %176, label %177, label %178
177: ; preds = %174
br label %302
178: ; preds = %174
%179 = load double, ptr @bratio.x0, align 8
%180 = fcmp oge double %179, 3.000000e-01
br i1 %180, label %181, label %182
181: ; preds = %178
br label %310
182: ; preds = %178
%183 = load double, ptr @bratio.x0, align 8
%184 = fcmp oge double %183, 1.000000e-01
br i1 %184, label %185, label %186
185: ; preds = %182
br label %195
186: ; preds = %182
%187 = load double, ptr @bratio.x0, align 8
%188 = load double, ptr @bratio.b0, align 8
%189 = fmul double %187, %188
%190 = load double, ptr @bratio.a0, align 8
%191 = call double @pow(double noundef %189, double noundef %190) #4
%192 = fcmp ole double %191, 0x3FE6666666666666
br i1 %192, label %193, label %194
193: ; preds = %186
br label %302
194: ; preds = %186
br label %195
195: ; preds = %194, %185
%196 = load double, ptr @bratio.b0, align 8
%197 = fcmp ogt double %196, 1.500000e+01
br i1 %197, label %198, label %199
198: ; preds = %195
br label %335
199: ; preds = %195
store i32 20, ptr @bratio.n, align 4
br label %328
200: ; preds = %113
%201 = load ptr, ptr %8, align 8
%202 = load double, ptr %201, align 8
%203 = load ptr, ptr %9, align 8
%204 = load double, ptr %203, align 8
%205 = fcmp ogt double %202, %204
br i1 %205, label %206, label %207
206: ; preds = %200
br label %219
207: ; preds = %200
%208 = load ptr, ptr %8, align 8
%209 = load double, ptr %208, align 8
%210 = load ptr, ptr %8, align 8
%211 = load double, ptr %210, align 8
%212 = load ptr, ptr %9, align 8
%213 = load double, ptr %212, align 8
%214 = fadd double %211, %213
%215 = load ptr, ptr %10, align 8
%216 = load double, ptr %215, align 8
%217 = fneg double %214
%218 = call double @llvm.fmuladd.f64(double %217, double %216, double %209)
store double %218, ptr @bratio.lambda, align 8
br label %231
219: ; preds = %206
%220 = load ptr, ptr %8, align 8
%221 = load double, ptr %220, align 8
%222 = load ptr, ptr %9, align 8
%223 = load double, ptr %222, align 8
%224 = fadd double %221, %223
%225 = load ptr, ptr %11, align 8
%226 = load double, ptr %225, align 8
%227 = load ptr, ptr %9, align 8
%228 = load double, ptr %227, align 8
%229 = fneg double %228
%230 = call double @llvm.fmuladd.f64(double %224, double %226, double %229)
store double %230, ptr @bratio.lambda, align 8
br label %231
231: ; preds = %219, %207
%232 = load double, ptr @bratio.lambda, align 8
%233 = fcmp oge double %232, 0.000000e+00
br i1 %233, label %234, label %235
234: ; preds = %231
br label %246
235: ; preds = %231
store i32 1, ptr @bratio.ind, align 4
%236 = load ptr, ptr %9, align 8
%237 = load double, ptr %236, align 8
store double %237, ptr @bratio.a0, align 8
%238 = load ptr, ptr %8, align 8
%239 = load double, ptr %238, align 8
store double %239, ptr @bratio.b0, align 8
%240 = load ptr, ptr %11, align 8
%241 = load double, ptr %240, align 8
store double %241, ptr @bratio.x0, align 8
%242 = load ptr, ptr %10, align 8
%243 = load double, ptr %242, align 8
store double %243, ptr @bratio.y0, align 8
%244 = load double, ptr @bratio.lambda, align 8
%245 = call double @llvm.fabs.f64(double %244)
store double %245, ptr @bratio.lambda, align 8
br label %246
246: ; preds = %235, %234
%247 = load double, ptr @bratio.b0, align 8
%248 = fcmp olt double %247, 4.000000e+01
br i1 %248, label %249, label %255
249: ; preds = %246
%250 = load double, ptr @bratio.b0, align 8
%251 = load double, ptr @bratio.x0, align 8
%252 = fmul double %250, %251
%253 = fcmp ole double %252, 0x3FE6666666666666
br i1 %253, label %254, label %255
254: ; preds = %249
br label %302
255: ; preds = %249, %246
%256 = load double, ptr @bratio.b0, align 8
%257 = fcmp olt double %256, 4.000000e+01
br i1 %257, label %258, label %259
258: ; preds = %255
br label %345
259: ; preds = %255
%260 = load double, ptr @bratio.a0, align 8
%261 = load double, ptr @bratio.b0, align 8
%262 = fcmp ogt double %260, %261
br i1 %262, label %263, label %264
263: ; preds = %259
br label %275
264: ; preds = %259
%265 = load double, ptr @bratio.a0, align 8
%266 = fcmp ole double %265, 1.000000e+02
br i1 %266, label %267, label %268
267: ; preds = %264
br label %318
268: ; preds = %264
%269 = load double, ptr @bratio.lambda, align 8
%270 = load double, ptr @bratio.a0, align 8
%271 = fmul double 3.000000e-02, %270
%272 = fcmp ogt double %269, %271
br i1 %272, label %273, label %274
273: ; preds = %268
br label %318
274: ; preds = %268
br label %397
275: ; preds = %263
%276 = load double, ptr @bratio.b0, align 8
%277 = fcmp ole double %276, 1.000000e+02
br i1 %277, label %278, label %279
278: ; preds = %275
br label %318
279: ; preds = %275
%280 = load double, ptr @bratio.lambda, align 8
%281 = load double, ptr @bratio.b0, align 8
%282 = fmul double 3.000000e-02, %281
%283 = fcmp ogt double %280, %282
br i1 %283, label %284, label %285
284: ; preds = %279
br label %318
285: ; preds = %279
br label %397
286: ; preds = %136
%287 = call double @fpser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%288 = load ptr, ptr %12, align 8
store double %287, ptr %288, align 8
%289 = load ptr, ptr %12, align 8
%290 = load double, ptr %289, align 8
%291 = fsub double 5.000000e-01, %290
%292 = fadd double 5.000000e-01, %291
%293 = load ptr, ptr %13, align 8
store double %292, ptr %293, align 8
br label %425
294: ; preds = %150
%295 = call double @apser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%296 = load ptr, ptr %13, align 8
store double %295, ptr %296, align 8
%297 = load ptr, ptr %13, align 8
%298 = load double, ptr %297, align 8
%299 = fsub double 5.000000e-01, %298
%300 = fadd double 5.000000e-01, %299
%301 = load ptr, ptr %12, align 8
store double %300, ptr %301, align 8
br label %425
302: ; preds = %254, %193, %177, %168, %162
%303 = call double @bpser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%304 = load ptr, ptr %12, align 8
store double %303, ptr %304, align 8
%305 = load ptr, ptr %12, align 8
%306 = load double, ptr %305, align 8
%307 = fsub double 5.000000e-01, %306
%308 = fadd double 5.000000e-01, %307
%309 = load ptr, ptr %13, align 8
store double %308, ptr %309, align 8
br label %425
310: ; preds = %181, %172
%311 = call double @bpser(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.eps)
%312 = load ptr, ptr %13, align 8
store double %311, ptr %312, align 8
%313 = load ptr, ptr %13, align 8
%314 = load double, ptr %313, align 8
%315 = fsub double 5.000000e-01, %314
%316 = fadd double 5.000000e-01, %315
%317 = load ptr, ptr %12, align 8
store double %316, ptr %317, align 8
br label %425
318: ; preds = %284, %278, %273, %267
%319 = load double, ptr @bratio.eps, align 8
%320 = fmul double 1.500000e+01, %319
store double %320, ptr @bratio.T2, align 8
%321 = call double @bfrac(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.y0, ptr noundef @bratio.lambda, ptr noundef @bratio.T2)
%322 = load ptr, ptr %12, align 8
store double %321, ptr %322, align 8
%323 = load ptr, ptr %12, align 8
%324 = load double, ptr %323, align 8
%325 = fsub double 5.000000e-01, %324
%326 = fadd double 5.000000e-01, %325
%327 = load ptr, ptr %13, align 8
store double %326, ptr %327, align 8
br label %425
328: ; preds = %199, %173
%329 = call double @bup(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.x0, ptr noundef @bratio.n, ptr noundef @bratio.eps)
%330 = load ptr, ptr %13, align 8
store double %329, ptr %330, align 8
%331 = load i32, ptr @bratio.n, align 4
%332 = sitofp i32 %331 to double
%333 = load double, ptr @bratio.b0, align 8
%334 = fadd double %333, %332
store double %334, ptr @bratio.b0, align 8
br label %335
335: ; preds = %328, %198
%336 = load double, ptr @bratio.eps, align 8
%337 = fmul double 1.500000e+01, %336
store double %337, ptr @bratio.T3, align 8
%338 = load ptr, ptr %13, align 8
%339 = call i32 @bgrat(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.x0, ptr noundef %338, ptr noundef @bratio.T3, ptr noundef @bratio.ierr1)
%340 = load ptr, ptr %13, align 8
%341 = load double, ptr %340, align 8
%342 = fsub double 5.000000e-01, %341
%343 = fadd double 5.000000e-01, %342
%344 = load ptr, ptr %12, align 8
store double %343, ptr %344, align 8
br label %425
345: ; preds = %258
%346 = load double, ptr @bratio.b0, align 8
%347 = fptosi double %346 to i32
store i32 %347, ptr @bratio.n, align 4
%348 = load i32, ptr @bratio.n, align 4
%349 = sitofp i32 %348 to double
%350 = load double, ptr @bratio.b0, align 8
%351 = fsub double %350, %349
store double %351, ptr @bratio.b0, align 8
%352 = load double, ptr @bratio.b0, align 8
%353 = fcmp une double %352, 0.000000e+00
br i1 %353, label %354, label %355
354: ; preds = %345
br label %358
355: ; preds = %345
%356 = load i32, ptr @bratio.n, align 4
%357 = sub nsw i32 %356, 1
store i32 %357, ptr @bratio.n, align 4
store double 1.000000e+00, ptr @bratio.b0, align 8
br label %358
358: ; preds = %355, %354
%359 = call double @bup(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.x0, ptr noundef @bratio.n, ptr noundef @bratio.eps)
%360 = load ptr, ptr %12, align 8
store double %359, ptr %360, align 8
%361 = load double, ptr @bratio.x0, align 8
%362 = fcmp ogt double %361, 0x3FE6666666666666
br i1 %362, label %363, label %364
363: ; preds = %358
br label %374
364: ; preds = %358
%365 = call double @bpser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%366 = load ptr, ptr %12, align 8
%367 = load double, ptr %366, align 8
%368 = fadd double %367, %365
store double %368, ptr %366, align 8
%369 = load ptr, ptr %12, align 8
%370 = load double, ptr %369, align 8
%371 = fsub double 5.000000e-01, %370
%372 = fadd double 5.000000e-01, %371
%373 = load ptr, ptr %13, align 8
store double %372, ptr %373, align 8
br label %425
374: ; preds = %363
%375 = load double, ptr @bratio.a0, align 8
%376 = fcmp ogt double %375, 1.500000e+01
br i1 %376, label %377, label %378
377: ; preds = %374
br label %387
378: ; preds = %374
store i32 20, ptr @bratio.n, align 4
%379 = call double @bup(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.y0, ptr noundef @bratio.n, ptr noundef @bratio.eps)
%380 = load ptr, ptr %12, align 8
%381 = load double, ptr %380, align 8
%382 = fadd double %381, %379
store double %382, ptr %380, align 8
%383 = load i32, ptr @bratio.n, align 4
%384 = sitofp i32 %383 to double
%385 = load double, ptr @bratio.a0, align 8
%386 = fadd double %385, %384
store double %386, ptr @bratio.a0, align 8
br label %387
387: ; preds = %378, %377
%388 = load double, ptr @bratio.eps, align 8
%389 = fmul double 1.500000e+01, %388
store double %389, ptr @bratio.T4, align 8
%390 = load ptr, ptr %12, align 8
%391 = call i32 @bgrat(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.y0, ptr noundef %390, ptr noundef @bratio.T4, ptr noundef @bratio.ierr1)
%392 = load ptr, ptr %12, align 8
%393 = load double, ptr %392, align 8
%394 = fsub double 5.000000e-01, %393
%395 = fadd double 5.000000e-01, %394
%396 = load ptr, ptr %13, align 8
store double %395, ptr %396, align 8
br label %425
397: ; preds = %285, %274
%398 = load double, ptr @bratio.eps, align 8
%399 = fmul double 1.000000e+02, %398
store double %399, ptr @bratio.T5, align 8
%400 = call double @basym(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.lambda, ptr noundef @bratio.T5)
%401 = load ptr, ptr %12, align 8
store double %400, ptr %401, align 8
%402 = load ptr, ptr %12, align 8
%403 = load double, ptr %402, align 8
%404 = fsub double 5.000000e-01, %403
%405 = fadd double 5.000000e-01, %404
%406 = load ptr, ptr %13, align 8
store double %405, ptr %406, align 8
br label %425
407: ; preds = %72
%408 = load ptr, ptr %8, align 8
%409 = load double, ptr %408, align 8
%410 = fcmp oeq double %409, 0.000000e+00
br i1 %410, label %411, label %412
411: ; preds = %407
br label %466
412: ; preds = %407
br label %413
413: ; preds = %412, %87
%414 = load ptr, ptr %12, align 8
store double 0.000000e+00, ptr %414, align 8
%415 = load ptr, ptr %13, align 8
store double 1.000000e+00, ptr %415, align 8
br label %470
416: ; preds = %77
%417 = load ptr, ptr %9, align 8
%418 = load double, ptr %417, align 8
%419 = fcmp oeq double %418, 0.000000e+00
br i1 %419, label %420, label %421
420: ; preds = %416
br label %468
421: ; preds = %416
br label %422
422: ; preds = %421, %82
%423 = load ptr, ptr %12, align 8
store double 1.000000e+00, ptr %423, align 8
%424 = load ptr, ptr %13, align 8
store double 0.000000e+00, ptr %424, align 8
br label %470
425: ; preds = %397, %387, %364, %335, %318, %310, %302, %294, %286
%426 = load i32, ptr @bratio.ind, align 4
%427 = icmp eq i32 %426, 0
br i1 %427, label %428, label %429
428: ; preds = %425
br label %470
429: ; preds = %425
%430 = load ptr, ptr %12, align 8
%431 = load double, ptr %430, align 8
store double %431, ptr @bratio.t, align 8
%432 = load ptr, ptr %13, align 8
%433 = load double, ptr %432, align 8
%434 = load ptr, ptr %12, align 8
store double %433, ptr %434, align 8
%435 = load double, ptr @bratio.t, align 8
%436 = load ptr, ptr %13, align 8
store double %435, ptr %436, align 8
br label %470
437: ; preds = %99
%438 = load ptr, ptr %9, align 8
%439 = load double, ptr %438, align 8
%440 = load ptr, ptr %8, align 8
%441 = load double, ptr %440, align 8
%442 = load ptr, ptr %9, align 8
%443 = load double, ptr %442, align 8
%444 = fadd double %441, %443
%445 = fdiv double %439, %444
%446 = load ptr, ptr %12, align 8
store double %445, ptr %446, align 8
%447 = load ptr, ptr %8, align 8
%448 = load double, ptr %447, align 8
%449 = load ptr, ptr %8, align 8
%450 = load double, ptr %449, align 8
%451 = load ptr, ptr %9, align 8
%452 = load double, ptr %451, align 8
%453 = fadd double %450, %452
%454 = fdiv double %448, %453
%455 = load ptr, ptr %13, align 8
store double %454, ptr %455, align 8
br label %470
456: ; preds = %25
%457 = load ptr, ptr %14, align 8
store i32 1, ptr %457, align 4
br label %470
458: ; preds = %34
%459 = load ptr, ptr %14, align 8
store i32 2, ptr %459, align 4
br label %470
460: ; preds = %43
%461 = load ptr, ptr %14, align 8
store i32 3, ptr %461, align 4
br label %470
462: ; preds = %52
%463 = load ptr, ptr %14, align 8
store i32 4, ptr %463, align 4
br label %470
464: ; preds = %66
%465 = load ptr, ptr %14, align 8
store i32 5, ptr %465, align 4
br label %470
466: ; preds = %411
%467 = load ptr, ptr %14, align 8
store i32 6, ptr %467, align 4
br label %470
468: ; preds = %420
%469 = load ptr, ptr %14, align 8
store i32 7, ptr %469, align 4
br label %470
470: ; preds = %468, %466, %464, %462, %460, %458, %456, %437, %429, %428, %422, %413
ret void
}
declare double @spmpar(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @fifdmax1(double noundef, double noundef) #1
declare double @fifdmin1(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @fpser(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @apser(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @bpser(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @bfrac(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @bup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @bgrat(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @basym(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpazuwsxp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bratio.K1 = internal global i32 1, align 4
@bratio.a0 = internal global double 0.000000e+00, align 8
@bratio.b0 = internal global double 0.000000e+00, align 8
@bratio.eps = internal global double 0.000000e+00, align 8
@bratio.lambda = internal global double 0.000000e+00, align 8
@bratio.t = internal global double 0.000000e+00, align 8
@bratio.x0 = internal global double 0.000000e+00, align 8
@bratio.y0 = internal global double 0.000000e+00, align 8
@bratio.z = internal global double 0.000000e+00, align 8
@bratio.ierr1 = internal global i32 0, align 4
@bratio.ind = internal global i32 0, align 4
@bratio.n = internal global i32 0, align 4
@bratio.T2 = internal global double 0.000000e+00, align 8
@bratio.T3 = internal global double 0.000000e+00, align 8
@bratio.T4 = internal global double 0.000000e+00, align 8
@bratio.T5 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bratio(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = call double @spmpar(ptr noundef @bratio.K1)
store double %15, ptr @bratio.eps, align 8
%16 = load ptr, ptr %13, align 8
store double 0.000000e+00, ptr %16, align 8
%17 = load ptr, ptr %12, align 8
store double 0.000000e+00, ptr %17, align 8
%18 = load ptr, ptr %8, align 8
%19 = load double, ptr %18, align 8
%20 = fcmp olt double %19, 0.000000e+00
br i1 %20, label %25, label %21
21: ; preds = %7
%22 = load ptr, ptr %9, align 8
%23 = load double, ptr %22, align 8
%24 = fcmp olt double %23, 0.000000e+00
br i1 %24, label %25, label %26
25: ; preds = %21, %7
br label %456
26: ; preds = %21
%27 = load ptr, ptr %8, align 8
%28 = load double, ptr %27, align 8
%29 = fcmp oeq double %28, 0.000000e+00
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
%32 = load double, ptr %31, align 8
%33 = fcmp oeq double %32, 0.000000e+00
br i1 %33, label %34, label %35
34: ; preds = %30
br label %458
35: ; preds = %30, %26
%36 = load ptr, ptr %10, align 8
%37 = load double, ptr %36, align 8
%38 = fcmp olt double %37, 0.000000e+00
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = load ptr, ptr %10, align 8
%41 = load double, ptr %40, align 8
%42 = fcmp ogt double %41, 1.000000e+00
br i1 %42, label %43, label %44
43: ; preds = %39, %35
br label %460
44: ; preds = %39
%45 = load ptr, ptr %11, align 8
%46 = load double, ptr %45, align 8
%47 = fcmp olt double %46, 0.000000e+00
br i1 %47, label %52, label %48
48: ; preds = %44
%49 = load ptr, ptr %11, align 8
%50 = load double, ptr %49, align 8
%51 = fcmp ogt double %50, 1.000000e+00
br i1 %51, label %52, label %53
52: ; preds = %48, %44
br label %462
53: ; preds = %48
%54 = load ptr, ptr %10, align 8
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %11, align 8
%57 = load double, ptr %56, align 8
%58 = fadd double %55, %57
%59 = fsub double %58, 5.000000e-01
%60 = fsub double %59, 5.000000e-01
store double %60, ptr @bratio.z, align 8
%61 = load double, ptr @bratio.z, align 8
%62 = call double @llvm.fabs.f64(double %61)
%63 = load double, ptr @bratio.eps, align 8
%64 = fmul double 3.000000e+00, %63
%65 = fcmp ogt double %62, %64
br i1 %65, label %66, label %67
66: ; preds = %53
br label %464
67: ; preds = %53
%68 = load ptr, ptr %14, align 8
store i32 0, ptr %68, align 4
%69 = load ptr, ptr %10, align 8
%70 = load double, ptr %69, align 8
%71 = fcmp oeq double %70, 0.000000e+00
br i1 %71, label %72, label %73
72: ; preds = %67
br label %407
73: ; preds = %67
%74 = load ptr, ptr %11, align 8
%75 = load double, ptr %74, align 8
%76 = fcmp oeq double %75, 0.000000e+00
br i1 %76, label %77, label %78
77: ; preds = %73
br label %416
78: ; preds = %73
%79 = load ptr, ptr %8, align 8
%80 = load double, ptr %79, align 8
%81 = fcmp oeq double %80, 0.000000e+00
br i1 %81, label %82, label %83
82: ; preds = %78
br label %422
83: ; preds = %78
%84 = load ptr, ptr %9, align 8
%85 = load double, ptr %84, align 8
%86 = fcmp oeq double %85, 0.000000e+00
br i1 %86, label %87, label %88
87: ; preds = %83
br label %413
88: ; preds = %83
%89 = load double, ptr @bratio.eps, align 8
%90 = call double @fifdmax1(double noundef %89, double noundef 1.000000e-15)
store double %90, ptr @bratio.eps, align 8
%91 = load ptr, ptr %8, align 8
%92 = load double, ptr %91, align 8
%93 = load ptr, ptr %9, align 8
%94 = load double, ptr %93, align 8
%95 = call double @fifdmax1(double noundef %92, double noundef %94)
%96 = load double, ptr @bratio.eps, align 8
%97 = fmul double 1.000000e-03, %96
%98 = fcmp olt double %95, %97
br i1 %98, label %99, label %100
99: ; preds = %88
br label %437
100: ; preds = %88
store i32 0, ptr @bratio.ind, align 4
%101 = load ptr, ptr %8, align 8
%102 = load double, ptr %101, align 8
store double %102, ptr @bratio.a0, align 8
%103 = load ptr, ptr %9, align 8
%104 = load double, ptr %103, align 8
store double %104, ptr @bratio.b0, align 8
%105 = load ptr, ptr %10, align 8
%106 = load double, ptr %105, align 8
store double %106, ptr @bratio.x0, align 8
%107 = load ptr, ptr %11, align 8
%108 = load double, ptr %107, align 8
store double %108, ptr @bratio.y0, align 8
%109 = load double, ptr @bratio.a0, align 8
%110 = load double, ptr @bratio.b0, align 8
%111 = call double @fifdmin1(double noundef %109, double noundef %110)
%112 = fcmp ogt double %111, 1.000000e+00
br i1 %112, label %113, label %114
113: ; preds = %100
br label %200
114: ; preds = %100
%115 = load ptr, ptr %10, align 8
%116 = load double, ptr %115, align 8
%117 = fcmp ole double %116, 5.000000e-01
br i1 %117, label %118, label %119
118: ; preds = %114
br label %128
119: ; preds = %114
store i32 1, ptr @bratio.ind, align 4
%120 = load ptr, ptr %9, align 8
%121 = load double, ptr %120, align 8
store double %121, ptr @bratio.a0, align 8
%122 = load ptr, ptr %8, align 8
%123 = load double, ptr %122, align 8
store double %123, ptr @bratio.b0, align 8
%124 = load ptr, ptr %11, align 8
%125 = load double, ptr %124, align 8
store double %125, ptr @bratio.x0, align 8
%126 = load ptr, ptr %10, align 8
%127 = load double, ptr %126, align 8
store double %127, ptr @bratio.y0, align 8
br label %128
128: ; preds = %119, %118
%129 = load double, ptr @bratio.b0, align 8
%130 = load double, ptr @bratio.eps, align 8
%131 = load double, ptr @bratio.eps, align 8
%132 = load double, ptr @bratio.a0, align 8
%133 = fmul double %131, %132
%134 = call double @fifdmin1(double noundef %130, double noundef %133)
%135 = fcmp olt double %129, %134
br i1 %135, label %136, label %137
136: ; preds = %128
br label %286
137: ; preds = %128
%138 = load double, ptr @bratio.a0, align 8
%139 = load double, ptr @bratio.eps, align 8
%140 = load double, ptr @bratio.eps, align 8
%141 = load double, ptr @bratio.b0, align 8
%142 = fmul double %140, %141
%143 = call double @fifdmin1(double noundef %139, double noundef %142)
%144 = fcmp olt double %138, %143
br i1 %144, label %145, label %151
145: ; preds = %137
%146 = load double, ptr @bratio.b0, align 8
%147 = load double, ptr @bratio.x0, align 8
%148 = fmul double %146, %147
%149 = fcmp ole double %148, 1.000000e+00
br i1 %149, label %150, label %151
150: ; preds = %145
br label %294
151: ; preds = %145, %137
%152 = load double, ptr @bratio.a0, align 8
%153 = load double, ptr @bratio.b0, align 8
%154 = call double @fifdmax1(double noundef %152, double noundef %153)
%155 = fcmp ogt double %154, 1.000000e+00
br i1 %155, label %156, label %157
156: ; preds = %151
br label %174
157: ; preds = %151
%158 = load double, ptr @bratio.a0, align 8
%159 = load double, ptr @bratio.b0, align 8
%160 = call double @fifdmin1(double noundef 2.000000e-01, double noundef %159)
%161 = fcmp oge double %158, %160
br i1 %161, label %162, label %163
162: ; preds = %157
br label %302
163: ; preds = %157
%164 = load double, ptr @bratio.x0, align 8
%165 = load double, ptr @bratio.a0, align 8
%166 = call double @pow(double noundef %164, double noundef %165) #4
%167 = fcmp ole double %166, 9.000000e-01
br i1 %167, label %168, label %169
168: ; preds = %163
br label %302
169: ; preds = %163
%170 = load double, ptr @bratio.x0, align 8
%171 = fcmp oge double %170, 3.000000e-01
br i1 %171, label %172, label %173
172: ; preds = %169
br label %310
173: ; preds = %169
store i32 20, ptr @bratio.n, align 4
br label %328
174: ; preds = %156
%175 = load double, ptr @bratio.b0, align 8
%176 = fcmp ole double %175, 1.000000e+00
br i1 %176, label %177, label %178
177: ; preds = %174
br label %302
178: ; preds = %174
%179 = load double, ptr @bratio.x0, align 8
%180 = fcmp oge double %179, 3.000000e-01
br i1 %180, label %181, label %182
181: ; preds = %178
br label %310
182: ; preds = %178
%183 = load double, ptr @bratio.x0, align 8
%184 = fcmp oge double %183, 1.000000e-01
br i1 %184, label %185, label %186
185: ; preds = %182
br label %195
186: ; preds = %182
%187 = load double, ptr @bratio.x0, align 8
%188 = load double, ptr @bratio.b0, align 8
%189 = fmul double %187, %188
%190 = load double, ptr @bratio.a0, align 8
%191 = call double @pow(double noundef %189, double noundef %190) #4
%192 = fcmp ole double %191, 0x3FE6666666666666
br i1 %192, label %193, label %194
193: ; preds = %186
br label %302
194: ; preds = %186
br label %195
195: ; preds = %194, %185
%196 = load double, ptr @bratio.b0, align 8
%197 = fcmp ogt double %196, 1.500000e+01
br i1 %197, label %198, label %199
198: ; preds = %195
br label %335
199: ; preds = %195
store i32 20, ptr @bratio.n, align 4
br label %328
200: ; preds = %113
%201 = load ptr, ptr %8, align 8
%202 = load double, ptr %201, align 8
%203 = load ptr, ptr %9, align 8
%204 = load double, ptr %203, align 8
%205 = fcmp ogt double %202, %204
br i1 %205, label %206, label %207
206: ; preds = %200
br label %219
207: ; preds = %200
%208 = load ptr, ptr %8, align 8
%209 = load double, ptr %208, align 8
%210 = load ptr, ptr %8, align 8
%211 = load double, ptr %210, align 8
%212 = load ptr, ptr %9, align 8
%213 = load double, ptr %212, align 8
%214 = fadd double %211, %213
%215 = load ptr, ptr %10, align 8
%216 = load double, ptr %215, align 8
%217 = fneg double %214
%218 = call double @llvm.fmuladd.f64(double %217, double %216, double %209)
store double %218, ptr @bratio.lambda, align 8
br label %231
219: ; preds = %206
%220 = load ptr, ptr %8, align 8
%221 = load double, ptr %220, align 8
%222 = load ptr, ptr %9, align 8
%223 = load double, ptr %222, align 8
%224 = fadd double %221, %223
%225 = load ptr, ptr %11, align 8
%226 = load double, ptr %225, align 8
%227 = load ptr, ptr %9, align 8
%228 = load double, ptr %227, align 8
%229 = fneg double %228
%230 = call double @llvm.fmuladd.f64(double %224, double %226, double %229)
store double %230, ptr @bratio.lambda, align 8
br label %231
231: ; preds = %219, %207
%232 = load double, ptr @bratio.lambda, align 8
%233 = fcmp oge double %232, 0.000000e+00
br i1 %233, label %234, label %235
234: ; preds = %231
br label %246
235: ; preds = %231
store i32 1, ptr @bratio.ind, align 4
%236 = load ptr, ptr %9, align 8
%237 = load double, ptr %236, align 8
store double %237, ptr @bratio.a0, align 8
%238 = load ptr, ptr %8, align 8
%239 = load double, ptr %238, align 8
store double %239, ptr @bratio.b0, align 8
%240 = load ptr, ptr %11, align 8
%241 = load double, ptr %240, align 8
store double %241, ptr @bratio.x0, align 8
%242 = load ptr, ptr %10, align 8
%243 = load double, ptr %242, align 8
store double %243, ptr @bratio.y0, align 8
%244 = load double, ptr @bratio.lambda, align 8
%245 = call double @llvm.fabs.f64(double %244)
store double %245, ptr @bratio.lambda, align 8
br label %246
246: ; preds = %235, %234
%247 = load double, ptr @bratio.b0, align 8
%248 = fcmp olt double %247, 4.000000e+01
br i1 %248, label %249, label %255
249: ; preds = %246
%250 = load double, ptr @bratio.b0, align 8
%251 = load double, ptr @bratio.x0, align 8
%252 = fmul double %250, %251
%253 = fcmp ole double %252, 0x3FE6666666666666
br i1 %253, label %254, label %255
254: ; preds = %249
br label %302
255: ; preds = %249, %246
%256 = load double, ptr @bratio.b0, align 8
%257 = fcmp olt double %256, 4.000000e+01
br i1 %257, label %258, label %259
258: ; preds = %255
br label %345
259: ; preds = %255
%260 = load double, ptr @bratio.a0, align 8
%261 = load double, ptr @bratio.b0, align 8
%262 = fcmp ogt double %260, %261
br i1 %262, label %263, label %264
263: ; preds = %259
br label %275
264: ; preds = %259
%265 = load double, ptr @bratio.a0, align 8
%266 = fcmp ole double %265, 1.000000e+02
br i1 %266, label %267, label %268
267: ; preds = %264
br label %318
268: ; preds = %264
%269 = load double, ptr @bratio.lambda, align 8
%270 = load double, ptr @bratio.a0, align 8
%271 = fmul double 3.000000e-02, %270
%272 = fcmp ogt double %269, %271
br i1 %272, label %273, label %274
273: ; preds = %268
br label %318
274: ; preds = %268
br label %397
275: ; preds = %263
%276 = load double, ptr @bratio.b0, align 8
%277 = fcmp ole double %276, 1.000000e+02
br i1 %277, label %278, label %279
278: ; preds = %275
br label %318
279: ; preds = %275
%280 = load double, ptr @bratio.lambda, align 8
%281 = load double, ptr @bratio.b0, align 8
%282 = fmul double 3.000000e-02, %281
%283 = fcmp ogt double %280, %282
br i1 %283, label %284, label %285
284: ; preds = %279
br label %318
285: ; preds = %279
br label %397
286: ; preds = %136
%287 = call double @fpser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%288 = load ptr, ptr %12, align 8
store double %287, ptr %288, align 8
%289 = load ptr, ptr %12, align 8
%290 = load double, ptr %289, align 8
%291 = fsub double 5.000000e-01, %290
%292 = fadd double 5.000000e-01, %291
%293 = load ptr, ptr %13, align 8
store double %292, ptr %293, align 8
br label %425
294: ; preds = %150
%295 = call double @apser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%296 = load ptr, ptr %13, align 8
store double %295, ptr %296, align 8
%297 = load ptr, ptr %13, align 8
%298 = load double, ptr %297, align 8
%299 = fsub double 5.000000e-01, %298
%300 = fadd double 5.000000e-01, %299
%301 = load ptr, ptr %12, align 8
store double %300, ptr %301, align 8
br label %425
302: ; preds = %254, %193, %177, %168, %162
%303 = call double @bpser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%304 = load ptr, ptr %12, align 8
store double %303, ptr %304, align 8
%305 = load ptr, ptr %12, align 8
%306 = load double, ptr %305, align 8
%307 = fsub double 5.000000e-01, %306
%308 = fadd double 5.000000e-01, %307
%309 = load ptr, ptr %13, align 8
store double %308, ptr %309, align 8
br label %425
310: ; preds = %181, %172
%311 = call double @bpser(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.eps)
%312 = load ptr, ptr %13, align 8
store double %311, ptr %312, align 8
%313 = load ptr, ptr %13, align 8
%314 = load double, ptr %313, align 8
%315 = fsub double 5.000000e-01, %314
%316 = fadd double 5.000000e-01, %315
%317 = load ptr, ptr %12, align 8
store double %316, ptr %317, align 8
br label %425
318: ; preds = %284, %278, %273, %267
%319 = load double, ptr @bratio.eps, align 8
%320 = fmul double 1.500000e+01, %319
store double %320, ptr @bratio.T2, align 8
%321 = call double @bfrac(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.y0, ptr noundef @bratio.lambda, ptr noundef @bratio.T2)
%322 = load ptr, ptr %12, align 8
store double %321, ptr %322, align 8
%323 = load ptr, ptr %12, align 8
%324 = load double, ptr %323, align 8
%325 = fsub double 5.000000e-01, %324
%326 = fadd double 5.000000e-01, %325
%327 = load ptr, ptr %13, align 8
store double %326, ptr %327, align 8
br label %425
328: ; preds = %199, %173
%329 = call double @bup(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.x0, ptr noundef @bratio.n, ptr noundef @bratio.eps)
%330 = load ptr, ptr %13, align 8
store double %329, ptr %330, align 8
%331 = load i32, ptr @bratio.n, align 4
%332 = sitofp i32 %331 to double
%333 = load double, ptr @bratio.b0, align 8
%334 = fadd double %333, %332
store double %334, ptr @bratio.b0, align 8
br label %335
335: ; preds = %328, %198
%336 = load double, ptr @bratio.eps, align 8
%337 = fmul double 1.500000e+01, %336
store double %337, ptr @bratio.T3, align 8
%338 = load ptr, ptr %13, align 8
%339 = call i32 @bgrat(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.x0, ptr noundef %338, ptr noundef @bratio.T3, ptr noundef @bratio.ierr1)
%340 = load ptr, ptr %13, align 8
%341 = load double, ptr %340, align 8
%342 = fsub double 5.000000e-01, %341
%343 = fadd double 5.000000e-01, %342
%344 = load ptr, ptr %12, align 8
store double %343, ptr %344, align 8
br label %425
345: ; preds = %258
%346 = load double, ptr @bratio.b0, align 8
%347 = fptosi double %346 to i32
store i32 %347, ptr @bratio.n, align 4
%348 = load i32, ptr @bratio.n, align 4
%349 = sitofp i32 %348 to double
%350 = load double, ptr @bratio.b0, align 8
%351 = fsub double %350, %349
store double %351, ptr @bratio.b0, align 8
%352 = load double, ptr @bratio.b0, align 8
%353 = fcmp une double %352, 0.000000e+00
br i1 %353, label %354, label %355
354: ; preds = %345
br label %358
355: ; preds = %345
%356 = load i32, ptr @bratio.n, align 4
%357 = sub nsw i32 %356, 1
store i32 %357, ptr @bratio.n, align 4
store double 1.000000e+00, ptr @bratio.b0, align 8
br label %358
358: ; preds = %355, %354
%359 = call double @bup(ptr noundef @bratio.b0, ptr noundef @bratio.a0, ptr noundef @bratio.y0, ptr noundef @bratio.x0, ptr noundef @bratio.n, ptr noundef @bratio.eps)
%360 = load ptr, ptr %12, align 8
store double %359, ptr %360, align 8
%361 = load double, ptr @bratio.x0, align 8
%362 = fcmp ogt double %361, 0x3FE6666666666666
br i1 %362, label %363, label %364
363: ; preds = %358
br label %374
364: ; preds = %358
%365 = call double @bpser(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.eps)
%366 = load ptr, ptr %12, align 8
%367 = load double, ptr %366, align 8
%368 = fadd double %367, %365
store double %368, ptr %366, align 8
%369 = load ptr, ptr %12, align 8
%370 = load double, ptr %369, align 8
%371 = fsub double 5.000000e-01, %370
%372 = fadd double 5.000000e-01, %371
%373 = load ptr, ptr %13, align 8
store double %372, ptr %373, align 8
br label %425
374: ; preds = %363
%375 = load double, ptr @bratio.a0, align 8
%376 = fcmp ogt double %375, 1.500000e+01
br i1 %376, label %377, label %378
377: ; preds = %374
br label %387
378: ; preds = %374
store i32 20, ptr @bratio.n, align 4
%379 = call double @bup(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.y0, ptr noundef @bratio.n, ptr noundef @bratio.eps)
%380 = load ptr, ptr %12, align 8
%381 = load double, ptr %380, align 8
%382 = fadd double %381, %379
store double %382, ptr %380, align 8
%383 = load i32, ptr @bratio.n, align 4
%384 = sitofp i32 %383 to double
%385 = load double, ptr @bratio.a0, align 8
%386 = fadd double %385, %384
store double %386, ptr @bratio.a0, align 8
br label %387
387: ; preds = %378, %377
%388 = load double, ptr @bratio.eps, align 8
%389 = fmul double 1.500000e+01, %388
store double %389, ptr @bratio.T4, align 8
%390 = load ptr, ptr %12, align 8
%391 = call i32 @bgrat(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.x0, ptr noundef @bratio.y0, ptr noundef %390, ptr noundef @bratio.T4, ptr noundef @bratio.ierr1)
%392 = load ptr, ptr %12, align 8
%393 = load double, ptr %392, align 8
%394 = fsub double 5.000000e-01, %393
%395 = fadd double 5.000000e-01, %394
%396 = load ptr, ptr %13, align 8
store double %395, ptr %396, align 8
br label %425
397: ; preds = %285, %274
%398 = load double, ptr @bratio.eps, align 8
%399 = fmul double 1.000000e+02, %398
store double %399, ptr @bratio.T5, align 8
%400 = call double @basym(ptr noundef @bratio.a0, ptr noundef @bratio.b0, ptr noundef @bratio.lambda, ptr noundef @bratio.T5)
%401 = load ptr, ptr %12, align 8
store double %400, ptr %401, align 8
%402 = load ptr, ptr %12, align 8
%403 = load double, ptr %402, align 8
%404 = fsub double 5.000000e-01, %403
%405 = fadd double 5.000000e-01, %404
%406 = load ptr, ptr %13, align 8
store double %405, ptr %406, align 8
br label %425
407: ; preds = %72
%408 = load ptr, ptr %8, align 8
%409 = load double, ptr %408, align 8
%410 = fcmp oeq double %409, 0.000000e+00
br i1 %410, label %411, label %412
411: ; preds = %407
br label %466
412: ; preds = %407
br label %413
413: ; preds = %412, %87
%414 = load ptr, ptr %12, align 8
store double 0.000000e+00, ptr %414, align 8
%415 = load ptr, ptr %13, align 8
store double 1.000000e+00, ptr %415, align 8
br label %470
416: ; preds = %77
%417 = load ptr, ptr %9, align 8
%418 = load double, ptr %417, align 8
%419 = fcmp oeq double %418, 0.000000e+00
br i1 %419, label %420, label %421
420: ; preds = %416
br label %468
421: ; preds = %416
br label %422
422: ; preds = %421, %82
%423 = load ptr, ptr %12, align 8
store double 1.000000e+00, ptr %423, align 8
%424 = load ptr, ptr %13, align 8
store double 0.000000e+00, ptr %424, align 8
br label %470
425: ; preds = %397, %387, %364, %335, %318, %310, %302, %294, %286
%426 = load i32, ptr @bratio.ind, align 4
%427 = icmp eq i32 %426, 0
br i1 %427, label %428, label %429
428: ; preds = %425
br label %470
429: ; preds = %425
%430 = load ptr, ptr %12, align 8
%431 = load double, ptr %430, align 8
store double %431, ptr @bratio.t, align 8
%432 = load ptr, ptr %13, align 8
%433 = load double, ptr %432, align 8
%434 = load ptr, ptr %12, align 8
store double %433, ptr %434, align 8
%435 = load double, ptr @bratio.t, align 8
%436 = load ptr, ptr %13, align 8
store double %435, ptr %436, align 8
br label %470
437: ; preds = %99
%438 = load ptr, ptr %9, align 8
%439 = load double, ptr %438, align 8
%440 = load ptr, ptr %8, align 8
%441 = load double, ptr %440, align 8
%442 = load ptr, ptr %9, align 8
%443 = load double, ptr %442, align 8
%444 = fadd double %441, %443
%445 = fdiv double %439, %444
%446 = load ptr, ptr %12, align 8
store double %445, ptr %446, align 8
%447 = load ptr, ptr %8, align 8
%448 = load double, ptr %447, align 8
%449 = load ptr, ptr %8, align 8
%450 = load double, ptr %449, align 8
%451 = load ptr, ptr %9, align 8
%452 = load double, ptr %451, align 8
%453 = fadd double %450, %452
%454 = fdiv double %448, %453
%455 = load ptr, ptr %13, align 8
store double %454, ptr %455, align 8
br label %470
456: ; preds = %25
%457 = load ptr, ptr %14, align 8
store i32 1, ptr %457, align 4
br label %470
458: ; preds = %34
%459 = load ptr, ptr %14, align 8
store i32 2, ptr %459, align 4
br label %470
460: ; preds = %43
%461 = load ptr, ptr %14, align 8
store i32 3, ptr %461, align 4
br label %470
462: ; preds = %52
%463 = load ptr, ptr %14, align 8
store i32 4, ptr %463, align 4
br label %470
464: ; preds = %66
%465 = load ptr, ptr %14, align 8
store i32 5, ptr %465, align 4
br label %470
466: ; preds = %411
%467 = load ptr, ptr %14, align 8
store i32 6, ptr %467, align 4
br label %470
468: ; preds = %420
%469 = load ptr, ptr %14, align 8
store i32 7, ptr %469, align 4
br label %470
470: ; preds = %468, %466, %464, %462, %460, %458, %456, %437, %429, %428, %422, %413
ret void
}
declare double @spmpar(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @fifdmax1(double noundef, double noundef) #1
declare double @fifdmin1(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @fpser(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @apser(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @bpser(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @bfrac(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @bup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @bgrat(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @basym(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph1ws2sh5.c'
source_filename = "/tmp/tmph1ws2sh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ncopen\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"filename \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ncopen(ptr noundef %0, i32 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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @nc_open(ptr noundef %8, i32 noundef %9, ptr noundef %6)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @nc_advise(ptr noundef @.str, i32 noundef %14, ptr noundef @.str.1, ptr noundef %15)
store i32 -1, ptr %3, align 4
br label %19
17: ; preds = %2
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %17, %13
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @nc_open(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nc_advise(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1ws2sh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ncopen\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"filename \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ncopen(ptr noundef %0, i32 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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @nc_open(ptr noundef %8, i32 noundef %9, ptr noundef %6)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @nc_advise(ptr noundef @.str, i32 noundef %14, ptr noundef @.str.1, ptr noundef %15)
store i32 -1, ptr %3, align 4
br label %19
17: ; preds = %2
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %17, %13
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @nc_open(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nc_advise(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0dhd12p4.c'
source_filename = "/tmp/tmp0dhd12p4.c"
target datalayout = "e-m:e-p270: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/tmp0dhd12p4.c"
target datalayout = "e-m:e-p270: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/tmp3uib30ya.c'
source_filename = "/tmp/tmp3uib30ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"disttexture\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"reftexture\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"texw\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"texh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setUniformVariables(i32 noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store float %3, ptr %9, align 4
store float %4, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 -1, ptr %13, align 4
store i32 -1, ptr %14, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @glUseProgramObjectARB(i32 noundef %15)
%17 = load i32, ptr %6, align 4
%18 = call i32 @glGetUniformLocationARB(i32 noundef %17, ptr noundef @.str)
store i32 %18, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %25
21: ; preds = %5
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @glUniform1iARB(i32 noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21, %5
%26 = load i32, ptr %6, align 4
%27 = call i32 @glGetUniformLocationARB(i32 noundef %26, ptr noundef @.str.1)
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp ne i32 %28, -1
br i1 %29, label %30, label %34
30: ; preds = %25
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %8, align 4
%33 = call i32 @glUniform1iARB(i32 noundef %31, i32 noundef %32)
br label %34
34: ; preds = %30, %25
%35 = load i32, ptr %6, align 4
%36 = call i32 @glGetUniformLocationARB(i32 noundef %35, ptr noundef @.str.2)
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = icmp ne i32 %37, -1
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr %13, align 4
%41 = load float, ptr %9, align 4
%42 = call i32 @glUniform1fARB(i32 noundef %40, float noundef %41)
br label %43
43: ; preds = %39, %34
%44 = load i32, ptr %6, align 4
%45 = call i32 @glGetUniformLocationARB(i32 noundef %44, ptr noundef @.str.3)
store i32 %45, ptr %14, align 4
%46 = load i32, ptr %14, align 4
%47 = icmp ne i32 %46, -1
br i1 %47, label %48, label %52
48: ; preds = %43
%49 = load i32, ptr %14, align 4
%50 = load float, ptr %10, align 4
%51 = call i32 @glUniform1fARB(i32 noundef %49, float noundef %50)
br label %52
52: ; preds = %48, %43
%53 = call i32 @glUseProgramObjectARB(i32 noundef 0)
ret void
}
declare i32 @glUseProgramObjectARB(i32 noundef) #1
declare i32 @glGetUniformLocationARB(i32 noundef, ptr noundef) #1
declare i32 @glUniform1iARB(i32 noundef, i32 noundef) #1
declare i32 @glUniform1fARB(i32 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/tmp3uib30ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"disttexture\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"reftexture\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"texw\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"texh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setUniformVariables(i32 noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store float %3, ptr %9, align 4
store float %4, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 -1, ptr %13, align 4
store i32 -1, ptr %14, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @glUseProgramObjectARB(i32 noundef %15)
%17 = load i32, ptr %6, align 4
%18 = call i32 @glGetUniformLocationARB(i32 noundef %17, ptr noundef @.str)
store i32 %18, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %25
21: ; preds = %5
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @glUniform1iARB(i32 noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21, %5
%26 = load i32, ptr %6, align 4
%27 = call i32 @glGetUniformLocationARB(i32 noundef %26, ptr noundef @.str.1)
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp ne i32 %28, -1
br i1 %29, label %30, label %34
30: ; preds = %25
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %8, align 4
%33 = call i32 @glUniform1iARB(i32 noundef %31, i32 noundef %32)
br label %34
34: ; preds = %30, %25
%35 = load i32, ptr %6, align 4
%36 = call i32 @glGetUniformLocationARB(i32 noundef %35, ptr noundef @.str.2)
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = icmp ne i32 %37, -1
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr %13, align 4
%41 = load float, ptr %9, align 4
%42 = call i32 @glUniform1fARB(i32 noundef %40, float noundef %41)
br label %43
43: ; preds = %39, %34
%44 = load i32, ptr %6, align 4
%45 = call i32 @glGetUniformLocationARB(i32 noundef %44, ptr noundef @.str.3)
store i32 %45, ptr %14, align 4
%46 = load i32, ptr %14, align 4
%47 = icmp ne i32 %46, -1
br i1 %47, label %48, label %52
48: ; preds = %43
%49 = load i32, ptr %14, align 4
%50 = load float, ptr %10, align 4
%51 = call i32 @glUniform1fARB(i32 noundef %49, float noundef %50)
br label %52
52: ; preds = %48, %43
%53 = call i32 @glUseProgramObjectARB(i32 noundef 0)
ret void
}
declare i32 @glUseProgramObjectARB(i32 noundef) #1
declare i32 @glGetUniformLocationARB(i32 noundef, ptr noundef) #1
declare i32 @glUniform1iARB(i32 noundef, i32 noundef) #1
declare i32 @glUniform1fARB(i32 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/tmpzjr57l6v.c'
source_filename = "/tmp/tmpzjr57l6v.c"
target datalayout = "e-m:e-p270: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/tmpzjr57l6v.c"
target datalayout = "e-m:e-p270: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/tmp16plsisc.c'
source_filename = "/tmp/tmp16plsisc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Guess a number (1-100) :: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"\0AERROR: Out of bounds\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"\0AGuess a number (1-100) :: \00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0AGood guess - you win!\00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"\0ATHINK! - I already told you that the number is > %d\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"\0ATHINK! - I already told you that the number is < %d\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"\0ALower than %d; guess again :: \00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"\0AHigher than %d; guess again :: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 100, ptr %5, align 4
%7 = call i64 @time(ptr noundef null)
%8 = trunc i64 %7 to i32
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 100
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %67, %0
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = icmp sgt i32 %19, 100
br i1 %20, label %21, label %24
21: ; preds = %18, %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %66
24: ; preds = %18
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %34
28: ; preds = %24
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
store i32 %33, ptr %6, align 4
br label %65
34: ; preds = %24
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %64
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %63
50: ; preds = %42
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %2, align 4
%53 = icmp sgt i32 %51, %52
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load i32, ptr %3, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %55)
%57 = load i32, ptr %3, align 4
store i32 %57, ptr %5, align 4
br label %62
58: ; preds = %50
%59 = load i32, ptr %3, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %59)
%61 = load i32, ptr %3, align 4
store i32 %61, ptr %4, align 4
br label %62
62: ; preds = %58, %54
br label %63
63: ; preds = %62, %46
br label %64
64: ; preds = %63, %38
br label %65
65: ; preds = %64, %28
br label %66
66: ; preds = %65, %21
br label %67
67: ; preds = %66
%68 = load i32, ptr %6, align 4
%69 = icmp ne i32 %68, 0
%70 = xor i1 %69, true
br i1 %70, label %14, label %71, !llvm.loop !6
71: ; preds = %67
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16plsisc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Guess a number (1-100) :: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"\0AERROR: Out of bounds\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"\0AGuess a number (1-100) :: \00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0AGood guess - you win!\00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"\0ATHINK! - I already told you that the number is > %d\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"\0ATHINK! - I already told you that the number is < %d\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"\0ALower than %d; guess again :: \00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"\0AHigher than %d; guess again :: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 100, ptr %5, align 4
%7 = call i64 @time(ptr noundef null)
%8 = trunc i64 %7 to i32
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 100
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %67, %0
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = icmp sgt i32 %19, 100
br i1 %20, label %21, label %24
21: ; preds = %18, %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %66
24: ; preds = %18
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %34
28: ; preds = %24
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
store i32 %33, ptr %6, align 4
br label %65
34: ; preds = %24
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %64
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %63
50: ; preds = %42
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %2, align 4
%53 = icmp sgt i32 %51, %52
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load i32, ptr %3, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %55)
%57 = load i32, ptr %3, align 4
store i32 %57, ptr %5, align 4
br label %62
58: ; preds = %50
%59 = load i32, ptr %3, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %59)
%61 = load i32, ptr %3, align 4
store i32 %61, ptr %4, align 4
br label %62
62: ; preds = %58, %54
br label %63
63: ; preds = %62, %46
br label %64
64: ; preds = %63, %38
br label %65
65: ; preds = %64, %28
br label %66
66: ; preds = %65, %21
br label %67
67: ; preds = %66
%68 = load i32, ptr %6, align 4
%69 = icmp ne i32 %68, 0
%70 = xor i1 %69, true
br i1 %70, label %14, label %71, !llvm.loop !6
71: ; preds = %67
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt1ucmn9i.c'
source_filename = "/tmp/tmpt1ucmn9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_number(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
store i64 0, ptr %5, align 8
br label %9
9: ; preds = %47, %2
%10 = load i64, ptr %5, align 8
%11 = load i64, ptr %4, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %50
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %7, align 4
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %6, align 4
%23 = xor i32 %22, %21
store i32 %23, ptr %6, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i64, ptr %5, align 8
%26 = getelementptr inbounds i32, ptr %24, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %8, align 4
%29 = xor i32 %28, -1
%30 = and i32 %27, %29
%31 = load i32, ptr %7, align 4
%32 = xor i32 %31, %30
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = and i32 %33, %34
%36 = load i32, ptr %8, align 4
%37 = xor i32 %35, %36
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = xor i32 %39, %38
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = and i32 %41, %42
%44 = icmp eq i32 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
br label %47
47: ; preds = %13
%48 = load i64, ptr %5, align 8
%49 = add i64 %48, 1
store i64 %49, ptr %5, align 8
br label %9, !llvm.loop !6
50: ; preds = %9
%51 = load i32, ptr %6, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %56, label %53
53: ; preds = %50
%54 = load i32, ptr %7, align 4
%55 = icmp eq i32 %54, 0
br label %56
56: ; preds = %53, %50
%57 = phi i1 [ true, %50 ], [ %55, %53 ]
%58 = zext i1 %57 to i32
%59 = call i32 @assert(i32 noundef %58)
%60 = load i32, ptr %7, align 4
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %56
%63 = load i32, ptr %6, align 4
br label %66
64: ; preds = %56
%65 = load i32, ptr %7, align 4
br label %66
66: ; preds = %64, %62
%67 = phi i32 [ %63, %62 ], [ %65, %64 ]
ret i32 %67
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1ucmn9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_number(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
store i64 0, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %4, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %.lr.ph, label %52
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %46
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i32, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %7, align 4
%18 = xor i32 %17, -1
%19 = and i32 %16, %18
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %6, align 4
%22 = xor i32 %21, %20
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %8, align 4
%28 = xor i32 %27, -1
%29 = and i32 %26, %28
%30 = load i32, ptr %7, align 4
%31 = xor i32 %30, %29
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = and i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = xor i32 %34, %35
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = xor i32 %38, %37
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %7, align 4
%42 = and i32 %40, %41
%43 = icmp eq i32 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
br label %46
46: ; preds = %12
%47 = load i64, ptr %5, align 8
%48 = add i64 %47, 1
store i64 %48, ptr %5, align 8
%49 = load i64, ptr %5, align 8
%50 = load i64, ptr %4, align 8
%51 = icmp ult i64 %49, %50
br i1 %51, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %2
%53 = load i32, ptr %6, align 4
%54 = icmp eq i32 %53, 0
br i1 %54, label %58, label %55
55: ; preds = %52
%56 = load i32, ptr %7, align 4
%57 = icmp eq i32 %56, 0
br label %58
58: ; preds = %55, %52
%59 = phi i1 [ true, %52 ], [ %57, %55 ]
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 noundef %60)
%62 = load i32, ptr %7, align 4
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %58
%65 = load i32, ptr %6, align 4
br label %68
66: ; preds = %58
%67 = load i32, ptr %7, align 4
br label %68
68: ; preds = %66, %64
%69 = phi i32 [ %65, %64 ], [ %67, %66 ]
ret i32 %69
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5mgtxdaa.c'
source_filename = "/tmp/tmp5mgtxdaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unVernash(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %67
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = call ptr @hashum(ptr noundef %19, i32 noundef %20)
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %15
%25 = load ptr, ptr %7, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %24, %15
store ptr null, ptr %3, align 8
br label %67
28: ; preds = %24
store i32 0, ptr %9, align 4
br label %29
29: ; preds = %56, %28
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %59
33: ; preds = %29
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sub nsw i32 %39, 97
%41 = add nsw i32 97, %40
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = sub nsw i32 %47, 97
%49 = sub nsw i32 %41, %48
%50 = trunc i32 %49 to i8
%51 = call signext i8 @RotCharDown(i8 noundef signext %50, i8 noundef signext 32, i8 noundef signext 125)
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 %51, ptr %55, align 1
br label %56
56: ; preds = %33
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
br label %29, !llvm.loop !6
59: ; preds = %29
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 0, ptr %63, align 1
%64 = load ptr, ptr %7, align 8
%65 = call i32 @free(ptr noundef %64)
%66 = load ptr, ptr %8, align 8
store ptr %66, ptr %3, align 8
br label %67
67: ; preds = %59, %27, %14
%68 = load ptr, ptr %3, align 8
ret ptr %68
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @hashum(ptr noundef, i32 noundef) #1
declare signext i8 @RotCharDown(i8 noundef signext, i8 noundef signext, i8 noundef signext) #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/tmp5mgtxdaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unVernash(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %69
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = call ptr @hashum(ptr noundef %19, i32 noundef %20)
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %15
%25 = load ptr, ptr %7, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %24, %15
store ptr null, ptr %3, align 8
br label %69
28: ; preds = %24
store i32 0, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph, label %61
.lr.ph: ; preds = %28
br label %32
32: ; preds = %.lr.ph, %55
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %38, 97
%40 = add nsw i32 97, %39
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %46, 97
%48 = sub nsw i32 %40, %47
%49 = trunc i32 %48 to i8
%50 = call signext i8 @RotCharDown(i8 noundef signext %49, i8 noundef signext 32, i8 noundef signext 125)
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 %50, ptr %54, align 1
br label %55
55: ; preds = %32
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %28
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %9, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 0, ptr %65, align 1
%66 = load ptr, ptr %7, align 8
%67 = call i32 @free(ptr noundef %66)
%68 = load ptr, ptr %8, align 8
store ptr %68, ptr %3, align 8
br label %69
69: ; preds = %61, %27, %14
%70 = load ptr, ptr %3, align 8
ret ptr %70
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @hashum(ptr noundef, i32 noundef) #1
declare signext i8 @RotCharDown(i8 noundef signext, i8 noundef signext, i8 noundef signext) #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/tmp9dddsn8e.c'
source_filename = "/tmp/tmp9dddsn8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 @time(i32 noundef 0)
%8 = call i32 @srand(i32 noundef %7)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %35, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 1
%13 = icmp sle i32 %10, %12
br i1 %13, label %14, label %38
14: ; preds = %9
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %31, %14
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = icmp sle i32 %16, %18
br i1 %19, label %20, label %34
20: ; preds = %15
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 2
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %26, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %23, i64 %29
store i32 %22, ptr %30, align 4
br label %31
31: ; preds = %20
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %15, !llvm.loop !6
34: ; preds = %15
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %9, !llvm.loop !8
38: ; preds = %9
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dddsn8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 @time(i32 noundef 0)
%8 = call i32 @srand(i32 noundef %7)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp sle i32 %9, %11
br i1 %12, label %.lr.ph2, label %44
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %37
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %15, 1
%17 = icmp sle i32 %14, %16
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %29
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 2
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %21, i64 %27
store i32 %20, ptr %28, align 4
br label %29
29: ; preds = %18
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp sle i32 %32, %34
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %13
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %4, align 4
%42 = sub nsw i32 %41, 1
%43 = icmp sle i32 %40, %42
br i1 %43, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %44
44: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgg05ompy.c'
source_filename = "/tmp/tmpgg05ompy.c"
target datalayout = "e-m:e-p270: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/tmpgg05ompy.c"
target datalayout = "e-m:e-p270: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/tmp6fhakt4o.c'
source_filename = "/tmp/tmp6fhakt4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @fib(i32 noundef 10)
%2 = call i32 @add_two(i32 noundef 1000)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @subtract_two(i32 noundef 10)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @mut_rec1(i32 noundef 10)
ret i32 0
}
declare i32 @fib(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add_two(i32 noundef) #1
declare i32 @subtract_two(i32 noundef) #1
declare i32 @mut_rec1(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/tmp6fhakt4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @fib(i32 noundef 10)
%2 = call i32 @add_two(i32 noundef 1000)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @subtract_two(i32 noundef 10)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @mut_rec1(i32 noundef 10)
ret i32 0
}
declare i32 @fib(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add_two(i32 noundef) #1
declare i32 @subtract_two(i32 noundef) #1
declare i32 @mut_rec1(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/tmp9w3hgg7y.c'
source_filename = "/tmp/tmp9w3hgg7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfd_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sfd_strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = call ptr @malloc(i64 noundef %10)
store ptr %11, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %26, %1
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 %21, ptr %25, align 1
br label %26
26: ; preds = %16
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
%30 = load ptr, ptr %5, align 8
ret ptr %30
}
declare i32 @sfd_strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9w3hgg7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfd_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sfd_strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = call ptr @malloc(i64 noundef %10)
store ptr %11, ptr %5, align 8
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %25
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %15
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %1
%32 = load ptr, ptr %5, align 8
ret ptr %32
}
declare i32 @sfd_strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkx3svl5m.c'
source_filename = "/tmp/tmpkx3svl5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpgedit_edit_index_get_stats(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 @mp3edit_indexfile_get_stats(ptr noundef %3)
ret i32 %4
}
declare i32 @mp3edit_indexfile_get_stats(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkx3svl5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpgedit_edit_index_get_stats(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 @mp3edit_indexfile_get_stats(ptr noundef %3)
ret i32 %4
}
declare i32 @mp3edit_indexfile_get_stats(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybxk3md6.c'
source_filename = "/tmp/tmpybxk3md6.c"
target datalayout = "e-m:e-p270: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.calcOMES.reslist = private unnamed_addr constant [21 x i8] c"-ACDEFGHIKLMNPQRSTVWY", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calcOMES(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [21 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.calcOMES.reslist, i64 21, i1 false)
store i32 21, ptr %13, align 4
%21 = load i32, ptr %6, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %13, align 4
%24 = zext i32 %23 to i64
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %14, align 8
%26 = mul nuw i64 %22, %24
%27 = alloca double, i64 %26, align 16
store i64 %22, ptr %15, align 8
store i64 %24, ptr %16, align 8
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
store ptr %34, ptr %17, align 8
store i32 0, ptr %7, align 4
br label %35
35: ; preds = %56, %3
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %59
39: ; preds = %35
store i32 0, ptr %8, align 4
br label %40
40: ; preds = %52, %39
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %55
44: ; preds = %40
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = mul nsw i64 %46, %24
%48 = getelementptr inbounds double, ptr %27, i64 %47
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
store double 0.000000e+00, ptr %51, align 8
br label %52
52: ; preds = %44
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %8, align 4
br label %40, !llvm.loop !6
55: ; preds = %40
br label %56
56: ; preds = %55
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %35, !llvm.loop !8
59: ; preds = %35
store i32 0, ptr %7, align 4
br label %60
60: ; preds = %139, %59
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %6, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %142
64: ; preds = %60
store double 0.000000e+00, ptr %18, align 8
store i32 0, ptr %8, align 4
br label %65
65: ; preds = %108, %64
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %111
69: ; preds = %65
store i32 0, ptr %9, align 4
br label %70
70: ; preds = %104, %69
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %13, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %107
74: ; preds = %70
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %8, align 4
%77 = load i32, ptr %6, align 4
%78 = mul nsw i32 %76, %77
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %75, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = load i32, ptr %9, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [21 x i8], ptr %12, i64 0, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %84, %89
br i1 %90, label %91, label %103
91: ; preds = %74
%92 = load i32, ptr %7, align 4
%93 = sext i32 %92 to i64
%94 = mul nsw i64 %93, %24
%95 = getelementptr inbounds double, ptr %27, i64 %94
%96 = load i32, ptr %9, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %95, i64 %97
%99 = load double, ptr %98, align 8
%100 = fadd double %99, 1.000000e+00
store double %100, ptr %98, align 8
%101 = load double, ptr %18, align 8
%102 = fadd double %101, 1.000000e+00
store double %102, ptr %18, align 8
br label %107
103: ; preds = %74
br label %104
104: ; preds = %103
%105 = load i32, ptr %9, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %9, align 4
br label %70, !llvm.loop !9
107: ; preds = %91, %70
br label %108
108: ; preds = %107
%109 = load i32, ptr %8, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %8, align 4
br label %65, !llvm.loop !10
111: ; preds = %65
store i32 0, ptr %9, align 4
br label %112
112: ; preds = %135, %111
%113 = load i32, ptr %9, align 4
%114 = load i32, ptr %13, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %138
116: ; preds = %112
%117 = load i32, ptr %7, align 4
%118 = sext i32 %117 to i64
%119 = mul nsw i64 %118, %24
%120 = getelementptr inbounds double, ptr %27, i64 %119
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
%124 = load double, ptr %123, align 8
%125 = load i32, ptr %5, align 4
%126 = sitofp i32 %125 to double
%127 = fdiv double %124, %126
%128 = load i32, ptr %7, align 4
%129 = sext i32 %128 to i64
%130 = mul nsw i64 %129, %24
%131 = getelementptr inbounds double, ptr %27, i64 %130
%132 = load i32, ptr %9, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %131, i64 %133
store double %127, ptr %134, align 8
br label %135
135: ; preds = %116
%136 = load i32, ptr %9, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %9, align 4
br label %112, !llvm.loop !11
138: ; preds = %112
br label %139
139: ; preds = %138
%140 = load i32, ptr %7, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %7, align 4
br label %60, !llvm.loop !12
142: ; preds = %60
store i32 0, ptr %7, align 4
br label %143
143: ; preds = %337, %142
%144 = load i32, ptr %7, align 4
%145 = load i32, ptr %6, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %147, label %340
147: ; preds = %143
%148 = load ptr, ptr %17, align 8
%149 = load i32, ptr %7, align 4
%150 = load i32, ptr %6, align 4
%151 = mul nsw i32 %149, %150
%152 = load i32, ptr %7, align 4
%153 = add nsw i32 %151, %152
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds double, ptr %148, i64 %154
store double 0.000000e+00, ptr %155, align 8
%156 = load i32, ptr %7, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %8, align 4
br label %158
158: ; preds = %333, %147
%159 = load i32, ptr %8, align 4
%160 = load i32, ptr %6, align 4
%161 = icmp slt i32 %159, %160
br i1 %161, label %162, label %336
162: ; preds = %158
store double 0.000000e+00, ptr %19, align 8
store i32 0, ptr %10, align 4
br label %163
163: ; preds = %311, %162
%164 = load i32, ptr %10, align 4
%165 = load i32, ptr %13, align 4
%166 = icmp slt i32 %164, %165
br i1 %166, label %167, label %314
167: ; preds = %163
store i32 0, ptr %11, align 4
br label %168
168: ; preds = %307, %167
%169 = load i32, ptr %11, align 4
%170 = load i32, ptr %13, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %172, label %310
172: ; preds = %168
%173 = load i32, ptr %7, align 4
%174 = sext i32 %173 to i64
%175 = mul nsw i64 %174, %24
%176 = getelementptr inbounds double, ptr %27, i64 %175
%177 = load i32, ptr %10, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
%180 = load double, ptr %179, align 8
%181 = fcmp une double %180, 0.000000e+00
br i1 %181, label %182, label %306
182: ; preds = %172
%183 = load i32, ptr %8, align 4
%184 = sext i32 %183 to i64
%185 = mul nsw i64 %184, %24
%186 = getelementptr inbounds double, ptr %27, i64 %185
%187 = load i32, ptr %11, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %186, i64 %188
%190 = load double, ptr %189, align 8
%191 = fcmp une double %190, 0.000000e+00
br i1 %191, label %192, label %306
192: ; preds = %182
store double 0.000000e+00, ptr %20, align 8
store i32 0, ptr %9, align 4
br label %193
193: ; preds = %235, %192
%194 = load i32, ptr %9, align 4
%195 = load i32, ptr %5, align 4
%196 = icmp slt i32 %194, %195
br i1 %196, label %197, label %238
197: ; preds = %193
%198 = load ptr, ptr %4, align 8
%199 = load i32, ptr %9, align 4
%200 = load i32, ptr %6, align 4
%201 = mul nsw i32 %199, %200
%202 = load i32, ptr %7, align 4
%203 = add nsw i32 %201, %202
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i8, ptr %198, i64 %204
%206 = load i8, ptr %205, align 1
%207 = sext i8 %206 to i32
%208 = load i32, ptr %10, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [21 x i8], ptr %12, i64 0, i64 %209
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = icmp eq i32 %207, %212
br i1 %213, label %214, label %234
214: ; preds = %197
%215 = load ptr, ptr %4, align 8
%216 = load i32, ptr %9, align 4
%217 = load i32, ptr %6, align 4
%218 = mul nsw i32 %216, %217
%219 = load i32, ptr %8, align 4
%220 = add nsw i32 %218, %219
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds i8, ptr %215, i64 %221
%223 = load i8, ptr %222, align 1
%224 = sext i8 %223 to i32
%225 = load i32, ptr %11, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [21 x i8], ptr %12, i64 0, i64 %226
%228 = load i8, ptr %227, align 1
%229 = sext i8 %228 to i32
%230 = icmp eq i32 %224, %229
br i1 %230, label %231, label %234
231: ; preds = %214
%232 = load double, ptr %20, align 8
%233 = fadd double %232, 1.000000e+00
store double %233, ptr %20, align 8
br label %234
234: ; preds = %231, %214, %197
br label %235
235: ; preds = %234
%236 = load i32, ptr %9, align 4
%237 = add nsw i32 %236, 1
store i32 %237, ptr %9, align 4
br label %193, !llvm.loop !13
238: ; preds = %193
%239 = load double, ptr %20, align 8
%240 = fcmp une double %239, 0.000000e+00
br i1 %240, label %241, label %305
241: ; preds = %238
%242 = load double, ptr %20, align 8
%243 = load i32, ptr %5, align 4
%244 = sitofp i32 %243 to double
%245 = fdiv double %242, %244
store double %245, ptr %20, align 8
%246 = load double, ptr %20, align 8
%247 = load i32, ptr %7, align 4
%248 = sext i32 %247 to i64
%249 = mul nsw i64 %248, %24
%250 = getelementptr inbounds double, ptr %27, i64 %249
%251 = load i32, ptr %10, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds double, ptr %250, i64 %252
%254 = load double, ptr %253, align 8
%255 = load i32, ptr %8, align 4
%256 = sext i32 %255 to i64
%257 = mul nsw i64 %256, %24
%258 = getelementptr inbounds double, ptr %27, i64 %257
%259 = load i32, ptr %11, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, ptr %258, i64 %260
%262 = load double, ptr %261, align 8
%263 = fneg double %254
%264 = call double @llvm.fmuladd.f64(double %263, double %262, double %246)
%265 = load double, ptr %20, align 8
%266 = load i32, ptr %7, align 4
%267 = sext i32 %266 to i64
%268 = mul nsw i64 %267, %24
%269 = getelementptr inbounds double, ptr %27, i64 %268
%270 = load i32, ptr %10, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds double, ptr %269, i64 %271
%273 = load double, ptr %272, align 8
%274 = load i32, ptr %8, align 4
%275 = sext i32 %274 to i64
%276 = mul nsw i64 %275, %24
%277 = getelementptr inbounds double, ptr %27, i64 %276
%278 = load i32, ptr %11, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds double, ptr %277, i64 %279
%281 = load double, ptr %280, align 8
%282 = fneg double %273
%283 = call double @llvm.fmuladd.f64(double %282, double %281, double %265)
%284 = fmul double %264, %283
%285 = load i32, ptr %7, align 4
%286 = sext i32 %285 to i64
%287 = mul nsw i64 %286, %24
%288 = getelementptr inbounds double, ptr %27, i64 %287
%289 = load i32, ptr %10, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds double, ptr %288, i64 %290
%292 = load double, ptr %291, align 8
%293 = load i32, ptr %8, align 4
%294 = sext i32 %293 to i64
%295 = mul nsw i64 %294, %24
%296 = getelementptr inbounds double, ptr %27, i64 %295
%297 = load i32, ptr %11, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds double, ptr %296, i64 %298
%300 = load double, ptr %299, align 8
%301 = fmul double %292, %300
%302 = fdiv double %284, %301
%303 = load double, ptr %19, align 8
%304 = fadd double %303, %302
store double %304, ptr %19, align 8
br label %305
305: ; preds = %241, %238
br label %306
306: ; preds = %305, %182, %172
br label %307
307: ; preds = %306
%308 = load i32, ptr %11, align 4
%309 = add nsw i32 %308, 1
store i32 %309, ptr %11, align 4
br label %168, !llvm.loop !14
310: ; preds = %168
br label %311
311: ; preds = %310
%312 = load i32, ptr %10, align 4
%313 = add nsw i32 %312, 1
store i32 %313, ptr %10, align 4
br label %163, !llvm.loop !15
314: ; preds = %163
%315 = load double, ptr %19, align 8
%316 = load ptr, ptr %17, align 8
%317 = load i32, ptr %7, align 4
%318 = load i32, ptr %6, align 4
%319 = mul nsw i32 %317, %318
%320 = load i32, ptr %8, align 4
%321 = add nsw i32 %319, %320
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds double, ptr %316, i64 %322
store double %315, ptr %323, align 8
%324 = load double, ptr %19, align 8
%325 = load ptr, ptr %17, align 8
%326 = load i32, ptr %8, align 4
%327 = load i32, ptr %6, align 4
%328 = mul nsw i32 %326, %327
%329 = load i32, ptr %7, align 4
%330 = add nsw i32 %328, %329
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds double, ptr %325, i64 %331
store double %324, ptr %332, align 8
br label %333
333: ; preds = %314
%334 = load i32, ptr %8, align 4
%335 = add nsw i32 %334, 1
store i32 %335, ptr %8, align 4
br label %158, !llvm.loop !16
336: ; preds = %158
br label %337
337: ; preds = %336
%338 = load i32, ptr %7, align 4
%339 = add nsw i32 %338, 1
store i32 %339, ptr %7, align 4
br label %143, !llvm.loop !17
340: ; preds = %143
%341 = load ptr, ptr %17, align 8
%342 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %342)
ret ptr %341
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @malloc(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybxk3md6.c"
target datalayout = "e-m:e-p270: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.calcOMES.reslist = private unnamed_addr constant [21 x i8] c"-ACDEFGHIKLMNPQRSTVWY", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calcOMES(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [21 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.calcOMES.reslist, i64 21, i1 false)
store i32 21, ptr %13, align 4
%21 = load i32, ptr %6, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %13, align 4
%24 = zext i32 %23 to i64
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %14, align 8
%26 = mul nuw i64 %22, %24
%27 = alloca double, i64 %26, align 16
store i64 %22, ptr %15, align 8
store i64 %24, ptr %16, align 8
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
store ptr %34, ptr %17, align 8
store i32 0, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph2, label %63
.lr.ph2: ; preds = %3
br label %38
38: ; preds = %.lr.ph2, %57
store i32 0, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %13, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %56
.lr.ph: ; preds = %38
br label %42
42: ; preds = %.lr.ph, %50
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = mul nsw i64 %44, %24
%46 = getelementptr inbounds double, ptr %27, i64 %45
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
store double 0.000000e+00, ptr %49, align 8
br label %50
50: ; preds = %42
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %8, align 4
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %13, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %38
br label %57
57: ; preds = %56
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %63
63: ; preds = %._crit_edge3, %3
store i32 0, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph13, label %154
.lr.ph13: ; preds = %63
br label %67
67: ; preds = %.lr.ph13, %148
store double 0.000000e+00, ptr %18, align 8
store i32 0, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = load i32, ptr %5, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph7, label %118
.lr.ph7: ; preds = %67
br label %71
71: ; preds = %.lr.ph7, %112
store i32 0, ptr %9, align 4
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %13, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %71
br label %75
75: ; preds = %.lr.ph5, %105
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %6, align 4
%79 = mul nsw i32 %77, %78
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %76, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [21 x i8], ptr %12, i64 0, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %85, %90
br i1 %91, label %92, label %104
92: ; preds = %75
%93 = load i32, ptr %7, align 4
%94 = sext i32 %93 to i64
%95 = mul nsw i64 %94, %24
%96 = getelementptr inbounds double, ptr %27, i64 %95
%97 = load i32, ptr %9, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %96, i64 %98
%100 = load double, ptr %99, align 8
%101 = fadd double %100, 1.000000e+00
store double %101, ptr %99, align 8
%102 = load double, ptr %18, align 8
%103 = fadd double %102, 1.000000e+00
store double %103, ptr %18, align 8
br label %111
104: ; preds = %75
br label %105
105: ; preds = %104
%106 = load i32, ptr %9, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %9, align 4
%109 = load i32, ptr %13, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %75, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %105
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %71
br label %111
111: ; preds = %.loopexit, %92
br label %112
112: ; preds = %111
%113 = load i32, ptr %8, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %8, align 4
%115 = load i32, ptr %8, align 4
%116 = load i32, ptr %5, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %71, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %112
br label %118
118: ; preds = %._crit_edge8, %67
store i32 0, ptr %9, align 4
%119 = load i32, ptr %9, align 4
%120 = load i32, ptr %13, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %.lr.ph10, label %147
.lr.ph10: ; preds = %118
br label %122
122: ; preds = %.lr.ph10, %141
%123 = load i32, ptr %7, align 4
%124 = sext i32 %123 to i64
%125 = mul nsw i64 %124, %24
%126 = getelementptr inbounds double, ptr %27, i64 %125
%127 = load i32, ptr %9, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
%130 = load double, ptr %129, align 8
%131 = load i32, ptr %5, align 4
%132 = sitofp i32 %131 to double
%133 = fdiv double %130, %132
%134 = load i32, ptr %7, align 4
%135 = sext i32 %134 to i64
%136 = mul nsw i64 %135, %24
%137 = getelementptr inbounds double, ptr %27, i64 %136
%138 = load i32, ptr %9, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %137, i64 %139
store double %133, ptr %140, align 8
br label %141
141: ; preds = %122
%142 = load i32, ptr %9, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %9, align 4
%144 = load i32, ptr %9, align 4
%145 = load i32, ptr %13, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %122, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %141
br label %147
147: ; preds = %._crit_edge11, %118
br label %148
148: ; preds = %147
%149 = load i32, ptr %7, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %7, align 4
%151 = load i32, ptr %7, align 4
%152 = load i32, ptr %6, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %67, label %._crit_edge14, !llvm.loop !12
._crit_edge14: ; preds = %148
br label %154
154: ; preds = %._crit_edge14, %63
store i32 0, ptr %7, align 4
%155 = load i32, ptr %7, align 4
%156 = load i32, ptr %6, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %.lr.ph28, label %362
.lr.ph28: ; preds = %154
br label %158
158: ; preds = %.lr.ph28, %356
%159 = load ptr, ptr %17, align 8
%160 = load i32, ptr %7, align 4
%161 = load i32, ptr %6, align 4
%162 = mul nsw i32 %160, %161
%163 = load i32, ptr %7, align 4
%164 = add nsw i32 %162, %163
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %159, i64 %165
store double 0.000000e+00, ptr %166, align 8
%167 = load i32, ptr %7, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %8, align 4
%169 = load i32, ptr %8, align 4
%170 = load i32, ptr %6, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %.lr.ph25, label %355
.lr.ph25: ; preds = %158
br label %172
172: ; preds = %.lr.ph25, %349
store double 0.000000e+00, ptr %19, align 8
store i32 0, ptr %10, align 4
%173 = load i32, ptr %10, align 4
%174 = load i32, ptr %13, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %.lr.ph22, label %330
.lr.ph22: ; preds = %172
br label %176
176: ; preds = %.lr.ph22, %324
store i32 0, ptr %11, align 4
%177 = load i32, ptr %11, align 4
%178 = load i32, ptr %13, align 4
%179 = icmp slt i32 %177, %178
br i1 %179, label %.lr.ph19, label %323
.lr.ph19: ; preds = %176
br label %180
180: ; preds = %.lr.ph19, %317
%181 = load i32, ptr %7, align 4
%182 = sext i32 %181 to i64
%183 = mul nsw i64 %182, %24
%184 = getelementptr inbounds double, ptr %27, i64 %183
%185 = load i32, ptr %10, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %184, i64 %186
%188 = load double, ptr %187, align 8
%189 = fcmp une double %188, 0.000000e+00
br i1 %189, label %190, label %316
190: ; preds = %180
%191 = load i32, ptr %8, align 4
%192 = sext i32 %191 to i64
%193 = mul nsw i64 %192, %24
%194 = getelementptr inbounds double, ptr %27, i64 %193
%195 = load i32, ptr %11, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %194, i64 %196
%198 = load double, ptr %197, align 8
%199 = fcmp une double %198, 0.000000e+00
br i1 %199, label %200, label %316
200: ; preds = %190
store double 0.000000e+00, ptr %20, align 8
store i32 0, ptr %9, align 4
%201 = load i32, ptr %9, align 4
%202 = load i32, ptr %5, align 4
%203 = icmp slt i32 %201, %202
br i1 %203, label %.lr.ph16, label %248
.lr.ph16: ; preds = %200
br label %204
204: ; preds = %.lr.ph16, %242
%205 = load ptr, ptr %4, align 8
%206 = load i32, ptr %9, align 4
%207 = load i32, ptr %6, align 4
%208 = mul nsw i32 %206, %207
%209 = load i32, ptr %7, align 4
%210 = add nsw i32 %208, %209
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i8, ptr %205, i64 %211
%213 = load i8, ptr %212, align 1
%214 = sext i8 %213 to i32
%215 = load i32, ptr %10, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [21 x i8], ptr %12, i64 0, i64 %216
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %214, %219
br i1 %220, label %221, label %241
221: ; preds = %204
%222 = load ptr, ptr %4, align 8
%223 = load i32, ptr %9, align 4
%224 = load i32, ptr %6, align 4
%225 = mul nsw i32 %223, %224
%226 = load i32, ptr %8, align 4
%227 = add nsw i32 %225, %226
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds i8, ptr %222, i64 %228
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = load i32, ptr %11, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [21 x i8], ptr %12, i64 0, i64 %233
%235 = load i8, ptr %234, align 1
%236 = sext i8 %235 to i32
%237 = icmp eq i32 %231, %236
br i1 %237, label %238, label %241
238: ; preds = %221
%239 = load double, ptr %20, align 8
%240 = fadd double %239, 1.000000e+00
store double %240, ptr %20, align 8
br label %241
241: ; preds = %238, %221, %204
br label %242
242: ; preds = %241
%243 = load i32, ptr %9, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %9, align 4
%245 = load i32, ptr %9, align 4
%246 = load i32, ptr %5, align 4
%247 = icmp slt i32 %245, %246
br i1 %247, label %204, label %._crit_edge17, !llvm.loop !13
._crit_edge17: ; preds = %242
br label %248
248: ; preds = %._crit_edge17, %200
%249 = load double, ptr %20, align 8
%250 = fcmp une double %249, 0.000000e+00
br i1 %250, label %251, label %315
251: ; preds = %248
%252 = load double, ptr %20, align 8
%253 = load i32, ptr %5, align 4
%254 = sitofp i32 %253 to double
%255 = fdiv double %252, %254
store double %255, ptr %20, align 8
%256 = load double, ptr %20, align 8
%257 = load i32, ptr %7, align 4
%258 = sext i32 %257 to i64
%259 = mul nsw i64 %258, %24
%260 = getelementptr inbounds double, ptr %27, i64 %259
%261 = load i32, ptr %10, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds double, ptr %260, i64 %262
%264 = load double, ptr %263, align 8
%265 = load i32, ptr %8, align 4
%266 = sext i32 %265 to i64
%267 = mul nsw i64 %266, %24
%268 = getelementptr inbounds double, ptr %27, i64 %267
%269 = load i32, ptr %11, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds double, ptr %268, i64 %270
%272 = load double, ptr %271, align 8
%273 = fneg double %264
%274 = call double @llvm.fmuladd.f64(double %273, double %272, double %256)
%275 = load double, ptr %20, align 8
%276 = load i32, ptr %7, align 4
%277 = sext i32 %276 to i64
%278 = mul nsw i64 %277, %24
%279 = getelementptr inbounds double, ptr %27, i64 %278
%280 = load i32, ptr %10, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds double, ptr %279, i64 %281
%283 = load double, ptr %282, align 8
%284 = load i32, ptr %8, align 4
%285 = sext i32 %284 to i64
%286 = mul nsw i64 %285, %24
%287 = getelementptr inbounds double, ptr %27, i64 %286
%288 = load i32, ptr %11, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, ptr %287, i64 %289
%291 = load double, ptr %290, align 8
%292 = fneg double %283
%293 = call double @llvm.fmuladd.f64(double %292, double %291, double %275)
%294 = fmul double %274, %293
%295 = load i32, ptr %7, align 4
%296 = sext i32 %295 to i64
%297 = mul nsw i64 %296, %24
%298 = getelementptr inbounds double, ptr %27, i64 %297
%299 = load i32, ptr %10, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds double, ptr %298, i64 %300
%302 = load double, ptr %301, align 8
%303 = load i32, ptr %8, align 4
%304 = sext i32 %303 to i64
%305 = mul nsw i64 %304, %24
%306 = getelementptr inbounds double, ptr %27, i64 %305
%307 = load i32, ptr %11, align 4
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds double, ptr %306, i64 %308
%310 = load double, ptr %309, align 8
%311 = fmul double %302, %310
%312 = fdiv double %294, %311
%313 = load double, ptr %19, align 8
%314 = fadd double %313, %312
store double %314, ptr %19, align 8
br label %315
315: ; preds = %251, %248
br label %316
316: ; preds = %315, %190, %180
br label %317
317: ; preds = %316
%318 = load i32, ptr %11, align 4
%319 = add nsw i32 %318, 1
store i32 %319, ptr %11, align 4
%320 = load i32, ptr %11, align 4
%321 = load i32, ptr %13, align 4
%322 = icmp slt i32 %320, %321
br i1 %322, label %180, label %._crit_edge20, !llvm.loop !14
._crit_edge20: ; preds = %317
br label %323
323: ; preds = %._crit_edge20, %176
br label %324
324: ; preds = %323
%325 = load i32, ptr %10, align 4
%326 = add nsw i32 %325, 1
store i32 %326, ptr %10, align 4
%327 = load i32, ptr %10, align 4
%328 = load i32, ptr %13, align 4
%329 = icmp slt i32 %327, %328
br i1 %329, label %176, label %._crit_edge23, !llvm.loop !15
._crit_edge23: ; preds = %324
br label %330
330: ; preds = %._crit_edge23, %172
%331 = load double, ptr %19, align 8
%332 = load ptr, ptr %17, align 8
%333 = load i32, ptr %7, align 4
%334 = load i32, ptr %6, align 4
%335 = mul nsw i32 %333, %334
%336 = load i32, ptr %8, align 4
%337 = add nsw i32 %335, %336
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %332, i64 %338
store double %331, ptr %339, align 8
%340 = load double, ptr %19, align 8
%341 = load ptr, ptr %17, align 8
%342 = load i32, ptr %8, align 4
%343 = load i32, ptr %6, align 4
%344 = mul nsw i32 %342, %343
%345 = load i32, ptr %7, align 4
%346 = add nsw i32 %344, %345
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds double, ptr %341, i64 %347
store double %340, ptr %348, align 8
br label %349
349: ; preds = %330
%350 = load i32, ptr %8, align 4
%351 = add nsw i32 %350, 1
store i32 %351, ptr %8, align 4
%352 = load i32, ptr %8, align 4
%353 = load i32, ptr %6, align 4
%354 = icmp slt i32 %352, %353
br i1 %354, label %172, label %._crit_edge26, !llvm.loop !16
._crit_edge26: ; preds = %349
br label %355
355: ; preds = %._crit_edge26, %158
br label %356
356: ; preds = %355
%357 = load i32, ptr %7, align 4
%358 = add nsw i32 %357, 1
store i32 %358, ptr %7, align 4
%359 = load i32, ptr %7, align 4
%360 = load i32, ptr %6, align 4
%361 = icmp slt i32 %359, %360
br i1 %361, label %158, label %._crit_edge29, !llvm.loop !17
._crit_edge29: ; preds = %356
br label %362
362: ; preds = %._crit_edge29, %154
%363 = load ptr, ptr %17, align 8
%364 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %364)
ret ptr %363
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @malloc(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
|
; ModuleID = '/tmp/tmph6ne5iws.c'
source_filename = "/tmp/tmph6ne5iws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar() #0 {
%1 = call i32 (...) @baz()
ret i32 %1
}
declare i32 @baz(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6ne5iws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar() #0 {
%1 = call i32 (...) @baz()
ret i32 %1
}
declare i32 @baz(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9ojtj_0m.c'
source_filename = "/tmp/tmp9ojtj_0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s STRING\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 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
store i32 1, ptr %3, align 4
br label %19
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @compress(ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17)
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %13, %8
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @compress(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ojtj_0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s STRING\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 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
store i32 1, ptr %3, align 4
br label %19
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @compress(ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17)
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %13, %8
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @compress(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe867hhau.c'
source_filename = "/tmp/tmpe867hhau.c"
target datalayout = "e-m:e-p270: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/tmpe867hhau.c"
target datalayout = "e-m:e-p270: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/tmpf23oevhz.c'
source_filename = "/tmp/tmpf23oevhz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [14 x i8] c"Invalid input\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %0
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %17, %9
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %10, !llvm.loop !6
20: ; preds = %10
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf23oevhz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [14 x i8] c"Invalid input\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %0
store i32 1, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %16
%14 = load i32, ptr %2, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14)
br label %16
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvc9kqtv3.c'
source_filename = "/tmp/tmpvc9kqtv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_mod_mul_reciprocal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%14 = load ptr, ptr %10, align 8
%15 = call i32 @BN_CTX_start(ptr noundef %14)
%16 = load ptr, ptr %10, align 8
%17 = call ptr @BN_CTX_get(ptr noundef %16)
store ptr %17, ptr %12, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %5
br label %54
20: ; preds = %5
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %46
23: ; preds = %20
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp eq ptr %24, %25
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load ptr, ptr %12, align 8
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @BN_sqr(ptr noundef %28, ptr noundef %29, ptr noundef %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %27
br label %54
34: ; preds = %27
br label %44
35: ; preds = %23
%36 = load ptr, ptr %12, align 8
%37 = load ptr, ptr %7, align 8
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %10, align 8
%40 = call i32 @BN_mul(ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %35
br label %54
43: ; preds = %35
br label %44
44: ; preds = %43, %34
%45 = load ptr, ptr %12, align 8
store ptr %45, ptr %13, align 8
br label %48
46: ; preds = %20
%47 = load ptr, ptr %7, align 8
store ptr %47, ptr %13, align 8
br label %48
48: ; preds = %46, %44
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %13, align 8
%51 = load ptr, ptr %9, align 8
%52 = load ptr, ptr %10, align 8
%53 = call i32 @BN_div_recp(ptr noundef null, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52)
store i32 %53, ptr %11, align 4
br label %54
54: ; preds = %48, %42, %33, %19
%55 = load ptr, ptr %10, align 8
%56 = call i32 @BN_CTX_end(ptr noundef %55)
%57 = load ptr, ptr %6, align 8
%58 = call i32 @bn_check_top(ptr noundef %57)
%59 = load i32, ptr %11, align 4
ret i32 %59
}
declare i32 @BN_CTX_start(ptr noundef) #1
declare ptr @BN_CTX_get(ptr noundef) #1
declare i32 @BN_sqr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_mul(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_div_recp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_CTX_end(ptr noundef) #1
declare i32 @bn_check_top(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvc9kqtv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_mod_mul_reciprocal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%14 = load ptr, ptr %10, align 8
%15 = call i32 @BN_CTX_start(ptr noundef %14)
%16 = load ptr, ptr %10, align 8
%17 = call ptr @BN_CTX_get(ptr noundef %16)
store ptr %17, ptr %12, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %5
br label %54
20: ; preds = %5
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %46
23: ; preds = %20
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp eq ptr %24, %25
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load ptr, ptr %12, align 8
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @BN_sqr(ptr noundef %28, ptr noundef %29, ptr noundef %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %27
br label %54
34: ; preds = %27
br label %44
35: ; preds = %23
%36 = load ptr, ptr %12, align 8
%37 = load ptr, ptr %7, align 8
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %10, align 8
%40 = call i32 @BN_mul(ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %35
br label %54
43: ; preds = %35
br label %44
44: ; preds = %43, %34
%45 = load ptr, ptr %12, align 8
store ptr %45, ptr %13, align 8
br label %48
46: ; preds = %20
%47 = load ptr, ptr %7, align 8
store ptr %47, ptr %13, align 8
br label %48
48: ; preds = %46, %44
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %13, align 8
%51 = load ptr, ptr %9, align 8
%52 = load ptr, ptr %10, align 8
%53 = call i32 @BN_div_recp(ptr noundef null, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52)
store i32 %53, ptr %11, align 4
br label %54
54: ; preds = %48, %42, %33, %19
%55 = load ptr, ptr %10, align 8
%56 = call i32 @BN_CTX_end(ptr noundef %55)
%57 = load ptr, ptr %6, align 8
%58 = call i32 @bn_check_top(ptr noundef %57)
%59 = load i32, ptr %11, align 4
ret i32 %59
}
declare i32 @BN_CTX_start(ptr noundef) #1
declare ptr @BN_CTX_get(ptr noundef) #1
declare i32 @BN_sqr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_mul(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_div_recp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_CTX_end(ptr noundef) #1
declare i32 @bn_check_top(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6kr30b9o.c'
source_filename = "/tmp/tmp6kr30b9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"==> success\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"==> failure\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
br label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %9
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6kr30b9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"==> success\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"==> failure\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
br label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %9
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppw8jw4wz.c'
source_filename = "/tmp/tmppw8jw4wz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kendl1(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %14, align 8
store i64 0, ptr %17, align 8
store i64 1, ptr %16, align 8
br label %22
22: ; preds = %91, %6
%23 = load i64, ptr %16, align 8
%24 = load i64, ptr %9, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %26, label %94
26: ; preds = %22
%27 = load i64, ptr %16, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %15, align 8
br label %29
29: ; preds = %87, %26
%30 = load i64, ptr %15, align 8
%31 = load i64, ptr %9, align 8
%32 = icmp ule i64 %30, %31
br i1 %32, label %33, label %90
33: ; preds = %29
%34 = load ptr, ptr %7, align 8
%35 = load i64, ptr %16, align 8
%36 = getelementptr inbounds float, ptr %34, i64 %35
%37 = load float, ptr %36, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i64, ptr %15, align 8
%40 = getelementptr inbounds float, ptr %38, i64 %39
%41 = load float, ptr %40, align 4
%42 = fsub float %37, %41
store float %42, ptr %21, align 4
%43 = load ptr, ptr %8, align 8
%44 = load i64, ptr %16, align 8
%45 = getelementptr inbounds float, ptr %43, i64 %44
%46 = load float, ptr %45, align 4
%47 = load ptr, ptr %8, align 8
%48 = load i64, ptr %15, align 8
%49 = getelementptr inbounds float, ptr %47, i64 %48
%50 = load float, ptr %49, align 4
%51 = fsub float %46, %50
store float %51, ptr %20, align 4
%52 = load float, ptr %21, align 4
%53 = load float, ptr %20, align 4
%54 = fmul float %52, %53
store float %54, ptr %19, align 4
%55 = load float, ptr %19, align 4
%56 = fcmp une float %55, 0.000000e+00
br i1 %56, label %57, label %73
57: ; preds = %33
%58 = load i64, ptr %14, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %14, align 8
%60 = load i64, ptr %13, align 8
%61 = add i64 %60, 1
store i64 %61, ptr %13, align 8
%62 = load float, ptr %19, align 4
%63 = fpext float %62 to double
%64 = fcmp ogt double %63, 0.000000e+00
br i1 %64, label %65, label %68
65: ; preds = %57
%66 = load i64, ptr %17, align 8
%67 = add nsw i64 %66, 1
store i64 %67, ptr %17, align 8
br label %71
68: ; preds = %57
%69 = load i64, ptr %17, align 8
%70 = add nsw i64 %69, -1
store i64 %70, ptr %17, align 8
br label %71
71: ; preds = %68, %65
%72 = phi i64 [ %67, %65 ], [ %70, %68 ]
br label %86
73: ; preds = %33
%74 = load float, ptr %21, align 4
%75 = fcmp une float %74, 0.000000e+00
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = load i64, ptr %14, align 8
%78 = add i64 %77, 1
store i64 %78, ptr %14, align 8
br label %79
79: ; preds = %76, %73
%80 = load float, ptr %20, align 4
%81 = fcmp une float %80, 0.000000e+00
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = load i64, ptr %13, align 8
%84 = add i64 %83, 1
store i64 %84, ptr %13, align 8
br label %85
85: ; preds = %82, %79
br label %86
86: ; preds = %85, %71
br label %87
87: ; preds = %86
%88 = load i64, ptr %15, align 8
%89 = add i64 %88, 1
store i64 %89, ptr %15, align 8
br label %29, !llvm.loop !6
90: ; preds = %29
br label %91
91: ; preds = %90
%92 = load i64, ptr %16, align 8
%93 = add i64 %92, 1
store i64 %93, ptr %16, align 8
br label %22, !llvm.loop !8
94: ; preds = %22
%95 = load i64, ptr %17, align 8
%96 = sitofp i64 %95 to float
%97 = load i64, ptr %14, align 8
%98 = uitofp i64 %97 to double
%99 = fptrunc double %98 to float
%100 = call float @sqrt(float noundef %99)
%101 = load i64, ptr %13, align 8
%102 = uitofp i64 %101 to double
%103 = fptrunc double %102 to float
%104 = call float @sqrt(float noundef %103)
%105 = fmul float %100, %104
%106 = fdiv float %96, %105
%107 = load ptr, ptr %10, align 8
store float %106, ptr %107, align 4
%108 = load i64, ptr %9, align 8
%109 = uitofp i64 %108 to double
%110 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %109, double 1.000000e+01)
%111 = load i64, ptr %9, align 8
%112 = uitofp i64 %111 to double
%113 = fmul double 9.000000e+00, %112
%114 = load i64, ptr %9, align 8
%115 = uitofp i64 %114 to double
%116 = fsub double %115, 1.000000e+00
%117 = fmul double %113, %116
%118 = fdiv double %110, %117
%119 = fptrunc double %118 to float
store float %119, ptr %18, align 4
%120 = load ptr, ptr %10, align 8
%121 = load float, ptr %120, align 4
%122 = load float, ptr %18, align 4
%123 = call float @sqrt(float noundef %122)
%124 = fdiv float %121, %123
%125 = load ptr, ptr %11, align 8
store float %124, ptr %125, align 4
%126 = load ptr, ptr %11, align 8
%127 = load float, ptr %126, align 4
%128 = call double @fabs(float noundef %127)
%129 = fdiv double %128, 0x3FF6A09E7098EF50
%130 = fptrunc double %129 to float
%131 = call float @erfcc(float noundef %130)
%132 = load ptr, ptr %12, align 8
store float %131, ptr %132, align 4
ret void
}
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare float @erfcc(float noundef) #1
declare double @fabs(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppw8jw4wz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kendl1(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %14, align 8
store i64 0, ptr %17, align 8
store i64 1, ptr %16, align 8
%22 = load i64, ptr %16, align 8
%23 = load i64, ptr %9, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %.lr.ph2, label %98
.lr.ph2: ; preds = %6
br label %25
25: ; preds = %.lr.ph2, %92
%26 = load i64, ptr %16, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %15, align 8
%28 = load i64, ptr %15, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp ule i64 %28, %29
br i1 %30, label %.lr.ph, label %91
.lr.ph: ; preds = %25
br label %31
31: ; preds = %.lr.ph, %85
%32 = load ptr, ptr %7, align 8
%33 = load i64, ptr %16, align 8
%34 = getelementptr inbounds float, ptr %32, i64 %33
%35 = load float, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = load i64, ptr %15, align 8
%38 = getelementptr inbounds float, ptr %36, i64 %37
%39 = load float, ptr %38, align 4
%40 = fsub float %35, %39
store float %40, ptr %21, align 4
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %16, align 8
%43 = getelementptr inbounds float, ptr %41, i64 %42
%44 = load float, ptr %43, align 4
%45 = load ptr, ptr %8, align 8
%46 = load i64, ptr %15, align 8
%47 = getelementptr inbounds float, ptr %45, i64 %46
%48 = load float, ptr %47, align 4
%49 = fsub float %44, %48
store float %49, ptr %20, align 4
%50 = load float, ptr %21, align 4
%51 = load float, ptr %20, align 4
%52 = fmul float %50, %51
store float %52, ptr %19, align 4
%53 = load float, ptr %19, align 4
%54 = fcmp une float %53, 0.000000e+00
br i1 %54, label %55, label %71
55: ; preds = %31
%56 = load i64, ptr %14, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %14, align 8
%58 = load i64, ptr %13, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %13, align 8
%60 = load float, ptr %19, align 4
%61 = fpext float %60 to double
%62 = fcmp ogt double %61, 0.000000e+00
br i1 %62, label %63, label %66
63: ; preds = %55
%64 = load i64, ptr %17, align 8
%65 = add nsw i64 %64, 1
store i64 %65, ptr %17, align 8
br label %69
66: ; preds = %55
%67 = load i64, ptr %17, align 8
%68 = add nsw i64 %67, -1
store i64 %68, ptr %17, align 8
br label %69
69: ; preds = %66, %63
%70 = phi i64 [ %65, %63 ], [ %68, %66 ]
br label %84
71: ; preds = %31
%72 = load float, ptr %21, align 4
%73 = fcmp une float %72, 0.000000e+00
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load i64, ptr %14, align 8
%76 = add i64 %75, 1
store i64 %76, ptr %14, align 8
br label %77
77: ; preds = %74, %71
%78 = load float, ptr %20, align 4
%79 = fcmp une float %78, 0.000000e+00
br i1 %79, label %80, label %83
80: ; preds = %77
%81 = load i64, ptr %13, align 8
%82 = add i64 %81, 1
store i64 %82, ptr %13, align 8
br label %83
83: ; preds = %80, %77
br label %84
84: ; preds = %83, %69
br label %85
85: ; preds = %84
%86 = load i64, ptr %15, align 8
%87 = add i64 %86, 1
store i64 %87, ptr %15, align 8
%88 = load i64, ptr %15, align 8
%89 = load i64, ptr %9, align 8
%90 = icmp ule i64 %88, %89
br i1 %90, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %85
br label %91
91: ; preds = %._crit_edge, %25
br label %92
92: ; preds = %91
%93 = load i64, ptr %16, align 8
%94 = add i64 %93, 1
store i64 %94, ptr %16, align 8
%95 = load i64, ptr %16, align 8
%96 = load i64, ptr %9, align 8
%97 = icmp ult i64 %95, %96
br i1 %97, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %92
br label %98
98: ; preds = %._crit_edge3, %6
%99 = load i64, ptr %17, align 8
%100 = sitofp i64 %99 to float
%101 = load i64, ptr %14, align 8
%102 = uitofp i64 %101 to double
%103 = fptrunc double %102 to float
%104 = call float @sqrt(float noundef %103)
%105 = load i64, ptr %13, align 8
%106 = uitofp i64 %105 to double
%107 = fptrunc double %106 to float
%108 = call float @sqrt(float noundef %107)
%109 = fmul float %104, %108
%110 = fdiv float %100, %109
%111 = load ptr, ptr %10, align 8
store float %110, ptr %111, align 4
%112 = load i64, ptr %9, align 8
%113 = uitofp i64 %112 to double
%114 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %113, double 1.000000e+01)
%115 = load i64, ptr %9, align 8
%116 = uitofp i64 %115 to double
%117 = fmul double 9.000000e+00, %116
%118 = load i64, ptr %9, align 8
%119 = uitofp i64 %118 to double
%120 = fsub double %119, 1.000000e+00
%121 = fmul double %117, %120
%122 = fdiv double %114, %121
%123 = fptrunc double %122 to float
store float %123, ptr %18, align 4
%124 = load ptr, ptr %10, align 8
%125 = load float, ptr %124, align 4
%126 = load float, ptr %18, align 4
%127 = call float @sqrt(float noundef %126)
%128 = fdiv float %125, %127
%129 = load ptr, ptr %11, align 8
store float %128, ptr %129, align 4
%130 = load ptr, ptr %11, align 8
%131 = load float, ptr %130, align 4
%132 = call double @fabs(float noundef %131)
%133 = fdiv double %132, 0x3FF6A09E7098EF50
%134 = fptrunc double %133 to float
%135 = call float @erfcc(float noundef %134)
%136 = load ptr, ptr %12, align 8
store float %135, ptr %136, align 4
ret void
}
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare float @erfcc(float noundef) #1
declare double @fabs(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpid2xepnc.c'
source_filename = "/tmp/tmpid2xepnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @speed_nothing()
%3 = call i32 (...) @speed_empty()
%4 = call i32 (...) @speed_bigint_mul128()
%5 = call i32 (...) @speed_bigint_mul136()
%6 = call i32 (...) @speed_bigint_mul256()
%7 = call i32 (...) @speed_salsa20()
%8 = call i32 (...) @speed_poly1305()
%9 = call i32 (...) @speed_sha512()
%10 = call i32 (...) @speed_curve25519()
%11 = call i32 (...) @speed_ed25519()
%12 = call i32 (...) @avr_end()
ret i32 0
}
declare i32 @speed_nothing(...) #1
declare i32 @speed_empty(...) #1
declare i32 @speed_bigint_mul128(...) #1
declare i32 @speed_bigint_mul136(...) #1
declare i32 @speed_bigint_mul256(...) #1
declare i32 @speed_salsa20(...) #1
declare i32 @speed_poly1305(...) #1
declare i32 @speed_sha512(...) #1
declare i32 @speed_curve25519(...) #1
declare i32 @speed_ed25519(...) #1
declare i32 @avr_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpid2xepnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @speed_nothing()
%3 = call i32 (...) @speed_empty()
%4 = call i32 (...) @speed_bigint_mul128()
%5 = call i32 (...) @speed_bigint_mul136()
%6 = call i32 (...) @speed_bigint_mul256()
%7 = call i32 (...) @speed_salsa20()
%8 = call i32 (...) @speed_poly1305()
%9 = call i32 (...) @speed_sha512()
%10 = call i32 (...) @speed_curve25519()
%11 = call i32 (...) @speed_ed25519()
%12 = call i32 (...) @avr_end()
ret i32 0
}
declare i32 @speed_nothing(...) #1
declare i32 @speed_empty(...) #1
declare i32 @speed_bigint_mul128(...) #1
declare i32 @speed_bigint_mul136(...) #1
declare i32 @speed_bigint_mul256(...) #1
declare i32 @speed_salsa20(...) #1
declare i32 @speed_poly1305(...) #1
declare i32 @speed_sha512(...) #1
declare i32 @speed_curve25519(...) #1
declare i32 @speed_ed25519(...) #1
declare i32 @avr_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6xltoox8.c'
source_filename = "/tmp/tmp6xltoox8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"<table border=\221\22 cellpadding=\225\22 cellspacing=\225\22 width=\22100%\22>\0A\00", align 1
@.str.1 = private unnamed_addr constant [123 x i8] c"<tr>\0A<th>Time Discovered</th>\0A<th>MAC Address</th>\0A<th>Device Name</th>\0A<th>Device Class</th>\0A<th>Capabilities</th>\0A</tr>\0A\00", align 1
@.str.2 = private unnamed_addr constant [68 x i8] c"<tr>\0A<th>Time</th>\0A<th>MAC</th>\0A<th>Name</th>\0A<th>Class</th>\0A</tr>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SetupTable(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @puts(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @puts(ptr noundef @.str.1)
br label %10
8: ; preds = %1
%9 = call i32 @puts(ptr noundef @.str.2)
br label %10
10: ; preds = %8, %6
ret void
}
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/tmp6xltoox8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"<table border=\221\22 cellpadding=\225\22 cellspacing=\225\22 width=\22100%\22>\0A\00", align 1
@.str.1 = private unnamed_addr constant [123 x i8] c"<tr>\0A<th>Time Discovered</th>\0A<th>MAC Address</th>\0A<th>Device Name</th>\0A<th>Device Class</th>\0A<th>Capabilities</th>\0A</tr>\0A\00", align 1
@.str.2 = private unnamed_addr constant [68 x i8] c"<tr>\0A<th>Time</th>\0A<th>MAC</th>\0A<th>Name</th>\0A<th>Class</th>\0A</tr>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SetupTable(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @puts(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @puts(ptr noundef @.str.1)
br label %10
8: ; preds = %1
%9 = call i32 @puts(ptr noundef @.str.2)
br label %10
10: ; preds = %8, %6
ret void
}
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/tmpz0qlmb2a.c'
source_filename = "/tmp/tmpz0qlmb2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @zword(i32 noundef %3)
ret i32 %4
}
declare i32 @zword(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/tmpz0qlmb2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @zword(i32 noundef %3)
ret i32 %4
}
declare i32 @zword(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/tmp3cnz64kg.c'
source_filename = "/tmp/tmp3cnz64kg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TtlSetEnable() #0 {
br label %1
1: ; preds = %0
br label %2
2: ; preds = %1
%3 = call i32 (...) @Ttl_TPM_PhysicalEnable()
ret i32 %3
}
declare i32 @Ttl_TPM_PhysicalEnable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3cnz64kg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TtlSetEnable() #0 {
br label %1
1: ; preds = %0
br label %2
2: ; preds = %1
%3 = call i32 (...) @Ttl_TPM_PhysicalEnable()
ret i32 %3
}
declare i32 @Ttl_TPM_PhysicalEnable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3aie8b_7.c'
source_filename = "/tmp/tmp3aie8b_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp2_940_tester(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @do_error(ptr noundef %8)
br label %10
10: ; preds = %10, %7
br label %10
11: ; preds = %2
ret void
}
declare i32 @do_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3aie8b_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp2_940_tester(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @do_error(ptr noundef %8)
br label %10
10: ; preds = %10, %7
br label %10
11: ; preds = %2
ret void
}
declare i32 @do_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy6659qgr.c'
source_filename = "/tmp/tmpy6659qgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @path_new_from_string(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @path_cstr_is_valid(ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = load i32, ptr @EINVAL, align 4
store i32 %11, ptr %3, align 4
br label %34
12: ; preds = %2
%13 = call ptr (...) @path_new()
%14 = load ptr, ptr %4, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %15, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr @ENOMEM, align 4
store i32 %19, ptr %3, align 4
br label %34
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = call i32 @path_set_from_string(ptr noundef %22, ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %28, align 8
%30 = call i32 @path_delete(ptr noundef %29)
%31 = load ptr, ptr %4, align 8
store ptr null, ptr %31, align 8
br label %32
32: ; preds = %27, %20
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %18, %10
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @path_cstr_is_valid(ptr noundef) #1
declare ptr @path_new(...) #1
declare i32 @path_set_from_string(ptr noundef, ptr noundef) #1
declare i32 @path_delete(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy6659qgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @path_new_from_string(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @path_cstr_is_valid(ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = load i32, ptr @EINVAL, align 4
store i32 %11, ptr %3, align 4
br label %34
12: ; preds = %2
%13 = call ptr (...) @path_new()
%14 = load ptr, ptr %4, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %15, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr @ENOMEM, align 4
store i32 %19, ptr %3, align 4
br label %34
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = call i32 @path_set_from_string(ptr noundef %22, ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %28, align 8
%30 = call i32 @path_delete(ptr noundef %29)
%31 = load ptr, ptr %4, align 8
store ptr null, ptr %31, align 8
br label %32
32: ; preds = %27, %20
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %18, %10
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @path_cstr_is_valid(ptr noundef) #1
declare ptr @path_new(...) #1
declare i32 @path_set_from_string(ptr noundef, ptr noundef) #1
declare i32 @path_delete(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0p18dmbd.c'
source_filename = "/tmp/tmp0p18dmbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"The sum of %d and %d is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 6, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %5, %6
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr 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/tmp0p18dmbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"The sum of %d and %d is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 6, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %5, %6
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr 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/tmpjdmya4ig.c'
source_filename = "/tmp/tmpjdmya4ig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hmac_sha512_str(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [64 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i64 @strlen(ptr noundef %13)
%15 = trunc i64 %14 to i32
%16 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @hmac_sha512(ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %15, ptr noundef %16, i32 noundef 64)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @init_hexbytes_noT(ptr noundef %18, ptr noundef %19, i64 noundef 64)
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare i32 @hmac_sha512(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @init_hexbytes_noT(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdmya4ig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hmac_sha512_str(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [64 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i64 @strlen(ptr noundef %13)
%15 = trunc i64 %14 to i32
%16 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @hmac_sha512(ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %15, ptr noundef %16, i32 noundef 64)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @init_hexbytes_noT(ptr noundef %18, ptr noundef %19, i64 noundef 64)
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare i32 @hmac_sha512(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @init_hexbytes_noT(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjxr4ko6e.c'
source_filename = "/tmp/tmpjxr4ko6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isprint should be 1 for y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x79() #0 {
%1 = call i32 @isprint(i32 noundef 121) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 610, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isprint(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxr4ko6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isprint should be 1 for y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x79() #0 {
%1 = call i32 @isprint(i32 noundef 121) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 610, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isprint(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbu8uayo7.c'
source_filename = "/tmp/tmpbu8uayo7.c"
target datalayout = "e-m:e-p270: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/tmpbu8uayo7.c"
target datalayout = "e-m:e-p270: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/tmp1mwbuze1.c'
source_filename = "/tmp/tmp1mwbuze1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sleep(i32 noundef 2000000)
%4 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @sleep(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1mwbuze1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sleep(i32 noundef 2000000)
%4 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @sleep(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"}
|
; ModuleID = '/tmp/tmpnqlcyd3f.c'
source_filename = "/tmp/tmpnqlcyd3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c", GCC %d.%d.%d\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 (...) @os_info()
%7 = call i32 @printf(ptr noundef @.str, i32 noundef 9, i32 noundef 4, i32 noundef 0)
ret i32 0
}
declare i32 @os_info(...) #1
declare i32 @printf(ptr 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/tmpnqlcyd3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c", GCC %d.%d.%d\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 (...) @os_info()
%7 = call i32 @printf(ptr noundef @.str, i32 noundef 9, i32 noundef 4, i32 noundef 0)
ret i32 0
}
declare i32 @os_info(...) #1
declare i32 @printf(ptr 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/tmppirjqsym.c'
source_filename = "/tmp/tmppirjqsym.c"
target datalayout = "e-m:e-p270: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/tmppirjqsym.c"
target datalayout = "e-m:e-p270: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/tmpiyh1whu1.c'
source_filename = "/tmp/tmpiyh1whu1.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiyh1whu1.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp40_tqrst.c'
source_filename = "/tmp/tmp40_tqrst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @part(ptr noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %7, align 4
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %21
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %19, 1
call void @qsort(ptr noundef %17, i32 noundef %18, i32 noundef %20)
br label %21
21: ; preds = %16, %3
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
call void @qsort(ptr noundef %26, i32 noundef %27, i32 noundef %28)
br label %29
29: ; preds = %25, %21
ret void
}
declare i32 @part(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40_tqrst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @part(ptr noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %7, align 4
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %21
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %19, 1
call void @qsort(ptr noundef %17, i32 noundef %18, i32 noundef %20)
br label %21
21: ; preds = %16, %3
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
call void @qsort(ptr noundef %26, i32 noundef %27, i32 noundef %28)
br label %29
29: ; preds = %25, %21
ret void
}
declare i32 @part(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg99hxce3.c'
source_filename = "/tmp/tmpg99hxce3.c"
target datalayout = "e-m:e-p270: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/tmpg99hxce3.c"
target datalayout = "e-m:e-p270: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/tmpxji0dref.c'
source_filename = "/tmp/tmpxji0dref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"%10.6f%10.6f%10.6f%10.4f%10.4f%10.4f%10.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printT(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 = getelementptr inbounds float, ptr %5, i64 0
%7 = load float, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds float, ptr %8, i64 1
%10 = load float, ptr %9, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds float, ptr %11, i64 2
%13 = load float, ptr %12, align 4
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds float, ptr %14, i64 3
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds float, ptr %17, i64 4
%19 = load float, ptr %18, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds float, ptr %20, i64 5
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds float, ptr %23, i64 0
%25 = load float, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str, float noundef %7, float noundef %10, float noundef %13, float noundef %16, float noundef %19, float noundef %22, float noundef %25)
ret void
}
declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxji0dref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"%10.6f%10.6f%10.6f%10.4f%10.4f%10.4f%10.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printT(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 = getelementptr inbounds float, ptr %5, i64 0
%7 = load float, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds float, ptr %8, i64 1
%10 = load float, ptr %9, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds float, ptr %11, i64 2
%13 = load float, ptr %12, align 4
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds float, ptr %14, i64 3
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds float, ptr %17, i64 4
%19 = load float, ptr %18, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds float, ptr %20, i64 5
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds float, ptr %23, i64 0
%25 = load float, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str, float noundef %7, float noundef %10, float noundef %13, float noundef %16, float noundef %19, float noundef %22, float noundef %25)
ret void
}
declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuvubkipo.c'
source_filename = "/tmp/tmpuvubkipo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expect_pointer_sum(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 ptr %3(ptr noundef null, i32 noundef 57005)
%5 = icmp eq ptr %4, inttoptr (i64 57005 to ptr)
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuvubkipo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expect_pointer_sum(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 ptr %3(ptr noundef null, i32 noundef 57005)
%5 = icmp eq ptr %4, inttoptr (i64 57005 to ptr)
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd370tybi.c'
source_filename = "/tmp/tmpd370tybi.c"
target datalayout = "e-m:e-p270: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/tmpd370tybi.c"
target datalayout = "e-m:e-p270: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/tmp4u1_8tsh.c'
source_filename = "/tmp/tmp4u1_8tsh.c"
target datalayout = "e-m:e-p270: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 @throw(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 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4u1_8tsh.c"
target datalayout = "e-m:e-p270: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 @throw(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 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3zwl50ki.c'
source_filename = "/tmp/tmp3zwl50ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_mvhline(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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load i32, ptr %3, align 4
%10 = call i32 @check_arg_count(i32 noundef %9, i32 noundef 4)
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
br label %53
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i64 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %5)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = call i32 @report_count(i32 noundef 1)
%21 = call i32 @report_error(ptr noundef @.str.1)
br label %53
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @sscanf(ptr noundef %25, ptr noundef @.str, ptr noundef %6)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = call i32 @report_count(i32 noundef 1)
%30 = call i32 @report_error(ptr noundef @.str.1)
br label %53
31: ; preds = %22
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i64 @sscanf(ptr noundef %37, ptr noundef @.str, ptr noundef %7)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %31
%41 = call i32 @report_count(i32 noundef 1)
%42 = call i32 @report_error(ptr noundef @.str.1)
br label %53
43: ; preds = %31
%44 = call i32 @report_count(i32 noundef 1)
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %6, align 4
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 0
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %7, align 4
%51 = call i32 @mvhline(i32 noundef %45, i32 noundef %46, i32 noundef %49, i32 noundef %50)
%52 = call i32 @report_return(i32 noundef %51)
br label %53
53: ; preds = %43, %40, %28, %19, %12
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @mvhline(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/tmp3zwl50ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_mvhline(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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load i32, ptr %3, align 4
%10 = call i32 @check_arg_count(i32 noundef %9, i32 noundef 4)
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
br label %53
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i64 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %5)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = call i32 @report_count(i32 noundef 1)
%21 = call i32 @report_error(ptr noundef @.str.1)
br label %53
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @sscanf(ptr noundef %25, ptr noundef @.str, ptr noundef %6)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = call i32 @report_count(i32 noundef 1)
%30 = call i32 @report_error(ptr noundef @.str.1)
br label %53
31: ; preds = %22
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i64 @sscanf(ptr noundef %37, ptr noundef @.str, ptr noundef %7)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %31
%41 = call i32 @report_count(i32 noundef 1)
%42 = call i32 @report_error(ptr noundef @.str.1)
br label %53
43: ; preds = %31
%44 = call i32 @report_count(i32 noundef 1)
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %6, align 4
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 0
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %7, align 4
%51 = call i32 @mvhline(i32 noundef %45, i32 noundef %46, i32 noundef %49, i32 noundef %50)
%52 = call i32 @report_return(i32 noundef %51)
br label %53
53: ; preds = %43, %40, %28, %19, %12
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @mvhline(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/tmp2x3ew2pz.c'
source_filename = "/tmp/tmp2x3ew2pz.c"
target datalayout = "e-m:e-p270: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/tmp2x3ew2pz.c"
target datalayout = "e-m:e-p270: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/tmpncm6mpzt.c'
source_filename = "/tmp/tmpncm6mpzt.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plexlog_posix_errno_set(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store i32 %3, ptr @errno, 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/tmpncm6mpzt.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plexlog_posix_errno_set(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store i32 %3, ptr @errno, 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/tmp2_z2qltc.c'
source_filename = "/tmp/tmp2_z2qltc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Parser gives %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(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 @error(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @error(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/tmp2_z2qltc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Parser gives %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(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 @error(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @error(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/tmpllk_9s1d.c'
source_filename = "/tmp/tmpllk_9s1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Entrez une expression r\C3\A9guli\C3\A8re : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @yyparse()
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
declare i32 @yyparse(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllk_9s1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Entrez une expression r\C3\A9guli\C3\A8re : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @yyparse()
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
declare i32 @yyparse(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplkp30ifq.c'
source_filename = "/tmp/tmplkp30ifq.c"
target datalayout = "e-m:e-p270: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/tmplkp30ifq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.