llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmprhm8jb8w.c' source_filename = "/tmp/tmprhm8jb8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cme/toolbag/refs/heads/master/test_lock_mem.c\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 ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 12, ptr %5, align 4 %6 = call i32 @lock_mem(ptr noundef %5) %7 = call i32 @check_locked(ptr noundef @.str, i32 noundef 6) store i32 13, ptr %5, align 4 %8 = call i32 @check_locked(ptr noundef @.str, i32 noundef 8) ret i32 0 } declare i32 @lock_mem(ptr noundef) #1 declare i32 @check_locked(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/tmprhm8jb8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cme/toolbag/refs/heads/master/test_lock_mem.c\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 ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 12, ptr %5, align 4 %6 = call i32 @lock_mem(ptr noundef %5) %7 = call i32 @check_locked(ptr noundef @.str, i32 noundef 6) store i32 13, ptr %5, align 4 %8 = call i32 @check_locked(ptr noundef @.str, i32 noundef 8) ret i32 0 } declare i32 @lock_mem(ptr noundef) #1 declare i32 @check_locked(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/tmp9zezmig3.c' source_filename = "/tmp/tmp9zezmig3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %3, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 10 br i1 %14, label %15, label %20 15: ; preds = %1 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %15, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zezmig3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %3, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 10 br i1 %14, label %15, label %20 15: ; preds = %1 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %15, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz1ajiw98.c' source_filename = "/tmp/tmpz1ajiw98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 br label %16 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 @foo1(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %6 %13 = call i32 @freeWakeLock(i32 noundef 0) br label %16 14: ; preds = %6 %15 = call i32 @getWakeLock(i32 noundef 1) br label %16 16: ; preds = %5, %14, %12 ret void } declare i32 @foo1(i32 noundef) #1 declare i32 @freeWakeLock(i32 noundef) #1 declare i32 @getWakeLock(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/tmpz1ajiw98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 br label %16 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 @foo1(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %6 %13 = call i32 @freeWakeLock(i32 noundef 0) br label %16 14: ; preds = %6 %15 = call i32 @getWakeLock(i32 noundef 1) br label %16 16: ; preds = %14, %12, %5 ret void } declare i32 @foo1(i32 noundef) #1 declare i32 @freeWakeLock(i32 noundef) #1 declare i32 @getWakeLock(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/tmpwbx3xnet.c' source_filename = "/tmp/tmpwbx3xnet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Proc2 starting.\0A\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"localhost | %d | bigint TIMESTAMP, string SYMBOL, bigint EXCHTIMESTAMP, bigint RECEIVEDTIME, double BID, double BIDSIZE, double ASK, double ASKSIZE \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"proc2query\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"PAUSING WSQ engine, run compiled query manually...\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"ConnectRemoteIn\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"20\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"Printer\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"NETSTRM: \00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"pid is 000000000000\0A\00", align 1 @__const.main.cmd = private unnamed_addr constant [128 x i8] c"WSQ_OPTLVL=3 WSQ_MAXSPEED=1 ./proc2query.exe\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [2048 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca [128 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str) %10 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef 9877) %12 = call i32 @WSQ_Init(ptr noundef @.str.2) %13 = call i32 @WSQ_SetQueryName(ptr noundef @.str.3) %14 = call i32 (...) @WSQ_Pause() %15 = call i32 @printf(ptr noundef @.str.4) %16 = call i32 @WSQ_BeginTransaction(i32 noundef 1001) %17 = call i32 @WSQ_BeginSubgraph(i32 noundef 101) %18 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @WSQ_AddOp(i32 noundef 20, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.6, ptr noundef %18) %20 = call i32 @WSQ_AddOp(i32 noundef 21, ptr noundef @.str.7, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.8) %21 = call i32 (...) @WSQ_EndSubgraph() %22 = call i32 (...) @WSQ_EndTransaction() store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %2 %26 = call i32 @printf(ptr noundef @.str.9) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.cmd, i64 128, i1 false) %27 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %28 = call i32 @system(ptr noundef %27) br label %29 29: ; preds = %25, %2 %30 = call i32 (...) @WSQ_Shutdown() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @WSQ_Init(ptr noundef) #1 declare i32 @WSQ_SetQueryName(ptr noundef) #1 declare i32 @WSQ_Pause(...) #1 declare i32 @WSQ_BeginTransaction(i32 noundef) #1 declare i32 @WSQ_BeginSubgraph(i32 noundef) #1 declare i32 @WSQ_AddOp(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @WSQ_EndSubgraph(...) #1 declare i32 @WSQ_EndTransaction(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @system(ptr noundef) #1 declare i32 @WSQ_Shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwbx3xnet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Proc2 starting.\0A\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"localhost | %d | bigint TIMESTAMP, string SYMBOL, bigint EXCHTIMESTAMP, bigint RECEIVEDTIME, double BID, double BIDSIZE, double ASK, double ASKSIZE \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"proc2query\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"PAUSING WSQ engine, run compiled query manually...\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"ConnectRemoteIn\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"20\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"Printer\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"NETSTRM: \00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"pid is 000000000000\0A\00", align 1 @__const.main.cmd = private unnamed_addr constant [128 x i8] c"WSQ_OPTLVL=3 WSQ_MAXSPEED=1 ./proc2query.exe\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [2048 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca [128 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str) %10 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef 9877) %12 = call i32 @WSQ_Init(ptr noundef @.str.2) %13 = call i32 @WSQ_SetQueryName(ptr noundef @.str.3) %14 = call i32 (...) @WSQ_Pause() %15 = call i32 @printf(ptr noundef @.str.4) %16 = call i32 @WSQ_BeginTransaction(i32 noundef 1001) %17 = call i32 @WSQ_BeginSubgraph(i32 noundef 101) %18 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @WSQ_AddOp(i32 noundef 20, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.6, ptr noundef %18) %20 = call i32 @WSQ_AddOp(i32 noundef 21, ptr noundef @.str.7, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.8) %21 = call i32 (...) @WSQ_EndSubgraph() %22 = call i32 (...) @WSQ_EndTransaction() store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %2 %26 = call i32 @printf(ptr noundef @.str.9) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.cmd, i64 128, i1 false) %27 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %28 = call i32 @system(ptr noundef %27) br label %29 29: ; preds = %25, %2 %30 = call i32 (...) @WSQ_Shutdown() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @WSQ_Init(ptr noundef) #1 declare i32 @WSQ_SetQueryName(ptr noundef) #1 declare i32 @WSQ_Pause(...) #1 declare i32 @WSQ_BeginTransaction(i32 noundef) #1 declare i32 @WSQ_BeginSubgraph(i32 noundef) #1 declare i32 @WSQ_AddOp(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @WSQ_EndSubgraph(...) #1 declare i32 @WSQ_EndTransaction(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @system(ptr noundef) #1 declare i32 @WSQ_Shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjjnnmdv3.c' source_filename = "/tmp/tmpjjnnmdv3.c" target datalayout = "e-m:e-p270: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/tmpjjnnmdv3.c" target datalayout = "e-m:e-p270: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/tmpkva1l10v.c' source_filename = "/tmp/tmpkva1l10v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"symtab\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @search_symtab(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [10 x i8], align 1 %6 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 10, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false) %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %39 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11 store i32 -1, ptr %2, align 4 br label %39 15: ; preds = %11 br label %16 16: ; preds = %31, %15 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %19 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @fscanf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %23, ptr noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %16 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fclose(ptr noundef %28) store i32 0, ptr %2, align 4 br label %39 30: ; preds = %16 br label %31 31: ; preds = %30 %32 = load ptr, ptr %4, align 8 %33 = call i32 @feof(ptr noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br i1 %35, label %16, label %36, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %4, align 8 %38 = call i32 @fclose(ptr noundef %37) store i32 -1, ptr %2, align 4 br label %39 39: ; preds = %36, %27, %14, %10 %40 = load i32, ptr %2, align 4 ret i32 %40 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @feof(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: write) } 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/tmpkva1l10v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"symtab\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @search_symtab(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [10 x i8], align 1 %6 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 10, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false) %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %39 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11 store i32 -1, ptr %2, align 4 br label %39 15: ; preds = %11 br label %16 16: ; preds = %31, %15 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %19 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @fscanf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %23, ptr noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %16 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fclose(ptr noundef %28) store i32 0, ptr %2, align 4 br label %39 30: ; preds = %16 br label %31 31: ; preds = %30 %32 = load ptr, ptr %4, align 8 %33 = call i32 @feof(ptr noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br i1 %35, label %16, label %36, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %4, align 8 %38 = call i32 @fclose(ptr noundef %37) store i32 -1, ptr %2, align 4 br label %39 39: ; preds = %36, %27, %14, %10 %40 = load i32, ptr %2, align 4 ret i32 %40 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @feof(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: write) } 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/tmpnvuoepnx.c' source_filename = "/tmp/tmpnvuoepnx.c" target datalayout = "e-m:e-p270: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/tmpnvuoepnx.c" target datalayout = "e-m:e-p270: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/tmpclah9cbt.c' source_filename = "/tmp/tmpclah9cbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exp_radix(i32 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i64 1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ugt i32 %5, 19 br i1 %6, label %7, label %8 7: ; preds = %1 store i64 0, ptr %2, align 8 br label %50 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = icmp uge i32 %9, 16 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i64, ptr %4, align 8 %13 = mul i64 %12, 10000000000000000 store i64 %13, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = sub i32 %14, 16 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %11, %8 %17 = load i32, ptr %3, align 4 %18 = icmp uge i32 %17, 8 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load i64, ptr %4, align 8 %21 = mul i64 %20, 100000000 store i64 %21, ptr %4, align 8 %22 = load i32, ptr %3, align 4 %23 = sub i32 %22, 8 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %19, %16 %25 = load i32, ptr %3, align 4 %26 = icmp uge i32 %25, 4 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load i64, ptr %4, align 8 %29 = mul i64 %28, 10000 store i64 %29, ptr %4, align 8 %30 = load i32, ptr %3, align 4 %31 = sub i32 %30, 4 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %27, %24 %33 = load i32, ptr %3, align 4 %34 = icmp uge i32 %33, 2 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i64, ptr %4, align 8 %37 = mul i64 %36, 100 store i64 %37, ptr %4, align 8 %38 = load i32, ptr %3, align 4 %39 = sub i32 %38, 2 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %35, %32 %41 = load i32, ptr %3, align 4 %42 = icmp uge i32 %41, 1 br i1 %42, label %43, label %48 43: ; preds = %40 %44 = load i64, ptr %4, align 8 %45 = mul i64 %44, 10 store i64 %45, ptr %4, align 8 %46 = load i32, ptr %3, align 4 %47 = sub i32 %46, 1 store i32 %47, ptr %3, align 4 br label %48 48: ; preds = %43, %40 %49 = load i64, ptr %4, align 8 store i64 %49, ptr %2, align 8 br label %50 50: ; preds = %48, %7 %51 = load i64, ptr %2, align 8 ret i64 %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpclah9cbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exp_radix(i32 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i64 1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ugt i32 %5, 19 br i1 %6, label %7, label %8 7: ; preds = %1 store i64 0, ptr %2, align 8 br label %50 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = icmp uge i32 %9, 16 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i64, ptr %4, align 8 %13 = mul i64 %12, 10000000000000000 store i64 %13, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = sub i32 %14, 16 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %11, %8 %17 = load i32, ptr %3, align 4 %18 = icmp uge i32 %17, 8 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load i64, ptr %4, align 8 %21 = mul i64 %20, 100000000 store i64 %21, ptr %4, align 8 %22 = load i32, ptr %3, align 4 %23 = sub i32 %22, 8 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %19, %16 %25 = load i32, ptr %3, align 4 %26 = icmp uge i32 %25, 4 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load i64, ptr %4, align 8 %29 = mul i64 %28, 10000 store i64 %29, ptr %4, align 8 %30 = load i32, ptr %3, align 4 %31 = sub i32 %30, 4 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %27, %24 %33 = load i32, ptr %3, align 4 %34 = icmp uge i32 %33, 2 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i64, ptr %4, align 8 %37 = mul i64 %36, 100 store i64 %37, ptr %4, align 8 %38 = load i32, ptr %3, align 4 %39 = sub i32 %38, 2 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %35, %32 %41 = load i32, ptr %3, align 4 %42 = icmp uge i32 %41, 1 br i1 %42, label %43, label %48 43: ; preds = %40 %44 = load i64, ptr %4, align 8 %45 = mul i64 %44, 10 store i64 %45, ptr %4, align 8 %46 = load i32, ptr %3, align 4 %47 = sub i32 %46, 1 store i32 %47, ptr %3, align 4 br label %48 48: ; preds = %43, %40 %49 = load i64, ptr %4, align 8 store i64 %49, ptr %2, align 8 br label %50 50: ; preds = %48, %7 %51 = load i64, ptr %2, align 8 ret i64 %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvwobje0v.c' source_filename = "/tmp/tmpvwobje0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_create_fir_lowpass(ptr noundef %0, float noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = shl i32 1, %14 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %10, align 8 %19 = alloca float, i64 %17, align 16 store i64 %17, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %20 20: ; preds = %46, %4 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %49 24: ; preds = %20 %25 = load i32, ptr %12, align 4 %26 = load i32, ptr %9, align 4 %27 = sitofp i32 %26 to float %28 = load float, ptr %6, align 4 %29 = fmul float %27, %28 %30 = fptosi float %29 to i32 %31 = icmp slt i32 %25, %30 br i1 %31, label %32, label %37 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %12, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 store float 1.000000e+00, ptr %36, align 4 br label %42 37: ; preds = %24 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %12, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds float, ptr %38, i64 %40 store float 0.000000e+00, ptr %41, align 4 br label %42 42: ; preds = %37, %32 %43 = load i32, ptr %12, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %19, i64 %44 store float 0.000000e+00, ptr %45, align 4 br label %46 46: ; preds = %42 %47 = load i32, ptr %12, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %12, align 4 br label %20, !llvm.loop !6 49: ; preds = %20 store i32 0, ptr %13, align 4 br label %50 50: ; preds = %68, %49 %51 = load i32, ptr %13, align 4 %52 = load i32, ptr %9, align 4 %53 = sdiv i32 %52, 2 %54 = icmp slt i32 %51, %53 br i1 %54, label %55, label %71 55: ; preds = %50 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %13, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds float, ptr %56, i64 %58 %60 = load float, ptr %59, align 4 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %13, align 4 %64 = sub nsw i32 %62, %63 %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %61, i64 %66 store float %60, ptr %67, align 4 br label %68 68: ; preds = %55 %69 = load i32, ptr %13, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %13, align 4 br label %50, !llvm.loop !8 71: ; preds = %50 %72 = load i32, ptr %7, align 4 %73 = load ptr, ptr %5, align 8 %74 = call i32 @filter_fft(i32 noundef 1, i32 noundef %72, ptr noundef %73, ptr noundef %19) %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %9, align 4 %77 = call i32 @filter_fftshift(ptr noundef %75, i32 noundef %76) %78 = load i32, ptr %8, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %84 80: ; preds = %71 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %9, align 4 %83 = call i32 @filter_hamming(ptr noundef %81, i32 noundef %82) br label %84 84: ; preds = %80, %71 %85 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %85) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @filter_fft(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @filter_fftshift(ptr noundef, i32 noundef) #2 declare i32 @filter_hamming(ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpvwobje0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_create_fir_lowpass(ptr noundef %0, float noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = shl i32 1, %14 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %10, align 8 %19 = alloca float, i64 %17, align 16 store i64 %17, ptr %11, align 8 store i32 0, ptr %12, align 4 %20 = load i32, ptr %12, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %51 .lr.ph: ; preds = %4 br label %23 23: ; preds = %.lr.ph, %45 %24 = load i32, ptr %12, align 4 %25 = load i32, ptr %9, align 4 %26 = sitofp i32 %25 to float %27 = load float, ptr %6, align 4 %28 = fmul float %26, %27 %29 = fptosi float %28 to i32 %30 = icmp slt i32 %24, %29 br i1 %30, label %31, label %36 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %12, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %32, i64 %34 store float 1.000000e+00, ptr %35, align 4 br label %41 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds float, ptr %37, i64 %39 store float 0.000000e+00, ptr %40, align 4 br label %41 41: ; preds = %36, %31 %42 = load i32, ptr %12, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds float, ptr %19, i64 %43 store float 0.000000e+00, ptr %44, align 4 br label %45 45: ; preds = %41 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %4 store i32 0, ptr %13, align 4 %52 = load i32, ptr %13, align 4 %53 = load i32, ptr %9, align 4 %54 = sdiv i32 %53, 2 %55 = icmp slt i32 %52, %54 br i1 %55, label %.lr.ph2, label %76 .lr.ph2: ; preds = %51 br label %56 56: ; preds = %.lr.ph2, %69 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %13, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds float, ptr %57, i64 %59 %61 = load float, ptr %60, align 4 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %9, align 4 %64 = load i32, ptr %13, align 4 %65 = sub nsw i32 %63, %64 %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds float, ptr %62, i64 %67 store float %61, ptr %68, align 4 br label %69 69: ; preds = %56 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %13, align 4 %72 = load i32, ptr %13, align 4 %73 = load i32, ptr %9, align 4 %74 = sdiv i32 %73, 2 %75 = icmp slt i32 %72, %74 br i1 %75, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %76 76: ; preds = %._crit_edge3, %51 %77 = load i32, ptr %7, align 4 %78 = load ptr, ptr %5, align 8 %79 = call i32 @filter_fft(i32 noundef 1, i32 noundef %77, ptr noundef %78, ptr noundef %19) %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %9, align 4 %82 = call i32 @filter_fftshift(ptr noundef %80, i32 noundef %81) %83 = load i32, ptr %8, align 4 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %89 85: ; preds = %76 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %9, align 4 %88 = call i32 @filter_hamming(ptr noundef %86, i32 noundef %87) br label %89 89: ; preds = %85, %76 %90 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %90) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @filter_fft(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @filter_fftshift(ptr noundef, i32 noundef) #2 declare i32 @filter_hamming(ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpa3zarbfp.c' source_filename = "/tmp/tmpa3zarbfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %8, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 100 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = call i32 @f(double noundef 7.440000e+00) br label %8 8: ; preds = %6 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 ret i32 0 } declare i32 @f(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3zarbfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 100 br i1 %4, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %7 %6 = call i32 @f(double noundef 7.440000e+00) br label %7 7: ; preds = %5 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 100 br i1 %11, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @f(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp93mx_824.c' source_filename = "/tmp/tmp93mx_824.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BT_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @malloc(i64 noundef %3) #2 ret ptr %4 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp93mx_824.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BT_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @malloc(i64 noundef %3) #2 ret ptr %4 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpffikgrys.c' source_filename = "/tmp/tmpffikgrys.c" target datalayout = "e-m:e-p270: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/tmpffikgrys.c" target datalayout = "e-m:e-p270: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/tmpdih18sk4.c' source_filename = "/tmp/tmpdih18sk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"wb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__mp_writealloc(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 store i32 0, ptr %11, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call ptr @allocfile(ptr noundef %12, i64 noundef %13) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %9, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %35 18: ; preds = %4 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = load ptr, ptr %9, align 8 %22 = call i64 @fwrite(ptr noundef %19, i32 noundef 1, i64 noundef %20, ptr noundef %21) %23 = load i64, ptr %8, align 8 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 1, ptr %11, align 4 br label %26 26: ; preds = %25, %18 %27 = load ptr, ptr %9, align 8 %28 = call i32 @fclose(ptr noundef %27) %29 = load i32, ptr %11, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = load ptr, ptr %10, align 8 %33 = call i32 @remove(ptr noundef %32) br label %34 34: ; preds = %31, %26 br label %35 35: ; preds = %34, %4 %36 = load i32, ptr %11, align 4 ret i32 %36 } declare ptr @allocfile(ptr noundef, i64 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdih18sk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"wb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__mp_writealloc(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 store i32 0, ptr %11, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call ptr @allocfile(ptr noundef %12, i64 noundef %13) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %9, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %35 18: ; preds = %4 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = load ptr, ptr %9, align 8 %22 = call i64 @fwrite(ptr noundef %19, i32 noundef 1, i64 noundef %20, ptr noundef %21) %23 = load i64, ptr %8, align 8 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 1, ptr %11, align 4 br label %26 26: ; preds = %25, %18 %27 = load ptr, ptr %9, align 8 %28 = call i32 @fclose(ptr noundef %27) %29 = load i32, ptr %11, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = load ptr, ptr %10, align 8 %33 = call i32 @remove(ptr noundef %32) br label %34 34: ; preds = %31, %26 br label %35 35: ; preds = %34, %4 %36 = load i32, ptr %11, align 4 ret i32 %36 } declare ptr @allocfile(ptr noundef, i64 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdq8oeigi.c' source_filename = "/tmp/tmpdq8oeigi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sumProd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store float 1.000000e+00, ptr %4, align 4 store i32 1, ptr %5, align 4 br label %6 6: ; preds = %26, %1 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %29 10: ; preds = %6 %11 = load float, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %12, %13 %15 = sitofp i32 %14 to float %16 = fadd float %11, %15 store float %16, ptr %3, align 4 %17 = load float, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = mul nsw i32 %18, %19 %21 = sitofp i32 %20 to float %22 = fmul float %17, %21 store float %22, ptr %4, align 4 %23 = load float, ptr %3, align 4 %24 = load float, ptr %4, align 4 %25 = call i32 @foo(float noundef %23, float noundef %24) br label %26 26: ; preds = %10 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %6, !llvm.loop !6 29: ; preds = %6 ret void } declare i32 @foo(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdq8oeigi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sumProd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store float 1.000000e+00, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %25 %10 = load float, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 %11, %12 %14 = sitofp i32 %13 to float %15 = fadd float %10, %14 store float %15, ptr %3, align 4 %16 = load float, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %17, %18 %20 = sitofp i32 %19 to float %21 = fmul float %16, %20 store float %21, ptr %4, align 4 %22 = load float, ptr %3, align 4 %23 = load float, ptr %4, align 4 %24 = call i32 @foo(float noundef %22, float noundef %23) br label %25 25: ; preds = %9 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %1 ret void } declare i32 @foo(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8efi6vyh.c' source_filename = "/tmp/tmp8efi6vyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global double 0.000000e+00, align 8 @NAN = dso_local global double 0.000000e+00, 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/tmp8efi6vyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global double 0.000000e+00, align 8 @NAN = dso_local global double 0.000000e+00, 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/tmp3ygvzdir.c' source_filename = "/tmp/tmp3ygvzdir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_2(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 i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = icmp sgt i32 %5, %8 br i1 %9, label %10, label %16 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 1 %15 = call i32 @troca(ptr noundef %12, ptr noundef %14) br label %16 16: ; preds = %10, %1 ret void } declare i32 @troca(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/tmp3ygvzdir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_2(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 i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = icmp sgt i32 %5, %8 br i1 %9, label %10, label %16 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 1 %15 = call i32 @troca(ptr noundef %12, ptr noundef %14) br label %16 16: ; preds = %10, %1 ret void } declare i32 @troca(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/tmpiu2ozt4g.c' source_filename = "/tmp/tmpiu2ozt4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 %12 = 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 store i32 0, ptr %6, align 4 store i32 90, ptr %7, align 4 br label %13 13: ; preds = %57, %2 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 100 br i1 %15, label %16, label %60 16: ; preds = %13 store i32 90, ptr %8, align 4 br label %17 17: ; preds = %53, %16 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %18, 100 br i1 %19, label %20, label %56 20: ; preds = %17 %21 = load i32, ptr %9, align 4 %22 = call i32 @mpz_init(i32 noundef %21) %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %8, align 4 %26 = call i32 @mpz_ui_pow_ui(i32 noundef %23, i32 noundef %24, i32 noundef %25) store i32 0, ptr %10, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 1024, i1 false) %27 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %28 = load i32, ptr %9, align 4 %29 = call i32 @mpz_get_str(ptr noundef %27, i32 noundef 10, i32 noundef %28) %30 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 store ptr %30, ptr %12, align 8 br label %31 31: ; preds = %43, %20 %32 = load ptr, ptr %12, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %46 36: ; preds = %31 %37 = load ptr, ptr %12, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 48 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %10, align 4 br label %43 43: ; preds = %36 %44 = load ptr, ptr %12, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %12, align 8 br label %31, !llvm.loop !6 46: ; preds = %31 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load i32, ptr %10, align 4 store i32 %51, ptr %6, align 4 br label %52 52: ; preds = %50, %46 br label %53 53: ; preds = %52 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 br label %17, !llvm.loop !8 56: ; preds = %17 br label %57 57: ; preds = %56 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %13, !llvm.loop !9 60: ; preds = %13 %61 = load i32, ptr %6, align 4 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %61) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_ui_pow_ui(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @mpz_get_str(ptr noundef, i32 noundef, i32 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiu2ozt4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 %12 = 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 store i32 0, ptr %6, align 4 store i32 90, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 100 br i1 %14, label %.lr.ph5, label %65 .lr.ph5: ; preds = %2 br label %15 15: ; preds = %.lr.ph5, %60 store i32 90, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 100 br i1 %17, label %.lr.ph2, label %59 .lr.ph2: ; preds = %15 br label %18 18: ; preds = %.lr.ph2, %54 %19 = load i32, ptr %9, align 4 %20 = call i32 @mpz_init(i32 noundef %19) %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = call i32 @mpz_ui_pow_ui(i32 noundef %21, i32 noundef %22, i32 noundef %23) store i32 0, ptr %10, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 1024, i1 false) %25 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %26 = load i32, ptr %9, align 4 %27 = call i32 @mpz_get_str(ptr noundef %25, i32 noundef 10, i32 noundef %26) %28 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 store ptr %28, ptr %12, align 8 %29 = load ptr, ptr %12, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 0 br i1 %32, label %.lr.ph, label %47 .lr.ph: ; preds = %18 br label %33 33: ; preds = %.lr.ph, %40 %34 = load ptr, ptr %12, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %36, 48 %38 = load i32, ptr %10, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %10, align 4 br label %40 40: ; preds = %33 %41 = load ptr, ptr %12, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %12, align 8 %43 = load ptr, ptr %12, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %47 47: ; preds = %._crit_edge, %18 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp sgt i32 %48, %49 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = load i32, ptr %10, align 4 store i32 %52, ptr %6, align 4 br label %53 53: ; preds = %51, %47 br label %54 54: ; preds = %53 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = icmp slt i32 %57, 100 br i1 %58, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %59 59: ; preds = %._crit_edge3, %15 br label %60 60: ; preds = %59 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %7, align 4 %63 = load i32, ptr %7, align 4 %64 = icmp slt i32 %63, 100 br i1 %64, label %15, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %65 65: ; preds = %._crit_edge6, %2 %66 = load i32, ptr %6, align 4 %67 = call i32 @printf(ptr noundef @.str, i32 noundef %66) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_ui_pow_ui(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @mpz_get_str(ptr noundef, i32 noundef, i32 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpzs38z_0q.c' source_filename = "/tmp/tmpzs38z_0q.c" target datalayout = "e-m:e-p270: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/tmpzs38z_0q.c" target datalayout = "e-m:e-p270: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/tmp5kf2fwef.c' source_filename = "/tmp/tmp5kf2fwef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strtok.last = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strtok(ptr noalias noundef %0, ptr noalias 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 ptr @strtok_r(ptr noundef %5, ptr noundef %6, ptr noundef @strtok.last) ret ptr %7 } declare ptr @strtok_r(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/tmp5kf2fwef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strtok.last = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strtok(ptr noalias noundef %0, ptr noalias 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 ptr @strtok_r(ptr noundef %5, ptr noundef %6, ptr noundef @strtok.last) ret ptr %7 } declare ptr @strtok_r(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/tmpwiar1g5d.c' source_filename = "/tmp/tmpwiar1g5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_fork() #0 { %1 = load i32, ptr @ENOTSUP, align 4 store i32 %1, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwiar1g5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_fork() #0 { %1 = load i32, ptr @ENOTSUP, align 4 store i32 %1, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_xsxhdbs.c' source_filename = "/tmp/tmp_xsxhdbs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = call i32 @exgcd(i64 noundef %7, i64 noundef %8, ptr noundef %5, ptr noundef %6) br label %10 10: ; preds = %13, %2 %11 = load i64, ptr %5, align 8 %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i64, ptr %4, align 8 %15 = load i64, ptr %5, align 8 %16 = add nsw i64 %15, %14 store i64 %16, ptr %5, align 8 %17 = load i64, ptr %3, align 8 %18 = load i64, ptr %6, align 8 %19 = sub nsw i64 %18, %17 store i64 %19, ptr %6, align 8 br label %10, !llvm.loop !6 20: ; preds = %10 %21 = load i64, ptr %5, align 8 ret i64 %21 } declare i32 @exgcd(i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_xsxhdbs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = call i32 @exgcd(i64 noundef %7, i64 noundef %8, ptr noundef %5, ptr noundef %6) %10 = load i64, ptr %5, align 8 %11 = icmp slt i64 %10, 0 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i64, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = add nsw i64 %14, %13 store i64 %15, ptr %5, align 8 %16 = load i64, ptr %3, align 8 %17 = load i64, ptr %6, align 8 %18 = sub nsw i64 %17, %16 store i64 %18, ptr %6, align 8 %19 = load i64, ptr %5, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %2 %22 = load i64, ptr %5, align 8 ret i64 %22 } declare i32 @exgcd(i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2anzjdzi.c' source_filename = "/tmp/tmp2anzjdzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"c %f %f %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local i32 @vdb_color(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %4, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call i32 @vdb_printf(ptr noundef @.str, float noundef %7, float noundef %8, float noundef %9) ret i32 %10 } declare i32 @vdb_printf(ptr noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2anzjdzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"c %f %f %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local i32 @vdb_color(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %4, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call i32 @vdb_printf(ptr noundef @.str, float noundef %7, float noundef %8, float noundef %9) ret i32 %10 } declare i32 @vdb_printf(ptr noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzd46d1jr.c' source_filename = "/tmp/tmpzd46d1jr.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzd46d1jr.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqsv1qg_t.c' source_filename = "/tmp/tmpqsv1qg_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug/d%i_%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Outputfile %s cannot be created\00", align 1 @.str.3 = private unnamed_addr constant [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EvaBr/CFD-Lab/refs/heads/master/Backup/FinalProjectBackup/helper.c\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [61 x i8] c"-----------------------------------------------------------\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"Outputfile %s cannot be closed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_imatrix2(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca [80 x i8], align 16 %24 = alloca [80 x i8], align 16 %25 = alloca [80 x i8], align 16 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store ptr %2, ptr %12, align 8 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 store ptr null, ptr %22, align 8 %26 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %27 = load i32, ptr %11, align 4 %28 = load ptr, ptr %10, align 8 %29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str, i32 noundef %27, ptr noundef %28) %30 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.1) store ptr %31, ptr %22, align 8 %32 = load ptr, ptr %22, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %9 %35 = getelementptr inbounds [80 x i8], ptr %24, i64 0, i64 0 %36 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %37 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str.2, ptr noundef %36) %38 = getelementptr inbounds [80 x i8], ptr %24, i64 0, i64 0 %39 = call i32 @errhandler(i32 noundef 619, ptr noundef @.str.3, ptr noundef %38) br label %40 40: ; preds = %34, %9 %41 = load i32, ptr %17, align 4 store i32 %41, ptr %21, align 4 br label %42 42: ; preds = %86, %40 %43 = load i32, ptr %21, align 4 %44 = load i32, ptr %18, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %46, label %89 46: ; preds = %42 %47 = load i32, ptr %15, align 4 store i32 %47, ptr %20, align 4 br label %48 48: ; preds = %80, %46 %49 = load i32, ptr %20, align 4 %50 = load i32, ptr %16, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %52, label %83 52: ; preds = %48 %53 = load i32, ptr %13, align 4 store i32 %53, ptr %19, align 4 br label %54 54: ; preds = %74, %52 %55 = load i32, ptr %19, align 4 %56 = load i32, ptr %14, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %58, label %77 58: ; preds = %54 %59 = load ptr, ptr %22, align 8 %60 = load ptr, ptr %12, align 8 %61 = load i32, ptr %19, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr %20, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %21, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i32, ptr %71, align 4 %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.4, i32 noundef %72) br label %74 74: ; preds = %58 %75 = load i32, ptr %19, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %19, align 4 br label %54, !llvm.loop !6 77: ; preds = %54 %78 = load ptr, ptr %22, align 8 %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.5) br label %80 80: ; preds = %77 %81 = load i32, ptr %20, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %20, align 4 br label %48, !llvm.loop !8 83: ; preds = %48 %84 = load ptr, ptr %22, align 8 %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.6) br label %86 86: ; preds = %83 %87 = load i32, ptr %21, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %21, align 4 br label %42, !llvm.loop !9 89: ; preds = %42 %90 = load ptr, ptr %22, align 8 %91 = call i64 @fclose(ptr noundef %90) %92 = icmp ne i64 %91, 0 br i1 %92, label %93, label %99 93: ; preds = %89 %94 = getelementptr inbounds [80 x i8], ptr %25, i64 0, i64 0 %95 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %96 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %94, ptr noundef @.str.7, ptr noundef %95) %97 = getelementptr inbounds [80 x i8], ptr %25, i64 0, i64 0 %98 = call i32 @errhandler(i32 noundef 638, ptr noundef @.str.3, ptr noundef %97) br label %99 99: ; preds = %93, %89 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqsv1qg_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug/d%i_%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Outputfile %s cannot be created\00", align 1 @.str.3 = private unnamed_addr constant [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EvaBr/CFD-Lab/refs/heads/master/Backup/FinalProjectBackup/helper.c\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [61 x i8] c"-----------------------------------------------------------\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"Outputfile %s cannot be closed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_imatrix2(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca [80 x i8], align 16 %24 = alloca [80 x i8], align 16 %25 = alloca [80 x i8], align 16 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store ptr %2, ptr %12, align 8 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 store ptr null, ptr %22, align 8 %26 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %27 = load i32, ptr %11, align 4 %28 = load ptr, ptr %10, align 8 %29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str, i32 noundef %27, ptr noundef %28) %30 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.1) store ptr %31, ptr %22, align 8 %32 = load ptr, ptr %22, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %9 %35 = getelementptr inbounds [80 x i8], ptr %24, i64 0, i64 0 %36 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %37 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str.2, ptr noundef %36) %38 = getelementptr inbounds [80 x i8], ptr %24, i64 0, i64 0 %39 = call i32 @errhandler(i32 noundef 619, ptr noundef @.str.3, ptr noundef %38) br label %40 40: ; preds = %34, %9 %41 = load i32, ptr %17, align 4 store i32 %41, ptr %21, align 4 %42 = load i32, ptr %21, align 4 %43 = load i32, ptr %18, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %.lr.ph5, label %95 .lr.ph5: ; preds = %40 br label %45 45: ; preds = %.lr.ph5, %89 %46 = load i32, ptr %15, align 4 store i32 %46, ptr %20, align 4 %47 = load i32, ptr %20, align 4 %48 = load i32, ptr %16, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %.lr.ph2, label %86 .lr.ph2: ; preds = %45 br label %50 50: ; preds = %.lr.ph2, %80 %51 = load i32, ptr %13, align 4 store i32 %51, ptr %19, align 4 %52 = load i32, ptr %19, align 4 %53 = load i32, ptr %14, align 4 %54 = icmp sle i32 %52, %53 br i1 %54, label %.lr.ph, label %77 .lr.ph: ; preds = %50 br label %55 55: ; preds = %.lr.ph, %71 %56 = load ptr, ptr %22, align 8 %57 = load ptr, ptr %12, align 8 %58 = load i32, ptr %19, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %20, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = load i32, ptr %21, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.4, i32 noundef %69) br label %71 71: ; preds = %55 %72 = load i32, ptr %19, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %19, align 4 %74 = load i32, ptr %19, align 4 %75 = load i32, ptr %14, align 4 %76 = icmp sle i32 %74, %75 br i1 %76, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %50 %78 = load ptr, ptr %22, align 8 %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.5) br label %80 80: ; preds = %77 %81 = load i32, ptr %20, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %20, align 4 %83 = load i32, ptr %20, align 4 %84 = load i32, ptr %16, align 4 %85 = icmp sle i32 %83, %84 br i1 %85, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %86 86: ; preds = %._crit_edge3, %45 %87 = load ptr, ptr %22, align 8 %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.6) br label %89 89: ; preds = %86 %90 = load i32, ptr %21, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %21, align 4 %92 = load i32, ptr %21, align 4 %93 = load i32, ptr %18, align 4 %94 = icmp sle i32 %92, %93 br i1 %94, label %45, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %89 br label %95 95: ; preds = %._crit_edge6, %40 %96 = load ptr, ptr %22, align 8 %97 = call i64 @fclose(ptr noundef %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %105 99: ; preds = %95 %100 = getelementptr inbounds [80 x i8], ptr %25, i64 0, i64 0 %101 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0 %102 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %100, ptr noundef @.str.7, ptr noundef %101) %103 = getelementptr inbounds [80 x i8], ptr %25, i64 0, i64 0 %104 = call i32 @errhandler(i32 noundef 638, ptr noundef @.str.3, ptr noundef %103) br label %105 105: ; preds = %99, %95 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbgx_lha2.c' source_filename = "/tmp/tmpbgx_lha2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"SetDialogBalloonHelpID\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetDialogBalloonHelpID(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %4 = icmp ne i32 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %1 br label %6 6: ; preds = %5, %1 ret void } declare i32 @CheckRunningInMainThread(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbgx_lha2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"SetDialogBalloonHelpID\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetDialogBalloonHelpID(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %4 = icmp ne i32 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %1 br label %6 6: ; preds = %5, %1 ret void } declare i32 @CheckRunningInMainThread(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxxe6z_b2.c' source_filename = "/tmp/tmpxxe6z_b2.c" target datalayout = "e-m:e-p270: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/tmpxxe6z_b2.c" target datalayout = "e-m:e-p270: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/tmpsqcn3ruz.c' source_filename = "/tmp/tmpsqcn3ruz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"strdup\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ssh_get_progname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %28 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %4, align 8 br label %19 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %16, %14 %20 = load ptr, ptr %4, align 8 %21 = call ptr @strdup(ptr noundef %20) store ptr %21, ptr %5, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %19 %24 = call i32 @perror(ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 store ptr %27, ptr %2, align 8 br label %28 28: ; preds = %26, %8 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqcn3ruz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"strdup\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ssh_get_progname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %28 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %4, align 8 br label %19 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %16, %14 %20 = load ptr, ptr %4, align 8 %21 = call ptr @strdup(ptr noundef %20) store ptr %21, ptr %5, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %19 %24 = call i32 @perror(ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 store ptr %27, ptr %2, align 8 br label %28 28: ; preds = %26, %8 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvo8me85e.c' source_filename = "/tmp/tmpvo8me85e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kb_readkey(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = call i32 (...) @readchr() store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %32 9: ; preds = %1 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 27 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 %15 = call i32 @readescseq(ptr noundef %14) store i32 %15, ptr %4, align 4 switch i32 %15, label %22 [ i32 -1, label %16 i32 0, label %17 ] 16: ; preds = %12 store i32 0, ptr %2, align 4 br label %32 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 store i8 27, ptr %19, align 1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %2, align 4 br label %32 22: ; preds = %12 br label %28 23: ; preds = %9 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 127 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 8, ptr %4, align 4 br label %27 27: ; preds = %26, %23 br label %28 28: ; preds = %27, %22 %29 = load i32, ptr %4, align 4 %30 = trunc i32 %29 to i8 %31 = load ptr, ptr %3, align 8 store i8 %30, ptr %31, align 1 store i32 1, ptr %2, align 4 br label %32 32: ; preds = %28, %17, %16, %8 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i32 @readchr(...) #1 declare i32 @readescseq(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvo8me85e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kb_readkey(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = call i32 (...) @readchr() store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %32 9: ; preds = %1 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 27 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 %15 = call i32 @readescseq(ptr noundef %14) store i32 %15, ptr %4, align 4 switch i32 %15, label %22 [ i32 -1, label %16 i32 0, label %17 ] 16: ; preds = %12 store i32 0, ptr %2, align 4 br label %32 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 store i8 27, ptr %19, align 1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %2, align 4 br label %32 22: ; preds = %12 br label %28 23: ; preds = %9 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 127 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 8, ptr %4, align 4 br label %27 27: ; preds = %26, %23 br label %28 28: ; preds = %27, %22 %29 = load i32, ptr %4, align 4 %30 = trunc i32 %29 to i8 %31 = load ptr, ptr %3, align 8 store i8 %30, ptr %31, align 1 store i32 1, ptr %2, align 4 br label %32 32: ; preds = %28, %17, %16, %8 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i32 @readchr(...) #1 declare i32 @readescseq(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc71qaiyg.c' source_filename = "/tmp/tmpc71qaiyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"bug on @%s() (%s:%u)\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @system_bug_on(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @logger_fatal(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = call i32 (...) @system_halt() unreachable } declare i32 @logger_fatal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @system_halt(...) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc71qaiyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"bug on @%s() (%s:%u)\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @system_bug_on(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @logger_fatal(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = call i32 (...) @system_halt() unreachable } declare i32 @logger_fatal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @system_halt(...) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp118qib43.c' source_filename = "/tmp/tmp118qib43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HashedTbl_isPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %2, align 4 store i32 1, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = sitofp i32 %7 to double %9 = fmul double %8, 1.000000e+00 store double %9, ptr %6, align 8 %10 = load double, ptr %6, align 8 %11 = call i64 @sqrt(double noundef %10) %12 = trunc i64 %11 to i32 store i32 %12, ptr %5, align 4 store i32 2, ptr %3, align 4 br label %13 13: ; preds = %24, %1 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %27 17: ; preds = %13 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = srem i32 %18, %19 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %17 store i32 0, ptr %4, align 4 br label %27 23: ; preds = %17 br label %24 24: ; preds = %23 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %13, !llvm.loop !6 27: ; preds = %22, %13 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i64 @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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp118qib43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HashedTbl_isPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %2, align 4 store i32 1, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = sitofp i32 %7 to double %9 = fmul double %8, 1.000000e+00 store double %9, ptr %6, align 8 %10 = load double, ptr %6, align 8 %11 = call i64 @sqrt(double noundef %10) %12 = trunc i64 %11 to i32 store i32 %12, ptr %5, align 4 store i32 2, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %23 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = srem i32 %17, %18 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %16 store i32 0, ptr %4, align 4 br label %29 22: ; preds = %16 br label %23 23: ; preds = %22 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %23 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %29 29: ; preds = %.loopexit, %21 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare i64 @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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0puya1kc.c' source_filename = "/tmp/tmp0puya1kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %82 21: ; preds = %3 br label %22 22: ; preds = %63, %21 br label %23 23: ; preds = %32, %22 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %35 31: ; preds = %23 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %23, !llvm.loop !6 35: ; preds = %23 br label %36 36: ; preds = %45, %35 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %48 44: ; preds = %36 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %8, align 4 br label %36, !llvm.loop !8 48: ; preds = %36 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %62 52: ; preds = %48 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = call i32 @swap(ptr noundef %56, ptr noundef %60) br label %63 62: ; preds = %48 br label %64 63: ; preds = %52 br label %22 64: ; preds = %62 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = call i32 @swap(ptr noundef %68, ptr noundef %72) %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %5, align 4 %76 = load i32, ptr %7, align 4 %77 = sub nsw i32 %76, 1 call void @qsort(ptr noundef %74, i32 noundef %75, i32 noundef %77) %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 %81 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %78, i32 noundef %80, i32 noundef %81) br label %82 82: ; preds = %64, %3 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0puya1kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %94 21: ; preds = %3 br label %22 22: ; preds = %75, %21 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %41 .lr.ph: ; preds = %22 br label %30 30: ; preds = %.lr.ph, %31 br label %31 31: ; preds = %30 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %41 41: ; preds = %._crit_edge, %22 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %.lr.ph2, label %60 .lr.ph2: ; preds = %41 br label %49 49: ; preds = %.lr.ph2, %50 br label %50 50: ; preds = %49 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %8, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %9, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %41 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %74 64: ; preds = %60 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %8, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = call i32 @swap(ptr noundef %68, ptr noundef %72) br label %75 74: ; preds = %60 br label %76 75: ; preds = %64 br label %22 76: ; preds = %74 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load ptr, ptr %4, align 8 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = call i32 @swap(ptr noundef %80, ptr noundef %84) %86 = load ptr, ptr %4, align 8 %87 = load i32, ptr %5, align 4 %88 = load i32, ptr %7, align 4 %89 = sub nsw i32 %88, 1 call void @qsort(ptr noundef %86, i32 noundef %87, i32 noundef %89) %90 = load ptr, ptr %4, align 8 %91 = load i32, ptr %7, align 4 %92 = add nsw i32 %91, 1 %93 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %90, i32 noundef %92, i32 noundef %93) br label %94 94: ; preds = %76, %3 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjsmq4fho.c' source_filename = "/tmp/tmpjsmq4fho.c" target datalayout = "e-m:e-p270: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/tmpjsmq4fho.c" target datalayout = "e-m:e-p270: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/tmp24fm6wka.c' source_filename = "/tmp/tmp24fm6wka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"addvm\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"delvm\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"power\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"snapshot\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"ppower\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"os\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"sync\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"migrate\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"distb\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"backup\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"alter\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"online\00", align 1 @.str.15 = private unnamed_addr constant [5 x i8] c"disk\00", align 1 @.str.16 = private unnamed_addr constant [6 x i8] c"brctl\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"diskk\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"pbackup\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 [1024 x i8], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @geteuid() %9 = call i32 @setuid(i32 noundef %8) %10 = call i32 (...) @getegid() %11 = call i32 @setgid(i32 noundef %10) %12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12) %14 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (...) @addvm() br label %489 19: ; preds = %2 %20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 (...) @delvm() br label %488 25: ; preds = %19 %26 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.3) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %96 29: ; preds = %25 %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 1, %31 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (...) @power_status() br label %95 35: ; preds = %29 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 2, %36 br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 (...) @power_on() br label %94 40: ; preds = %35 %41 = load i32, ptr %7, align 4 %42 = icmp eq i32 3, %41 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 (...) @power_off() br label %93 45: ; preds = %40 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 4, %46 br i1 %47, label %48, label %50 48: ; preds = %45 %49 = call i32 (...) @power_reset() br label %92 50: ; preds = %45 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 5, %51 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = call i32 (...) @power_stop() br label %91 55: ; preds = %50 %56 = load i32, ptr %7, align 4 %57 = icmp eq i32 6, %56 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = call i32 (...) @power_continue() br label %90 60: ; preds = %55 %61 = load i32, ptr %7, align 4 %62 = icmp eq i32 7, %61 br i1 %62, label %63, label %65 63: ; preds = %60 %64 = call i32 (...) @power_halt() br label %89 65: ; preds = %60 %66 = load i32, ptr %7, align 4 %67 = icmp eq i32 8, %66 br i1 %67, label %68, label %70 68: ; preds = %65 %69 = call i32 (...) @power_commit() br label %88 70: ; preds = %65 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 9, %71 br i1 %72, label %73, label %75 73: ; preds = %70 %74 = call i32 (...) @power_drop() br label %87 75: ; preds = %70 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 10, %76 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = call i32 (...) @power_rebuild() br label %86 80: ; preds = %75 %81 = load i32, ptr %7, align 4 %82 = icmp eq i32 11, %81 br i1 %82, label %83, label %85 83: ; preds = %80 %84 = call i32 (...) @power_compare() br label %85 85: ; preds = %83, %80 br label %86 86: ; preds = %85, %78 br label %87 87: ; preds = %86, %73 br label %88 88: ; preds = %87, %68 br label %89 89: ; preds = %88, %63 br label %90 90: ; preds = %89, %58 br label %91 91: ; preds = %90, %53 br label %92 92: ; preds = %91, %48 br label %93 93: ; preds = %92, %43 br label %94 94: ; preds = %93, %38 br label %95 95: ; preds = %94, %33 br label %487 96: ; preds = %25 %97 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %98 = call i64 @strcmp(ptr noundef %97, ptr noundef @.str.5) %99 = icmp eq i64 %98, 0 br i1 %99, label %100, label %125 100: ; preds = %96 %101 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %102 = load i32, ptr %7, align 4 %103 = icmp eq i32 1, %102 br i1 %103, label %104, label %106 104: ; preds = %100 %105 = call i32 (...) @snapshot_list() br label %124 106: ; preds = %100 %107 = load i32, ptr %7, align 4 %108 = icmp eq i32 2, %107 br i1 %108, label %109, label %111 109: ; preds = %106 %110 = call i32 (...) @snapshot_create() br label %123 111: ; preds = %106 %112 = load i32, ptr %7, align 4 %113 = icmp eq i32 3, %112 br i1 %113, label %114, label %116 114: ; preds = %111 %115 = call i32 (...) @snapshot_del() br label %122 116: ; preds = %111 %117 = load i32, ptr %7, align 4 %118 = icmp eq i32 4, %117 br i1 %118, label %119, label %121 119: ; preds = %116 %120 = call i32 (...) @snapshot_apply() br label %121 121: ; preds = %119, %116 br label %122 122: ; preds = %121, %114 br label %123 123: ; preds = %122, %109 br label %124 124: ; preds = %123, %104 br label %486 125: ; preds = %96 %126 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %127 = call i64 @strcmp(ptr noundef %126, ptr noundef @.str.6) %128 = icmp eq i64 %127, 0 br i1 %128, label %129, label %154 129: ; preds = %125 %130 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %131 = load i32, ptr %7, align 4 %132 = icmp eq i32 1, %131 br i1 %132, label %133, label %135 133: ; preds = %129 %134 = call i32 (...) @cd_list() br label %153 135: ; preds = %129 %136 = load i32, ptr %7, align 4 %137 = icmp eq i32 2, %136 br i1 %137, label %138, label %140 138: ; preds = %135 %139 = call i32 (...) @cd_mounted() br label %152 140: ; preds = %135 %141 = load i32, ptr %7, align 4 %142 = icmp eq i32 3, %141 br i1 %142, label %143, label %145 143: ; preds = %140 %144 = call i32 (...) @cd_mount() br label %151 145: ; preds = %140 %146 = load i32, ptr %7, align 4 %147 = icmp eq i32 4, %146 br i1 %147, label %148, label %150 148: ; preds = %145 %149 = call i32 (...) @cd_unmount() br label %150 150: ; preds = %148, %145 br label %151 151: ; preds = %150, %143 br label %152 152: ; preds = %151, %138 br label %153 153: ; preds = %152, %133 br label %485 154: ; preds = %125 %155 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %156 = call i64 @strcmp(ptr noundef %155, ptr noundef @.str.7) %157 = icmp eq i64 %156, 0 br i1 %157, label %158, label %201 158: ; preds = %154 %159 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %160 = load i32, ptr %7, align 4 %161 = icmp eq i32 1, %160 br i1 %161, label %162, label %164 162: ; preds = %158 %163 = call i32 (...) @ppower_status() br label %200 164: ; preds = %158 %165 = load i32, ptr %7, align 4 %166 = icmp eq i32 2, %165 br i1 %166, label %167, label %169 167: ; preds = %164 %168 = call i32 (...) @ppower_on() br label %199 169: ; preds = %164 %170 = load i32, ptr %7, align 4 %171 = icmp eq i32 3, %170 br i1 %171, label %172, label %174 172: ; preds = %169 %173 = call i32 (...) @ppower_off() br label %198 174: ; preds = %169 %175 = load i32, ptr %7, align 4 %176 = icmp eq i32 4, %175 br i1 %176, label %177, label %179 177: ; preds = %174 %178 = call i32 (...) @ppower_reset() br label %197 179: ; preds = %174 %180 = load i32, ptr %7, align 4 %181 = icmp eq i32 5, %180 br i1 %181, label %182, label %184 182: ; preds = %179 %183 = call i32 (...) @ppower_stop() br label %196 184: ; preds = %179 %185 = load i32, ptr %7, align 4 %186 = icmp eq i32 6, %185 br i1 %186, label %187, label %189 187: ; preds = %184 %188 = call i32 (...) @ppower_continue() br label %195 189: ; preds = %184 %190 = load i32, ptr %7, align 4 %191 = icmp eq i32 7, %190 br i1 %191, label %192, label %194 192: ; preds = %189 %193 = call i32 (...) @ppower_halt() br label %194 194: ; preds = %192, %189 br label %195 195: ; preds = %194, %187 br label %196 196: ; preds = %195, %182 br label %197 197: ; preds = %196, %177 br label %198 198: ; preds = %197, %172 br label %199 199: ; preds = %198, %167 br label %200 200: ; preds = %199, %162 br label %484 201: ; preds = %154 %202 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %203 = call i64 @strcmp(ptr noundef %202, ptr noundef @.str.8) %204 = icmp eq i64 %203, 0 br i1 %204, label %205, label %230 205: ; preds = %201 %206 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %207 = load i32, ptr %7, align 4 %208 = icmp eq i32 1, %207 br i1 %208, label %209, label %211 209: ; preds = %205 %210 = call i32 (...) @os_list() br label %229 211: ; preds = %205 %212 = load i32, ptr %7, align 4 %213 = icmp eq i32 2, %212 br i1 %213, label %214, label %216 214: ; preds = %211 %215 = call i32 (...) @os_import() br label %228 216: ; preds = %211 %217 = load i32, ptr %7, align 4 %218 = icmp eq i32 3, %217 br i1 %218, label %219, label %221 219: ; preds = %216 %220 = call i32 (...) @os_query() br label %227 221: ; preds = %216 %222 = load i32, ptr %7, align 4 %223 = icmp eq i32 4, %222 br i1 %223, label %224, label %226 224: ; preds = %221 %225 = call i32 (...) @os_rebuild() br label %226 226: ; preds = %224, %221 br label %227 227: ; preds = %226, %219 br label %228 228: ; preds = %227, %214 br label %229 229: ; preds = %228, %209 br label %483 230: ; preds = %201 %231 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %232 = call i64 @strcmp(ptr noundef %231, ptr noundef @.str.9) %233 = icmp eq i64 %232, 0 br i1 %233, label %234, label %253 234: ; preds = %230 %235 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %236 = load i32, ptr %7, align 4 %237 = icmp eq i32 1, %236 br i1 %237, label %238, label %240 238: ; preds = %234 %239 = call i32 (...) @sync_sync() br label %252 240: ; preds = %234 %241 = load i32, ptr %7, align 4 %242 = icmp eq i32 2, %241 br i1 %242, label %243, label %245 243: ; preds = %240 %244 = call i32 (...) @sync_query() br label %251 245: ; preds = %240 %246 = load i32, ptr %7, align 4 %247 = icmp eq i32 3, %246 br i1 %247, label %248, label %250 248: ; preds = %245 %249 = call i32 (...) @sync_rebuild() br label %250 250: ; preds = %248, %245 br label %251 251: ; preds = %250, %243 br label %252 252: ; preds = %251, %238 br label %482 253: ; preds = %230 %254 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %255 = call i64 @strcmp(ptr noundef %254, ptr noundef @.str.10) %256 = icmp eq i64 %255, 0 br i1 %256, label %257, label %305 257: ; preds = %253 %258 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %259 = load i32, ptr %7, align 4 %260 = icmp eq i32 1, %259 br i1 %260, label %261, label %263 261: ; preds = %257 %262 = call i32 (...) @migrate_send0() br label %304 263: ; preds = %257 %264 = load i32, ptr %7, align 4 %265 = icmp eq i32 2, %264 br i1 %265, label %266, label %268 266: ; preds = %263 %267 = call i32 (...) @migrate_recv0() br label %303 268: ; preds = %263 %269 = load i32, ptr %7, align 4 %270 = icmp eq i32 3, %269 br i1 %270, label %271, label %273 271: ; preds = %268 %272 = call i32 (...) @migrate_send1() br label %302 273: ; preds = %268 %274 = load i32, ptr %7, align 4 %275 = icmp eq i32 4, %274 br i1 %275, label %276, label %277 276: ; preds = %273 br label %301 277: ; preds = %273 %278 = load i32, ptr %7, align 4 %279 = icmp eq i32 5, %278 br i1 %279, label %280, label %282 280: ; preds = %277 %281 = call i32 (...) @migrate_query0() br label %300 282: ; preds = %277 %283 = load i32, ptr %7, align 4 %284 = icmp eq i32 6, %283 br i1 %284, label %285, label %287 285: ; preds = %282 %286 = call i32 (...) @migrate_query1() br label %299 287: ; preds = %282 %288 = load i32, ptr %7, align 4 %289 = icmp eq i32 7, %288 br i1 %289, label %290, label %292 290: ; preds = %287 %291 = call i32 (...) @migrate_cancel0() br label %298 292: ; preds = %287 %293 = load i32, ptr %7, align 4 %294 = icmp eq i32 8, %293 br i1 %294, label %295, label %297 295: ; preds = %292 %296 = call i32 (...) @migrate_cancel1() br label %297 297: ; preds = %295, %292 br label %298 298: ; preds = %297, %290 br label %299 299: ; preds = %298, %285 br label %300 300: ; preds = %299, %280 br label %301 301: ; preds = %300, %276 br label %302 302: ; preds = %301, %271 br label %303 303: ; preds = %302, %266 br label %304 304: ; preds = %303, %261 br label %481 305: ; preds = %253 %306 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %307 = call i64 @strcmp(ptr noundef %306, ptr noundef @.str.11) %308 = icmp eq i64 %307, 0 br i1 %308, label %309, label %340 309: ; preds = %305 %310 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %311 = load i32, ptr %7, align 4 %312 = icmp eq i32 1, %311 br i1 %312, label %313, label %315 313: ; preds = %309 %314 = call i32 (...) @sys_list() br label %339 315: ; preds = %309 %316 = load i32, ptr %7, align 4 %317 = icmp eq i32 2, %316 br i1 %317, label %318, label %320 318: ; preds = %315 %319 = call i32 (...) @sys_rsync() br label %338 320: ; preds = %315 %321 = load i32, ptr %7, align 4 %322 = icmp eq i32 3, %321 br i1 %322, label %323, label %325 323: ; preds = %320 %324 = call i32 (...) @iso_list() br label %337 325: ; preds = %320 %326 = load i32, ptr %7, align 4 %327 = icmp eq i32 4, %326 br i1 %327, label %328, label %330 328: ; preds = %325 %329 = call i32 (...) @iso_rsync() br label %336 330: ; preds = %325 %331 = load i32, ptr %7, align 4 %332 = icmp eq i32 5, %331 br i1 %332, label %333, label %335 333: ; preds = %330 %334 = call i32 (...) @sysiso_query() br label %335 335: ; preds = %333, %330 br label %336 336: ; preds = %335, %328 br label %337 337: ; preds = %336, %323 br label %338 338: ; preds = %337, %318 br label %339 339: ; preds = %338, %313 br label %480 340: ; preds = %305 %341 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %342 = call i64 @strcmp(ptr noundef %341, ptr noundef @.str.12) %343 = icmp eq i64 %342, 0 br i1 %343, label %344, label %369 344: ; preds = %340 %345 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %346 = load i32, ptr %7, align 4 %347 = icmp eq i32 1, %346 br i1 %347, label %348, label %350 348: ; preds = %344 %349 = call i32 (...) @backup_backup() br label %368 350: ; preds = %344 %351 = load i32, ptr %7, align 4 %352 = icmp eq i32 2, %351 br i1 %352, label %353, label %355 353: ; preds = %350 %354 = call i32 (...) @backup_restore() br label %367 355: ; preds = %350 %356 = load i32, ptr %7, align 4 %357 = icmp eq i32 3, %356 br i1 %357, label %358, label %360 358: ; preds = %355 %359 = call i32 (...) @backup_query() br label %366 360: ; preds = %355 %361 = load i32, ptr %7, align 4 %362 = icmp eq i32 4, %361 br i1 %362, label %363, label %365 363: ; preds = %360 %364 = call i32 (...) @backup_rebase() br label %365 365: ; preds = %363, %360 br label %366 366: ; preds = %365, %358 br label %367 367: ; preds = %366, %353 br label %368 368: ; preds = %367, %348 br label %479 369: ; preds = %340 %370 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %371 = call i64 @strcmp(ptr noundef %370, ptr noundef @.str.13) %372 = icmp eq i64 %371, 0 br i1 %372, label %373, label %392 373: ; preds = %369 %374 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %375 = load i32, ptr %7, align 4 %376 = icmp eq i32 1, %375 br i1 %376, label %377, label %379 377: ; preds = %373 %378 = call i32 (...) @alter_alter() br label %391 379: ; preds = %373 %380 = load i32, ptr %7, align 4 %381 = icmp eq i32 2, %380 br i1 %381, label %382, label %384 382: ; preds = %379 %383 = call i32 (...) @alter_query() br label %390 384: ; preds = %379 %385 = load i32, ptr %7, align 4 %386 = icmp eq i32 3, %385 br i1 %386, label %387, label %389 387: ; preds = %384 %388 = call i32 (...) @alter_rebase() br label %389 389: ; preds = %387, %384 br label %390 390: ; preds = %389, %382 br label %391 391: ; preds = %390, %377 br label %478 392: ; preds = %369 %393 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %394 = call i64 @strcmp(ptr noundef %393, ptr noundef @.str.14) %395 = icmp eq i64 %394, 0 br i1 %395, label %396, label %398 396: ; preds = %392 %397 = call i32 (...) @online() br label %477 398: ; preds = %392 %399 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %400 = call i64 @strcmp(ptr noundef %399, ptr noundef @.str.15) %401 = icmp eq i64 %400, 0 br i1 %401, label %402, label %427 402: ; preds = %398 %403 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %404 = load i32, ptr %7, align 4 %405 = icmp eq i32 1, %404 br i1 %405, label %406, label %408 406: ; preds = %402 %407 = call i32 (...) @disk_list() br label %426 408: ; preds = %402 %409 = load i32, ptr %7, align 4 %410 = icmp eq i32 2, %409 br i1 %410, label %411, label %413 411: ; preds = %408 %412 = call i32 (...) @disk_create() br label %425 413: ; preds = %408 %414 = load i32, ptr %7, align 4 %415 = icmp eq i32 3, %414 br i1 %415, label %416, label %418 416: ; preds = %413 %417 = call i32 (...) @disk_mount() br label %424 418: ; preds = %413 %419 = load i32, ptr %7, align 4 %420 = icmp eq i32 4, %419 br i1 %420, label %421, label %423 421: ; preds = %418 %422 = call i32 (...) @disk_umount() br label %423 423: ; preds = %421, %418 br label %424 424: ; preds = %423, %416 br label %425 425: ; preds = %424, %411 br label %426 426: ; preds = %425, %406 br label %476 427: ; preds = %398 %428 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %429 = call i64 @strcmp(ptr noundef %428, ptr noundef @.str.16) %430 = icmp eq i64 %429, 0 br i1 %430, label %431, label %449 431: ; preds = %427 %432 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %433 = load i32, ptr %7, align 4 %434 = icmp eq i32 1, %433 br i1 %434, label %435, label %437 435: ; preds = %431 %436 = call i32 (...) @brctl_addbr() br label %448 437: ; preds = %431 %438 = load i32, ptr %7, align 4 %439 = icmp eq i32 2, %438 br i1 %439, label %440, label %441 440: ; preds = %437 br label %447 441: ; preds = %437 %442 = load i32, ptr %7, align 4 %443 = icmp eq i32 3, %442 br i1 %443, label %444, label %446 444: ; preds = %441 %445 = call i32 (...) @brctl_addif() br label %446 446: ; preds = %444, %441 br label %447 447: ; preds = %446, %440 br label %448 448: ; preds = %447, %435 br label %475 449: ; preds = %427 %450 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %451 = call i64 @strcmp(ptr noundef %450, ptr noundef @.str.17) %452 = icmp eq i64 %451, 0 br i1 %452, label %453, label %466 453: ; preds = %449 %454 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %455 = load i32, ptr %7, align 4 %456 = icmp eq i32 1, %455 br i1 %456, label %457, label %459 457: ; preds = %453 %458 = call i32 (...) @diskk_mount() br label %465 459: ; preds = %453 %460 = load i32, ptr %7, align 4 %461 = icmp eq i32 2, %460 br i1 %461, label %462, label %464 462: ; preds = %459 %463 = call i32 (...) @diskk_umount() br label %464 464: ; preds = %462, %459 br label %465 465: ; preds = %464, %457 br label %474 466: ; preds = %449 %467 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %468 = call i64 @strcmp(ptr noundef %467, ptr noundef @.str.18) %469 = icmp eq i64 %468, 0 br i1 %469, label %470, label %472 470: ; preds = %466 %471 = call i32 (...) @pbackup_backup() br label %473 472: ; preds = %466 br label %473 473: ; preds = %472, %470 br label %474 474: ; preds = %473, %465 br label %475 475: ; preds = %474, %448 br label %476 476: ; preds = %475, %426 br label %477 477: ; preds = %476, %396 br label %478 478: ; preds = %477, %391 br label %479 479: ; preds = %478, %368 br label %480 480: ; preds = %479, %339 br label %481 481: ; preds = %480, %304 br label %482 482: ; preds = %481, %252 br label %483 483: ; preds = %482, %229 br label %484 484: ; preds = %483, %200 br label %485 485: ; preds = %484, %153 br label %486 486: ; preds = %485, %124 br label %487 487: ; preds = %486, %95 br label %488 488: ; preds = %487, %23 br label %489 489: ; preds = %488, %17 ret i32 0 } declare i32 @setuid(i32 noundef) #1 declare i32 @geteuid(...) #1 declare i32 @setgid(i32 noundef) #1 declare i32 @getegid(...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @addvm(...) #1 declare i32 @delvm(...) #1 declare i32 @power_status(...) #1 declare i32 @power_on(...) #1 declare i32 @power_off(...) #1 declare i32 @power_reset(...) #1 declare i32 @power_stop(...) #1 declare i32 @power_continue(...) #1 declare i32 @power_halt(...) #1 declare i32 @power_commit(...) #1 declare i32 @power_drop(...) #1 declare i32 @power_rebuild(...) #1 declare i32 @power_compare(...) #1 declare i32 @snapshot_list(...) #1 declare i32 @snapshot_create(...) #1 declare i32 @snapshot_del(...) #1 declare i32 @snapshot_apply(...) #1 declare i32 @cd_list(...) #1 declare i32 @cd_mounted(...) #1 declare i32 @cd_mount(...) #1 declare i32 @cd_unmount(...) #1 declare i32 @ppower_status(...) #1 declare i32 @ppower_on(...) #1 declare i32 @ppower_off(...) #1 declare i32 @ppower_reset(...) #1 declare i32 @ppower_stop(...) #1 declare i32 @ppower_continue(...) #1 declare i32 @ppower_halt(...) #1 declare i32 @os_list(...) #1 declare i32 @os_import(...) #1 declare i32 @os_query(...) #1 declare i32 @os_rebuild(...) #1 declare i32 @sync_sync(...) #1 declare i32 @sync_query(...) #1 declare i32 @sync_rebuild(...) #1 declare i32 @migrate_send0(...) #1 declare i32 @migrate_recv0(...) #1 declare i32 @migrate_send1(...) #1 declare i32 @migrate_query0(...) #1 declare i32 @migrate_query1(...) #1 declare i32 @migrate_cancel0(...) #1 declare i32 @migrate_cancel1(...) #1 declare i32 @sys_list(...) #1 declare i32 @sys_rsync(...) #1 declare i32 @iso_list(...) #1 declare i32 @iso_rsync(...) #1 declare i32 @sysiso_query(...) #1 declare i32 @backup_backup(...) #1 declare i32 @backup_restore(...) #1 declare i32 @backup_query(...) #1 declare i32 @backup_rebase(...) #1 declare i32 @alter_alter(...) #1 declare i32 @alter_query(...) #1 declare i32 @alter_rebase(...) #1 declare i32 @online(...) #1 declare i32 @disk_list(...) #1 declare i32 @disk_create(...) #1 declare i32 @disk_mount(...) #1 declare i32 @disk_umount(...) #1 declare i32 @brctl_addbr(...) #1 declare i32 @brctl_addif(...) #1 declare i32 @diskk_mount(...) #1 declare i32 @diskk_umount(...) #1 declare i32 @pbackup_backup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp24fm6wka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"addvm\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"delvm\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"power\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"snapshot\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"ppower\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"os\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"sync\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"migrate\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"distb\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"backup\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"alter\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"online\00", align 1 @.str.15 = private unnamed_addr constant [5 x i8] c"disk\00", align 1 @.str.16 = private unnamed_addr constant [6 x i8] c"brctl\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"diskk\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"pbackup\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 [1024 x i8], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @geteuid() %9 = call i32 @setuid(i32 noundef %8) %10 = call i32 (...) @getegid() %11 = call i32 @setgid(i32 noundef %10) %12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12) %14 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (...) @addvm() br label %489 19: ; preds = %2 %20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 (...) @delvm() br label %488 25: ; preds = %19 %26 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.3) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %96 29: ; preds = %25 %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 1, %31 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (...) @power_status() br label %95 35: ; preds = %29 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 2, %36 br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 (...) @power_on() br label %94 40: ; preds = %35 %41 = load i32, ptr %7, align 4 %42 = icmp eq i32 3, %41 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 (...) @power_off() br label %93 45: ; preds = %40 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 4, %46 br i1 %47, label %48, label %50 48: ; preds = %45 %49 = call i32 (...) @power_reset() br label %92 50: ; preds = %45 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 5, %51 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = call i32 (...) @power_stop() br label %91 55: ; preds = %50 %56 = load i32, ptr %7, align 4 %57 = icmp eq i32 6, %56 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = call i32 (...) @power_continue() br label %90 60: ; preds = %55 %61 = load i32, ptr %7, align 4 %62 = icmp eq i32 7, %61 br i1 %62, label %63, label %65 63: ; preds = %60 %64 = call i32 (...) @power_halt() br label %89 65: ; preds = %60 %66 = load i32, ptr %7, align 4 %67 = icmp eq i32 8, %66 br i1 %67, label %68, label %70 68: ; preds = %65 %69 = call i32 (...) @power_commit() br label %88 70: ; preds = %65 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 9, %71 br i1 %72, label %73, label %75 73: ; preds = %70 %74 = call i32 (...) @power_drop() br label %87 75: ; preds = %70 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 10, %76 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = call i32 (...) @power_rebuild() br label %86 80: ; preds = %75 %81 = load i32, ptr %7, align 4 %82 = icmp eq i32 11, %81 br i1 %82, label %83, label %85 83: ; preds = %80 %84 = call i32 (...) @power_compare() br label %85 85: ; preds = %83, %80 br label %86 86: ; preds = %85, %78 br label %87 87: ; preds = %86, %73 br label %88 88: ; preds = %87, %68 br label %89 89: ; preds = %88, %63 br label %90 90: ; preds = %89, %58 br label %91 91: ; preds = %90, %53 br label %92 92: ; preds = %91, %48 br label %93 93: ; preds = %92, %43 br label %94 94: ; preds = %93, %38 br label %95 95: ; preds = %94, %33 br label %487 96: ; preds = %25 %97 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %98 = call i64 @strcmp(ptr noundef %97, ptr noundef @.str.5) %99 = icmp eq i64 %98, 0 br i1 %99, label %100, label %125 100: ; preds = %96 %101 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %102 = load i32, ptr %7, align 4 %103 = icmp eq i32 1, %102 br i1 %103, label %104, label %106 104: ; preds = %100 %105 = call i32 (...) @snapshot_list() br label %124 106: ; preds = %100 %107 = load i32, ptr %7, align 4 %108 = icmp eq i32 2, %107 br i1 %108, label %109, label %111 109: ; preds = %106 %110 = call i32 (...) @snapshot_create() br label %123 111: ; preds = %106 %112 = load i32, ptr %7, align 4 %113 = icmp eq i32 3, %112 br i1 %113, label %114, label %116 114: ; preds = %111 %115 = call i32 (...) @snapshot_del() br label %122 116: ; preds = %111 %117 = load i32, ptr %7, align 4 %118 = icmp eq i32 4, %117 br i1 %118, label %119, label %121 119: ; preds = %116 %120 = call i32 (...) @snapshot_apply() br label %121 121: ; preds = %119, %116 br label %122 122: ; preds = %121, %114 br label %123 123: ; preds = %122, %109 br label %124 124: ; preds = %123, %104 br label %486 125: ; preds = %96 %126 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %127 = call i64 @strcmp(ptr noundef %126, ptr noundef @.str.6) %128 = icmp eq i64 %127, 0 br i1 %128, label %129, label %154 129: ; preds = %125 %130 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %131 = load i32, ptr %7, align 4 %132 = icmp eq i32 1, %131 br i1 %132, label %133, label %135 133: ; preds = %129 %134 = call i32 (...) @cd_list() br label %153 135: ; preds = %129 %136 = load i32, ptr %7, align 4 %137 = icmp eq i32 2, %136 br i1 %137, label %138, label %140 138: ; preds = %135 %139 = call i32 (...) @cd_mounted() br label %152 140: ; preds = %135 %141 = load i32, ptr %7, align 4 %142 = icmp eq i32 3, %141 br i1 %142, label %143, label %145 143: ; preds = %140 %144 = call i32 (...) @cd_mount() br label %151 145: ; preds = %140 %146 = load i32, ptr %7, align 4 %147 = icmp eq i32 4, %146 br i1 %147, label %148, label %150 148: ; preds = %145 %149 = call i32 (...) @cd_unmount() br label %150 150: ; preds = %148, %145 br label %151 151: ; preds = %150, %143 br label %152 152: ; preds = %151, %138 br label %153 153: ; preds = %152, %133 br label %485 154: ; preds = %125 %155 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %156 = call i64 @strcmp(ptr noundef %155, ptr noundef @.str.7) %157 = icmp eq i64 %156, 0 br i1 %157, label %158, label %201 158: ; preds = %154 %159 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %160 = load i32, ptr %7, align 4 %161 = icmp eq i32 1, %160 br i1 %161, label %162, label %164 162: ; preds = %158 %163 = call i32 (...) @ppower_status() br label %200 164: ; preds = %158 %165 = load i32, ptr %7, align 4 %166 = icmp eq i32 2, %165 br i1 %166, label %167, label %169 167: ; preds = %164 %168 = call i32 (...) @ppower_on() br label %199 169: ; preds = %164 %170 = load i32, ptr %7, align 4 %171 = icmp eq i32 3, %170 br i1 %171, label %172, label %174 172: ; preds = %169 %173 = call i32 (...) @ppower_off() br label %198 174: ; preds = %169 %175 = load i32, ptr %7, align 4 %176 = icmp eq i32 4, %175 br i1 %176, label %177, label %179 177: ; preds = %174 %178 = call i32 (...) @ppower_reset() br label %197 179: ; preds = %174 %180 = load i32, ptr %7, align 4 %181 = icmp eq i32 5, %180 br i1 %181, label %182, label %184 182: ; preds = %179 %183 = call i32 (...) @ppower_stop() br label %196 184: ; preds = %179 %185 = load i32, ptr %7, align 4 %186 = icmp eq i32 6, %185 br i1 %186, label %187, label %189 187: ; preds = %184 %188 = call i32 (...) @ppower_continue() br label %195 189: ; preds = %184 %190 = load i32, ptr %7, align 4 %191 = icmp eq i32 7, %190 br i1 %191, label %192, label %194 192: ; preds = %189 %193 = call i32 (...) @ppower_halt() br label %194 194: ; preds = %192, %189 br label %195 195: ; preds = %194, %187 br label %196 196: ; preds = %195, %182 br label %197 197: ; preds = %196, %177 br label %198 198: ; preds = %197, %172 br label %199 199: ; preds = %198, %167 br label %200 200: ; preds = %199, %162 br label %484 201: ; preds = %154 %202 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %203 = call i64 @strcmp(ptr noundef %202, ptr noundef @.str.8) %204 = icmp eq i64 %203, 0 br i1 %204, label %205, label %230 205: ; preds = %201 %206 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %207 = load i32, ptr %7, align 4 %208 = icmp eq i32 1, %207 br i1 %208, label %209, label %211 209: ; preds = %205 %210 = call i32 (...) @os_list() br label %229 211: ; preds = %205 %212 = load i32, ptr %7, align 4 %213 = icmp eq i32 2, %212 br i1 %213, label %214, label %216 214: ; preds = %211 %215 = call i32 (...) @os_import() br label %228 216: ; preds = %211 %217 = load i32, ptr %7, align 4 %218 = icmp eq i32 3, %217 br i1 %218, label %219, label %221 219: ; preds = %216 %220 = call i32 (...) @os_query() br label %227 221: ; preds = %216 %222 = load i32, ptr %7, align 4 %223 = icmp eq i32 4, %222 br i1 %223, label %224, label %226 224: ; preds = %221 %225 = call i32 (...) @os_rebuild() br label %226 226: ; preds = %224, %221 br label %227 227: ; preds = %226, %219 br label %228 228: ; preds = %227, %214 br label %229 229: ; preds = %228, %209 br label %483 230: ; preds = %201 %231 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %232 = call i64 @strcmp(ptr noundef %231, ptr noundef @.str.9) %233 = icmp eq i64 %232, 0 br i1 %233, label %234, label %253 234: ; preds = %230 %235 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %236 = load i32, ptr %7, align 4 %237 = icmp eq i32 1, %236 br i1 %237, label %238, label %240 238: ; preds = %234 %239 = call i32 (...) @sync_sync() br label %252 240: ; preds = %234 %241 = load i32, ptr %7, align 4 %242 = icmp eq i32 2, %241 br i1 %242, label %243, label %245 243: ; preds = %240 %244 = call i32 (...) @sync_query() br label %251 245: ; preds = %240 %246 = load i32, ptr %7, align 4 %247 = icmp eq i32 3, %246 br i1 %247, label %248, label %250 248: ; preds = %245 %249 = call i32 (...) @sync_rebuild() br label %250 250: ; preds = %248, %245 br label %251 251: ; preds = %250, %243 br label %252 252: ; preds = %251, %238 br label %482 253: ; preds = %230 %254 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %255 = call i64 @strcmp(ptr noundef %254, ptr noundef @.str.10) %256 = icmp eq i64 %255, 0 br i1 %256, label %257, label %305 257: ; preds = %253 %258 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %259 = load i32, ptr %7, align 4 %260 = icmp eq i32 1, %259 br i1 %260, label %261, label %263 261: ; preds = %257 %262 = call i32 (...) @migrate_send0() br label %304 263: ; preds = %257 %264 = load i32, ptr %7, align 4 %265 = icmp eq i32 2, %264 br i1 %265, label %266, label %268 266: ; preds = %263 %267 = call i32 (...) @migrate_recv0() br label %303 268: ; preds = %263 %269 = load i32, ptr %7, align 4 %270 = icmp eq i32 3, %269 br i1 %270, label %271, label %273 271: ; preds = %268 %272 = call i32 (...) @migrate_send1() br label %302 273: ; preds = %268 %274 = load i32, ptr %7, align 4 %275 = icmp eq i32 4, %274 br i1 %275, label %276, label %277 276: ; preds = %273 br label %301 277: ; preds = %273 %278 = load i32, ptr %7, align 4 %279 = icmp eq i32 5, %278 br i1 %279, label %280, label %282 280: ; preds = %277 %281 = call i32 (...) @migrate_query0() br label %300 282: ; preds = %277 %283 = load i32, ptr %7, align 4 %284 = icmp eq i32 6, %283 br i1 %284, label %285, label %287 285: ; preds = %282 %286 = call i32 (...) @migrate_query1() br label %299 287: ; preds = %282 %288 = load i32, ptr %7, align 4 %289 = icmp eq i32 7, %288 br i1 %289, label %290, label %292 290: ; preds = %287 %291 = call i32 (...) @migrate_cancel0() br label %298 292: ; preds = %287 %293 = load i32, ptr %7, align 4 %294 = icmp eq i32 8, %293 br i1 %294, label %295, label %297 295: ; preds = %292 %296 = call i32 (...) @migrate_cancel1() br label %297 297: ; preds = %295, %292 br label %298 298: ; preds = %297, %290 br label %299 299: ; preds = %298, %285 br label %300 300: ; preds = %299, %280 br label %301 301: ; preds = %300, %276 br label %302 302: ; preds = %301, %271 br label %303 303: ; preds = %302, %266 br label %304 304: ; preds = %303, %261 br label %481 305: ; preds = %253 %306 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %307 = call i64 @strcmp(ptr noundef %306, ptr noundef @.str.11) %308 = icmp eq i64 %307, 0 br i1 %308, label %309, label %340 309: ; preds = %305 %310 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %311 = load i32, ptr %7, align 4 %312 = icmp eq i32 1, %311 br i1 %312, label %313, label %315 313: ; preds = %309 %314 = call i32 (...) @sys_list() br label %339 315: ; preds = %309 %316 = load i32, ptr %7, align 4 %317 = icmp eq i32 2, %316 br i1 %317, label %318, label %320 318: ; preds = %315 %319 = call i32 (...) @sys_rsync() br label %338 320: ; preds = %315 %321 = load i32, ptr %7, align 4 %322 = icmp eq i32 3, %321 br i1 %322, label %323, label %325 323: ; preds = %320 %324 = call i32 (...) @iso_list() br label %337 325: ; preds = %320 %326 = load i32, ptr %7, align 4 %327 = icmp eq i32 4, %326 br i1 %327, label %328, label %330 328: ; preds = %325 %329 = call i32 (...) @iso_rsync() br label %336 330: ; preds = %325 %331 = load i32, ptr %7, align 4 %332 = icmp eq i32 5, %331 br i1 %332, label %333, label %335 333: ; preds = %330 %334 = call i32 (...) @sysiso_query() br label %335 335: ; preds = %333, %330 br label %336 336: ; preds = %335, %328 br label %337 337: ; preds = %336, %323 br label %338 338: ; preds = %337, %318 br label %339 339: ; preds = %338, %313 br label %480 340: ; preds = %305 %341 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %342 = call i64 @strcmp(ptr noundef %341, ptr noundef @.str.12) %343 = icmp eq i64 %342, 0 br i1 %343, label %344, label %369 344: ; preds = %340 %345 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %346 = load i32, ptr %7, align 4 %347 = icmp eq i32 1, %346 br i1 %347, label %348, label %350 348: ; preds = %344 %349 = call i32 (...) @backup_backup() br label %368 350: ; preds = %344 %351 = load i32, ptr %7, align 4 %352 = icmp eq i32 2, %351 br i1 %352, label %353, label %355 353: ; preds = %350 %354 = call i32 (...) @backup_restore() br label %367 355: ; preds = %350 %356 = load i32, ptr %7, align 4 %357 = icmp eq i32 3, %356 br i1 %357, label %358, label %360 358: ; preds = %355 %359 = call i32 (...) @backup_query() br label %366 360: ; preds = %355 %361 = load i32, ptr %7, align 4 %362 = icmp eq i32 4, %361 br i1 %362, label %363, label %365 363: ; preds = %360 %364 = call i32 (...) @backup_rebase() br label %365 365: ; preds = %363, %360 br label %366 366: ; preds = %365, %358 br label %367 367: ; preds = %366, %353 br label %368 368: ; preds = %367, %348 br label %479 369: ; preds = %340 %370 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %371 = call i64 @strcmp(ptr noundef %370, ptr noundef @.str.13) %372 = icmp eq i64 %371, 0 br i1 %372, label %373, label %392 373: ; preds = %369 %374 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %375 = load i32, ptr %7, align 4 %376 = icmp eq i32 1, %375 br i1 %376, label %377, label %379 377: ; preds = %373 %378 = call i32 (...) @alter_alter() br label %391 379: ; preds = %373 %380 = load i32, ptr %7, align 4 %381 = icmp eq i32 2, %380 br i1 %381, label %382, label %384 382: ; preds = %379 %383 = call i32 (...) @alter_query() br label %390 384: ; preds = %379 %385 = load i32, ptr %7, align 4 %386 = icmp eq i32 3, %385 br i1 %386, label %387, label %389 387: ; preds = %384 %388 = call i32 (...) @alter_rebase() br label %389 389: ; preds = %387, %384 br label %390 390: ; preds = %389, %382 br label %391 391: ; preds = %390, %377 br label %478 392: ; preds = %369 %393 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %394 = call i64 @strcmp(ptr noundef %393, ptr noundef @.str.14) %395 = icmp eq i64 %394, 0 br i1 %395, label %396, label %398 396: ; preds = %392 %397 = call i32 (...) @online() br label %477 398: ; preds = %392 %399 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %400 = call i64 @strcmp(ptr noundef %399, ptr noundef @.str.15) %401 = icmp eq i64 %400, 0 br i1 %401, label %402, label %427 402: ; preds = %398 %403 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %404 = load i32, ptr %7, align 4 %405 = icmp eq i32 1, %404 br i1 %405, label %406, label %408 406: ; preds = %402 %407 = call i32 (...) @disk_list() br label %426 408: ; preds = %402 %409 = load i32, ptr %7, align 4 %410 = icmp eq i32 2, %409 br i1 %410, label %411, label %413 411: ; preds = %408 %412 = call i32 (...) @disk_create() br label %425 413: ; preds = %408 %414 = load i32, ptr %7, align 4 %415 = icmp eq i32 3, %414 br i1 %415, label %416, label %418 416: ; preds = %413 %417 = call i32 (...) @disk_mount() br label %424 418: ; preds = %413 %419 = load i32, ptr %7, align 4 %420 = icmp eq i32 4, %419 br i1 %420, label %421, label %423 421: ; preds = %418 %422 = call i32 (...) @disk_umount() br label %423 423: ; preds = %421, %418 br label %424 424: ; preds = %423, %416 br label %425 425: ; preds = %424, %411 br label %426 426: ; preds = %425, %406 br label %476 427: ; preds = %398 %428 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %429 = call i64 @strcmp(ptr noundef %428, ptr noundef @.str.16) %430 = icmp eq i64 %429, 0 br i1 %430, label %431, label %449 431: ; preds = %427 %432 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %433 = load i32, ptr %7, align 4 %434 = icmp eq i32 1, %433 br i1 %434, label %435, label %437 435: ; preds = %431 %436 = call i32 (...) @brctl_addbr() br label %448 437: ; preds = %431 %438 = load i32, ptr %7, align 4 %439 = icmp eq i32 2, %438 br i1 %439, label %440, label %441 440: ; preds = %437 br label %447 441: ; preds = %437 %442 = load i32, ptr %7, align 4 %443 = icmp eq i32 3, %442 br i1 %443, label %444, label %446 444: ; preds = %441 %445 = call i32 (...) @brctl_addif() br label %446 446: ; preds = %444, %441 br label %447 447: ; preds = %446, %440 br label %448 448: ; preds = %447, %435 br label %475 449: ; preds = %427 %450 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %451 = call i64 @strcmp(ptr noundef %450, ptr noundef @.str.17) %452 = icmp eq i64 %451, 0 br i1 %452, label %453, label %466 453: ; preds = %449 %454 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7) %455 = load i32, ptr %7, align 4 %456 = icmp eq i32 1, %455 br i1 %456, label %457, label %459 457: ; preds = %453 %458 = call i32 (...) @diskk_mount() br label %465 459: ; preds = %453 %460 = load i32, ptr %7, align 4 %461 = icmp eq i32 2, %460 br i1 %461, label %462, label %464 462: ; preds = %459 %463 = call i32 (...) @diskk_umount() br label %464 464: ; preds = %462, %459 br label %465 465: ; preds = %464, %457 br label %474 466: ; preds = %449 %467 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %468 = call i64 @strcmp(ptr noundef %467, ptr noundef @.str.18) %469 = icmp eq i64 %468, 0 br i1 %469, label %470, label %472 470: ; preds = %466 %471 = call i32 (...) @pbackup_backup() br label %473 472: ; preds = %466 br label %473 473: ; preds = %472, %470 br label %474 474: ; preds = %473, %465 br label %475 475: ; preds = %474, %448 br label %476 476: ; preds = %475, %426 br label %477 477: ; preds = %476, %396 br label %478 478: ; preds = %477, %391 br label %479 479: ; preds = %478, %368 br label %480 480: ; preds = %479, %339 br label %481 481: ; preds = %480, %304 br label %482 482: ; preds = %481, %252 br label %483 483: ; preds = %482, %229 br label %484 484: ; preds = %483, %200 br label %485 485: ; preds = %484, %153 br label %486 486: ; preds = %485, %124 br label %487 487: ; preds = %486, %95 br label %488 488: ; preds = %487, %23 br label %489 489: ; preds = %488, %17 ret i32 0 } declare i32 @setuid(i32 noundef) #1 declare i32 @geteuid(...) #1 declare i32 @setgid(i32 noundef) #1 declare i32 @getegid(...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @addvm(...) #1 declare i32 @delvm(...) #1 declare i32 @power_status(...) #1 declare i32 @power_on(...) #1 declare i32 @power_off(...) #1 declare i32 @power_reset(...) #1 declare i32 @power_stop(...) #1 declare i32 @power_continue(...) #1 declare i32 @power_halt(...) #1 declare i32 @power_commit(...) #1 declare i32 @power_drop(...) #1 declare i32 @power_rebuild(...) #1 declare i32 @power_compare(...) #1 declare i32 @snapshot_list(...) #1 declare i32 @snapshot_create(...) #1 declare i32 @snapshot_del(...) #1 declare i32 @snapshot_apply(...) #1 declare i32 @cd_list(...) #1 declare i32 @cd_mounted(...) #1 declare i32 @cd_mount(...) #1 declare i32 @cd_unmount(...) #1 declare i32 @ppower_status(...) #1 declare i32 @ppower_on(...) #1 declare i32 @ppower_off(...) #1 declare i32 @ppower_reset(...) #1 declare i32 @ppower_stop(...) #1 declare i32 @ppower_continue(...) #1 declare i32 @ppower_halt(...) #1 declare i32 @os_list(...) #1 declare i32 @os_import(...) #1 declare i32 @os_query(...) #1 declare i32 @os_rebuild(...) #1 declare i32 @sync_sync(...) #1 declare i32 @sync_query(...) #1 declare i32 @sync_rebuild(...) #1 declare i32 @migrate_send0(...) #1 declare i32 @migrate_recv0(...) #1 declare i32 @migrate_send1(...) #1 declare i32 @migrate_query0(...) #1 declare i32 @migrate_query1(...) #1 declare i32 @migrate_cancel0(...) #1 declare i32 @migrate_cancel1(...) #1 declare i32 @sys_list(...) #1 declare i32 @sys_rsync(...) #1 declare i32 @iso_list(...) #1 declare i32 @iso_rsync(...) #1 declare i32 @sysiso_query(...) #1 declare i32 @backup_backup(...) #1 declare i32 @backup_restore(...) #1 declare i32 @backup_query(...) #1 declare i32 @backup_rebase(...) #1 declare i32 @alter_alter(...) #1 declare i32 @alter_query(...) #1 declare i32 @alter_rebase(...) #1 declare i32 @online(...) #1 declare i32 @disk_list(...) #1 declare i32 @disk_create(...) #1 declare i32 @disk_mount(...) #1 declare i32 @disk_umount(...) #1 declare i32 @brctl_addbr(...) #1 declare i32 @brctl_addif(...) #1 declare i32 @diskk_mount(...) #1 declare i32 @diskk_umount(...) #1 declare i32 @pbackup_backup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0yxijcc9.c' source_filename = "/tmp/tmp0yxijcc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostRequestIN(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 1074069504 %8 = zext i1 %7 to i32 %9 = call i32 @ASSERT(i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %33, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 16 br i1 %14, label %33, label %15 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 32 br i1 %17, label %33, label %18 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 48 br i1 %20, label %33, label %21 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 64 br i1 %23, label %33, label %24 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 80 br i1 %26, label %33, label %27 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 96 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 112 br label %33 33: ; preds = %30, %27, %24, %21, %18, %15, %12, %2 %34 = phi i1 [ true, %27 ], [ true, %24 ], [ true, %21 ], [ true, %18 ], [ true, %15 ], [ true, %12 ], [ true, %2 ], [ %32, %30 ] %35 = zext i1 %34 to i32 %36 = call i32 @ASSERT(i32 noundef %35) %37 = load i32, ptr %4, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %33 store i32 258, ptr %5, align 4 br label %44 40: ; preds = %33 %41 = load i32, ptr %4, align 4 %42 = sub nsw i32 %41, 16 %43 = add nsw i32 278, %42 store i32 %43, ptr %5, align 4 br label %44 44: ; preds = %40, %39 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = inttoptr i64 %48 to ptr store volatile i32 32, ptr %49, align 4 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0yxijcc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostRequestIN(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 1074069504 %8 = zext i1 %7 to i32 %9 = call i32 @ASSERT(i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %33, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 16 br i1 %14, label %33, label %15 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 32 br i1 %17, label %33, label %18 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 48 br i1 %20, label %33, label %21 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 64 br i1 %23, label %33, label %24 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 80 br i1 %26, label %33, label %27 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 96 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 112 br label %33 33: ; preds = %30, %27, %24, %21, %18, %15, %12, %2 %34 = phi i1 [ true, %27 ], [ true, %24 ], [ true, %21 ], [ true, %18 ], [ true, %15 ], [ true, %12 ], [ true, %2 ], [ %32, %30 ] %35 = zext i1 %34 to i32 %36 = call i32 @ASSERT(i32 noundef %35) %37 = load i32, ptr %4, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %33 store i32 258, ptr %5, align 4 br label %44 40: ; preds = %33 %41 = load i32, ptr %4, align 4 %42 = sub nsw i32 %41, 16 %43 = add nsw i32 278, %42 store i32 %43, ptr %5, align 4 br label %44 44: ; preds = %40, %39 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = inttoptr i64 %48 to ptr store volatile i32 32, ptr %49, align 4 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"}
; ModuleID = '/tmp/tmp_xbscvam.c' source_filename = "/tmp/tmp_xbscvam.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"--> %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"number of words: [%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNumberOfWordsInFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str.1) store ptr %10, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %28, %1 %12 = load ptr, ptr %3, align 8 %13 = call signext i8 @fgetc(ptr noundef %12) store i8 %13, ptr %4, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr @EOF, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %14, %16 br i1 %17, label %18, label %29 18: ; preds = %11 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 10 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %28 25: ; preds = %18 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %25, %22 br label %11, !llvm.loop !6 29: ; preds = %11 %30 = load ptr, ptr %3, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = load i32, ptr %6, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) %34 = load i32, ptr %6, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_xbscvam.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"--> %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"number of words: [%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNumberOfWordsInFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str.1) store ptr %10, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %11 = load ptr, ptr %3, align 8 %12 = call signext i8 @fgetc(ptr noundef %11) store i8 %12, ptr %4, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr @EOF, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %13, %15 br i1 %16, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %27 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 10 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %27 24: ; preds = %17 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %24, %21 %28 = load ptr, ptr %3, align 8 %29 = call signext i8 @fgetc(ptr noundef %28) store i8 %29, ptr %4, align 1 %30 = sext i8 %29 to i32 %31 = load i8, ptr @EOF, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %30, %32 br i1 %33, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %3, align 8 %36 = call i32 @fclose(ptr noundef %35) %37 = load i32, ptr %6, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37) %39 = load i32, ptr %6, align 4 ret i32 %39 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpghe3k39o.c' source_filename = "/tmp/tmpghe3k39o.c" target datalayout = "e-m:e-p270: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/tmpghe3k39o.c" target datalayout = "e-m:e-p270: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/tmpdzhmcwcb.c' source_filename = "/tmp/tmpdzhmcwcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_encrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [176 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [176 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %4, align 8 %8 = call i32 @expandKey(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [176 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @aes_encr(ptr noundef %9, ptr noundef %10) ret void } declare i32 @expandKey(ptr noundef, ptr noundef) #1 declare i32 @aes_encr(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/tmpdzhmcwcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_encrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [176 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [176 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %4, align 8 %8 = call i32 @expandKey(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [176 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @aes_encr(ptr noundef %9, ptr noundef %10) ret void } declare i32 @expandKey(ptr noundef, ptr noundef) #1 declare i32 @aes_encr(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/tmptyemx87w.c' source_filename = "/tmp/tmptyemx87w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_hexa_itoa(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %6 = load i64, ptr %2, align 8 store i64 %6, ptr %5, align 8 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %10, %1 %8 = load i64, ptr %5, align 8 %9 = icmp uge i64 %8, 16 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load i64, ptr %5, align 8 %12 = udiv i64 %11, 16 store i64 %12, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 br label %7, !llvm.loop !6 15: ; preds = %7 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 8, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %3, align 8 %23 = load ptr, ptr %3, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %48 25: ; preds = %15 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 store i8 0, ptr %30, align 1 br label %31 31: ; preds = %34, %25 %32 = load i32, ptr %4, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %34, label %47 34: ; preds = %31 %35 = load i64, ptr %2, align 8 %36 = urem i64 %35, 16 store i64 %36, ptr %5, align 8 %37 = load i64, ptr %5, align 8 %38 = call signext i8 @switch_hexa(i64 noundef %37) %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 %38, ptr %42, align 1 %43 = load i64, ptr %2, align 8 %44 = udiv i64 %43, 16 store i64 %44, ptr %2, align 8 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %4, align 4 br label %31, !llvm.loop !8 47: ; preds = %31 br label %48 48: ; preds = %47, %15 %49 = load ptr, ptr %3, align 8 ret ptr %49 } declare i64 @malloc(i32 noundef) #1 declare signext i8 @switch_hexa(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptyemx87w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_hexa_itoa(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %6 = load i64, ptr %2, align 8 store i64 %6, ptr %5, align 8 store i32 0, ptr %4, align 4 %7 = load i64, ptr %5, align 8 %8 = icmp uge i64 %7, 16 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i64, ptr %5, align 8 %11 = udiv i64 %10, 16 store i64 %11, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 %14 = load i64, ptr %5, align 8 %15 = icmp uge i64 %14, 16 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %1 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = mul i64 8, %19 %21 = trunc i64 %20 to i32 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %50 26: ; preds = %16 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 store i8 0, ptr %31, align 1 %32 = load i32, ptr %4, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %.lr.ph2, label %49 .lr.ph2: ; preds = %26 br label %34 34: ; preds = %.lr.ph2, %34 %35 = load i64, ptr %2, align 8 %36 = urem i64 %35, 16 store i64 %36, ptr %5, align 8 %37 = load i64, ptr %5, align 8 %38 = call signext i8 @switch_hexa(i64 noundef %37) %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 %38, ptr %42, align 1 %43 = load i64, ptr %2, align 8 %44 = udiv i64 %43, 16 store i64 %44, ptr %2, align 8 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %4, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp sge i32 %47, 0 br i1 %48, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %49 49: ; preds = %._crit_edge3, %26 br label %50 50: ; preds = %49, %16 %51 = load ptr, ptr %3, align 8 ret ptr %51 } declare i64 @malloc(i32 noundef) #1 declare signext i8 @switch_hexa(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0baev1dw.c' source_filename = "/tmp/tmp0baev1dw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"APPASERVER_DATABASE\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"<p>Setting environment: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_database_environment(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load ptr, ptr %3, align 8 %6 = call i32 @environ_set_environment(ptr noundef @.str, ptr noundef %5) %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 121 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) br label %13 13: ; preds = %10, %2 ret void } declare i32 @environ_set_environment(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0baev1dw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"APPASERVER_DATABASE\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"<p>Setting environment: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_database_environment(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load ptr, ptr %3, align 8 %6 = call i32 @environ_set_environment(ptr noundef @.str, ptr noundef %5) %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 121 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) br label %13 13: ; preds = %10, %2 ret void } declare i32 @environ_set_environment(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qn9bu_z.c' source_filename = "/tmp/tmp5qn9bu_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"manage.pid\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Could not load pid file\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c".perfect_numbers\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"Could not open FIFO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pipe_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @load_pid_file(ptr noundef @.str) %10 = load ptr, ptr %3, align 8 store i32 %9, ptr %10, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %25 16: ; preds = %1 %17 = load i32, ptr @O_RDONLY, align 4 %18 = call i32 @open(ptr noundef @.str.2, i32 noundef %17) store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %2, align 4 br label %25 23: ; preds = %16 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %23, %21, %14 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @assert(i32 noundef) #1 declare i32 @load_pid_file(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(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/tmp5qn9bu_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"manage.pid\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Could not load pid file\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c".perfect_numbers\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"Could not open FIFO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pipe_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @load_pid_file(ptr noundef @.str) %10 = load ptr, ptr %3, align 8 store i32 %9, ptr %10, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %25 16: ; preds = %1 %17 = load i32, ptr @O_RDONLY, align 4 %18 = call i32 @open(ptr noundef @.str.2, i32 noundef %17) store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %2, align 4 br label %25 23: ; preds = %16 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %23, %21, %14 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @assert(i32 noundef) #1 declare i32 @load_pid_file(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(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/tmpehadvg7y.c' source_filename = "/tmp/tmpehadvg7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BPF_ANY = 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/tmpehadvg7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BPF_ANY = 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/tmpzp5o2zf_.c' source_filename = "/tmp/tmpzp5o2zf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i32 1 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i8, ptr %7, align 1 %9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzp5o2zf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i32 1 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i8, ptr %7, align 1 %9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8) 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"}
; ModuleID = '/tmp/tmp29gtzods.c' source_filename = "/tmp/tmp29gtzods.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XNoExposeEvent_send_event(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp29gtzods.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XNoExposeEvent_send_event(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfyikfgty.c' source_filename = "/tmp/tmpfyikfgty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__globinit_triangle() #0 { %1 = call i32 (...) @__CrestInit() ret void } declare i32 @__CrestInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfyikfgty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__globinit_triangle() #0 { %1 = call i32 (...) @__CrestInit() ret void } declare i32 @__CrestInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsop2nrdr.c' source_filename = "/tmp/tmpsop2nrdr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmpar(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca i32, align 4 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca i32, align 4 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca double, align 8 %42 = alloca i32, align 4 %43 = alloca double, align 8 %44 = alloca i32, align 4 %45 = alloca i32, align 4 store i32 %0, ptr %13, align 4 store ptr %1, ptr %14, align 8 store i32 %2, ptr %15, align 4 store ptr %3, ptr %16, align 8 store ptr %4, ptr %17, align 8 store ptr %5, ptr %18, align 8 store double %6, ptr %19, align 8 store ptr %7, ptr %20, align 8 store ptr %8, ptr %21, align 8 store ptr %9, ptr %22, align 8 store ptr %10, ptr %23, align 8 store ptr %11, ptr %24, align 8 %46 = call double @dpmpar(i32 noundef 2) store double %46, ptr %35, align 8 %47 = load i32, ptr %13, align 4 store i32 %47, ptr %36, align 4 store i32 0, ptr %27, align 4 br label %48 48: ; preds = %88, %12 %49 = load i32, ptr %27, align 4 %50 = load i32, ptr %13, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %91 52: ; preds = %48 %53 = load ptr, ptr %18, align 8 %54 = load i32, ptr %27, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %23, align 8 %59 = load i32, ptr %27, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 store double %57, ptr %61, align 8 %62 = load ptr, ptr %14, align 8 %63 = load i32, ptr %27, align 4 %64 = load i32, ptr %27, align 4 %65 = load i32, ptr %15, align 4 %66 = mul nsw i32 %64, %65 %67 = add nsw i32 %63, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %62, i64 %68 %70 = load double, ptr %69, align 8 %71 = fcmp oeq double %70, 0.000000e+00 br i1 %71, label %72, label %78 72: ; preds = %52 %73 = load i32, ptr %36, align 4 %74 = load i32, ptr %13, align 4 %75 = icmp eq i32 %73, %74 br i1 %75, label %76, label %78 76: ; preds = %72 %77 = load i32, ptr %27, align 4 store i32 %77, ptr %36, align 4 br label %78 78: ; preds = %76, %72, %52 %79 = load i32, ptr %36, align 4 %80 = load i32, ptr %13, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %87 82: ; preds = %78 %83 = load ptr, ptr %23, align 8 %84 = load i32, ptr %27, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %83, i64 %85 store double 0.000000e+00, ptr %86, align 8 br label %87 87: ; preds = %82, %78 br label %88 88: ; preds = %87 %89 = load i32, ptr %27, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %27, align 4 br label %48, !llvm.loop !6 91: ; preds = %48 %92 = load i32, ptr %36, align 4 %93 = icmp sge i32 %92, 1 br i1 %93, label %94, label %157 94: ; preds = %91 store i32 1, ptr %39, align 4 br label %95 95: ; preds = %153, %94 %96 = load i32, ptr %39, align 4 %97 = load i32, ptr %36, align 4 %98 = icmp sle i32 %96, %97 br i1 %98, label %99, label %156 99: ; preds = %95 %100 = load i32, ptr %36, align 4 %101 = load i32, ptr %39, align 4 %102 = sub nsw i32 %100, %101 store i32 %102, ptr %27, align 4 %103 = load ptr, ptr %14, align 8 %104 = load i32, ptr %27, align 4 %105 = load i32, ptr %27, align 4 %106 = load i32, ptr %15, align 4 %107 = mul nsw i32 %105, %106 %108 = add nsw i32 %104, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %103, i64 %109 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %23, align 8 %113 = load i32, ptr %27, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 %116 = load double, ptr %115, align 8 %117 = fdiv double %116, %111 store double %117, ptr %115, align 8 %118 = load ptr, ptr %23, align 8 %119 = load i32, ptr %27, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 %122 = load double, ptr %121, align 8 store double %122, ptr %33, align 8 %123 = load i32, ptr %27, align 4 %124 = icmp sge i32 %123, 1 br i1 %124, label %125, label %152 125: ; preds = %99 store i32 0, ptr %40, align 4 br label %126 126: ; preds = %148, %125 %127 = load i32, ptr %40, align 4 %128 = load i32, ptr %27, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %130, label %151 130: ; preds = %126 %131 = load ptr, ptr %14, align 8 %132 = load i32, ptr %40, align 4 %133 = load i32, ptr %27, align 4 %134 = load i32, ptr %15, align 4 %135 = mul nsw i32 %133, %134 %136 = add nsw i32 %132, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %131, i64 %137 %139 = load double, ptr %138, align 8 %140 = load double, ptr %33, align 8 %141 = load ptr, ptr %23, align 8 %142 = load i32, ptr %40, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %141, i64 %143 %145 = load double, ptr %144, align 8 %146 = fneg double %139 %147 = call double @llvm.fmuladd.f64(double %146, double %140, double %145) store double %147, ptr %144, align 8 br label %148 148: ; preds = %130 %149 = load i32, ptr %40, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %40, align 4 br label %126, !llvm.loop !8 151: ; preds = %126 br label %152 152: ; preds = %151, %99 br label %153 153: ; preds = %152 %154 = load i32, ptr %39, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %39, align 4 br label %95, !llvm.loop !9 156: ; preds = %95 br label %157 157: ; preds = %156, %91 store i32 0, ptr %27, align 4 br label %158 158: ; preds = %178, %157 %159 = load i32, ptr %27, align 4 %160 = load i32, ptr %13, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %162, label %181 162: ; preds = %158 %163 = load ptr, ptr %16, align 8 %164 = load i32, ptr %27, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i32, ptr %163, i64 %165 %167 = load i32, ptr %166, align 4 %168 = sub nsw i32 %167, 1 store i32 %168, ptr %28, align 4 %169 = load ptr, ptr %23, align 8 %170 = load i32, ptr %27, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = load ptr, ptr %21, align 8 %175 = load i32, ptr %28, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %174, i64 %176 store double %173, ptr %177, align 8 br label %178 178: ; preds = %162 %179 = load i32, ptr %27, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %27, align 4 br label %158, !llvm.loop !10 181: ; preds = %158 store i32 0, ptr %32, align 4 store i32 0, ptr %27, align 4 br label %182 182: ; preds = %202, %181 %183 = load i32, ptr %27, align 4 %184 = load i32, ptr %13, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %186, label %205 186: ; preds = %182 %187 = load ptr, ptr %17, align 8 %188 = load i32, ptr %27, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = load ptr, ptr %21, align 8 %193 = load i32, ptr %27, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %192, i64 %194 %196 = load double, ptr %195, align 8 %197 = fmul double %191, %196 %198 = load ptr, ptr %24, align 8 %199 = load i32, ptr %27, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %198, i64 %200 store double %197, ptr %201, align 8 br label %202 202: ; preds = %186 %203 = load i32, ptr %27, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %27, align 4 br label %182, !llvm.loop !11 205: ; preds = %182 %206 = load i32, ptr %13, align 4 %207 = load ptr, ptr %24, align 8 %208 = call double @enorm(i32 noundef %206, ptr noundef %207) store double %208, ptr %38, align 8 %209 = load double, ptr %38, align 8 %210 = load double, ptr %19, align 8 %211 = fsub double %209, %210 store double %211, ptr %29, align 8 %212 = load double, ptr %29, align 8 %213 = load double, ptr %19, align 8 %214 = fmul double 1.000000e-01, %213 %215 = fcmp ole double %212, %214 br i1 %215, label %216, label %217 216: ; preds = %205 br label %678 217: ; preds = %205 store double 0.000000e+00, ptr %31, align 8 %218 = load i32, ptr %36, align 4 %219 = load i32, ptr %13, align 4 %220 = icmp sge i32 %218, %219 br i1 %220, label %221, label %323 221: ; preds = %217 store i32 0, ptr %27, align 4 br label %222 222: ; preds = %250, %221 %223 = load i32, ptr %27, align 4 %224 = load i32, ptr %13, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %226, label %253 226: ; preds = %222 %227 = load ptr, ptr %16, align 8 %228 = load i32, ptr %27, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i32, ptr %227, i64 %229 %231 = load i32, ptr %230, align 4 %232 = sub nsw i32 %231, 1 store i32 %232, ptr %28, align 4 %233 = load ptr, ptr %17, align 8 %234 = load i32, ptr %28, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %233, i64 %235 %237 = load double, ptr %236, align 8 %238 = load ptr, ptr %24, align 8 %239 = load i32, ptr %28, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %238, i64 %240 %242 = load double, ptr %241, align 8 %243 = load double, ptr %38, align 8 %244 = fdiv double %242, %243 %245 = fmul double %237, %244 %246 = load ptr, ptr %23, align 8 %247 = load i32, ptr %27, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds double, ptr %246, i64 %248 store double %245, ptr %249, align 8 br label %250 250: ; preds = %226 %251 = load i32, ptr %27, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %27, align 4 br label %222, !llvm.loop !12 253: ; preds = %222 store i32 0, ptr %27, align 4 br label %254 254: ; preds = %309, %253 %255 = load i32, ptr %27, align 4 %256 = load i32, ptr %13, align 4 %257 = icmp slt i32 %255, %256 br i1 %257, label %258, label %312 258: ; preds = %254 store double 0.000000e+00, ptr %41, align 8 %259 = load i32, ptr %27, align 4 %260 = icmp sge i32 %259, 1 br i1 %260, label %261, label %287 261: ; preds = %258 store i32 0, ptr %42, align 4 br label %262 262: ; preds = %283, %261 %263 = load i32, ptr %42, align 4 %264 = load i32, ptr %27, align 4 %265 = icmp slt i32 %263, %264 br i1 %265, label %266, label %286 266: ; preds = %262 %267 = load ptr, ptr %14, align 8 %268 = load i32, ptr %42, align 4 %269 = load i32, ptr %27, align 4 %270 = load i32, ptr %15, align 4 %271 = mul nsw i32 %269, %270 %272 = add nsw i32 %268, %271 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds double, ptr %267, i64 %273 %275 = load double, ptr %274, align 8 %276 = load ptr, ptr %23, align 8 %277 = load i32, ptr %42, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds double, ptr %276, i64 %278 %280 = load double, ptr %279, align 8 %281 = load double, ptr %41, align 8 %282 = call double @llvm.fmuladd.f64(double %275, double %280, double %281) store double %282, ptr %41, align 8 br label %283 283: ; preds = %266 %284 = load i32, ptr %42, align 4 %285 = add nsw i32 %284, 1 store i32 %285, ptr %42, align 4 br label %262, !llvm.loop !13 286: ; preds = %262 br label %287 287: ; preds = %286, %258 %288 = load ptr, ptr %23, align 8 %289 = load i32, ptr %27, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds double, ptr %288, i64 %290 %292 = load double, ptr %291, align 8 %293 = load double, ptr %41, align 8 %294 = fsub double %292, %293 %295 = load ptr, ptr %14, align 8 %296 = load i32, ptr %27, align 4 %297 = load i32, ptr %27, align 4 %298 = load i32, ptr %15, align 4 %299 = mul nsw i32 %297, %298 %300 = add nsw i32 %296, %299 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds double, ptr %295, i64 %301 %303 = load double, ptr %302, align 8 %304 = fdiv double %294, %303 %305 = load ptr, ptr %23, align 8 %306 = load i32, ptr %27, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds double, ptr %305, i64 %307 store double %304, ptr %308, align 8 br label %309 309: ; preds = %287 %310 = load i32, ptr %27, align 4 %311 = add nsw i32 %310, 1 store i32 %311, ptr %27, align 4 br label %254, !llvm.loop !14 312: ; preds = %254 %313 = load i32, ptr %13, align 4 %314 = load ptr, ptr %23, align 8 %315 = call double @enorm(i32 noundef %313, ptr noundef %314) store double %315, ptr %33, align 8 %316 = load double, ptr %29, align 8 %317 = load double, ptr %19, align 8 %318 = fdiv double %316, %317 %319 = load double, ptr %33, align 8 %320 = fdiv double %318, %319 %321 = load double, ptr %33, align 8 %322 = fdiv double %320, %321 store double %322, ptr %31, align 8 br label %323 323: ; preds = %312, %217 store i32 0, ptr %27, align 4 br label %324 324: ; preds = %371, %323 %325 = load i32, ptr %27, align 4 %326 = load i32, ptr %13, align 4 %327 = icmp slt i32 %325, %326 br i1 %327, label %328, label %374 328: ; preds = %324 store double 0.000000e+00, ptr %43, align 8 store i32 0, ptr %44, align 4 br label %329 329: ; preds = %350, %328 %330 = load i32, ptr %44, align 4 %331 = load i32, ptr %27, align 4 %332 = icmp sle i32 %330, %331 br i1 %332, label %333, label %353 333: ; preds = %329 %334 = load ptr, ptr %14, align 8 %335 = load i32, ptr %44, align 4 %336 = load i32, ptr %27, align 4 %337 = load i32, ptr %15, align 4 %338 = mul nsw i32 %336, %337 %339 = add nsw i32 %335, %338 %340 = sext i32 %339 to i64 %341 = getelementptr inbounds double, ptr %334, i64 %340 %342 = load double, ptr %341, align 8 %343 = load ptr, ptr %18, align 8 %344 = load i32, ptr %44, align 4 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds double, ptr %343, i64 %345 %347 = load double, ptr %346, align 8 %348 = load double, ptr %43, align 8 %349 = call double @llvm.fmuladd.f64(double %342, double %347, double %348) store double %349, ptr %43, align 8 br label %350 350: ; preds = %333 %351 = load i32, ptr %44, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %44, align 4 br label %329, !llvm.loop !15 353: ; preds = %329 %354 = load ptr, ptr %16, align 8 %355 = load i32, ptr %27, align 4 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds i32, ptr %354, i64 %356 %358 = load i32, ptr %357, align 4 %359 = sub nsw i32 %358, 1 store i32 %359, ptr %28, align 4 %360 = load double, ptr %43, align 8 %361 = load ptr, ptr %17, align 8 %362 = load i32, ptr %28, align 4 %363 = sext i32 %362 to i64 %364 = getelementptr inbounds double, ptr %361, i64 %363 %365 = load double, ptr %364, align 8 %366 = fdiv double %360, %365 %367 = load ptr, ptr %23, align 8 %368 = load i32, ptr %27, align 4 %369 = sext i32 %368 to i64 %370 = getelementptr inbounds double, ptr %367, i64 %369 store double %366, ptr %370, align 8 br label %371 371: ; preds = %353 %372 = load i32, ptr %27, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %27, align 4 br label %324, !llvm.loop !16 374: ; preds = %324 %375 = load i32, ptr %13, align 4 %376 = load ptr, ptr %23, align 8 %377 = call double @enorm(i32 noundef %375, ptr noundef %376) store double %377, ptr %37, align 8 %378 = load double, ptr %37, align 8 %379 = load double, ptr %19, align 8 %380 = fdiv double %378, %379 store double %380, ptr %34, align 8 %381 = load double, ptr %34, align 8 %382 = fcmp oeq double %381, 0.000000e+00 br i1 %382, label %383, label %393 383: ; preds = %374 %384 = load double, ptr %35, align 8 %385 = load double, ptr %19, align 8 %386 = fcmp ole double %385, 1.000000e-01 br i1 %386, label %387, label %389 387: ; preds = %383 %388 = load double, ptr %19, align 8 br label %390 389: ; preds = %383 br label %390 390: ; preds = %389, %387 %391 = phi double [ %388, %387 ], [ 1.000000e-01, %389 ] %392 = fdiv double %384, %391 store double %392, ptr %34, align 8 br label %393 393: ; preds = %390, %374 %394 = load ptr, ptr %20, align 8 %395 = load double, ptr %394, align 8 %396 = load double, ptr %31, align 8 %397 = fcmp oge double %395, %396 br i1 %397, label %398, label %401 398: ; preds = %393 %399 = load ptr, ptr %20, align 8 %400 = load double, ptr %399, align 8 br label %403 401: ; preds = %393 %402 = load double, ptr %31, align 8 br label %403 403: ; preds = %401, %398 %404 = phi double [ %400, %398 ], [ %402, %401 ] %405 = load ptr, ptr %20, align 8 store double %404, ptr %405, align 8 %406 = load ptr, ptr %20, align 8 %407 = load double, ptr %406, align 8 %408 = load double, ptr %34, align 8 %409 = fcmp ole double %407, %408 br i1 %409, label %410, label %413 410: ; preds = %403 %411 = load ptr, ptr %20, align 8 %412 = load double, ptr %411, align 8 br label %415 413: ; preds = %403 %414 = load double, ptr %34, align 8 br label %415 415: ; preds = %413, %410 %416 = phi double [ %412, %410 ], [ %414, %413 ] %417 = load ptr, ptr %20, align 8 store double %416, ptr %417, align 8 %418 = load ptr, ptr %20, align 8 %419 = load double, ptr %418, align 8 %420 = fcmp oeq double %419, 0.000000e+00 br i1 %420, label %421, label %426 421: ; preds = %415 %422 = load double, ptr %37, align 8 %423 = load double, ptr %38, align 8 %424 = fdiv double %422, %423 %425 = load ptr, ptr %20, align 8 store double %424, ptr %425, align 8 br label %426 426: ; preds = %421, %415 br label %427 427: ; preds = %675, %426 %428 = load i32, ptr %32, align 4 %429 = add nsw i32 %428, 1 store i32 %429, ptr %32, align 4 %430 = load ptr, ptr %20, align 8 %431 = load double, ptr %430, align 8 %432 = fcmp oeq double %431, 0.000000e+00 br i1 %432, label %433, label %447 433: ; preds = %427 %434 = load double, ptr %35, align 8 store double %434, ptr %25, align 8 %435 = load double, ptr %34, align 8 %436 = fmul double 1.000000e-03, %435 store double %436, ptr %26, align 8 %437 = load double, ptr %25, align 8 %438 = load double, ptr %26, align 8 %439 = fcmp oge double %437, %438 br i1 %439, label %440, label %442 440: ; preds = %433 %441 = load double, ptr %25, align 8 br label %444 442: ; preds = %433 %443 = load double, ptr %26, align 8 br label %444 444: ; preds = %442, %440 %445 = phi double [ %441, %440 ], [ %443, %442 ] %446 = load ptr, ptr %20, align 8 store double %445, ptr %446, align 8 br label %447 447: ; preds = %444, %427 %448 = load ptr, ptr %20, align 8 %449 = load double, ptr %448, align 8 %450 = call double @sqrt(double noundef %449) #4 store double %450, ptr %33, align 8 store i32 0, ptr %27, align 4 br label %451 451: ; preds = %467, %447 %452 = load i32, ptr %27, align 4 %453 = load i32, ptr %13, align 4 %454 = icmp slt i32 %452, %453 br i1 %454, label %455, label %470 455: ; preds = %451 %456 = load double, ptr %33, align 8 %457 = load ptr, ptr %17, align 8 %458 = load i32, ptr %27, align 4 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds double, ptr %457, i64 %459 %461 = load double, ptr %460, align 8 %462 = fmul double %456, %461 %463 = load ptr, ptr %23, align 8 %464 = load i32, ptr %27, align 4 %465 = sext i32 %464 to i64 %466 = getelementptr inbounds double, ptr %463, i64 %465 store double %462, ptr %466, align 8 br label %467 467: ; preds = %455 %468 = load i32, ptr %27, align 4 %469 = add nsw i32 %468, 1 store i32 %469, ptr %27, align 4 br label %451, !llvm.loop !17 470: ; preds = %451 %471 = load i32, ptr %13, align 4 %472 = load ptr, ptr %14, align 8 %473 = load i32, ptr %15, align 4 %474 = load ptr, ptr %16, align 8 %475 = load ptr, ptr %23, align 8 %476 = load ptr, ptr %18, align 8 %477 = load ptr, ptr %21, align 8 %478 = load ptr, ptr %22, align 8 %479 = load ptr, ptr %24, align 8 %480 = call i32 @qrsolv(i32 noundef %471, ptr noundef %472, i32 noundef %473, ptr noundef %474, ptr noundef %475, ptr noundef %476, ptr noundef %477, ptr noundef %478, ptr noundef %479) store i32 0, ptr %27, align 4 br label %481 481: ; preds = %501, %470 %482 = load i32, ptr %27, align 4 %483 = load i32, ptr %13, align 4 %484 = icmp slt i32 %482, %483 br i1 %484, label %485, label %504 485: ; preds = %481 %486 = load ptr, ptr %17, align 8 %487 = load i32, ptr %27, align 4 %488 = sext i32 %487 to i64 %489 = getelementptr inbounds double, ptr %486, i64 %488 %490 = load double, ptr %489, align 8 %491 = load ptr, ptr %21, align 8 %492 = load i32, ptr %27, align 4 %493 = sext i32 %492 to i64 %494 = getelementptr inbounds double, ptr %491, i64 %493 %495 = load double, ptr %494, align 8 %496 = fmul double %490, %495 %497 = load ptr, ptr %24, align 8 %498 = load i32, ptr %27, align 4 %499 = sext i32 %498 to i64 %500 = getelementptr inbounds double, ptr %497, i64 %499 store double %496, ptr %500, align 8 br label %501 501: ; preds = %485 %502 = load i32, ptr %27, align 4 %503 = add nsw i32 %502, 1 store i32 %503, ptr %27, align 4 br label %481, !llvm.loop !18 504: ; preds = %481 %505 = load i32, ptr %13, align 4 %506 = load ptr, ptr %24, align 8 %507 = call double @enorm(i32 noundef %505, ptr noundef %506) store double %507, ptr %38, align 8 %508 = load double, ptr %29, align 8 store double %508, ptr %33, align 8 %509 = load double, ptr %38, align 8 %510 = load double, ptr %19, align 8 %511 = fsub double %509, %510 store double %511, ptr %29, align 8 %512 = load double, ptr %29, align 8 %513 = call double @llvm.fabs.f64(double %512) %514 = load double, ptr %19, align 8 %515 = fmul double 1.000000e-01, %514 %516 = fcmp ole double %513, %515 br i1 %516, label %530, label %517 517: ; preds = %504 %518 = load double, ptr %31, align 8 %519 = fcmp oeq double %518, 0.000000e+00 br i1 %519, label %520, label %527 520: ; preds = %517 %521 = load double, ptr %29, align 8 %522 = load double, ptr %33, align 8 %523 = fcmp ole double %521, %522 br i1 %523, label %524, label %527 524: ; preds = %520 %525 = load double, ptr %33, align 8 %526 = fcmp olt double %525, 0.000000e+00 br i1 %526, label %530, label %527 527: ; preds = %524, %520, %517 %528 = load i32, ptr %32, align 4 %529 = icmp eq i32 %528, 10 br i1 %529, label %530, label %531 530: ; preds = %527, %524, %504 br label %678 531: ; preds = %527 store i32 0, ptr %27, align 4 br label %532 532: ; preds = %560, %531 %533 = load i32, ptr %27, align 4 %534 = load i32, ptr %13, align 4 %535 = icmp slt i32 %533, %534 br i1 %535, label %536, label %563 536: ; preds = %532 %537 = load ptr, ptr %16, align 8 %538 = load i32, ptr %27, align 4 %539 = sext i32 %538 to i64 %540 = getelementptr inbounds i32, ptr %537, i64 %539 %541 = load i32, ptr %540, align 4 %542 = sub nsw i32 %541, 1 store i32 %542, ptr %28, align 4 %543 = load ptr, ptr %17, align 8 %544 = load i32, ptr %28, align 4 %545 = sext i32 %544 to i64 %546 = getelementptr inbounds double, ptr %543, i64 %545 %547 = load double, ptr %546, align 8 %548 = load ptr, ptr %24, align 8 %549 = load i32, ptr %28, align 4 %550 = sext i32 %549 to i64 %551 = getelementptr inbounds double, ptr %548, i64 %550 %552 = load double, ptr %551, align 8 %553 = load double, ptr %38, align 8 %554 = fdiv double %552, %553 %555 = fmul double %547, %554 %556 = load ptr, ptr %23, align 8 %557 = load i32, ptr %27, align 4 %558 = sext i32 %557 to i64 %559 = getelementptr inbounds double, ptr %556, i64 %558 store double %555, ptr %559, align 8 br label %560 560: ; preds = %536 %561 = load i32, ptr %27, align 4 %562 = add nsw i32 %561, 1 store i32 %562, ptr %27, align 4 br label %532, !llvm.loop !19 563: ; preds = %532 store i32 0, ptr %27, align 4 br label %564 564: ; preds = %619, %563 %565 = load i32, ptr %27, align 4 %566 = load i32, ptr %13, align 4 %567 = icmp slt i32 %565, %566 br i1 %567, label %568, label %622 568: ; preds = %564 %569 = load ptr, ptr %22, align 8 %570 = load i32, ptr %27, align 4 %571 = sext i32 %570 to i64 %572 = getelementptr inbounds double, ptr %569, i64 %571 %573 = load double, ptr %572, align 8 %574 = load ptr, ptr %23, align 8 %575 = load i32, ptr %27, align 4 %576 = sext i32 %575 to i64 %577 = getelementptr inbounds double, ptr %574, i64 %576 %578 = load double, ptr %577, align 8 %579 = fdiv double %578, %573 store double %579, ptr %577, align 8 %580 = load ptr, ptr %23, align 8 %581 = load i32, ptr %27, align 4 %582 = sext i32 %581 to i64 %583 = getelementptr inbounds double, ptr %580, i64 %582 %584 = load double, ptr %583, align 8 store double %584, ptr %33, align 8 %585 = load i32, ptr %13, align 4 %586 = load i32, ptr %27, align 4 %587 = add nsw i32 %586, 1 %588 = icmp sgt i32 %585, %587 br i1 %588, label %589, label %618 589: ; preds = %568 %590 = load i32, ptr %27, align 4 %591 = add nsw i32 %590, 1 store i32 %591, ptr %45, align 4 br label %592 592: ; preds = %614, %589 %593 = load i32, ptr %45, align 4 %594 = load i32, ptr %13, align 4 %595 = icmp slt i32 %593, %594 br i1 %595, label %596, label %617 596: ; preds = %592 %597 = load ptr, ptr %14, align 8 %598 = load i32, ptr %45, align 4 %599 = load i32, ptr %27, align 4 %600 = load i32, ptr %15, align 4 %601 = mul nsw i32 %599, %600 %602 = add nsw i32 %598, %601 %603 = sext i32 %602 to i64 %604 = getelementptr inbounds double, ptr %597, i64 %603 %605 = load double, ptr %604, align 8 %606 = load double, ptr %33, align 8 %607 = load ptr, ptr %23, align 8 %608 = load i32, ptr %45, align 4 %609 = sext i32 %608 to i64 %610 = getelementptr inbounds double, ptr %607, i64 %609 %611 = load double, ptr %610, align 8 %612 = fneg double %605 %613 = call double @llvm.fmuladd.f64(double %612, double %606, double %611) store double %613, ptr %610, align 8 br label %614 614: ; preds = %596 %615 = load i32, ptr %45, align 4 %616 = add nsw i32 %615, 1 store i32 %616, ptr %45, align 4 br label %592, !llvm.loop !20 617: ; preds = %592 br label %618 618: ; preds = %617, %568 br label %619 619: ; preds = %618 %620 = load i32, ptr %27, align 4 %621 = add nsw i32 %620, 1 store i32 %621, ptr %27, align 4 br label %564, !llvm.loop !21 622: ; preds = %564 %623 = load i32, ptr %13, align 4 %624 = load ptr, ptr %23, align 8 %625 = call double @enorm(i32 noundef %623, ptr noundef %624) store double %625, ptr %33, align 8 %626 = load double, ptr %29, align 8 %627 = load double, ptr %19, align 8 %628 = fdiv double %626, %627 %629 = load double, ptr %33, align 8 %630 = fdiv double %628, %629 %631 = load double, ptr %33, align 8 %632 = fdiv double %630, %631 store double %632, ptr %30, align 8 %633 = load double, ptr %29, align 8 %634 = fcmp ogt double %633, 0.000000e+00 br i1 %634, label %635, label %647 635: ; preds = %622 %636 = load double, ptr %31, align 8 %637 = load ptr, ptr %20, align 8 %638 = load double, ptr %637, align 8 %639 = fcmp oge double %636, %638 br i1 %639, label %640, label %642 640: ; preds = %635 %641 = load double, ptr %31, align 8 br label %645 642: ; preds = %635 %643 = load ptr, ptr %20, align 8 %644 = load double, ptr %643, align 8 br label %645 645: ; preds = %642, %640 %646 = phi double [ %641, %640 ], [ %644, %642 ] store double %646, ptr %31, align 8 br label %647 647: ; preds = %645, %622 %648 = load double, ptr %29, align 8 %649 = fcmp olt double %648, 0.000000e+00 br i1 %649, label %650, label %662 650: ; preds = %647 %651 = load double, ptr %34, align 8 %652 = load ptr, ptr %20, align 8 %653 = load double, ptr %652, align 8 %654 = fcmp ole double %651, %653 br i1 %654, label %655, label %657 655: ; preds = %650 %656 = load double, ptr %34, align 8 br label %660 657: ; preds = %650 %658 = load ptr, ptr %20, align 8 %659 = load double, ptr %658, align 8 br label %660 660: ; preds = %657, %655 %661 = phi double [ %656, %655 ], [ %659, %657 ] store double %661, ptr %34, align 8 br label %662 662: ; preds = %660, %647 %663 = load double, ptr %31, align 8 store double %663, ptr %25, align 8 %664 = load ptr, ptr %20, align 8 %665 = load double, ptr %664, align 8 %666 = load double, ptr %30, align 8 %667 = fadd double %665, %666 store double %667, ptr %26, align 8 %668 = load double, ptr %25, align 8 %669 = load double, ptr %26, align 8 %670 = fcmp oge double %668, %669 br i1 %670, label %671, label %673 671: ; preds = %662 %672 = load double, ptr %25, align 8 br label %675 673: ; preds = %662 %674 = load double, ptr %26, align 8 br label %675 675: ; preds = %673, %671 %676 = phi double [ %672, %671 ], [ %674, %673 ] %677 = load ptr, ptr %20, align 8 store double %676, ptr %677, align 8 br label %427 678: ; preds = %530, %216 %679 = load i32, ptr %32, align 4 %680 = icmp eq i32 %679, 0 br i1 %680, label %681, label %683 681: ; preds = %678 %682 = load ptr, ptr %20, align 8 store double 0.000000e+00, ptr %682, align 8 br label %683 683: ; preds = %681, %678 ret void } declare double @dpmpar(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @enorm(i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @qrsolv(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsop2nrdr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmpar(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca i32, align 4 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca i32, align 4 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca double, align 8 %42 = alloca i32, align 4 %43 = alloca double, align 8 %44 = alloca i32, align 4 %45 = alloca i32, align 4 store i32 %0, ptr %13, align 4 store ptr %1, ptr %14, align 8 store i32 %2, ptr %15, align 4 store ptr %3, ptr %16, align 8 store ptr %4, ptr %17, align 8 store ptr %5, ptr %18, align 8 store double %6, ptr %19, align 8 store ptr %7, ptr %20, align 8 store ptr %8, ptr %21, align 8 store ptr %9, ptr %22, align 8 store ptr %10, ptr %23, align 8 store ptr %11, ptr %24, align 8 %46 = call double @dpmpar(i32 noundef 2) store double %46, ptr %35, align 8 %47 = load i32, ptr %13, align 4 store i32 %47, ptr %36, align 4 store i32 0, ptr %27, align 4 %48 = load i32, ptr %27, align 4 %49 = load i32, ptr %13, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %93 .lr.ph: ; preds = %12 br label %51 51: ; preds = %.lr.ph, %87 %52 = load ptr, ptr %18, align 8 %53 = load i32, ptr %27, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %23, align 8 %58 = load i32, ptr %27, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 store double %56, ptr %60, align 8 %61 = load ptr, ptr %14, align 8 %62 = load i32, ptr %27, align 4 %63 = load i32, ptr %27, align 4 %64 = load i32, ptr %15, align 4 %65 = mul nsw i32 %63, %64 %66 = add nsw i32 %62, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %61, i64 %67 %69 = load double, ptr %68, align 8 %70 = fcmp oeq double %69, 0.000000e+00 br i1 %70, label %71, label %77 71: ; preds = %51 %72 = load i32, ptr %36, align 4 %73 = load i32, ptr %13, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %75, label %77 75: ; preds = %71 %76 = load i32, ptr %27, align 4 store i32 %76, ptr %36, align 4 br label %77 77: ; preds = %75, %71, %51 %78 = load i32, ptr %36, align 4 %79 = load i32, ptr %13, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %86 81: ; preds = %77 %82 = load ptr, ptr %23, align 8 %83 = load i32, ptr %27, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 store double 0.000000e+00, ptr %85, align 8 br label %86 86: ; preds = %81, %77 br label %87 87: ; preds = %86 %88 = load i32, ptr %27, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %27, align 4 %90 = load i32, ptr %27, align 4 %91 = load i32, ptr %13, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %93 93: ; preds = %._crit_edge, %12 %94 = load i32, ptr %36, align 4 %95 = icmp sge i32 %94, 1 br i1 %95, label %96, label %163 96: ; preds = %93 store i32 1, ptr %39, align 4 %97 = load i32, ptr %39, align 4 %98 = load i32, ptr %36, align 4 %99 = icmp sle i32 %97, %98 br i1 %99, label %.lr.ph5, label %162 .lr.ph5: ; preds = %96 br label %100 100: ; preds = %.lr.ph5, %156 %101 = load i32, ptr %36, align 4 %102 = load i32, ptr %39, align 4 %103 = sub nsw i32 %101, %102 store i32 %103, ptr %27, align 4 %104 = load ptr, ptr %14, align 8 %105 = load i32, ptr %27, align 4 %106 = load i32, ptr %27, align 4 %107 = load i32, ptr %15, align 4 %108 = mul nsw i32 %106, %107 %109 = add nsw i32 %105, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %104, i64 %110 %112 = load double, ptr %111, align 8 %113 = load ptr, ptr %23, align 8 %114 = load i32, ptr %27, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %113, i64 %115 %117 = load double, ptr %116, align 8 %118 = fdiv double %117, %112 store double %118, ptr %116, align 8 %119 = load ptr, ptr %23, align 8 %120 = load i32, ptr %27, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 %123 = load double, ptr %122, align 8 store double %123, ptr %33, align 8 %124 = load i32, ptr %27, align 4 %125 = icmp sge i32 %124, 1 br i1 %125, label %126, label %155 126: ; preds = %100 store i32 0, ptr %40, align 4 %127 = load i32, ptr %40, align 4 %128 = load i32, ptr %27, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %.lr.ph2, label %154 .lr.ph2: ; preds = %126 br label %130 130: ; preds = %.lr.ph2, %148 %131 = load ptr, ptr %14, align 8 %132 = load i32, ptr %40, align 4 %133 = load i32, ptr %27, align 4 %134 = load i32, ptr %15, align 4 %135 = mul nsw i32 %133, %134 %136 = add nsw i32 %132, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %131, i64 %137 %139 = load double, ptr %138, align 8 %140 = load double, ptr %33, align 8 %141 = load ptr, ptr %23, align 8 %142 = load i32, ptr %40, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %141, i64 %143 %145 = load double, ptr %144, align 8 %146 = fneg double %139 %147 = call double @llvm.fmuladd.f64(double %146, double %140, double %145) store double %147, ptr %144, align 8 br label %148 148: ; preds = %130 %149 = load i32, ptr %40, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %40, align 4 %151 = load i32, ptr %40, align 4 %152 = load i32, ptr %27, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %130, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %148 br label %154 154: ; preds = %._crit_edge3, %126 br label %155 155: ; preds = %154, %100 br label %156 156: ; preds = %155 %157 = load i32, ptr %39, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %39, align 4 %159 = load i32, ptr %39, align 4 %160 = load i32, ptr %36, align 4 %161 = icmp sle i32 %159, %160 br i1 %161, label %100, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %156 br label %162 162: ; preds = %._crit_edge6, %96 br label %163 163: ; preds = %162, %93 store i32 0, ptr %27, align 4 %164 = load i32, ptr %27, align 4 %165 = load i32, ptr %13, align 4 %166 = icmp slt i32 %164, %165 br i1 %166, label %.lr.ph8, label %189 .lr.ph8: ; preds = %163 br label %167 167: ; preds = %.lr.ph8, %183 %168 = load ptr, ptr %16, align 8 %169 = load i32, ptr %27, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i32, ptr %168, i64 %170 %172 = load i32, ptr %171, align 4 %173 = sub nsw i32 %172, 1 store i32 %173, ptr %28, align 4 %174 = load ptr, ptr %23, align 8 %175 = load i32, ptr %27, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %174, i64 %176 %178 = load double, ptr %177, align 8 %179 = load ptr, ptr %21, align 8 %180 = load i32, ptr %28, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %179, i64 %181 store double %178, ptr %182, align 8 br label %183 183: ; preds = %167 %184 = load i32, ptr %27, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %27, align 4 %186 = load i32, ptr %27, align 4 %187 = load i32, ptr %13, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %167, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %183 br label %189 189: ; preds = %._crit_edge9, %163 store i32 0, ptr %32, align 4 store i32 0, ptr %27, align 4 %190 = load i32, ptr %27, align 4 %191 = load i32, ptr %13, align 4 %192 = icmp slt i32 %190, %191 br i1 %192, label %.lr.ph11, label %215 .lr.ph11: ; preds = %189 br label %193 193: ; preds = %.lr.ph11, %209 %194 = load ptr, ptr %17, align 8 %195 = load i32, ptr %27, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds double, ptr %194, i64 %196 %198 = load double, ptr %197, align 8 %199 = load ptr, ptr %21, align 8 %200 = load i32, ptr %27, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds double, ptr %199, i64 %201 %203 = load double, ptr %202, align 8 %204 = fmul double %198, %203 %205 = load ptr, ptr %24, align 8 %206 = load i32, ptr %27, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds double, ptr %205, i64 %207 store double %204, ptr %208, align 8 br label %209 209: ; preds = %193 %210 = load i32, ptr %27, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %27, align 4 %212 = load i32, ptr %27, align 4 %213 = load i32, ptr %13, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %193, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %209 br label %215 215: ; preds = %._crit_edge12, %189 %216 = load i32, ptr %13, align 4 %217 = load ptr, ptr %24, align 8 %218 = call double @enorm(i32 noundef %216, ptr noundef %217) store double %218, ptr %38, align 8 %219 = load double, ptr %38, align 8 %220 = load double, ptr %19, align 8 %221 = fsub double %219, %220 store double %221, ptr %29, align 8 %222 = load double, ptr %29, align 8 %223 = load double, ptr %19, align 8 %224 = fmul double 1.000000e-01, %223 %225 = fcmp ole double %222, %224 br i1 %225, label %226, label %227 226: ; preds = %215 br label %708 227: ; preds = %215 store double 0.000000e+00, ptr %31, align 8 %228 = load i32, ptr %36, align 4 %229 = load i32, ptr %13, align 4 %230 = icmp sge i32 %228, %229 br i1 %230, label %231, label %339 231: ; preds = %227 store i32 0, ptr %27, align 4 %232 = load i32, ptr %27, align 4 %233 = load i32, ptr %13, align 4 %234 = icmp slt i32 %232, %233 br i1 %234, label %.lr.ph14, label %265 .lr.ph14: ; preds = %231 br label %235 235: ; preds = %.lr.ph14, %259 %236 = load ptr, ptr %16, align 8 %237 = load i32, ptr %27, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds i32, ptr %236, i64 %238 %240 = load i32, ptr %239, align 4 %241 = sub nsw i32 %240, 1 store i32 %241, ptr %28, align 4 %242 = load ptr, ptr %17, align 8 %243 = load i32, ptr %28, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %242, i64 %244 %246 = load double, ptr %245, align 8 %247 = load ptr, ptr %24, align 8 %248 = load i32, ptr %28, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %247, i64 %249 %251 = load double, ptr %250, align 8 %252 = load double, ptr %38, align 8 %253 = fdiv double %251, %252 %254 = fmul double %246, %253 %255 = load ptr, ptr %23, align 8 %256 = load i32, ptr %27, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds double, ptr %255, i64 %257 store double %254, ptr %258, align 8 br label %259 259: ; preds = %235 %260 = load i32, ptr %27, align 4 %261 = add nsw i32 %260, 1 store i32 %261, ptr %27, align 4 %262 = load i32, ptr %27, align 4 %263 = load i32, ptr %13, align 4 %264 = icmp slt i32 %262, %263 br i1 %264, label %235, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %259 br label %265 265: ; preds = %._crit_edge15, %231 store i32 0, ptr %27, align 4 %266 = load i32, ptr %27, align 4 %267 = load i32, ptr %13, align 4 %268 = icmp slt i32 %266, %267 br i1 %268, label %.lr.ph20, label %328 .lr.ph20: ; preds = %265 br label %269 269: ; preds = %.lr.ph20, %322 store double 0.000000e+00, ptr %41, align 8 %270 = load i32, ptr %27, align 4 %271 = icmp sge i32 %270, 1 br i1 %271, label %272, label %300 272: ; preds = %269 store i32 0, ptr %42, align 4 %273 = load i32, ptr %42, align 4 %274 = load i32, ptr %27, align 4 %275 = icmp slt i32 %273, %274 br i1 %275, label %.lr.ph17, label %299 .lr.ph17: ; preds = %272 br label %276 276: ; preds = %.lr.ph17, %293 %277 = load ptr, ptr %14, align 8 %278 = load i32, ptr %42, align 4 %279 = load i32, ptr %27, align 4 %280 = load i32, ptr %15, align 4 %281 = mul nsw i32 %279, %280 %282 = add nsw i32 %278, %281 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %277, i64 %283 %285 = load double, ptr %284, align 8 %286 = load ptr, ptr %23, align 8 %287 = load i32, ptr %42, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds double, ptr %286, i64 %288 %290 = load double, ptr %289, align 8 %291 = load double, ptr %41, align 8 %292 = call double @llvm.fmuladd.f64(double %285, double %290, double %291) store double %292, ptr %41, align 8 br label %293 293: ; preds = %276 %294 = load i32, ptr %42, align 4 %295 = add nsw i32 %294, 1 store i32 %295, ptr %42, align 4 %296 = load i32, ptr %42, align 4 %297 = load i32, ptr %27, align 4 %298 = icmp slt i32 %296, %297 br i1 %298, label %276, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %293 br label %299 299: ; preds = %._crit_edge18, %272 br label %300 300: ; preds = %299, %269 %301 = load ptr, ptr %23, align 8 %302 = load i32, ptr %27, align 4 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %301, i64 %303 %305 = load double, ptr %304, align 8 %306 = load double, ptr %41, align 8 %307 = fsub double %305, %306 %308 = load ptr, ptr %14, align 8 %309 = load i32, ptr %27, align 4 %310 = load i32, ptr %27, align 4 %311 = load i32, ptr %15, align 4 %312 = mul nsw i32 %310, %311 %313 = add nsw i32 %309, %312 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds double, ptr %308, i64 %314 %316 = load double, ptr %315, align 8 %317 = fdiv double %307, %316 %318 = load ptr, ptr %23, align 8 %319 = load i32, ptr %27, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds double, ptr %318, i64 %320 store double %317, ptr %321, align 8 br label %322 322: ; preds = %300 %323 = load i32, ptr %27, align 4 %324 = add nsw i32 %323, 1 store i32 %324, ptr %27, align 4 %325 = load i32, ptr %27, align 4 %326 = load i32, ptr %13, align 4 %327 = icmp slt i32 %325, %326 br i1 %327, label %269, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %322 br label %328 328: ; preds = %._crit_edge21, %265 %329 = load i32, ptr %13, align 4 %330 = load ptr, ptr %23, align 8 %331 = call double @enorm(i32 noundef %329, ptr noundef %330) store double %331, ptr %33, align 8 %332 = load double, ptr %29, align 8 %333 = load double, ptr %19, align 8 %334 = fdiv double %332, %333 %335 = load double, ptr %33, align 8 %336 = fdiv double %334, %335 %337 = load double, ptr %33, align 8 %338 = fdiv double %336, %337 store double %338, ptr %31, align 8 br label %339 339: ; preds = %328, %227 store i32 0, ptr %27, align 4 %340 = load i32, ptr %27, align 4 %341 = load i32, ptr %13, align 4 %342 = icmp slt i32 %340, %341 br i1 %342, label %.lr.ph26, label %394 .lr.ph26: ; preds = %339 br label %343 343: ; preds = %.lr.ph26, %388 store double 0.000000e+00, ptr %43, align 8 store i32 0, ptr %44, align 4 %344 = load i32, ptr %44, align 4 %345 = load i32, ptr %27, align 4 %346 = icmp sle i32 %344, %345 br i1 %346, label %.lr.ph23, label %370 .lr.ph23: ; preds = %343 br label %347 347: ; preds = %.lr.ph23, %364 %348 = load ptr, ptr %14, align 8 %349 = load i32, ptr %44, align 4 %350 = load i32, ptr %27, align 4 %351 = load i32, ptr %15, align 4 %352 = mul nsw i32 %350, %351 %353 = add nsw i32 %349, %352 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds double, ptr %348, i64 %354 %356 = load double, ptr %355, align 8 %357 = load ptr, ptr %18, align 8 %358 = load i32, ptr %44, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds double, ptr %357, i64 %359 %361 = load double, ptr %360, align 8 %362 = load double, ptr %43, align 8 %363 = call double @llvm.fmuladd.f64(double %356, double %361, double %362) store double %363, ptr %43, align 8 br label %364 364: ; preds = %347 %365 = load i32, ptr %44, align 4 %366 = add nsw i32 %365, 1 store i32 %366, ptr %44, align 4 %367 = load i32, ptr %44, align 4 %368 = load i32, ptr %27, align 4 %369 = icmp sle i32 %367, %368 br i1 %369, label %347, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %364 br label %370 370: ; preds = %._crit_edge24, %343 %371 = load ptr, ptr %16, align 8 %372 = load i32, ptr %27, align 4 %373 = sext i32 %372 to i64 %374 = getelementptr inbounds i32, ptr %371, i64 %373 %375 = load i32, ptr %374, align 4 %376 = sub nsw i32 %375, 1 store i32 %376, ptr %28, align 4 %377 = load double, ptr %43, align 8 %378 = load ptr, ptr %17, align 8 %379 = load i32, ptr %28, align 4 %380 = sext i32 %379 to i64 %381 = getelementptr inbounds double, ptr %378, i64 %380 %382 = load double, ptr %381, align 8 %383 = fdiv double %377, %382 %384 = load ptr, ptr %23, align 8 %385 = load i32, ptr %27, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds double, ptr %384, i64 %386 store double %383, ptr %387, align 8 br label %388 388: ; preds = %370 %389 = load i32, ptr %27, align 4 %390 = add nsw i32 %389, 1 store i32 %390, ptr %27, align 4 %391 = load i32, ptr %27, align 4 %392 = load i32, ptr %13, align 4 %393 = icmp slt i32 %391, %392 br i1 %393, label %343, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %388 br label %394 394: ; preds = %._crit_edge27, %339 %395 = load i32, ptr %13, align 4 %396 = load ptr, ptr %23, align 8 %397 = call double @enorm(i32 noundef %395, ptr noundef %396) store double %397, ptr %37, align 8 %398 = load double, ptr %37, align 8 %399 = load double, ptr %19, align 8 %400 = fdiv double %398, %399 store double %400, ptr %34, align 8 %401 = load double, ptr %34, align 8 %402 = fcmp oeq double %401, 0.000000e+00 br i1 %402, label %403, label %413 403: ; preds = %394 %404 = load double, ptr %35, align 8 %405 = load double, ptr %19, align 8 %406 = fcmp ole double %405, 1.000000e-01 br i1 %406, label %407, label %409 407: ; preds = %403 %408 = load double, ptr %19, align 8 br label %410 409: ; preds = %403 br label %410 410: ; preds = %409, %407 %411 = phi double [ %408, %407 ], [ 1.000000e-01, %409 ] %412 = fdiv double %404, %411 store double %412, ptr %34, align 8 br label %413 413: ; preds = %410, %394 %414 = load ptr, ptr %20, align 8 %415 = load double, ptr %414, align 8 %416 = load double, ptr %31, align 8 %417 = fcmp oge double %415, %416 br i1 %417, label %418, label %421 418: ; preds = %413 %419 = load ptr, ptr %20, align 8 %420 = load double, ptr %419, align 8 br label %423 421: ; preds = %413 %422 = load double, ptr %31, align 8 br label %423 423: ; preds = %421, %418 %424 = phi double [ %420, %418 ], [ %422, %421 ] %425 = load ptr, ptr %20, align 8 store double %424, ptr %425, align 8 %426 = load ptr, ptr %20, align 8 %427 = load double, ptr %426, align 8 %428 = load double, ptr %34, align 8 %429 = fcmp ole double %427, %428 br i1 %429, label %430, label %433 430: ; preds = %423 %431 = load ptr, ptr %20, align 8 %432 = load double, ptr %431, align 8 br label %435 433: ; preds = %423 %434 = load double, ptr %34, align 8 br label %435 435: ; preds = %433, %430 %436 = phi double [ %432, %430 ], [ %434, %433 ] %437 = load ptr, ptr %20, align 8 store double %436, ptr %437, align 8 %438 = load ptr, ptr %20, align 8 %439 = load double, ptr %438, align 8 %440 = fcmp oeq double %439, 0.000000e+00 br i1 %440, label %441, label %446 441: ; preds = %435 %442 = load double, ptr %37, align 8 %443 = load double, ptr %38, align 8 %444 = fdiv double %442, %443 %445 = load ptr, ptr %20, align 8 store double %444, ptr %445, align 8 br label %446 446: ; preds = %441, %435 br label %447 447: ; preds = %705, %446 %448 = load i32, ptr %32, align 4 %449 = add nsw i32 %448, 1 store i32 %449, ptr %32, align 4 %450 = load ptr, ptr %20, align 8 %451 = load double, ptr %450, align 8 %452 = fcmp oeq double %451, 0.000000e+00 br i1 %452, label %453, label %467 453: ; preds = %447 %454 = load double, ptr %35, align 8 store double %454, ptr %25, align 8 %455 = load double, ptr %34, align 8 %456 = fmul double 1.000000e-03, %455 store double %456, ptr %26, align 8 %457 = load double, ptr %25, align 8 %458 = load double, ptr %26, align 8 %459 = fcmp oge double %457, %458 br i1 %459, label %460, label %462 460: ; preds = %453 %461 = load double, ptr %25, align 8 br label %464 462: ; preds = %453 %463 = load double, ptr %26, align 8 br label %464 464: ; preds = %462, %460 %465 = phi double [ %461, %460 ], [ %463, %462 ] %466 = load ptr, ptr %20, align 8 store double %465, ptr %466, align 8 br label %467 467: ; preds = %464, %447 %468 = load ptr, ptr %20, align 8 %469 = load double, ptr %468, align 8 %470 = call double @sqrt(double noundef %469) #4 store double %470, ptr %33, align 8 store i32 0, ptr %27, align 4 %471 = load i32, ptr %27, align 4 %472 = load i32, ptr %13, align 4 %473 = icmp slt i32 %471, %472 br i1 %473, label %.lr.ph29, label %492 .lr.ph29: ; preds = %467 br label %474 474: ; preds = %.lr.ph29, %486 %475 = load double, ptr %33, align 8 %476 = load ptr, ptr %17, align 8 %477 = load i32, ptr %27, align 4 %478 = sext i32 %477 to i64 %479 = getelementptr inbounds double, ptr %476, i64 %478 %480 = load double, ptr %479, align 8 %481 = fmul double %475, %480 %482 = load ptr, ptr %23, align 8 %483 = load i32, ptr %27, align 4 %484 = sext i32 %483 to i64 %485 = getelementptr inbounds double, ptr %482, i64 %484 store double %481, ptr %485, align 8 br label %486 486: ; preds = %474 %487 = load i32, ptr %27, align 4 %488 = add nsw i32 %487, 1 store i32 %488, ptr %27, align 4 %489 = load i32, ptr %27, align 4 %490 = load i32, ptr %13, align 4 %491 = icmp slt i32 %489, %490 br i1 %491, label %474, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %486 br label %492 492: ; preds = %._crit_edge30, %467 %493 = load i32, ptr %13, align 4 %494 = load ptr, ptr %14, align 8 %495 = load i32, ptr %15, align 4 %496 = load ptr, ptr %16, align 8 %497 = load ptr, ptr %23, align 8 %498 = load ptr, ptr %18, align 8 %499 = load ptr, ptr %21, align 8 %500 = load ptr, ptr %22, align 8 %501 = load ptr, ptr %24, align 8 %502 = call i32 @qrsolv(i32 noundef %493, ptr noundef %494, i32 noundef %495, ptr noundef %496, ptr noundef %497, ptr noundef %498, ptr noundef %499, ptr noundef %500, ptr noundef %501) store i32 0, ptr %27, align 4 %503 = load i32, ptr %27, align 4 %504 = load i32, ptr %13, align 4 %505 = icmp slt i32 %503, %504 br i1 %505, label %.lr.ph32, label %528 .lr.ph32: ; preds = %492 br label %506 506: ; preds = %.lr.ph32, %522 %507 = load ptr, ptr %17, align 8 %508 = load i32, ptr %27, align 4 %509 = sext i32 %508 to i64 %510 = getelementptr inbounds double, ptr %507, i64 %509 %511 = load double, ptr %510, align 8 %512 = load ptr, ptr %21, align 8 %513 = load i32, ptr %27, align 4 %514 = sext i32 %513 to i64 %515 = getelementptr inbounds double, ptr %512, i64 %514 %516 = load double, ptr %515, align 8 %517 = fmul double %511, %516 %518 = load ptr, ptr %24, align 8 %519 = load i32, ptr %27, align 4 %520 = sext i32 %519 to i64 %521 = getelementptr inbounds double, ptr %518, i64 %520 store double %517, ptr %521, align 8 br label %522 522: ; preds = %506 %523 = load i32, ptr %27, align 4 %524 = add nsw i32 %523, 1 store i32 %524, ptr %27, align 4 %525 = load i32, ptr %27, align 4 %526 = load i32, ptr %13, align 4 %527 = icmp slt i32 %525, %526 br i1 %527, label %506, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %522 br label %528 528: ; preds = %._crit_edge33, %492 %529 = load i32, ptr %13, align 4 %530 = load ptr, ptr %24, align 8 %531 = call double @enorm(i32 noundef %529, ptr noundef %530) store double %531, ptr %38, align 8 %532 = load double, ptr %29, align 8 store double %532, ptr %33, align 8 %533 = load double, ptr %38, align 8 %534 = load double, ptr %19, align 8 %535 = fsub double %533, %534 store double %535, ptr %29, align 8 %536 = load double, ptr %29, align 8 %537 = call double @llvm.fabs.f64(double %536) %538 = load double, ptr %19, align 8 %539 = fmul double 1.000000e-01, %538 %540 = fcmp ole double %537, %539 br i1 %540, label %554, label %541 541: ; preds = %528 %542 = load double, ptr %31, align 8 %543 = fcmp oeq double %542, 0.000000e+00 br i1 %543, label %544, label %551 544: ; preds = %541 %545 = load double, ptr %29, align 8 %546 = load double, ptr %33, align 8 %547 = fcmp ole double %545, %546 br i1 %547, label %548, label %551 548: ; preds = %544 %549 = load double, ptr %33, align 8 %550 = fcmp olt double %549, 0.000000e+00 br i1 %550, label %554, label %551 551: ; preds = %548, %544, %541 %552 = load i32, ptr %32, align 4 %553 = icmp eq i32 %552, 10 br i1 %553, label %554, label %555 554: ; preds = %551, %548, %528 br label %708 555: ; preds = %551 store i32 0, ptr %27, align 4 %556 = load i32, ptr %27, align 4 %557 = load i32, ptr %13, align 4 %558 = icmp slt i32 %556, %557 br i1 %558, label %.lr.ph35, label %589 .lr.ph35: ; preds = %555 br label %559 559: ; preds = %.lr.ph35, %583 %560 = load ptr, ptr %16, align 8 %561 = load i32, ptr %27, align 4 %562 = sext i32 %561 to i64 %563 = getelementptr inbounds i32, ptr %560, i64 %562 %564 = load i32, ptr %563, align 4 %565 = sub nsw i32 %564, 1 store i32 %565, ptr %28, align 4 %566 = load ptr, ptr %17, align 8 %567 = load i32, ptr %28, align 4 %568 = sext i32 %567 to i64 %569 = getelementptr inbounds double, ptr %566, i64 %568 %570 = load double, ptr %569, align 8 %571 = load ptr, ptr %24, align 8 %572 = load i32, ptr %28, align 4 %573 = sext i32 %572 to i64 %574 = getelementptr inbounds double, ptr %571, i64 %573 %575 = load double, ptr %574, align 8 %576 = load double, ptr %38, align 8 %577 = fdiv double %575, %576 %578 = fmul double %570, %577 %579 = load ptr, ptr %23, align 8 %580 = load i32, ptr %27, align 4 %581 = sext i32 %580 to i64 %582 = getelementptr inbounds double, ptr %579, i64 %581 store double %578, ptr %582, align 8 br label %583 583: ; preds = %559 %584 = load i32, ptr %27, align 4 %585 = add nsw i32 %584, 1 store i32 %585, ptr %27, align 4 %586 = load i32, ptr %27, align 4 %587 = load i32, ptr %13, align 4 %588 = icmp slt i32 %586, %587 br i1 %588, label %559, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %583 br label %589 589: ; preds = %._crit_edge36, %555 store i32 0, ptr %27, align 4 %590 = load i32, ptr %27, align 4 %591 = load i32, ptr %13, align 4 %592 = icmp slt i32 %590, %591 br i1 %592, label %.lr.ph41, label %652 .lr.ph41: ; preds = %589 br label %593 593: ; preds = %.lr.ph41, %646 %594 = load ptr, ptr %22, align 8 %595 = load i32, ptr %27, align 4 %596 = sext i32 %595 to i64 %597 = getelementptr inbounds double, ptr %594, i64 %596 %598 = load double, ptr %597, align 8 %599 = load ptr, ptr %23, align 8 %600 = load i32, ptr %27, align 4 %601 = sext i32 %600 to i64 %602 = getelementptr inbounds double, ptr %599, i64 %601 %603 = load double, ptr %602, align 8 %604 = fdiv double %603, %598 store double %604, ptr %602, align 8 %605 = load ptr, ptr %23, align 8 %606 = load i32, ptr %27, align 4 %607 = sext i32 %606 to i64 %608 = getelementptr inbounds double, ptr %605, i64 %607 %609 = load double, ptr %608, align 8 store double %609, ptr %33, align 8 %610 = load i32, ptr %13, align 4 %611 = load i32, ptr %27, align 4 %612 = add nsw i32 %611, 1 %613 = icmp sgt i32 %610, %612 br i1 %613, label %614, label %645 614: ; preds = %593 %615 = load i32, ptr %27, align 4 %616 = add nsw i32 %615, 1 store i32 %616, ptr %45, align 4 %617 = load i32, ptr %45, align 4 %618 = load i32, ptr %13, align 4 %619 = icmp slt i32 %617, %618 br i1 %619, label %.lr.ph38, label %644 .lr.ph38: ; preds = %614 br label %620 620: ; preds = %.lr.ph38, %638 %621 = load ptr, ptr %14, align 8 %622 = load i32, ptr %45, align 4 %623 = load i32, ptr %27, align 4 %624 = load i32, ptr %15, align 4 %625 = mul nsw i32 %623, %624 %626 = add nsw i32 %622, %625 %627 = sext i32 %626 to i64 %628 = getelementptr inbounds double, ptr %621, i64 %627 %629 = load double, ptr %628, align 8 %630 = load double, ptr %33, align 8 %631 = load ptr, ptr %23, align 8 %632 = load i32, ptr %45, align 4 %633 = sext i32 %632 to i64 %634 = getelementptr inbounds double, ptr %631, i64 %633 %635 = load double, ptr %634, align 8 %636 = fneg double %629 %637 = call double @llvm.fmuladd.f64(double %636, double %630, double %635) store double %637, ptr %634, align 8 br label %638 638: ; preds = %620 %639 = load i32, ptr %45, align 4 %640 = add nsw i32 %639, 1 store i32 %640, ptr %45, align 4 %641 = load i32, ptr %45, align 4 %642 = load i32, ptr %13, align 4 %643 = icmp slt i32 %641, %642 br i1 %643, label %620, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %638 br label %644 644: ; preds = %._crit_edge39, %614 br label %645 645: ; preds = %644, %593 br label %646 646: ; preds = %645 %647 = load i32, ptr %27, align 4 %648 = add nsw i32 %647, 1 store i32 %648, ptr %27, align 4 %649 = load i32, ptr %27, align 4 %650 = load i32, ptr %13, align 4 %651 = icmp slt i32 %649, %650 br i1 %651, label %593, label %._crit_edge42, !llvm.loop !21 ._crit_edge42: ; preds = %646 br label %652 652: ; preds = %._crit_edge42, %589 %653 = load i32, ptr %13, align 4 %654 = load ptr, ptr %23, align 8 %655 = call double @enorm(i32 noundef %653, ptr noundef %654) store double %655, ptr %33, align 8 %656 = load double, ptr %29, align 8 %657 = load double, ptr %19, align 8 %658 = fdiv double %656, %657 %659 = load double, ptr %33, align 8 %660 = fdiv double %658, %659 %661 = load double, ptr %33, align 8 %662 = fdiv double %660, %661 store double %662, ptr %30, align 8 %663 = load double, ptr %29, align 8 %664 = fcmp ogt double %663, 0.000000e+00 br i1 %664, label %665, label %677 665: ; preds = %652 %666 = load double, ptr %31, align 8 %667 = load ptr, ptr %20, align 8 %668 = load double, ptr %667, align 8 %669 = fcmp oge double %666, %668 br i1 %669, label %670, label %672 670: ; preds = %665 %671 = load double, ptr %31, align 8 br label %675 672: ; preds = %665 %673 = load ptr, ptr %20, align 8 %674 = load double, ptr %673, align 8 br label %675 675: ; preds = %672, %670 %676 = phi double [ %671, %670 ], [ %674, %672 ] store double %676, ptr %31, align 8 br label %677 677: ; preds = %675, %652 %678 = load double, ptr %29, align 8 %679 = fcmp olt double %678, 0.000000e+00 br i1 %679, label %680, label %692 680: ; preds = %677 %681 = load double, ptr %34, align 8 %682 = load ptr, ptr %20, align 8 %683 = load double, ptr %682, align 8 %684 = fcmp ole double %681, %683 br i1 %684, label %685, label %687 685: ; preds = %680 %686 = load double, ptr %34, align 8 br label %690 687: ; preds = %680 %688 = load ptr, ptr %20, align 8 %689 = load double, ptr %688, align 8 br label %690 690: ; preds = %687, %685 %691 = phi double [ %686, %685 ], [ %689, %687 ] store double %691, ptr %34, align 8 br label %692 692: ; preds = %690, %677 %693 = load double, ptr %31, align 8 store double %693, ptr %25, align 8 %694 = load ptr, ptr %20, align 8 %695 = load double, ptr %694, align 8 %696 = load double, ptr %30, align 8 %697 = fadd double %695, %696 store double %697, ptr %26, align 8 %698 = load double, ptr %25, align 8 %699 = load double, ptr %26, align 8 %700 = fcmp oge double %698, %699 br i1 %700, label %701, label %703 701: ; preds = %692 %702 = load double, ptr %25, align 8 br label %705 703: ; preds = %692 %704 = load double, ptr %26, align 8 br label %705 705: ; preds = %703, %701 %706 = phi double [ %702, %701 ], [ %704, %703 ] %707 = load ptr, ptr %20, align 8 store double %706, ptr %707, align 8 br label %447 708: ; preds = %554, %226 %709 = load i32, ptr %32, align 4 %710 = icmp eq i32 %709, 0 br i1 %710, label %711, label %713 711: ; preds = %708 %712 = load ptr, ptr %20, align 8 store double 0.000000e+00, ptr %712, align 8 br label %713 713: ; preds = %711, %708 ret void } declare double @dpmpar(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @enorm(i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @qrsolv(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7}
; ModuleID = '/tmp/tmpzzwwfmb1.c' source_filename = "/tmp/tmpzzwwfmb1.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [2 x [3 x i32]] [[3 x i32] [i32 0, i32 1, i32 2], [3 x i32] [i32 3, i32 4, i32 5]], align 16 @.str = private unnamed_addr constant [16 x i8] c"a[%d][%d] = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"p[%d] : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"weights[%i] : %f, ptr_weights[%i] : [%f]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [2 x [3 x i32]], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [5 x double], align 16 %11 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 24, i1 false) 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 = %35, %2 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %38 15: ; preds = %12 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %31, %15 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %19, label %34 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = sitofp i32 %21 to double %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [2 x [3 x i32]], ptr %6, i64 0, i64 %24 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [3 x i32], ptr %25, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, i32, double, ...) @printf(ptr noundef @.str, i32 noundef %20, double noundef %22, i32 noundef %29) br label %31 31: ; preds = %19 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %16, !llvm.loop !6 34: ; preds = %16 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %12, !llvm.loop !8 38: ; preds = %12 %39 = call ptr (...) @genRandom() store ptr %39, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %40 40: ; preds = %52, %38 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %41, 10 br i1 %42, label %43, label %55 43: ; preds = %40 %44 = load i32, ptr %7, align 4 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = sitofp i32 %49 to double %51 = call i32 (ptr, i32, double, ...) @printf(ptr noundef @.str.1, i32 noundef %44, double noundef %50) br label %52 52: ; preds = %43 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %40, !llvm.loop !9 55: ; preds = %40 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %56 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 0 store double 1.800000e+02, ptr %56, align 16 %57 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 1 store double 1.753000e+02, ptr %57, align 8 %58 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 2 store double 1.302000e+02, ptr %58, align 16 %59 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 3 store double 1.000000e+02, ptr %59, align 8 %60 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 4 store double 8.750000e+01, ptr %60, align 16 %61 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0 store ptr %61, ptr %11, align 8 store i32 0, ptr %7, align 4 br label %62 62: ; preds = %78, %55 %63 = load i32, ptr %7, align 4 %64 = icmp slt i32 %63, 5 br i1 %64, label %65, label %81 65: ; preds = %62 %66 = load i32, ptr %7, align 4 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %68 %70 = load double, ptr %69, align 8 %71 = load i32, ptr %7, align 4 %72 = load ptr, ptr %11, align 8 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = call i32 (ptr, i32, double, ...) @printf(ptr noundef @.str.2, i32 noundef %66, double noundef %70, i32 noundef %71, double noundef %76) br label %78 78: ; preds = %65 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 br label %62, !llvm.loop !10 81: ; preds = %62 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, double noundef, ...) #2 declare ptr @genRandom(...) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzzwwfmb1.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [2 x [3 x i32]] [[3 x i32] [i32 0, i32 1, i32 2], [3 x i32] [i32 3, i32 4, i32 5]], align 16 @.str = private unnamed_addr constant [16 x i8] c"a[%d][%d] = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"p[%d] : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"weights[%i] : %f, ptr_weights[%i] : [%f]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [2 x [3 x i32]], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [5 x double], align 16 %11 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 24, i1 false) 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, 2 br i1 %13, label %.lr.ph2, label %40 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %35 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %.lr.ph, label %34 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %29 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = sitofp i32 %19 to double %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [2 x [3 x i32]], ptr %6, i64 0, i64 %22 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [3 x i32], ptr %23, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, i32, double, ...) @printf(ptr noundef @.str, i32 noundef %18, double noundef %20, i32 noundef %27) br label %29 29: ; preds = %17 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %32, 3 br i1 %33, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %14 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 2 br i1 %39, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %40 40: ; preds = %._crit_edge3, %2 %41 = call ptr (...) @genRandom() store ptr %41, ptr %9, align 8 store i32 0, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %42, 10 br i1 %43, label %.lr.ph5, label %58 .lr.ph5: ; preds = %40 br label %44 44: ; preds = %.lr.ph5, %53 %45 = load i32, ptr %7, align 4 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = sitofp i32 %50 to double %52 = call i32 (ptr, i32, double, ...) @printf(ptr noundef @.str.1, i32 noundef %45, double noundef %51) br label %53 53: ; preds = %44 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %56, 10 br i1 %57, label %44, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %53 br label %58 58: ; preds = %._crit_edge6, %40 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %59 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 0 store double 1.800000e+02, ptr %59, align 16 %60 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 1 store double 1.753000e+02, ptr %60, align 8 %61 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 2 store double 1.302000e+02, ptr %61, align 16 %62 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 3 store double 1.000000e+02, ptr %62, align 8 %63 = getelementptr inbounds [5 x double], ptr %10, i32 0, i32 4 store double 8.750000e+01, ptr %63, align 16 %64 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0 store ptr %64, ptr %11, align 8 store i32 0, ptr %7, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp slt i32 %65, 5 br i1 %66, label %.lr.ph8, label %85 .lr.ph8: ; preds = %58 br label %67 67: ; preds = %.lr.ph8, %80 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %70 %72 = load double, ptr %71, align 8 %73 = load i32, ptr %7, align 4 %74 = load ptr, ptr %11, align 8 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = call i32 (ptr, i32, double, ...) @printf(ptr noundef @.str.2, i32 noundef %68, double noundef %72, i32 noundef %73, double noundef %78) br label %80 80: ; preds = %67 %81 = load i32, ptr %7, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %7, align 4 %83 = load i32, ptr %7, align 4 %84 = icmp slt i32 %83, 5 br i1 %84, label %67, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %80 br label %85 85: ; preds = %._crit_edge9, %58 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, double noundef, ...) #2 declare ptr @genRandom(...) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpx1eq97a9.c' source_filename = "/tmp/tmpx1eq97a9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\0A\0AUsage:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c" %s [<switches>] <adventure>\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"where the possible optional switches are:\0A\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c" -u use UTF-8 encoding for input and output\0A\00", align 1 @.str.4 = private unnamed_addr constant [59 x i8] c" -i use ISO8859-1 encoding for input and output\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c" -h this help\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c" -v verbose mode\0A\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c" -l log game transcript to a file ('.a3t')\0A\00", align 1 @.str.8 = private unnamed_addr constant [74 x i8] c" -c log player command input (the solution) to a file ('.a3s')\0A\00", align 1 @.str.9 = private unnamed_addr constant [42 x i8] c" -n don't show the Status Line\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c" -p don't page output\0A\00", align 1 @.str.11 = private unnamed_addr constant [44 x i8] c" -d enter debug mode immediately\0A\00", align 1 @.str.12 = private unnamed_addr constant [65 x i8] c" -t[<n>] trace game execution, higher <n> gives more trace\0A\00", align 1 @.str.13 = private unnamed_addr constant [90 x i8] c" -r make regression testing easier (don't timestamp, page break, randomize...)\0A\00", align 1 @.str.14 = private unnamed_addr constant [62 x i8] c" -e ignore version and checksum errors (dangerous)\0A\00", align 1 @.str.15 = private unnamed_addr constant [38 x i8] c" --version print version and exit\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 = call i32 @printVersion(i32 noundef 0) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) ret void } declare i32 @printVersion(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx1eq97a9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\0A\0AUsage:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c" %s [<switches>] <adventure>\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"where the possible optional switches are:\0A\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c" -u use UTF-8 encoding for input and output\0A\00", align 1 @.str.4 = private unnamed_addr constant [59 x i8] c" -i use ISO8859-1 encoding for input and output\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c" -h this help\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c" -v verbose mode\0A\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c" -l log game transcript to a file ('.a3t')\0A\00", align 1 @.str.8 = private unnamed_addr constant [74 x i8] c" -c log player command input (the solution) to a file ('.a3s')\0A\00", align 1 @.str.9 = private unnamed_addr constant [42 x i8] c" -n don't show the Status Line\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c" -p don't page output\0A\00", align 1 @.str.11 = private unnamed_addr constant [44 x i8] c" -d enter debug mode immediately\0A\00", align 1 @.str.12 = private unnamed_addr constant [65 x i8] c" -t[<n>] trace game execution, higher <n> gives more trace\0A\00", align 1 @.str.13 = private unnamed_addr constant [90 x i8] c" -r make regression testing easier (don't timestamp, page break, randomize...)\0A\00", align 1 @.str.14 = private unnamed_addr constant [62 x i8] c" -e ignore version and checksum errors (dangerous)\0A\00", align 1 @.str.15 = private unnamed_addr constant [38 x i8] c" --version print version and exit\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 = call i32 @printVersion(i32 noundef 0) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) ret void } declare i32 @printVersion(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpexhkqnty.c' source_filename = "/tmp/tmpexhkqnty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_acosl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i64 @acosl(x86_fp80 noundef %3) %5 = load x86_fp80, ptr %2, align 16 %6 = call i64 @acosl(x86_fp80 noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_acosl() br label %10 10: ; preds = %8, %1 ret void } declare i64 @acosl(x86_fp80 noundef) #1 declare i32 @link_failure_acosl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpexhkqnty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_acosl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i64 @acosl(x86_fp80 noundef %3) %5 = load x86_fp80, ptr %2, align 16 %6 = call i64 @acosl(x86_fp80 noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_acosl() br label %10 10: ; preds = %8, %1 ret void } declare i64 @acosl(x86_fp80 noundef) #1 declare i32 @link_failure_acosl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn6l3_jsz.c' source_filename = "/tmp/tmpn6l3_jsz.c" target datalayout = "e-m:e-p270: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/tmpn6l3_jsz.c" target datalayout = "e-m:e-p270: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/tmpx3tbm2sm.c' source_filename = "/tmp/tmpx3tbm2sm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeyDest(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @SafeFree(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @SafeFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3tbm2sm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeyDest(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @SafeFree(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @SafeFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj5k874w7.c' source_filename = "/tmp/tmpj5k874w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %10, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ule i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = call i32 (...) @g() br label %10 10: ; preds = %8 %11 = load i32, ptr %3, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %3, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 store i32 5, ptr %3, align 4 br label %14 14: ; preds = %20, %13 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp ule i32 %15, %16 br i1 %17, label %18, label %23 18: ; preds = %14 %19 = call i32 (...) @g() br label %20 20: ; preds = %18 %21 = load i32, ptr %3, align 4 %22 = add i32 %21, 4 store i32 %22, ptr %3, align 4 br label %14, !llvm.loop !8 23: ; preds = %14 store i32 5, ptr %3, align 4 br label %24 24: ; preds = %30, %23 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp ule i32 %25, %26 br i1 %27, label %28, label %33 28: ; preds = %24 %29 = call i32 (...) @g() br label %30 30: ; preds = %28 %31 = load i32, ptr %3, align 4 %32 = add i32 %31, 5 store i32 %32, ptr %3, align 4 br label %24, !llvm.loop !9 33: ; preds = %24 store i32 4, ptr %3, align 4 br label %34 34: ; preds = %40, %33 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp ule i32 %35, %36 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = call i32 (...) @g() br label %40 40: ; preds = %38 %41 = load i32, ptr %3, align 4 %42 = add i32 %41, 5 store i32 %42, ptr %3, align 4 br label %34, !llvm.loop !10 43: ; preds = %34 store i32 15, ptr %3, align 4 br label %44 44: ; preds = %50, %43 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp uge i32 %45, %46 br i1 %47, label %48, label %53 48: ; preds = %44 %49 = call i32 (...) @g() br label %50 50: ; preds = %48 %51 = load i32, ptr %3, align 4 %52 = add i32 %51, -1 store i32 %52, ptr %3, align 4 br label %44, !llvm.loop !11 53: ; preds = %44 ret void } declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpj5k874w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ule i32 %4, %5 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %9 %8 = call i32 (...) @g() br label %9 9: ; preds = %7 %10 = load i32, ptr %3, align 4 %11 = add i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp ule i32 %12, %13 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 store i32 5, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp ule i32 %16, %17 br i1 %18, label %.lr.ph2, label %27 .lr.ph2: ; preds = %15 br label %19 19: ; preds = %.lr.ph2, %21 %20 = call i32 (...) @g() br label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = add i32 %22, 4 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp ule i32 %24, %25 br i1 %26, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %27 27: ; preds = %._crit_edge3, %15 store i32 5, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp ule i32 %28, %29 br i1 %30, label %.lr.ph5, label %39 .lr.ph5: ; preds = %27 br label %31 31: ; preds = %.lr.ph5, %33 %32 = call i32 (...) @g() br label %33 33: ; preds = %31 %34 = load i32, ptr %3, align 4 %35 = add i32 %34, 5 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp ule i32 %36, %37 br i1 %38, label %31, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %33 br label %39 39: ; preds = %._crit_edge6, %27 store i32 4, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp ule i32 %40, %41 br i1 %42, label %.lr.ph8, label %51 .lr.ph8: ; preds = %39 br label %43 43: ; preds = %.lr.ph8, %45 %44 = call i32 (...) @g() br label %45 45: ; preds = %43 %46 = load i32, ptr %3, align 4 %47 = add i32 %46, 5 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp ule i32 %48, %49 br i1 %50, label %43, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %45 br label %51 51: ; preds = %._crit_edge9, %39 store i32 15, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %2, align 4 %54 = icmp uge i32 %52, %53 br i1 %54, label %.lr.ph11, label %63 .lr.ph11: ; preds = %51 br label %55 55: ; preds = %.lr.ph11, %57 %56 = call i32 (...) @g() br label %57 57: ; preds = %55 %58 = load i32, ptr %3, align 4 %59 = add i32 %58, -1 store i32 %59, ptr %3, align 4 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp uge i32 %60, %61 br i1 %62, label %55, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %57 br label %63 63: ; preds = %._crit_edge12, %51 ret void } declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpvyxxykrf.c' source_filename = "/tmp/tmpvyxxykrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Release\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvyxxykrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Release\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjzetoyy2.c' source_filename = "/tmp/tmpjzetoyy2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawvertline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 640 br i1 %14, label %15, label %16 15: ; preds = %12, %4 br label %53 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %9, align 4 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %20, %16 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 br label %53 28: ; preds = %24 %29 = load i32, ptr %6, align 4 %30 = icmp sge i32 %29, 480 br i1 %30, label %31, label %32 31: ; preds = %28 br label %53 32: ; preds = %28 %33 = load i32, ptr %7, align 4 %34 = icmp sge i32 %33, 480 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 479, ptr %7, align 4 br label %36 36: ; preds = %35, %32 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 0, ptr %6, align 4 br label %40 40: ; preds = %39, %36 br label %41 41: ; preds = %50, %40 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %45, label %53 45: ; preds = %41 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %8, align 4 %49 = call i32 @drawdotfast(i32 noundef %46, i32 noundef %47, i32 noundef %48) br label %50 50: ; preds = %45 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %41, !llvm.loop !6 53: ; preds = %15, %27, %31, %41 ret void } declare i32 @drawdotfast(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjzetoyy2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawvertline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 640 br i1 %14, label %15, label %16 15: ; preds = %12, %4 br label %55 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %9, align 4 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %20, %16 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 br label %55 28: ; preds = %24 %29 = load i32, ptr %6, align 4 %30 = icmp sge i32 %29, 480 br i1 %30, label %31, label %32 31: ; preds = %28 br label %55 32: ; preds = %28 %33 = load i32, ptr %7, align 4 %34 = icmp sge i32 %33, 480 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 479, ptr %7, align 4 br label %36 36: ; preds = %35, %32 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 0, ptr %6, align 4 br label %40 40: ; preds = %39, %36 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %49 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %8, align 4 %48 = call i32 @drawdotfast(i32 noundef %45, i32 noundef %46, i32 noundef %47) br label %49 49: ; preds = %44 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp sle i32 %52, %53 br i1 %54, label %44, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %49 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %40 br label %55 55: ; preds = %.loopexit, %31, %27, %15 ret void } declare i32 @drawdotfast(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjpr5x8tm.c' source_filename = "/tmp/tmpjpr5x8tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = call ptr @strcpy(ptr noundef %14, ptr noundef %15) ret ptr %16 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @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/tmpjpr5x8tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = call ptr @strcpy(ptr noundef %14, ptr noundef %15) ret ptr %16 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @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/tmpp51n954v.c' source_filename = "/tmp/tmpp51n954v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc16(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i64 @update_crc(i64 noundef 0, ptr noundef %5, i32 noundef %6) ret i64 %7 } declare i64 @update_crc(i64 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/tmpp51n954v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc16(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i64 @update_crc(i64 noundef 0, ptr noundef %5, i32 noundef %6) ret i64 %7 } declare i64 @update_crc(i64 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/tmpa2yfbgf5.c' source_filename = "/tmp/tmpa2yfbgf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hdl_SIGALARM(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 = load i32, ptr @SIGALRM, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = call i32 (...) @getpid() %12 = call i32 @echoRequestSend(i32 noundef %11) br label %13 13: ; preds = %10, %3 ret void } declare i32 @echoRequestSend(i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa2yfbgf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hdl_SIGALARM(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 = load i32, ptr @SIGALRM, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = call i32 (...) @getpid() %12 = call i32 @echoRequestSend(i32 noundef %11) br label %13 13: ; preds = %10, %3 ret void } declare i32 @echoRequestSend(i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplvwcvwqi.c' source_filename = "/tmp/tmplvwcvwqi.c" target datalayout = "e-m:e-p270: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/tmplvwcvwqi.c" target datalayout = "e-m:e-p270: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/tmp7er29i2n.c' source_filename = "/tmp/tmp7er29i2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store ptr null, ptr %5, align 8 br label %6 6: ; preds = %27, %2 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %14, %15 br label %17 17: ; preds = %11, %6 %18 = phi i1 [ true, %6 ], [ %16, %11 ] br i1 %18, label %19, label %30 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = load ptr, ptr %3, align 8 store ptr %26, ptr %5, align 8 br label %27 27: ; preds = %25, %19 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %3, align 8 br label %6, !llvm.loop !6 30: ; preds = %17 %31 = load ptr, ptr %5, align 8 ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7er29i2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store ptr null, ptr %5, align 8 br label %6 6: ; preds = %27, %2 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %14, %15 br label %17 17: ; preds = %11, %6 %18 = phi i1 [ true, %6 ], [ %16, %11 ] br i1 %18, label %19, label %30 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = load ptr, ptr %3, align 8 store ptr %26, ptr %5, align 8 br label %27 27: ; preds = %25, %19 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %3, align 8 br label %6, !llvm.loop !6 30: ; preds = %17 %31 = load ptr, ptr %5, align 8 ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp2dnjbslj.c' source_filename = "/tmp/tmp2dnjbslj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sysinfo = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sysinfo, align 8 store i32 0, ptr %1, align 4 %3 = call i64 @sysinfo(ptr noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 store i32 1, ptr %1, align 4 br label %13 6: ; preds = %0 %7 = getelementptr inbounds %struct.sysinfo, ptr %2, i32 0, i32 0 %8 = load ptr, ptr %7, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 1 %10 = load i32, ptr %9, align 4 %11 = sdiv i32 %10, 65536 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) store i32 0, ptr %1, align 4 br label %13 13: ; preds = %6, %5 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i64 @sysinfo(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2dnjbslj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sysinfo = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sysinfo, align 8 store i32 0, ptr %1, align 4 %3 = call i64 @sysinfo(ptr noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 store i32 1, ptr %1, align 4 br label %13 6: ; preds = %0 %7 = getelementptr inbounds %struct.sysinfo, ptr %2, i32 0, i32 0 %8 = load ptr, ptr %7, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 1 %10 = load i32, ptr %9, align 4 %11 = sdiv i32 %10, 65536 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) store i32 0, ptr %1, align 4 br label %13 13: ; preds = %6, %5 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i64 @sysinfo(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"}
; ModuleID = '/tmp/tmpyim218yt.c' source_filename = "/tmp/tmpyim218yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Can't allocate memory!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xcalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @fatal(ptr noundef @.str) br label %12 12: ; preds = %10, %2 %13 = load ptr, ptr %5, align 8 ret ptr %13 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @fatal(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyim218yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Can't allocate memory!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xcalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @fatal(ptr noundef @.str) br label %12 12: ; preds = %10, %2 %13 = load ptr, ptr %5, align 8 ret ptr %13 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @fatal(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprkdg9sa0.c' source_filename = "/tmp/tmprkdg9sa0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"digits =\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c", white spaces = %d, chars = %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c" Nr %d : \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" * \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"------------------------------------\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Times x| \00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @count_2() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %9, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %14 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = sext i32 %10 to i64 %13 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %12 store i32 0, ptr %13, align 4 br label %6, !llvm.loop !6 14: ; preds = %6 br label %15 15: ; preds = %47, %14 %16 = call i32 (...) @getchar() store i32 %16, ptr %1, align 4 %17 = icmp ne i32 %16, 126 br i1 %17, label %18, label %48 18: ; preds = %15 %19 = load i32, ptr %1, align 4 %20 = icmp sge i32 %19, 48 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %1, align 4 %23 = icmp sle i32 %22, 57 br i1 %23, label %24, label %31 24: ; preds = %21 %25 = load i32, ptr %1, align 4 %26 = sub nsw i32 %25, 48 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %28, align 4 br label %47 31: ; preds = %21, %18 %32 = load i32, ptr %1, align 4 %33 = icmp eq i32 %32, 32 br i1 %33, label %40, label %34 34: ; preds = %31 %35 = load i32, ptr %1, align 4 %36 = icmp eq i32 %35, 9 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = load i32, ptr %1, align 4 %39 = icmp eq i32 %38, 10 br i1 %39, label %40, label %43 40: ; preds = %37, %34, %31 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 br label %46 43: ; preds = %37 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %43, %40 br label %47 47: ; preds = %46, %24 br label %15, !llvm.loop !8 48: ; preds = %15 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %50 50: ; preds = %59, %48 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %51, 10 br i1 %52, label %53, label %62 53: ; preds = %50 %54 = load i32, ptr %2, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %57) br label %59 59: ; preds = %53 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %2, align 4 br label %50, !llvm.loop !9 62: ; preds = %50 %63 = load i32, ptr %3, align 4 %64 = load i32, ptr %4, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %63, i32 noundef %64) store i32 0, ptr %2, align 4 br label %66 66: ; preds = %99, %62 %67 = load i32, ptr %2, align 4 %68 = icmp slt i32 %67, 10 br i1 %68, label %69, label %102 69: ; preds = %66 %70 = load i32, ptr %2, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %93 75: ; preds = %69 %76 = load i32, ptr %2, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %76) br label %78 78: ; preds = %84, %75 %79 = load i32, ptr %2, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %80 %82 = load i32, ptr %81, align 4 %83 = icmp sgt i32 %82, 0 br i1 %83, label %84, label %91 84: ; preds = %78 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %86 = load i32, ptr %2, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = sub nsw i32 %89, 1 store i32 %90, ptr %88, align 4 br label %78, !llvm.loop !10 91: ; preds = %78 %92 = call i32 @putchar(i8 noundef signext 10) br label %97 93: ; preds = %69 %94 = load i32, ptr %2, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %94) %96 = call i32 @putchar(i8 noundef signext 10) br label %97 97: ; preds = %93, %91 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %99 99: ; preds = %97 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 br label %66, !llvm.loop !11 102: ; preds = %66 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 br label %104 104: ; preds = %111, %102 %105 = load i32, ptr %2, align 4 %106 = icmp slt i32 %105, 9 br i1 %106, label %107, label %114 107: ; preds = %104 %108 = load i32, ptr %2, align 4 %109 = add nsw i32 %108, 1 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %109) br label %111 111: ; preds = %107 %112 = load i32, ptr %2, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %2, align 4 br label %104, !llvm.loop !12 114: ; preds = %104 ret void } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprkdg9sa0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"digits =\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c", white spaces = %d, chars = %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c" Nr %d : \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" * \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"------------------------------------\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Times x| \00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @count_2() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = sext i32 %9 to i64 %12 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %11 store i32 0, ptr %12, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %0 %16 = call i32 (...) @getchar() store i32 %16, ptr %1, align 4 %17 = icmp ne i32 %16, 126 br i1 %17, label %.lr.ph2, label %50 .lr.ph2: ; preds = %15 br label %18 18: ; preds = %.lr.ph2, %47 %19 = load i32, ptr %1, align 4 %20 = icmp sge i32 %19, 48 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %1, align 4 %23 = icmp sle i32 %22, 57 br i1 %23, label %24, label %31 24: ; preds = %21 %25 = load i32, ptr %1, align 4 %26 = sub nsw i32 %25, 48 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %28, align 4 br label %47 31: ; preds = %21, %18 %32 = load i32, ptr %1, align 4 %33 = icmp eq i32 %32, 32 br i1 %33, label %40, label %34 34: ; preds = %31 %35 = load i32, ptr %1, align 4 %36 = icmp eq i32 %35, 9 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = load i32, ptr %1, align 4 %39 = icmp eq i32 %38, 10 br i1 %39, label %40, label %43 40: ; preds = %37, %34, %31 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 br label %46 43: ; preds = %37 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %43, %40 br label %47 47: ; preds = %46, %24 %48 = call i32 (...) @getchar() store i32 %48, ptr %1, align 4 %49 = icmp ne i32 %48, 126 br i1 %49, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %50 50: ; preds = %._crit_edge3, %15 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %52, 10 br i1 %53, label %.lr.ph5, label %65 .lr.ph5: ; preds = %50 br label %54 54: ; preds = %.lr.ph5, %60 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %58) br label %60 60: ; preds = %54 %61 = load i32, ptr %2, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %2, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp slt i32 %63, 10 br i1 %64, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %65 65: ; preds = %._crit_edge6, %50 %66 = load i32, ptr %3, align 4 %67 = load i32, ptr %4, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66, i32 noundef %67) store i32 0, ptr %2, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp slt i32 %69, 10 br i1 %70, label %.lr.ph11, label %110 .lr.ph11: ; preds = %65 br label %71 71: ; preds = %.lr.ph11, %105 %72 = load i32, ptr %2, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %77, label %99 77: ; preds = %71 %78 = load i32, ptr %2, align 4 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %78) %80 = load i32, ptr %2, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp sgt i32 %83, 0 br i1 %84, label %.lr.ph8, label %97 .lr.ph8: ; preds = %77 br label %85 85: ; preds = %.lr.ph8, %85 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %87 = load i32, ptr %2, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = sub nsw i32 %90, 1 store i32 %91, ptr %89, align 4 %92 = load i32, ptr %2, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = icmp sgt i32 %95, 0 br i1 %96, label %85, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %85 br label %97 97: ; preds = %._crit_edge9, %77 %98 = call i32 @putchar(i8 noundef signext 10) br label %103 99: ; preds = %71 %100 = load i32, ptr %2, align 4 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %100) %102 = call i32 @putchar(i8 noundef signext 10) br label %103 103: ; preds = %99, %97 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %105 105: ; preds = %103 %106 = load i32, ptr %2, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %2, align 4 %108 = load i32, ptr %2, align 4 %109 = icmp slt i32 %108, 10 br i1 %109, label %71, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %105 br label %110 110: ; preds = %._crit_edge12, %65 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 %112 = load i32, ptr %2, align 4 %113 = icmp slt i32 %112, 9 br i1 %113, label %.lr.ph14, label %123 .lr.ph14: ; preds = %110 br label %114 114: ; preds = %.lr.ph14, %118 %115 = load i32, ptr %2, align 4 %116 = add nsw i32 %115, 1 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %116) br label %118 118: ; preds = %114 %119 = load i32, ptr %2, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %2, align 4 %121 = load i32, ptr %2, align 4 %122 = icmp slt i32 %121, 9 br i1 %122, label %114, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %118 br label %123 123: ; preds = %._crit_edge15, %110 ret void } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpo7n2exbv.c' source_filename = "/tmp/tmpo7n2exbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Somatorio: %d\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 @somatorio(i32 noundef 2) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @somatorio(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/tmpo7n2exbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Somatorio: %d\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 @somatorio(i32 noundef 2) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @somatorio(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/tmp3i2zolbj.c' source_filename = "/tmp/tmp3i2zolbj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = call ptr @malloc(i64 noundef %10) #3 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %6, align 8 %16 = sub i64 %15, 1 %17 = call i32 @__qsort(ptr noundef %12, i64 noundef %13, ptr noundef %14, i32 noundef 0, i64 noundef %16, ptr noundef %9) %18 = load ptr, ptr %9, align 8 %19 = call i32 @free(ptr noundef %18) ret void } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @__qsort(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3i2zolbj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = call ptr @malloc(i64 noundef %10) #3 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %6, align 8 %16 = sub i64 %15, 1 %17 = call i32 @__qsort(ptr noundef %12, i64 noundef %13, ptr noundef %14, i32 noundef 0, i64 noundef %16, ptr noundef %9) %18 = load ptr, ptr %9, align 8 %19 = call i32 @free(ptr noundef %18) ret void } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @__qsort(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo5lryu6f.c' source_filename = "/tmp/tmpo5lryu6f.c" target datalayout = "e-m:e-p270: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/tmpo5lryu6f.c" target datalayout = "e-m:e-p270: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/tmpqjet7p36.c' source_filename = "/tmp/tmpqjet7p36.c" target datalayout = "e-m:e-p270: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/tmpqjet7p36.c" target datalayout = "e-m:e-p270: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/tmpohwjk6da.c' source_filename = "/tmp/tmpohwjk6da.c" target datalayout = "e-m:e-p270: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/tmpohwjk6da.c" target datalayout = "e-m:e-p270: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/tmpwro5y_x6.c' source_filename = "/tmp/tmpwro5y_x6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Insert n:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %7 7: ; preds = %35, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %37 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %14, %15 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %20, %11 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str.2) %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 br label %17, !llvm.loop !6 24: ; preds = %17 %25 = load i32, ptr %3, align 4 %26 = mul nsw i32 2, %25 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %31, %24 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.3) %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %4, align 4 br label %28, !llvm.loop !8 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str.4) br label %7, !llvm.loop !9 37: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwro5y_x6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Insert n:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph5, label %41 .lr.ph5: ; preds = %0 br label %10 10: ; preds = %.lr.ph5, %36 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %13, %14 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %.lr.ph, label %24 .lr.ph: ; preds = %10 br label %18 18: ; preds = %.lr.ph, %18 %19 = call i32 @printf(ptr noundef @.str.2) %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %10 %25 = load i32, ptr %3, align 4 %26 = mul nsw i32 2, %25 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %.lr.ph2, label %36 .lr.ph2: ; preds = %24 br label %30 30: ; preds = %.lr.ph2, %30 %31 = call i32 @printf(ptr noundef @.str.3) %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %36 36: ; preds = %._crit_edge3, %24 %37 = call i32 @printf(ptr noundef @.str.4) %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp ne i32 %38, %39 br i1 %40, label %10, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %36 br label %41 41: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpgy8xmf2i.c' source_filename = "/tmp/tmpgy8xmf2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"some failure occurred...\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"The solution vector :\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c" %.15e %.15e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @retrieve_and_write(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 2, %10 %12 = add nsw i32 %11, 5 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca double, i64 %13, align 16 store i64 %13, ptr %9, align 8 %16 = call i32 @_ada_use_solcon(i32 noundef 4, ptr noundef %4, ptr noundef %6, ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %2 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %46 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %23 23: ; preds = %42, %21 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %45 27: ; preds = %23 %28 = load i32, ptr %5, align 4 %29 = mul nsw i32 2, %28 %30 = add nsw i32 2, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %15, i64 %31 %33 = load double, ptr %32, align 8 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 2, %34 %36 = add nsw i32 2, %35 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %15, i64 %38 %40 = load double, ptr %39, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %33, double noundef %40) br label %42 42: ; preds = %27 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %23, !llvm.loop !6 45: ; preds = %23 br label %46 46: ; preds = %45, %19 %47 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %47) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_solcon(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpgy8xmf2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"some failure occurred...\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"The solution vector :\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c" %.15e %.15e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @retrieve_and_write(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 2, %10 %12 = add nsw i32 %11, 5 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca double, i64 %13, align 16 store i64 %13, ptr %9, align 8 %16 = call i32 @_ada_use_solcon(i32 noundef 4, ptr noundef %4, ptr noundef %6, ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %2 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %48 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %47 .lr.ph: ; preds = %21 br label %26 26: ; preds = %.lr.ph, %41 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 2, %27 %29 = add nsw i32 2, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %15, i64 %30 %32 = load double, ptr %31, align 8 %33 = load i32, ptr %5, align 4 %34 = mul nsw i32 2, %33 %35 = add nsw i32 2, %34 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %15, i64 %37 %39 = load double, ptr %38, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %32, double noundef %39) br label %41 41: ; preds = %26 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %3, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %21 br label %48 48: ; preds = %47, %19 %49 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %49) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_solcon(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpy7sgp0ya.c' source_filename = "/tmp/tmpy7sgp0ya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = 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/tmpy7sgp0ya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = 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/tmp8q0lzzjg.c' source_filename = "/tmp/tmp8q0lzzjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @data_getarray_2D(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %14 = load i32, ptr %9, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %7, align 4 %17 = zext i32 %16 to i64 %18 = load ptr, ptr %6, align 8 store ptr %18, ptr %13, align 8 store i32 0, ptr %11, align 4 br label %19 19: ; preds = %50, %5 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %53 23: ; preds = %19 store i32 0, ptr %12, align 4 br label %24 24: ; preds = %45, %23 %25 = load i32, ptr %12, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %48 28: ; preds = %24 %29 = load i32, ptr %12, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @DATA_OUTPUT_CHAR(i8 noundef signext 32) br label %33 33: ; preds = %31, %28 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %13, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = mul nuw i64 %15, %17 %39 = mul nsw i64 %37, %38 %40 = getelementptr inbounds i8, ptr %35, i64 %39 %41 = load i32, ptr %12, align 4 %42 = sext i32 %41 to i64 %43 = mul nsw i64 %42, %17 %44 = getelementptr inbounds i8, ptr %40, i64 %43 call void %34(ptr noundef %44) br label %45 45: ; preds = %33 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 br label %24, !llvm.loop !6 48: ; preds = %24 %49 = call i32 @DATA_OUTPUT_CHAR(i8 noundef signext 10) br label %50 50: ; preds = %48 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %11, align 4 br label %19, !llvm.loop !8 53: ; preds = %19 ret void } declare i32 @DATA_OUTPUT_CHAR(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8q0lzzjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @data_getarray_2D(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %14 = load i32, ptr %9, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %7, align 4 %17 = zext i32 %16 to i64 %18 = load ptr, ptr %6, align 8 store ptr %18, ptr %13, align 8 store i32 0, ptr %11, align 4 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph2, label %57 .lr.ph2: ; preds = %5 br label %22 22: ; preds = %.lr.ph2, %51 store i32 0, ptr %12, align 4 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %49 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %43 %27 = load i32, ptr %12, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @DATA_OUTPUT_CHAR(i8 noundef signext 32) br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %10, align 8 %33 = load ptr, ptr %13, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = mul nuw i64 %15, %17 %37 = mul nsw i64 %35, %36 %38 = getelementptr inbounds i8, ptr %33, i64 %37 %39 = load i32, ptr %12, align 4 %40 = sext i32 %39 to i64 %41 = mul nsw i64 %40, %17 %42 = getelementptr inbounds i8, ptr %38, i64 %41 call void %32(ptr noundef %42) br label %43 43: ; preds = %31 %44 = load i32, ptr %12, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %12, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %22 %50 = call i32 @DATA_OUTPUT_CHAR(i8 noundef signext 10) br label %51 51: ; preds = %49 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %11, align 4 %54 = load i32, ptr %11, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %5 ret void } declare i32 @DATA_OUTPUT_CHAR(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxdv235op.c' source_filename = "/tmp/tmpxdv235op.c" target datalayout = "e-m:e-p270: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/tmpxdv235op.c" target datalayout = "e-m:e-p270: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/tmp9qxmgyv_.c' source_filename = "/tmp/tmp9qxmgyv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef %3) ret ptr %4 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9qxmgyv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef %3) ret ptr %4 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpslvjvyih.c' source_filename = "/tmp/tmpslvjvyih.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_aullshr(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = ashr i32 %5, %6 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpslvjvyih.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_aullshr(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = ashr i32 %5, %6 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvjjvo96u.c' source_filename = "/tmp/tmpvjjvo96u.c" target datalayout = "e-m:e-p270: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.mntent = type { i32 } @getmntent.m = internal global %struct.mntent zeroinitializer, align 4 @getmntent.getmntent_buffer = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getmntent(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr @getmntent.getmntent_buffer, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = call i64 @malloc(i32 noundef 4096) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr @getmntent.getmntent_buffer, align 8 br label %8 8: ; preds = %5, %1 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr @getmntent.getmntent_buffer, align 8 %11 = call ptr @getmntent_r(ptr noundef %9, ptr noundef @getmntent.m, ptr noundef %10, i32 noundef 4096) ret ptr %11 } declare i64 @malloc(i32 noundef) #1 declare ptr @getmntent_r(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/tmpvjjvo96u.c" target datalayout = "e-m:e-p270: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.mntent = type { i32 } @getmntent.m = internal global %struct.mntent zeroinitializer, align 4 @getmntent.getmntent_buffer = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getmntent(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr @getmntent.getmntent_buffer, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = call i64 @malloc(i32 noundef 4096) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr @getmntent.getmntent_buffer, align 8 br label %8 8: ; preds = %5, %1 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr @getmntent.getmntent_buffer, align 8 %11 = call ptr @getmntent_r(ptr noundef %9, ptr noundef @getmntent.m, ptr noundef %10, i32 noundef 4096) ret ptr %11 } declare i64 @malloc(i32 noundef) #1 declare ptr @getmntent_r(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/tmphv2gs6pb.c' source_filename = "/tmp/tmphv2gs6pb.c" target datalayout = "e-m:e-p270: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/tmphv2gs6pb.c" target datalayout = "e-m:e-p270: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/tmpuq489w6x.c' source_filename = "/tmp/tmpuq489w6x.c" target datalayout = "e-m:e-p270: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/tmpuq489w6x.c" target datalayout = "e-m:e-p270: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/tmpcwxdhyhs.c' source_filename = "/tmp/tmpcwxdhyhs.c" target datalayout = "e-m:e-p270: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/tmpcwxdhyhs.c" target datalayout = "e-m:e-p270: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/tmpgfdlww7u.c' source_filename = "/tmp/tmpgfdlww7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pcp_get_passphrase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %4) %6 = call i32 (...) @pcp_echo_off() %7 = call ptr (...) @pcp_get_stdin() store ptr %7, ptr %3, align 8 %8 = call i32 (...) @pcp_echo_on() %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @pcp_echo_off(...) #1 declare ptr @pcp_get_stdin(...) #1 declare i32 @pcp_echo_on(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgfdlww7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pcp_get_passphrase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %4) %6 = call i32 (...) @pcp_echo_off() %7 = call ptr (...) @pcp_get_stdin() store ptr %7, ptr %3, align 8 %8 = call i32 (...) @pcp_echo_on() %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @pcp_echo_off(...) #1 declare ptr @pcp_get_stdin(...) #1 declare i32 @pcp_echo_on(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3pa2pqhc.c' source_filename = "/tmp/tmp3pa2pqhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @setPFIR(ptr noundef %0, float noundef %1, float noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [63 x float], align 16 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 3, ptr %9, align 4 store i32 63, ptr %10, align 4 %18 = getelementptr inbounds [63 x float], ptr %11, i64 0, i64 0 %19 = load i32, ptr %10, align 4 %20 = call i32 @blackman(ptr noundef %18, i32 noundef %19) store float 0.000000e+00, ptr %12, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %74 23: ; preds = %4 %24 = load float, ptr %6, align 4 %25 = load float, ptr %7, align 4 %26 = fdiv float %24, %25 %27 = fdiv float %26, 2.000000e+00 %28 = fpext float %27 to double store double %28, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %29 29: ; preds = %59, %23 %30 = load i32, ptr %17, align 4 %31 = icmp slt i32 %30, 31 br i1 %31, label %32, label %62 32: ; preds = %29 %33 = load i32, ptr %17, align 4 %34 = load double, ptr %16, align 8 %35 = fsub double 3.100000e+01, %34 %36 = fptosi double %35 to i32 %37 = call i32 @ceil(i32 noundef %36) %38 = icmp sgt i32 %33, %37 br i1 %38, label %39, label %44 39: ; preds = %32 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %17, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i16, ptr %40, i64 %42 store i16 32767, ptr %43, align 2 br label %49 44: ; preds = %32 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %17, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i16, ptr %45, i64 %47 store i16 0, ptr %48, align 2 br label %49 49: ; preds = %44, %39 %50 = load float, ptr %12, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %17, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i16, ptr %51, i64 %53 %55 = load i16, ptr %54, align 2 %56 = sext i16 %55 to i32 %57 = sitofp i32 %56 to float %58 = fadd float %50, %57 store float %58, ptr %12, align 4 br label %59 59: ; preds = %49 %60 = load i32, ptr %17, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %17, align 4 br label %29, !llvm.loop !6 62: ; preds = %29 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i16, ptr %63, i64 31 store i16 32767, ptr %64, align 2 %65 = load float, ptr %12, align 4 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds i16, ptr %66, i64 31 %68 = load i16, ptr %67, align 2 %69 = sext i16 %68 to i32 %70 = sitofp i32 %69 to float %71 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %65, float %70) store float %71, ptr %12, align 4 %72 = load float, ptr %12, align 4 %73 = fdiv float %72, 6.553600e+04 store float %73, ptr %12, align 4 br label %144 74: ; preds = %4 %75 = load i32, ptr %9, align 4 %76 = sitofp i32 %75 to float %77 = load float, ptr %7, align 4 %78 = fmul float %76, %77 %79 = load float, ptr %6, align 4 %80 = fdiv float %78, %79 %81 = fpext float %80 to double store double %81, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %82 82: ; preds = %129, %74 %83 = load i32, ptr %17, align 4 %84 = icmp slt i32 %83, 31 br i1 %84, label %85, label %132 85: ; preds = %82 %86 = load i32, ptr %17, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [63 x float], ptr %11, i64 0, i64 %87 %89 = load float, ptr %88, align 4 %90 = fmul float 3.276700e+04, %89 %91 = fpext float %90 to double %92 = load i32, ptr %9, align 4 %93 = sitofp i32 %92 to double %94 = load double, ptr %16, align 8 %95 = fdiv double %93, %94 %96 = fmul double %91, %95 %97 = load double, ptr %16, align 8 %98 = load i32, ptr %17, align 4 %99 = sitofp i32 %98 to float %100 = fsub float %99, 3.100000e+01 %101 = fpext float %100 to double %102 = fmul double %97, %101 %103 = call i32 @sin(double noundef %102) %104 = sitofp i32 %103 to double %105 = fmul double %96, %104 %106 = load i32, ptr %9, align 4 %107 = sitofp i32 %106 to float %108 = load i32, ptr %17, align 4 %109 = sitofp i32 %108 to float %110 = fsub float %109, 3.100000e+01 %111 = fmul float %107, %110 %112 = fpext float %111 to double %113 = fdiv double %105, %112 %114 = fadd double %113, 4.999900e-01 %115 = fptosi double %114 to i16 %116 = load ptr, ptr %5, align 8 %117 = load i32, ptr %17, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i16, ptr %116, i64 %118 store i16 %115, ptr %119, align 2 %120 = load float, ptr %12, align 4 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %17, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i16, ptr %121, i64 %123 %125 = load i16, ptr %124, align 2 %126 = sext i16 %125 to i32 %127 = sitofp i32 %126 to float %128 = fadd float %120, %127 store float %128, ptr %12, align 4 br label %129 129: ; preds = %85 %130 = load i32, ptr %17, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %17, align 4 br label %82, !llvm.loop !8 132: ; preds = %82 %133 = load ptr, ptr %5, align 8 %134 = getelementptr inbounds i16, ptr %133, i64 31 store i16 32767, ptr %134, align 2 %135 = load float, ptr %12, align 4 %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds i16, ptr %136, i64 31 %138 = load i16, ptr %137, align 2 %139 = sext i16 %138 to i32 %140 = sitofp i32 %139 to float %141 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %135, float %140) store float %141, ptr %12, align 4 %142 = load float, ptr %12, align 4 %143 = fdiv float %142, 6.553600e+04 store float %143, ptr %12, align 4 br label %144 144: ; preds = %132, %62 %145 = load float, ptr %12, align 4 %146 = fcmp ogt float %145, 1.000000e+00 br i1 %146, label %147, label %203 147: ; preds = %144 %148 = load float, ptr %12, align 4 store float %148, ptr %13, align 4 store float 0.000000e+00, ptr %12, align 4 store i32 0, ptr %17, align 4 br label %149 149: ; preds = %178, %147 %150 = load i32, ptr %17, align 4 %151 = icmp slt i32 %150, 31 br i1 %151, label %152, label %181 152: ; preds = %149 %153 = load float, ptr %13, align 4 %154 = fdiv float 1.000000e+00, %153 %155 = load ptr, ptr %5, align 8 %156 = load i32, ptr %17, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i16, ptr %155, i64 %157 %159 = load i16, ptr %158, align 2 %160 = sitofp i16 %159 to float %161 = fmul float %154, %160 %162 = fpext float %161 to double %163 = fadd double %162, 4.999990e-01 %164 = fptosi double %163 to i16 %165 = load ptr, ptr %5, align 8 %166 = load i32, ptr %17, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i16, ptr %165, i64 %167 store i16 %164, ptr %168, align 2 %169 = load float, ptr %12, align 4 %170 = load ptr, ptr %5, align 8 %171 = load i32, ptr %17, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i16, ptr %170, i64 %172 %174 = load i16, ptr %173, align 2 %175 = sext i16 %174 to i32 %176 = sitofp i32 %175 to float %177 = fadd float %169, %176 store float %177, ptr %12, align 4 br label %178 178: ; preds = %152 %179 = load i32, ptr %17, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %17, align 4 br label %149, !llvm.loop !9 181: ; preds = %149 %182 = load float, ptr %13, align 4 %183 = fdiv float 1.000000e+00, %182 %184 = load ptr, ptr %5, align 8 %185 = getelementptr inbounds i16, ptr %184, i64 31 %186 = load i16, ptr %185, align 2 %187 = sitofp i16 %186 to float %188 = fmul float %183, %187 %189 = fpext float %188 to double %190 = fadd double %189, 4.999900e-01 %191 = fptosi double %190 to i16 %192 = load ptr, ptr %5, align 8 %193 = getelementptr inbounds i16, ptr %192, i64 31 store i16 %191, ptr %193, align 2 %194 = load float, ptr %12, align 4 %195 = load ptr, ptr %5, align 8 %196 = getelementptr inbounds i16, ptr %195, i64 31 %197 = load i16, ptr %196, align 2 %198 = sext i16 %197 to i32 %199 = sitofp i32 %198 to float %200 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %194, float %199) store float %200, ptr %12, align 4 %201 = load float, ptr %12, align 4 %202 = fdiv float %201, 6.553600e+04 store float %202, ptr %12, align 4 br label %203 203: ; preds = %181, %144 %204 = load float, ptr %12, align 4 ret float %204 } declare i32 @blackman(ptr noundef, i32 noundef) #1 declare i32 @ceil(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3pa2pqhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @setPFIR(ptr noundef %0, float noundef %1, float noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [63 x float], align 16 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 3, ptr %9, align 4 store i32 63, ptr %10, align 4 %18 = getelementptr inbounds [63 x float], ptr %11, i64 0, i64 0 %19 = load i32, ptr %10, align 4 %20 = call i32 @blackman(ptr noundef %18, i32 noundef %19) store float 0.000000e+00, ptr %12, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %75 23: ; preds = %4 %24 = load float, ptr %6, align 4 %25 = load float, ptr %7, align 4 %26 = fdiv float %24, %25 %27 = fdiv float %26, 2.000000e+00 %28 = fpext float %27 to double store double %28, ptr %16, align 8 store i32 0, ptr %17, align 4 %29 = load i32, ptr %17, align 4 %30 = icmp slt i32 %29, 31 br i1 %30, label %.lr.ph2, label %63 .lr.ph2: ; preds = %23 br label %31 31: ; preds = %.lr.ph2, %58 %32 = load i32, ptr %17, align 4 %33 = load double, ptr %16, align 8 %34 = fsub double 3.100000e+01, %33 %35 = fptosi double %34 to i32 %36 = call i32 @ceil(i32 noundef %35) %37 = icmp sgt i32 %32, %36 br i1 %37, label %38, label %43 38: ; preds = %31 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %17, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i16, ptr %39, i64 %41 store i16 32767, ptr %42, align 2 br label %48 43: ; preds = %31 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %17, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i16, ptr %44, i64 %46 store i16 0, ptr %47, align 2 br label %48 48: ; preds = %43, %38 %49 = load float, ptr %12, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %17, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i16, ptr %50, i64 %52 %54 = load i16, ptr %53, align 2 %55 = sext i16 %54 to i32 %56 = sitofp i32 %55 to float %57 = fadd float %49, %56 store float %57, ptr %12, align 4 br label %58 58: ; preds = %48 %59 = load i32, ptr %17, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %17, align 4 %61 = load i32, ptr %17, align 4 %62 = icmp slt i32 %61, 31 br i1 %62, label %31, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %58 br label %63 63: ; preds = %._crit_edge3, %23 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds i16, ptr %64, i64 31 store i16 32767, ptr %65, align 2 %66 = load float, ptr %12, align 4 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds i16, ptr %67, i64 31 %69 = load i16, ptr %68, align 2 %70 = sext i16 %69 to i32 %71 = sitofp i32 %70 to float %72 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %66, float %71) store float %72, ptr %12, align 4 %73 = load float, ptr %12, align 4 %74 = fdiv float %73, 6.553600e+04 store float %74, ptr %12, align 4 br label %146 75: ; preds = %4 %76 = load i32, ptr %9, align 4 %77 = sitofp i32 %76 to float %78 = load float, ptr %7, align 4 %79 = fmul float %77, %78 %80 = load float, ptr %6, align 4 %81 = fdiv float %79, %80 %82 = fpext float %81 to double store double %82, ptr %16, align 8 store i32 0, ptr %17, align 4 %83 = load i32, ptr %17, align 4 %84 = icmp slt i32 %83, 31 br i1 %84, label %.lr.ph, label %134 .lr.ph: ; preds = %75 br label %85 85: ; preds = %.lr.ph, %129 %86 = load i32, ptr %17, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [63 x float], ptr %11, i64 0, i64 %87 %89 = load float, ptr %88, align 4 %90 = fmul float 3.276700e+04, %89 %91 = fpext float %90 to double %92 = load i32, ptr %9, align 4 %93 = sitofp i32 %92 to double %94 = load double, ptr %16, align 8 %95 = fdiv double %93, %94 %96 = fmul double %91, %95 %97 = load double, ptr %16, align 8 %98 = load i32, ptr %17, align 4 %99 = sitofp i32 %98 to float %100 = fsub float %99, 3.100000e+01 %101 = fpext float %100 to double %102 = fmul double %97, %101 %103 = call i32 @sin(double noundef %102) %104 = sitofp i32 %103 to double %105 = fmul double %96, %104 %106 = load i32, ptr %9, align 4 %107 = sitofp i32 %106 to float %108 = load i32, ptr %17, align 4 %109 = sitofp i32 %108 to float %110 = fsub float %109, 3.100000e+01 %111 = fmul float %107, %110 %112 = fpext float %111 to double %113 = fdiv double %105, %112 %114 = fadd double %113, 4.999900e-01 %115 = fptosi double %114 to i16 %116 = load ptr, ptr %5, align 8 %117 = load i32, ptr %17, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i16, ptr %116, i64 %118 store i16 %115, ptr %119, align 2 %120 = load float, ptr %12, align 4 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %17, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i16, ptr %121, i64 %123 %125 = load i16, ptr %124, align 2 %126 = sext i16 %125 to i32 %127 = sitofp i32 %126 to float %128 = fadd float %120, %127 store float %128, ptr %12, align 4 br label %129 129: ; preds = %85 %130 = load i32, ptr %17, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %17, align 4 %132 = load i32, ptr %17, align 4 %133 = icmp slt i32 %132, 31 br i1 %133, label %85, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %129 br label %134 134: ; preds = %._crit_edge, %75 %135 = load ptr, ptr %5, align 8 %136 = getelementptr inbounds i16, ptr %135, i64 31 store i16 32767, ptr %136, align 2 %137 = load float, ptr %12, align 4 %138 = load ptr, ptr %5, align 8 %139 = getelementptr inbounds i16, ptr %138, i64 31 %140 = load i16, ptr %139, align 2 %141 = sext i16 %140 to i32 %142 = sitofp i32 %141 to float %143 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %137, float %142) store float %143, ptr %12, align 4 %144 = load float, ptr %12, align 4 %145 = fdiv float %144, 6.553600e+04 store float %145, ptr %12, align 4 br label %146 146: ; preds = %134, %63 %147 = load float, ptr %12, align 4 %148 = fcmp ogt float %147, 1.000000e+00 br i1 %148, label %149, label %206 149: ; preds = %146 %150 = load float, ptr %12, align 4 store float %150, ptr %13, align 4 store float 0.000000e+00, ptr %12, align 4 store i32 0, ptr %17, align 4 %151 = load i32, ptr %17, align 4 %152 = icmp slt i32 %151, 31 br i1 %152, label %.lr.ph5, label %184 .lr.ph5: ; preds = %149 br label %153 153: ; preds = %.lr.ph5, %179 %154 = load float, ptr %13, align 4 %155 = fdiv float 1.000000e+00, %154 %156 = load ptr, ptr %5, align 8 %157 = load i32, ptr %17, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i16, ptr %156, i64 %158 %160 = load i16, ptr %159, align 2 %161 = sitofp i16 %160 to float %162 = fmul float %155, %161 %163 = fpext float %162 to double %164 = fadd double %163, 4.999990e-01 %165 = fptosi double %164 to i16 %166 = load ptr, ptr %5, align 8 %167 = load i32, ptr %17, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i16, ptr %166, i64 %168 store i16 %165, ptr %169, align 2 %170 = load float, ptr %12, align 4 %171 = load ptr, ptr %5, align 8 %172 = load i32, ptr %17, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i16, ptr %171, i64 %173 %175 = load i16, ptr %174, align 2 %176 = sext i16 %175 to i32 %177 = sitofp i32 %176 to float %178 = fadd float %170, %177 store float %178, ptr %12, align 4 br label %179 179: ; preds = %153 %180 = load i32, ptr %17, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %17, align 4 %182 = load i32, ptr %17, align 4 %183 = icmp slt i32 %182, 31 br i1 %183, label %153, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %179 br label %184 184: ; preds = %._crit_edge6, %149 %185 = load float, ptr %13, align 4 %186 = fdiv float 1.000000e+00, %185 %187 = load ptr, ptr %5, align 8 %188 = getelementptr inbounds i16, ptr %187, i64 31 %189 = load i16, ptr %188, align 2 %190 = sitofp i16 %189 to float %191 = fmul float %186, %190 %192 = fpext float %191 to double %193 = fadd double %192, 4.999900e-01 %194 = fptosi double %193 to i16 %195 = load ptr, ptr %5, align 8 %196 = getelementptr inbounds i16, ptr %195, i64 31 store i16 %194, ptr %196, align 2 %197 = load float, ptr %12, align 4 %198 = load ptr, ptr %5, align 8 %199 = getelementptr inbounds i16, ptr %198, i64 31 %200 = load i16, ptr %199, align 2 %201 = sext i16 %200 to i32 %202 = sitofp i32 %201 to float %203 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %197, float %202) store float %203, ptr %12, align 4 %204 = load float, ptr %12, align 4 %205 = fdiv float %204, 6.553600e+04 store float %205, ptr %12, align 4 br label %206 206: ; preds = %184, %146 %207 = load float, ptr %12, align 4 ret float %207 } declare i32 @blackman(ptr noundef, i32 noundef) #1 declare i32 @ceil(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9zgk9pa7.c' source_filename = "/tmp/tmp9zgk9pa7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'%c' \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @p(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zgk9pa7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'%c' \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @p(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp77oa1mgy.c' source_filename = "/tmp/tmp77oa1mgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [200 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 1 %13 = zext i1 %12 to i32 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 100 %16 = zext i1 %15 to i32 %17 = or i32 %13, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %0 store i32 0, ptr %1, align 4 br label %105 20: ; preds = %0 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %2, align 4 br label %22 22: ; preds = %101, %20 %23 = load i32, ptr %2, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %104 25: ; preds = %22 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 1 %29 = zext i1 %28 to i32 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, 100 %32 = zext i1 %31 to i32 %33 = or i32 %29, %32 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %25 store i32 0, ptr %1, align 4 br label %105 36: ; preds = %25 %37 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 0 store i32 1, ptr %37, align 16 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %9, align 4 br label %38 38: ; preds = %81, %36 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp sle i32 %39, %40 br i1 %41, label %42, label %84 42: ; preds = %38 store i32 0, ptr %8, align 4 br label %43 43: ; preds = %63, %42 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %66 47: ; preds = %43 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %9, align 4 %53 = mul nsw i32 %51, %52 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %53, %54 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = srem i32 %56, 10 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %59 store i32 %57, ptr %60, align 4 %61 = load i32, ptr %7, align 4 %62 = sdiv i32 %61, 10 store i32 %62, ptr %6, align 4 br label %63 63: ; preds = %47 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 br label %43, !llvm.loop !6 66: ; preds = %43 br label %67 67: ; preds = %70, %66 %68 = load i32, ptr %6, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %67 %71 = load i32, ptr %6, align 4 %72 = srem i32 %71, 10 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %74 store i32 %72, ptr %75, align 4 %76 = load i32, ptr %6, align 4 %77 = sdiv i32 %76, 10 store i32 %77, ptr %6, align 4 %78 = load i32, ptr %5, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %5, align 4 br label %67, !llvm.loop !8 80: ; preds = %67 br label %81 81: ; preds = %80 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %9, align 4 br label %38, !llvm.loop !9 84: ; preds = %38 %85 = load i32, ptr %5, align 4 %86 = sub nsw i32 %85, 1 store i32 %86, ptr %9, align 4 br label %87 87: ; preds = %96, %84 %88 = load i32, ptr %9, align 4 %89 = icmp sge i32 %88, 0 br i1 %89, label %90, label %99 90: ; preds = %87 %91 = load i32, ptr %9, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %94) br label %96 96: ; preds = %90 %97 = load i32, ptr %9, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %9, align 4 br label %87, !llvm.loop !10 99: ; preds = %87 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %101 101: ; preds = %99 %102 = load i32, ptr %2, align 4 %103 = add nsw i32 %102, -1 store i32 %103, ptr %2, align 4 br label %22, !llvm.loop !11 104: ; preds = %22 store i32 0, ptr %1, align 4 br label %105 105: ; preds = %104, %35, %19 %106 = load i32, ptr %1, align 4 ret i32 %106 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp77oa1mgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [200 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 1 %13 = zext i1 %12 to i32 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 100 %16 = zext i1 %15 to i32 %17 = or i32 %13, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %0 store i32 0, ptr %1, align 4 br label %112 20: ; preds = %0 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %.lr.ph11, label %111 .lr.ph11: ; preds = %20 br label %24 24: ; preds = %.lr.ph11, %106 %25 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %26, 1 %28 = zext i1 %27 to i32 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 100 %31 = zext i1 %30 to i32 %32 = or i32 %28, %31 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %24 store i32 0, ptr %1, align 4 br label %112 35: ; preds = %24 %36 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 0 store i32 1, ptr %36, align 16 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %.lr.ph5, label %88 .lr.ph5: ; preds = %35 br label %40 40: ; preds = %.lr.ph5, %82 store i32 0, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %66 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %60 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %9, align 4 %50 = mul nsw i32 %48, %49 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %50, %51 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = srem i32 %53, 10 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %56 store i32 %54, ptr %57, align 4 %58 = load i32, ptr %7, align 4 %59 = sdiv i32 %58, 10 store i32 %59, ptr %6, align 4 br label %60 60: ; preds = %44 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %5, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %66 66: ; preds = %._crit_edge, %40 %67 = load i32, ptr %6, align 4 %68 = icmp sgt i32 %67, 0 br i1 %68, label %.lr.ph2, label %81 .lr.ph2: ; preds = %66 br label %69 69: ; preds = %.lr.ph2, %69 %70 = load i32, ptr %6, align 4 %71 = srem i32 %70, 10 %72 = load i32, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %73 store i32 %71, ptr %74, align 4 %75 = load i32, ptr %6, align 4 %76 = sdiv i32 %75, 10 store i32 %76, ptr %6, align 4 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp sgt i32 %79, 0 br i1 %80, label %69, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %81 81: ; preds = %._crit_edge3, %66 br label %82 82: ; preds = %81 %83 = load i32, ptr %9, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %9, align 4 %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp sle i32 %85, %86 br i1 %87, label %40, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %82 br label %88 88: ; preds = %._crit_edge6, %35 %89 = load i32, ptr %5, align 4 %90 = sub nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = icmp sge i32 %91, 0 br i1 %92, label %.lr.ph8, label %104 .lr.ph8: ; preds = %88 br label %93 93: ; preds = %.lr.ph8, %99 %94 = load i32, ptr %9, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [200 x i32], ptr %3, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %97) br label %99 99: ; preds = %93 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, -1 store i32 %101, ptr %9, align 4 %102 = load i32, ptr %9, align 4 %103 = icmp sge i32 %102, 0 br i1 %103, label %93, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %99 br label %104 104: ; preds = %._crit_edge9, %88 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %106 106: ; preds = %104 %107 = load i32, ptr %2, align 4 %108 = add nsw i32 %107, -1 store i32 %108, ptr %2, align 4 %109 = load i32, ptr %2, align 4 %110 = icmp sgt i32 %109, 0 br i1 %110, label %24, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %106 br label %111 111: ; preds = %._crit_edge12, %20 store i32 0, ptr %1, align 4 br label %112 112: ; preds = %111, %34, %19 %113 = load i32, ptr %1, align 4 ret i32 %113 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp92_577mc.c' source_filename = "/tmp/tmp92_577mc.c" target datalayout = "e-m:e-p270: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.random_data = type { ptr } @strfry.init = internal global i32 0, align 4 @strfry.rdata = internal global %struct.random_data zeroinitializer, align 8 @strfry.state = internal global [8 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strfry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @strfry.init, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %1 store ptr null, ptr @strfry.rdata, align 8 %10 = call i32 @time(ptr noundef null) %11 = call i32 @__initstate_r(i32 noundef %10, ptr noundef @strfry.state, i32 noundef 8, ptr noundef @strfry.rdata) store i32 1, ptr @strfry.init, align 4 br label %12 12: ; preds = %9, %1 %13 = load ptr, ptr %2, align 8 %14 = call i64 @strlen(ptr noundef %13) store i64 %14, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %15 15: ; preds = %39, %12 %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %3, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %19, label %42 19: ; preds = %15 %20 = call i32 @__random_r(ptr noundef @strfry.rdata, ptr noundef %5) %21 = load i64, ptr %3, align 8 %22 = load i64, ptr %5, align 8 %23 = urem i64 %22, %21 store i64 %23, ptr %5, align 8 %24 = load ptr, ptr %2, align 8 %25 = load i64, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i8, ptr %26, align 1 store i8 %27, ptr %6, align 1 %28 = load ptr, ptr %2, align 8 %29 = load i64, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %2, align 8 %33 = load i64, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i8, ptr %6, align 1 %36 = load ptr, ptr %2, align 8 %37 = load i64, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %36, i64 %37 store i8 %35, ptr %38, align 1 br label %39 39: ; preds = %19 %40 = load i64, ptr %4, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %4, align 8 br label %15, !llvm.loop !6 42: ; preds = %15 %43 = load ptr, ptr %2, align 8 ret ptr %43 } declare i32 @__initstate_r(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @__random_r(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/tmp92_577mc.c" target datalayout = "e-m:e-p270: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.random_data = type { ptr } @strfry.init = internal global i32 0, align 4 @strfry.rdata = internal global %struct.random_data zeroinitializer, align 8 @strfry.state = internal global [8 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strfry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @strfry.init, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %1 store ptr null, ptr @strfry.rdata, align 8 %10 = call i32 @time(ptr noundef null) %11 = call i32 @__initstate_r(i32 noundef %10, ptr noundef @strfry.state, i32 noundef 8, ptr noundef @strfry.rdata) store i32 1, ptr @strfry.init, align 4 br label %12 12: ; preds = %9, %1 %13 = load ptr, ptr %2, align 8 %14 = call i64 @strlen(ptr noundef %13) store i64 %14, ptr %3, align 8 store i64 0, ptr %4, align 8 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %3, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph, label %44 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %38 %19 = call i32 @__random_r(ptr noundef @strfry.rdata, ptr noundef %5) %20 = load i64, ptr %3, align 8 %21 = load i64, ptr %5, align 8 %22 = urem i64 %21, %20 store i64 %22, ptr %5, align 8 %23 = load ptr, ptr %2, align 8 %24 = load i64, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i8, ptr %25, align 1 store i8 %26, ptr %6, align 1 %27 = load ptr, ptr %2, align 8 %28 = load i64, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %2, align 8 %32 = load i64, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i8, ptr %6, align 1 %35 = load ptr, ptr %2, align 8 %36 = load i64, ptr %5, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store i8 %34, ptr %37, align 1 br label %38 38: ; preds = %18 %39 = load i64, ptr %4, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %4, align 8 %41 = load i64, ptr %4, align 8 %42 = load i64, ptr %3, align 8 %43 = icmp ult i64 %41, %42 br i1 %43, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %12 %45 = load ptr, ptr %2, align 8 ret ptr %45 } declare i32 @__initstate_r(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @__random_r(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/tmphku8s_ma.c' source_filename = "/tmp/tmphku8s_ma.c" target datalayout = "e-m:e-p270: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/tmphku8s_ma.c" target datalayout = "e-m:e-p270: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/tmpr6ujzsp9.c' source_filename = "/tmp/tmpr6ujzsp9.c" target datalayout = "e-m:e-p270: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/tmpr6ujzsp9.c" target datalayout = "e-m:e-p270: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/tmpu6fg532p.c' source_filename = "/tmp/tmpu6fg532p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"this is spawn-test-helper from path-test-subdir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) ret i32 5 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu6fg532p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"this is spawn-test-helper from path-test-subdir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) ret i32 5 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3cl3skzg.c' source_filename = "/tmp/tmp3cl3skzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"char : %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"short int : %lu\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"int : %lu\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"float : %lu\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"long : %lu\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"long long : %lu\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"double : %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2) %8 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str.3, i32 noundef 4) %10 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8) %11 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8) %12 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3cl3skzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"char : %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"short int : %lu\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"int : %lu\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"float : %lu\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"long : %lu\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"long long : %lu\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"double : %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2) %8 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str.3, i32 noundef 4) %10 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8) %11 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8) %12 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8) 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"}
; ModuleID = '/tmp/tmpjtuubd36.c' source_filename = "/tmp/tmpjtuubd36.c" target datalayout = "e-m:e-p270: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/tmpjtuubd36.c" target datalayout = "e-m:e-p270: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/tmpe1h6zm0_.c' source_filename = "/tmp/tmpe1h6zm0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solution(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = call double @cos(double noundef %5) #2 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 store double %6, ptr %8, align 8 %9 = load double, ptr %3, align 8 %10 = call double @sin(double noundef %9) #2 %11 = fneg double %10 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %12, i64 1 store double %11, ptr %13, align 8 ret i32 0 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(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/tmpe1h6zm0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solution(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = call double @cos(double noundef %5) #2 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 store double %6, ptr %8, align 8 %9 = load double, ptr %3, align 8 %10 = call double @sin(double noundef %9) #2 %11 = fneg double %10 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %12, i64 1 store double %11, ptr %13, align 8 ret i32 0 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(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/tmphkx_1uhv.c' source_filename = "/tmp/tmphkx_1uhv.c" target datalayout = "e-m:e-p270: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/tmphkx_1uhv.c" target datalayout = "e-m:e-p270: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/tmpdbegm07v.c' source_filename = "/tmp/tmpdbegm07v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc_i2c_write_bit(i32 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = load i64, ptr %6, align 8 %12 = call i32 @rc_i2c_read_byte(i32 noundef %10, i64 noundef %11, ptr noundef %9) %13 = load i64, ptr %8, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %4 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %7, align 8 %18 = trunc i64 %17 to i32 %19 = shl i32 1, %18 %20 = sext i32 %19 to i64 %21 = or i64 %16, %20 br label %30 22: ; preds = %4 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %7, align 8 %25 = trunc i64 %24 to i32 %26 = shl i32 1, %25 %27 = xor i32 %26, -1 %28 = sext i32 %27 to i64 %29 = and i64 %23, %28 br label %30 30: ; preds = %22, %15 %31 = phi i64 [ %21, %15 ], [ %29, %22 ] store i64 %31, ptr %9, align 8 %32 = load i32, ptr %5, align 4 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = call i32 @rc_i2c_write_byte(i32 noundef %32, i64 noundef %33, i64 noundef %34) ret i32 %35 } declare i32 @rc_i2c_read_byte(i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @rc_i2c_write_byte(i32 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdbegm07v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc_i2c_write_bit(i32 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = load i64, ptr %6, align 8 %12 = call i32 @rc_i2c_read_byte(i32 noundef %10, i64 noundef %11, ptr noundef %9) %13 = load i64, ptr %8, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %4 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %7, align 8 %18 = trunc i64 %17 to i32 %19 = shl i32 1, %18 %20 = sext i32 %19 to i64 %21 = or i64 %16, %20 br label %30 22: ; preds = %4 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %7, align 8 %25 = trunc i64 %24 to i32 %26 = shl i32 1, %25 %27 = xor i32 %26, -1 %28 = sext i32 %27 to i64 %29 = and i64 %23, %28 br label %30 30: ; preds = %22, %15 %31 = phi i64 [ %21, %15 ], [ %29, %22 ] store i64 %31, ptr %9, align 8 %32 = load i32, ptr %5, align 4 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = call i32 @rc_i2c_write_byte(i32 noundef %32, i64 noundef %33, i64 noundef %34) ret i32 %35 } declare i32 @rc_i2c_read_byte(i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @rc_i2c_write_byte(i32 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzdckpumc.c' source_filename = "/tmp/tmpzdckpumc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 store i32 5, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @add(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } declare i32 @add(i32 noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdckpumc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 store i32 5, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @add(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } declare i32 @add(i32 noundef, i32 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"}
; ModuleID = '/tmp/tmpmphplm7g.c' source_filename = "/tmp/tmpmphplm7g.c" target datalayout = "e-m:e-p270: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/tmpmphplm7g.c" target datalayout = "e-m:e-p270: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/tmpiip271bc.c' source_filename = "/tmp/tmpiip271bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\0ANull String\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\0ADouble Pattern\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"asdfasdf\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"\0AQuadruple Pattern\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"qwertyqwertyqwertyqwerty\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"\0ANo Pattern\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"asdf\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"\0AOne Letter\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c"\0AOne Letter Repeated\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"aaaaaaaa\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"\0AZero Char Embedded\0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c"asdfasdf\00asdfqwert\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 ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call ptr @malloc(i32 noundef 128) store ptr %6, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %5, align 8 %9 = call i32 @test_find_pattern(ptr noundef %8, ptr noundef @.str.1) %10 = call i32 @printf(ptr noundef @.str.2) %11 = load ptr, ptr %5, align 8 %12 = call i32 @test_find_pattern(ptr noundef %11, ptr noundef @.str.3) %13 = call i32 @printf(ptr noundef @.str.4) %14 = load ptr, ptr %5, align 8 %15 = call i32 @test_find_pattern(ptr noundef %14, ptr noundef @.str.5) %16 = call i32 @printf(ptr noundef @.str.6) %17 = load ptr, ptr %5, align 8 %18 = call i32 @test_find_pattern(ptr noundef %17, ptr noundef @.str.7) %19 = call i32 @printf(ptr noundef @.str.8) %20 = load ptr, ptr %5, align 8 %21 = call i32 @test_find_pattern(ptr noundef %20, ptr noundef @.str.9) %22 = call i32 @printf(ptr noundef @.str.10) %23 = load ptr, ptr %5, align 8 %24 = call i32 @test_find_pattern(ptr noundef %23, ptr noundef @.str.11) %25 = call i32 @printf(ptr noundef @.str.12) %26 = load ptr, ptr %5, align 8 %27 = call i32 @test_find_pattern(ptr noundef %26, ptr noundef @.str.13) %28 = load ptr, ptr %5, align 8 %29 = call i32 @free(ptr noundef %28) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test_find_pattern(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/tmpiip271bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\0ANull String\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\0ADouble Pattern\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"asdfasdf\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"\0AQuadruple Pattern\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"qwertyqwertyqwertyqwerty\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"\0ANo Pattern\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"asdf\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"\0AOne Letter\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c"\0AOne Letter Repeated\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"aaaaaaaa\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"\0AZero Char Embedded\0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c"asdfasdf\00asdfqwert\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 ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call ptr @malloc(i32 noundef 128) store ptr %6, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %5, align 8 %9 = call i32 @test_find_pattern(ptr noundef %8, ptr noundef @.str.1) %10 = call i32 @printf(ptr noundef @.str.2) %11 = load ptr, ptr %5, align 8 %12 = call i32 @test_find_pattern(ptr noundef %11, ptr noundef @.str.3) %13 = call i32 @printf(ptr noundef @.str.4) %14 = load ptr, ptr %5, align 8 %15 = call i32 @test_find_pattern(ptr noundef %14, ptr noundef @.str.5) %16 = call i32 @printf(ptr noundef @.str.6) %17 = load ptr, ptr %5, align 8 %18 = call i32 @test_find_pattern(ptr noundef %17, ptr noundef @.str.7) %19 = call i32 @printf(ptr noundef @.str.8) %20 = load ptr, ptr %5, align 8 %21 = call i32 @test_find_pattern(ptr noundef %20, ptr noundef @.str.9) %22 = call i32 @printf(ptr noundef @.str.10) %23 = load ptr, ptr %5, align 8 %24 = call i32 @test_find_pattern(ptr noundef %23, ptr noundef @.str.11) %25 = call i32 @printf(ptr noundef @.str.12) %26 = load ptr, ptr %5, align 8 %27 = call i32 @test_find_pattern(ptr noundef %26, ptr noundef @.str.13) %28 = load ptr, ptr %5, align 8 %29 = call i32 @free(ptr noundef %28) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test_find_pattern(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/tmp5j8cxwgh.c' source_filename = "/tmp/tmp5j8cxwgh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BEV_EVENT_EOF = dso_local global i16 0, align 2 @BEV_EVENT_ERROR = dso_local global i16 0, align 2 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5j8cxwgh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BEV_EVENT_EOF = dso_local global i16 0, align 2 @BEV_EVENT_ERROR = dso_local global i16 0, align 2 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3t0t45q0.c' source_filename = "/tmp/tmp3t0t45q0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 43, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 store i32 %7, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 store i32 %11, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %2, align 4 %16 = trunc i32 %15 to i8 %17 = call i32 @putchar(i8 noundef signext %16) %18 = load i32, ptr %3, align 4 %19 = trunc i32 %18 to i8 %20 = call i32 @putchar(i8 noundef signext %19) %21 = load i32, ptr %4, align 4 %22 = trunc i32 %21 to i8 %23 = call i32 @putchar(i8 noundef signext %22) %24 = load i32, ptr %5, align 4 %25 = trunc i32 %24 to i8 %26 = call i32 @putchar(i8 noundef signext %25) %27 = load i32, ptr %6, align 4 %28 = trunc i32 %27 to i8 %29 = call i32 @putchar(i8 noundef signext %28) br label %30 30: ; preds = %34, %0 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %2, align 4 %33 = icmp ne i32 %31, 0 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @putchar(i8 noundef signext 88) br label %30, !llvm.loop !6 36: ; preds = %30 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @putchar(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/tmp3t0t45q0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 43, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 store i32 %7, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 store i32 %11, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %2, align 4 %16 = trunc i32 %15 to i8 %17 = call i32 @putchar(i8 noundef signext %16) %18 = load i32, ptr %3, align 4 %19 = trunc i32 %18 to i8 %20 = call i32 @putchar(i8 noundef signext %19) %21 = load i32, ptr %4, align 4 %22 = trunc i32 %21 to i8 %23 = call i32 @putchar(i8 noundef signext %22) %24 = load i32, ptr %5, align 4 %25 = trunc i32 %24 to i8 %26 = call i32 @putchar(i8 noundef signext %25) %27 = load i32, ptr %6, align 4 %28 = trunc i32 %27 to i8 %29 = call i32 @putchar(i8 noundef signext %28) %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %2, align 4 %32 = icmp ne i32 %30, 0 br i1 %32, label %.lr.ph, label %38 .lr.ph: ; preds = %0 br label %33 33: ; preds = %.lr.ph, %33 %34 = call i32 @putchar(i8 noundef signext 88) %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %2, align 4 %37 = icmp ne i32 %35, 0 br i1 %37, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %0 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @putchar(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/tmp1xg6x8sj.c' source_filename = "/tmp/tmp1xg6x8sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"\0A\0AYou selected Sunday.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"\0A\0AYou selected Monday.\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"\0A\0AYou selected Tuesday.\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"\0A\0AYou selected Wednesday.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"\0A\0AYou selected Thursday.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"\0A\0AYou selected Friday.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"\0A\0AYou selected Saturday.\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [45 x i8] c"\0A\0AYou did not enter a valid day of the week.\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"\0APlease run the program again. Thanks!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @day_of_week(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 %18 [ i32 0, label %4 i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 i32 5, label %14 i32 6, label %16 ] 4: ; preds = %1 %5 = call i32 @printf(ptr noundef @.str) br label %21 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %21 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %21 10: ; preds = %1 %11 = call i32 @printf(ptr noundef @.str.3) br label %21 12: ; preds = %1 %13 = call i32 @printf(ptr noundef @.str.4) br label %21 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str.5) br label %21 16: ; preds = %1 %17 = call i32 @printf(ptr noundef @.str.6) br label %21 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str.7) %20 = call i32 @printf(ptr noundef @.str.8) br label %21 21: ; preds = %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1xg6x8sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"\0A\0AYou selected Sunday.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"\0A\0AYou selected Monday.\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"\0A\0AYou selected Tuesday.\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"\0A\0AYou selected Wednesday.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"\0A\0AYou selected Thursday.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"\0A\0AYou selected Friday.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"\0A\0AYou selected Saturday.\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [45 x i8] c"\0A\0AYou did not enter a valid day of the week.\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"\0APlease run the program again. Thanks!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @day_of_week(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 %18 [ i32 0, label %4 i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 i32 5, label %14 i32 6, label %16 ] 4: ; preds = %1 %5 = call i32 @printf(ptr noundef @.str) br label %21 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %21 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %21 10: ; preds = %1 %11 = call i32 @printf(ptr noundef @.str.3) br label %21 12: ; preds = %1 %13 = call i32 @printf(ptr noundef @.str.4) br label %21 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str.5) br label %21 16: ; preds = %1 %17 = call i32 @printf(ptr noundef @.str.6) br label %21 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str.7) %20 = call i32 @printf(ptr noundef @.str.8) br label %21 21: ; preds = %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpologumaf.c' source_filename = "/tmp/tmpologumaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtc_exit() #0 { %1 = call i32 (...) @rtc_restore() ret i32 0 } declare i32 @rtc_restore(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpologumaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtc_exit() #0 { %1 = call i32 (...) @rtc_restore() ret i32 0 } declare i32 @rtc_restore(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxpwjwv2_.c' source_filename = "/tmp/tmpxpwjwv2_.c" target datalayout = "e-m:e-p270: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/tmpxpwjwv2_.c" target datalayout = "e-m:e-p270: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/tmpkirxsikd.c' source_filename = "/tmp/tmpkirxsikd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"%Attempt to use non-existant Sharable Function\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"%You need to update program to current revision\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xxxx_extinct() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = 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/tmpkirxsikd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"%Attempt to use non-existant Sharable Function\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"%You need to update program to current revision\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xxxx_extinct() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = 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/tmp74k2wee3.c' source_filename = "/tmp/tmp74k2wee3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Ingrese la longitud del primer lado: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Ingrese la longitud del segundo lado: \00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Ingrese la longitud del tercer lado: \00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\0ALongitudes invalidas\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"\0AEs un triangulo escaleno\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"\0AEs un triangulo isoceles\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"\0AEs un triangulo equilatero\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 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load float, ptr %2, align 4 %12 = fcmp olt float %11, 0.000000e+00 br i1 %12, label %19, label %13 13: ; preds = %0 %14 = load float, ptr %3, align 4 %15 = fcmp olt float %14, 0.000000e+00 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load float, ptr %4, align 4 %18 = fcmp olt float %17, 0.000000e+00 br i1 %18, label %19, label %21 19: ; preds = %16, %13, %0 %20 = call i32 @printf(ptr noundef @.str.4) store i32 -1, ptr %1, align 4 br label %65 21: ; preds = %16 %22 = load float, ptr %2, align 4 %23 = load float, ptr %3, align 4 %24 = fcmp une float %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load float, ptr %2, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp une float %26, %27 br i1 %28, label %29, label %35 29: ; preds = %25 %30 = load float, ptr %3, align 4 %31 = load float, ptr %4, align 4 %32 = fcmp une float %30, %31 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 @printf(ptr noundef @.str.5) br label %64 35: ; preds = %29, %25, %21 %36 = load float, ptr %2, align 4 %37 = load float, ptr %3, align 4 %38 = fcmp oeq float %36, %37 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load float, ptr %2, align 4 %41 = load float, ptr %4, align 4 %42 = fcmp une float %40, %41 br i1 %42, label %59, label %43 43: ; preds = %39, %35 %44 = load float, ptr %2, align 4 %45 = load float, ptr %4, align 4 %46 = fcmp oeq float %44, %45 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load float, ptr %2, align 4 %49 = load float, ptr %3, align 4 %50 = fcmp une float %48, %49 br i1 %50, label %59, label %51 51: ; preds = %47, %43 %52 = load float, ptr %3, align 4 %53 = load float, ptr %4, align 4 %54 = fcmp oeq float %52, %53 br i1 %54, label %55, label %61 55: ; preds = %51 %56 = load float, ptr %3, align 4 %57 = load float, ptr %2, align 4 %58 = fcmp une float %56, %57 br i1 %58, label %59, label %61 59: ; preds = %55, %47, %39 %60 = call i32 @printf(ptr noundef @.str.6) br label %63 61: ; preds = %55, %51 %62 = call i32 @printf(ptr noundef @.str.7) br label %63 63: ; preds = %61, %59 br label %64 64: ; preds = %63, %33 store i32 0, ptr %1, align 4 br label %65 65: ; preds = %64, %19 %66 = load i32, ptr %1, align 4 ret i32 %66 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp74k2wee3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Ingrese la longitud del primer lado: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Ingrese la longitud del segundo lado: \00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Ingrese la longitud del tercer lado: \00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\0ALongitudes invalidas\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"\0AEs un triangulo escaleno\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"\0AEs un triangulo isoceles\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"\0AEs un triangulo equilatero\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 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load float, ptr %2, align 4 %12 = fcmp olt float %11, 0.000000e+00 br i1 %12, label %19, label %13 13: ; preds = %0 %14 = load float, ptr %3, align 4 %15 = fcmp olt float %14, 0.000000e+00 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load float, ptr %4, align 4 %18 = fcmp olt float %17, 0.000000e+00 br i1 %18, label %19, label %21 19: ; preds = %16, %13, %0 %20 = call i32 @printf(ptr noundef @.str.4) store i32 -1, ptr %1, align 4 br label %65 21: ; preds = %16 %22 = load float, ptr %2, align 4 %23 = load float, ptr %3, align 4 %24 = fcmp une float %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load float, ptr %2, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp une float %26, %27 br i1 %28, label %29, label %35 29: ; preds = %25 %30 = load float, ptr %3, align 4 %31 = load float, ptr %4, align 4 %32 = fcmp une float %30, %31 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 @printf(ptr noundef @.str.5) br label %64 35: ; preds = %29, %25, %21 %36 = load float, ptr %2, align 4 %37 = load float, ptr %3, align 4 %38 = fcmp oeq float %36, %37 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load float, ptr %2, align 4 %41 = load float, ptr %4, align 4 %42 = fcmp une float %40, %41 br i1 %42, label %59, label %43 43: ; preds = %39, %35 %44 = load float, ptr %2, align 4 %45 = load float, ptr %4, align 4 %46 = fcmp oeq float %44, %45 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load float, ptr %2, align 4 %49 = load float, ptr %3, align 4 %50 = fcmp une float %48, %49 br i1 %50, label %59, label %51 51: ; preds = %47, %43 %52 = load float, ptr %3, align 4 %53 = load float, ptr %4, align 4 %54 = fcmp oeq float %52, %53 br i1 %54, label %55, label %61 55: ; preds = %51 %56 = load float, ptr %3, align 4 %57 = load float, ptr %2, align 4 %58 = fcmp une float %56, %57 br i1 %58, label %59, label %61 59: ; preds = %55, %47, %39 %60 = call i32 @printf(ptr noundef @.str.6) br label %63 61: ; preds = %55, %51 %62 = call i32 @printf(ptr noundef @.str.7) br label %63 63: ; preds = %61, %59 br label %64 64: ; preds = %63, %33 store i32 0, ptr %1, align 4 br label %65 65: ; preds = %64, %19 %66 = load i32, ptr %1, align 4 ret i32 %66 } 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"}