llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpsu7t8t8s.c'
source_filename = "/tmp/tmpsu7t8t8s.c"
target datalayout = "e-m:e-p270: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/tmpsu7t8t8s.c"
target datalayout = "e-m:e-p270: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/tmpub6v748w.c'
source_filename = "/tmp/tmpub6v748w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.val = private unnamed_addr constant [8 x float] [float 0x3FB99999A0000000, float 0x3FC99999A0000000, float 5.000000e-01, float -5.000000e-01, float 0x3FE3333340000000, float 0x3FF3333340000000, float 0x3FFCCCCCC0000000, float 0xBFE99999A0000000], align 16
@.str = private unnamed_addr constant [9 x i8] c"test.dat\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [8 x float], align 16
%8 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.val, i64 32, i1 false)
%9 = load i32, ptr @O_WRONLY, align 4
%10 = load i32, ptr @O_CREAT, align 4
%11 = or i32 %9, %10
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %23, %2
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %16, label %26
16: ; preds = %13
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [8 x float], ptr %7, i64 0, i64 %19
%21 = load float, ptr %20, align 4
%22 = call i32 @ConvertWriteFloat(i32 noundef %17, float noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
%27 = load i32, ptr %8, align 4
%28 = call i32 @close(i32 noundef %27)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @ConvertWriteFloat(i32 noundef, float noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpub6v748w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.val = private unnamed_addr constant [8 x float] [float 0x3FB99999A0000000, float 0x3FC99999A0000000, float 5.000000e-01, float -5.000000e-01, float 0x3FE3333340000000, float 0x3FF3333340000000, float 0x3FFCCCCCC0000000, float 0xBFE99999A0000000], align 16
@.str = private unnamed_addr constant [9 x i8] c"test.dat\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [8 x float], align 16
%8 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.val, i64 32, i1 false)
%9 = load i32, ptr @O_WRONLY, align 4
%10 = load i32, ptr @O_CREAT, align 4
%11 = or i32 %9, %10
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %8, align 4
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 8
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %22
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [8 x float], ptr %7, i64 0, i64 %18
%20 = load float, ptr %19, align 4
%21 = call i32 @ConvertWriteFloat(i32 noundef %16, float noundef %20)
br label %22
22: ; preds = %15
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %25, 8
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i32, ptr %8, align 4
%29 = call i32 @close(i32 noundef %28)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @ConvertWriteFloat(i32 noundef, float noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_bfxtfjv.c'
source_filename = "/tmp/tmp_bfxtfjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"Sum = %ld\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 i64, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i64 @add1(i32 noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @add1(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bfxtfjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"Sum = %ld\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 i64, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i64 @add1(i32 noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @add1(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpowje7nat.c'
source_filename = "/tmp/tmpowje7nat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gs_replace_r(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store ptr null, ptr %4, align 8
br label %49
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i64 @gs_nstr(ptr noundef %14, ptr noundef %15)
store i64 %16, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
store ptr %20, ptr %4, align 8
br label %49
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = load i64, ptr %9, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i64 @strlen(ptr noundef %25)
%27 = mul i64 %24, %26
%28 = sub i64 %23, %27
%29 = load i64, ptr %9, align 8
%30 = load ptr, ptr %7, align 8
%31 = call i64 @strlen(ptr noundef %30)
%32 = mul i64 %29, %31
%33 = add i64 %28, %32
%34 = add i64 %33, 1
store i64 %34, ptr %9, align 8
%35 = load ptr, ptr %5, align 8
store ptr %35, ptr %8, align 8
%36 = load i64, ptr %9, align 8
%37 = call i64 @realloc(ptr noundef %35, i64 noundef %36)
%38 = inttoptr i64 %37 to ptr
store ptr %38, ptr %5, align 8
%39 = load ptr, ptr %5, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %44, label %41
41: ; preds = %21
%42 = load ptr, ptr %8, align 8
%43 = call i32 @free(ptr noundef %42)
store ptr null, ptr %4, align 8
br label %49
44: ; preds = %21
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %7, align 8
%48 = call ptr @gs_replace(ptr noundef %45, ptr noundef %46, ptr noundef %47)
store ptr %48, ptr %4, align 8
br label %49
49: ; preds = %44, %41, %19, %12
%50 = load ptr, ptr %4, align 8
ret ptr %50
}
declare i64 @gs_nstr(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @gs_replace(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/tmpowje7nat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gs_replace_r(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store ptr null, ptr %4, align 8
br label %49
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i64 @gs_nstr(ptr noundef %14, ptr noundef %15)
store i64 %16, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
store ptr %20, ptr %4, align 8
br label %49
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = load i64, ptr %9, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i64 @strlen(ptr noundef %25)
%27 = mul i64 %24, %26
%28 = sub i64 %23, %27
%29 = load i64, ptr %9, align 8
%30 = load ptr, ptr %7, align 8
%31 = call i64 @strlen(ptr noundef %30)
%32 = mul i64 %29, %31
%33 = add i64 %28, %32
%34 = add i64 %33, 1
store i64 %34, ptr %9, align 8
%35 = load ptr, ptr %5, align 8
store ptr %35, ptr %8, align 8
%36 = load i64, ptr %9, align 8
%37 = call i64 @realloc(ptr noundef %35, i64 noundef %36)
%38 = inttoptr i64 %37 to ptr
store ptr %38, ptr %5, align 8
%39 = load ptr, ptr %5, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %44, label %41
41: ; preds = %21
%42 = load ptr, ptr %8, align 8
%43 = call i32 @free(ptr noundef %42)
store ptr null, ptr %4, align 8
br label %49
44: ; preds = %21
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %7, align 8
%48 = call ptr @gs_replace(ptr noundef %45, ptr noundef %46, ptr noundef %47)
store ptr %48, ptr %4, align 8
br label %49
49: ; preds = %44, %41, %19, %12
%50 = load ptr, ptr %4, align 8
ret ptr %50
}
declare i64 @gs_nstr(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @gs_replace(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/tmpa272ot7c.c'
source_filename = "/tmp/tmpa272ot7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"SIGNAL: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stdout, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4)
ret void
}
declare i32 @fprintf(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/tmpa272ot7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"SIGNAL: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stdout, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4)
ret void
}
declare i32 @fprintf(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/tmpsrxkdj63.c'
source_filename = "/tmp/tmpsrxkdj63.c"
target datalayout = "e-m:e-p270: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/tmpsrxkdj63.c"
target datalayout = "e-m:e-p270: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/tmprmv4o_9q.c'
source_filename = "/tmp/tmprmv4o_9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetSinWavGenInt() #0 {
%1 = call i32 @RamWrite32A(i32 noundef 820, i32 noundef 0)
%2 = call i32 @RamWrite32A(i32 noundef 824, i32 noundef 0)
%3 = call i32 @RamWrite32A(i32 noundef 828, i32 noundef 0)
%4 = call i32 @RamWrite32A(i32 noundef 840, i32 noundef 0)
%5 = call i32 @RamWrite32A(i32 noundef 844, i32 noundef 536870912)
%6 = call i32 @RamWrite32A(i32 noundef 848, i32 noundef 0)
%7 = call i32 @RamWrite32A(i32 noundef 812, i32 noundef 0)
ret void
}
declare i32 @RamWrite32A(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/tmprmv4o_9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetSinWavGenInt() #0 {
%1 = call i32 @RamWrite32A(i32 noundef 820, i32 noundef 0)
%2 = call i32 @RamWrite32A(i32 noundef 824, i32 noundef 0)
%3 = call i32 @RamWrite32A(i32 noundef 828, i32 noundef 0)
%4 = call i32 @RamWrite32A(i32 noundef 840, i32 noundef 0)
%5 = call i32 @RamWrite32A(i32 noundef 844, i32 noundef 536870912)
%6 = call i32 @RamWrite32A(i32 noundef 848, i32 noundef 0)
%7 = call i32 @RamWrite32A(i32 noundef 812, i32 noundef 0)
ret void
}
declare i32 @RamWrite32A(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/tmp0ytdr0qn.c'
source_filename = "/tmp/tmp0ytdr0qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closest_smaller_2exp(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 @log(i32 noundef %3)
%5 = call i32 @log(i32 noundef 2)
%6 = sdiv i32 %4, %5
%7 = call i32 @trunc(i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @exp2(i32 noundef %8)
ret i32 %9
}
declare i32 @trunc(i32 noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @exp2(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/tmp0ytdr0qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closest_smaller_2exp(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 @log(i32 noundef %3)
%5 = call i32 @log(i32 noundef 2)
%6 = sdiv i32 %4, %5
%7 = call i32 @trunc(i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @exp2(i32 noundef %8)
ret i32 %9
}
declare i32 @trunc(i32 noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @exp2(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/tmptl3w2wc5.c'
source_filename = "/tmp/tmptl3w2wc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_vector(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = getelementptr inbounds float, ptr %7, i64 %8
%10 = getelementptr inbounds float, ptr %9, i64 -1
%11 = call i32 @free(ptr noundef %10)
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/tmptl3w2wc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_vector(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = getelementptr inbounds float, ptr %7, i64 %8
%10 = getelementptr inbounds float, ptr %9, i64 -1
%11 = call i32 @free(ptr noundef %10)
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/tmpcl6v_ehf.c'
source_filename = "/tmp/tmpcl6v_ehf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHRT_MIN = dso_local global i32 0, align 4
@SHRT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi4i2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i16 noundef signext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i16, align 2
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i16 %6, ptr %18, align 2
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %127
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %81
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %81
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %77, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %80
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr @SHRT_MIN, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %38
%46 = load ptr, ptr %22, align 8
store i32 -11, ptr %46, align 4
%47 = load i32, ptr @SHRT_MIN, align 4
%48 = trunc i32 %47 to i16
%49 = load ptr, ptr %21, align 8
%50 = load i64, ptr %23, align 8
%51 = getelementptr inbounds i16, ptr %49, i64 %50
store i16 %48, ptr %51, align 2
br label %76
52: ; preds = %38
%53 = load ptr, ptr %12, align 8
%54 = load i64, ptr %23, align 8
%55 = getelementptr inbounds i32, ptr %53, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr @SHRT_MAX, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %66
59: ; preds = %52
%60 = load ptr, ptr %22, align 8
store i32 -11, ptr %60, align 4
%61 = load i32, ptr @SHRT_MAX, align 4
%62 = trunc i32 %61 to i16
%63 = load ptr, ptr %21, align 8
%64 = load i64, ptr %23, align 8
%65 = getelementptr inbounds i16, ptr %63, i64 %64
store i16 %62, ptr %65, align 2
br label %75
66: ; preds = %52
%67 = load ptr, ptr %12, align 8
%68 = load i64, ptr %23, align 8
%69 = getelementptr inbounds i32, ptr %67, i64 %68
%70 = load i32, ptr %69, align 4
%71 = trunc i32 %70 to i16
%72 = load ptr, ptr %21, align 8
%73 = load i64, ptr %23, align 8
%74 = getelementptr inbounds i16, ptr %72, i64 %73
store i16 %71, ptr %74, align 2
br label %75
75: ; preds = %66, %59
br label %76
76: ; preds = %75, %45
br label %77
77: ; preds = %76
%78 = load i64, ptr %23, align 8
%79 = add nsw i64 %78, 1
store i64 %79, ptr %23, align 8
br label %34, !llvm.loop !6
80: ; preds = %34
br label %126
81: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %82
82: ; preds = %122, %81
%83 = load i64, ptr %23, align 8
%84 = load i64, ptr %13, align 8
%85 = icmp slt i64 %83, %84
br i1 %85, label %86, label %125
86: ; preds = %82
%87 = load ptr, ptr %12, align 8
%88 = load i64, ptr %23, align 8
%89 = getelementptr inbounds i32, ptr %87, i64 %88
%90 = load i32, ptr %89, align 4
%91 = sitofp i32 %90 to double
%92 = load double, ptr %14, align 8
%93 = load double, ptr %15, align 8
%94 = call double @llvm.fmuladd.f64(double %91, double %92, double %93)
store double %94, ptr %24, align 8
%95 = load double, ptr %24, align 8
%96 = fcmp olt double %95, 0xC0E0000FAE147AE1
br i1 %96, label %97, label %104
97: ; preds = %86
%98 = load ptr, ptr %22, align 8
store i32 -11, ptr %98, align 4
%99 = load i32, ptr @SHRT_MIN, align 4
%100 = trunc i32 %99 to i16
%101 = load ptr, ptr %21, align 8
%102 = load i64, ptr %23, align 8
%103 = getelementptr inbounds i16, ptr %101, i64 %102
store i16 %100, ptr %103, align 2
br label %121
104: ; preds = %86
%105 = load double, ptr %24, align 8
%106 = fcmp ogt double %105, 0x40DFFFDF5C28F5C3
br i1 %106, label %107, label %114
107: ; preds = %104
%108 = load ptr, ptr %22, align 8
store i32 -11, ptr %108, align 4
%109 = load i32, ptr @SHRT_MAX, align 4
%110 = trunc i32 %109 to i16
%111 = load ptr, ptr %21, align 8
%112 = load i64, ptr %23, align 8
%113 = getelementptr inbounds i16, ptr %111, i64 %112
store i16 %110, ptr %113, align 2
br label %120
114: ; preds = %104
%115 = load double, ptr %24, align 8
%116 = fptosi double %115 to i16
%117 = load ptr, ptr %21, align 8
%118 = load i64, ptr %23, align 8
%119 = getelementptr inbounds i16, ptr %117, i64 %118
store i16 %116, ptr %119, align 2
br label %120
120: ; preds = %114, %107
br label %121
121: ; preds = %120, %97
br label %122
122: ; preds = %121
%123 = load i64, ptr %23, align 8
%124 = add nsw i64 %123, 1
store i64 %124, ptr %23, align 8
br label %82, !llvm.loop !8
125: ; preds = %82
br label %126
126: ; preds = %125, %80
br label %271
127: ; preds = %11
%128 = load double, ptr %14, align 8
%129 = fcmp oeq double %128, 1.000000e+00
br i1 %129, label %130, label %203
130: ; preds = %127
%131 = load double, ptr %15, align 8
%132 = fcmp oeq double %131, 0.000000e+00
br i1 %132, label %133, label %203
133: ; preds = %130
store i64 0, ptr %23, align 8
br label %134
134: ; preds = %199, %133
%135 = load i64, ptr %23, align 8
%136 = load i64, ptr %13, align 8
%137 = icmp slt i64 %135, %136
br i1 %137, label %138, label %202
138: ; preds = %134
%139 = load ptr, ptr %12, align 8
%140 = load i64, ptr %23, align 8
%141 = getelementptr inbounds i32, ptr %139, i64 %140
%142 = load i32, ptr %141, align 4
%143 = load i32, ptr %17, align 4
%144 = icmp eq i32 %142, %143
br i1 %144, label %145, label %159
145: ; preds = %138
%146 = load ptr, ptr %20, align 8
store i32 1, ptr %146, align 4
%147 = load i32, ptr %16, align 4
%148 = icmp eq i32 %147, 1
br i1 %148, label %149, label %154
149: ; preds = %145
%150 = load i16, ptr %18, align 2
%151 = load ptr, ptr %21, align 8
%152 = load i64, ptr %23, align 8
%153 = getelementptr inbounds i16, ptr %151, i64 %152
store i16 %150, ptr %153, align 2
br label %158
154: ; preds = %145
%155 = load ptr, ptr %19, align 8
%156 = load i64, ptr %23, align 8
%157 = getelementptr inbounds i8, ptr %155, i64 %156
store i8 1, ptr %157, align 1
br label %158
158: ; preds = %154, %149
br label %198
159: ; preds = %138
%160 = load ptr, ptr %12, align 8
%161 = load i64, ptr %23, align 8
%162 = getelementptr inbounds i32, ptr %160, i64 %161
%163 = load i32, ptr %162, align 4
%164 = load i32, ptr @SHRT_MIN, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %166, label %173
166: ; preds = %159
%167 = load ptr, ptr %22, align 8
store i32 -11, ptr %167, align 4
%168 = load i32, ptr @SHRT_MIN, align 4
%169 = trunc i32 %168 to i16
%170 = load ptr, ptr %21, align 8
%171 = load i64, ptr %23, align 8
%172 = getelementptr inbounds i16, ptr %170, i64 %171
store i16 %169, ptr %172, align 2
br label %197
173: ; preds = %159
%174 = load ptr, ptr %12, align 8
%175 = load i64, ptr %23, align 8
%176 = getelementptr inbounds i32, ptr %174, i64 %175
%177 = load i32, ptr %176, align 4
%178 = load i32, ptr @SHRT_MAX, align 4
%179 = icmp sgt i32 %177, %178
br i1 %179, label %180, label %187
180: ; preds = %173
%181 = load ptr, ptr %22, align 8
store i32 -11, ptr %181, align 4
%182 = load i32, ptr @SHRT_MAX, align 4
%183 = trunc i32 %182 to i16
%184 = load ptr, ptr %21, align 8
%185 = load i64, ptr %23, align 8
%186 = getelementptr inbounds i16, ptr %184, i64 %185
store i16 %183, ptr %186, align 2
br label %196
187: ; preds = %173
%188 = load ptr, ptr %12, align 8
%189 = load i64, ptr %23, align 8
%190 = getelementptr inbounds i32, ptr %188, i64 %189
%191 = load i32, ptr %190, align 4
%192 = trunc i32 %191 to i16
%193 = load ptr, ptr %21, align 8
%194 = load i64, ptr %23, align 8
%195 = getelementptr inbounds i16, ptr %193, i64 %194
store i16 %192, ptr %195, align 2
br label %196
196: ; preds = %187, %180
br label %197
197: ; preds = %196, %166
br label %198
198: ; preds = %197, %158
br label %199
199: ; preds = %198
%200 = load i64, ptr %23, align 8
%201 = add nsw i64 %200, 1
store i64 %201, ptr %23, align 8
br label %134, !llvm.loop !9
202: ; preds = %134
br label %270
203: ; preds = %130, %127
store i64 0, ptr %23, align 8
br label %204
204: ; preds = %266, %203
%205 = load i64, ptr %23, align 8
%206 = load i64, ptr %13, align 8
%207 = icmp slt i64 %205, %206
br i1 %207, label %208, label %269
208: ; preds = %204
%209 = load ptr, ptr %12, align 8
%210 = load i64, ptr %23, align 8
%211 = getelementptr inbounds i32, ptr %209, i64 %210
%212 = load i32, ptr %211, align 4
%213 = load i32, ptr %17, align 4
%214 = icmp eq i32 %212, %213
br i1 %214, label %215, label %229
215: ; preds = %208
%216 = load ptr, ptr %20, align 8
store i32 1, ptr %216, align 4
%217 = load i32, ptr %16, align 4
%218 = icmp eq i32 %217, 1
br i1 %218, label %219, label %224
219: ; preds = %215
%220 = load i16, ptr %18, align 2
%221 = load ptr, ptr %21, align 8
%222 = load i64, ptr %23, align 8
%223 = getelementptr inbounds i16, ptr %221, i64 %222
store i16 %220, ptr %223, align 2
br label %228
224: ; preds = %215
%225 = load ptr, ptr %19, align 8
%226 = load i64, ptr %23, align 8
%227 = getelementptr inbounds i8, ptr %225, i64 %226
store i8 1, ptr %227, align 1
br label %228
228: ; preds = %224, %219
br label %265
229: ; preds = %208
%230 = load ptr, ptr %12, align 8
%231 = load i64, ptr %23, align 8
%232 = getelementptr inbounds i32, ptr %230, i64 %231
%233 = load i32, ptr %232, align 4
%234 = sitofp i32 %233 to double
%235 = load double, ptr %14, align 8
%236 = load double, ptr %15, align 8
%237 = call double @llvm.fmuladd.f64(double %234, double %235, double %236)
store double %237, ptr %24, align 8
%238 = load double, ptr %24, align 8
%239 = fcmp olt double %238, 0xC0E0000FAE147AE1
br i1 %239, label %240, label %247
240: ; preds = %229
%241 = load ptr, ptr %22, align 8
store i32 -11, ptr %241, align 4
%242 = load i32, ptr @SHRT_MIN, align 4
%243 = trunc i32 %242 to i16
%244 = load ptr, ptr %21, align 8
%245 = load i64, ptr %23, align 8
%246 = getelementptr inbounds i16, ptr %244, i64 %245
store i16 %243, ptr %246, align 2
br label %264
247: ; preds = %229
%248 = load double, ptr %24, align 8
%249 = fcmp ogt double %248, 0x40DFFFDF5C28F5C3
br i1 %249, label %250, label %257
250: ; preds = %247
%251 = load ptr, ptr %22, align 8
store i32 -11, ptr %251, align 4
%252 = load i32, ptr @SHRT_MAX, align 4
%253 = trunc i32 %252 to i16
%254 = load ptr, ptr %21, align 8
%255 = load i64, ptr %23, align 8
%256 = getelementptr inbounds i16, ptr %254, i64 %255
store i16 %253, ptr %256, align 2
br label %263
257: ; preds = %247
%258 = load double, ptr %24, align 8
%259 = fptosi double %258 to i16
%260 = load ptr, ptr %21, align 8
%261 = load i64, ptr %23, align 8
%262 = getelementptr inbounds i16, ptr %260, i64 %261
store i16 %259, ptr %262, align 2
br label %263
263: ; preds = %257, %250
br label %264
264: ; preds = %263, %240
br label %265
265: ; preds = %264, %228
br label %266
266: ; preds = %265
%267 = load i64, ptr %23, align 8
%268 = add nsw i64 %267, 1
store i64 %268, ptr %23, align 8
br label %204, !llvm.loop !10
269: ; preds = %204
br label %270
270: ; preds = %269, %202
br label %271
271: ; preds = %270, %126
%272 = load ptr, ptr %22, align 8
%273 = load i32, ptr %272, align 4
ret i32 %273
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpcl6v_ehf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHRT_MIN = dso_local global i32 0, align 4
@SHRT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi4i2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i16 noundef signext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i16, align 2
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i16 %6, ptr %18, align 2
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %131
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %83
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %83
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %82
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %76
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i32, ptr %38, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr @SHRT_MIN, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %51
44: ; preds = %37
%45 = load ptr, ptr %22, align 8
store i32 -11, ptr %45, align 4
%46 = load i32, ptr @SHRT_MIN, align 4
%47 = trunc i32 %46 to i16
%48 = load ptr, ptr %21, align 8
%49 = load i64, ptr %23, align 8
%50 = getelementptr inbounds i16, ptr %48, i64 %49
store i16 %47, ptr %50, align 2
br label %75
51: ; preds = %37
%52 = load ptr, ptr %12, align 8
%53 = load i64, ptr %23, align 8
%54 = getelementptr inbounds i32, ptr %52, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr @SHRT_MAX, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %65
58: ; preds = %51
%59 = load ptr, ptr %22, align 8
store i32 -11, ptr %59, align 4
%60 = load i32, ptr @SHRT_MAX, align 4
%61 = trunc i32 %60 to i16
%62 = load ptr, ptr %21, align 8
%63 = load i64, ptr %23, align 8
%64 = getelementptr inbounds i16, ptr %62, i64 %63
store i16 %61, ptr %64, align 2
br label %74
65: ; preds = %51
%66 = load ptr, ptr %12, align 8
%67 = load i64, ptr %23, align 8
%68 = getelementptr inbounds i32, ptr %66, i64 %67
%69 = load i32, ptr %68, align 4
%70 = trunc i32 %69 to i16
%71 = load ptr, ptr %21, align 8
%72 = load i64, ptr %23, align 8
%73 = getelementptr inbounds i16, ptr %71, i64 %72
store i16 %70, ptr %73, align 2
br label %74
74: ; preds = %65, %58
br label %75
75: ; preds = %74, %44
br label %76
76: ; preds = %75
%77 = load i64, ptr %23, align 8
%78 = add nsw i64 %77, 1
store i64 %78, ptr %23, align 8
%79 = load i64, ptr %23, align 8
%80 = load i64, ptr %13, align 8
%81 = icmp slt i64 %79, %80
br i1 %81, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %76
br label %82
82: ; preds = %._crit_edge9, %33
br label %130
83: ; preds = %30, %27
store i64 0, ptr %23, align 8
%84 = load i64, ptr %23, align 8
%85 = load i64, ptr %13, align 8
%86 = icmp slt i64 %84, %85
br i1 %86, label %.lr.ph5, label %129
.lr.ph5: ; preds = %83
br label %87
87: ; preds = %.lr.ph5, %123
%88 = load ptr, ptr %12, align 8
%89 = load i64, ptr %23, align 8
%90 = getelementptr inbounds i32, ptr %88, i64 %89
%91 = load i32, ptr %90, align 4
%92 = sitofp i32 %91 to double
%93 = load double, ptr %14, align 8
%94 = load double, ptr %15, align 8
%95 = call double @llvm.fmuladd.f64(double %92, double %93, double %94)
store double %95, ptr %24, align 8
%96 = load double, ptr %24, align 8
%97 = fcmp olt double %96, 0xC0E0000FAE147AE1
br i1 %97, label %98, label %105
98: ; preds = %87
%99 = load ptr, ptr %22, align 8
store i32 -11, ptr %99, align 4
%100 = load i32, ptr @SHRT_MIN, align 4
%101 = trunc i32 %100 to i16
%102 = load ptr, ptr %21, align 8
%103 = load i64, ptr %23, align 8
%104 = getelementptr inbounds i16, ptr %102, i64 %103
store i16 %101, ptr %104, align 2
br label %122
105: ; preds = %87
%106 = load double, ptr %24, align 8
%107 = fcmp ogt double %106, 0x40DFFFDF5C28F5C3
br i1 %107, label %108, label %115
108: ; preds = %105
%109 = load ptr, ptr %22, align 8
store i32 -11, ptr %109, align 4
%110 = load i32, ptr @SHRT_MAX, align 4
%111 = trunc i32 %110 to i16
%112 = load ptr, ptr %21, align 8
%113 = load i64, ptr %23, align 8
%114 = getelementptr inbounds i16, ptr %112, i64 %113
store i16 %111, ptr %114, align 2
br label %121
115: ; preds = %105
%116 = load double, ptr %24, align 8
%117 = fptosi double %116 to i16
%118 = load ptr, ptr %21, align 8
%119 = load i64, ptr %23, align 8
%120 = getelementptr inbounds i16, ptr %118, i64 %119
store i16 %117, ptr %120, align 2
br label %121
121: ; preds = %115, %108
br label %122
122: ; preds = %121, %98
br label %123
123: ; preds = %122
%124 = load i64, ptr %23, align 8
%125 = add nsw i64 %124, 1
store i64 %125, ptr %23, align 8
%126 = load i64, ptr %23, align 8
%127 = load i64, ptr %13, align 8
%128 = icmp slt i64 %126, %127
br i1 %128, label %87, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %123
br label %129
129: ; preds = %._crit_edge6, %83
br label %130
130: ; preds = %129, %82
br label %279
131: ; preds = %11
%132 = load double, ptr %14, align 8
%133 = fcmp oeq double %132, 1.000000e+00
br i1 %133, label %134, label %209
134: ; preds = %131
%135 = load double, ptr %15, align 8
%136 = fcmp oeq double %135, 0.000000e+00
br i1 %136, label %137, label %209
137: ; preds = %134
store i64 0, ptr %23, align 8
%138 = load i64, ptr %23, align 8
%139 = load i64, ptr %13, align 8
%140 = icmp slt i64 %138, %139
br i1 %140, label %.lr.ph2, label %208
.lr.ph2: ; preds = %137
br label %141
141: ; preds = %.lr.ph2, %202
%142 = load ptr, ptr %12, align 8
%143 = load i64, ptr %23, align 8
%144 = getelementptr inbounds i32, ptr %142, i64 %143
%145 = load i32, ptr %144, align 4
%146 = load i32, ptr %17, align 4
%147 = icmp eq i32 %145, %146
br i1 %147, label %148, label %162
148: ; preds = %141
%149 = load ptr, ptr %20, align 8
store i32 1, ptr %149, align 4
%150 = load i32, ptr %16, align 4
%151 = icmp eq i32 %150, 1
br i1 %151, label %152, label %157
152: ; preds = %148
%153 = load i16, ptr %18, align 2
%154 = load ptr, ptr %21, align 8
%155 = load i64, ptr %23, align 8
%156 = getelementptr inbounds i16, ptr %154, i64 %155
store i16 %153, ptr %156, align 2
br label %161
157: ; preds = %148
%158 = load ptr, ptr %19, align 8
%159 = load i64, ptr %23, align 8
%160 = getelementptr inbounds i8, ptr %158, i64 %159
store i8 1, ptr %160, align 1
br label %161
161: ; preds = %157, %152
br label %201
162: ; preds = %141
%163 = load ptr, ptr %12, align 8
%164 = load i64, ptr %23, align 8
%165 = getelementptr inbounds i32, ptr %163, i64 %164
%166 = load i32, ptr %165, align 4
%167 = load i32, ptr @SHRT_MIN, align 4
%168 = icmp slt i32 %166, %167
br i1 %168, label %169, label %176
169: ; preds = %162
%170 = load ptr, ptr %22, align 8
store i32 -11, ptr %170, align 4
%171 = load i32, ptr @SHRT_MIN, align 4
%172 = trunc i32 %171 to i16
%173 = load ptr, ptr %21, align 8
%174 = load i64, ptr %23, align 8
%175 = getelementptr inbounds i16, ptr %173, i64 %174
store i16 %172, ptr %175, align 2
br label %200
176: ; preds = %162
%177 = load ptr, ptr %12, align 8
%178 = load i64, ptr %23, align 8
%179 = getelementptr inbounds i32, ptr %177, i64 %178
%180 = load i32, ptr %179, align 4
%181 = load i32, ptr @SHRT_MAX, align 4
%182 = icmp sgt i32 %180, %181
br i1 %182, label %183, label %190
183: ; preds = %176
%184 = load ptr, ptr %22, align 8
store i32 -11, ptr %184, align 4
%185 = load i32, ptr @SHRT_MAX, align 4
%186 = trunc i32 %185 to i16
%187 = load ptr, ptr %21, align 8
%188 = load i64, ptr %23, align 8
%189 = getelementptr inbounds i16, ptr %187, i64 %188
store i16 %186, ptr %189, align 2
br label %199
190: ; preds = %176
%191 = load ptr, ptr %12, align 8
%192 = load i64, ptr %23, align 8
%193 = getelementptr inbounds i32, ptr %191, i64 %192
%194 = load i32, ptr %193, align 4
%195 = trunc i32 %194 to i16
%196 = load ptr, ptr %21, align 8
%197 = load i64, ptr %23, align 8
%198 = getelementptr inbounds i16, ptr %196, i64 %197
store i16 %195, ptr %198, align 2
br label %199
199: ; preds = %190, %183
br label %200
200: ; preds = %199, %169
br label %201
201: ; preds = %200, %161
br label %202
202: ; preds = %201
%203 = load i64, ptr %23, align 8
%204 = add nsw i64 %203, 1
store i64 %204, ptr %23, align 8
%205 = load i64, ptr %23, align 8
%206 = load i64, ptr %13, align 8
%207 = icmp slt i64 %205, %206
br i1 %207, label %141, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %202
br label %208
208: ; preds = %._crit_edge3, %137
br label %278
209: ; preds = %134, %131
store i64 0, ptr %23, align 8
%210 = load i64, ptr %23, align 8
%211 = load i64, ptr %13, align 8
%212 = icmp slt i64 %210, %211
br i1 %212, label %.lr.ph, label %277
.lr.ph: ; preds = %209
br label %213
213: ; preds = %.lr.ph, %271
%214 = load ptr, ptr %12, align 8
%215 = load i64, ptr %23, align 8
%216 = getelementptr inbounds i32, ptr %214, i64 %215
%217 = load i32, ptr %216, align 4
%218 = load i32, ptr %17, align 4
%219 = icmp eq i32 %217, %218
br i1 %219, label %220, label %234
220: ; preds = %213
%221 = load ptr, ptr %20, align 8
store i32 1, ptr %221, align 4
%222 = load i32, ptr %16, align 4
%223 = icmp eq i32 %222, 1
br i1 %223, label %224, label %229
224: ; preds = %220
%225 = load i16, ptr %18, align 2
%226 = load ptr, ptr %21, align 8
%227 = load i64, ptr %23, align 8
%228 = getelementptr inbounds i16, ptr %226, i64 %227
store i16 %225, ptr %228, align 2
br label %233
229: ; preds = %220
%230 = load ptr, ptr %19, align 8
%231 = load i64, ptr %23, align 8
%232 = getelementptr inbounds i8, ptr %230, i64 %231
store i8 1, ptr %232, align 1
br label %233
233: ; preds = %229, %224
br label %270
234: ; preds = %213
%235 = load ptr, ptr %12, align 8
%236 = load i64, ptr %23, align 8
%237 = getelementptr inbounds i32, ptr %235, i64 %236
%238 = load i32, ptr %237, align 4
%239 = sitofp i32 %238 to double
%240 = load double, ptr %14, align 8
%241 = load double, ptr %15, align 8
%242 = call double @llvm.fmuladd.f64(double %239, double %240, double %241)
store double %242, ptr %24, align 8
%243 = load double, ptr %24, align 8
%244 = fcmp olt double %243, 0xC0E0000FAE147AE1
br i1 %244, label %245, label %252
245: ; preds = %234
%246 = load ptr, ptr %22, align 8
store i32 -11, ptr %246, align 4
%247 = load i32, ptr @SHRT_MIN, align 4
%248 = trunc i32 %247 to i16
%249 = load ptr, ptr %21, align 8
%250 = load i64, ptr %23, align 8
%251 = getelementptr inbounds i16, ptr %249, i64 %250
store i16 %248, ptr %251, align 2
br label %269
252: ; preds = %234
%253 = load double, ptr %24, align 8
%254 = fcmp ogt double %253, 0x40DFFFDF5C28F5C3
br i1 %254, label %255, label %262
255: ; preds = %252
%256 = load ptr, ptr %22, align 8
store i32 -11, ptr %256, align 4
%257 = load i32, ptr @SHRT_MAX, align 4
%258 = trunc i32 %257 to i16
%259 = load ptr, ptr %21, align 8
%260 = load i64, ptr %23, align 8
%261 = getelementptr inbounds i16, ptr %259, i64 %260
store i16 %258, ptr %261, align 2
br label %268
262: ; preds = %252
%263 = load double, ptr %24, align 8
%264 = fptosi double %263 to i16
%265 = load ptr, ptr %21, align 8
%266 = load i64, ptr %23, align 8
%267 = getelementptr inbounds i16, ptr %265, i64 %266
store i16 %264, ptr %267, align 2
br label %268
268: ; preds = %262, %255
br label %269
269: ; preds = %268, %245
br label %270
270: ; preds = %269, %233
br label %271
271: ; preds = %270
%272 = load i64, ptr %23, align 8
%273 = add nsw i64 %272, 1
store i64 %273, ptr %23, align 8
%274 = load i64, ptr %23, align 8
%275 = load i64, ptr %13, align 8
%276 = icmp slt i64 %274, %275
br i1 %276, label %213, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %271
br label %277
277: ; preds = %._crit_edge, %209
br label %278
278: ; preds = %277, %208
br label %279
279: ; preds = %278, %130
%280 = load ptr, ptr %22, align 8
%281 = load i32, ptr %280, align 4
ret i32 %281
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpj4aso8du.c'
source_filename = "/tmp/tmpj4aso8du.c"
target datalayout = "e-m:e-p270: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/tmpj4aso8du.c"
target datalayout = "e-m:e-p270: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/tmpj8k6yt6n.c'
source_filename = "/tmp/tmpj8k6yt6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: arborealis [switches] <source file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Switches:\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" -h, --help Print this help screen\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c" --version Print version information\0A\00", align 1
@EX_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelpAndExit() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = load i32, ptr @EX_OK, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj8k6yt6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: arborealis [switches] <source file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Switches:\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" -h, --help Print this help screen\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c" --version Print version information\0A\00", align 1
@EX_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelpAndExit() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = load i32, ptr @EX_OK, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwuet08b1.c'
source_filename = "/tmp/tmpwuet08b1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_inet_rx_sock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, -1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @close(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/tmpwuet08b1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_inet_rx_sock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, -1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @close(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/tmpzxmm1e0u.c'
source_filename = "/tmp/tmpzxmm1e0u.c"
target datalayout = "e-m:e-p270: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/tmpzxmm1e0u.c"
target datalayout = "e-m:e-p270: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/tmp0t9ulc6p.c'
source_filename = "/tmp/tmp0t9ulc6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cctools_ntohll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store ptr %2, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i64, ptr %5, i64 7
%7 = load i64, ptr %6, align 8
%8 = trunc i64 %7 to i32
%9 = shl i32 %8, 0
%10 = load i32, ptr %3, align 4
%11 = or i32 %10, %9
store i32 %11, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 6
%14 = load i64, ptr %13, align 8
%15 = trunc i64 %14 to i32
%16 = shl i32 %15, 8
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 5
%21 = load i64, ptr %20, align 8
%22 = trunc i64 %21 to i32
%23 = shl i32 %22, 16
%24 = load i32, ptr %3, align 4
%25 = or i32 %24, %23
store i32 %25, ptr %3, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i64, ptr %26, i64 4
%28 = load i64, ptr %27, align 8
%29 = trunc i64 %28 to i32
%30 = shl i32 %29, 24
%31 = load i32, ptr %3, align 4
%32 = or i32 %31, %30
store i32 %32, ptr %3, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i64, ptr %33, i64 3
%35 = load i64, ptr %34, align 8
%36 = trunc i64 %35 to i32
%37 = shl i32 %36, 32
%38 = load i32, ptr %3, align 4
%39 = or i32 %38, %37
store i32 %39, ptr %3, align 4
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i64, ptr %40, i64 2
%42 = load i64, ptr %41, align 8
%43 = trunc i64 %42 to i32
%44 = shl i32 %43, 40
%45 = load i32, ptr %3, align 4
%46 = or i32 %45, %44
store i32 %46, ptr %3, align 4
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds i64, ptr %47, i64 1
%49 = load i64, ptr %48, align 8
%50 = trunc i64 %49 to i32
%51 = shl i32 %50, 48
%52 = load i32, ptr %3, align 4
%53 = or i32 %52, %51
store i32 %53, ptr %3, align 4
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i64, ptr %54, i64 0
%56 = load i64, ptr %55, align 8
%57 = trunc i64 %56 to i32
%58 = shl i32 %57, 56
%59 = load i32, ptr %3, align 4
%60 = or i32 %59, %58
store i32 %60, ptr %3, align 4
%61 = load i32, ptr %3, align 4
ret i32 %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0t9ulc6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cctools_ntohll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store ptr %2, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i64, ptr %5, i64 7
%7 = load i64, ptr %6, align 8
%8 = trunc i64 %7 to i32
%9 = shl i32 %8, 0
%10 = load i32, ptr %3, align 4
%11 = or i32 %10, %9
store i32 %11, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 6
%14 = load i64, ptr %13, align 8
%15 = trunc i64 %14 to i32
%16 = shl i32 %15, 8
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 5
%21 = load i64, ptr %20, align 8
%22 = trunc i64 %21 to i32
%23 = shl i32 %22, 16
%24 = load i32, ptr %3, align 4
%25 = or i32 %24, %23
store i32 %25, ptr %3, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i64, ptr %26, i64 4
%28 = load i64, ptr %27, align 8
%29 = trunc i64 %28 to i32
%30 = shl i32 %29, 24
%31 = load i32, ptr %3, align 4
%32 = or i32 %31, %30
store i32 %32, ptr %3, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i64, ptr %33, i64 3
%35 = load i64, ptr %34, align 8
%36 = trunc i64 %35 to i32
%37 = shl i32 %36, 32
%38 = load i32, ptr %3, align 4
%39 = or i32 %38, %37
store i32 %39, ptr %3, align 4
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i64, ptr %40, i64 2
%42 = load i64, ptr %41, align 8
%43 = trunc i64 %42 to i32
%44 = shl i32 %43, 40
%45 = load i32, ptr %3, align 4
%46 = or i32 %45, %44
store i32 %46, ptr %3, align 4
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds i64, ptr %47, i64 1
%49 = load i64, ptr %48, align 8
%50 = trunc i64 %49 to i32
%51 = shl i32 %50, 48
%52 = load i32, ptr %3, align 4
%53 = or i32 %52, %51
store i32 %53, ptr %3, align 4
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i64, ptr %54, i64 0
%56 = load i64, ptr %55, align 8
%57 = trunc i64 %56 to i32
%58 = shl i32 %57, 56
%59 = load i32, ptr %3, align 4
%60 = or i32 %59, %58
store i32 %60, ptr %3, align 4
%61 = load i32, ptr %3, align 4
ret i32 %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3tthicx2.c'
source_filename = "/tmp/tmp3tthicx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ARGP_ERR_UNKNOWN = 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/tmp3tthicx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ARGP_ERR_UNKNOWN = 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/tmp6_4nhrbn.c'
source_filename = "/tmp/tmp6_4nhrbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"l = \00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"after inserting at pos 2, l = \00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"head(l) = %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"l = tail(l) = \00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"removed l[2]; l = \00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"removed l[0]; l = \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 = call ptr (...) @arraylist_new()
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @arraylist_cons(i32 noundef 3, ptr noundef %4)
%6 = call ptr @arraylist_cons(i32 noundef 2, ptr noundef %5)
%7 = call ptr @arraylist_cons(i32 noundef 1, ptr noundef %6)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call ptr @arraylist_cons(i32 noundef 4, ptr noundef %8)
store ptr %9, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @arraylist_print(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call ptr @arraylist_insert(i32 noundef 5, i32 noundef 2, ptr noundef %13)
store ptr %14, ptr %2, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = load ptr, ptr %2, align 8
%17 = call i32 @arraylist_print(ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @arraylist_head(ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call ptr @arraylist_tail(ptr noundef %21)
store ptr %22, ptr %2, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%24 = load ptr, ptr %2, align 8
%25 = call i32 @arraylist_print(ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = call ptr @arraylist_remove(i32 noundef 2, ptr noundef %26)
store ptr %27, ptr %2, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @arraylist_print(ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call ptr @arraylist_remove(i32 noundef 0, ptr noundef %31)
store ptr %32, ptr %2, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%34 = load ptr, ptr %2, align 8
%35 = call i32 @arraylist_print(ptr noundef %34)
%36 = load ptr, ptr %2, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare ptr @arraylist_new(...) #1
declare ptr @arraylist_cons(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @arraylist_print(ptr noundef) #1
declare ptr @arraylist_insert(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @arraylist_head(ptr noundef) #1
declare ptr @arraylist_tail(ptr noundef) #1
declare ptr @arraylist_remove(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_4nhrbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"l = \00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"after inserting at pos 2, l = \00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"head(l) = %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"l = tail(l) = \00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"removed l[2]; l = \00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"removed l[0]; l = \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 = call ptr (...) @arraylist_new()
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @arraylist_cons(i32 noundef 3, ptr noundef %4)
%6 = call ptr @arraylist_cons(i32 noundef 2, ptr noundef %5)
%7 = call ptr @arraylist_cons(i32 noundef 1, ptr noundef %6)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call ptr @arraylist_cons(i32 noundef 4, ptr noundef %8)
store ptr %9, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @arraylist_print(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call ptr @arraylist_insert(i32 noundef 5, i32 noundef 2, ptr noundef %13)
store ptr %14, ptr %2, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = load ptr, ptr %2, align 8
%17 = call i32 @arraylist_print(ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @arraylist_head(ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call ptr @arraylist_tail(ptr noundef %21)
store ptr %22, ptr %2, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%24 = load ptr, ptr %2, align 8
%25 = call i32 @arraylist_print(ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = call ptr @arraylist_remove(i32 noundef 2, ptr noundef %26)
store ptr %27, ptr %2, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @arraylist_print(ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call ptr @arraylist_remove(i32 noundef 0, ptr noundef %31)
store ptr %32, ptr %2, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%34 = load ptr, ptr %2, align 8
%35 = call i32 @arraylist_print(ptr noundef %34)
%36 = load ptr, ptr %2, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare ptr @arraylist_new(...) #1
declare ptr @arraylist_cons(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @arraylist_print(ptr noundef) #1
declare ptr @arraylist_insert(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @arraylist_head(ptr noundef) #1
declare ptr @arraylist_tail(ptr noundef) #1
declare ptr @arraylist_remove(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi7owyjpf.c'
source_filename = "/tmp/tmpi7owyjpf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_np_1() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 1024
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
store i32 0, ptr %1, align 4
br label %17
17: ; preds = %27, %16
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 %18, 1024
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = load i32, ptr %1, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %20
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
br label %17, !llvm.loop !8
30: ; preds = %17
store i32 0, ptr %1, align 4
br label %31
31: ; preds = %41, %30
%32 = load i32, ptr %1, align 4
%33 = icmp slt i32 %32, 1024
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i32, ptr %1, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %34
%42 = load i32, ptr %1, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %1, align 4
br label %31, !llvm.loop !9
44: ; preds = %31
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp eq i32 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
store i32 1, ptr %4, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %1, align 4
br label %50
50: ; preds = %60, %44
%51 = load i32, ptr %1, align 4
%52 = icmp slt i32 %51, 12
br i1 %52, label %53, label %63
53: ; preds = %50
%54 = load i32, ptr %1, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %3, align 4
%59 = mul nsw i32 %58, %57
store i32 %59, ptr %3, align 4
br label %60
60: ; preds = %53
%61 = load i32, ptr %1, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %1, align 4
br label %50, !llvm.loop !10
63: ; preds = %50
store i32 0, ptr %1, align 4
br label %64
64: ; preds = %74, %63
%65 = load i32, ptr %1, align 4
%66 = icmp slt i32 %65, 12
br i1 %66, label %67, label %77
67: ; preds = %64
%68 = load i32, ptr %1, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %4, align 4
%73 = mul nsw i32 %72, %71
store i32 %73, ptr %4, align 4
br label %74
74: ; preds = %67
%75 = load i32, ptr %1, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %1, align 4
br label %64, !llvm.loop !11
77: ; preds = %64
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp eq i32 %78, %79
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
ret void
}
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi7owyjpf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_np_1() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 1024
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 1024
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 %18, 1024
br i1 %19, label %.lr.ph2, label %32
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %27
%21 = load i32, ptr %1, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %20
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = icmp slt i32 %30, 1024
br i1 %31, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %17
store i32 0, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %33, 1024
br i1 %34, label %.lr.ph5, label %47
.lr.ph5: ; preds = %32
br label %35
35: ; preds = %.lr.ph5, %42
%36 = load i32, ptr %1, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %35
%43 = load i32, ptr %1, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %1, align 4
%45 = load i32, ptr %1, align 4
%46 = icmp slt i32 %45, 1024
br i1 %46, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %42
br label %47
47: ; preds = %._crit_edge6, %32
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp eq i32 %48, %49
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51)
store i32 1, ptr %4, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %1, align 4
%53 = load i32, ptr %1, align 4
%54 = icmp slt i32 %53, 12
br i1 %54, label %.lr.ph8, label %67
.lr.ph8: ; preds = %47
br label %55
55: ; preds = %.lr.ph8, %62
%56 = load i32, ptr %1, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %3, align 4
%61 = mul nsw i32 %60, %59
store i32 %61, ptr %3, align 4
br label %62
62: ; preds = %55
%63 = load i32, ptr %1, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %1, align 4
%65 = load i32, ptr %1, align 4
%66 = icmp slt i32 %65, 12
br i1 %66, label %55, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %62
br label %67
67: ; preds = %._crit_edge9, %47
store i32 0, ptr %1, align 4
%68 = load i32, ptr %1, align 4
%69 = icmp slt i32 %68, 12
br i1 %69, label %.lr.ph11, label %82
.lr.ph11: ; preds = %67
br label %70
70: ; preds = %.lr.ph11, %77
%71 = load i32, ptr %1, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %4, align 4
%76 = mul nsw i32 %75, %74
store i32 %76, ptr %4, align 4
br label %77
77: ; preds = %70
%78 = load i32, ptr %1, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %1, align 4
%80 = load i32, ptr %1, align 4
%81 = icmp slt i32 %80, 12
br i1 %81, label %70, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %77
br label %82
82: ; preds = %._crit_edge12, %67
%83 = load i32, ptr %3, align 4
%84 = load i32, ptr %4, align 4
%85 = icmp eq i32 %83, %84
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
ret void
}
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp4mi1s2dy.c'
source_filename = "/tmp/tmp4mi1s2dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"my string\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getstr() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 10)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = load ptr, ptr %1, align 8
ret ptr %6
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4mi1s2dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"my string\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getstr() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 10)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = load ptr, ptr %1, align 8
ret ptr %6
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqi6565ha.c'
source_filename = "/tmp/tmpqi6565ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Certificado transmitido com sucesso\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ComunicarCertificadoICPBRASIL(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @_resposta_padrao(i32 noundef %7, i32 noundef 2560, ptr noundef @.str)
ret ptr %8
}
declare ptr @_resposta_padrao(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqi6565ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Certificado transmitido com sucesso\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ComunicarCertificadoICPBRASIL(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @_resposta_padrao(i32 noundef %7, i32 noundef 2560, ptr noundef @.str)
ret ptr %8
}
declare ptr @_resposta_padrao(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplf7oafzv.c'
source_filename = "/tmp/tmplf7oafzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"%s:%d: attempt to free NULL ptr at: %s:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bmvdgeijn/WASP/refs/heads/master/snp2h5/memutil.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__MY_FREE(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i32 @my_err(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 62, ptr noundef %10, i32 noundef %11)
br label %13
13: ; preds = %9, %3
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare i32 @my_err(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplf7oafzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"%s:%d: attempt to free NULL ptr at: %s:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bmvdgeijn/WASP/refs/heads/master/snp2h5/memutil.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__MY_FREE(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i32 @my_err(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 62, ptr noundef %10, i32 noundef %11)
br label %13
13: ; preds = %9, %3
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare i32 @my_err(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcmavnwbv.c'
source_filename = "/tmp/tmpcmavnwbv.c"
target datalayout = "e-m:e-p270: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/tmpcmavnwbv.c"
target datalayout = "e-m:e-p270: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/tmphr90165b.c'
source_filename = "/tmp/tmphr90165b.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i64, i64, i32 }
@aboutAWeekAgo.weekdays = internal global [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16
@.str = private unnamed_addr constant [7 x i8] c"Sunday\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Monday\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Tuesday\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Wednesday\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Thursday\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"Friday\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Saturday\00", align 1
@aboutAWeekAgo.months = internal global [12 x ptr] [ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18], align 16
@.str.7 = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"March\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.16 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@.str.19 = private unnamed_addr constant [13 x i8] c"%s %s %d, %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aboutAWeekAgo() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef %1)
%4 = load i64, ptr %1, align 8
%5 = sub nsw i64 %4, 604800
store i64 %5, ptr %1, align 8
%6 = call ptr @localtime(ptr noundef %1)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.tm, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 8
%10 = add nsw i32 %9, 1900
store i32 %10, ptr %8, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1
%13 = load i64, ptr %12, align 8
%14 = getelementptr inbounds [7 x ptr], ptr @aboutAWeekAgo.weekdays, i64 0, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2
%18 = load i64, ptr %17, align 8
%19 = getelementptr inbounds [12 x ptr], ptr @aboutAWeekAgo.months, i64 0, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds %struct.tm, ptr %21, i32 0, i32 3
%23 = load i32, ptr %22, align 8
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 8
%27 = call i32 @printf(ptr noundef @.str.19, ptr noundef %15, ptr noundef %20, i32 noundef %23, i32 noundef %26)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphr90165b.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i64, i64, i32 }
@aboutAWeekAgo.weekdays = internal global [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16
@.str = private unnamed_addr constant [7 x i8] c"Sunday\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Monday\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Tuesday\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Wednesday\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Thursday\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"Friday\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Saturday\00", align 1
@aboutAWeekAgo.months = internal global [12 x ptr] [ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18], align 16
@.str.7 = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"March\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.16 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@.str.19 = private unnamed_addr constant [13 x i8] c"%s %s %d, %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aboutAWeekAgo() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef %1)
%4 = load i64, ptr %1, align 8
%5 = sub nsw i64 %4, 604800
store i64 %5, ptr %1, align 8
%6 = call ptr @localtime(ptr noundef %1)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.tm, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 8
%10 = add nsw i32 %9, 1900
store i32 %10, ptr %8, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1
%13 = load i64, ptr %12, align 8
%14 = getelementptr inbounds [7 x ptr], ptr @aboutAWeekAgo.weekdays, i64 0, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2
%18 = load i64, ptr %17, align 8
%19 = getelementptr inbounds [12 x ptr], ptr @aboutAWeekAgo.months, i64 0, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds %struct.tm, ptr %21, i32 0, i32 3
%23 = load i32, ptr %22, align 8
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 8
%27 = call i32 @printf(ptr noundef @.str.19, ptr noundef %15, ptr noundef %20, i32 noundef %23, i32 noundef %26)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbafnxqll.c'
source_filename = "/tmp/tmpbafnxqll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_box_curve25519xsalsa20poly1305_open_afternm(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @crypto_secretbox_xsalsa20poly1305_open(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @crypto_secretbox_xsalsa20poly1305_open(ptr noundef, ptr noundef, i64 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/tmpbafnxqll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_box_curve25519xsalsa20poly1305_open_afternm(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @crypto_secretbox_xsalsa20poly1305_open(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @crypto_secretbox_xsalsa20poly1305_open(ptr noundef, ptr noundef, i64 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/tmpt1y8qb_a.c'
source_filename = "/tmp/tmpt1y8qb_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSquare(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fdiv double %4, 2.000000e+00
%6 = call double @sqrt(double noundef %5) #2
store double %6, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp oeq double %7, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
; Function Attrs: nounwind
declare double @sqrt(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 = { 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 #2 = { 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/tmpt1y8qb_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSquare(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fdiv double %4, 2.000000e+00
%6 = call double @sqrt(double noundef %5) #2
store double %6, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp oeq double %7, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
; Function Attrs: nounwind
declare double @sqrt(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 = { 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 #2 = { 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/tmp2nxdek95.c'
source_filename = "/tmp/tmp2nxdek95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Factorial of %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 1, ptr %2, align 4
store i32 1, ptr %3, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %7
7: ; preds = %11, %0
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = mul nsw i32 %12, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2nxdek95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Factorial of %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 1, ptr %2, align 4
store i32 1, ptr %3, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 %11, %12
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppannn72p.c'
source_filename = "/tmp/tmppannn72p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [-v] <file> <user>@<host>[:port]\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"-p for just sending (plan)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppannn72p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [-v] <file> <user>@<host>[:port]\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"-p for just sending (plan)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplokt2hc2.c'
source_filename = "/tmp/tmplokt2hc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hashFun(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
store i8 %8, ptr %5, align 1
br label %9
9: ; preds = %16, %1
%10 = load i8, ptr %5, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = load i8, ptr %5, align 1
%15 = call i32 @hashFunIncrement(i32 noundef %13, i8 noundef signext %14)
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %5, align 1
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr %3, align 4
%22 = call i32 @hashFunFinal(i32 noundef %21)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @hashFunIncrement(i32 noundef, i8 noundef signext) #1
declare i32 @hashFunFinal(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/tmplokt2hc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hashFun(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
store i8 %8, ptr %5, align 1
%9 = load i8, ptr %5, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr %3, align 4
%13 = load i8, ptr %5, align 1
%14 = call i32 @hashFunIncrement(i32 noundef %12, i8 noundef signext %13)
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %4, align 8
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %5, align 1
%19 = load i8, ptr %5, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %1
%22 = load i32, ptr %3, align 4
%23 = call i32 @hashFunFinal(i32 noundef %22)
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @hashFunIncrement(i32 noundef, i8 noundef signext) #1
declare i32 @hashFunFinal(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/tmp5l0cm83q.c'
source_filename = "/tmp/tmp5l0cm83q.c"
target datalayout = "e-m:e-p270: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/tmp5l0cm83q.c"
target datalayout = "e-m:e-p270: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/tmpudqnrvct.c'
source_filename = "/tmp/tmpudqnrvct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eccentricity(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 %0, ptr %2, align 4
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
%5 = load i32, ptr %2, align 4
%6 = call double @dayangle(i32 noundef %5)
store double %6, ptr %4, align 8
%7 = load double, ptr %4, align 8
%8 = fptosi double %7 to i32
%9 = call double @cos(i32 noundef %8)
%10 = call double @llvm.fmuladd.f64(double 3.422100e-02, double %9, double 1.000110e+00)
%11 = load double, ptr %4, align 8
%12 = fptosi double %11 to i32
%13 = call double @sin(i32 noundef %12)
%14 = call double @llvm.fmuladd.f64(double 1.280000e-03, double %13, double %10)
%15 = load double, ptr %4, align 8
%16 = fmul double 2.000000e+00, %15
%17 = fptosi double %16 to i32
%18 = call double @cos(i32 noundef %17)
%19 = call double @llvm.fmuladd.f64(double 7.190000e-04, double %18, double %14)
%20 = load double, ptr %4, align 8
%21 = fmul double 2.000000e+00, %20
%22 = fptosi double %21 to i32
%23 = call double @sin(i32 noundef %22)
%24 = call double @llvm.fmuladd.f64(double 7.700000e-05, double %23, double %19)
store double %24, ptr %3, align 8
%25 = load double, ptr %3, align 8
ret double %25
}
declare double @dayangle(i32 noundef) #1
declare double @cos(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @sin(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudqnrvct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eccentricity(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 %0, ptr %2, align 4
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
%5 = load i32, ptr %2, align 4
%6 = call double @dayangle(i32 noundef %5)
store double %6, ptr %4, align 8
%7 = load double, ptr %4, align 8
%8 = fptosi double %7 to i32
%9 = call double @cos(i32 noundef %8)
%10 = call double @llvm.fmuladd.f64(double 3.422100e-02, double %9, double 1.000110e+00)
%11 = load double, ptr %4, align 8
%12 = fptosi double %11 to i32
%13 = call double @sin(i32 noundef %12)
%14 = call double @llvm.fmuladd.f64(double 1.280000e-03, double %13, double %10)
%15 = load double, ptr %4, align 8
%16 = fmul double 2.000000e+00, %15
%17 = fptosi double %16 to i32
%18 = call double @cos(i32 noundef %17)
%19 = call double @llvm.fmuladd.f64(double 7.190000e-04, double %18, double %14)
%20 = load double, ptr %4, align 8
%21 = fmul double 2.000000e+00, %20
%22 = fptosi double %21 to i32
%23 = call double @sin(i32 noundef %22)
%24 = call double @llvm.fmuladd.f64(double 7.700000e-05, double %23, double %19)
store double %24, ptr %3, align 8
%25 = load double, ptr %3, align 8
ret double %25
}
declare double @dayangle(i32 noundef) #1
declare double @cos(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @sin(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc0aqmvee.c'
source_filename = "/tmp/tmpc0aqmvee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_add_quaddobl_term(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i32 @_ada_use_c2phc4c(i32 noundef 386, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
ret i32 %19
}
declare i32 @_ada_use_c2phc4c(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/tmpc0aqmvee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_add_quaddobl_term(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i32 @_ada_use_c2phc4c(i32 noundef 386, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
ret i32 %19
}
declare i32 @_ada_use_c2phc4c(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/tmpok32ep3l.c'
source_filename = "/tmp/tmpok32ep3l.c"
target datalayout = "e-m:e-p270: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/tmpok32ep3l.c"
target datalayout = "e-m:e-p270: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/tmp3lmf4xsh.c'
source_filename = "/tmp/tmp3lmf4xsh.c"
target datalayout = "e-m:e-p270: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/tmp3lmf4xsh.c"
target datalayout = "e-m:e-p270: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/tmpsdi_wsew.c'
source_filename = "/tmp/tmpsdi_wsew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dijkstra(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 [9 x i32], align 16
%10 = alloca [9 x i32], align 16
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %23, %3
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 9
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load i32, ptr @INT_MAX, align 4
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %18
store i32 %16, ptr %19, align 4
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 %21
store i32 0, ptr %22, align 4
br label %23
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %12, !llvm.loop !6
26: ; preds = %12
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %28
store i32 0, ptr %29, align 4
store i32 0, ptr %7, align 4
br label %30
30: ; preds = %100, %26
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 8
br i1 %32, label %33, label %103
33: ; preds = %30
%34 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 0
%35 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 0
%36 = call i32 @minDistance(ptr noundef %34, ptr noundef %35)
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 %38
store i32 1, ptr %39, align 4
store i32 0, ptr %8, align 4
br label %40
40: ; preds = %96, %33
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %41, 9
br i1 %42, label %43, label %99
43: ; preds = %40
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %95, label %49
49: ; preds = %43
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %11, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [9 x i32], ptr %50, i64 %52
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [9 x i32], ptr %53, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %95
59: ; preds = %49
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %11, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [9 x i32], ptr %64, i64 %66
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [9 x i32], ptr %67, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = add nsw i32 %63, %71
%73 = load i32, ptr %8, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = icmp slt i32 %72, %76
br i1 %77, label %78, label %95
78: ; preds = %59
%79 = load i32, ptr %11, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [9 x i32], ptr %83, i64 %85
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [9 x i32], ptr %86, i64 0, i64 %88
%90 = load i32, ptr %89, align 4
%91 = add nsw i32 %82, %90
%92 = load i32, ptr %8, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %93
store i32 %91, ptr %94, align 4
br label %95
95: ; preds = %78, %59, %49, %43
br label %96
96: ; preds = %95
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %8, align 4
br label %40, !llvm.loop !8
99: ; preds = %40
br label %100
100: ; preds = %99
%101 = load i32, ptr %7, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %7, align 4
br label %30, !llvm.loop !9
103: ; preds = %30
%104 = load i32, ptr %6, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %105
%107 = load i32, ptr %106, align 4
ret i32 %107
}
declare i32 @minDistance(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsdi_wsew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dijkstra(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 [9 x i32], align 16
%10 = alloca [9 x i32], align 16
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 9
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %22
%15 = load i32, ptr @INT_MAX, align 4
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %17
store i32 %15, ptr %18, align 4
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 %20
store i32 0, ptr %21, align 4
br label %22
22: ; preds = %14
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %25, 9
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %3
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %29
store i32 0, ptr %30, align 4
store i32 0, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 8
br i1 %32, label %.lr.ph5, label %106
.lr.ph5: ; preds = %27
br label %33
33: ; preds = %.lr.ph5, %101
%34 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 0
%35 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 0
%36 = call i32 @minDistance(ptr noundef %34, ptr noundef %35)
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 %38
store i32 1, ptr %39, align 4
store i32 0, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %40, 9
br i1 %41, label %.lr.ph2, label %100
.lr.ph2: ; preds = %33
br label %42
42: ; preds = %.lr.ph2, %95
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [9 x i32], ptr %10, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %94, label %48
48: ; preds = %42
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %11, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [9 x i32], ptr %49, i64 %51
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [9 x i32], ptr %52, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %94
58: ; preds = %48
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %11, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [9 x i32], ptr %63, i64 %65
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [9 x i32], ptr %66, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
%71 = add nsw i32 %62, %70
%72 = load i32, ptr %8, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = icmp slt i32 %71, %75
br i1 %76, label %77, label %94
77: ; preds = %58
%78 = load i32, ptr %11, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %11, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [9 x i32], ptr %82, i64 %84
%86 = load i32, ptr %8, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [9 x i32], ptr %85, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %81, %89
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %92
store i32 %90, ptr %93, align 4
br label %94
94: ; preds = %77, %58, %48, %42
br label %95
95: ; preds = %94
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = icmp slt i32 %98, 9
br i1 %99, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %100
100: ; preds = %._crit_edge3, %33
br label %101
101: ; preds = %100
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %7, align 4
%104 = load i32, ptr %7, align 4
%105 = icmp slt i32 %104, 8
br i1 %105, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %101
br label %106
106: ; preds = %._crit_edge6, %27
%107 = load i32, ptr %6, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %108
%110 = load i32, ptr %109, align 4
ret i32 %110
}
declare i32 @minDistance(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvuy3az6f.c'
source_filename = "/tmp/tmpvuy3az6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dmd\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"'/*' not a comment '*/'\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dmd_strings() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_parse(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0)
ret void
}
declare i32 @test_parser_verify_parse(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @test_parser_sourcefile(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/tmpvuy3az6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dmd\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"'/*' not a comment '*/'\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dmd_strings() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_parse(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0)
ret void
}
declare i32 @test_parser_verify_parse(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @test_parser_sourcefile(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/tmpew9vhnjm.c'
source_filename = "/tmp/tmpew9vhnjm.c"
target datalayout = "e-m:e-p270: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/tmpew9vhnjm.c"
target datalayout = "e-m:e-p270: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/tmpmsnzoj_0.c'
source_filename = "/tmp/tmpmsnzoj_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Mpft(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
%13 = load i32, ptr %12, align 4
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
br label %16
16: ; preds = %24, %2
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ule ptr %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = call i32 @printf(ptr noundef @.str, i8 noundef signext %22)
br label %24
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
br label %16, !llvm.loop !6
27: ; preds = %16
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmsnzoj_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Mpft(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
%13 = load i32, ptr %12, align 4
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp ule ptr %16, %17
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %23
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = call i32 @printf(ptr noundef @.str, i8 noundef signext %21)
br label %23
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp ule ptr %26, %27
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzx2cqa_y.c'
source_filename = "/tmp/tmpzx2cqa_y.c"
target datalayout = "e-m:e-p270: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
@SOCK_STREAM = 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/tmpzx2cqa_y.c"
target datalayout = "e-m:e-p270: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
@SOCK_STREAM = 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/tmp_twlujjo.c'
source_filename = "/tmp/tmp_twlujjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %10, %0
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %2, align 4
%9 = icmp sgt i32 %7, 0
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
%15 = call i32 @printf(ptr noundef @.str.2, i32 noundef %14)
br label %6, !llvm.loop !6
16: ; preds = %6
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_twlujjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %6, 0
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %11, %12
%14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = icmp sgt i32 %15, 0
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %18
18: ; preds = %._crit_edge, %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"}
|
; ModuleID = '/tmp/tmpowrjlnyi.c'
source_filename = "/tmp/tmpowrjlnyi.c"
target datalayout = "e-m:e-p270: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/tmpowrjlnyi.c"
target datalayout = "e-m:e-p270: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/tmplg0ltqhi.c'
source_filename = "/tmp/tmplg0ltqhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"Re-run with any arg to suppress least-significant\0A 16 bits of FP numbers\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0ABEFORE\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"\0AZEROED\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0ARESTORED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%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
%10 = call ptr @memalign(i32 noundef 16, i32 noundef 512)
store ptr %10, ptr %6, align 8
%11 = call ptr @memalign(i32 noundef 16, i32 noundef 512)
store ptr %11, ptr %7, align 8
%12 = call ptr @memalign(i32 noundef 16, i32 noundef 512)
store ptr %12, ptr %8, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
%15 = zext i1 %14 to i32
store i32 %15, ptr %9, align 4
%16 = call i32 @printf(ptr noundef @.str)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @memset(ptr noundef %17, i32 noundef 85, i32 noundef 512)
%19 = load ptr, ptr %7, align 8
%20 = call i32 @memset(ptr noundef %19, i32 noundef 85, i32 noundef 512)
%21 = load ptr, ptr %8, align 8
%22 = call i32 @memset(ptr noundef %21, i32 noundef 85, i32 noundef 512)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @do_setup_then_fxsave(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = call i32 @show(ptr noundef %26, i32 noundef %27)
%29 = call i32 (...) @do_zeroise()
%30 = load ptr, ptr %7, align 8
%31 = call i32 @do_fxsave(ptr noundef %30)
%32 = call i32 @printf(ptr noundef @.str.2)
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %9, align 4
%35 = call i32 @show(ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @do_fxrstor(ptr noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = call i32 @do_fxsave(ptr noundef %38)
%40 = call i32 @printf(ptr noundef @.str.3)
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %9, align 4
%43 = call i32 @show(ptr noundef %41, i32 noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = call i32 @free(ptr noundef %44)
%46 = load ptr, ptr %7, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = load ptr, ptr %8, align 8
%49 = call i32 @free(ptr noundef %48)
ret i32 0
}
declare ptr @memalign(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @do_setup_then_fxsave(ptr noundef) #1
declare i32 @show(ptr noundef, i32 noundef) #1
declare i32 @do_zeroise(...) #1
declare i32 @do_fxsave(ptr noundef) #1
declare i32 @do_fxrstor(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplg0ltqhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"Re-run with any arg to suppress least-significant\0A 16 bits of FP numbers\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0ABEFORE\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"\0AZEROED\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0ARESTORED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%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
%10 = call ptr @memalign(i32 noundef 16, i32 noundef 512)
store ptr %10, ptr %6, align 8
%11 = call ptr @memalign(i32 noundef 16, i32 noundef 512)
store ptr %11, ptr %7, align 8
%12 = call ptr @memalign(i32 noundef 16, i32 noundef 512)
store ptr %12, ptr %8, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
%15 = zext i1 %14 to i32
store i32 %15, ptr %9, align 4
%16 = call i32 @printf(ptr noundef @.str)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @memset(ptr noundef %17, i32 noundef 85, i32 noundef 512)
%19 = load ptr, ptr %7, align 8
%20 = call i32 @memset(ptr noundef %19, i32 noundef 85, i32 noundef 512)
%21 = load ptr, ptr %8, align 8
%22 = call i32 @memset(ptr noundef %21, i32 noundef 85, i32 noundef 512)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @do_setup_then_fxsave(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = call i32 @show(ptr noundef %26, i32 noundef %27)
%29 = call i32 (...) @do_zeroise()
%30 = load ptr, ptr %7, align 8
%31 = call i32 @do_fxsave(ptr noundef %30)
%32 = call i32 @printf(ptr noundef @.str.2)
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %9, align 4
%35 = call i32 @show(ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @do_fxrstor(ptr noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = call i32 @do_fxsave(ptr noundef %38)
%40 = call i32 @printf(ptr noundef @.str.3)
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %9, align 4
%43 = call i32 @show(ptr noundef %41, i32 noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = call i32 @free(ptr noundef %44)
%46 = load ptr, ptr %7, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = load ptr, ptr %8, align 8
%49 = call i32 @free(ptr noundef %48)
ret i32 0
}
declare ptr @memalign(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @do_setup_then_fxsave(ptr noundef) #1
declare i32 @show(ptr noundef, i32 noundef) #1
declare i32 @do_zeroise(...) #1
declare i32 @do_fxsave(ptr noundef) #1
declare i32 @do_fxrstor(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb__nwfzs.c'
source_filename = "/tmp/tmpb__nwfzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_stdout(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stdout, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @vfprintf(i32 noundef %5, ptr noundef %6, i32 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fflush(i32 noundef %11)
ret void
}
declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb__nwfzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_stdout(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stdout, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @vfprintf(i32 noundef %5, ptr noundef %6, i32 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fflush(i32 noundef %11)
ret void
}
declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnsbbrig8.c'
source_filename = "/tmp/tmpnsbbrig8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write8LE(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = and i64 %5, 255
%7 = load ptr, ptr %3, align 8
%8 = call i32 @putc(i64 noundef %6, ptr noundef %7)
%9 = load i64, ptr %4, align 8
%10 = lshr i64 %9, 8
%11 = and i64 %10, 255
%12 = load ptr, ptr %3, align 8
%13 = call i32 @putc(i64 noundef %11, ptr noundef %12)
%14 = load i64, ptr %4, align 8
%15 = lshr i64 %14, 16
%16 = and i64 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = call i32 @putc(i64 noundef %16, ptr noundef %17)
%19 = load i64, ptr %4, align 8
%20 = lshr i64 %19, 24
%21 = and i64 %20, 255
%22 = load ptr, ptr %3, align 8
%23 = call i32 @putc(i64 noundef %21, ptr noundef %22)
%24 = load i64, ptr %4, align 8
%25 = lshr i64 %24, 32
%26 = and i64 %25, 255
%27 = load ptr, ptr %3, align 8
%28 = call i32 @putc(i64 noundef %26, ptr noundef %27)
%29 = load i64, ptr %4, align 8
%30 = lshr i64 %29, 40
%31 = and i64 %30, 255
%32 = load ptr, ptr %3, align 8
%33 = call i32 @putc(i64 noundef %31, ptr noundef %32)
%34 = load i64, ptr %4, align 8
%35 = lshr i64 %34, 48
%36 = and i64 %35, 255
%37 = load ptr, ptr %3, align 8
%38 = call i32 @putc(i64 noundef %36, ptr noundef %37)
%39 = load i64, ptr %4, align 8
%40 = lshr i64 %39, 56
%41 = and i64 %40, 255
%42 = load ptr, ptr %3, align 8
%43 = call i32 @putc(i64 noundef %41, ptr noundef %42)
ret void
}
declare i32 @putc(i64 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/tmpnsbbrig8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write8LE(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = and i64 %5, 255
%7 = load ptr, ptr %3, align 8
%8 = call i32 @putc(i64 noundef %6, ptr noundef %7)
%9 = load i64, ptr %4, align 8
%10 = lshr i64 %9, 8
%11 = and i64 %10, 255
%12 = load ptr, ptr %3, align 8
%13 = call i32 @putc(i64 noundef %11, ptr noundef %12)
%14 = load i64, ptr %4, align 8
%15 = lshr i64 %14, 16
%16 = and i64 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = call i32 @putc(i64 noundef %16, ptr noundef %17)
%19 = load i64, ptr %4, align 8
%20 = lshr i64 %19, 24
%21 = and i64 %20, 255
%22 = load ptr, ptr %3, align 8
%23 = call i32 @putc(i64 noundef %21, ptr noundef %22)
%24 = load i64, ptr %4, align 8
%25 = lshr i64 %24, 32
%26 = and i64 %25, 255
%27 = load ptr, ptr %3, align 8
%28 = call i32 @putc(i64 noundef %26, ptr noundef %27)
%29 = load i64, ptr %4, align 8
%30 = lshr i64 %29, 40
%31 = and i64 %30, 255
%32 = load ptr, ptr %3, align 8
%33 = call i32 @putc(i64 noundef %31, ptr noundef %32)
%34 = load i64, ptr %4, align 8
%35 = lshr i64 %34, 48
%36 = and i64 %35, 255
%37 = load ptr, ptr %3, align 8
%38 = call i32 @putc(i64 noundef %36, ptr noundef %37)
%39 = load i64, ptr %4, align 8
%40 = lshr i64 %39, 56
%41 = and i64 %40, 255
%42 = load ptr, ptr %3, align 8
%43 = call i32 @putc(i64 noundef %41, ptr noundef %42)
ret void
}
declare i32 @putc(i64 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/tmptzowaom5.c'
source_filename = "/tmp/tmptzowaom5.c"
target datalayout = "e-m:e-p270: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
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@errno = 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/tmptzowaom5.c"
target datalayout = "e-m:e-p270: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
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@errno = 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/tmpfy7hzhmt.c'
source_filename = "/tmp/tmpfy7hzhmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"March\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@__const.month2int.months = private unnamed_addr constant [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [25 x i8] c"%s is not a valid month\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @month2int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [12 x ptr], align 16
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.month2int.months, i64 96, i1 false)
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = call signext i8 @toupper(i8 noundef signext %8)
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store i8 %9, ptr %11, align 1
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %27, %1
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 12
br i1 %14, label %15, label %30
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [12 x ptr], ptr %5, i64 0, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strcmp(ptr noundef %19, ptr noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 3
store i32 %25, ptr %2, align 4
br label %33
26: ; preds = %15
br label %27
27: ; preds = %26
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %12, !llvm.loop !6
30: ; preds = %12
%31 = load ptr, ptr %3, align 8
%32 = call i32 @error(ptr noundef @.str.12, ptr noundef %31)
br label %33
33: ; preds = %30, %23
%34 = load i32, ptr %2, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare signext i8 @toupper(i8 noundef signext) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @error(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfy7hzhmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"March\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@__const.month2int.months = private unnamed_addr constant [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [25 x i8] c"%s is not a valid month\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @month2int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [12 x ptr], align 16
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.month2int.months, i64 96, i1 false)
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = call signext i8 @toupper(i8 noundef signext %8)
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store i8 %9, ptr %11, align 1
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 12
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %26
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [12 x ptr], ptr %5, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %18, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %14
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 3
store i32 %24, ptr %2, align 4
br label %34
25: ; preds = %14
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 12
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %1
%32 = load ptr, ptr %3, align 8
%33 = call i32 @error(ptr noundef @.str.12, ptr noundef %32)
br label %34
34: ; preds = %31, %22
%35 = load i32, ptr %2, align 4
ret i32 %35
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare signext i8 @toupper(i8 noundef signext) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @error(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp22xysfod.c'
source_filename = "/tmp/tmp22xysfod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn6(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %13 [
i32 1, label %5
i32 2, label %11
]
5: ; preds = %1
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 5
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 @grace(i32 noundef 1)
br label %14
10: ; preds = %5
br label %11
11: ; preds = %1, %10
%12 = call i32 @grace(i32 noundef 8)
br label %13
13: ; preds = %11, %1
br label %14
14: ; preds = %13, %8
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @grace(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/tmp22xysfod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn6(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %13 [
i32 1, label %5
i32 2, label %11
]
5: ; preds = %1
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 5
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 @grace(i32 noundef 1)
br label %14
10: ; preds = %5
br label %11
11: ; preds = %10, %1
%12 = call i32 @grace(i32 noundef 8)
br label %13
13: ; preds = %11, %1
br label %14
14: ; preds = %13, %8
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @grace(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/tmpccrr_pnr.c'
source_filename = "/tmp/tmpccrr_pnr.c"
target datalayout = "e-m:e-p270: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.passwd = type { ptr }
@NSS_STATUS_NOTFOUND = dso_local global i32 0, align 4
@NSS_STATUS_SUCCESS = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_nss_exfiles_getpwnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = load i32, ptr @NSS_STATUS_NOTFOUND, align 4
store i32 %13, ptr %11, align 4
%14 = load ptr, ptr %6, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %12, align 4
%16 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%17 = call i64 (...) @_nss_exfiles_setpwent()
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %49
19: ; preds = %5
br label %20
20: ; preds = %47, %19
%21 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = load i64, ptr %9, align 8
%25 = load ptr, ptr %10, align 8
%26 = call i64 @_nss_exfiles_getpwent_r(ptr noundef %22, ptr noundef %23, i64 noundef %24, ptr noundef %25)
%27 = icmp eq i64 %21, %26
br i1 %27, label %28, label %48
28: ; preds = %20
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.passwd, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = load i32, ptr %12, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %28
br label %48
36: ; preds = %28
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds %struct.passwd, ptr %38, i32 0, i32 0
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %12, align 4
%42 = call i64 @strncmp(ptr noundef %37, ptr noundef %40, i32 noundef %41)
%43 = icmp eq i64 0, %42
br i1 %43, label %44, label %47
44: ; preds = %36
%45 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%46 = trunc i64 %45 to i32
store i32 %46, ptr %11, align 4
br label %48
47: ; preds = %36
br label %20, !llvm.loop !6
48: ; preds = %44, %35, %20
br label %49
49: ; preds = %48, %5
%50 = call i32 (...) @_nss_exfiles_endpwent()
%51 = load i32, ptr %11, align 4
ret i32 %51
}
declare i32 @strlen(ptr noundef) #1
declare i64 @_nss_exfiles_setpwent(...) #1
declare i64 @_nss_exfiles_getpwent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_nss_exfiles_endpwent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpccrr_pnr.c"
target datalayout = "e-m:e-p270: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.passwd = type { ptr }
@NSS_STATUS_NOTFOUND = dso_local global i32 0, align 4
@NSS_STATUS_SUCCESS = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_nss_exfiles_getpwnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = load i32, ptr @NSS_STATUS_NOTFOUND, align 4
store i32 %13, ptr %11, align 4
%14 = load ptr, ptr %6, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %12, align 4
%16 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%17 = call i64 (...) @_nss_exfiles_setpwent()
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %55
19: ; preds = %5
%20 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %9, align 8
%24 = load ptr, ptr %10, align 8
%25 = call i64 @_nss_exfiles_getpwent_r(ptr noundef %21, ptr noundef %22, i64 noundef %23, ptr noundef %24)
%26 = icmp eq i64 %20, %25
br i1 %26, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %35
27: ; preds = %43
%28 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i64, ptr %9, align 8
%32 = load ptr, ptr %10, align 8
%33 = call i64 @_nss_exfiles_getpwent_r(ptr noundef %29, ptr noundef %30, i64 noundef %31, ptr noundef %32)
%34 = icmp eq i64 %28, %33
br i1 %34, label %35, label %..loopexit_crit_edge, !llvm.loop !6
35: ; preds = %.lr.ph, %27
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.passwd, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @strlen(ptr noundef %38)
%40 = load i32, ptr %12, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %35
br label %54
43: ; preds = %35
%44 = load ptr, ptr %6, align 8
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds %struct.passwd, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %12, align 4
%49 = call i64 @strncmp(ptr noundef %44, ptr noundef %47, i32 noundef %48)
%50 = icmp eq i64 0, %49
br i1 %50, label %51, label %27
51: ; preds = %43
%52 = load i64, ptr @NSS_STATUS_SUCCESS, align 8
%53 = trunc i64 %52 to i32
store i32 %53, ptr %11, align 4
br label %54
..loopexit_crit_edge: ; preds = %27
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %54
54: ; preds = %.loopexit, %51, %42
br label %55
55: ; preds = %54, %5
%56 = call i32 (...) @_nss_exfiles_endpwent()
%57 = load i32, ptr %11, align 4
ret i32 %57
}
declare i32 @strlen(ptr noundef) #1
declare i64 @_nss_exfiles_setpwent(...) #1
declare i64 @_nss_exfiles_getpwent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_nss_exfiles_endpwent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpt72jtv8e.c'
source_filename = "/tmp/tmpt72jtv8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [17 x i8] c"&array[%d]...%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %25, %15
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %19, label %28
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %16, !llvm.loop !8
28: ; preds = %16
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %38, %28
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 5
br i1 %31, label %32, label %41
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %35
%37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %33, ptr noundef %36)
br label %38
38: ; preds = %32
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %29, !llvm.loop !9
41: ; preds = %29
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt72jtv8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [17 x i8] c"&array[%d]...%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %9
store i32 %7, ptr %10, align 4
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 5
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %25
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %19
%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 = icmp slt i32 %28, 5
br i1 %29, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %16
store i32 0, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 5
br i1 %32, label %.lr.ph5, label %44
.lr.ph5: ; preds = %30
br label %33
33: ; preds = %.lr.ph5, %39
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %36
%38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %34, ptr noundef %37)
br label %39
39: ; preds = %33
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %42, 5
br i1 %43, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %39
br label %44
44: ; preds = %._crit_edge6, %30
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpwtq_nyb6.c'
source_filename = "/tmp/tmpwtq_nyb6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"/dev/md0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4, i32 noundef 0)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @_IO(i32 noundef 9, i32 noundef 20)
%8 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @close(i32 noundef %9)
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_IO(i32 noundef, i32 noundef) #1
declare i32 @close(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/tmpwtq_nyb6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"/dev/md0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4, i32 noundef 0)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @_IO(i32 noundef 9, i32 noundef 20)
%8 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @close(i32 noundef %9)
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_IO(i32 noundef, i32 noundef) #1
declare i32 @close(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/tmptzevkmml.c'
source_filename = "/tmp/tmptzevkmml.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqlite3GetToken(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @getToken(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @getToken(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/tmptzevkmml.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqlite3GetToken(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @getToken(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @getToken(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/tmpbr6n6ngx.c'
source_filename = "/tmp/tmpbr6n6ngx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_DIR = dso_local global i64 0, align 8
@DT_REG = dso_local global i64 0, align 8
@DT_SOCK = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbr6n6ngx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_DIR = dso_local global i64 0, align 8
@DT_REG = dso_local global i64 0, align 8
@DT_SOCK = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hm7he7l.c'
source_filename = "/tmp/tmp6hm7he7l.c"
target datalayout = "e-m:e-p270: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/tmp6hm7he7l.c"
target datalayout = "e-m:e-p270: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/tmpik8c1z2n.c'
source_filename = "/tmp/tmpik8c1z2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am %u.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @who_am_i()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @who_am_i(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpik8c1z2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am %u.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @who_am_i()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @who_am_i(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkseow1v8.c'
source_filename = "/tmp/tmpkseow1v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"pls input a float num: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"input error!\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"cube of %f is %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4
4: ; preds = %19, %0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = icmp ne i32 %5, 1
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = call signext i8 (...) @getchar()
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 10
br label %11
11: ; preds = %7, %4
%12 = phi i1 [ true, %4 ], [ %10, %7 ]
br i1 %12, label %13, label %22
13: ; preds = %11
br label %14
14: ; preds = %18, %13
%15 = call signext i8 (...) @getchar()
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 10
br i1 %17, label %18, label %19
18: ; preds = %14
br label %14, !llvm.loop !6
19: ; preds = %14
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4, !llvm.loop !8
22: ; preds = %11
%23 = load float, ptr %2, align 4
%24 = fpext float %23 to double
%25 = load float, ptr %2, align 4
%26 = call i32 @cube(float noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %24, i32 noundef %26)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @cube(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkseow1v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"pls input a float num: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"input error!\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"cube of %f is %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4
4: ; preds = %18, %0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = icmp ne i32 %5, 1
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = call signext i8 (...) @getchar()
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 10
br label %11
11: ; preds = %7, %4
%12 = phi i1 [ true, %4 ], [ %10, %7 ]
br i1 %12, label %13, label %21
13: ; preds = %11
br label %14
14: ; preds = %14, %13
%15 = call signext i8 (...) @getchar()
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 10
br i1 %17, label %14, label %18, !llvm.loop !6
18: ; preds = %14
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4, !llvm.loop !8
21: ; preds = %11
%22 = load float, ptr %2, align 4
%23 = fpext float %22 to double
%24 = load float, ptr %2, align 4
%25 = call i32 @cube(float noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %23, i32 noundef %25)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @cube(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpprgdoioe.c'
source_filename = "/tmp/tmpprgdoioe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_gunr(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @Write(i32 noundef 11, ptr noundef %7, i64 noundef %8, i64 noundef %9, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Write(i32 noundef, ptr noundef, i64 noundef, i64 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/tmpprgdoioe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_gunr(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @Write(i32 noundef 11, ptr noundef %7, i64 noundef %8, i64 noundef %9, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Write(i32 noundef, ptr noundef, i64 noundef, i64 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/tmpul7cqh7l.c'
source_filename = "/tmp/tmpul7cqh7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irq_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %8 [
i32 0, label %4
i32 1, label %6
]
4: ; preds = %1
%5 = call i32 (...) @system_timer_irq()
br label %8
6: ; preds = %1
%7 = call i32 (...) @keyboard_irq()
br label %8
8: ; preds = %1, %6, %4
%9 = load i32, ptr %2, align 4
%10 = icmp uge i32 %9, 8
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @outb(i32 noundef 160, i32 noundef 32)
br label %13
13: ; preds = %11, %8
%14 = call i32 @outb(i32 noundef 32, i32 noundef 32)
ret void
}
declare i32 @system_timer_irq(...) #1
declare i32 @keyboard_irq(...) #1
declare i32 @outb(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/tmpul7cqh7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irq_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %8 [
i32 0, label %4
i32 1, label %6
]
4: ; preds = %1
%5 = call i32 (...) @system_timer_irq()
br label %8
6: ; preds = %1
%7 = call i32 (...) @keyboard_irq()
br label %8
8: ; preds = %6, %4, %1
%9 = load i32, ptr %2, align 4
%10 = icmp uge i32 %9, 8
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @outb(i32 noundef 160, i32 noundef 32)
br label %13
13: ; preds = %11, %8
%14 = call i32 @outb(i32 noundef 32, i32 noundef 32)
ret void
}
declare i32 @system_timer_irq(...) #1
declare i32 @keyboard_irq(...) #1
declare i32 @outb(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/tmp_tenhg17.c'
source_filename = "/tmp/tmp_tenhg17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00], align 16
@.str = private unnamed_addr constant [32 x i8] c"sample standard deviation: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x double], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 64, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x double], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dstdevtk(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare double @stdlib_strided_dstdevtk(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_tenhg17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00], align 16
@.str = private unnamed_addr constant [32 x i8] c"sample standard deviation: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x double], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 64, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x double], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dstdevtk(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare double @stdlib_strided_dstdevtk(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw6uzduz0.c'
source_filename = "/tmp/tmpw6uzduz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"connect() failed: %s\0A.\00", align 1
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca [42 x i8], align 16
store i32 0, ptr %1, align 4
%5 = load i32, ptr @AF_INET, align 4
%6 = load i32, ptr @SOCK_STREAM, align 4
%7 = load i32, ptr @IPPROTO_TCP, align 4
%8 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = load i32, ptr @errno, align 4
%13 = call ptr @strerror(i32 noundef %12)
%14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %1, align 4
br label %44
16: ; preds = %0
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = call i32 @htons(i32 noundef 8000)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %19, ptr %20, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%22 = call i32 @inet_aton(ptr noundef @.str.1, ptr noundef %21)
%23 = load i32, ptr %2, align 4
%24 = call i64 @connect(i32 noundef %23, ptr noundef %3, i32 noundef 12)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %16
%27 = load i32, ptr @stderr, align 4
%28 = load i32, ptr @errno, align 4
%29 = call ptr @strerror(i32 noundef %28)
%30 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2, ptr noundef %29)
%31 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %31, ptr %1, align 4
br label %44
32: ; preds = %16
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr @F_SETFL, align 4
%35 = load i32, ptr @O_NONBLOCK, align 4
%36 = call i32 @fcntl(i32 noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = call i32 @read(i32 noundef %37, ptr noundef %4, i32 noundef -1)
%39 = icmp ne i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %32
%41 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %41, ptr %1, align 4
br label %44
42: ; preds = %32
%43 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %43, ptr %1, align 4
br label %44
44: ; preds = %42, %40, %26, %10
%45 = load i32, ptr %1, align 4
ret i32 %45
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw6uzduz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"connect() failed: %s\0A.\00", align 1
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca [42 x i8], align 16
store i32 0, ptr %1, align 4
%5 = load i32, ptr @AF_INET, align 4
%6 = load i32, ptr @SOCK_STREAM, align 4
%7 = load i32, ptr @IPPROTO_TCP, align 4
%8 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = load i32, ptr @errno, align 4
%13 = call ptr @strerror(i32 noundef %12)
%14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %1, align 4
br label %44
16: ; preds = %0
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = call i32 @htons(i32 noundef 8000)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %19, ptr %20, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%22 = call i32 @inet_aton(ptr noundef @.str.1, ptr noundef %21)
%23 = load i32, ptr %2, align 4
%24 = call i64 @connect(i32 noundef %23, ptr noundef %3, i32 noundef 12)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %16
%27 = load i32, ptr @stderr, align 4
%28 = load i32, ptr @errno, align 4
%29 = call ptr @strerror(i32 noundef %28)
%30 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2, ptr noundef %29)
%31 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %31, ptr %1, align 4
br label %44
32: ; preds = %16
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr @F_SETFL, align 4
%35 = load i32, ptr @O_NONBLOCK, align 4
%36 = call i32 @fcntl(i32 noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = call i32 @read(i32 noundef %37, ptr noundef %4, i32 noundef -1)
%39 = icmp ne i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %32
%41 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %41, ptr %1, align 4
br label %44
42: ; preds = %32
%43 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %43, ptr %1, align 4
br label %44
44: ; preds = %42, %40, %26, %10
%45 = load i32, ptr %1, align 4
ret i32 %45
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeq7za57t.c'
source_filename = "/tmp/tmpeq7za57t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Data file created\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"problem during tan data file creation\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Result file created\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"problem during tan result file creation\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Bad arglist code for: '%s'\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"problem during tan data file creation\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 sgt i32 %6, 1
br i1 %7, label %8, label %35
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
switch i32 %12, label %29 [
i32 1, label %13
i32 2, label %21
]
13: ; preds = %8
%14 = call i64 (...) @create_Data_file()
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %20
18: ; preds = %13
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %16
br label %34
21: ; preds = %8
%22 = call i64 (...) @create_Result_file()
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
26: ; preds = %21
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26, %24
br label %34
29: ; preds = %8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %32)
store i32 -1, ptr %3, align 4
br label %47
34: ; preds = %28, %20
br label %46
35: ; preds = %2
%36 = call i64 (...) @create_Data_file()
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %35
%41 = call i64 (...) @create_Result_file()
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
45: ; preds = %43, %40
br label %46
46: ; preds = %45, %34
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %46, %29
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @atoi(ptr noundef) #1
declare i64 @create_Data_file(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @create_Result_file(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeq7za57t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Data file created\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"problem during tan data file creation\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Result file created\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"problem during tan result file creation\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Bad arglist code for: '%s'\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"problem during tan data file creation\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 sgt i32 %6, 1
br i1 %7, label %8, label %35
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
switch i32 %12, label %29 [
i32 1, label %13
i32 2, label %21
]
13: ; preds = %8
%14 = call i64 (...) @create_Data_file()
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %20
18: ; preds = %13
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %16
br label %34
21: ; preds = %8
%22 = call i64 (...) @create_Result_file()
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
26: ; preds = %21
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26, %24
br label %34
29: ; preds = %8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %32)
store i32 -1, ptr %3, align 4
br label %47
34: ; preds = %28, %20
br label %46
35: ; preds = %2
%36 = call i64 (...) @create_Data_file()
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %35
%41 = call i64 (...) @create_Result_file()
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
45: ; preds = %43, %40
br label %46
46: ; preds = %45, %34
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %46, %29
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @atoi(ptr noundef) #1
declare i64 @create_Data_file(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @create_Result_file(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmn4f8fp3.c'
source_filename = "/tmp/tmpmn4f8fp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_adc_izpy() #0 {
%1 = call i32 (...) @e_izpy()
%2 = call i32 (...) @e_adc()
ret void
}
declare i32 @e_izpy(...) #1
declare i32 @e_adc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmn4f8fp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_adc_izpy() #0 {
%1 = call i32 (...) @e_izpy()
%2 = call i32 (...) @e_adc()
ret void
}
declare i32 @e_izpy(...) #1
declare i32 @e_adc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpag2fgpk0.c'
source_filename = "/tmp/tmpag2fgpk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_struct_list() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpag2fgpk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_struct_list() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnmaq1srl.c'
source_filename = "/tmp/tmpnmaq1srl.c"
target datalayout = "e-m:e-p270: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/tmpnmaq1srl.c"
target datalayout = "e-m:e-p270: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/tmp1bpadg93.c'
source_filename = "/tmp/tmp1bpadg93.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i32 }
%struct.sigaction = type { i32 }
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"getrlimit\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SIGHUP = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"fork2\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"chdir to root\00", align 1
@RLIM_INFINITY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@LOG_CONS = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [38 x i8] c"unexpected file descritors %d, %d, %d\00", align 1
@LOG_DEBUG = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [11 x i8] c"deamon ok.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @daemonize(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca %struct.rlimit, align 4
%9 = alloca %struct.sigaction, align 4
store ptr %0, ptr %2, align 8
%10 = call i32 @umask(i32 noundef 0)
%11 = load i32, ptr @RLIMIT_NOFILE, align 4
%12 = call i64 @getrlimit(i32 noundef %11, ptr noundef %8)
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %1
%15 = call i32 @perror(ptr noundef @.str)
br label %16
16: ; preds = %14, %1
%17 = call i64 (...) @fork()
store i64 %17, ptr %7, align 8
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %16
%24 = load i64, ptr %7, align 8
%25 = icmp sgt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @exit(i32 noundef 0) #3
unreachable
28: ; preds = %23
br label %29
29: ; preds = %28
%30 = call i32 (...) @setsid()
%31 = load i32, ptr @SIGHUP, align 4
%32 = load i32, ptr @SIG_IGN, align 4
%33 = call i32 @signal(i32 noundef %31, i32 noundef %32)
%34 = call i64 (...) @fork()
store i64 %34, ptr %7, align 8
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = call i32 @perror(ptr noundef @.str.2)
%38 = load i32, ptr @EXIT_FAILURE, align 4
%39 = call i32 @exit(i32 noundef %38) #3
unreachable
40: ; preds = %29
%41 = load i64, ptr %7, align 8
%42 = icmp sgt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
45: ; preds = %40
br label %46
46: ; preds = %45
%47 = call i64 @chdir(ptr noundef @.str.3)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @perror(ptr noundef @.str.4)
br label %51
51: ; preds = %49, %46
%52 = getelementptr inbounds %struct.rlimit, ptr %8, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr @RLIM_INFINITY, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %58
56: ; preds = %51
%57 = getelementptr inbounds %struct.rlimit, ptr %8, i32 0, i32 0
store i32 1024, ptr %57, align 4
br label %58
58: ; preds = %56, %51
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %67, %58
%60 = load i32, ptr %3, align 4
%61 = getelementptr inbounds %struct.rlimit, ptr %8, i32 0, i32 0
%62 = load i32, ptr %61, align 4
%63 = icmp slt i32 %60, %62
br i1 %63, label %64, label %70
64: ; preds = %59
%65 = load i32, ptr %3, align 4
%66 = call i32 @close(i32 noundef %65)
br label %67
67: ; preds = %64
%68 = load i32, ptr %3, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %3, align 4
br label %59, !llvm.loop !6
70: ; preds = %59
%71 = load i32, ptr @O_RDWR, align 4
%72 = call i32 @open(ptr noundef @.str.5, i32 noundef %71)
store i32 %72, ptr %4, align 4
%73 = call i32 @dup(i32 noundef 0)
store i32 %73, ptr %5, align 4
%74 = call i32 @dup(i32 noundef 0)
store i32 %74, ptr %6, align 4
%75 = load ptr, ptr %2, align 8
%76 = load i32, ptr @LOG_CONS, align 4
%77 = load i32, ptr @LOG_DAEMON, align 4
%78 = call i32 @openlog(ptr noundef %75, i32 noundef %76, i32 noundef %77)
%79 = load i32, ptr %4, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %87, label %81
81: ; preds = %70
%82 = load i32, ptr %5, align 4
%83 = icmp ne i32 %82, 1
br i1 %83, label %87, label %84
84: ; preds = %81
%85 = load i32, ptr %6, align 4
%86 = icmp ne i32 %85, 2
br i1 %86, label %87, label %95
87: ; preds = %84, %81, %70
%88 = load i32, ptr @LOG_ERR, align 4
%89 = load i32, ptr %4, align 4
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %6, align 4
%92 = call i32 (i32, ptr, ...) @syslog(i32 noundef %88, ptr noundef @.str.6, i32 noundef %89, i32 noundef %90, i32 noundef %91)
%93 = load i32, ptr @EXIT_FAILURE, align 4
%94 = call i32 @exit(i32 noundef %93) #3
unreachable
95: ; preds = %84
%96 = load i32, ptr @LOG_DEBUG, align 4
%97 = call i32 (i32, ptr, ...) @syslog(i32 noundef %96, ptr noundef @.str.7)
ret void
}
declare i32 @umask(i32 noundef) #1
declare i64 @getrlimit(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setsid(...) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i64 @chdir(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1bpadg93.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i32 }
%struct.sigaction = type { i32 }
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"getrlimit\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SIGHUP = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"fork2\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"chdir to root\00", align 1
@RLIM_INFINITY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@LOG_CONS = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [38 x i8] c"unexpected file descritors %d, %d, %d\00", align 1
@LOG_DEBUG = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [11 x i8] c"deamon ok.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @daemonize(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca %struct.rlimit, align 4
%9 = alloca %struct.sigaction, align 4
store ptr %0, ptr %2, align 8
%10 = call i32 @umask(i32 noundef 0)
%11 = load i32, ptr @RLIMIT_NOFILE, align 4
%12 = call i64 @getrlimit(i32 noundef %11, ptr noundef %8)
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %1
%15 = call i32 @perror(ptr noundef @.str)
br label %16
16: ; preds = %14, %1
%17 = call i64 (...) @fork()
store i64 %17, ptr %7, align 8
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %16
%24 = load i64, ptr %7, align 8
%25 = icmp sgt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @exit(i32 noundef 0) #3
unreachable
28: ; preds = %23
br label %29
29: ; preds = %28
%30 = call i32 (...) @setsid()
%31 = load i32, ptr @SIGHUP, align 4
%32 = load i32, ptr @SIG_IGN, align 4
%33 = call i32 @signal(i32 noundef %31, i32 noundef %32)
%34 = call i64 (...) @fork()
store i64 %34, ptr %7, align 8
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = call i32 @perror(ptr noundef @.str.2)
%38 = load i32, ptr @EXIT_FAILURE, align 4
%39 = call i32 @exit(i32 noundef %38) #3
unreachable
40: ; preds = %29
%41 = load i64, ptr %7, align 8
%42 = icmp sgt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
45: ; preds = %40
br label %46
46: ; preds = %45
%47 = call i64 @chdir(ptr noundef @.str.3)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @perror(ptr noundef @.str.4)
br label %51
51: ; preds = %49, %46
%52 = getelementptr inbounds %struct.rlimit, ptr %8, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr @RLIM_INFINITY, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %58
56: ; preds = %51
%57 = getelementptr inbounds %struct.rlimit, ptr %8, i32 0, i32 0
store i32 1024, ptr %57, align 4
br label %58
58: ; preds = %56, %51
store i32 0, ptr %3, align 4
%59 = load i32, ptr %3, align 4
%60 = getelementptr inbounds %struct.rlimit, ptr %8, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %59, %61
br i1 %62, label %.lr.ph, label %72
.lr.ph: ; preds = %58
br label %63
63: ; preds = %.lr.ph, %66
%64 = load i32, ptr %3, align 4
%65 = call i32 @close(i32 noundef %64)
br label %66
66: ; preds = %63
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
%69 = load i32, ptr %3, align 4
%70 = load i32, ptr %60, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %63, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %72
72: ; preds = %._crit_edge, %58
%73 = load i32, ptr @O_RDWR, align 4
%74 = call i32 @open(ptr noundef @.str.5, i32 noundef %73)
store i32 %74, ptr %4, align 4
%75 = call i32 @dup(i32 noundef 0)
store i32 %75, ptr %5, align 4
%76 = call i32 @dup(i32 noundef 0)
store i32 %76, ptr %6, align 4
%77 = load ptr, ptr %2, align 8
%78 = load i32, ptr @LOG_CONS, align 4
%79 = load i32, ptr @LOG_DAEMON, align 4
%80 = call i32 @openlog(ptr noundef %77, i32 noundef %78, i32 noundef %79)
%81 = load i32, ptr %4, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %89, label %83
83: ; preds = %72
%84 = load i32, ptr %5, align 4
%85 = icmp ne i32 %84, 1
br i1 %85, label %89, label %86
86: ; preds = %83
%87 = load i32, ptr %6, align 4
%88 = icmp ne i32 %87, 2
br i1 %88, label %89, label %97
89: ; preds = %86, %83, %72
%90 = load i32, ptr @LOG_ERR, align 4
%91 = load i32, ptr %4, align 4
%92 = load i32, ptr %5, align 4
%93 = load i32, ptr %6, align 4
%94 = call i32 (i32, ptr, ...) @syslog(i32 noundef %90, ptr noundef @.str.6, i32 noundef %91, i32 noundef %92, i32 noundef %93)
%95 = load i32, ptr @EXIT_FAILURE, align 4
%96 = call i32 @exit(i32 noundef %95) #3
unreachable
97: ; preds = %86
%98 = load i32, ptr @LOG_DEBUG, align 4
%99 = call i32 (i32, ptr, ...) @syslog(i32 noundef %98, ptr noundef @.str.7)
ret void
}
declare i32 @umask(i32 noundef) #1
declare i64 @getrlimit(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setsid(...) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i64 @chdir(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpebkgv6nz.c'
source_filename = "/tmp/tmpebkgv6nz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_devattr_bool(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @read_devattr(ptr noundef %8, ptr noundef %6)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %3, align 4
br label %33
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 49
br i1 %19, label %20, label %28
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
store i32 1, ptr %27, align 4
br label %30
28: ; preds = %20, %14
%29 = load ptr, ptr %5, align 8
store i32 0, ptr %29, align 4
br label %30
30: ; preds = %28, %26
%31 = load ptr, ptr %6, align 8
%32 = call i32 @free(ptr noundef %31)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %30, %12
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @read_devattr(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpebkgv6nz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_devattr_bool(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @read_devattr(ptr noundef %8, ptr noundef %6)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %3, align 4
br label %33
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 49
br i1 %19, label %20, label %28
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
store i32 1, ptr %27, align 4
br label %30
28: ; preds = %20, %14
%29 = load ptr, ptr %5, align 8
store i32 0, ptr %29, align 4
br label %30
30: ; preds = %28, %26
%31 = load ptr, ptr %6, align 8
%32 = call i32 @free(ptr noundef %31)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %30, %12
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @read_devattr(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu7awgzj7.c'
source_filename = "/tmp/tmpu7awgzj7.c"
target datalayout = "e-m:e-p270: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/tmpu7awgzj7.c"
target datalayout = "e-m:e-p270: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/tmpinymmqwy.c'
source_filename = "/tmp/tmpinymmqwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setSaturation(ptr noundef %0, float noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store float %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %100, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %103
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
%31 = load i8, ptr %30, align 1
%32 = call ptr @RGBtoHSL(i8 noundef zeroext %19, i8 noundef zeroext %25, i8 noundef zeroext %31)
store ptr %32, ptr %8, align 8
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds float, ptr %33, i64 1
%35 = load float, ptr %34, align 4
%36 = load float, ptr %5, align 4
%37 = fmul float %35, %36
%38 = fpext float %37 to double
%39 = fcmp ogt double %38, 1.000000e+00
br i1 %39, label %40, label %43
40: ; preds = %14
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds float, ptr %41, i64 1
store float 1.000000e+00, ptr %42, align 4
br label %61
43: ; preds = %14
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds float, ptr %44, i64 1
%46 = load float, ptr %45, align 4
%47 = load float, ptr %5, align 4
%48 = fmul float %46, %47
%49 = fpext float %48 to double
%50 = fcmp olt double %49, 0.000000e+00
br i1 %50, label %51, label %54
51: ; preds = %43
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds float, ptr %52, i64 1
store float 0.000000e+00, ptr %53, align 4
br label %60
54: ; preds = %43
%55 = load float, ptr %5, align 4
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds float, ptr %56, i64 1
%58 = load float, ptr %57, align 4
%59 = fmul float %58, %55
store float %59, ptr %57, align 4
br label %60
60: ; preds = %54, %51
br label %61
61: ; preds = %60, %40
%62 = load ptr, ptr %8, align 8
%63 = getelementptr inbounds float, ptr %62, i64 0
%64 = load float, ptr %63, align 4
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds float, ptr %65, i64 1
%67 = load float, ptr %66, align 4
%68 = load ptr, ptr %8, align 8
%69 = getelementptr inbounds float, ptr %68, i64 2
%70 = load float, ptr %69, align 4
%71 = call ptr @HSLtoRGB(float noundef %64, float noundef %67, float noundef %70)
store ptr %71, ptr %9, align 8
%72 = load ptr, ptr %9, align 8
%73 = getelementptr inbounds i32, ptr %72, i64 0
%74 = load i32, ptr %73, align 4
%75 = trunc i32 %74 to i8
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
store i8 %75, ptr %79, align 1
%80 = load ptr, ptr %9, align 8
%81 = getelementptr inbounds i32, ptr %80, i64 1
%82 = load i32, ptr %81, align 4
%83 = trunc i32 %82 to i8
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %7, align 4
%86 = add nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %84, i64 %87
store i8 %83, ptr %88, align 1
%89 = load ptr, ptr %9, align 8
%90 = getelementptr inbounds i32, ptr %89, i64 2
%91 = load i32, ptr %90, align 4
%92 = trunc i32 %91 to i8
%93 = load ptr, ptr %4, align 8
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %94, 2
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %93, i64 %96
store i8 %92, ptr %97, align 1
%98 = load ptr, ptr %9, align 8
%99 = call i32 @free(ptr noundef %98)
br label %100
100: ; preds = %61
%101 = load i32, ptr %7, align 4
%102 = add nsw i32 %101, 3
store i32 %102, ptr %7, align 4
br label %10, !llvm.loop !6
103: ; preds = %10
ret void
}
declare ptr @RGBtoHSL(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
declare ptr @HSLtoRGB(float noundef, float noundef, float noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpinymmqwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setSaturation(ptr noundef %0, float noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store float %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %105
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %99
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = call ptr @RGBtoHSL(i8 noundef zeroext %18, i8 noundef zeroext %24, i8 noundef zeroext %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds float, ptr %32, i64 1
%34 = load float, ptr %33, align 4
%35 = load float, ptr %5, align 4
%36 = fmul float %34, %35
%37 = fpext float %36 to double
%38 = fcmp ogt double %37, 1.000000e+00
br i1 %38, label %39, label %42
39: ; preds = %13
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds float, ptr %40, i64 1
store float 1.000000e+00, ptr %41, align 4
br label %60
42: ; preds = %13
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds float, ptr %43, i64 1
%45 = load float, ptr %44, align 4
%46 = load float, ptr %5, align 4
%47 = fmul float %45, %46
%48 = fpext float %47 to double
%49 = fcmp olt double %48, 0.000000e+00
br i1 %49, label %50, label %53
50: ; preds = %42
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds float, ptr %51, i64 1
store float 0.000000e+00, ptr %52, align 4
br label %59
53: ; preds = %42
%54 = load float, ptr %5, align 4
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds float, ptr %55, i64 1
%57 = load float, ptr %56, align 4
%58 = fmul float %57, %54
store float %58, ptr %56, align 4
br label %59
59: ; preds = %53, %50
br label %60
60: ; preds = %59, %39
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds float, ptr %61, i64 0
%63 = load float, ptr %62, align 4
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds float, ptr %64, i64 1
%66 = load float, ptr %65, align 4
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds float, ptr %67, i64 2
%69 = load float, ptr %68, align 4
%70 = call ptr @HSLtoRGB(float noundef %63, float noundef %66, float noundef %69)
store ptr %70, ptr %9, align 8
%71 = load ptr, ptr %9, align 8
%72 = getelementptr inbounds i32, ptr %71, i64 0
%73 = load i32, ptr %72, align 4
%74 = trunc i32 %73 to i8
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
store i8 %74, ptr %78, align 1
%79 = load ptr, ptr %9, align 8
%80 = getelementptr inbounds i32, ptr %79, i64 1
%81 = load i32, ptr %80, align 4
%82 = trunc i32 %81 to i8
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %83, i64 %86
store i8 %82, ptr %87, align 1
%88 = load ptr, ptr %9, align 8
%89 = getelementptr inbounds i32, ptr %88, i64 2
%90 = load i32, ptr %89, align 4
%91 = trunc i32 %90 to i8
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 2
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
store i8 %91, ptr %96, align 1
%97 = load ptr, ptr %9, align 8
%98 = call i32 @free(ptr noundef %97)
br label %99
99: ; preds = %60
%100 = load i32, ptr %7, align 4
%101 = add nsw i32 %100, 3
store i32 %101, ptr %7, align 4
%102 = load i32, ptr %7, align 4
%103 = load i32, ptr %6, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %99
br label %105
105: ; preds = %._crit_edge, %3
ret void
}
declare ptr @RGBtoHSL(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
declare ptr @HSLtoRGB(float noundef, float noundef, float noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyvjzh2vu.c'
source_filename = "/tmp/tmpyvjzh2vu.c"
target datalayout = "e-m:e-p270: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/tmpyvjzh2vu.c"
target datalayout = "e-m:e-p270: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/tmpe85vc82e.c'
source_filename = "/tmp/tmpe85vc82e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @feed_exec(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i64 0, ptr %8, align 8
br label %10
10: ; preds = %32, %3
%11 = load i32, ptr %7, align 4
%12 = icmp sle i32 0, %11
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp ult i64 %14, %15
br label %17
17: ; preds = %13, %10
%18 = phi i1 [ false, %10 ], [ %16, %13 ]
br i1 %18, label %19, label %33
19: ; preds = %17
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %9, align 1
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %9, align 1
%26 = call i32 @feed_main_exec_char(ptr noundef %24, i8 noundef zeroext %25, i32 noundef 0)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp sle i32 0, %27
br i1 %28, label %29, label %32
29: ; preds = %19
%30 = load i64, ptr %8, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %8, align 8
br label %32
32: ; preds = %29, %19
br label %10, !llvm.loop !6
33: ; preds = %17
%34 = load i32, ptr %7, align 4
ret i32 %34
}
declare i32 @feed_main_exec_char(ptr noundef, i8 noundef zeroext, 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/tmpe85vc82e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @feed_exec(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i64 0, ptr %8, align 8
br label %10
10: ; preds = %32, %3
%11 = load i32, ptr %7, align 4
%12 = icmp sle i32 0, %11
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp ult i64 %14, %15
br label %17
17: ; preds = %13, %10
%18 = phi i1 [ false, %10 ], [ %16, %13 ]
br i1 %18, label %19, label %33
19: ; preds = %17
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %9, align 1
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %9, align 1
%26 = call i32 @feed_main_exec_char(ptr noundef %24, i8 noundef zeroext %25, i32 noundef 0)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp sle i32 0, %27
br i1 %28, label %29, label %32
29: ; preds = %19
%30 = load i64, ptr %8, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %8, align 8
br label %32
32: ; preds = %29, %19
br label %10, !llvm.loop !6
33: ; preds = %17
%34 = load i32, ptr %7, align 4
ret i32 %34
}
declare i32 @feed_main_exec_char(ptr noundef, i8 noundef zeroext, 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/tmp6hvfmidt.c'
source_filename = "/tmp/tmp6hvfmidt.c"
target datalayout = "e-m:e-p270: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/tmp6hvfmidt.c"
target datalayout = "e-m:e-p270: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/tmpr2wkm7oy.c'
source_filename = "/tmp/tmpr2wkm7oy.c"
target datalayout = "e-m:e-p270: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/tmpr2wkm7oy.c"
target datalayout = "e-m:e-p270: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/tmpemscy0o3.c'
source_filename = "/tmp/tmpemscy0o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_strncpy_warn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 3
%7 = call i32 @strncpy(ptr noundef %4, ptr noundef %6, i32 noundef 5)
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemscy0o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_strncpy_warn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 3
%7 = call i32 @strncpy(ptr noundef %4, ptr noundef %6, i32 noundef 5)
ret void
}
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"}
|
; ModuleID = '/tmp/tmps_dzm3qh.c'
source_filename = "/tmp/tmps_dzm3qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_ls_msg_line_per_page() #0 {
%1 = call i64 (...) @get_message_row()
ret i64 %1
}
declare i64 @get_message_row(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_dzm3qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_ls_msg_line_per_page() #0 {
%1 = call i64 (...) @get_message_row()
ret i64 %1
}
declare i64 @get_message_row(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp61i904mo.c'
source_filename = "/tmp/tmp61i904mo.c"
target datalayout = "e-m:e-p270: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
@SEEK_END = dso_local global i32 0, align 4
@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/tmp61i904mo.c"
target datalayout = "e-m:e-p270: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
@SEEK_END = dso_local global i32 0, align 4
@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/tmp_7j2b4p0.c'
source_filename = "/tmp/tmp_7j2b4p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %106
15: ; preds = %1
%16 = load ptr, ptr %7, align 8
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %30, %15
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = call i64 @isspace(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br label %27
27: ; preds = %22, %17
%28 = phi i1 [ false, %17 ], [ %26, %22 ]
br i1 %28, label %29, label %33
29: ; preds = %27
br label %30
30: ; preds = %29
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %3, align 8
br label %17, !llvm.loop !6
33: ; preds = %27
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %3, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %47
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %3, align 8
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %7, align 8
%42 = ptrtoint ptr %40 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = trunc i64 %44 to i32
%46 = call i32 @memmove(ptr noundef %38, ptr noundef %39, i32 noundef %45)
br label %47
47: ; preds = %37, %33
br label %48
48: ; preds = %80, %47
%49 = load ptr, ptr %3, align 8
%50 = load i8, ptr %49, align 1
%51 = icmp ne i8 %50, 0
br i1 %51, label %52, label %81
52: ; preds = %48
%53 = load ptr, ptr %3, align 8
%54 = load i8, ptr %53, align 1
%55 = call i64 @isspace(i8 noundef signext %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %63
57: ; preds = %52
%58 = load i32, ptr %6, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %3, align 8
br label %80
63: ; preds = %57, %52
%64 = load ptr, ptr %3, align 8
%65 = load i8, ptr %64, align 1
%66 = call i64 @isspace(i8 noundef signext %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %69, label %68
68: ; preds = %63
store i32 0, ptr %6, align 4
br label %71
69: ; preds = %63
%70 = load ptr, ptr %3, align 8
store i8 32, ptr %70, align 1
store i32 1, ptr %6, align 4
br label %71
71: ; preds = %69, %68
%72 = load ptr, ptr %3, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %3, align 8
%74 = load i8, ptr %72, align 1
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %5, align 4
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
store i8 %74, ptr %79, align 1
br label %80
80: ; preds = %71, %60
br label %48, !llvm.loop !8
81: ; preds = %48
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %5, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
store i8 0, ptr %85, align 1
br label %86
86: ; preds = %99, %81
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, -1
store i32 %88, ptr %5, align 4
%89 = icmp sge i32 %88, 0
br i1 %89, label %90, label %100
90: ; preds = %86
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %5, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
%95 = load i8, ptr %94, align 1
%96 = call i64 @isspace(i8 noundef signext %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %99, label %98
98: ; preds = %90
br label %100
99: ; preds = %90
br label %86, !llvm.loop !9
100: ; preds = %98, %86
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %5, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %101, i64 %104
store i8 0, ptr %105, align 1
br label %106
106: ; preds = %100, %1
%107 = load ptr, ptr %7, align 8
ret ptr %107
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i32 @memmove(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_7j2b4p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %110
15: ; preds = %1
%16 = load ptr, ptr %7, align 8
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %30, %15
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = call i64 @isspace(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br label %27
27: ; preds = %22, %17
%28 = phi i1 [ false, %17 ], [ %26, %22 ]
br i1 %28, label %29, label %33
29: ; preds = %27
br label %30
30: ; preds = %29
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %3, align 8
br label %17, !llvm.loop !6
33: ; preds = %27
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %3, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %47
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %3, align 8
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %7, align 8
%42 = ptrtoint ptr %40 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = trunc i64 %44 to i32
%46 = call i32 @memmove(ptr noundef %38, ptr noundef %39, i32 noundef %45)
br label %47
47: ; preds = %37, %33
%48 = load ptr, ptr %3, align 8
%49 = load i8, ptr %48, align 1
%50 = icmp ne i8 %49, 0
br i1 %50, label %.lr.ph, label %83
.lr.ph: ; preds = %47
br label %51
51: ; preds = %.lr.ph, %79
%52 = load ptr, ptr %3, align 8
%53 = load i8, ptr %52, align 1
%54 = call i64 @isspace(i8 noundef signext %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %51
%57 = load i32, ptr %6, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load ptr, ptr %3, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %3, align 8
br label %79
62: ; preds = %56, %51
%63 = load ptr, ptr %3, align 8
%64 = load i8, ptr %63, align 1
%65 = call i64 @isspace(i8 noundef signext %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %68, label %67
67: ; preds = %62
store i32 0, ptr %6, align 4
br label %70
68: ; preds = %62
%69 = load ptr, ptr %3, align 8
store i8 32, ptr %69, align 1
store i32 1, ptr %6, align 4
br label %70
70: ; preds = %68, %67
%71 = load ptr, ptr %3, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %3, align 8
%73 = load i8, ptr %71, align 1
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %5, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %5, align 4
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
store i8 %73, ptr %78, align 1
br label %79
79: ; preds = %70, %59
%80 = load ptr, ptr %3, align 8
%81 = load i8, ptr %80, align 1
%82 = icmp ne i8 %81, 0
br i1 %82, label %51, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %79
br label %83
83: ; preds = %._crit_edge, %47
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 0, ptr %87, align 1
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %5, align 4
%90 = icmp sge i32 %89, 0
br i1 %90, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %83
br label %95
91: ; preds = %95
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, -1
store i32 %93, ptr %5, align 4
%94 = icmp sge i32 %93, 0
br i1 %94, label %95, label %..loopexit_crit_edge, !llvm.loop !9
95: ; preds = %.lr.ph2, %91
%96 = load ptr, ptr %4, align 8
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = call i64 @isspace(i8 noundef signext %100)
%102 = icmp ne i64 %101, 0
br i1 %102, label %91, label %103
103: ; preds = %95
br label %104
..loopexit_crit_edge: ; preds = %91
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %83
br label %104
104: ; preds = %.loopexit, %103
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %5, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %5, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, ptr %105, i64 %108
store i8 0, ptr %109, align 1
br label %110
110: ; preds = %104, %1
%111 = load ptr, ptr %7, align 8
ret ptr %111
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i32 @memmove(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp89utyn6q.c'
source_filename = "/tmp/tmp89utyn6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nack event\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_USBNNackEvent() #0 {
%1 = alloca i8, align 1
%2 = call zeroext i8 @USBNRead(i32 noundef 14)
store i8 %2, ptr %1, align 1
%3 = call i32 @USBNDebug(ptr noundef @.str)
ret void
}
declare zeroext i8 @USBNRead(i32 noundef) #1
declare i32 @USBNDebug(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp89utyn6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nack event\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_USBNNackEvent() #0 {
%1 = alloca i8, align 1
%2 = call zeroext i8 @USBNRead(i32 noundef 14)
store i8 %2, ptr %1, align 1
%3 = call i32 @USBNDebug(ptr noundef @.str)
ret void
}
declare zeroext i8 @USBNRead(i32 noundef) #1
declare i32 @USBNDebug(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpibinfssk.c'
source_filename = "/tmp/tmpibinfssk.c"
target datalayout = "e-m:e-p270: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/tmpibinfssk.c"
target datalayout = "e-m:e-p270: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/tmpmy4efobl.c'
source_filename = "/tmp/tmpmy4efobl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Qual o custo de fabrica do carro? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\0AO custo final ao consumidor \C3\A9 de %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = sitofp i32 %7 to double
%9 = fmul double 2.800000e-01, %8
%10 = fptosi double %9 to i32
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = sitofp i32 %11 to double
%13 = fmul double 4.500000e-01, %12
%14 = fptosi double %13 to i32
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %17, %18
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
%21 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmy4efobl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Qual o custo de fabrica do carro? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\0AO custo final ao consumidor \C3\A9 de %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = sitofp i32 %7 to double
%9 = fmul double 2.800000e-01, %8
%10 = fptosi double %9 to i32
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = sitofp i32 %11 to double
%13 = fmul double 4.500000e-01, %12
%14 = fptosi double %13 to i32
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %17, %18
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
%21 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg_rdejog.c'
source_filename = "/tmp/tmpg_rdejog.c"
target datalayout = "e-m:e-p270: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/tmpg_rdejog.c"
target datalayout = "e-m:e-p270: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/tmpi5dl46cn.c'
source_filename = "/tmp/tmpi5dl46cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2int32(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 0, ptr %4, align 4
br label %21
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = call double @atof(ptr noundef %13)
store double %14, ptr %8, align 8
%15 = load double, ptr %8, align 8
%16 = load i32, ptr %7, align 4
%17 = call double @pow(i32 noundef 10, i32 noundef %16)
%18 = fmul double %15, %17
%19 = call i64 @round(double noundef %18)
%20 = load ptr, ptr %5, align 8
store i64 %19, ptr %20, align 8
store i32 1, ptr %4, align 4
br label %21
21: ; preds = %12, %11
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare double @atof(ptr noundef) #1
declare i64 @round(double noundef) #1
declare double @pow(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/tmpi5dl46cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2int32(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 0, ptr %4, align 4
br label %21
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = call double @atof(ptr noundef %13)
store double %14, ptr %8, align 8
%15 = load double, ptr %8, align 8
%16 = load i32, ptr %7, align 4
%17 = call double @pow(i32 noundef 10, i32 noundef %16)
%18 = fmul double %15, %17
%19 = call i64 @round(double noundef %18)
%20 = load ptr, ptr %5, align 8
store i64 %19, ptr %20, align 8
store i32 1, ptr %4, align 4
br label %21
21: ; preds = %12, %11
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare double @atof(ptr noundef) #1
declare i64 @round(double noundef) #1
declare double @pow(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/tmp6u6xv3ag.c'
source_filename = "/tmp/tmp6u6xv3ag.c"
target datalayout = "e-m:e-p270: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/tmp6u6xv3ag.c"
target datalayout = "e-m:e-p270: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/tmpz3j9bgy8.c'
source_filename = "/tmp/tmpz3j9bgy8.c"
target datalayout = "e-m:e-p270: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/tmpz3j9bgy8.c"
target datalayout = "e-m:e-p270: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/tmpadmvwktj.c'
source_filename = "/tmp/tmpadmvwktj.c"
target datalayout = "e-m:e-p270: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/tmpadmvwktj.c"
target datalayout = "e-m:e-p270: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/tmp4dh08nxj.c'
source_filename = "/tmp/tmp4dh08nxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @move(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @rename(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @rename(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/tmp4dh08nxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @move(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @rename(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @rename(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/tmpmc_cqjwm.c'
source_filename = "/tmp/tmpmc_cqjwm.c"
target datalayout = "e-m:e-p270: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/tmpmc_cqjwm.c"
target datalayout = "e-m:e-p270: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/tmpsd_t3er8.c'
source_filename = "/tmp/tmpsd_t3er8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [132 x i8] c"<CurrentTransportState>%s</CurrentTransportState><CurrentTransportStatus>%s</CurrentTransportStatus><CurrentSpeed>%s</CurrentSpeed>\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"urn:schemas-upnp-org:service:AVTransport:1\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"GetTransportInfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpResponse_MediaRenderer_AVTransport_GetTransportInfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%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 ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i64 @ILibXmlEscapeLength(ptr noundef %13)
%15 = add nsw i64 1, %14
%16 = call i64 @malloc(i64 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i64 @ILibXmlEscapeLength(ptr noundef %18)
%20 = add nsw i64 1, %19
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %11, align 8
%23 = load ptr, ptr %8, align 8
%24 = call i64 @ILibXmlEscapeLength(ptr noundef %23)
%25 = add nsw i64 1, %24
%26 = call i64 @malloc(i64 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %12, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 @ILibXmlEscape(ptr noundef %28, ptr noundef %29)
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %7, align 8
%33 = call i32 @ILibXmlEscape(ptr noundef %31, ptr noundef %32)
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i32 @ILibXmlEscape(ptr noundef %34, ptr noundef %35)
%37 = load ptr, ptr %10, align 8
%38 = call i64 @strlen(ptr noundef %37)
%39 = add nsw i64 126, %38
%40 = load ptr, ptr %11, align 8
%41 = call i64 @strlen(ptr noundef %40)
%42 = add nsw i64 %39, %41
%43 = load ptr, ptr %12, align 8
%44 = call i64 @strlen(ptr noundef %43)
%45 = add nsw i64 %42, %44
%46 = call i64 @malloc(i64 noundef %45)
%47 = inttoptr i64 %46 to ptr
store ptr %47, ptr %9, align 8
%48 = load ptr, ptr %9, align 8
%49 = load ptr, ptr %10, align 8
%50 = load ptr, ptr %11, align 8
%51 = load ptr, ptr %12, align 8
%52 = call i32 @sprintf(ptr noundef %48, ptr noundef @.str, ptr noundef %49, ptr noundef %50, ptr noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %9, align 8
%55 = call i32 @UpnpResponseGeneric(ptr noundef %53, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %54)
%56 = load ptr, ptr %9, align 8
%57 = call i32 @free(ptr noundef %56)
%58 = load ptr, ptr %10, align 8
%59 = call i32 @free(ptr noundef %58)
%60 = load ptr, ptr %11, align 8
%61 = call i32 @free(ptr noundef %60)
%62 = load ptr, ptr %12, align 8
%63 = call i32 @free(ptr noundef %62)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ILibXmlEscapeLength(ptr noundef) #1
declare i32 @ILibXmlEscape(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @UpnpResponseGeneric(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsd_t3er8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [132 x i8] c"<CurrentTransportState>%s</CurrentTransportState><CurrentTransportStatus>%s</CurrentTransportStatus><CurrentSpeed>%s</CurrentSpeed>\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"urn:schemas-upnp-org:service:AVTransport:1\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"GetTransportInfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpResponse_MediaRenderer_AVTransport_GetTransportInfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%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 ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i64 @ILibXmlEscapeLength(ptr noundef %13)
%15 = add nsw i64 1, %14
%16 = call i64 @malloc(i64 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i64 @ILibXmlEscapeLength(ptr noundef %18)
%20 = add nsw i64 1, %19
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %11, align 8
%23 = load ptr, ptr %8, align 8
%24 = call i64 @ILibXmlEscapeLength(ptr noundef %23)
%25 = add nsw i64 1, %24
%26 = call i64 @malloc(i64 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %12, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 @ILibXmlEscape(ptr noundef %28, ptr noundef %29)
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %7, align 8
%33 = call i32 @ILibXmlEscape(ptr noundef %31, ptr noundef %32)
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i32 @ILibXmlEscape(ptr noundef %34, ptr noundef %35)
%37 = load ptr, ptr %10, align 8
%38 = call i64 @strlen(ptr noundef %37)
%39 = add nsw i64 126, %38
%40 = load ptr, ptr %11, align 8
%41 = call i64 @strlen(ptr noundef %40)
%42 = add nsw i64 %39, %41
%43 = load ptr, ptr %12, align 8
%44 = call i64 @strlen(ptr noundef %43)
%45 = add nsw i64 %42, %44
%46 = call i64 @malloc(i64 noundef %45)
%47 = inttoptr i64 %46 to ptr
store ptr %47, ptr %9, align 8
%48 = load ptr, ptr %9, align 8
%49 = load ptr, ptr %10, align 8
%50 = load ptr, ptr %11, align 8
%51 = load ptr, ptr %12, align 8
%52 = call i32 @sprintf(ptr noundef %48, ptr noundef @.str, ptr noundef %49, ptr noundef %50, ptr noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %9, align 8
%55 = call i32 @UpnpResponseGeneric(ptr noundef %53, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %54)
%56 = load ptr, ptr %9, align 8
%57 = call i32 @free(ptr noundef %56)
%58 = load ptr, ptr %10, align 8
%59 = call i32 @free(ptr noundef %58)
%60 = load ptr, ptr %11, align 8
%61 = call i32 @free(ptr noundef %60)
%62 = load ptr, ptr %12, align 8
%63 = call i32 @free(ptr noundef %62)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ILibXmlEscapeLength(ptr noundef) #1
declare i32 @ILibXmlEscape(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @UpnpResponseGeneric(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdg5cuj48.c'
source_filename = "/tmp/tmpdg5cuj48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_divides(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = call i32 @__CrestCall(i32 noundef 3, i32 noundef 1)
%7 = ptrtoint ptr %4 to i64
%8 = call i32 @__CrestStore(i32 noundef 2, i64 noundef %7)
%9 = ptrtoint ptr %3 to i64
%10 = call i32 @__CrestStore(i32 noundef 1, i64 noundef %9)
%11 = ptrtoint ptr %4 to i64
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = call i32 @__CrestLoad(i32 noundef 8, i64 noundef %11, i64 noundef %13)
%15 = ptrtoint ptr %3 to i64
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = call i32 @__CrestLoad(i32 noundef 7, i64 noundef %15, i64 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = srem i32 %19, %20
%22 = sext i32 %21 to i64
%23 = call i32 @__CrestApply2(i32 noundef 6, i32 noundef 4, i64 noundef %22)
%24 = call i32 @__CrestLoad(i32 noundef 5, i64 noundef 0, i64 noundef 0)
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %3, align 4
%27 = srem i32 %25, %26
%28 = icmp eq i32 %27, 0
%29 = zext i1 %28 to i32
%30 = sext i32 %29 to i64
%31 = call i32 @__CrestApply2(i32 noundef 4, i32 noundef 12, i64 noundef %30)
%32 = ptrtoint ptr %5 to i64
%33 = call i32 @__CrestStore(i32 noundef 9, i64 noundef %32)
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = srem i32 %34, %35
%37 = icmp eq i32 %36, 0
%38 = zext i1 %37 to i32
store i32 %38, ptr %5, align 4
%39 = ptrtoint ptr %5 to i64
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = call i32 @__CrestLoad(i32 noundef 10, i64 noundef %39, i64 noundef %41)
%43 = call i32 @__CrestReturn(i32 noundef 11)
%44 = load i32, ptr %5, align 4
ret i32 %44
}
declare i32 @__CrestCall(i32 noundef, i32 noundef) #1
declare i32 @__CrestStore(i32 noundef, i64 noundef) #1
declare i32 @__CrestLoad(i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @__CrestApply2(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @__CrestReturn(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/tmpdg5cuj48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_divides(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = call i32 @__CrestCall(i32 noundef 3, i32 noundef 1)
%7 = ptrtoint ptr %4 to i64
%8 = call i32 @__CrestStore(i32 noundef 2, i64 noundef %7)
%9 = ptrtoint ptr %3 to i64
%10 = call i32 @__CrestStore(i32 noundef 1, i64 noundef %9)
%11 = ptrtoint ptr %4 to i64
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = call i32 @__CrestLoad(i32 noundef 8, i64 noundef %11, i64 noundef %13)
%15 = ptrtoint ptr %3 to i64
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = call i32 @__CrestLoad(i32 noundef 7, i64 noundef %15, i64 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = srem i32 %19, %20
%22 = sext i32 %21 to i64
%23 = call i32 @__CrestApply2(i32 noundef 6, i32 noundef 4, i64 noundef %22)
%24 = call i32 @__CrestLoad(i32 noundef 5, i64 noundef 0, i64 noundef 0)
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %3, align 4
%27 = srem i32 %25, %26
%28 = icmp eq i32 %27, 0
%29 = zext i1 %28 to i32
%30 = sext i32 %29 to i64
%31 = call i32 @__CrestApply2(i32 noundef 4, i32 noundef 12, i64 noundef %30)
%32 = ptrtoint ptr %5 to i64
%33 = call i32 @__CrestStore(i32 noundef 9, i64 noundef %32)
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = srem i32 %34, %35
%37 = icmp eq i32 %36, 0
%38 = zext i1 %37 to i32
store i32 %38, ptr %5, align 4
%39 = ptrtoint ptr %5 to i64
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = call i32 @__CrestLoad(i32 noundef 10, i64 noundef %39, i64 noundef %41)
%43 = call i32 @__CrestReturn(i32 noundef 11)
%44 = load i32, ptr %5, align 4
ret i32 %44
}
declare i32 @__CrestCall(i32 noundef, i32 noundef) #1
declare i32 @__CrestStore(i32 noundef, i64 noundef) #1
declare i32 @__CrestLoad(i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @__CrestApply2(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @__CrestReturn(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/tmp5ec9o_3z.c'
source_filename = "/tmp/tmp5ec9o_3z.c"
target datalayout = "e-m:e-p270: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/tmp5ec9o_3z.c"
target datalayout = "e-m:e-p270: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/tmpmpj4tm0o.c'
source_filename = "/tmp/tmpmpj4tm0o.c"
target datalayout = "e-m:e-p270: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/tmpmpj4tm0o.c"
target datalayout = "e-m:e-p270: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/tmp2l_zjqil.c'
source_filename = "/tmp/tmp2l_zjqil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @yap_fileexists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISREG(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %8
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(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/tmp2l_zjqil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @yap_fileexists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISREG(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %8
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(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/tmpcxr3115x.c'
source_filename = "/tmp/tmpcxr3115x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lwm2m_strdup(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 @strdup(ptr noundef %3)
ret ptr %4
}
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcxr3115x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lwm2m_strdup(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 @strdup(ptr noundef %3)
ret ptr %4
}
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsa60f031.c'
source_filename = "/tmp/tmpsa60f031.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elliott_symmetric_derivative(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = fmul double %7, 1.000000e+00
%9 = call double @llvm.fabs.f64(double %8)
%10 = fadd double 1.000000e+00, %9
store double %10, ptr %5, align 8
%11 = load double, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = fmul double %11, %12
%14 = fdiv double 1.000000e+00, %13
ret double %14
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsa60f031.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elliott_symmetric_derivative(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = fmul double %7, 1.000000e+00
%9 = call double @llvm.fabs.f64(double %8)
%10 = fadd double 1.000000e+00, %9
store double %10, ptr %5, align 8
%11 = load double, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = fmul double %11, %12
%14 = fdiv double 1.000000e+00, %13
ret double %14
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqs9yd2ss.c'
source_filename = "/tmp/tmpqs9yd2ss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_extract(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 @prepare_layout_for_extraction(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @do_read(ptr noundef %5, ptr noundef null)
ret i32 %6
}
declare i32 @prepare_layout_for_extraction(ptr noundef) #1
declare i32 @do_read(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/tmpqs9yd2ss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_extract(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 @prepare_layout_for_extraction(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @do_read(ptr noundef %5, ptr noundef null)
ret i32 %6
}
declare i32 @prepare_layout_for_extraction(ptr noundef) #1
declare i32 @do_read(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/tmphsez9lbr.c'
source_filename = "/tmp/tmphsez9lbr.c"
target datalayout = "e-m:e-p270: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/tmphsez9lbr.c"
target datalayout = "e-m:e-p270: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/tmpomo3k7yn.c'
source_filename = "/tmp/tmpomo3k7yn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Gewonnen!\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Unentschieden!\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @setbuf(i32 noundef %6, ptr noundef null)
store i32 64, ptr %2, align 4
store i32 1, ptr %5, align 4
%8 = call i32 (...) @init()
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = call i32 @erg(i32 noundef %13)
%15 = icmp slt i32 %14, 4
br label %16
16: ; preds = %12, %9
%17 = phi i1 [ false, %9 ], [ %15, %12 ]
br i1 %17, label %18, label %30
18: ; preds = %16
%19 = call i32 (...) @zeile()
store i32 %19, ptr %3, align 4
%20 = call i32 (...) @spalte()
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = mul nsw i32 %21, -1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 @ausgabe(i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = call i32 @printf(ptr noundef @.str)
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %2, align 4
br label %9, !llvm.loop !6
30: ; preds = %16
%31 = load i32, ptr %2, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @printf(ptr noundef @.str.1)
br label %37
35: ; preds = %30
%36 = call i32 @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %33
%38 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %38
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @init(...) #1
declare i32 @erg(i32 noundef) #1
declare i32 @zeile(...) #1
declare i32 @spalte(...) #1
declare i32 @ausgabe(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpomo3k7yn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Gewonnen!\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Unentschieden!\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @setbuf(i32 noundef %6, ptr noundef null)
store i32 64, ptr %2, align 4
store i32 1, ptr %5, align 4
%8 = call i32 (...) @init()
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = call i32 @erg(i32 noundef %13)
%15 = icmp slt i32 %14, 4
br label %16
16: ; preds = %12, %9
%17 = phi i1 [ false, %9 ], [ %15, %12 ]
br i1 %17, label %18, label %30
18: ; preds = %16
%19 = call i32 (...) @zeile()
store i32 %19, ptr %3, align 4
%20 = call i32 (...) @spalte()
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = mul nsw i32 %21, -1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 @ausgabe(i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = call i32 @printf(ptr noundef @.str)
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %2, align 4
br label %9, !llvm.loop !6
30: ; preds = %16
%31 = load i32, ptr %2, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @printf(ptr noundef @.str.1)
br label %37
35: ; preds = %30
%36 = call i32 @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %33
%38 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %38
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @init(...) #1
declare i32 @erg(i32 noundef) #1
declare i32 @zeile(...) #1
declare i32 @spalte(...) #1
declare i32 @ausgabe(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphhnflg9i.c'
source_filename = "/tmp/tmphhnflg9i.c"
target datalayout = "e-m:e-p270: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/tmphhnflg9i.c"
target datalayout = "e-m:e-p270: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/tmp2w_q7zol.c'
source_filename = "/tmp/tmp2w_q7zol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"3\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"loop\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"4\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"5\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"6\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"7\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"8\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 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %29
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.1)
br label %37
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.2)
br label %15
15: ; preds = %13
br label %16
16: ; preds = %15
br label %17
17: ; preds = %44, %16
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %47
20: ; preds = %17
%21 = call i32 @printf(ptr noundef @.str.3)
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, 111
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.2)
br label %28
26: ; preds = %20
%27 = call i32 @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %24
br label %29
29: ; preds = %28, %6
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 222
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(ptr noundef @.str.5)
br label %36
34: ; preds = %29
%35 = call i32 @printf(ptr noundef @.str.6)
br label %36
36: ; preds = %34, %32
br label %37
37: ; preds = %36, %11
%38 = load i32, ptr %3, align 4
%39 = icmp eq i32 %38, 333
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(ptr noundef @.str.7)
br label %44
42: ; preds = %37
%43 = call i32 @printf(ptr noundef @.str.8)
br label %44
44: ; preds = %42, %40
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
br label %17, !llvm.loop !6
47: ; preds = %17
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2w_q7zol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"3\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"loop\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"4\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"5\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"6\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"7\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"8\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 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %29
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.1)
br label %37
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.2)
br label %15
15: ; preds = %13
br label %16
16: ; preds = %15
br label %17
17: ; preds = %44, %16
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %47
20: ; preds = %17
%21 = call i32 @printf(ptr noundef @.str.3)
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, 111
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.2)
br label %28
26: ; preds = %20
%27 = call i32 @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %24
br label %29
29: ; preds = %28, %6
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 222
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(ptr noundef @.str.5)
br label %36
34: ; preds = %29
%35 = call i32 @printf(ptr noundef @.str.6)
br label %36
36: ; preds = %34, %32
br label %37
37: ; preds = %36, %11
%38 = load i32, ptr %3, align 4
%39 = icmp eq i32 %38, 333
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(ptr noundef @.str.7)
br label %44
42: ; preds = %37
%43 = call i32 @printf(ptr noundef @.str.8)
br label %44
44: ; preds = %42, %40
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
br label %17, !llvm.loop !6
47: ; preds = %17
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkkceflja.c'
source_filename = "/tmp/tmpkkceflja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Act_MulF() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @ArgNum()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = call i32 @GetFlag(i32 noundef %4)
%6 = call i32 (...) @ArgNum()
%7 = call i32 @GetFlag(i32 noundef %6)
%8 = mul nsw i32 %5, %7
%9 = call i32 @SetFlag(i32 noundef %3, i32 noundef %8)
ret void
}
declare i32 @ArgNum(...) #1
declare i32 @SetFlag(i32 noundef, i32 noundef) #1
declare i32 @GetFlag(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/tmpkkceflja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Act_MulF() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @ArgNum()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = call i32 @GetFlag(i32 noundef %4)
%6 = call i32 (...) @ArgNum()
%7 = call i32 @GetFlag(i32 noundef %6)
%8 = mul nsw i32 %5, %7
%9 = call i32 @SetFlag(i32 noundef %3, i32 noundef %8)
ret void
}
declare i32 @ArgNum(...) #1
declare i32 @SetFlag(i32 noundef, i32 noundef) #1
declare i32 @GetFlag(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/tmpo55knzzj.c'
source_filename = "/tmp/tmpo55knzzj.c"
target datalayout = "e-m:e-p270: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/tmpo55knzzj.c"
target datalayout = "e-m:e-p270: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/tmp0hsh23lt.c'
source_filename = "/tmp/tmp0hsh23lt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_ninja_b_c_bc_i4_d() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store i32 21, ptr %1, align 4
store i32 23, ptr %2, align 4
store i32 25, ptr %3, align 4
%22 = load i32, ptr %1, align 4
%23 = zext i32 %22 to i64
%24 = load i32, ptr %2, align 4
%25 = zext i32 %24 to i64
%26 = call ptr @llvm.stacksave()
store ptr %26, ptr %4, align 8
%27 = mul nuw i64 %23, %25
%28 = alloca i32, i64 %27, align 16
store i64 %23, ptr %5, align 8
store i64 %25, ptr %6, align 8
%29 = load i32, ptr %2, align 4
%30 = zext i32 %29 to i64
%31 = load i32, ptr %3, align 4
%32 = zext i32 %31 to i64
%33 = mul nuw i64 %30, %32
%34 = alloca i32, i64 %33, align 16
store i64 %30, ptr %7, align 8
store i64 %32, ptr %8, align 8
%35 = load i32, ptr %1, align 4
%36 = zext i32 %35 to i64
%37 = load i32, ptr %3, align 4
%38 = zext i32 %37 to i64
%39 = mul nuw i64 %36, %38
%40 = alloca i32, i64 %39, align 16
store i64 %36, ptr %9, align 8
store i64 %38, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %41
41: ; preds = %68, %0
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %1, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %71
45: ; preds = %41
store i32 0, ptr %12, align 4
br label %46
46: ; preds = %64, %45
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %2, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %67
50: ; preds = %46
%51 = load i32, ptr %11, align 4
%52 = load i32, ptr %1, align 4
%53 = mul nsw i32 %51, %52
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %53, %54
%56 = add nsw i32 %55, 1
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = mul nsw i64 %58, %25
%60 = getelementptr inbounds i32, ptr %28, i64 %59
%61 = load i32, ptr %12, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
store i32 %56, ptr %63, align 4
br label %64
64: ; preds = %50
%65 = load i32, ptr %12, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %12, align 4
br label %46, !llvm.loop !6
67: ; preds = %46
br label %68
68: ; preds = %67
%69 = load i32, ptr %11, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %11, align 4
br label %41, !llvm.loop !8
71: ; preds = %41
store i32 0, ptr %11, align 4
br label %72
72: ; preds = %99, %71
%73 = load i32, ptr %11, align 4
%74 = load i32, ptr %2, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %102
76: ; preds = %72
store i32 0, ptr %12, align 4
br label %77
77: ; preds = %95, %76
%78 = load i32, ptr %12, align 4
%79 = load i32, ptr %3, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %98
81: ; preds = %77
%82 = load i32, ptr %12, align 4
%83 = load i32, ptr %3, align 4
%84 = mul nsw i32 %82, %83
%85 = load i32, ptr %11, align 4
%86 = add nsw i32 %84, %85
%87 = add nsw i32 %86, 1
%88 = load i32, ptr %11, align 4
%89 = sext i32 %88 to i64
%90 = mul nsw i64 %89, %32
%91 = getelementptr inbounds i32, ptr %34, i64 %90
%92 = load i32, ptr %12, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
store i32 %87, ptr %94, align 4
br label %95
95: ; preds = %81
%96 = load i32, ptr %12, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %12, align 4
br label %77, !llvm.loop !9
98: ; preds = %77
br label %99
99: ; preds = %98
%100 = load i32, ptr %11, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %11, align 4
br label %72, !llvm.loop !10
102: ; preds = %72
store i32 0, ptr %11, align 4
br label %103
103: ; preds = %124, %102
%104 = load i32, ptr %11, align 4
%105 = load i32, ptr %1, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %127
107: ; preds = %103
store i32 0, ptr %12, align 4
br label %108
108: ; preds = %120, %107
%109 = load i32, ptr %12, align 4
%110 = load i32, ptr %3, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %123
112: ; preds = %108
%113 = load i32, ptr %11, align 4
%114 = sext i32 %113 to i64
%115 = mul nsw i64 %114, %38
%116 = getelementptr inbounds i32, ptr %40, i64 %115
%117 = load i32, ptr %12, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %116, i64 %118
store i32 0, ptr %119, align 4
br label %120
120: ; preds = %112
%121 = load i32, ptr %12, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %12, align 4
br label %108, !llvm.loop !11
123: ; preds = %108
br label %124
124: ; preds = %123
%125 = load i32, ptr %11, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %11, align 4
br label %103, !llvm.loop !12
127: ; preds = %103
%128 = call i32 @xmp_desc_of(ptr noundef %40)
%129 = call i32 @xmp_desc_of(ptr noundef %28)
%130 = call i32 @xmp_desc_of(ptr noundef %34)
%131 = call i32 @xmp_matmul(i32 noundef %128, i32 noundef %129, i32 noundef %130)
store i32 0, ptr %13, align 4
%132 = load i32, ptr %1, align 4
%133 = sitofp i32 %132 to double
store double %133, ptr %14, align 8
%134 = load i32, ptr %2, align 4
%135 = sitofp i32 %134 to double
store double %135, ptr %15, align 8
%136 = load i32, ptr %3, align 4
%137 = sitofp i32 %136 to double
store double %137, ptr %16, align 8
%138 = load double, ptr %15, align 8
%139 = load double, ptr %15, align 8
%140 = fadd double %139, 1.000000e+00
%141 = fmul double %138, %140
%142 = load double, ptr %15, align 8
%143 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %142, double 1.000000e+00)
%144 = fmul double %141, %143
%145 = fdiv double %144, 6.000000e+00
store double %145, ptr %17, align 8
%146 = load double, ptr %15, align 8
%147 = load double, ptr %15, align 8
%148 = fadd double %147, 1.000000e+00
%149 = fmul double %146, %148
%150 = fdiv double %149, 2.000000e+00
store double %150, ptr %18, align 8
store i32 0, ptr %11, align 4
br label %151
151: ; preds = %199, %127
%152 = load i32, ptr %11, align 4
%153 = load i32, ptr %1, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %202
155: ; preds = %151
store i32 0, ptr %12, align 4
br label %156
156: ; preds = %195, %155
%157 = load i32, ptr %12, align 4
%158 = load i32, ptr %3, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %160, label %198
160: ; preds = %156
%161 = load i32, ptr %11, align 4
%162 = sitofp i32 %161 to double
%163 = load double, ptr %14, align 8
%164 = fmul double %162, %163
store double %164, ptr %20, align 8
%165 = load i32, ptr %12, align 4
%166 = sitofp i32 %165 to double
%167 = load double, ptr %16, align 8
%168 = fmul double %166, %167
store double %168, ptr %21, align 8
%169 = load double, ptr %17, align 8
%170 = load double, ptr %18, align 8
%171 = load double, ptr %20, align 8
%172 = load double, ptr %21, align 8
%173 = fadd double %171, %172
%174 = call double @llvm.fmuladd.f64(double %170, double %173, double %169)
%175 = load double, ptr %20, align 8
%176 = load double, ptr %21, align 8
%177 = fmul double %175, %176
%178 = load double, ptr %15, align 8
%179 = call double @llvm.fmuladd.f64(double %177, double %178, double %174)
store double %179, ptr %19, align 8
%180 = load i32, ptr %13, align 4
%181 = sitofp i32 %180 to double
%182 = load i32, ptr %11, align 4
%183 = sext i32 %182 to i64
%184 = mul nsw i64 %183, %38
%185 = getelementptr inbounds i32, ptr %40, i64 %184
%186 = load i32, ptr %12, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i32, ptr %185, i64 %187
%189 = load i32, ptr %188, align 4
%190 = sitofp i32 %189 to double
%191 = load double, ptr %19, align 8
%192 = fsub double %190, %191
%193 = fadd double %181, %192
%194 = fptosi double %193 to i32
store i32 %194, ptr %13, align 4
br label %195
195: ; preds = %160
%196 = load i32, ptr %12, align 4
%197 = add nsw i32 %196, 1
store i32 %197, ptr %12, align 4
br label %156, !llvm.loop !13
198: ; preds = %156
br label %199
199: ; preds = %198
%200 = load i32, ptr %11, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %11, align 4
br label %151, !llvm.loop !14
202: ; preds = %151
%203 = load i32, ptr %13, align 4
%204 = call i32 @chk_int(i32 noundef %203)
%205 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %205)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @xmp_matmul(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @xmp_desc_of(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @chk_int(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hsh23lt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_ninja_b_c_bc_i4_d() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store i32 21, ptr %1, align 4
store i32 23, ptr %2, align 4
store i32 25, ptr %3, align 4
%22 = load i32, ptr %1, align 4
%23 = zext i32 %22 to i64
%24 = load i32, ptr %2, align 4
%25 = zext i32 %24 to i64
%26 = call ptr @llvm.stacksave()
store ptr %26, ptr %4, align 8
%27 = mul nuw i64 %23, %25
%28 = alloca i32, i64 %27, align 16
store i64 %23, ptr %5, align 8
store i64 %25, ptr %6, align 8
%29 = load i32, ptr %2, align 4
%30 = zext i32 %29 to i64
%31 = load i32, ptr %3, align 4
%32 = zext i32 %31 to i64
%33 = mul nuw i64 %30, %32
%34 = alloca i32, i64 %33, align 16
store i64 %30, ptr %7, align 8
store i64 %32, ptr %8, align 8
%35 = load i32, ptr %1, align 4
%36 = zext i32 %35 to i64
%37 = load i32, ptr %3, align 4
%38 = zext i32 %37 to i64
%39 = mul nuw i64 %36, %38
%40 = alloca i32, i64 %39, align 16
store i64 %36, ptr %9, align 8
store i64 %38, ptr %10, align 8
store i32 0, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %75
.lr.ph2: ; preds = %0
br label %44
44: ; preds = %.lr.ph2, %69
store i32 0, ptr %12, align 4
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %68
.lr.ph: ; preds = %44
br label %48
48: ; preds = %.lr.ph, %62
%49 = load i32, ptr %11, align 4
%50 = load i32, ptr %1, align 4
%51 = mul nsw i32 %49, %50
%52 = load i32, ptr %12, align 4
%53 = add nsw i32 %51, %52
%54 = add nsw i32 %53, 1
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = mul nsw i64 %56, %25
%58 = getelementptr inbounds i32, ptr %28, i64 %57
%59 = load i32, ptr %12, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %54, ptr %61, align 4
br label %62
62: ; preds = %48
%63 = load i32, ptr %12, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %12, align 4
%65 = load i32, ptr %12, align 4
%66 = load i32, ptr %2, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %44
br label %69
69: ; preds = %68
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %1, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %0
store i32 0, ptr %11, align 4
%76 = load i32, ptr %11, align 4
%77 = load i32, ptr %2, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph8, label %110
.lr.ph8: ; preds = %75
br label %79
79: ; preds = %.lr.ph8, %104
store i32 0, ptr %12, align 4
%80 = load i32, ptr %12, align 4
%81 = load i32, ptr %3, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %.lr.ph5, label %103
.lr.ph5: ; preds = %79
br label %83
83: ; preds = %.lr.ph5, %97
%84 = load i32, ptr %12, align 4
%85 = load i32, ptr %3, align 4
%86 = mul nsw i32 %84, %85
%87 = load i32, ptr %11, align 4
%88 = add nsw i32 %86, %87
%89 = add nsw i32 %88, 1
%90 = load i32, ptr %11, align 4
%91 = sext i32 %90 to i64
%92 = mul nsw i64 %91, %32
%93 = getelementptr inbounds i32, ptr %34, i64 %92
%94 = load i32, ptr %12, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
store i32 %89, ptr %96, align 4
br label %97
97: ; preds = %83
%98 = load i32, ptr %12, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %12, align 4
%100 = load i32, ptr %12, align 4
%101 = load i32, ptr %3, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %83, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %97
br label %103
103: ; preds = %._crit_edge6, %79
br label %104
104: ; preds = %103
%105 = load i32, ptr %11, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %11, align 4
%107 = load i32, ptr %11, align 4
%108 = load i32, ptr %2, align 4
%109 = icmp slt i32 %107, %108
br i1 %109, label %79, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %104
br label %110
110: ; preds = %._crit_edge9, %75
store i32 0, ptr %11, align 4
%111 = load i32, ptr %11, align 4
%112 = load i32, ptr %1, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %.lr.ph14, label %139
.lr.ph14: ; preds = %110
br label %114
114: ; preds = %.lr.ph14, %133
store i32 0, ptr %12, align 4
%115 = load i32, ptr %12, align 4
%116 = load i32, ptr %3, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %.lr.ph11, label %132
.lr.ph11: ; preds = %114
br label %118
118: ; preds = %.lr.ph11, %126
%119 = load i32, ptr %11, align 4
%120 = sext i32 %119 to i64
%121 = mul nsw i64 %120, %38
%122 = getelementptr inbounds i32, ptr %40, i64 %121
%123 = load i32, ptr %12, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
store i32 0, ptr %125, align 4
br label %126
126: ; preds = %118
%127 = load i32, ptr %12, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %12, align 4
%129 = load i32, ptr %12, align 4
%130 = load i32, ptr %3, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %118, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %126
br label %132
132: ; preds = %._crit_edge12, %114
br label %133
133: ; preds = %132
%134 = load i32, ptr %11, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %11, align 4
%136 = load i32, ptr %11, align 4
%137 = load i32, ptr %1, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %114, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %133
br label %139
139: ; preds = %._crit_edge15, %110
%140 = call i32 @xmp_desc_of(ptr noundef %40)
%141 = call i32 @xmp_desc_of(ptr noundef %28)
%142 = call i32 @xmp_desc_of(ptr noundef %34)
%143 = call i32 @xmp_matmul(i32 noundef %140, i32 noundef %141, i32 noundef %142)
store i32 0, ptr %13, align 4
%144 = load i32, ptr %1, align 4
%145 = sitofp i32 %144 to double
store double %145, ptr %14, align 8
%146 = load i32, ptr %2, align 4
%147 = sitofp i32 %146 to double
store double %147, ptr %15, align 8
%148 = load i32, ptr %3, align 4
%149 = sitofp i32 %148 to double
store double %149, ptr %16, align 8
%150 = load double, ptr %15, align 8
%151 = load double, ptr %15, align 8
%152 = fadd double %151, 1.000000e+00
%153 = fmul double %150, %152
%154 = load double, ptr %15, align 8
%155 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %154, double 1.000000e+00)
%156 = fmul double %153, %155
%157 = fdiv double %156, 6.000000e+00
store double %157, ptr %17, align 8
%158 = load double, ptr %15, align 8
%159 = load double, ptr %15, align 8
%160 = fadd double %159, 1.000000e+00
%161 = fmul double %158, %160
%162 = fdiv double %161, 2.000000e+00
store double %162, ptr %18, align 8
store i32 0, ptr %11, align 4
%163 = load i32, ptr %11, align 4
%164 = load i32, ptr %1, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %.lr.ph20, label %218
.lr.ph20: ; preds = %139
br label %166
166: ; preds = %.lr.ph20, %212
store i32 0, ptr %12, align 4
%167 = load i32, ptr %12, align 4
%168 = load i32, ptr %3, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %.lr.ph17, label %211
.lr.ph17: ; preds = %166
br label %170
170: ; preds = %.lr.ph17, %205
%171 = load i32, ptr %11, align 4
%172 = sitofp i32 %171 to double
%173 = load double, ptr %14, align 8
%174 = fmul double %172, %173
store double %174, ptr %20, align 8
%175 = load i32, ptr %12, align 4
%176 = sitofp i32 %175 to double
%177 = load double, ptr %16, align 8
%178 = fmul double %176, %177
store double %178, ptr %21, align 8
%179 = load double, ptr %17, align 8
%180 = load double, ptr %18, align 8
%181 = load double, ptr %20, align 8
%182 = load double, ptr %21, align 8
%183 = fadd double %181, %182
%184 = call double @llvm.fmuladd.f64(double %180, double %183, double %179)
%185 = load double, ptr %20, align 8
%186 = load double, ptr %21, align 8
%187 = fmul double %185, %186
%188 = load double, ptr %15, align 8
%189 = call double @llvm.fmuladd.f64(double %187, double %188, double %184)
store double %189, ptr %19, align 8
%190 = load i32, ptr %13, align 4
%191 = sitofp i32 %190 to double
%192 = load i32, ptr %11, align 4
%193 = sext i32 %192 to i64
%194 = mul nsw i64 %193, %38
%195 = getelementptr inbounds i32, ptr %40, i64 %194
%196 = load i32, ptr %12, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i32, ptr %195, i64 %197
%199 = load i32, ptr %198, align 4
%200 = sitofp i32 %199 to double
%201 = load double, ptr %19, align 8
%202 = fsub double %200, %201
%203 = fadd double %191, %202
%204 = fptosi double %203 to i32
store i32 %204, ptr %13, align 4
br label %205
205: ; preds = %170
%206 = load i32, ptr %12, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %12, align 4
%208 = load i32, ptr %12, align 4
%209 = load i32, ptr %3, align 4
%210 = icmp slt i32 %208, %209
br i1 %210, label %170, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %205
br label %211
211: ; preds = %._crit_edge18, %166
br label %212
212: ; preds = %211
%213 = load i32, ptr %11, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %11, align 4
%215 = load i32, ptr %11, align 4
%216 = load i32, ptr %1, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %166, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %212
br label %218
218: ; preds = %._crit_edge21, %139
%219 = load i32, ptr %13, align 4
%220 = call i32 @chk_int(i32 noundef %219)
%221 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %221)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @xmp_matmul(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @xmp_desc_of(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @chk_int(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpf9ij6zmy.c'
source_filename = "/tmp/tmpf9ij6zmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peak_to_spl(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %30, %3
%9 = load i32, ptr %7, align 4
%10 = sext i32 %9 to i64
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %33
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds float, ptr %14, i64 %16
%18 = load float, ptr %17, align 4
%19 = fpext float %18 to double
%20 = fadd double %19, 0x3CB0000000000000
%21 = fptrunc double %20 to float
%22 = call i32 @log10(float noundef %21)
%23 = mul nsw i32 20, %22
%24 = add nsw i32 100, %23
%25 = sitofp i32 %24 to float
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %26, i64 %28
store float %25, ptr %29, align 4
br label %30
30: ; preds = %13
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %8, !llvm.loop !6
33: ; preds = %8
ret void
}
declare i32 @log10(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf9ij6zmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peak_to_spl(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = sext i32 %8 to i64
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %29
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds float, ptr %13, i64 %15
%17 = load float, ptr %16, align 4
%18 = fpext float %17 to double
%19 = fadd double %18, 0x3CB0000000000000
%20 = fptrunc double %19 to float
%21 = call i32 @log10(float noundef %20)
%22 = mul nsw i32 20, %21
%23 = add nsw i32 100, %22
%24 = sitofp i32 %23 to float
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds float, ptr %25, i64 %27
store float %24, ptr %28, align 4
br label %29
29: ; preds = %12
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %6, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %3
ret void
}
declare i32 @log10(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.