llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp_l6l3vvr.c' source_filename = "/tmp/tmp_l6l3vvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = 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/tmp_l6l3vvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = 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/tmpee6erbs1.c' source_filename = "/tmp/tmpee6erbs1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_init_bad(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @pthread_mutex_init(ptr noundef %3, i32 noundef 0) %5 = load ptr, ptr %2, align 8 %6 = call i32 @pthread_mutex_init(ptr noundef %5, i32 noundef 0) ret void } declare i32 @pthread_mutex_init(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/tmpee6erbs1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_init_bad(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @pthread_mutex_init(ptr noundef %3, i32 noundef 0) %5 = load ptr, ptr %2, align 8 %6 = call i32 @pthread_mutex_init(ptr noundef %5, i32 noundef 0) ret void } declare i32 @pthread_mutex_init(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/tmp7ukkwvx7.c' source_filename = "/tmp/tmp7ukkwvx7.c" target datalayout = "e-m:e-p270: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/tmp7ukkwvx7.c" target datalayout = "e-m:e-p270: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/tmp7buk9jzu.c' source_filename = "/tmp/tmp7buk9jzu.c" target datalayout = "e-m:e-p270: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/tmp7buk9jzu.c" target datalayout = "e-m:e-p270: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/tmpmamt0ki0.c' source_filename = "/tmp/tmpmamt0ki0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32, ptr, ptr, ptr } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"<CFeCanc>...</CFeCanc>\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"CFe12345678901234567890123456789012345678901234\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"1.00\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"11122233396\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"RGFkb3MgUVJDb2Rl\00", align 1 @CancelarUltimaVenda.resp = internal global [512 x i8] zeroinitializer, align 16 @.str.6 = private unnamed_addr constant [119 x i8] c"%d|07000|0000|Cupom cancelado com sucesso + conte\C3\BAdo CF-e-SAT cancelado|%s|%s|%s|%04d%02d%02d%02d%02d%02d|%s|%s|%s|%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CancelarUltimaVenda(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca %struct.tm, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store ptr @.str, ptr %9, align 8 store ptr @.str, ptr %10, align 8 store ptr @.str.1, ptr %11, align 8 store ptr @.str.2, ptr %12, align 8 store ptr @.str.3, ptr %13, align 8 store ptr @.str.4, ptr %14, align 8 store ptr @.str.5, ptr %15, align 8 %18 = call i32 @time(ptr noundef null) store i32 %18, ptr %16, align 4 %19 = call ptr @localtime(ptr noundef %16) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %19, i64 40, i1 false) %20 = load i32, ptr %5, align 4 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %11, align 8 %24 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = add nsw i32 %25, 1900 %27 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, 1 %30 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 2 %31 = load i32, ptr %30, align 8 %32 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 3 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 4 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 5 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %12, align 8 %39 = load ptr, ptr %13, align 8 %40 = load ptr, ptr %14, align 8 %41 = load ptr, ptr %15, align 8 %42 = call i32 @sprintf(ptr noundef @CancelarUltimaVenda.resp, ptr noundef @.str.6, i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, i32 noundef %26, i32 noundef %29, i32 noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41) ret ptr @CancelarUltimaVenda.resp } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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/tmpmamt0ki0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32, ptr, ptr, ptr } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"<CFeCanc>...</CFeCanc>\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"CFe12345678901234567890123456789012345678901234\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"1.00\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"11122233396\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"RGFkb3MgUVJDb2Rl\00", align 1 @CancelarUltimaVenda.resp = internal global [512 x i8] zeroinitializer, align 16 @.str.6 = private unnamed_addr constant [119 x i8] c"%d|07000|0000|Cupom cancelado com sucesso + conte\C3\BAdo CF-e-SAT cancelado|%s|%s|%s|%04d%02d%02d%02d%02d%02d|%s|%s|%s|%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CancelarUltimaVenda(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca %struct.tm, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store ptr @.str, ptr %9, align 8 store ptr @.str, ptr %10, align 8 store ptr @.str.1, ptr %11, align 8 store ptr @.str.2, ptr %12, align 8 store ptr @.str.3, ptr %13, align 8 store ptr @.str.4, ptr %14, align 8 store ptr @.str.5, ptr %15, align 8 %18 = call i32 @time(ptr noundef null) store i32 %18, ptr %16, align 4 %19 = call ptr @localtime(ptr noundef %16) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %19, i64 40, i1 false) %20 = load i32, ptr %5, align 4 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %11, align 8 %24 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = add nsw i32 %25, 1900 %27 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, 1 %30 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 2 %31 = load i32, ptr %30, align 8 %32 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 3 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 4 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 5 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %12, align 8 %39 = load ptr, ptr %13, align 8 %40 = load ptr, ptr %14, align 8 %41 = load ptr, ptr %15, align 8 %42 = call i32 @sprintf(ptr noundef @CancelarUltimaVenda.resp, ptr noundef @.str.6, i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, i32 noundef %26, i32 noundef %29, i32 noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41) ret ptr @CancelarUltimaVenda.resp } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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/tmp1vsadxf5.c' source_filename = "/tmp/tmp1vsadxf5.c" target datalayout = "e-m:e-p270: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/tmp1vsadxf5.c" target datalayout = "e-m:e-p270: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/tmp9cuo2756.c' source_filename = "/tmp/tmp9cuo2756.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Cannot creat socket...\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Cannot bind socket...\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Cannot listen on socket...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @prepare_server_socket(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %43 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %7, i32 noundef 48, i32 noundef 12) %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load i32, ptr @INADDR_ANY, align 4 %20 = call i32 @htonl(i32 noundef %19) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i64 @atoi(ptr noundef %23) %25 = trunc i64 %24 to i32 %26 = call i32 @htons(i32 noundef %25) %27 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %6, align 4 %29 = call i32 @bind(i32 noundef %28, ptr noundef %7, i32 noundef 12) store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %15 %33 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %43 34: ; preds = %15 %35 = load i32, ptr %6, align 4 %36 = call i32 @listen(i32 noundef %35, i32 noundef 10) store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %34 %40 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %43 41: ; preds = %34 %42 = load i32, ptr %6, align 4 store i32 %42, ptr %2, align 4 br label %43 43: ; preds = %41, %39, %32, %13 %44 = load i32, ptr %2, align 4 ret i32 %44 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9cuo2756.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Cannot creat socket...\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Cannot bind socket...\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Cannot listen on socket...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @prepare_server_socket(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %43 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %7, i32 noundef 48, i32 noundef 12) %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load i32, ptr @INADDR_ANY, align 4 %20 = call i32 @htonl(i32 noundef %19) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i64 @atoi(ptr noundef %23) %25 = trunc i64 %24 to i32 %26 = call i32 @htons(i32 noundef %25) %27 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %6, align 4 %29 = call i32 @bind(i32 noundef %28, ptr noundef %7, i32 noundef 12) store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %15 %33 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %43 34: ; preds = %15 %35 = load i32, ptr %6, align 4 %36 = call i32 @listen(i32 noundef %35, i32 noundef 10) store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %34 %40 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %43 41: ; preds = %34 %42 = load i32, ptr %6, align 4 store i32 %42, ptr %2, align 4 br label %43 43: ; preds = %41, %39, %32, %13 %44 = load i32, ptr %2, align 4 ret i32 %44 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07b6jszu.c' source_filename = "/tmp/tmp07b6jszu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07b6jszu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2felet0u.c' source_filename = "/tmp/tmp2felet0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(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 (...) @test1() %7 = call i32 (...) @test2() %8 = call i32 (...) @test3() ret i32 0 } declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2felet0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(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 (...) @test1() %7 = call i32 (...) @test2() %8 = call i32 (...) @test3() ret i32 0 } declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ej1gxsh.c' source_filename = "/tmp/tmp9ej1gxsh.c" target datalayout = "e-m:e-p270: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/tmp9ej1gxsh.c" target datalayout = "e-m:e-p270: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/tmpzt_sznfc.c' source_filename = "/tmp/tmpzt_sznfc.c" target datalayout = "e-m:e-p270: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/tmpzt_sznfc.c" target datalayout = "e-m:e-p270: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/tmpjkvyzp28.c' source_filename = "/tmp/tmpjkvyzp28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"***** SUMA i MITJANA *****\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0AIntrodueix un numero: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\0AS'ha acabat!!\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"\0ASuma: %d\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"\0AMitjana: %0.2f\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"\0AL'element %d val %d\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"\0ANo hi ha nombres majors que 30.\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [15 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 @time(i32 noundef 0) %12 = call i32 @srandom(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 br label %14 14: ; preds = %28, %2 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 15 br i1 %16, label %17, label %31 17: ; preds = %14 %18 = call i32 (...) @random() %19 = srem i32 %18, 99 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %21 store i32 %19, ptr %22, align 4 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26) br label %28 28: ; preds = %17 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %33 33: ; preds = %42, %31 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %35 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %8) br label %36 36: ; preds = %33 %37 = load i32, ptr %8, align 4 %38 = icmp slt i32 %37, 1 br i1 %38, label %42, label %39 39: ; preds = %36 %40 = load i32, ptr %8, align 4 %41 = icmp sgt i32 %40, 15 br label %42 42: ; preds = %39, %36 %43 = phi i1 [ true, %36 ], [ %41, %39 ] br i1 %43, label %33, label %44, !llvm.loop !8 44: ; preds = %42 %45 = load i32, ptr %8, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %63 47: ; preds = %44 store i32 0, ptr %9, align 4 store i32 0, ptr %6, align 4 br label %48 48: ; preds = %59, %47 %49 = load i32, ptr %6, 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 i32, ptr %9, align 4 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 %53, %57 store i32 %58, ptr %9, align 4 br label %59 59: ; preds = %52 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 br label %48, !llvm.loop !9 62: ; preds = %48 br label %65 63: ; preds = %44 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %65 65: ; preds = %63, %62 %66 = load i32, ptr %9, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %66) %68 = load i32, ptr %9, align 4 %69 = sitofp i32 %68 to float %70 = load i32, ptr %8, align 4 %71 = sitofp i32 %70 to float %72 = fdiv float %69, %71 %73 = fpext float %72 to double %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %73) store i32 0, ptr %6, align 4 br label %75 75: ; preds = %98, %65 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr %8, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %79, label %101 79: ; preds = %75 %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp sgt i32 %83, 30 br i1 %84, label %85, label %92 85: ; preds = %79 store i32 1, ptr %10, align 4 %86 = load i32, ptr %6, align 4 %87 = load i32, ptr %6, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %86, i32 noundef %90) br label %92 92: ; preds = %85, %79 %93 = load i32, ptr %10, align 4 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %92 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %97 97: ; preds = %95, %92 br label %98 98: ; preds = %97 %99 = load i32, ptr %6, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %6, align 4 br label %75, !llvm.loop !10 101: ; preds = %75 %102 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %102 } declare i32 @srandom(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @random(...) #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} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjkvyzp28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"***** SUMA i MITJANA *****\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0AIntrodueix un numero: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\0AS'ha acabat!!\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"\0ASuma: %d\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"\0AMitjana: %0.2f\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"\0AL'element %d val %d\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"\0ANo hi ha nombres majors que 30.\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [15 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 @time(i32 noundef 0) %12 = call i32 @srandom(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 15 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %27 %17 = call i32 (...) @random() %18 = srem i32 %17, 99 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %20 store i32 %18, ptr %21, align 4 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25) br label %27 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 15 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %2 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %34 34: ; preds = %43, %32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %36 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %8) br label %37 37: ; preds = %34 %38 = load i32, ptr %8, align 4 %39 = icmp slt i32 %38, 1 br i1 %39, label %43, label %40 40: ; preds = %37 %41 = load i32, ptr %8, align 4 %42 = icmp sgt i32 %41, 15 br label %43 43: ; preds = %40, %37 %44 = phi i1 [ true, %37 ], [ %42, %40 ] br i1 %44, label %34, label %45, !llvm.loop !8 45: ; preds = %43 %46 = load i32, ptr %8, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %66 48: ; preds = %45 store i32 0, ptr %9, align 4 store i32 0, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph2, label %65 .lr.ph2: ; preds = %48 br label %52 52: ; preds = %.lr.ph2, %59 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 %53, %57 store i32 %58, ptr %9, align 4 br label %59 59: ; preds = %52 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %8, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %52, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %48 br label %68 66: ; preds = %45 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %68 68: ; preds = %66, %65 %69 = load i32, ptr %9, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %69) %71 = load i32, ptr %9, align 4 %72 = sitofp i32 %71 to float %73 = load i32, ptr %8, align 4 %74 = sitofp i32 %73 to float %75 = fdiv float %72, %74 %76 = fpext float %75 to double %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %76) store i32 0, ptr %6, align 4 %78 = load i32, ptr %6, align 4 %79 = load i32, ptr %8, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %.lr.ph5, label %106 .lr.ph5: ; preds = %68 br label %81 81: ; preds = %.lr.ph5, %100 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp sgt i32 %85, 30 br i1 %86, label %87, label %94 87: ; preds = %81 store i32 1, ptr %10, align 4 %88 = load i32, ptr %6, align 4 %89 = load i32, ptr %6, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [15 x i32], ptr %7, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %88, i32 noundef %92) br label %94 94: ; preds = %87, %81 %95 = load i32, ptr %10, align 4 %96 = icmp eq i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %94 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %99 99: ; preds = %97, %94 br label %100 100: ; preds = %99 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %6, align 4 %103 = load i32, ptr %6, align 4 %104 = load i32, ptr %8, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %81, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %100 br label %106 106: ; preds = %._crit_edge6, %68 %107 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %107 } declare i32 @srandom(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @random(...) #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} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpfbkum07q.c' source_filename = "/tmp/tmpfbkum07q.c" target datalayout = "e-m:e-p270: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/tmpfbkum07q.c" target datalayout = "e-m:e-p270: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/tmp4rfv7v_x.c' source_filename = "/tmp/tmp4rfv7v_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @produtoQA(ptr noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %18 = load i32, ptr %8, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %11, align 8 %21 = alloca double, i64 %19, align 16 store i64 %19, ptr %12, align 8 %22 = load i32, ptr %8, align 4 %23 = zext i32 %22 to i64 %24 = alloca double, i64 %23, align 16 store i64 %23, ptr %13, align 8 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %25, %26 %28 = zext i32 %27 to i64 %29 = alloca double, i64 %28, align 16 store i64 %28, ptr %14, align 8 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %15, align 4 br label %31 31: ; preds = %47, %5 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %50 35: ; preds = %31 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1000 x double], ptr %36, i64 %38 %40 = load i32, ptr %15, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [1000 x double], ptr %39, i64 0, i64 %41 %43 = load double, ptr %42, align 8 %44 = load i32, ptr %15, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %24, i64 %45 store double %43, ptr %46, align 8 br label %47 47: ; preds = %35 %48 = load i32, ptr %15, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %15, align 4 br label %31, !llvm.loop !6 50: ; preds = %31 %51 = load i32, ptr %8, align 4 %52 = call i32 @clean(ptr noundef %21, i32 noundef %51) store i32 0, ptr %15, align 4 br label %53 53: ; preds = %89, %50 %54 = load i32, ptr %15, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %92 57: ; preds = %53 %58 = load i32, ptr %15, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %24, i64 %59 %61 = load double, ptr %60, align 8 %62 = load double, ptr %7, align 8 %63 = fmul double %61, %62 %64 = fptosi double %63 to i32 store i32 %64, ptr %17, align 4 store i32 0, ptr %16, align 4 br label %65 65: ; preds = %85, %57 %66 = load i32, ptr %16, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %88 69: ; preds = %65 %70 = load i32, ptr %17, align 4 %71 = sitofp i32 %70 to double %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %15, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [1000 x double], ptr %72, i64 %74 %76 = load i32, ptr %16, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [1000 x double], ptr %75, i64 0, i64 %77 %79 = load double, ptr %78, align 8 %80 = load i32, ptr %16, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %21, i64 %81 %83 = load double, ptr %82, align 8 %84 = call double @llvm.fmuladd.f64(double %71, double %79, double %83) store double %84, ptr %82, align 8 br label %85 85: ; preds = %69 %86 = load i32, ptr %16, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %16, align 4 br label %65, !llvm.loop !8 88: ; preds = %65 br label %89 89: ; preds = %88 %90 = load i32, ptr %15, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %15, align 4 br label %53, !llvm.loop !9 92: ; preds = %53 %93 = load i32, ptr %8, align 4 store i32 %93, ptr %15, align 4 br label %94 94: ; preds = %127, %92 %95 = load i32, ptr %15, align 4 %96 = load i32, ptr %9, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %98, label %130 98: ; preds = %94 %99 = load i32, ptr %8, align 4 store i32 %99, ptr %16, align 4 br label %100 100: ; preds = %123, %98 %101 = load i32, ptr %16, align 4 %102 = load i32, ptr %10, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %126 104: ; preds = %100 %105 = load i32, ptr %15, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %24, i64 %106 %108 = load double, ptr %107, align 8 %109 = load i32, ptr %16, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %21, i64 %110 %112 = load double, ptr %111, align 8 %113 = load ptr, ptr %6, align 8 %114 = load i32, ptr %15, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [1000 x double], ptr %113, i64 %115 %117 = load i32, ptr %16, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [1000 x double], ptr %116, i64 0, i64 %118 %120 = load double, ptr %119, align 8 %121 = fneg double %108 %122 = call double @llvm.fmuladd.f64(double %121, double %112, double %120) store double %122, ptr %119, align 8 br label %123 123: ; preds = %104 %124 = load i32, ptr %16, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %16, align 4 br label %100, !llvm.loop !10 126: ; preds = %100 br label %127 127: ; preds = %126 %128 = load i32, ptr %15, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %15, align 4 br label %94, !llvm.loop !11 130: ; preds = %94 %131 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %131) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @clean(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4rfv7v_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @produtoQA(ptr noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %18 = load i32, ptr %8, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %11, align 8 %21 = alloca double, i64 %19, align 16 store i64 %19, ptr %12, align 8 %22 = load i32, ptr %8, align 4 %23 = zext i32 %22 to i64 %24 = alloca double, i64 %23, align 16 store i64 %23, ptr %13, align 8 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %25, %26 %28 = zext i32 %27 to i64 %29 = alloca double, i64 %28, align 16 store i64 %28, ptr %14, align 8 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %15, align 4 %31 = load i32, ptr %15, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %52 .lr.ph: ; preds = %5 br label %34 34: ; preds = %.lr.ph, %46 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1000 x double], ptr %35, i64 %37 %39 = load i32, ptr %15, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1000 x double], ptr %38, i64 0, i64 %40 %42 = load double, ptr %41, align 8 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %24, i64 %44 store double %42, ptr %45, align 8 br label %46 46: ; preds = %34 %47 = load i32, ptr %15, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %15, align 4 %49 = load i32, ptr %15, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %5 %53 = load i32, ptr %8, align 4 %54 = call i32 @clean(ptr noundef %21, i32 noundef %53) store i32 0, ptr %15, align 4 %55 = load i32, ptr %15, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph5, label %98 .lr.ph5: ; preds = %52 br label %58 58: ; preds = %.lr.ph5, %92 %59 = load i32, ptr %15, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %24, i64 %60 %62 = load double, ptr %61, align 8 %63 = load double, ptr %7, align 8 %64 = fmul double %62, %63 %65 = fptosi double %64 to i32 store i32 %65, ptr %17, align 4 store i32 0, ptr %16, align 4 %66 = load i32, ptr %16, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph2, label %91 .lr.ph2: ; preds = %58 br label %69 69: ; preds = %.lr.ph2, %85 %70 = load i32, ptr %17, align 4 %71 = sitofp i32 %70 to double %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %15, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [1000 x double], ptr %72, i64 %74 %76 = load i32, ptr %16, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [1000 x double], ptr %75, i64 0, i64 %77 %79 = load double, ptr %78, align 8 %80 = load i32, ptr %16, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %21, i64 %81 %83 = load double, ptr %82, align 8 %84 = call double @llvm.fmuladd.f64(double %71, double %79, double %83) store double %84, ptr %82, align 8 br label %85 85: ; preds = %69 %86 = load i32, ptr %16, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %16, align 4 %88 = load i32, ptr %16, align 4 %89 = load i32, ptr %9, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %69, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %85 br label %91 91: ; preds = %._crit_edge3, %58 br label %92 92: ; preds = %91 %93 = load i32, ptr %15, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %15, align 4 %95 = load i32, ptr %15, align 4 %96 = load i32, ptr %9, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %92 br label %98 98: ; preds = %._crit_edge6, %52 %99 = load i32, ptr %8, align 4 store i32 %99, ptr %15, align 4 %100 = load i32, ptr %15, align 4 %101 = load i32, ptr %9, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %.lr.ph11, label %140 .lr.ph11: ; preds = %98 br label %103 103: ; preds = %.lr.ph11, %134 %104 = load i32, ptr %8, align 4 store i32 %104, ptr %16, align 4 %105 = load i32, ptr %16, align 4 %106 = load i32, ptr %10, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %.lr.ph8, label %133 .lr.ph8: ; preds = %103 br label %108 108: ; preds = %.lr.ph8, %127 %109 = load i32, ptr %15, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %24, i64 %110 %112 = load double, ptr %111, align 8 %113 = load i32, ptr %16, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %21, i64 %114 %116 = load double, ptr %115, align 8 %117 = load ptr, ptr %6, align 8 %118 = load i32, ptr %15, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [1000 x double], ptr %117, i64 %119 %121 = load i32, ptr %16, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [1000 x double], ptr %120, i64 0, i64 %122 %124 = load double, ptr %123, align 8 %125 = fneg double %112 %126 = call double @llvm.fmuladd.f64(double %125, double %116, double %124) store double %126, ptr %123, align 8 br label %127 127: ; preds = %108 %128 = load i32, ptr %16, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %16, align 4 %130 = load i32, ptr %16, align 4 %131 = load i32, ptr %10, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %108, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %127 br label %133 133: ; preds = %._crit_edge9, %103 br label %134 134: ; preds = %133 %135 = load i32, ptr %15, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %15, align 4 %137 = load i32, ptr %15, align 4 %138 = load i32, ptr %9, align 4 %139 = icmp slt i32 %137, %138 br i1 %139, label %103, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %134 br label %140 140: ; preds = %._crit_edge12, %98 %141 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %141) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @clean(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpjdt8iwhg.c' source_filename = "/tmp/tmpjdt8iwhg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsasl_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdt8iwhg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsasl_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp845y6_zc.c' source_filename = "/tmp/tmp845y6_zc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Crea un crucigrama\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @creaCrucigrama() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp845y6_zc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Crea un crucigrama\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @creaCrucigrama() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzchpowcc.c' source_filename = "/tmp/tmpzchpowcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generic_swap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %6, align 4 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzchpowcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generic_swap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %6, align 4 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqul9mcs5.c' source_filename = "/tmp/tmpqul9mcs5.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } @__const.recv_fix_len.tv = private unnamed_addr constant %struct.timeval { i32 6, i32 0 }, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Fail to setsockopt.\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Fail to recv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @recv_fix_len(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.timeval, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 @__const.recv_fix_len.tv, i64 8, i1 false) %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @SOL_SOCKET, align 4 %12 = load i32, ptr @SO_RCVTIMEO, align 4 %13 = call i32 @setsockopt(i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %9, i32 noundef 8) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %3 %17 = call i32 @perror(ptr noundef @.str) br label %43 18: ; preds = %3 br label %19 19: ; preds = %37, %18 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %41 23: ; preds = %19 %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %8, align 4 %31 = sub nsw i32 %29, %30 %32 = call i32 @recv(i32 noundef %24, ptr noundef %28, i32 noundef %31, i32 noundef 0) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp eq i32 -1, %33 br i1 %34, label %35, label %37 35: ; preds = %23 %36 = call i32 @perror(ptr noundef @.str.1) br label %43 37: ; preds = %23 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, %38 store i32 %40, ptr %8, align 4 br label %19, !llvm.loop !6 41: ; preds = %19 %42 = load i32, ptr %8, align 4 store i32 %42, ptr %7, align 4 br label %43 43: ; preds = %41, %35, %16 %44 = load i32, ptr %7, align 4 ret i32 %44 } ; 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 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqul9mcs5.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } @__const.recv_fix_len.tv = private unnamed_addr constant %struct.timeval { i32 6, i32 0 }, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Fail to setsockopt.\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Fail to recv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @recv_fix_len(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.timeval, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 @__const.recv_fix_len.tv, i64 8, i1 false) %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @SOL_SOCKET, align 4 %12 = load i32, ptr @SO_RCVTIMEO, align 4 %13 = call i32 @setsockopt(i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %9, i32 noundef 8) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %3 %17 = call i32 @perror(ptr noundef @.str) br label %45 18: ; preds = %3 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %43 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %36 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %8, align 4 %30 = sub nsw i32 %28, %29 %31 = call i32 @recv(i32 noundef %23, ptr noundef %27, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp eq i32 -1, %32 br i1 %33, label %34, label %36 34: ; preds = %22 %35 = call i32 @perror(ptr noundef @.str.1) br label %45 36: ; preds = %22 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %43 43: ; preds = %._crit_edge, %18 %44 = load i32, ptr %8, align 4 store i32 %44, ptr %7, align 4 br label %45 45: ; preds = %43, %34, %16 %46 = load i32, ptr %7, align 4 ret i32 %46 } ; 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 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb20l_p7r.c' source_filename = "/tmp/tmpb20l_p7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call i32 @sapin(i32 noundef %9) ret i32 0 } declare i32 @sapin(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb20l_p7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call i32 @sapin(i32 noundef %9) ret i32 0 } declare i32 @sapin(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb314lysz.c' source_filename = "/tmp/tmpb314lysz.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smf_core_copy_to_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [512 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 0, ptr %9, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 -1, ptr %3, align 4 br label %57 17: ; preds = %2 br label %18 18: ; preds = %51, %17 %19 = load i32, ptr %7, align 4 %20 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @read(i32 noundef %19, ptr noundef %20, i32 noundef 512) store i32 %21, ptr %8, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %52 23: ; preds = %18 store i32 0, ptr %10, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %7, align 4 %28 = call i32 @close(i32 noundef %27) store i32 -1, ptr %3, align 4 br label %57 29: ; preds = %23 br label %30 30: ; preds = %43, %29 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %51 34: ; preds = %30 %35 = load i32, ptr %5, align 4 %36 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %37 = load i32, ptr %8, align 4 %38 = call i32 @write(i32 noundef %35, ptr noundef %36, i32 noundef %37) store i32 %38, ptr %11, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %43 40: ; preds = %34 %41 = load i32, ptr %7, align 4 %42 = call i32 @close(i32 noundef %41) store i32 -1, ptr %3, align 4 br label %57 43: ; preds = %34 %44 = load i32, ptr %11, align 4 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %11, align 4 %48 = sext i32 %47 to i64 %49 = load i64, ptr %9, align 8 %50 = add i64 %49, %48 store i64 %50, ptr %9, align 8 br label %30, !llvm.loop !6 51: ; preds = %30 br label %18, !llvm.loop !8 52: ; preds = %18 %53 = load i32, ptr %7, align 4 %54 = call i32 @close(i32 noundef %53) %55 = load i64, ptr %9, align 8 %56 = trunc i64 %55 to i32 store i32 %56, ptr %3, align 4 br label %57 57: ; preds = %52, %40, %26, %16 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb314lysz.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smf_core_copy_to_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [512 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 0, ptr %9, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 -1, ptr %3, align 4 br label %61 17: ; preds = %2 %18 = load i32, ptr %7, align 4 %19 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 512) store i32 %20, ptr %8, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %.lr.ph2, label %56 .lr.ph2: ; preds = %17 br label %22 22: ; preds = %.lr.ph2, %52 store i32 0, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = call i32 @close(i32 noundef %26) store i32 -1, ptr %3, align 4 br label %61 28: ; preds = %22 %29 = load i32, ptr %10, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %52 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %41 %33 = load i32, ptr %5, align 4 %34 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %35 = load i32, ptr %8, align 4 %36 = call i32 @write(i32 noundef %33, ptr noundef %34, i32 noundef %35) store i32 %36, ptr %11, align 4 %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %41 38: ; preds = %32 %39 = load i32, ptr %7, align 4 %40 = call i32 @close(i32 noundef %39) store i32 -1, ptr %3, align 4 br label %61 41: ; preds = %32 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, %42 store i32 %44, ptr %10, align 4 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %9, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %9, align 8 %49 = load i32, ptr %10, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %52 52: ; preds = %._crit_edge, %28 %53 = load i32, ptr %7, align 4 %54 = call i32 @read(i32 noundef %53, ptr noundef %19, i32 noundef 512) store i32 %54, ptr %8, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %56 56: ; preds = %._crit_edge3, %17 %57 = load i32, ptr %7, align 4 %58 = call i32 @close(i32 noundef %57) %59 = load i64, ptr %9, align 8 %60 = trunc i64 %59 to i32 store i32 %60, ptr %3, align 4 br label %61 61: ; preds = %56, %38, %25, %16 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3ewcb17u.c' source_filename = "/tmp/tmp3ewcb17u.c" target datalayout = "e-m:e-p270: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/tmp3ewcb17u.c" target datalayout = "e-m:e-p270: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/tmpv27g5559.c' source_filename = "/tmp/tmpv27g5559.c" target datalayout = "e-m:e-p270: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/tmpv27g5559.c" target datalayout = "e-m:e-p270: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/tmpnph3civf.c' source_filename = "/tmp/tmpnph3civf.c" target datalayout = "e-m:e-p270: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/tmpnph3civf.c" target datalayout = "e-m:e-p270: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/tmpuvw8al28.c' source_filename = "/tmp/tmpuvw8al28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_free(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 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuvw8al28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_free(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 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpue9t9fps.c' source_filename = "/tmp/tmpue9t9fps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Digite um valor a ser pesquisado na LDE circular: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [71 x i8] c"Digite o valor a ser inserido antes do valor anterior, se encontrado: \00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Valor de pesquisa n\C3\A3o encontrado.\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"N\C3\A3o foi poss\C3\ADvel alocar a estrutura.\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Digite um valor a ser deletado da LDE circular: \00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c"O valor selecionado n\C3\A3o foi encontrado.\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"A LDE circular possui %i nodos.\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 ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store ptr null, ptr %3, align 8 %10 = call i32 @time(ptr noundef null) %11 = call i32 @srand(i32 noundef %10) store i32 0, ptr %2, align 4 br label %12 12: ; preds = %20, %0 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 25 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = call i32 (...) @rand() %17 = srem i32 %16, 100 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @insereUltimo(ptr noundef %3, i32 noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 %24 = call i32 @imprime(ptr noundef %3) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = call i32 @insereAntesValor(ptr noundef %3, i32 noundef %29, i32 noundef %30) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %23 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %42 36: ; preds = %23 %37 = load i32, ptr %7, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %41 41: ; preds = %39, %36 br label %42 42: ; preds = %41, %34 %43 = call i32 @imprime(ptr noundef %3) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %45 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %46 = load i32, ptr %8, align 4 %47 = call i32 @excluiNodo(ptr noundef %3, i32 noundef %46) store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %42 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %52 52: ; preds = %50, %42 %53 = call i32 @imprime(ptr noundef %3) %54 = call i32 @count(ptr noundef %3) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %54) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @insereUltimo(ptr noundef, i32 noundef) #1 declare i32 @imprime(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insereAntesValor(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @excluiNodo(ptr noundef, i32 noundef) #1 declare i32 @count(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpue9t9fps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Digite um valor a ser pesquisado na LDE circular: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [71 x i8] c"Digite o valor a ser inserido antes do valor anterior, se encontrado: \00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Valor de pesquisa n\C3\A3o encontrado.\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"N\C3\A3o foi poss\C3\ADvel alocar a estrutura.\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Digite um valor a ser deletado da LDE circular: \00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c"O valor selecionado n\C3\A3o foi encontrado.\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"A LDE circular possui %i nodos.\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 ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store ptr null, ptr %3, align 8 %10 = call i32 @time(ptr noundef null) %11 = call i32 @srand(i32 noundef %10) store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 25 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = call i32 (...) @rand() %16 = srem i32 %15, 100 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 @insereUltimo(ptr noundef %3, i32 noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 25 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = call i32 @imprime(ptr noundef %3) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str) %27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %29 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 @insereAntesValor(ptr noundef %3, i32 noundef %30, i32 noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %24 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %43 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %42 42: ; preds = %40, %37 br label %43 43: ; preds = %42, %35 %44 = call i32 @imprime(ptr noundef %3) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %46 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %47 = load i32, ptr %8, align 4 %48 = call i32 @excluiNodo(ptr noundef %3, i32 noundef %47) store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %43 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %53 53: ; preds = %51, %43 %54 = call i32 @imprime(ptr noundef %3) %55 = call i32 @count(ptr noundef %3) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %55) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @insereUltimo(ptr noundef, i32 noundef) #1 declare i32 @imprime(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insereAntesValor(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @excluiNodo(ptr noundef, i32 noundef) #1 declare i32 @count(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp625dxbc_.c' source_filename = "/tmp/tmp625dxbc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DriveReg2_Wakeup() #0 { %1 = call i32 (...) @DriveReg2_RestoreConfig() ret void } declare i32 @DriveReg2_RestoreConfig(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp625dxbc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DriveReg2_Wakeup() #0 { %1 = call i32 (...) @DriveReg2_RestoreConfig() ret void } declare i32 @DriveReg2_RestoreConfig(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz1vf6d9o.c' source_filename = "/tmp/tmpz1vf6d9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fibo1(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 5 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (...) @__VERIFIER_error() br label %10 10: ; preds = %8, %0 ret i32 0 } declare i32 @fibo1(i32 noundef) #1 declare i32 @__VERIFIER_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1vf6d9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fibo1(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 5 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (...) @__VERIFIER_error() br label %10 10: ; preds = %8, %0 ret i32 0 } declare i32 @fibo1(i32 noundef) #1 declare i32 @__VERIFIER_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqmqc8whv.c' source_filename = "/tmp/tmpqmqc8whv.c" target datalayout = "e-m:e-p270: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/tmpqmqc8whv.c" target datalayout = "e-m:e-p270: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/tmpqqhrfm7w.c' source_filename = "/tmp/tmpqqhrfm7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @SPITransceive(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @SPITransmit(i8 noundef zeroext %3) %5 = call zeroext i8 (...) @SPIReceive() ret i8 %5 } declare i32 @SPITransmit(i8 noundef zeroext) #1 declare zeroext i8 @SPIReceive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqhrfm7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @SPITransceive(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @SPITransmit(i8 noundef zeroext %3) %5 = call zeroext i8 (...) @SPIReceive() ret i8 %5 } declare i32 @SPITransmit(i8 noundef zeroext) #1 declare zeroext i8 @SPIReceive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuu9599e9.c' source_filename = "/tmp/tmpuu9599e9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fs_size(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fs_open(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr @SEEK_END, align 4 %9 = call i32 @fseek(ptr noundef %7, i32 noundef 0, i32 noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call i64 @ftell(ptr noundef %10) store i64 %11, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fs_close(ptr noundef %12) %14 = load i64, ptr %3, align 8 ret i64 %14 } declare ptr @fs_open(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fs_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuu9599e9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fs_size(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fs_open(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr @SEEK_END, align 4 %9 = call i32 @fseek(ptr noundef %7, i32 noundef 0, i32 noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call i64 @ftell(ptr noundef %10) store i64 %11, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fs_close(ptr noundef %12) %14 = load i64, ptr %3, align 8 ret i64 %14 } declare ptr @fs_open(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fs_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphkzs5bqj.c' source_filename = "/tmp/tmphkzs5bqj.c" target datalayout = "e-m:e-p270: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/tmphkzs5bqj.c" target datalayout = "e-m:e-p270: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/tmp57_axt2l.c' source_filename = "/tmp/tmp57_axt2l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printErrorWithMessage(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 br label %5 5: ; preds = %2 %6 = load i32, ptr %3, align 4 store i32 %6, ptr @errno, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @perror(ptr noundef %7) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; No predecessors! ret void } 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/tmp57_axt2l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printErrorWithMessage(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 br label %5 5: ; preds = %2 %6 = load i32, ptr %3, align 4 store i32 %6, ptr @errno, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @perror(ptr noundef %7) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; No predecessors! ret void } 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/tmp6i067k3q.c' source_filename = "/tmp/tmp6i067k3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6i067k3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq974b128.c' source_filename = "/tmp/tmpq974b128.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @f64_sum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store double 0.000000e+00, ptr %7, align 8 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 store i64 %10, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %11, i64 %12 %14 = load double, ptr %13, align 8 store double %14, ptr %8, align 8 br label %15 15: ; preds = %44, %2 %16 = load i64, ptr %4, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %48 18: ; preds = %15 %19 = load i64, ptr %4, align 8 %20 = sub i64 %19, 1 store i64 %20, ptr %4, align 8 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %4, align 8 %23 = getelementptr inbounds double, ptr %21, i64 %22 %24 = load double, ptr %23, align 8 store double %24, ptr %6, align 8 %25 = load double, ptr %8, align 8 %26 = load double, ptr %6, align 8 %27 = fadd double %25, %26 store double %27, ptr %5, align 8 %28 = load double, ptr %7, align 8 %29 = load double, ptr %8, align 8 %30 = load double, ptr %6, align 8 %31 = fcmp oge double %29, %30 br i1 %31, label %32, label %38 32: ; preds = %18 %33 = load double, ptr %8, align 8 %34 = load double, ptr %5, align 8 %35 = fsub double %33, %34 %36 = load double, ptr %6, align 8 %37 = fadd double %35, %36 br label %44 38: ; preds = %18 %39 = load double, ptr %6, align 8 %40 = load double, ptr %5, align 8 %41 = fsub double %39, %40 %42 = load double, ptr %8, align 8 %43 = fadd double %41, %42 br label %44 44: ; preds = %38, %32 %45 = phi double [ %37, %32 ], [ %43, %38 ] %46 = fadd double %28, %45 store double %46, ptr %7, align 8 %47 = load double, ptr %5, align 8 store double %47, ptr %8, align 8 br label %15, !llvm.loop !6 48: ; preds = %15 %49 = load double, ptr %7, align 8 %50 = load double, ptr %8, align 8 %51 = fadd double %49, %50 ret double %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq974b128.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @f64_sum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store double 0.000000e+00, ptr %7, align 8 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 store i64 %10, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %11, i64 %12 %14 = load double, ptr %13, align 8 store double %14, ptr %8, align 8 %15 = load i64, ptr %4, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %43 %18 = load i64, ptr %4, align 8 %19 = sub i64 %18, 1 store i64 %19, ptr %4, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %4, align 8 %22 = getelementptr inbounds double, ptr %20, i64 %21 %23 = load double, ptr %22, align 8 store double %23, ptr %6, align 8 %24 = load double, ptr %8, align 8 %25 = load double, ptr %6, align 8 %26 = fadd double %24, %25 store double %26, ptr %5, align 8 %27 = load double, ptr %7, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %6, align 8 %30 = fcmp oge double %28, %29 br i1 %30, label %31, label %37 31: ; preds = %17 %32 = load double, ptr %8, align 8 %33 = load double, ptr %5, align 8 %34 = fsub double %32, %33 %35 = load double, ptr %6, align 8 %36 = fadd double %34, %35 br label %43 37: ; preds = %17 %38 = load double, ptr %6, align 8 %39 = load double, ptr %5, align 8 %40 = fsub double %38, %39 %41 = load double, ptr %8, align 8 %42 = fadd double %40, %41 br label %43 43: ; preds = %37, %31 %44 = phi double [ %36, %31 ], [ %42, %37 ] %45 = fadd double %27, %44 store double %45, ptr %7, align 8 %46 = load double, ptr %5, align 8 store double %46, ptr %8, align 8 %47 = load i64, ptr %4, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %2 %50 = load double, ptr %7, align 8 %51 = load double, ptr %8, align 8 %52 = fadd double %50, %51 ret double %52 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpinetrl2q.c' source_filename = "/tmp/tmpinetrl2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hasSeqOfTheOffset2(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %11 = call ptr (...) @getPcontent() store ptr %11, ptr %7, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @defineStartAndEnd(ptr noundef %4, ptr noundef %6, i32 noundef %12) store i32 0, ptr %8, align 4 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %9, align 4 br label %15 15: ; preds = %126, %2 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %129 19: ; preds = %15 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 91 br i1 %26, label %43, label %27 27: ; preds = %19 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 124 br i1 %34, label %43, label %35 35: ; preds = %27 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 114 br i1 %42, label %43, label %82 43: ; preds = %35, %27, %19 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %46 46: ; preds = %78, %43 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %55 50: ; preds = %46 %51 = load i32, ptr %10, align 4 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 6 %54 = icmp slt i32 %51, %53 br label %55 55: ; preds = %50, %46 %56 = phi i1 [ false, %46 ], [ %54, %50 ] br i1 %56, label %57, label %81 57: ; preds = %55 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 switch i32 %63, label %73 [ i32 93, label %64 i32 124, label %64 i32 33, label %64 i32 40, label %72 i32 41, label %72 i32 44, label %72 i32 126, label %72 i32 64, label %72 i32 35, label %72 i32 37, label %72 i32 36, label %72 i32 96, label %72 i32 42, label %72 ] 64: ; preds = %57, %57, %57 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %9, align 4 %67 = sub nsw i32 %65, %66 %68 = icmp eq i32 %67, 1 br i1 %68, label %69, label %70 69: ; preds = %64 store i32 1, ptr %8, align 4 br label %73 70: ; preds = %64 %71 = load i32, ptr %10, align 4 store i32 %71, ptr %3, align 4 br label %130 72: ; preds = %57, %57, %57, %57, %57, %57, %57, %57, %57, %57 store i32 1, ptr %8, align 4 br label %73 73: ; preds = %57, %72, %69 %74 = load i32, ptr %8, align 4 %75 = icmp eq i32 %74, 1 br i1 %75, label %76, label %77 76: ; preds = %73 store i32 0, ptr %8, align 4 br label %81 77: ; preds = %73 br label %78 78: ; preds = %77 %79 = load i32, ptr %10, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %10, align 4 br label %46, !llvm.loop !6 81: ; preds = %76, %55 br label %125 82: ; preds = %35 %83 = load ptr, ptr %7, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %124 90: ; preds = %82 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 br label %93 93: ; preds = %101, %90 %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %9, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %98) %100 = icmp ne i64 %99, 0 br i1 %100, label %101, label %104 101: ; preds = %93 %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %9, align 4 br label %93, !llvm.loop !8 104: ; preds = %93 %105 = load ptr, ptr %7, align 8 %106 = load i32, ptr %9, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %110, 46 br i1 %111, label %120, label %112 112: ; preds = %104 %113 = load ptr, ptr %7, align 8 %114 = load i32, ptr %9, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %113, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp eq i32 %118, 44 br i1 %119, label %120, label %123 120: ; preds = %112, %104 %121 = load i32, ptr %9, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %3, align 4 br label %130 123: ; preds = %112 br label %124 124: ; preds = %123, %82 br label %125 125: ; preds = %124, %81 br label %126 126: ; preds = %125 %127 = load i32, ptr %9, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %9, align 4 br label %15, !llvm.loop !9 129: ; preds = %15 store i32 0, ptr %3, align 4 br label %130 130: ; preds = %129, %120, %70 %131 = load i32, ptr %3, align 4 ret i32 %131 } declare ptr @getPcontent(...) #1 declare i32 @defineStartAndEnd(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @fitPattern(i8 noundef signext, 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpinetrl2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hasSeqOfTheOffset2(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %11 = call ptr (...) @getPcontent() store ptr %11, ptr %7, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @defineStartAndEnd(ptr noundef %4, ptr noundef %6, i32 noundef %12) store i32 0, ptr %8, align 4 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph2, label %137 .lr.ph2: ; preds = %2 br label %18 18: ; preds = %.lr.ph2, %131 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 91 br i1 %25, label %42, label %26 26: ; preds = %18 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 124 br i1 %33, label %42, label %34 34: ; preds = %26 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 114 br i1 %41, label %42, label %81 42: ; preds = %34, %26, %18 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 br label %45 45: ; preds = %77, %42 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %54 49: ; preds = %45 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 6 %53 = icmp slt i32 %50, %52 br label %54 54: ; preds = %49, %45 %55 = phi i1 [ false, %45 ], [ %53, %49 ] br i1 %55, label %56, label %.loopexit 56: ; preds = %54 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 switch i32 %62, label %72 [ i32 93, label %63 i32 124, label %63 i32 33, label %63 i32 40, label %71 i32 41, label %71 i32 44, label %71 i32 126, label %71 i32 64, label %71 i32 35, label %71 i32 37, label %71 i32 36, label %71 i32 96, label %71 i32 42, label %71 ] 63: ; preds = %56, %56, %56 %64 = load i32, ptr %10, align 4 %65 = load i32, ptr %9, align 4 %66 = sub nsw i32 %64, %65 %67 = icmp eq i32 %66, 1 br i1 %67, label %68, label %69 68: ; preds = %63 store i32 1, ptr %8, align 4 br label %72 69: ; preds = %63 %70 = load i32, ptr %10, align 4 store i32 %70, ptr %3, align 4 br label %138 71: ; preds = %56, %56, %56, %56, %56, %56, %56, %56, %56, %56 store i32 1, ptr %8, align 4 br label %72 72: ; preds = %71, %68, %56 %73 = load i32, ptr %8, align 4 %74 = icmp eq i32 %73, 1 br i1 %74, label %75, label %76 75: ; preds = %72 store i32 0, ptr %8, align 4 br label %80 76: ; preds = %72 br label %77 77: ; preds = %76 %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %10, align 4 br label %45, !llvm.loop !6 .loopexit: ; preds = %54 br label %80 80: ; preds = %.loopexit, %75 br label %130 81: ; preds = %34 %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %9, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %129 89: ; preds = %81 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %.lr.ph, label %109 .lr.ph: ; preds = %89 br label %99 99: ; preds = %.lr.ph, %99 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %9, align 4 %102 = load ptr, ptr %7, align 8 %103 = load i32, ptr %9, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 %106 = load i8, ptr %105, align 1 %107 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %106) %108 = icmp ne i64 %107, 0 br i1 %108, label %99, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %99 br label %109 109: ; preds = %._crit_edge, %89 %110 = load ptr, ptr %7, align 8 %111 = load i32, ptr %9, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 46 br i1 %116, label %125, label %117 117: ; preds = %109 %118 = load ptr, ptr %7, align 8 %119 = load i32, ptr %9, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 44 br i1 %124, label %125, label %128 125: ; preds = %117, %109 %126 = load i32, ptr %9, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %3, align 4 br label %138 128: ; preds = %117 br label %129 129: ; preds = %128, %81 br label %130 130: ; preds = %129, %80 br label %131 131: ; preds = %130 %132 = load i32, ptr %9, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %9, align 4 %134 = load i32, ptr %9, align 4 %135 = load i32, ptr %6, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %18, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %131 br label %137 137: ; preds = %._crit_edge3, %2 store i32 0, ptr %3, align 4 br label %138 138: ; preds = %137, %125, %69 %139 = load i32, ptr %3, align 4 ret i32 %139 } declare ptr @getPcontent(...) #1 declare i32 @defineStartAndEnd(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @fitPattern(i8 noundef signext, 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}
; ModuleID = '/tmp/tmpx7xm4419.c' source_filename = "/tmp/tmpx7xm4419.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 0 for 0x83\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x83() #0 { %1 = call i64 @isspace(i32 noundef 131) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 660, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(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/tmpx7xm4419.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 0 for 0x83\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x83() #0 { %1 = call i64 @isspace(i32 noundef 131) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 660, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(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/tmpu44yy7xi.c' source_filename = "/tmp/tmpu44yy7xi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/root/huge\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"Open failed\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Returned address is %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @O_CREAT, align 4 %5 = load i32, ptr @O_RDWR, align 4 %6 = or i32 %4, %5 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6, i32 noundef 493) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = call i32 @perror(ptr noundef @.str.1) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = load i32, ptr @PROT_READ, align 4 %15 = load i32, ptr @PROT_WRITE, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @MAP_SHARED, align 4 %18 = load i32, ptr %3, align 4 %19 = call ptr @mmap(ptr noundef null, i64 noundef 134217728, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0) store ptr %19, ptr %2, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr @MAP_FAILED, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %27 23: ; preds = %13 %24 = call i32 @perror(ptr noundef @.str.2) %25 = call i32 @unlink(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %13 %28 = load ptr, ptr %2, align 8 %29 = call i32 @printf(ptr noundef @.str.3, ptr noundef %28) %30 = load ptr, ptr %2, align 8 %31 = call i32 @check_bytes(ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = call i32 @write_bytes(ptr noundef %32) %34 = call i32 @sleep(i32 noundef 1000) %35 = load ptr, ptr %2, align 8 %36 = call i32 @read_bytes(ptr noundef %35) %37 = load ptr, ptr %2, align 8 %38 = call i32 @munmap(ptr noundef %37, i64 noundef 134217728) %39 = load i32, ptr %3, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 @unlink(ptr noundef @.str) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @check_bytes(ptr noundef) #1 declare i32 @write_bytes(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @read_bytes(ptr noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpu44yy7xi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/root/huge\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"Open failed\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Returned address is %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @O_CREAT, align 4 %5 = load i32, ptr @O_RDWR, align 4 %6 = or i32 %4, %5 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6, i32 noundef 493) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = call i32 @perror(ptr noundef @.str.1) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = load i32, ptr @PROT_READ, align 4 %15 = load i32, ptr @PROT_WRITE, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @MAP_SHARED, align 4 %18 = load i32, ptr %3, align 4 %19 = call ptr @mmap(ptr noundef null, i64 noundef 134217728, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0) store ptr %19, ptr %2, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr @MAP_FAILED, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %27 23: ; preds = %13 %24 = call i32 @perror(ptr noundef @.str.2) %25 = call i32 @unlink(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %13 %28 = load ptr, ptr %2, align 8 %29 = call i32 @printf(ptr noundef @.str.3, ptr noundef %28) %30 = load ptr, ptr %2, align 8 %31 = call i32 @check_bytes(ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = call i32 @write_bytes(ptr noundef %32) %34 = call i32 @sleep(i32 noundef 1000) %35 = load ptr, ptr %2, align 8 %36 = call i32 @read_bytes(ptr noundef %35) %37 = load ptr, ptr %2, align 8 %38 = call i32 @munmap(ptr noundef %37, i64 noundef 134217728) %39 = load i32, ptr %3, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 @unlink(ptr noundef @.str) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @check_bytes(ptr noundef) #1 declare i32 @write_bytes(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @read_bytes(ptr noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpdyuae93k.c' source_filename = "/tmp/tmpdyuae93k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Usage: seq -m <rows> -n <cols> -o <output-file>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdyuae93k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Usage: seq -m <rows> -n <cols> -o <output-file>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8me65k4_.c' source_filename = "/tmp/tmp8me65k4_.c" target datalayout = "e-m:e-p270: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.data = private unnamed_addr constant [5 x i8] c"4321\00", align 1 @.str = private unnamed_addr constant [17 x i8] c"Before sorting:\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"After sorting:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.data, i64 5, i1 false) %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @strlen(ptr noundef %5) %7 = call i32 @printArr(ptr noundef %4, i32 noundef %6) %8 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %9 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = getelementptr inbounds i8, ptr %14, i64 -1 %16 = call i32 @quicksort(ptr noundef %8, ptr noundef %9, ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.1) %18 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 @printArr(ptr noundef %18, i32 noundef %20) 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) #2 declare i32 @printArr(ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @quicksort(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8me65k4_.c" target datalayout = "e-m:e-p270: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.data = private unnamed_addr constant [5 x i8] c"4321\00", align 1 @.str = private unnamed_addr constant [17 x i8] c"Before sorting:\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"After sorting:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.data, i64 5, i1 false) %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @strlen(ptr noundef %5) %7 = call i32 @printArr(ptr noundef %4, i32 noundef %6) %8 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %9 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = getelementptr inbounds i8, ptr %14, i64 -1 %16 = call i32 @quicksort(ptr noundef %8, ptr noundef %9, ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.1) %18 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 @printArr(ptr noundef %18, i32 noundef %20) 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) #2 declare i32 @printArr(ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @quicksort(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp814p8mns.c' source_filename = "/tmp/tmp814p8mns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AAA=123\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"AAA %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"AAA\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"BBB\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"boy\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"BBB2 %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"BBB3 %s\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 (...) @getenv1() %3 = call i32 @putenv(ptr noundef @.str) %4 = call ptr @getenv(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 1) %7 = call ptr @getenv(ptr noundef @.str.3) %8 = call i32 @printf(ptr noundef @.str.5, ptr noundef %7) %9 = call i32 @unsetenv(ptr noundef @.str.3) %10 = call ptr @getenv(ptr noundef @.str.3) %11 = call i32 @printf(ptr noundef @.str.6, ptr noundef %10) %12 = call i32 (...) @clearenv() %13 = call i32 (...) @uname1() ret i32 0 } declare i32 @getenv1(...) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @clearenv(...) #1 declare i32 @uname1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp814p8mns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AAA=123\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"AAA %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"AAA\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"BBB\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"boy\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"BBB2 %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"BBB3 %s\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 (...) @getenv1() %3 = call i32 @putenv(ptr noundef @.str) %4 = call ptr @getenv(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 1) %7 = call ptr @getenv(ptr noundef @.str.3) %8 = call i32 @printf(ptr noundef @.str.5, ptr noundef %7) %9 = call i32 @unsetenv(ptr noundef @.str.3) %10 = call ptr @getenv(ptr noundef @.str.3) %11 = call i32 @printf(ptr noundef @.str.6, ptr noundef %10) %12 = call i32 (...) @clearenv() %13 = call i32 (...) @uname1() ret i32 0 } declare i32 @getenv1(...) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @clearenv(...) #1 declare i32 @uname1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3f1gng4.c' source_filename = "/tmp/tmpp3f1gng4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buildname.buf = internal global [512 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @buildname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9, %2 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %3, align 8 br label %30 16: ; preds = %9 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlcpy(ptr noundef @buildname.buf, ptr noundef %25, i32 noundef 512) %27 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef @.str, i32 noundef 512) %28 = load ptr, ptr %5, align 8 %29 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef %28, i32 noundef 512) store ptr @buildname.buf, ptr %3, align 8 br label %30 30: ; preds = %24, %14 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlcat(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/tmpp3f1gng4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buildname.buf = internal global [512 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @buildname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9, %2 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %3, align 8 br label %30 16: ; preds = %9 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlcpy(ptr noundef @buildname.buf, ptr noundef %25, i32 noundef 512) %27 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef @.str, i32 noundef 512) %28 = load ptr, ptr %5, align 8 %29 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef %28, i32 noundef 512) store ptr @buildname.buf, ptr %3, align 8 br label %30 30: ; preds = %24, %14 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlcat(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/tmpvbwyk810.c' source_filename = "/tmp/tmpvbwyk810.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"specify filename!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Could not open file %s for reading\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [30 x i8] c"error reading data from file\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Magic number mismatch 0x%02x%02x\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Unknown compression method: 0x%02x\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Unknown flags set!\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"Warning: Resulting file will be too large\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x i32], align 16 %10 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %176 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %29, label %23 23: ; preds = %16 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.2, ptr noundef %27) store i32 20, ptr %3, align 4 br label %176 29: ; preds = %16 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr @SEEK_END, align 4 %32 = call i32 @fseek(ptr noundef %30, i32 noundef 0, i32 noundef %31) %33 = load ptr, ptr %6, align 8 %34 = call i64 @ftell(ptr noundef %33) store i64 %34, ptr %10, align 8 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr @SEEK_SET, align 4 %37 = call i32 @fseek(ptr noundef %35, i32 noundef 0, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = call i32 @fgetc(ptr noundef %38) %40 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %39, ptr %40, align 16 %41 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %42 = load i32, ptr %41, align 16 %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %47 44: ; preds = %29 %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %176 47: ; preds = %29 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fgetc(ptr noundef %48) %50 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 store i32 %49, ptr %50, align 4 %51 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %52 = load i32, ptr %51, align 16 %53 = icmp ne i32 %52, 31 br i1 %53, label %58, label %54 54: ; preds = %47 %55 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %56 = load i32, ptr %55, align 4 %57 = icmp ne i32 %56, 139 br i1 %57, label %58, label %65 58: ; preds = %54, %47 %59 = load i32, ptr @stderr, align 4 %60 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %61 = load i32, ptr %60, align 16 %62 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.4, i32 noundef %61, i32 noundef %63) store i32 20, ptr %3, align 4 br label %176 65: ; preds = %54 %66 = load ptr, ptr %6, align 8 %67 = call i32 @fgetc(ptr noundef %66) %68 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %67, ptr %68, align 16 %69 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %70 = load i32, ptr %69, align 16 %71 = icmp ne i32 %70, 8 br i1 %71, label %72, label %77 72: ; preds = %65 %73 = load i32, ptr @stderr, align 4 %74 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %75 = load i32, ptr %74, align 16 %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.5, i32 noundef %75) store i32 20, ptr %3, align 4 br label %176 77: ; preds = %65 %78 = load ptr, ptr %6, align 8 %79 = call i32 @fgetc(ptr noundef %78) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = and i32 %80, -32 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %77 %84 = load i32, ptr @stderr, align 4 %85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.6) br label %86 86: ; preds = %83, %77 %87 = load ptr, ptr %6, align 8 %88 = call i32 @fgetc(ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = call i32 @fgetc(ptr noundef %89) %91 = load ptr, ptr %6, align 8 %92 = call i32 @fgetc(ptr noundef %91) %93 = load ptr, ptr %6, align 8 %94 = call i32 @fgetc(ptr noundef %93) %95 = load ptr, ptr %6, align 8 %96 = call i32 @fgetc(ptr noundef %95) %97 = load ptr, ptr %6, align 8 %98 = call i32 @fgetc(ptr noundef %97) %99 = load i32, ptr %8, align 4 %100 = and i32 %99, 4 %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %123 102: ; preds = %86 %103 = load ptr, ptr %6, align 8 %104 = call i32 @fgetc(ptr noundef %103) %105 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %104, ptr %105, align 16 %106 = load ptr, ptr %6, align 8 %107 = call i32 @fgetc(ptr noundef %106) %108 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 store i32 %107, ptr %108, align 4 %109 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %110 = load i32, ptr %109, align 16 %111 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %112 = load i32, ptr %111, align 4 %113 = mul nsw i32 256, %112 %114 = add nsw i32 %110, %113 store i32 %114, ptr %7, align 4 br label %115 115: ; preds = %119, %102 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, -1 store i32 %117, ptr %7, align 4 %118 = icmp ne i32 %116, 0 br i1 %118, label %119, label %122 119: ; preds = %115 %120 = load ptr, ptr %6, align 8 %121 = call i32 @fgetc(ptr noundef %120) br label %115, !llvm.loop !6 122: ; preds = %115 br label %123 123: ; preds = %122, %86 %124 = load i32, ptr %8, align 4 %125 = and i32 %124, 8 %126 = icmp ne i32 %125, 0 br i1 %126, label %127, label %134 127: ; preds = %123 br label %128 128: ; preds = %132, %127 %129 = load ptr, ptr %6, align 8 %130 = call i32 @fgetc(ptr noundef %129) %131 = icmp sgt i32 %130, 0 br i1 %131, label %132, label %133 132: ; preds = %128 br label %128, !llvm.loop !8 133: ; preds = %128 br label %134 134: ; preds = %133, %123 %135 = load i32, ptr %8, align 4 %136 = and i32 %135, 16 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %145 138: ; preds = %134 br label %139 139: ; preds = %143, %138 %140 = load ptr, ptr %6, align 8 %141 = call i32 @fgetc(ptr noundef %140) %142 = icmp sgt i32 %141, 0 br i1 %142, label %143, label %144 143: ; preds = %139 br label %139, !llvm.loop !9 144: ; preds = %139 br label %145 145: ; preds = %144, %134 %146 = load i32, ptr %8, align 4 %147 = and i32 %146, 2 %148 = icmp ne i32 %147, 0 br i1 %148, label %149, label %154 149: ; preds = %145 %150 = load ptr, ptr %6, align 8 %151 = call i32 @fgetc(ptr noundef %150) %152 = load ptr, ptr %6, align 8 %153 = call i32 @fgetc(ptr noundef %152) br label %154 154: ; preds = %149, %145 %155 = load i64, ptr %10, align 8 %156 = load ptr, ptr %6, align 8 %157 = call i64 @ftell(ptr noundef %156) %158 = sub i64 %155, %157 %159 = sub i64 %158, 8 store i64 %159, ptr %10, align 8 %160 = load i64, ptr %10, align 8 %161 = icmp ugt i64 %160, 32767 br i1 %161, label %162, label %165 162: ; preds = %154 %163 = load i32, ptr @stderr, align 4 %164 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %163, ptr noundef @.str.7) br label %165 165: ; preds = %162, %154 br label %166 166: ; preds = %170, %165 %167 = load i64, ptr %10, align 8 %168 = add i64 %167, -1 store i64 %168, ptr %10, align 8 %169 = icmp ne i64 %167, 0 br i1 %169, label %170, label %175 170: ; preds = %166 %171 = load ptr, ptr %6, align 8 %172 = call i32 @fgetc(ptr noundef %171) %173 = load i32, ptr @stdout, align 4 %174 = call i32 @fputc(i32 noundef %172, i32 noundef %173) br label %166, !llvm.loop !10 175: ; preds = %166 store i32 0, ptr %3, align 4 br label %176 176: ; preds = %175, %72, %58, %44, %23, %13 %177 = load i32, ptr %3, align 4 ret i32 %177 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fputc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvbwyk810.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"specify filename!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Could not open file %s for reading\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [30 x i8] c"error reading data from file\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Magic number mismatch 0x%02x%02x\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Unknown compression method: 0x%02x\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Unknown flags set!\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"Warning: Resulting file will be too large\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x i32], align 16 %10 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %178 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %29, label %23 23: ; preds = %16 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.2, ptr noundef %27) store i32 20, ptr %3, align 4 br label %178 29: ; preds = %16 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr @SEEK_END, align 4 %32 = call i32 @fseek(ptr noundef %30, i32 noundef 0, i32 noundef %31) %33 = load ptr, ptr %6, align 8 %34 = call i64 @ftell(ptr noundef %33) store i64 %34, ptr %10, align 8 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr @SEEK_SET, align 4 %37 = call i32 @fseek(ptr noundef %35, i32 noundef 0, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = call i32 @fgetc(ptr noundef %38) %40 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %39, ptr %40, align 16 %41 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %42 = load i32, ptr %41, align 16 %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %47 44: ; preds = %29 %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %178 47: ; preds = %29 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fgetc(ptr noundef %48) %50 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 store i32 %49, ptr %50, align 4 %51 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %52 = load i32, ptr %51, align 16 %53 = icmp ne i32 %52, 31 br i1 %53, label %58, label %54 54: ; preds = %47 %55 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %56 = load i32, ptr %55, align 4 %57 = icmp ne i32 %56, 139 br i1 %57, label %58, label %65 58: ; preds = %54, %47 %59 = load i32, ptr @stderr, align 4 %60 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %61 = load i32, ptr %60, align 16 %62 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.4, i32 noundef %61, i32 noundef %63) store i32 20, ptr %3, align 4 br label %178 65: ; preds = %54 %66 = load ptr, ptr %6, align 8 %67 = call i32 @fgetc(ptr noundef %66) %68 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %67, ptr %68, align 16 %69 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %70 = load i32, ptr %69, align 16 %71 = icmp ne i32 %70, 8 br i1 %71, label %72, label %77 72: ; preds = %65 %73 = load i32, ptr @stderr, align 4 %74 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %75 = load i32, ptr %74, align 16 %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.5, i32 noundef %75) store i32 20, ptr %3, align 4 br label %178 77: ; preds = %65 %78 = load ptr, ptr %6, align 8 %79 = call i32 @fgetc(ptr noundef %78) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = and i32 %80, -32 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %77 %84 = load i32, ptr @stderr, align 4 %85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.6) br label %86 86: ; preds = %83, %77 %87 = load ptr, ptr %6, align 8 %88 = call i32 @fgetc(ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = call i32 @fgetc(ptr noundef %89) %91 = load ptr, ptr %6, align 8 %92 = call i32 @fgetc(ptr noundef %91) %93 = load ptr, ptr %6, align 8 %94 = call i32 @fgetc(ptr noundef %93) %95 = load ptr, ptr %6, align 8 %96 = call i32 @fgetc(ptr noundef %95) %97 = load ptr, ptr %6, align 8 %98 = call i32 @fgetc(ptr noundef %97) %99 = load i32, ptr %8, align 4 %100 = and i32 %99, 4 %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %125 102: ; preds = %86 %103 = load ptr, ptr %6, align 8 %104 = call i32 @fgetc(ptr noundef %103) %105 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %104, ptr %105, align 16 %106 = load ptr, ptr %6, align 8 %107 = call i32 @fgetc(ptr noundef %106) %108 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 store i32 %107, ptr %108, align 4 %109 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %110 = load i32, ptr %109, align 16 %111 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %112 = load i32, ptr %111, align 4 %113 = mul nsw i32 256, %112 %114 = add nsw i32 %110, %113 store i32 %114, ptr %7, align 4 %115 = load i32, ptr %7, align 4 %116 = add nsw i32 %115, -1 store i32 %116, ptr %7, align 4 %117 = icmp ne i32 %115, 0 br i1 %117, label %.lr.ph, label %124 .lr.ph: ; preds = %102 br label %118 118: ; preds = %.lr.ph, %118 %119 = load ptr, ptr %6, align 8 %120 = call i32 @fgetc(ptr noundef %119) %121 = load i32, ptr %7, align 4 %122 = add nsw i32 %121, -1 store i32 %122, ptr %7, align 4 %123 = icmp ne i32 %121, 0 br i1 %123, label %118, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %118 br label %124 124: ; preds = %._crit_edge, %102 br label %125 125: ; preds = %124, %86 %126 = load i32, ptr %8, align 4 %127 = and i32 %126, 8 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %135 129: ; preds = %125 br label %130 130: ; preds = %130, %129 %131 = load ptr, ptr %6, align 8 %132 = call i32 @fgetc(ptr noundef %131) %133 = icmp sgt i32 %132, 0 br i1 %133, label %130, label %134, !llvm.loop !8 134: ; preds = %130 br label %135 135: ; preds = %134, %125 %136 = load i32, ptr %8, align 4 %137 = and i32 %136, 16 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %145 139: ; preds = %135 br label %140 140: ; preds = %140, %139 %141 = load ptr, ptr %6, align 8 %142 = call i32 @fgetc(ptr noundef %141) %143 = icmp sgt i32 %142, 0 br i1 %143, label %140, label %144, !llvm.loop !9 144: ; preds = %140 br label %145 145: ; preds = %144, %135 %146 = load i32, ptr %8, align 4 %147 = and i32 %146, 2 %148 = icmp ne i32 %147, 0 br i1 %148, label %149, label %154 149: ; preds = %145 %150 = load ptr, ptr %6, align 8 %151 = call i32 @fgetc(ptr noundef %150) %152 = load ptr, ptr %6, align 8 %153 = call i32 @fgetc(ptr noundef %152) br label %154 154: ; preds = %149, %145 %155 = load i64, ptr %10, align 8 %156 = load ptr, ptr %6, align 8 %157 = call i64 @ftell(ptr noundef %156) %158 = sub i64 %155, %157 %159 = sub i64 %158, 8 store i64 %159, ptr %10, align 8 %160 = load i64, ptr %10, align 8 %161 = icmp ugt i64 %160, 32767 br i1 %161, label %162, label %165 162: ; preds = %154 %163 = load i32, ptr @stderr, align 4 %164 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %163, ptr noundef @.str.7) br label %165 165: ; preds = %162, %154 %166 = load i64, ptr %10, align 8 %167 = add i64 %166, -1 store i64 %167, ptr %10, align 8 %168 = icmp ne i64 %166, 0 br i1 %168, label %.lr.ph2, label %177 .lr.ph2: ; preds = %165 br label %169 169: ; preds = %.lr.ph2, %169 %170 = load ptr, ptr %6, align 8 %171 = call i32 @fgetc(ptr noundef %170) %172 = load i32, ptr @stdout, align 4 %173 = call i32 @fputc(i32 noundef %171, i32 noundef %172) %174 = load i64, ptr %10, align 8 %175 = add i64 %174, -1 store i64 %175, ptr %10, align 8 %176 = icmp ne i64 %174, 0 br i1 %176, label %169, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %169 br label %177 177: ; preds = %._crit_edge3, %165 store i32 0, ptr %3, align 4 br label %178 178: ; preds = %177, %72, %58, %44, %23, %13 %179 = load i32, ptr %3, align 4 ret i32 %179 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fputc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmplmxl2iw0.c' source_filename = "/tmp/tmplmxl2iw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_load_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [255 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %1 store i32 -1, ptr %2, align 4 br label %54 13: ; preds = %1 br label %14 14: ; preds = %50, %13 %15 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i64 @fgets(ptr noundef %15, i32 noundef 255, ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %51 19: ; preds = %14 %20 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %21 = call ptr @strchr(ptr noundef %20, i8 noundef signext 10) store ptr %21, ptr %6, align 8 %22 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %19 %26 = load ptr, ptr %6, align 8 store i8 0, ptr %26, align 1 br label %27 27: ; preds = %25, %19 %28 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %29 = load i8, ptr %28, align 16 %30 = icmp ne i8 %29, 0 br i1 %30, label %31, label %50 31: ; preds = %27 br label %32 32: ; preds = %44, %31 %33 = load ptr, ptr %7, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 32 br i1 %36, label %42, label %37 37: ; preds = %32 %38 = load ptr, ptr %7, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 9 br label %42 42: ; preds = %37, %32 %43 = phi i1 [ true, %32 ], [ %41, %37 ] br i1 %43, label %44, label %47 44: ; preds = %42 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %7, align 8 br label %32, !llvm.loop !6 47: ; preds = %42 %48 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %49 = call i32 @cli_docmd(ptr noundef %48, ptr noundef null) br label %50 50: ; preds = %47, %27 br label %14, !llvm.loop !8 51: ; preds = %14 %52 = load ptr, ptr %5, align 8 %53 = call i32 @fclose(ptr noundef %52) store i32 0, ptr %2, align 4 br label %54 54: ; preds = %51, %12 %55 = load i32, ptr %2, align 4 ret i32 %55 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @cli_docmd(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplmxl2iw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_load_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [255 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %1 store i32 -1, ptr %2, align 4 br label %56 13: ; preds = %1 %14 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %15 = load ptr, ptr %5, align 8 %16 = call i64 @fgets(ptr noundef %14, i32 noundef 255, ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %.lr.ph, label %53 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %49 %19 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %20 = call ptr @strchr(ptr noundef %19, i8 noundef signext 10) store ptr %20, ptr %6, align 8 %21 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %18 %25 = load ptr, ptr %6, align 8 store i8 0, ptr %25, align 1 br label %26 26: ; preds = %24, %18 %27 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = icmp ne i8 %28, 0 br i1 %29, label %30, label %49 30: ; preds = %26 br label %31 31: ; preds = %43, %30 %32 = load ptr, ptr %7, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 32 br i1 %35, label %41, label %36 36: ; preds = %31 %37 = load ptr, ptr %7, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 9 br label %41 41: ; preds = %36, %31 %42 = phi i1 [ true, %31 ], [ %40, %36 ] br i1 %42, label %43, label %46 43: ; preds = %41 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %7, align 8 br label %31, !llvm.loop !6 46: ; preds = %41 %47 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %48 = call i32 @cli_docmd(ptr noundef %47, ptr noundef null) br label %49 49: ; preds = %46, %26 %50 = load ptr, ptr %5, align 8 %51 = call i64 @fgets(ptr noundef %14, i32 noundef 255, ptr noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %18, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %49 br label %53 53: ; preds = %._crit_edge, %13 %54 = load ptr, ptr %5, align 8 %55 = call i32 @fclose(ptr noundef %54) store i32 0, ptr %2, align 4 br label %56 56: ; preds = %53, %12 %57 = load i32, ptr %2, align 4 ret i32 %57 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @cli_docmd(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_mpyvt_b.c' source_filename = "/tmp/tmp_mpyvt_b.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } %struct.mq_attr = type { i32, i32 } @.str = private unnamed_addr constant [14 x i8] c"test message1\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"test message2 with differnet length\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"/mq_timedreceive_11-1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"unexpected error: mq_timedreceive 11-1: mq_open\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"unexpected error: mq_timedreceive 11-1: mq_send\00", align 1 @.str.5 = private unnamed_addr constant [73 x i8] c"FAIL: mq_timedreceive didn't return the selected message size correctly\0A\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c"FAIL: mq_timedreceive received the same message twice\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"unexpected error: mq_timedreceive 11-1: mq_close\00", align 1 @.str.8 = private unnamed_addr constant [50 x i8] c"unexpected error: mq_timedreceive 11-1: mq_unlink\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"Test FAILED\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"Test UNRESOLVED\0A\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i8], align 16 %3 = alloca [40 x i8], align 16 %4 = alloca [40 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.timespec, align 8 %11 = alloca %struct.mq_attr, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 store i32 1, ptr %8, align 4 store i32 2, ptr %9, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %15 = call i32 (...) @getpid() %16 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2, i32 noundef %15) %17 = getelementptr inbounds %struct.mq_attr, ptr %11, i32 0, i32 0 store i32 40, ptr %17, align 4 %18 = getelementptr inbounds %struct.mq_attr, ptr %11, i32 0, i32 1 store i32 40, ptr %18, align 4 %19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %20 = load i32, ptr @O_CREAT, align 4 %21 = load i32, ptr @O_RDWR, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @S_IRUSR, align 4 %24 = load i32, ptr @S_IWUSR, align 4 %25 = or i32 %23, %24 %26 = call i64 @mq_open(ptr noundef %19, i32 noundef %22, i32 noundef %25, ptr noundef %11) store i64 %26, ptr %7, align 8 %27 = load i64, ptr %7, align 8 %28 = icmp eq i64 %27, -1 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %12, align 4 br label %31 31: ; preds = %29, %0 %32 = load i64, ptr %7, align 8 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = load i32, ptr %8, align 4 %37 = call i64 @mq_send(i64 noundef %32, ptr noundef %33, i64 noundef %35, i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %12, align 4 br label %41 41: ; preds = %39, %31 %42 = load i64, ptr %7, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %6, align 8 %45 = call i64 @strlen(ptr noundef %44) %46 = load i32, ptr %9, align 4 %47 = call i64 @mq_send(i64 noundef %42, ptr noundef %43, i64 noundef %45, i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %41 %50 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %12, align 4 br label %51 51: ; preds = %49, %41 %52 = call i64 @time(ptr noundef null) %53 = add nsw i64 %52, 1 %54 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 1 store i64 %53, ptr %54, align 8 %55 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 0 store i64 0, ptr %55, align 8 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %58 = call i64 @mq_timedreceive(i64 noundef %56, ptr noundef %57, i32 noundef 40, ptr noundef null, ptr noundef %10) %59 = load ptr, ptr %6, align 8 %60 = call i64 @strlen(ptr noundef %59) %61 = icmp ne i64 %58, %60 br i1 %61, label %62, label %64 62: ; preds = %51 %63 = call i32 @printf(ptr noundef @.str.5) store i32 1, ptr %13, align 4 br label %64 64: ; preds = %62, %51 %65 = load i64, ptr %7, align 8 %66 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %67 = call i64 @mq_timedreceive(i64 noundef %65, ptr noundef %66, i32 noundef 40, ptr noundef null, ptr noundef %10) %68 = load ptr, ptr %5, align 8 %69 = call i64 @strlen(ptr noundef %68) %70 = icmp ne i64 %67, %69 br i1 %70, label %71, label %73 71: ; preds = %64 %72 = call i32 @printf(ptr noundef @.str.5) store i32 1, ptr %13, align 4 br label %73 73: ; preds = %71, %64 %74 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %75 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %76 = call i32 @strcmp(ptr noundef %74, ptr noundef %75) %77 = icmp ne i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %73 %79 = call i32 @printf(ptr noundef @.str.6) store i32 1, ptr %13, align 4 br label %80 80: ; preds = %78, %73 %81 = load i64, ptr %7, align 8 %82 = call i64 @mq_close(i64 noundef %81) %83 = icmp ne i64 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %80 %85 = call i32 @perror(ptr noundef @.str.7) store i32 1, ptr %12, align 4 br label %86 86: ; preds = %84, %80 %87 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %88 = call i64 @mq_unlink(ptr noundef %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %92 90: ; preds = %86 %91 = call i32 @perror(ptr noundef @.str.8) store i32 1, ptr %12, align 4 br label %92 92: ; preds = %90, %86 %93 = load i32, ptr %13, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %97 95: ; preds = %92 %96 = call i32 @printf(ptr noundef @.str.9) store i32 1, ptr %1, align 4 br label %104 97: ; preds = %92 %98 = load i32, ptr %12, align 4 %99 = icmp eq i32 %98, 1 br i1 %99, label %100, label %102 100: ; preds = %97 %101 = call i32 @printf(ptr noundef @.str.10) store i32 2, ptr %1, align 4 br label %104 102: ; preds = %97 %103 = call i32 @printf(ptr noundef @.str.11) store i32 0, ptr %1, align 4 br label %104 104: ; preds = %102, %100, %95 %105 = load i32, ptr %1, align 4 ret i32 %105 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i64 @mq_open(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @mq_send(i64 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @mq_timedreceive(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @mq_close(i64 noundef) #1 declare i64 @mq_unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_mpyvt_b.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } %struct.mq_attr = type { i32, i32 } @.str = private unnamed_addr constant [14 x i8] c"test message1\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"test message2 with differnet length\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"/mq_timedreceive_11-1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"unexpected error: mq_timedreceive 11-1: mq_open\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"unexpected error: mq_timedreceive 11-1: mq_send\00", align 1 @.str.5 = private unnamed_addr constant [73 x i8] c"FAIL: mq_timedreceive didn't return the selected message size correctly\0A\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c"FAIL: mq_timedreceive received the same message twice\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"unexpected error: mq_timedreceive 11-1: mq_close\00", align 1 @.str.8 = private unnamed_addr constant [50 x i8] c"unexpected error: mq_timedreceive 11-1: mq_unlink\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"Test FAILED\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"Test UNRESOLVED\0A\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i8], align 16 %3 = alloca [40 x i8], align 16 %4 = alloca [40 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.timespec, align 8 %11 = alloca %struct.mq_attr, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 store i32 1, ptr %8, align 4 store i32 2, ptr %9, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %15 = call i32 (...) @getpid() %16 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2, i32 noundef %15) %17 = getelementptr inbounds %struct.mq_attr, ptr %11, i32 0, i32 0 store i32 40, ptr %17, align 4 %18 = getelementptr inbounds %struct.mq_attr, ptr %11, i32 0, i32 1 store i32 40, ptr %18, align 4 %19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %20 = load i32, ptr @O_CREAT, align 4 %21 = load i32, ptr @O_RDWR, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @S_IRUSR, align 4 %24 = load i32, ptr @S_IWUSR, align 4 %25 = or i32 %23, %24 %26 = call i64 @mq_open(ptr noundef %19, i32 noundef %22, i32 noundef %25, ptr noundef %11) store i64 %26, ptr %7, align 8 %27 = load i64, ptr %7, align 8 %28 = icmp eq i64 %27, -1 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %12, align 4 br label %31 31: ; preds = %29, %0 %32 = load i64, ptr %7, align 8 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = load i32, ptr %8, align 4 %37 = call i64 @mq_send(i64 noundef %32, ptr noundef %33, i64 noundef %35, i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %12, align 4 br label %41 41: ; preds = %39, %31 %42 = load i64, ptr %7, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %6, align 8 %45 = call i64 @strlen(ptr noundef %44) %46 = load i32, ptr %9, align 4 %47 = call i64 @mq_send(i64 noundef %42, ptr noundef %43, i64 noundef %45, i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %41 %50 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %12, align 4 br label %51 51: ; preds = %49, %41 %52 = call i64 @time(ptr noundef null) %53 = add nsw i64 %52, 1 %54 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 1 store i64 %53, ptr %54, align 8 %55 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 0 store i64 0, ptr %55, align 8 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %58 = call i64 @mq_timedreceive(i64 noundef %56, ptr noundef %57, i32 noundef 40, ptr noundef null, ptr noundef %10) %59 = load ptr, ptr %6, align 8 %60 = call i64 @strlen(ptr noundef %59) %61 = icmp ne i64 %58, %60 br i1 %61, label %62, label %64 62: ; preds = %51 %63 = call i32 @printf(ptr noundef @.str.5) store i32 1, ptr %13, align 4 br label %64 64: ; preds = %62, %51 %65 = load i64, ptr %7, align 8 %66 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %67 = call i64 @mq_timedreceive(i64 noundef %65, ptr noundef %66, i32 noundef 40, ptr noundef null, ptr noundef %10) %68 = load ptr, ptr %5, align 8 %69 = call i64 @strlen(ptr noundef %68) %70 = icmp ne i64 %67, %69 br i1 %70, label %71, label %73 71: ; preds = %64 %72 = call i32 @printf(ptr noundef @.str.5) store i32 1, ptr %13, align 4 br label %73 73: ; preds = %71, %64 %74 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %75 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %76 = call i32 @strcmp(ptr noundef %74, ptr noundef %75) %77 = icmp ne i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %73 %79 = call i32 @printf(ptr noundef @.str.6) store i32 1, ptr %13, align 4 br label %80 80: ; preds = %78, %73 %81 = load i64, ptr %7, align 8 %82 = call i64 @mq_close(i64 noundef %81) %83 = icmp ne i64 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %80 %85 = call i32 @perror(ptr noundef @.str.7) store i32 1, ptr %12, align 4 br label %86 86: ; preds = %84, %80 %87 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %88 = call i64 @mq_unlink(ptr noundef %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %92 90: ; preds = %86 %91 = call i32 @perror(ptr noundef @.str.8) store i32 1, ptr %12, align 4 br label %92 92: ; preds = %90, %86 %93 = load i32, ptr %13, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %97 95: ; preds = %92 %96 = call i32 @printf(ptr noundef @.str.9) store i32 1, ptr %1, align 4 br label %104 97: ; preds = %92 %98 = load i32, ptr %12, align 4 %99 = icmp eq i32 %98, 1 br i1 %99, label %100, label %102 100: ; preds = %97 %101 = call i32 @printf(ptr noundef @.str.10) store i32 2, ptr %1, align 4 br label %104 102: ; preds = %97 %103 = call i32 @printf(ptr noundef @.str.11) store i32 0, ptr %1, align 4 br label %104 104: ; preds = %102, %100, %95 %105 = load i32, ptr %1, align 4 ret i32 %105 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i64 @mq_open(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @mq_send(i64 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @mq_timedreceive(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @mq_close(i64 noundef) #1 declare i64 @mq_unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplhoijosu.c' source_filename = "/tmp/tmplhoijosu.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vprintf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdout, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @vfprintf(i32 noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplhoijosu.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vprintf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdout, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @vfprintf(i32 noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpecpk5wns.c' source_filename = "/tmp/tmpecpk5wns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tracking_HR_unregisterListener() #0 { %1 = call i32 (...) @HeartRateMonitor_HR_unregisterListener() ret void } declare i32 @HeartRateMonitor_HR_unregisterListener(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecpk5wns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tracking_HR_unregisterListener() #0 { %1 = call i32 (...) @HeartRateMonitor_HR_unregisterListener() ret void } declare i32 @HeartRateMonitor_HR_unregisterListener(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnygryeni.c' source_filename = "/tmp/tmpnygryeni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @prutenic_first_anomaly_sol.first_anomaly_radix = internal global double 0x401AB27AD98344EB, align 8 @prutenic_first_anomaly_sol.first_anomaly_daily = internal global double 0x3F32D2B15C4565EA, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @prutenic_first_anomaly_sol(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr @prutenic_first_anomaly_sol.first_anomaly_radix, align 8 %5 = load double, ptr %2, align 8 %6 = load double, ptr @prutenic_first_anomaly_sol.first_anomaly_daily, align 8 %7 = call double @llvm.fmuladd.f64(double %5, double %6, double %4) %8 = call double @pmod(double noundef %7, i32 noundef 360) store double %8, ptr %3, align 8 %9 = load double, ptr %3, align 8 ret double %9 } declare double @pmod(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnygryeni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @prutenic_first_anomaly_sol.first_anomaly_radix = internal global double 0x401AB27AD98344EB, align 8 @prutenic_first_anomaly_sol.first_anomaly_daily = internal global double 0x3F32D2B15C4565EA, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @prutenic_first_anomaly_sol(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr @prutenic_first_anomaly_sol.first_anomaly_radix, align 8 %5 = load double, ptr %2, align 8 %6 = load double, ptr @prutenic_first_anomaly_sol.first_anomaly_daily, align 8 %7 = call double @llvm.fmuladd.f64(double %5, double %6, double %4) %8 = call double @pmod(double noundef %7, i32 noundef 360) store double %8, ptr %3, align 8 %9 = load double, ptr %3, align 8 ret double %9 } declare double @pmod(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqsemjz9b.c' source_filename = "/tmp/tmpqsemjz9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Introduce los segundos\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"%d horas, %d minutos, %d segundos\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 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 60 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = srem i32 %9, 60 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %11, 60 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 60 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqsemjz9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Introduce los segundos\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"%d horas, %d minutos, %d segundos\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 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 60 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = srem i32 %9, 60 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %11, 60 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 60 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2mq8jeg6.c' source_filename = "/tmp/tmp2mq8jeg6.c" target datalayout = "e-m:e-p270: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.itob.symbols = private unnamed_addr constant [37 x i8] c"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @.str = private unnamed_addr constant [43 x i8] c"error - not valid base for numeral system\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @itob(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [37 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.itob.symbols, i64 37, i1 false) %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %18, label %13 13: ; preds = %3 %14 = load i32, ptr %7, align 4 %15 = getelementptr inbounds [37 x i8], ptr %10, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = icmp sgt i32 %14, %16 br i1 %17, label %18, label %20 18: ; preds = %13, %3 %19 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %4, align 4 br label %56 20: ; preds = %13 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %22 22: ; preds = %34, %20 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = srem i32 %23, %24 %26 = call i64 @abs(i32 noundef %25) %27 = getelementptr inbounds [37 x i8], ptr %10, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 %28, ptr %33, align 1 br label %34 34: ; preds = %22 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = sdiv i32 %36, %35 store i32 %37, ptr %5, align 4 %38 = call i64 @abs(i32 noundef %37) %39 = icmp ugt i64 %38, 0 br i1 %39, label %22, label %40, !llvm.loop !6 40: ; preds = %34 %41 = load i32, ptr %9, align 4 %42 = icmp slt i32 %41, 0 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 store i8 45, ptr %48, align 1 br label %49 49: ; preds = %43, %40 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %6, align 8 %55 = call i32 @reverse(ptr noundef %54) store i32 0, ptr %4, align 4 br label %56 56: ; preds = %49, %18 %57 = load i32, ptr %4, align 4 ret i32 %57 } ; 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 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef) #2 declare i64 @abs(i32 noundef) #2 declare i32 @reverse(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2mq8jeg6.c" target datalayout = "e-m:e-p270: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.itob.symbols = private unnamed_addr constant [37 x i8] c"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @.str = private unnamed_addr constant [43 x i8] c"error - not valid base for numeral system\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @itob(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [37 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.itob.symbols, i64 37, i1 false) %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %18, label %13 13: ; preds = %3 %14 = load i32, ptr %7, align 4 %15 = getelementptr inbounds [37 x i8], ptr %10, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = icmp sgt i32 %14, %16 br i1 %17, label %18, label %20 18: ; preds = %13, %3 %19 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %4, align 4 br label %56 20: ; preds = %13 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %22 22: ; preds = %34, %20 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = srem i32 %23, %24 %26 = call i64 @abs(i32 noundef %25) %27 = getelementptr inbounds [37 x i8], ptr %10, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 %28, ptr %33, align 1 br label %34 34: ; preds = %22 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = sdiv i32 %36, %35 store i32 %37, ptr %5, align 4 %38 = call i64 @abs(i32 noundef %37) %39 = icmp ugt i64 %38, 0 br i1 %39, label %22, label %40, !llvm.loop !6 40: ; preds = %34 %41 = load i32, ptr %9, align 4 %42 = icmp slt i32 %41, 0 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 store i8 45, ptr %48, align 1 br label %49 49: ; preds = %43, %40 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %6, align 8 %55 = call i32 @reverse(ptr noundef %54) store i32 0, ptr %4, align 4 br label %56 56: ; preds = %49, %18 %57 = load i32, ptr %4, align 4 ret i32 %57 } ; 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 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef) #2 declare i64 @abs(i32 noundef) #2 declare i32 @reverse(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpelt7eecz.c' source_filename = "/tmp/tmpelt7eecz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_thread2_work() #0 { br label %1 1: ; preds = %0, %1 %2 = call i32 (...) @print_greetings2() %3 = call i32 @sleep(i32 noundef 1) br label %1 } declare i32 @print_greetings2(...) #1 declare i32 @sleep(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/tmpelt7eecz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_thread2_work() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @print_greetings2() %3 = call i32 @sleep(i32 noundef 1) br label %1 } declare i32 @print_greetings2(...) #1 declare i32 @sleep(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/tmp60_cbfd1.c' source_filename = "/tmp/tmp60_cbfd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @raptor_uri_uri_string_is_file_uri(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %6, %1 store i32 1, ptr %2, align 4 br label %16 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = call i64 @raptor_strncasecmp(ptr noundef %12, ptr noundef @.str, i32 noundef 5) %14 = icmp eq i64 %13, 0 %15 = zext i1 %14 to i32 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i64 @raptor_strncasecmp(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/tmp60_cbfd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @raptor_uri_uri_string_is_file_uri(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %6, %1 store i32 1, ptr %2, align 4 br label %16 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = call i64 @raptor_strncasecmp(ptr noundef %12, ptr noundef @.str, i32 noundef 5) %14 = icmp eq i64 %13, 0 %15 = zext i1 %14 to i32 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i64 @raptor_strncasecmp(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/tmpms_kggjn.c' source_filename = "/tmp/tmpms_kggjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__mingw_vscanf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdin, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @__mingw_vfscanf(i32 noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @__mingw_vfscanf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpms_kggjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__mingw_vscanf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdin, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @__mingw_vfscanf(i32 noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @__mingw_vfscanf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpatkheotv.c' source_filename = "/tmp/tmpatkheotv.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"%s launched with number of args: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"\09'MY_INTERNAL_VAR': %u \0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %9, i32 noundef %10) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1, i32 noundef 22) %14 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %14 } 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/tmpatkheotv.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"%s launched with number of args: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"\09'MY_INTERNAL_VAR': %u \0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %9, i32 noundef %10) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1, i32 noundef 22) %14 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %14 } 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/tmpg_fsty02.c' source_filename = "/tmp/tmpg_fsty02.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_nrf8001_decode_data_credit_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @fd_nrf8001_error() br label %16 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 1 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @fd_nrf8001_data_credit_event(i32 noundef %14) br label %16 16: ; preds = %10, %8 ret void } declare i32 @fd_nrf8001_error(...) #1 declare i32 @fd_nrf8001_data_credit_event(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/tmpg_fsty02.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_nrf8001_decode_data_credit_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @fd_nrf8001_error() br label %16 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 1 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @fd_nrf8001_data_credit_event(i32 noundef %14) br label %16 16: ; preds = %10, %8 ret void } declare i32 @fd_nrf8001_error(...) #1 declare i32 @fd_nrf8001_data_credit_event(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/tmpu0_2vhou.c' source_filename = "/tmp/tmpu0_2vhou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readInput() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @getch() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @ERR, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = call i32 @ungetch(i32 noundef %8) store i32 1, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %7 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @getch(...) #1 declare i32 @ungetch(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/tmpu0_2vhou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readInput() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @getch() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @ERR, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = call i32 @ungetch(i32 noundef %8) store i32 1, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %7 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @getch(...) #1 declare i32 @ungetch(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/tmp18d0qq3f.c' source_filename = "/tmp/tmp18d0qq3f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"*.%c.\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ln3(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %5) store i8 1, ptr %3, align 1 br label %7 7: ; preds = %33, %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %36 13: ; preds = %7 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = srem i32 %15, 3 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %25 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = call i32 @printf(ptr noundef @.str, i8 noundef signext %23) br label %32 25: ; preds = %13 %26 = load ptr, ptr %2, align 8 %27 = load i8, ptr %3, align 1 %28 = sext i8 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %30) br label %32 32: ; preds = %25, %18 br label %33 33: ; preds = %32 %34 = load i8, ptr %3, align 1 %35 = add i8 %34, 1 store i8 %35, ptr %3, align 1 br label %7, !llvm.loop !6 36: ; preds = %7 %37 = load ptr, ptr %2, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = srem i32 %38, 3 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 @puts(ptr noundef @.str.2) br label %45 43: ; preds = %36 %44 = call i32 @puts(ptr noundef @.str.3) br label %45 45: ; preds = %43, %41 ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp18d0qq3f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"*.%c.\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ln3(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %5) store i8 1, ptr %3, align 1 %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %40 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %32 %13 = load i8, ptr %3, align 1 %14 = sext i8 %13 to i32 %15 = srem i32 %14, 3 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i32 @printf(ptr noundef @.str, i8 noundef signext %22) br label %31 24: ; preds = %12 %25 = load ptr, ptr %2, align 8 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %29) br label %31 31: ; preds = %24, %17 br label %32 32: ; preds = %31 %33 = load i8, ptr %3, align 1 %34 = add i8 %33, 1 store i8 %34, ptr %3, align 1 %35 = load i8, ptr %3, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %2, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = icmp slt i32 %36, %38 br i1 %39, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %40 40: ; preds = %._crit_edge, %1 %41 = load ptr, ptr %2, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = srem i32 %42, 3 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @puts(ptr noundef @.str.2) br label %49 47: ; preds = %40 %48 = call i32 @puts(ptr noundef @.str.3) br label %49 49: ; preds = %47, %45 ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp38780lpq.c' source_filename = "/tmp/tmp38780lpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"%s > %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%s < %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%s == %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [20 x i8], align 16 %7 = alloca [20 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 br label %8 8: ; preds = %30, %2 %9 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %10 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %11 = call i64 @scanf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = load i64, ptr @EOF, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %14, label %31 14: ; preds = %8 %15 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %16 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %17 = call i32 @compareVersion(ptr noundef %15, ptr noundef %16) switch i32 %17, label %26 [ i32 1, label %18 i32 -1, label %22 ] 18: ; preds = %14 %19 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %20 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %20) br label %30 22: ; preds = %14 %23 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %24 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23, ptr noundef %24) br label %30 26: ; preds = %14 %27 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %28 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %29 = call i32 @printf(ptr noundef @.str.3, ptr noundef %27, ptr noundef %28) br label %30 30: ; preds = %26, %22, %18 br label %8, !llvm.loop !6 31: ; preds = %8 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @compareVersion(ptr noundef, ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp38780lpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"%s > %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%s < %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%s == %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [20 x i8], align 16 %7 = alloca [20 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 %8 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %9 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %8, ptr noundef %9) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %29 %14 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %15 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @compareVersion(ptr noundef %14, ptr noundef %15) switch i32 %16, label %25 [ i32 1, label %17 i32 -1, label %21 ] 17: ; preds = %13 %18 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %19 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, ptr noundef %19) br label %29 21: ; preds = %13 %22 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %23 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %22, ptr noundef %23) br label %29 25: ; preds = %13 %26 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %27 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26, ptr noundef %27) br label %29 29: ; preds = %25, %21, %17 %30 = call i64 @scanf(ptr noundef @.str, ptr noundef %8, ptr noundef %9) %31 = load i64, ptr @EOF, align 8 %32 = icmp ne i64 %30, %31 br i1 %32, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %33 33: ; preds = %._crit_edge, %2 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @compareVersion(ptr noundef, ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpc4daqbbt.c' source_filename = "/tmp/tmpc4daqbbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildMat123(i32 noundef %0, i32 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 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = call i64 @calloc(i32 noundef 8, i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %43, %2 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %46 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = call i64 @calloc(i32 noundef 4, i32 noundef %17) %19 = inttoptr i64 %18 to ptr %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 store ptr %19, ptr %23, align 8 store i32 0, ptr %8, align 4 br label %24 24: ; preds = %39, %16 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %42 28: ; preds = %24 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 store i32 %29, ptr %38, align 4 br label %39 39: ; preds = %28 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 br label %24, !llvm.loop !6 42: ; preds = %24 br label %43 43: ; preds = %42 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %12, !llvm.loop !8 46: ; preds = %12 %47 = load ptr, ptr %5, align 8 ret ptr %47 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc4daqbbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildMat123(i32 noundef %0, i32 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 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = call i64 @calloc(i32 noundef 8, i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %50 .lr.ph2: ; preds = %2 br label %15 15: ; preds = %.lr.ph2, %44 %16 = load i32, ptr %4, align 4 %17 = call i64 @calloc(i32 noundef 4, i32 noundef %16) %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 store ptr %18, ptr %22, align 8 store i32 0, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %43 .lr.ph: ; preds = %15 br label %26 26: ; preds = %.lr.ph, %37 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 store i32 %27, ptr %36, align 4 br label %37 37: ; preds = %26 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %15 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %2 %51 = load ptr, ptr %5, align 8 ret ptr %51 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpi3bgzqsv.c' source_filename = "/tmp/tmpi3bgzqsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c">pseudo_reference_sequence\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c">%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create_fasta_of_snp_sites(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %20 = load ptr, ptr %9, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str) store ptr %21, ptr %17, align 8 %22 = load i32, ptr %14, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %49 24: ; preds = %8 %25 = load ptr, ptr %17, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.1) store i32 0, ptr %19, align 4 br label %27 27: ; preds = %43, %24 %28 = load i32, ptr %19, align 4 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %46 31: ; preds = %27 %32 = load ptr, ptr %15, align 8 %33 = load ptr, ptr %16, align 8 %34 = load i32, ptr %19, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %32, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %17, align 8 %42 = call i32 @fputc(i8 noundef signext %40, ptr noundef %41) br label %43 43: ; preds = %31 %44 = load i32, ptr %19, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %19, align 4 br label %27, !llvm.loop !6 46: ; preds = %27 %47 = load ptr, ptr %17, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.2) br label %49 49: ; preds = %46, %8 store i32 0, ptr %18, align 4 br label %50 50: ; preds = %84, %49 %51 = load i32, ptr %18, align 4 %52 = load i32, ptr %13, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %87 54: ; preds = %50 %55 = load ptr, ptr %17, align 8 %56 = load ptr, ptr %12, align 8 %57 = load i32, ptr %18, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.3, ptr noundef %60) store i32 0, ptr %19, align 4 br label %62 62: ; preds = %78, %54 %63 = load i32, ptr %19, align 4 %64 = load i32, ptr %10, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %66, label %81 66: ; preds = %62 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %19, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = load i32, ptr %18, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = load ptr, ptr %17, align 8 %77 = call i32 @fputc(i8 noundef signext %75, ptr noundef %76) br label %78 78: ; preds = %66 %79 = load i32, ptr %19, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %19, align 4 br label %62, !llvm.loop !8 81: ; preds = %62 %82 = load ptr, ptr %17, align 8 %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.2) br label %84 84: ; preds = %81 %85 = load i32, ptr %18, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %18, align 4 br label %50, !llvm.loop !9 87: ; preds = %50 %88 = load ptr, ptr %17, align 8 %89 = call i32 @fclose(ptr noundef %88) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fputc(i8 noundef signext, 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi3bgzqsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c">pseudo_reference_sequence\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c">%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create_fasta_of_snp_sites(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %20 = load ptr, ptr %9, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str) store ptr %21, ptr %17, align 8 %22 = load i32, ptr %14, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %51 24: ; preds = %8 %25 = load ptr, ptr %17, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.1) store i32 0, ptr %19, align 4 %27 = load i32, ptr %19, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %48 .lr.ph: ; preds = %24 br label %30 30: ; preds = %.lr.ph, %42 %31 = load ptr, ptr %15, align 8 %32 = load ptr, ptr %16, align 8 %33 = load i32, ptr %19, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %31, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %17, align 8 %41 = call i32 @fputc(i8 noundef signext %39, ptr noundef %40) br label %42 42: ; preds = %30 %43 = load i32, ptr %19, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %19, align 4 %45 = load i32, ptr %19, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %24 %49 = load ptr, ptr %17, align 8 %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.2) br label %51 51: ; preds = %48, %8 store i32 0, ptr %18, align 4 %52 = load i32, ptr %18, align 4 %53 = load i32, ptr %13, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph5, label %93 .lr.ph5: ; preds = %51 br label %55 55: ; preds = %.lr.ph5, %87 %56 = load ptr, ptr %17, align 8 %57 = load ptr, ptr %12, align 8 %58 = load i32, ptr %18, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.3, ptr noundef %61) store i32 0, ptr %19, align 4 %63 = load i32, ptr %19, align 4 %64 = load i32, ptr %10, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %.lr.ph2, label %84 .lr.ph2: ; preds = %55 br label %66 66: ; preds = %.lr.ph2, %78 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %19, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = load i32, ptr %18, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = load ptr, ptr %17, align 8 %77 = call i32 @fputc(i8 noundef signext %75, ptr noundef %76) br label %78 78: ; preds = %66 %79 = load i32, ptr %19, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %19, align 4 %81 = load i32, ptr %19, align 4 %82 = load i32, ptr %10, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %78 br label %84 84: ; preds = %._crit_edge3, %55 %85 = load ptr, ptr %17, align 8 %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.2) br label %87 87: ; preds = %84 %88 = load i32, ptr %18, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %18, align 4 %90 = load i32, ptr %18, align 4 %91 = load i32, ptr %13, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %55, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %87 br label %93 93: ; preds = %._crit_edge6, %51 %94 = load ptr, ptr %17, align 8 %95 = call i32 @fclose(ptr noundef %94) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fputc(i8 noundef signext, 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprddnmwz4.c' source_filename = "/tmp/tmprddnmwz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countWays(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 %5 = call i32 @fib(i32 noundef %4) ret i32 %5 } declare i32 @fib(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/tmprddnmwz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countWays(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 %5 = call i32 @fib(i32 noundef %4) ret i32 %5 } declare i32 @fib(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/tmprrm7qirx.c' source_filename = "/tmp/tmprrm7qirx.c" target datalayout = "e-m:e-p270: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/tmprrm7qirx.c" target datalayout = "e-m:e-p270: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/tmphh_s_vbj.c' source_filename = "/tmp/tmphh_s_vbj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickMedianFilter9(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [9 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 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %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 i32, align 4 %23 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %24 24: ; preds = %36, %1 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 9 br i1 %26, label %27, label %39 27: ; preds = %24 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %34 store i32 %32, ptr %35, align 4 br label %36 36: ; preds = %27 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 br label %24, !llvm.loop !6 39: ; preds = %24 %40 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %41 = load i32, ptr %40, align 4 %42 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %43 = load i32, ptr %42, align 8 %44 = icmp sgt i32 %41, %43 br i1 %44, label %45, label %53 45: ; preds = %39 %46 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %5, align 4 %48 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %49 = load i32, ptr %48, align 8 %50 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %49, ptr %50, align 4 %51 = load i32, ptr %5, align 4 %52 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %51, ptr %52, align 8 br label %53 53: ; preds = %45, %39 %54 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %55 = load i32, ptr %54, align 16 %56 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %57 = load i32, ptr %56, align 4 %58 = icmp sgt i32 %55, %57 br i1 %58, label %59, label %67 59: ; preds = %53 %60 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %61 = load i32, ptr %60, align 16 store i32 %61, ptr %6, align 4 %62 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %63 = load i32, ptr %62, align 4 %64 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %63, ptr %64, align 16 %65 = load i32, ptr %6, align 4 %66 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %65, ptr %66, align 4 br label %67 67: ; preds = %59, %53 %68 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %69 = load i32, ptr %68, align 4 %70 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %71 = load i32, ptr %70, align 16 %72 = icmp sgt i32 %69, %71 br i1 %72, label %73, label %81 73: ; preds = %67 %74 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %75 = load i32, ptr %74, align 4 store i32 %75, ptr %7, align 4 %76 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %77 = load i32, ptr %76, align 16 %78 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %77, ptr %78, align 4 %79 = load i32, ptr %7, align 4 %80 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 store i32 %79, ptr %80, align 16 br label %81 81: ; preds = %73, %67 %82 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %83 = load i32, ptr %82, align 16 %84 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %85 = load i32, ptr %84, align 4 %86 = icmp sgt i32 %83, %85 br i1 %86, label %87, label %95 87: ; preds = %81 %88 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %89 = load i32, ptr %88, align 16 store i32 %89, ptr %8, align 4 %90 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 store i32 %91, ptr %92, align 16 %93 = load i32, ptr %8, align 4 %94 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %93, ptr %94, align 4 br label %95 95: ; preds = %87, %81 %96 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %97 = load i32, ptr %96, align 4 %98 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %99 = load i32, ptr %98, align 16 %100 = icmp sgt i32 %97, %99 br i1 %100, label %101, label %109 101: ; preds = %95 %102 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %103 = load i32, ptr %102, align 4 store i32 %103, ptr %9, align 4 %104 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %105 = load i32, ptr %104, align 16 %106 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 store i32 %105, ptr %106, align 4 %107 = load i32, ptr %9, align 4 %108 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %107, ptr %108, align 16 br label %109 109: ; preds = %101, %95 %110 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %111 = load i32, ptr %110, align 8 %112 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %113 = load i32, ptr %112, align 4 %114 = icmp sgt i32 %111, %113 br i1 %114, label %115, label %123 115: ; preds = %109 %116 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %117 = load i32, ptr %116, align 8 store i32 %117, ptr %10, align 4 %118 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %119 = load i32, ptr %118, align 4 %120 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 store i32 %119, ptr %120, align 8 %121 = load i32, ptr %10, align 4 %122 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %121, ptr %122, align 4 br label %123 123: ; preds = %115, %109 %124 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %125 = load i32, ptr %124, align 4 %126 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %127 = load i32, ptr %126, align 8 %128 = icmp sgt i32 %125, %127 br i1 %128, label %129, label %137 129: ; preds = %123 %130 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %131 = load i32, ptr %130, align 4 store i32 %131, ptr %11, align 4 %132 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %133 = load i32, ptr %132, align 8 %134 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %133, ptr %134, align 4 %135 = load i32, ptr %11, align 4 %136 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %135, ptr %136, align 8 br label %137 137: ; preds = %129, %123 %138 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %139 = load i32, ptr %138, align 16 %140 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %141 = load i32, ptr %140, align 4 %142 = icmp sgt i32 %139, %141 br i1 %142, label %143, label %151 143: ; preds = %137 %144 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %145 = load i32, ptr %144, align 16 store i32 %145, ptr %12, align 4 %146 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %147 = load i32, ptr %146, align 4 %148 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %147, ptr %148, align 16 %149 = load i32, ptr %12, align 4 %150 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %149, ptr %150, align 4 br label %151 151: ; preds = %143, %137 %152 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %153 = load i32, ptr %152, align 4 %154 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %155 = load i32, ptr %154, align 16 %156 = icmp sgt i32 %153, %155 br i1 %156, label %157, label %165 157: ; preds = %151 %158 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %159 = load i32, ptr %158, align 4 store i32 %159, ptr %13, align 4 %160 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %161 = load i32, ptr %160, align 16 %162 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %161, ptr %162, align 4 %163 = load i32, ptr %13, align 4 %164 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 store i32 %163, ptr %164, align 16 br label %165 165: ; preds = %157, %151 %166 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %167 = load i32, ptr %166, align 16 %168 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %169 = load i32, ptr %168, align 4 %170 = icmp sgt i32 %167, %169 br i1 %170, label %171, label %179 171: ; preds = %165 %172 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %173 = load i32, ptr %172, align 16 store i32 %173, ptr %14, align 4 %174 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %175 = load i32, ptr %174, align 4 %176 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 store i32 %175, ptr %176, align 16 %177 = load i32, ptr %14, align 4 %178 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 store i32 %177, ptr %178, align 4 br label %179 179: ; preds = %171, %165 %180 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %181 = load i32, ptr %180, align 4 %182 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %183 = load i32, ptr %182, align 16 %184 = icmp sgt i32 %181, %183 br i1 %184, label %185, label %193 185: ; preds = %179 %186 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %187 = load i32, ptr %186, align 4 store i32 %187, ptr %15, align 4 %188 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %189 = load i32, ptr %188, align 16 %190 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %189, ptr %190, align 4 %191 = load i32, ptr %15, align 4 %192 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 store i32 %191, ptr %192, align 16 br label %193 193: ; preds = %185, %179 %194 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %195 = load i32, ptr %194, align 16 %196 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %197 = load i32, ptr %196, align 4 %198 = icmp sgt i32 %195, %197 br i1 %198, label %199, label %207 199: ; preds = %193 %200 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %201 = load i32, ptr %200, align 16 store i32 %201, ptr %16, align 4 %202 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %203 = load i32, ptr %202, align 4 %204 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %203, ptr %204, align 16 %205 = load i32, ptr %16, align 4 %206 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %205, ptr %206, align 4 br label %207 207: ; preds = %199, %193 %208 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %209 = load i32, ptr %208, align 4 %210 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %211 = load i32, ptr %210, align 8 %212 = icmp sgt i32 %209, %211 br i1 %212, label %213, label %221 213: ; preds = %207 %214 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %215 = load i32, ptr %214, align 4 store i32 %215, ptr %17, align 4 %216 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %217 = load i32, ptr %216, align 8 %218 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 store i32 %217, ptr %218, align 4 %219 = load i32, ptr %17, align 4 %220 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 store i32 %219, ptr %220, align 8 br label %221 221: ; preds = %213, %207 %222 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %223 = load i32, ptr %222, align 4 %224 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %225 = load i32, ptr %224, align 16 %226 = icmp sgt i32 %223, %225 br i1 %226, label %227, label %235 227: ; preds = %221 %228 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %229 = load i32, ptr %228, align 4 store i32 %229, ptr %18, align 4 %230 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %231 = load i32, ptr %230, align 16 %232 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %231, ptr %232, align 4 %233 = load i32, ptr %18, align 4 %234 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %233, ptr %234, align 16 br label %235 235: ; preds = %227, %221 %236 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %237 = load i32, ptr %236, align 8 %238 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %239 = load i32, ptr %238, align 4 %240 = icmp sgt i32 %237, %239 br i1 %240, label %241, label %249 241: ; preds = %235 %242 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %243 = load i32, ptr %242, align 8 store i32 %243, ptr %19, align 4 %244 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %245 = load i32, ptr %244, align 4 %246 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %245, ptr %246, align 8 %247 = load i32, ptr %19, align 4 %248 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %247, ptr %248, align 4 br label %249 249: ; preds = %241, %235 %250 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %251 = load i32, ptr %250, align 16 %252 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %253 = load i32, ptr %252, align 4 %254 = icmp sgt i32 %251, %253 br i1 %254, label %255, label %263 255: ; preds = %249 %256 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %257 = load i32, ptr %256, align 16 store i32 %257, ptr %20, align 4 %258 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %259 = load i32, ptr %258, align 4 %260 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %259, ptr %260, align 16 %261 = load i32, ptr %20, align 4 %262 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %261, ptr %262, align 4 br label %263 263: ; preds = %255, %249 %264 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %265 = load i32, ptr %264, align 16 %266 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %267 = load i32, ptr %266, align 8 %268 = icmp sgt i32 %265, %267 br i1 %268, label %269, label %277 269: ; preds = %263 %270 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %271 = load i32, ptr %270, align 16 store i32 %271, ptr %21, align 4 %272 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %273 = load i32, ptr %272, align 8 %274 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %273, ptr %274, align 16 %275 = load i32, ptr %21, align 4 %276 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %275, ptr %276, align 8 br label %277 277: ; preds = %269, %263 %278 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %279 = load i32, ptr %278, align 8 %280 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %281 = load i32, ptr %280, align 16 %282 = icmp sgt i32 %279, %281 br i1 %282, label %283, label %291 283: ; preds = %277 %284 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %285 = load i32, ptr %284, align 8 store i32 %285, ptr %22, align 4 %286 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %287 = load i32, ptr %286, align 16 %288 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 store i32 %287, ptr %288, align 8 %289 = load i32, ptr %22, align 4 %290 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %289, ptr %290, align 16 br label %291 291: ; preds = %283, %277 %292 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %293 = load i32, ptr %292, align 16 %294 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %295 = load i32, ptr %294, align 8 %296 = icmp sgt i32 %293, %295 br i1 %296, label %297, label %305 297: ; preds = %291 %298 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %299 = load i32, ptr %298, align 16 store i32 %299, ptr %23, align 4 %300 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %301 = load i32, ptr %300, align 8 %302 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %301, ptr %302, align 16 %303 = load i32, ptr %23, align 4 %304 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %303, ptr %304, align 8 br label %305 305: ; preds = %297, %291 %306 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %307 = load i32, ptr %306, align 16 ret i32 %307 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmphh_s_vbj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickMedianFilter9(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [9 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 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %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 i32, align 4 %23 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 9 br i1 %25, label %.lr.ph, label %40 .lr.ph: ; preds = %1 br label %26 26: ; preds = %.lr.ph, %35 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %33 store i32 %31, ptr %34, align 4 br label %35 35: ; preds = %26 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %38, 9 br i1 %39, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %1 %41 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %42 = load i32, ptr %41, align 4 %43 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %44 = load i32, ptr %43, align 8 %45 = icmp sgt i32 %42, %44 br i1 %45, label %46, label %54 46: ; preds = %40 %47 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %5, align 4 %49 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %50 = load i32, ptr %49, align 8 %51 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %50, ptr %51, align 4 %52 = load i32, ptr %5, align 4 %53 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %52, ptr %53, align 8 br label %54 54: ; preds = %46, %40 %55 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %56 = load i32, ptr %55, align 16 %57 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %58 = load i32, ptr %57, align 4 %59 = icmp sgt i32 %56, %58 br i1 %59, label %60, label %68 60: ; preds = %54 %61 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %62 = load i32, ptr %61, align 16 store i32 %62, ptr %6, align 4 %63 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %64 = load i32, ptr %63, align 4 %65 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %64, ptr %65, align 16 %66 = load i32, ptr %6, align 4 %67 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %66, ptr %67, align 4 br label %68 68: ; preds = %60, %54 %69 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %70 = load i32, ptr %69, align 4 %71 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %72 = load i32, ptr %71, align 16 %73 = icmp sgt i32 %70, %72 br i1 %73, label %74, label %82 74: ; preds = %68 %75 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %76 = load i32, ptr %75, align 4 store i32 %76, ptr %7, align 4 %77 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %78 = load i32, ptr %77, align 16 %79 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %78, ptr %79, align 4 %80 = load i32, ptr %7, align 4 %81 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 store i32 %80, ptr %81, align 16 br label %82 82: ; preds = %74, %68 %83 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %84 = load i32, ptr %83, align 16 %85 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %86 = load i32, ptr %85, align 4 %87 = icmp sgt i32 %84, %86 br i1 %87, label %88, label %96 88: ; preds = %82 %89 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %90 = load i32, ptr %89, align 16 store i32 %90, ptr %8, align 4 %91 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %92 = load i32, ptr %91, align 4 %93 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 store i32 %92, ptr %93, align 16 %94 = load i32, ptr %8, align 4 %95 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %94, ptr %95, align 4 br label %96 96: ; preds = %88, %82 %97 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %98 = load i32, ptr %97, align 4 %99 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %100 = load i32, ptr %99, align 16 %101 = icmp sgt i32 %98, %100 br i1 %101, label %102, label %110 102: ; preds = %96 %103 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %104 = load i32, ptr %103, align 4 store i32 %104, ptr %9, align 4 %105 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %106 = load i32, ptr %105, align 16 %107 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 store i32 %106, ptr %107, align 4 %108 = load i32, ptr %9, align 4 %109 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %108, ptr %109, align 16 br label %110 110: ; preds = %102, %96 %111 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %112 = load i32, ptr %111, align 8 %113 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %114 = load i32, ptr %113, align 4 %115 = icmp sgt i32 %112, %114 br i1 %115, label %116, label %124 116: ; preds = %110 %117 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %118 = load i32, ptr %117, align 8 store i32 %118, ptr %10, align 4 %119 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %120 = load i32, ptr %119, align 4 %121 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 store i32 %120, ptr %121, align 8 %122 = load i32, ptr %10, align 4 %123 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %122, ptr %123, align 4 br label %124 124: ; preds = %116, %110 %125 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %126 = load i32, ptr %125, align 4 %127 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %128 = load i32, ptr %127, align 8 %129 = icmp sgt i32 %126, %128 br i1 %129, label %130, label %138 130: ; preds = %124 %131 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %132 = load i32, ptr %131, align 4 store i32 %132, ptr %11, align 4 %133 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %134 = load i32, ptr %133, align 8 %135 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %134, ptr %135, align 4 %136 = load i32, ptr %11, align 4 %137 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %136, ptr %137, align 8 br label %138 138: ; preds = %130, %124 %139 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %140 = load i32, ptr %139, align 16 %141 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %142 = load i32, ptr %141, align 4 %143 = icmp sgt i32 %140, %142 br i1 %143, label %144, label %152 144: ; preds = %138 %145 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %146 = load i32, ptr %145, align 16 store i32 %146, ptr %12, align 4 %147 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %148 = load i32, ptr %147, align 4 %149 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %148, ptr %149, align 16 %150 = load i32, ptr %12, align 4 %151 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %150, ptr %151, align 4 br label %152 152: ; preds = %144, %138 %153 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %154 = load i32, ptr %153, align 4 %155 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %156 = load i32, ptr %155, align 16 %157 = icmp sgt i32 %154, %156 br i1 %157, label %158, label %166 158: ; preds = %152 %159 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %160 = load i32, ptr %159, align 4 store i32 %160, ptr %13, align 4 %161 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %162 = load i32, ptr %161, align 16 %163 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %162, ptr %163, align 4 %164 = load i32, ptr %13, align 4 %165 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 store i32 %164, ptr %165, align 16 br label %166 166: ; preds = %158, %152 %167 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %168 = load i32, ptr %167, align 16 %169 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %170 = load i32, ptr %169, align 4 %171 = icmp sgt i32 %168, %170 br i1 %171, label %172, label %180 172: ; preds = %166 %173 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %174 = load i32, ptr %173, align 16 store i32 %174, ptr %14, align 4 %175 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %176 = load i32, ptr %175, align 4 %177 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 store i32 %176, ptr %177, align 16 %178 = load i32, ptr %14, align 4 %179 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 store i32 %178, ptr %179, align 4 br label %180 180: ; preds = %172, %166 %181 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %182 = load i32, ptr %181, align 4 %183 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %184 = load i32, ptr %183, align 16 %185 = icmp sgt i32 %182, %184 br i1 %185, label %186, label %194 186: ; preds = %180 %187 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %188 = load i32, ptr %187, align 4 store i32 %188, ptr %15, align 4 %189 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 %190 = load i32, ptr %189, align 16 %191 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %190, ptr %191, align 4 %192 = load i32, ptr %15, align 4 %193 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 8 store i32 %192, ptr %193, align 16 br label %194 194: ; preds = %186, %180 %195 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %196 = load i32, ptr %195, align 16 %197 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %198 = load i32, ptr %197, align 4 %199 = icmp sgt i32 %196, %198 br i1 %199, label %200, label %208 200: ; preds = %194 %201 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %202 = load i32, ptr %201, align 16 store i32 %202, ptr %16, align 4 %203 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %204 = load i32, ptr %203, align 4 %205 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %204, ptr %205, align 16 %206 = load i32, ptr %16, align 4 %207 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %206, ptr %207, align 4 br label %208 208: ; preds = %200, %194 %209 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %210 = load i32, ptr %209, align 4 %211 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %212 = load i32, ptr %211, align 8 %213 = icmp sgt i32 %210, %212 br i1 %213, label %214, label %222 214: ; preds = %208 %215 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 %216 = load i32, ptr %215, align 4 store i32 %216, ptr %17, align 4 %217 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %218 = load i32, ptr %217, align 8 %219 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 3 store i32 %218, ptr %219, align 4 %220 = load i32, ptr %17, align 4 %221 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 store i32 %220, ptr %221, align 8 br label %222 222: ; preds = %214, %208 %223 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %224 = load i32, ptr %223, align 4 %225 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %226 = load i32, ptr %225, align 16 %227 = icmp sgt i32 %224, %226 br i1 %227, label %228, label %236 228: ; preds = %222 %229 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 %230 = load i32, ptr %229, align 4 store i32 %230, ptr %18, align 4 %231 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %232 = load i32, ptr %231, align 16 %233 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 1 store i32 %232, ptr %233, align 4 %234 = load i32, ptr %18, align 4 %235 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %234, ptr %235, align 16 br label %236 236: ; preds = %228, %222 %237 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %238 = load i32, ptr %237, align 8 %239 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %240 = load i32, ptr %239, align 4 %241 = icmp sgt i32 %238, %240 br i1 %241, label %242, label %250 242: ; preds = %236 %243 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %244 = load i32, ptr %243, align 8 store i32 %244, ptr %19, align 4 %245 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 %246 = load i32, ptr %245, align 4 %247 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %246, ptr %247, align 8 %248 = load i32, ptr %19, align 4 %249 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 5 store i32 %248, ptr %249, align 4 br label %250 250: ; preds = %242, %236 %251 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %252 = load i32, ptr %251, align 16 %253 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %254 = load i32, ptr %253, align 4 %255 = icmp sgt i32 %252, %254 br i1 %255, label %256, label %264 256: ; preds = %250 %257 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %258 = load i32, ptr %257, align 16 store i32 %258, ptr %20, align 4 %259 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 %260 = load i32, ptr %259, align 4 %261 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %260, ptr %261, align 16 %262 = load i32, ptr %20, align 4 %263 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 7 store i32 %262, ptr %263, align 4 br label %264 264: ; preds = %256, %250 %265 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %266 = load i32, ptr %265, align 16 %267 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %268 = load i32, ptr %267, align 8 %269 = icmp sgt i32 %266, %268 br i1 %269, label %270, label %278 270: ; preds = %264 %271 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %272 = load i32, ptr %271, align 16 store i32 %272, ptr %21, align 4 %273 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %274 = load i32, ptr %273, align 8 %275 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %274, ptr %275, align 16 %276 = load i32, ptr %21, align 4 %277 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %276, ptr %277, align 8 br label %278 278: ; preds = %270, %264 %279 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %280 = load i32, ptr %279, align 8 %281 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %282 = load i32, ptr %281, align 16 %283 = icmp sgt i32 %280, %282 br i1 %283, label %284, label %292 284: ; preds = %278 %285 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 %286 = load i32, ptr %285, align 8 store i32 %286, ptr %22, align 4 %287 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %288 = load i32, ptr %287, align 16 %289 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 6 store i32 %288, ptr %289, align 8 %290 = load i32, ptr %22, align 4 %291 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %290, ptr %291, align 16 br label %292 292: ; preds = %284, %278 %293 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %294 = load i32, ptr %293, align 16 %295 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %296 = load i32, ptr %295, align 8 %297 = icmp sgt i32 %294, %296 br i1 %297, label %298, label %306 298: ; preds = %292 %299 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %300 = load i32, ptr %299, align 16 store i32 %300, ptr %23, align 4 %301 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 %302 = load i32, ptr %301, align 8 %303 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 store i32 %302, ptr %303, align 16 %304 = load i32, ptr %23, align 4 %305 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 2 store i32 %304, ptr %305, align 8 br label %306 306: ; preds = %298, %292 %307 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 4 %308 = load i32, ptr %307, align 16 ret i32 %308 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp40p977gh.c' source_filename = "/tmp/tmp40p977gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_move_current_dobldobl_to_next(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 455, ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp40p977gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_move_current_dobldobl_to_next(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 455, ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9q9mlw6p.c' source_filename = "/tmp/tmp9q9mlw6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @respond(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %3 store ptr @.str, ptr %7, align 8 br label %14 13: ; preds = %3 store ptr @.str.1, ptr %7, align 8 br label %14 14: ; preds = %13, %12 %15 = load ptr, ptr %5, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = load ptr, ptr %7, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = add nsw i64 %16, %18 %20 = add nsw i64 %19, 1 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %8, align 8 %22 = alloca i8, i64 %20, align 16 store i64 %20, ptr %9, align 8 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %4, align 4 %27 = call i64 @strlen(ptr noundef %22) %28 = add nsw i64 %27, 1 %29 = call i32 @write(i32 noundef %26, ptr noundef %22, i64 noundef %28) %30 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %30) ret void } declare i64 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9q9mlw6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @respond(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %3 store ptr @.str, ptr %7, align 8 br label %14 13: ; preds = %3 store ptr @.str.1, ptr %7, align 8 br label %14 14: ; preds = %13, %12 %15 = load ptr, ptr %5, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = load ptr, ptr %7, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = add nsw i64 %16, %18 %20 = add nsw i64 %19, 1 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %8, align 8 %22 = alloca i8, i64 %20, align 16 store i64 %20, ptr %9, align 8 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %4, align 4 %27 = call i64 @strlen(ptr noundef %22) %28 = add nsw i64 %27, 1 %29 = call i32 @write(i32 noundef %26, ptr noundef %22, i64 noundef %28) %30 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %30) ret void } declare i64 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ojmb5ap.c' source_filename = "/tmp/tmp4ojmb5ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_enc_inc_l() #0 { %1 = call i32 @op_write1(i32 noundef 44) ret void } declare i32 @op_write1(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/tmp4ojmb5ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_enc_inc_l() #0 { %1 = call i32 @op_write1(i32 noundef 44) ret void } declare i32 @op_write1(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/tmp5i32d4p0.c' source_filename = "/tmp/tmp5i32d4p0.c" target datalayout = "e-m:e-p270: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/tmp5i32d4p0.c" target datalayout = "e-m:e-p270: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/tmp2pho5h0m.c' source_filename = "/tmp/tmp2pho5h0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @FprintTabs(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 = %13, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp ult i32 %7, %8 br i1 %9, label %10, label %16 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = add i32 %14, 1 store i32 %15, ptr %5, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2pho5h0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @FprintTabs(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 ult i32 %6, %7 br i1 %8, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %12 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str) br label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = add i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %2 ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp811q2u_a.c' source_filename = "/tmp/tmp811q2u_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rprealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @_memory_reallocate(ptr noundef %5, i64 noundef %6, i32 noundef 0, i32 noundef 0) ret ptr %7 } declare ptr @_memory_reallocate(ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp811q2u_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rprealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @_memory_reallocate(ptr noundef %5, i64 noundef %6, i32 noundef 0, i32 noundef 0) ret ptr %7 } declare ptr @_memory_reallocate(ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxwys7c5b.c' source_filename = "/tmp/tmpxwys7c5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"ERROR: loading file at %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @safe_fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwys7c5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"ERROR: loading file at %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @safe_fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg1kxf4h8.c' source_filename = "/tmp/tmpg1kxf4h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"InputBuffer_data\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @InputBuffer(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @stat(ptr noundef %6, ptr noundef %3) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @perror(ptr noundef %10) %12 = call i32 @exit(i32 noundef 2) #3 unreachable 13: ; preds = %1 %14 = load ptr, ptr %2, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %22, label %18 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 %20 = call i32 @perror(ptr noundef %19) %21 = call i32 @exit(i32 noundef 2) #3 unreachable 22: ; preds = %13 %23 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 1, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %36, label %33 33: ; preds = %22 %34 = call i32 @perror(ptr noundef @.str.1) %35 = call i32 @exit(i32 noundef 2) #3 unreachable 36: ; preds = %22 %37 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %38 = load i32, ptr %37, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %4, align 8 %45 = call i32 @fread(ptr noundef %41, i32 noundef %43, i32 noundef 1, ptr noundef %44) %46 = icmp ne i32 %45, 1 br i1 %46, label %47, label %51 47: ; preds = %40 %48 = load ptr, ptr %2, align 8 %49 = call i32 @perror(ptr noundef %48) %50 = call i32 @exit(i32 noundef 2) #3 unreachable 51: ; preds = %40, %36 %52 = load ptr, ptr %4, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %56 = load i32, ptr %55, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 store i8 0, ptr %58, align 1 %59 = load ptr, ptr %5, align 8 %60 = call i32 @TranslateSmartQuotes(ptr noundef %59) %61 = call ptr @TranslatePHP(i32 noundef %60) ret ptr %61 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @TranslatePHP(i32 noundef) #1 declare i32 @TranslateSmartQuotes(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpg1kxf4h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"InputBuffer_data\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @InputBuffer(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @stat(ptr noundef %6, ptr noundef %3) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @perror(ptr noundef %10) %12 = call i32 @exit(i32 noundef 2) #3 unreachable 13: ; preds = %1 %14 = load ptr, ptr %2, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %22, label %18 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 %20 = call i32 @perror(ptr noundef %19) %21 = call i32 @exit(i32 noundef 2) #3 unreachable 22: ; preds = %13 %23 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 1, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %36, label %33 33: ; preds = %22 %34 = call i32 @perror(ptr noundef @.str.1) %35 = call i32 @exit(i32 noundef 2) #3 unreachable 36: ; preds = %22 %37 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %38 = load i32, ptr %37, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %4, align 8 %45 = call i32 @fread(ptr noundef %41, i32 noundef %43, i32 noundef 1, ptr noundef %44) %46 = icmp ne i32 %45, 1 br i1 %46, label %47, label %51 47: ; preds = %40 %48 = load ptr, ptr %2, align 8 %49 = call i32 @perror(ptr noundef %48) %50 = call i32 @exit(i32 noundef 2) #3 unreachable 51: ; preds = %40, %36 %52 = load ptr, ptr %4, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %56 = load i32, ptr %55, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 store i8 0, ptr %58, align 1 %59 = load ptr, ptr %5, align 8 %60 = call i32 @TranslateSmartQuotes(ptr noundef %59) %61 = call ptr @TranslatePHP(i32 noundef %60) ret ptr %61 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @TranslatePHP(i32 noundef) #1 declare i32 @TranslateSmartQuotes(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp32vu15_y.c' source_filename = "/tmp/tmp32vu15_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [76 x i8] c"Re-run with any arg to suppress least-significant\0A 16 bits of FP numbers\0A\00", align 1 ; 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 ptr, align 8 %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 %9 = call ptr @malloc(i32 noundef 108) store ptr %9, ptr %7, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 %12 = zext i1 %11 to i32 store i32 %12, ptr %8, align 4 %13 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 br label %14 14: ; preds = %22, %2 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 108 br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 -86, ptr %21, align 1 br label %22 22: ; preds = %17 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %14, !llvm.loop !6 25: ; preds = %14 %26 = load ptr, ptr %7, align 8 %27 = call i32 @do_fsave(ptr noundef %26) %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %8, align 4 %30 = call i32 @show_fpustate(ptr noundef %28, i32 noundef %29) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @do_fsave(ptr noundef) #1 declare i32 @show_fpustate(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp32vu15_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [76 x i8] c"Re-run with any arg to suppress least-significant\0A 16 bits of FP numbers\0A\00", align 1 ; 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 ptr, align 8 %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 %9 = call ptr @malloc(i32 noundef 108) store ptr %9, ptr %7, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 %12 = zext i1 %11 to i32 store i32 %12, ptr %8, align 4 %13 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 108 br i1 %15, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %21 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 -86, ptr %20, align 1 br label %21 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 108 br i1 %25, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %7, align 8 %28 = call i32 @do_fsave(ptr noundef %27) %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %8, align 4 %31 = call i32 @show_fpustate(ptr noundef %29, i32 noundef %30) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @do_fsave(ptr noundef) #1 declare i32 @show_fpustate(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_vkh5pci.c' source_filename = "/tmp/tmp_vkh5pci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Introduzca cuatro caracteres hexadecimales:\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"\0A%c%c%c%c\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"El valor decimal de 0x%c%c%C%c es %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Invalido\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %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 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %88, %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 113 br i1 %16, label %29, label %17 17: ; preds = %11 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 113 br i1 %20, label %29, label %21 21: ; preds = %17 %22 = load i8, ptr %4, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 113 br i1 %24, label %29, label %25 25: ; preds = %21 %26 = load i8, ptr %5, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 113 br i1 %28, label %29, label %71 29: ; preds = %25, %21, %17, %11 %30 = load i8, ptr %2, align 1 %31 = load i8, ptr %3, align 1 %32 = call i32 @hexValidos(i8 noundef signext %30, i8 noundef signext %31) store i32 %32, ptr %9, align 4 %33 = load i8, ptr %4, align 1 %34 = load i8, ptr %5, align 1 %35 = call i32 @hexValidos(i8 noundef signext %33, i8 noundef signext %34) store i32 %35, ptr %10, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %61 38: ; preds = %29 %39 = load i32, ptr %10, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %61 41: ; preds = %38 %42 = load i8, ptr %2, align 1 %43 = load i8, ptr %3, align 1 %44 = call i32 @hexDec2(i8 noundef signext %42, i8 noundef signext %43) store i32 %44, ptr %7, align 4 %45 = load i8, ptr %4, align 1 %46 = load i8, ptr %5, align 1 %47 = call i32 @hexDec1(i8 noundef signext %45, i8 noundef signext %46) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %48, %49 store i32 %50, ptr %6, align 4 %51 = load i8, ptr %2, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr %3, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr %4, align 1 %56 = sext i8 %55 to i32 %57 = load i8, ptr %5, align 1 %58 = sext i8 %57 to i32 %59 = load i32, ptr %6, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %52, i32 noundef %54, i32 noundef %56, i32 noundef %58, i32 noundef %59) br label %70 61: ; preds = %38, %29 %62 = load i32, ptr %9, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %61 %65 = load i32, ptr %10, align 4 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %64, %61 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %69 69: ; preds = %67, %64 br label %70 70: ; preds = %69, %41 br label %71 71: ; preds = %70, %25 br label %72 72: ; preds = %71 %73 = load i8, ptr %2, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 113 br i1 %75, label %88, label %76 76: ; preds = %72 %77 = load i8, ptr %3, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 113 br i1 %79, label %88, label %80 80: ; preds = %76 %81 = load i8, ptr %4, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 113 br i1 %83, label %88, label %84 84: ; preds = %80 %85 = load i8, ptr %5, align 1 %86 = sext i8 %85 to i32 %87 = icmp ne i32 %86, 113 br label %88 88: ; preds = %84, %80, %76, %72 %89 = phi i1 [ true, %80 ], [ true, %76 ], [ true, %72 ], [ %87, %84 ] br i1 %89, label %11, label %90, !llvm.loop !6 90: ; preds = %88 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @hexValidos(i8 noundef signext, i8 noundef signext) #1 declare i32 @hexDec2(i8 noundef signext, i8 noundef signext) #1 declare i32 @hexDec1(i8 noundef signext, 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/tmp_vkh5pci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Introduzca cuatro caracteres hexadecimales:\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"\0A%c%c%c%c\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"El valor decimal de 0x%c%c%C%c es %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Invalido\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %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 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %88, %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 113 br i1 %16, label %29, label %17 17: ; preds = %11 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 113 br i1 %20, label %29, label %21 21: ; preds = %17 %22 = load i8, ptr %4, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 113 br i1 %24, label %29, label %25 25: ; preds = %21 %26 = load i8, ptr %5, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 113 br i1 %28, label %29, label %71 29: ; preds = %25, %21, %17, %11 %30 = load i8, ptr %2, align 1 %31 = load i8, ptr %3, align 1 %32 = call i32 @hexValidos(i8 noundef signext %30, i8 noundef signext %31) store i32 %32, ptr %9, align 4 %33 = load i8, ptr %4, align 1 %34 = load i8, ptr %5, align 1 %35 = call i32 @hexValidos(i8 noundef signext %33, i8 noundef signext %34) store i32 %35, ptr %10, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %61 38: ; preds = %29 %39 = load i32, ptr %10, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %61 41: ; preds = %38 %42 = load i8, ptr %2, align 1 %43 = load i8, ptr %3, align 1 %44 = call i32 @hexDec2(i8 noundef signext %42, i8 noundef signext %43) store i32 %44, ptr %7, align 4 %45 = load i8, ptr %4, align 1 %46 = load i8, ptr %5, align 1 %47 = call i32 @hexDec1(i8 noundef signext %45, i8 noundef signext %46) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %48, %49 store i32 %50, ptr %6, align 4 %51 = load i8, ptr %2, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr %3, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr %4, align 1 %56 = sext i8 %55 to i32 %57 = load i8, ptr %5, align 1 %58 = sext i8 %57 to i32 %59 = load i32, ptr %6, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %52, i32 noundef %54, i32 noundef %56, i32 noundef %58, i32 noundef %59) br label %70 61: ; preds = %38, %29 %62 = load i32, ptr %9, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %61 %65 = load i32, ptr %10, align 4 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %64, %61 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %69 69: ; preds = %67, %64 br label %70 70: ; preds = %69, %41 br label %71 71: ; preds = %70, %25 br label %72 72: ; preds = %71 %73 = load i8, ptr %2, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 113 br i1 %75, label %88, label %76 76: ; preds = %72 %77 = load i8, ptr %3, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 113 br i1 %79, label %88, label %80 80: ; preds = %76 %81 = load i8, ptr %4, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 113 br i1 %83, label %88, label %84 84: ; preds = %80 %85 = load i8, ptr %5, align 1 %86 = sext i8 %85 to i32 %87 = icmp ne i32 %86, 113 br label %88 88: ; preds = %84, %80, %76, %72 %89 = phi i1 [ true, %80 ], [ true, %76 ], [ true, %72 ], [ %87, %84 ] br i1 %89, label %11, label %90, !llvm.loop !6 90: ; preds = %88 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @hexValidos(i8 noundef signext, i8 noundef signext) #1 declare i32 @hexDec2(i8 noundef signext, i8 noundef signext) #1 declare i32 @hexDec1(i8 noundef signext, 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/tmp1ewxzy06.c' source_filename = "/tmp/tmp1ewxzy06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/tmp/client\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"/tmp/echosock\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 ptr, align 8 %5 = alloca [26 x i8], align 16 store i32 0, ptr %1, align 4 store ptr @.str, ptr %4, align 8 %6 = call i32 @create_unix_dgram_socket(ptr noundef @.str.1, i32 noundef 0) store i32 %6, ptr %2, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(i32 noundef 0) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %0 %13 = load i32, ptr %2, align 4 %14 = call i32 @connect_unix_dgram_socket(i32 noundef %13, ptr noundef @.str.2) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = call i32 @perror(i32 noundef 0) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %12 %21 = load i32, ptr %2, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef 26) store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @perror(i32 noundef 0) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %20 %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 26) store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = call i32 @perror(i32 noundef 0) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %29 %39 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 0 %40 = call i32 @write(i32 noundef 1, ptr noundef %39, i32 noundef 26) %41 = load i32, ptr %2, align 4 %42 = call i32 @destroy_unix_socket(i32 noundef %41) store i32 %42, ptr %3, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = call i32 @perror(i32 noundef 0) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %38 ret i32 0 } declare i32 @create_unix_dgram_socket(ptr noundef, i32 noundef) #1 declare i32 @perror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @connect_unix_dgram_socket(i32 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @destroy_unix_socket(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ewxzy06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/tmp/client\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"/tmp/echosock\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 ptr, align 8 %5 = alloca [26 x i8], align 16 store i32 0, ptr %1, align 4 store ptr @.str, ptr %4, align 8 %6 = call i32 @create_unix_dgram_socket(ptr noundef @.str.1, i32 noundef 0) store i32 %6, ptr %2, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(i32 noundef 0) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %0 %13 = load i32, ptr %2, align 4 %14 = call i32 @connect_unix_dgram_socket(i32 noundef %13, ptr noundef @.str.2) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = call i32 @perror(i32 noundef 0) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %12 %21 = load i32, ptr %2, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef 26) store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @perror(i32 noundef 0) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %20 %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 26) store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = call i32 @perror(i32 noundef 0) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %29 %39 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 0 %40 = call i32 @write(i32 noundef 1, ptr noundef %39, i32 noundef 26) %41 = load i32, ptr %2, align 4 %42 = call i32 @destroy_unix_socket(i32 noundef %41) store i32 %42, ptr %3, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = call i32 @perror(i32 noundef 0) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %38 ret i32 0 } declare i32 @create_unix_dgram_socket(ptr noundef, i32 noundef) #1 declare i32 @perror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @connect_unix_dgram_socket(i32 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @destroy_unix_socket(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps_2cgz1r.c' source_filename = "/tmp/tmps_2cgz1r.c" target datalayout = "e-m:e-p270: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/tmps_2cgz1r.c" target datalayout = "e-m:e-p270: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/tmp8xv8hp9e.c' source_filename = "/tmp/tmp8xv8hp9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E6\B1\82\E9\95\BF\E6\96\B9\E5\BD\A2\E7\9A\84\E9\9D\A2\E7\A7\AF\E3\80\82\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\E9\95\BF\EF\BC\9A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"\E5\AE\BD\EF\BC\9A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"\E9\9D\A2\E7\A7\AF\E6\98\AF\EF\BC\9A%d\E3\80\82\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @puts(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %9, %10 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8xv8hp9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E6\B1\82\E9\95\BF\E6\96\B9\E5\BD\A2\E7\9A\84\E9\9D\A2\E7\A7\AF\E3\80\82\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\E9\95\BF\EF\BC\9A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"\E5\AE\BD\EF\BC\9A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"\E9\9D\A2\E7\A7\AF\E6\98\AF\EF\BC\9A%d\E3\80\82\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @puts(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %9, %10 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpewqcyk0y.c' source_filename = "/tmp/tmpewqcyk0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @formatoHora(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 5 br i1 %9, label %10, label %56 10: ; preds = %1 br label %11 11: ; preds = %52, %10 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %15, %11 %19 = phi i1 [ false, %11 ], [ %17, %15 ] br i1 %19, label %20, label %55 20: ; preds = %18 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %33 23: ; preds = %20 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 58 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %31, %23 br label %52 33: ; preds = %20 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sge i32 %39, 48 br i1 %40, label %41, label %50 41: ; preds = %33 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %50 49: ; preds = %41 br label %51 50: ; preds = %41, %33 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %49 br label %52 52: ; preds = %51, %32 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 br label %11, !llvm.loop !6 55: ; preds = %18 br label %57 56: ; preds = %1 store i32 0, ptr %3, align 4 br label %57 57: ; preds = %56, %55 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewqcyk0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @formatoHora(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 5 br i1 %9, label %10, label %56 10: ; preds = %1 br label %11 11: ; preds = %52, %10 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %15, %11 %19 = phi i1 [ false, %11 ], [ %17, %15 ] br i1 %19, label %20, label %55 20: ; preds = %18 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %33 23: ; preds = %20 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 58 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %31, %23 br label %52 33: ; preds = %20 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sge i32 %39, 48 br i1 %40, label %41, label %50 41: ; preds = %33 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %50 49: ; preds = %41 br label %51 50: ; preds = %41, %33 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %49 br label %52 52: ; preds = %51, %32 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 br label %11, !llvm.loop !6 55: ; preds = %18 br label %57 56: ; preds = %1 store i32 0, ptr %3, align 4 br label %57 57: ; preds = %56, %55 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw07rdurm.c' source_filename = "/tmp/tmpw07rdurm.c" target datalayout = "e-m:e-p270: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/tmpw07rdurm.c" target datalayout = "e-m:e-p270: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/tmpypxfg2k5.c' source_filename = "/tmp/tmpypxfg2k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @powercurve(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca float, align 4 %19 = alloca float, align 4 store float %0, ptr %10, align 4 store float %1, ptr %11, align 4 store float %2, ptr %12, align 4 store float %3, ptr %13, align 4 store float %4, ptr %14, align 4 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 %20 = load float, ptr %10, align 4 %21 = fpext float %20 to double %22 = fcmp olt double %21, 0x3EB0C6F7A0B5ED8D br i1 %22, label %45, label %23 23: ; preds = %8 %24 = load float, ptr %10, align 4 %25 = load float, ptr %11, align 4 %26 = fsub float %24, %25 %27 = fpext float %26 to double %28 = fcmp olt double %27, 0x3EB0C6F7A0B5ED8D br i1 %28, label %45, label %29 29: ; preds = %23 %30 = load float, ptr %11, align 4 %31 = load float, ptr %12, align 4 %32 = fsub float %30, %31 %33 = fpext float %32 to double %34 = fcmp olt double %33, 0x3EB0C6F7A0B5ED8D br i1 %34, label %45, label %35 35: ; preds = %29 %36 = load float, ptr %13, align 4 %37 = fpext float %36 to double %38 = fcmp olt double %37, 0x3EB0C6F7A0B5ED8D br i1 %38, label %45, label %39 39: ; preds = %35 %40 = load float, ptr %14, align 4 %41 = load float, ptr %13, align 4 %42 = fsub float %40, %41 %43 = fpext float %42 to double %44 = fcmp olt double %43, 0x3EB0C6F7A0B5ED8D br i1 %44, label %45, label %46 45: ; preds = %39, %35, %29, %23, %8 store i32 0, ptr %9, align 4 br label %90 46: ; preds = %39 %47 = load float, ptr %10, align 4 %48 = load ptr, ptr %15, align 8 store float %47, ptr %48, align 4 %49 = load float, ptr %10, align 4 %50 = load float, ptr %11, align 4 %51 = fsub float %49, %50 store float %51, ptr %18, align 4 %52 = load float, ptr %10, align 4 %53 = load float, ptr %12, align 4 %54 = fsub float %52, %53 store float %54, ptr %19, align 4 %55 = load float, ptr %19, align 4 %56 = load float, ptr %18, align 4 %57 = fdiv float %55, %56 %58 = call float @log(float noundef %57) %59 = load float, ptr %14, align 4 %60 = load float, ptr %13, align 4 %61 = fdiv float %59, %60 %62 = call float @log(float noundef %61) %63 = fdiv float %58, %62 %64 = load ptr, ptr %17, align 8 store float %63, ptr %64, align 4 %65 = load ptr, ptr %17, align 8 %66 = load float, ptr %65, align 4 %67 = fpext float %66 to double %68 = fcmp ole double %67, 0.000000e+00 br i1 %68, label %74, label %69 69: ; preds = %46 %70 = load ptr, ptr %17, align 8 %71 = load float, ptr %70, align 4 %72 = fpext float %71 to double %73 = fcmp ogt double %72, 2.000000e+01 br i1 %73, label %74, label %75 74: ; preds = %69, %46 store i32 0, ptr %9, align 4 br label %90 75: ; preds = %69 %76 = load float, ptr %18, align 4 %77 = fneg float %76 %78 = load float, ptr %13, align 4 %79 = load ptr, ptr %17, align 8 %80 = load float, ptr %79, align 4 %81 = call float @pow(float noundef %78, float noundef %80) %82 = fdiv float %77, %81 %83 = load ptr, ptr %16, align 8 store float %82, ptr %83, align 4 %84 = load ptr, ptr %16, align 8 %85 = load float, ptr %84, align 4 %86 = fpext float %85 to double %87 = fcmp oge double %86, 0.000000e+00 br i1 %87, label %88, label %89 88: ; preds = %75 store i32 0, ptr %9, align 4 br label %90 89: ; preds = %75 store i32 1, ptr %9, align 4 br label %90 90: ; preds = %89, %88, %74, %45 %91 = load i32, ptr %9, align 4 ret i32 %91 } declare float @log(float noundef) #1 declare float @pow(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/tmpypxfg2k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @powercurve(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca float, align 4 %19 = alloca float, align 4 store float %0, ptr %10, align 4 store float %1, ptr %11, align 4 store float %2, ptr %12, align 4 store float %3, ptr %13, align 4 store float %4, ptr %14, align 4 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 %20 = load float, ptr %10, align 4 %21 = fpext float %20 to double %22 = fcmp olt double %21, 0x3EB0C6F7A0B5ED8D br i1 %22, label %45, label %23 23: ; preds = %8 %24 = load float, ptr %10, align 4 %25 = load float, ptr %11, align 4 %26 = fsub float %24, %25 %27 = fpext float %26 to double %28 = fcmp olt double %27, 0x3EB0C6F7A0B5ED8D br i1 %28, label %45, label %29 29: ; preds = %23 %30 = load float, ptr %11, align 4 %31 = load float, ptr %12, align 4 %32 = fsub float %30, %31 %33 = fpext float %32 to double %34 = fcmp olt double %33, 0x3EB0C6F7A0B5ED8D br i1 %34, label %45, label %35 35: ; preds = %29 %36 = load float, ptr %13, align 4 %37 = fpext float %36 to double %38 = fcmp olt double %37, 0x3EB0C6F7A0B5ED8D br i1 %38, label %45, label %39 39: ; preds = %35 %40 = load float, ptr %14, align 4 %41 = load float, ptr %13, align 4 %42 = fsub float %40, %41 %43 = fpext float %42 to double %44 = fcmp olt double %43, 0x3EB0C6F7A0B5ED8D br i1 %44, label %45, label %46 45: ; preds = %39, %35, %29, %23, %8 store i32 0, ptr %9, align 4 br label %90 46: ; preds = %39 %47 = load float, ptr %10, align 4 %48 = load ptr, ptr %15, align 8 store float %47, ptr %48, align 4 %49 = load float, ptr %10, align 4 %50 = load float, ptr %11, align 4 %51 = fsub float %49, %50 store float %51, ptr %18, align 4 %52 = load float, ptr %10, align 4 %53 = load float, ptr %12, align 4 %54 = fsub float %52, %53 store float %54, ptr %19, align 4 %55 = load float, ptr %19, align 4 %56 = load float, ptr %18, align 4 %57 = fdiv float %55, %56 %58 = call float @log(float noundef %57) %59 = load float, ptr %14, align 4 %60 = load float, ptr %13, align 4 %61 = fdiv float %59, %60 %62 = call float @log(float noundef %61) %63 = fdiv float %58, %62 %64 = load ptr, ptr %17, align 8 store float %63, ptr %64, align 4 %65 = load ptr, ptr %17, align 8 %66 = load float, ptr %65, align 4 %67 = fpext float %66 to double %68 = fcmp ole double %67, 0.000000e+00 br i1 %68, label %74, label %69 69: ; preds = %46 %70 = load ptr, ptr %17, align 8 %71 = load float, ptr %70, align 4 %72 = fpext float %71 to double %73 = fcmp ogt double %72, 2.000000e+01 br i1 %73, label %74, label %75 74: ; preds = %69, %46 store i32 0, ptr %9, align 4 br label %90 75: ; preds = %69 %76 = load float, ptr %18, align 4 %77 = fneg float %76 %78 = load float, ptr %13, align 4 %79 = load ptr, ptr %17, align 8 %80 = load float, ptr %79, align 4 %81 = call float @pow(float noundef %78, float noundef %80) %82 = fdiv float %77, %81 %83 = load ptr, ptr %16, align 8 store float %82, ptr %83, align 4 %84 = load ptr, ptr %16, align 8 %85 = load float, ptr %84, align 4 %86 = fpext float %85 to double %87 = fcmp oge double %86, 0.000000e+00 br i1 %87, label %88, label %89 88: ; preds = %75 store i32 0, ptr %9, align 4 br label %90 89: ; preds = %75 store i32 1, ptr %9, align 4 br label %90 90: ; preds = %89, %88, %74, %45 %91 = load i32, ptr %9, align 4 ret i32 %91 } declare float @log(float noundef) #1 declare float @pow(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/tmp1a0pwr_p.c' source_filename = "/tmp/tmp1a0pwr_p.c" target datalayout = "e-m:e-p270: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 [43 x i8] c"\0A*** MOCKS: expected [%s] got [%s]!!! ***\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mocks_verboseAssertStringEquals(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12) br label %14 14: ; preds = %9, %2 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1a0pwr_p.c" target datalayout = "e-m:e-p270: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 [43 x i8] c"\0A*** MOCKS: expected [%s] got [%s]!!! ***\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mocks_verboseAssertStringEquals(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12) br label %14 14: ; preds = %9, %2 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjn8r0014.c' source_filename = "/tmp/tmpjn8r0014.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } %struct.aiocb = type { i32, ptr, i32, i32 } @__const.main.completion_wait_ts = private unnamed_addr constant %struct.timespec { i32 0, i32 10000000 }, align 4 @_SC_ASYNCHRONOUS_IO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"/tmp/pts_aio_write_9_2_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"aio_write/9-2.c Error at open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EINPROGRESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"aio_write/9-2.c bad aio_write return value\0A\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [45 x i8] c"aio_write/9-2.c error code is not EINVAL %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"aio_write/9-2.c errno is not EINVAL %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca [512 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca %struct.aiocb, align 8 %6 = alloca %struct.timespec, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.completion_wait_ts, i64 8, i1 false) %9 = load i32, ptr @_SC_ASYNCHRONOUS_IO, align 4 %10 = call i64 @sysconf(i32 noundef %9) %11 = icmp slt i64 %10, 200112 br i1 %11, label %12, label %13 12: ; preds = %0 store i32 4, ptr %1, align 4 br label %94 13: ; preds = %0 %14 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %15 = call i32 (...) @getpid() %16 = call i32 @snprintf(ptr noundef %14, i32 noundef 256, ptr noundef @.str, i32 noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %18 = call i32 @unlink(ptr noundef %17) %19 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %20 = load i32, ptr @O_CREAT, align 4 %21 = load i32, ptr @O_RDWR, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @O_EXCL, align 4 %24 = or i32 %22, %23 %25 = load i32, ptr @S_IRUSR, align 4 %26 = load i32, ptr @S_IWUSR, align 4 %27 = or i32 %25, %26 %28 = call i32 @open(ptr noundef %19, i32 noundef %24, i32 noundef %27) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %36 31: ; preds = %13 %32 = load i32, ptr @errno, align 4 %33 = call ptr @strerror(i32 noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33) %35 = call i32 @exit(i32 noundef 2) #4 unreachable 36: ; preds = %13 %37 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @unlink(ptr noundef %37) %39 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 24) %40 = load i32, ptr %4, align 4 %41 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 0 store i32 %40, ptr %41, align 8 %42 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %43 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 1 store ptr %42, ptr %43, align 8 %44 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 2 store i32 -1, ptr %44, align 8 %45 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 3 store i32 512, ptr %45, align 4 %46 = call i32 @aio_write(ptr noundef %5) %47 = icmp ne i32 %46, -1 br i1 %47, label %48, label %78 48: ; preds = %36 br label %49 49: ; preds = %52, %48 %50 = call i32 @nanosleep(ptr noundef %6, ptr noundef null) %51 = call i32 @aio_error(ptr noundef %5) store i32 %51, ptr %7, align 4 br label %52 52: ; preds = %49 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr @EINPROGRESS, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %49, label %56, !llvm.loop !6 56: ; preds = %52 %57 = call i32 @aio_return(ptr noundef %5) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = icmp ne i32 %58, -1 br i1 %59, label %60, label %65 60: ; preds = %56 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %62 = load i32, ptr %4, align 4 %63 = call i32 @close(i32 noundef %62) %64 = call i32 @exit(i32 noundef 1) #4 unreachable 65: ; preds = %56 %66 = load i32, ptr %7, align 4 %67 = load i32, ptr @EINVAL, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %76 69: ; preds = %65 %70 = load i32, ptr @errno, align 4 %71 = call ptr @strerror(i32 noundef %70) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %71) %73 = load i32, ptr %4, align 4 %74 = call i32 @close(i32 noundef %73) %75 = call i32 @exit(i32 noundef 1) #4 unreachable 76: ; preds = %65 br label %77 77: ; preds = %76 br label %90 78: ; preds = %36 %79 = load i32, ptr @errno, align 4 %80 = load i32, ptr @EINVAL, align 4 %81 = icmp ne i32 %79, %80 br i1 %81, label %82, label %89 82: ; preds = %78 %83 = load i32, ptr @errno, align 4 %84 = call ptr @strerror(i32 noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %84) %86 = load i32, ptr %4, align 4 %87 = call i32 @close(i32 noundef %86) %88 = call i32 @exit(i32 noundef 1) #4 unreachable 89: ; preds = %78 br label %90 90: ; preds = %89, %77 %91 = load i32, ptr %4, align 4 %92 = call i32 @close(i32 noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %94 94: ; preds = %90, %12 %95 = load i32, ptr %1, align 4 ret i32 %95 } ; 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 i64 @sysconf(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @getpid(...) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @aio_write(ptr noundef) #2 declare i32 @nanosleep(ptr noundef, ptr noundef) #2 declare i32 @aio_error(ptr noundef) #2 declare i32 @aio_return(ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjn8r0014.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } %struct.aiocb = type { i32, ptr, i32, i32 } @__const.main.completion_wait_ts = private unnamed_addr constant %struct.timespec { i32 0, i32 10000000 }, align 4 @_SC_ASYNCHRONOUS_IO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"/tmp/pts_aio_write_9_2_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"aio_write/9-2.c Error at open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EINPROGRESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"aio_write/9-2.c bad aio_write return value\0A\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [45 x i8] c"aio_write/9-2.c error code is not EINVAL %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"aio_write/9-2.c errno is not EINVAL %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca [512 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca %struct.aiocb, align 8 %6 = alloca %struct.timespec, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.completion_wait_ts, i64 8, i1 false) %9 = load i32, ptr @_SC_ASYNCHRONOUS_IO, align 4 %10 = call i64 @sysconf(i32 noundef %9) %11 = icmp slt i64 %10, 200112 br i1 %11, label %12, label %13 12: ; preds = %0 store i32 4, ptr %1, align 4 br label %94 13: ; preds = %0 %14 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %15 = call i32 (...) @getpid() %16 = call i32 @snprintf(ptr noundef %14, i32 noundef 256, ptr noundef @.str, i32 noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %18 = call i32 @unlink(ptr noundef %17) %19 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %20 = load i32, ptr @O_CREAT, align 4 %21 = load i32, ptr @O_RDWR, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @O_EXCL, align 4 %24 = or i32 %22, %23 %25 = load i32, ptr @S_IRUSR, align 4 %26 = load i32, ptr @S_IWUSR, align 4 %27 = or i32 %25, %26 %28 = call i32 @open(ptr noundef %19, i32 noundef %24, i32 noundef %27) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %36 31: ; preds = %13 %32 = load i32, ptr @errno, align 4 %33 = call ptr @strerror(i32 noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33) %35 = call i32 @exit(i32 noundef 2) #4 unreachable 36: ; preds = %13 %37 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @unlink(ptr noundef %37) %39 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 24) %40 = load i32, ptr %4, align 4 %41 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 0 store i32 %40, ptr %41, align 8 %42 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %43 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 1 store ptr %42, ptr %43, align 8 %44 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 2 store i32 -1, ptr %44, align 8 %45 = getelementptr inbounds %struct.aiocb, ptr %5, i32 0, i32 3 store i32 512, ptr %45, align 4 %46 = call i32 @aio_write(ptr noundef %5) %47 = icmp ne i32 %46, -1 br i1 %47, label %48, label %78 48: ; preds = %36 br label %49 49: ; preds = %52, %48 %50 = call i32 @nanosleep(ptr noundef %6, ptr noundef null) %51 = call i32 @aio_error(ptr noundef %5) store i32 %51, ptr %7, align 4 br label %52 52: ; preds = %49 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr @EINPROGRESS, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %49, label %56, !llvm.loop !6 56: ; preds = %52 %57 = call i32 @aio_return(ptr noundef %5) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = icmp ne i32 %58, -1 br i1 %59, label %60, label %65 60: ; preds = %56 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %62 = load i32, ptr %4, align 4 %63 = call i32 @close(i32 noundef %62) %64 = call i32 @exit(i32 noundef 1) #4 unreachable 65: ; preds = %56 %66 = load i32, ptr %7, align 4 %67 = load i32, ptr @EINVAL, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %76 69: ; preds = %65 %70 = load i32, ptr @errno, align 4 %71 = call ptr @strerror(i32 noundef %70) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %71) %73 = load i32, ptr %4, align 4 %74 = call i32 @close(i32 noundef %73) %75 = call i32 @exit(i32 noundef 1) #4 unreachable 76: ; preds = %65 br label %77 77: ; preds = %76 br label %90 78: ; preds = %36 %79 = load i32, ptr @errno, align 4 %80 = load i32, ptr @EINVAL, align 4 %81 = icmp ne i32 %79, %80 br i1 %81, label %82, label %89 82: ; preds = %78 %83 = load i32, ptr @errno, align 4 %84 = call ptr @strerror(i32 noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %84) %86 = load i32, ptr %4, align 4 %87 = call i32 @close(i32 noundef %86) %88 = call i32 @exit(i32 noundef 1) #4 unreachable 89: ; preds = %78 br label %90 90: ; preds = %89, %77 %91 = load i32, ptr %4, align 4 %92 = call i32 @close(i32 noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %94 94: ; preds = %90, %12 %95 = load i32, ptr %1, align 4 ret i32 %95 } ; 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 i64 @sysconf(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @getpid(...) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @aio_write(ptr noundef) #2 declare i32 @nanosleep(ptr noundef, ptr noundef) #2 declare i32 @aio_error(ptr noundef) #2 declare i32 @aio_return(ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgp3ocm8t.c' source_filename = "/tmp/tmpgp3ocm8t.c" target datalayout = "e-m:e-p270: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/tmpgp3ocm8t.c" target datalayout = "e-m:e-p270: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/tmpk3eywpsx.c' source_filename = "/tmp/tmpk3eywpsx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Enter the no of Queenes : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 @fnQueens(i32 noundef 1, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fnQueens(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk3eywpsx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Enter the no of Queenes : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 @fnQueens(i32 noundef 1, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fnQueens(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpccajmocf.c' source_filename = "/tmp/tmpccajmocf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TCP_Listen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @TCP_ListenTo(ptr noundef null, ptr noundef %3) ret i32 %4 } declare i32 @TCP_ListenTo(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/tmpccajmocf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TCP_Listen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @TCP_ListenTo(ptr noundef null, ptr noundef %3) ret i32 %4 } declare i32 @TCP_ListenTo(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/tmpji63qfjx.c' source_filename = "/tmp/tmpji63qfjx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_line_style_defaults() #0 { %1 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -8, i32 noundef 25, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 25, i32 noundef -1) %2 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -7, i32 noundef 35, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 35, i32 noundef -1) %3 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -6, i32 noundef 25, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 25, i32 noundef -1) %4 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -5, i32 noundef 35, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 35, i32 noundef -1) %5 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -4, i32 noundef 40, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 40, i32 noundef -1) %6 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -3, i32 noundef 35, i32 noundef 30, i32 noundef 35, i32 noundef -1) %7 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -2, i32 noundef 25, i32 noundef 50, i32 noundef 25, i32 noundef -1) %8 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -1, i32 noundef 0, i32 noundef 100, i32 noundef 0, i32 noundef -1) %9 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 0, i32 noundef 0, i32 noundef 100, i32 noundef -1) %10 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 1, i32 noundef 0, i32 noundef 100, i32 noundef -1) %11 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 2, i32 noundef 50, i32 noundef 50, i32 noundef -1) %12 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 3, i32 noundef 70, i32 noundef 30, i32 noundef -1) %13 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 4, i32 noundef 80, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef -1) %14 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 5, i32 noundef 70, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef -1) %15 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 6, i32 noundef 50, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef -1) %16 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 7, i32 noundef 70, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef -1) %17 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 8, i32 noundef 50, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef -1) ret void } declare i32 @set_line_style(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpji63qfjx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_line_style_defaults() #0 { %1 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -8, i32 noundef 25, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 25, i32 noundef -1) %2 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -7, i32 noundef 35, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 35, i32 noundef -1) %3 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -6, i32 noundef 25, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 25, i32 noundef -1) %4 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -5, i32 noundef 35, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 35, i32 noundef -1) %5 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -4, i32 noundef 40, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 40, i32 noundef -1) %6 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -3, i32 noundef 35, i32 noundef 30, i32 noundef 35, i32 noundef -1) %7 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -2, i32 noundef 25, i32 noundef 50, i32 noundef 25, i32 noundef -1) %8 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef -1, i32 noundef 0, i32 noundef 100, i32 noundef 0, i32 noundef -1) %9 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 0, i32 noundef 0, i32 noundef 100, i32 noundef -1) %10 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 1, i32 noundef 0, i32 noundef 100, i32 noundef -1) %11 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 2, i32 noundef 50, i32 noundef 50, i32 noundef -1) %12 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 3, i32 noundef 70, i32 noundef 30, i32 noundef -1) %13 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 4, i32 noundef 80, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef -1) %14 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 5, i32 noundef 70, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef -1) %15 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 6, i32 noundef 50, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef -1) %16 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 7, i32 noundef 70, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef -1) %17 = call i32 (i32, i32, i32, i32, ...) @set_line_style(i32 noundef 8, i32 noundef 50, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef 10, i32 noundef 10, i32 noundef 0, i32 noundef 10, i32 noundef -1) ret void } declare i32 @set_line_style(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2qbuazo9.c' source_filename = "/tmp/tmp2qbuazo9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"the numbers are x=%d y=%d z=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"product %lu\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 1, ptr %2, align 4 br label %5 5: ; preds = %63, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 1000 br i1 %7, label %8, label %66 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 br label %11 11: ; preds = %59, %8 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 1000 br i1 %13, label %14, label %62 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %55, %14 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %18, %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %20, %21 %23 = icmp sle i32 %22, 1000 br i1 %23, label %24, label %58 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = mul nsw i32 %25, %26 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = mul nsw i32 %28, %29 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = mul nsw i32 %31, %32 %34 = add nsw i32 %30, %33 %35 = icmp eq i32 %27, %34 br i1 %35, label %36, label %54 36: ; preds = %24 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %39, %40 %42 = icmp eq i32 %41, 1000 br i1 %42, label %43, label %54 43: ; preds = %36 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %4, align 4 %47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %44, i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %3, align 4 %50 = mul nsw i32 %48, %49 %51 = load i32, ptr %4, align 4 %52 = mul nsw i32 %50, %51 %53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %52) store i32 0, ptr %1, align 4 br label %66 54: ; preds = %36, %24 br label %55 55: ; preds = %54 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %4, align 4 br label %17, !llvm.loop !6 58: ; preds = %17 br label %59 59: ; preds = %58 %60 = load i32, ptr %3, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %3, align 4 br label %11, !llvm.loop !8 62: ; preds = %11 br label %63 63: ; preds = %62 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 br label %5, !llvm.loop !9 66: ; preds = %43, %5 %67 = load i32, ptr %1, align 4 ret i32 %67 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2qbuazo9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"the numbers are x=%d y=%d z=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"product %lu\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 1, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 1000 br i1 %6, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %0 br label %7 7: ; preds = %.lr.ph5, %68 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 1000 br i1 %11, label %.lr.ph2, label %67 .lr.ph2: ; preds = %7 br label %12 12: ; preds = %.lr.ph2, %62 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %17, %18 %20 = icmp sle i32 %19, 1000 br i1 %20, label %.lr.ph, label %61 .lr.ph: ; preds = %12 br label %21 21: ; preds = %.lr.ph, %52 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 %25, %26 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = mul nsw i32 %28, %29 %31 = add nsw i32 %27, %30 %32 = icmp eq i32 %24, %31 br i1 %32, label %33, label %51 33: ; preds = %21 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %34, %35 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %36, %37 %39 = icmp eq i32 %38, 1000 br i1 %39, label %40, label %51 40: ; preds = %33 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %41, i32 noundef %42, i32 noundef %43) %45 = load i32, ptr %2, align 4 %46 = load i32, ptr %3, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %4, align 4 %49 = mul nsw i32 %47, %48 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %49) store i32 0, ptr %1, align 4 br label %73 51: ; preds = %33, %21 br label %52 52: ; preds = %51 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %55, %56 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %57, %58 %60 = icmp sle i32 %59, 1000 br i1 %60, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %61 61: ; preds = %._crit_edge, %12 br label %62 62: ; preds = %61 %63 = load i32, ptr %3, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %3, align 4 %65 = load i32, ptr %3, align 4 %66 = icmp slt i32 %65, 1000 br i1 %66, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %67 67: ; preds = %._crit_edge3, %7 br label %68 68: ; preds = %67 %69 = load i32, ptr %2, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %2, align 4 %71 = load i32, ptr %2, align 4 %72 = icmp slt i32 %71, 1000 br i1 %72, label %7, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %68 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %73 73: ; preds = %.loopexit, %40 %74 = load i32, ptr %1, align 4 ret i32 %74 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqwtkw1ys.c' source_filename = "/tmp/tmpqwtkw1ys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"matrix.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_mat(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %9, align 8 %13 = load i32, ptr %8, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %17, ptr noundef %18) br label %55 20: ; preds = %4 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22, ptr noundef %23) store i32 0, ptr %10, align 4 br label %25 25: ; preds = %51, %20 %26 = load i32, ptr %10, align 4 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %27, align 4 %29 = icmp slt i32 %26, %28 br i1 %29, label %30, label %54 30: ; preds = %25 store i32 0, ptr %11, align 4 br label %31 31: ; preds = %47, %30 %32 = load i32, ptr %11, align 4 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %33, align 4 %35 = icmp slt i32 %32, %34 br i1 %35, label %36, label %50 36: ; preds = %31 %37 = load ptr, ptr %9, align 8 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 %46 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %37, ptr noundef @.str.3, ptr noundef %45) br label %47 47: ; preds = %36 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 br label %31, !llvm.loop !6 50: ; preds = %31 br label %51 51: ; preds = %50 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %10, align 4 br label %25, !llvm.loop !8 54: ; preds = %25 br label %55 55: ; preds = %54, %15 %56 = load ptr, ptr %9, align 8 %57 = call i32 @close(ptr noundef %56) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqwtkw1ys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"matrix.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_mat(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %9, align 8 %13 = load i32, ptr %8, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %17, ptr noundef %18) br label %61 20: ; preds = %4 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22, ptr noundef %23) store i32 0, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %25, %27 br i1 %28, label %.lr.ph2, label %60 .lr.ph2: ; preds = %20 br label %29 29: ; preds = %.lr.ph2, %53 store i32 0, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %31, align 4 %33 = icmp slt i32 %30, %32 br i1 %33, label %.lr.ph, label %52 .lr.ph: ; preds = %29 br label %34 34: ; preds = %.lr.ph, %45 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %35, ptr noundef @.str.3, ptr noundef %43) br label %45 45: ; preds = %34 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %48, %50 br i1 %51, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %52 52: ; preds = %._crit_edge, %29 br label %53 53: ; preds = %52 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = load i32, ptr %10, align 4 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %57, align 4 %59 = icmp slt i32 %56, %58 br i1 %59, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %60 60: ; preds = %._crit_edge3, %20 br label %61 61: ; preds = %60, %15 %62 = load ptr, ptr %9, align 8 %63 = call i32 @close(ptr noundef %62) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpth_4yrzw.c' source_filename = "/tmp/tmpth_4yrzw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTAutobaudParityGet(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @UARTRegConfigModeEnable(i32 noundef %5, i32 noundef 128) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = add i32 %7, 56 %9 = zext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load volatile i32, ptr %10, align 4 %12 = and i32 %11, 192 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = add i32 %14, 12 %16 = zext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr store volatile i32 %13, ptr %17, align 4 %18 = load i32, ptr %4, align 4 ret i32 %18 } declare i32 @UARTRegConfigModeEnable(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpth_4yrzw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTAutobaudParityGet(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @UARTRegConfigModeEnable(i32 noundef %5, i32 noundef 128) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = add i32 %7, 56 %9 = zext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load volatile i32, ptr %10, align 4 %12 = and i32 %11, 192 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = add i32 %14, 12 %16 = zext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr store volatile i32 %13, ptr %17, align 4 %18 = load i32, ptr %4, align 4 ret i32 %18 } declare i32 @UARTRegConfigModeEnable(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcrpcku4t.c' source_filename = "/tmp/tmpcrpcku4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @reverse(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %10, %1 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %11, 10 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 10 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %15, 10 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %16, %17 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %3, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = load i32, ptr @INT_MAX, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = sub nsw i32 0, %25 br label %29 27: ; preds = %20 %28 = load i32, ptr %4, align 4 br label %29 29: ; preds = %27, %24 %30 = phi i32 [ %26, %24 ], [ %28, %27 ] %31 = icmp slt i32 %21, %30 br i1 %31, label %32, label %33 32: ; preds = %29 store i32 0, ptr %2, align 4 br label %35 33: ; preds = %29 %34 = load i32, ptr %4, align 4 store i32 %34, ptr %2, align 4 br label %35 35: ; preds = %33, %32 %36 = load i32, ptr %2, align 4 ret i32 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcrpcku4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @reverse(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %3, align 4 %11 = sdiv i32 %10, 10 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = srem i32 %12, 10 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %14, 10 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %21 21: ; preds = %._crit_edge, %1 %22 = load i32, ptr @INT_MAX, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 0, %26 br label %30 28: ; preds = %21 %29 = load i32, ptr %4, align 4 br label %30 30: ; preds = %28, %25 %31 = phi i32 [ %27, %25 ], [ %29, %28 ] %32 = icmp slt i32 %22, %31 br i1 %32, label %33, label %34 33: ; preds = %30 store i32 0, ptr %2, align 4 br label %36 34: ; preds = %30 %35 = load i32, ptr %4, align 4 store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %34, %33 %37 = load i32, ptr %2, align 4 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5iwu0ysh.c' source_filename = "/tmp/tmp5iwu0ysh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Whats the price of the first product?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"what the price for the second product?\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"total=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"difference=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"product=%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"quotient=%f\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 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = fadd float %13, %14 store float %15, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) %19 = load float, ptr %2, align 4 %20 = load float, ptr %3, align 4 %21 = fsub float %19, %20 store float %21, ptr %5, align 4 %22 = load float, ptr %5, align 4 %23 = fpext float %22 to double %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %23) %25 = load float, ptr %2, align 4 %26 = load float, ptr %3, align 4 %27 = fmul float %25, %26 store float %27, ptr %6, align 4 %28 = load float, ptr %6, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %29) %31 = load float, ptr %2, align 4 %32 = load float, ptr %3, align 4 %33 = fdiv float %31, %32 store float %33, ptr %7, align 4 %34 = load float, ptr %7, align 4 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5iwu0ysh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Whats the price of the first product?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"what the price for the second product?\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"total=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"difference=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"product=%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"quotient=%f\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 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = fadd float %13, %14 store float %15, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) %19 = load float, ptr %2, align 4 %20 = load float, ptr %3, align 4 %21 = fsub float %19, %20 store float %21, ptr %5, align 4 %22 = load float, ptr %5, align 4 %23 = fpext float %22 to double %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %23) %25 = load float, ptr %2, align 4 %26 = load float, ptr %3, align 4 %27 = fmul float %25, %26 store float %27, ptr %6, align 4 %28 = load float, ptr %6, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %29) %31 = load float, ptr %2, align 4 %32 = load float, ptr %3, align 4 %33 = fdiv float %31, %32 store float %33, ptr %7, align 4 %34 = load float, ptr %7, align 4 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkt6lgczm.c' source_filename = "/tmp/tmpkt6lgczm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %8, %1 %4 = load volatile i32, ptr inttoptr (i64 21056 to ptr), align 4 %5 = and i32 %4, 128 %6 = icmp ne i32 %5, 0 %7 = xor i1 %6, true br i1 %7, label %8, label %9 8: ; preds = %3 br label %3, !llvm.loop !6 9: ; preds = %3 %10 = load i32, ptr %2, align 4 store volatile i32 %10, ptr inttoptr (i64 21057 to ptr), align 4 %11 = load i32, ptr %2, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkt6lgczm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %3, %1 %4 = load volatile i32, ptr inttoptr (i64 21056 to ptr), align 4 %5 = and i32 %4, 128 %6 = icmp ne i32 %5, 0 %7 = xor i1 %6, true br i1 %7, label %3, label %8, !llvm.loop !6 8: ; preds = %3 %9 = load i32, ptr %2, align 4 store volatile i32 %9, ptr inttoptr (i64 21057 to ptr), align 4 %10 = load i32, ptr %2, align 4 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpa76oijpf.c' source_filename = "/tmp/tmpa76oijpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr_nest(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %39, %2 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %42 11: ; preds = %7 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 switch i32 %14, label %25 [ i32 40, label %15 i32 41, label %18 ] 15: ; preds = %11 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %6, align 8 br label %38 18: ; preds = %11 %19 = load i64, ptr %6, align 8 %20 = icmp ugt i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, -1 store i64 %23, ptr %6, align 8 br label %24 24: ; preds = %21, %18 br label %25 25: ; preds = %11, %24 %26 = load i64, ptr %6, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %25 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load i8, ptr %5, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %31, %33 br i1 %34, label %35, label %37 35: ; preds = %28 %36 = load ptr, ptr %4, align 8 store ptr %36, ptr %3, align 8 br label %43 37: ; preds = %28, %25 br label %38 38: ; preds = %37, %15 br label %39 39: ; preds = %38 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %4, align 8 br label %7, !llvm.loop !6 42: ; preds = %7 store ptr null, ptr %3, align 8 br label %43 43: ; preds = %42, %35 %44 = load ptr, ptr %3, align 8 ret ptr %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpa76oijpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr_nest(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store i64 0, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %44 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %38 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %24 [ i32 40, label %14 i32 41, label %17 ] 14: ; preds = %10 %15 = load i64, ptr %6, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %6, align 8 br label %37 17: ; preds = %10 %18 = load i64, ptr %6, align 8 %19 = icmp ugt i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, -1 store i64 %22, ptr %6, align 8 br label %23 23: ; preds = %20, %17 br label %24 24: ; preds = %23, %10 %25 = load i64, ptr %6, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = load i8, ptr %5, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %30, %32 br i1 %33, label %34, label %36 34: ; preds = %27 %35 = load ptr, ptr %4, align 8 store ptr %35, ptr %3, align 8 br label %45 36: ; preds = %27, %24 br label %37 37: ; preds = %36, %14 br label %38 38: ; preds = %37 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %4, align 8 %41 = load ptr, ptr %4, align 8 %42 = load i8, ptr %41, align 1 %43 = icmp ne i8 %42, 0 br i1 %43, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %45 45: ; preds = %44, %34 %46 = load ptr, ptr %3, align 8 ret ptr %46 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpt2hweij3.c' source_filename = "/tmp/tmpt2hweij3.c" target datalayout = "e-m:e-p270: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.date = type { i32, i32, i32 } @.str = private unnamed_addr constant [29 x i8] c"Today's date is %i/%i/%.2i.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.date, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr %2, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds %struct.date, ptr %4, i32 0, i32 0 store i32 10, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.date, ptr %6, i32 0, i32 1 store i32 12, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds %struct.date, ptr %8, i32 0, i32 2 store i32 2015, ptr %9, align 4 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.date, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.date, ptr %13, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.date, ptr %16, i32 0, i32 2 %18 = load i32, ptr %17, align 4 %19 = srem i32 %18, 100 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %15, i32 noundef %19) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt2hweij3.c" target datalayout = "e-m:e-p270: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.date = type { i32, i32, i32 } @.str = private unnamed_addr constant [29 x i8] c"Today's date is %i/%i/%.2i.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.date, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr %2, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds %struct.date, ptr %4, i32 0, i32 0 store i32 10, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.date, ptr %6, i32 0, i32 1 store i32 12, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds %struct.date, ptr %8, i32 0, i32 2 store i32 2015, ptr %9, align 4 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.date, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.date, ptr %13, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.date, ptr %16, i32 0, i32 2 %18 = load i32, ptr %17, align 4 %19 = srem i32 %18, 100 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %15, i32 noundef %19) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1cnykaju.c' source_filename = "/tmp/tmp1cnykaju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca 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 87, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 7 %11 = sub nsw i32 %10, 10 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) store i32 23, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) store i32 2, ptr %3, align 4 store i32 8, ptr %4, align 4 store i32 4, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 %21 = sdiv i32 8, %20 %22 = sub nsw i32 %17, %21 %23 = mul nsw i32 %16, %22 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) store i32 2, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) store i32 6, ptr %5, align 4 store i32 6, ptr %4, align 4 store i32 6, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %34, %35 %37 = add nsw i32 %36, 3 store i32 %37, ptr %2, align 4 %38 = load i32, ptr %5, align 4 %39 = mul nsw i32 %38, 2 store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = sub nsw i32 %40, 5 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) store i32 10, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 5 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = sub nsw i32 %48, 3 %50 = load i32, ptr %3, align 4 %51 = call i32 @printf(ptr noundef @.str, i32 noundef %50) %52 = load i32, ptr %2, align 4 %53 = call i32 @printf(ptr noundef @.str, i32 noundef %52) %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, 5 store i32 %55, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = sub nsw i32 %56, 3 store i32 %57, ptr %3, align 4 %58 = load i32, ptr %3, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) %60 = load i32, ptr %2, align 4 %61 = call i32 @printf(ptr noundef @.str, i32 noundef %60) %62 = load i32, ptr %6, align 4 %63 = call i32 @printf(ptr noundef @.str, i32 noundef %62) %64 = load i32, ptr %6, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %75, label %66 66: ; preds = %0 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 15 store i32 %68, ptr %3, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %66 %71 = load i32, ptr %3, align 4 %72 = icmp eq i32 %71, 20 br label %73 73: ; preds = %70, %66 %74 = phi i1 [ false, %66 ], [ %72, %70 ] br label %75 75: ; preds = %73, %0 %76 = phi i1 [ true, %0 ], [ %74, %73 ] %77 = zext i1 %76 to i32 store i32 %77, ptr %4, align 4 store i32 %77, ptr %3, align 4 %78 = load i32, ptr %3, align 4 %79 = call i32 @printf(ptr noundef @.str, i32 noundef %78) %80 = load i32, ptr %4, align 4 %81 = call i32 @printf(ptr noundef @.str, i32 noundef %80) store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 store i32 3, ptr %5, align 4 store i32 4, ptr %6, align 4 %82 = load i32, ptr %6, align 4 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, %82 store i32 %84, ptr %5, align 4 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %3, align 4 %89 = load i32, ptr %3, align 4 %90 = call i32 @printf(ptr noundef @.str, i32 noundef %89) %91 = load i32, ptr %4, align 4 %92 = call i32 @printf(ptr noundef @.str, i32 noundef %91) %93 = load i32, ptr %5, align 4 %94 = call i32 @printf(ptr noundef @.str, i32 noundef %93) %95 = load i32, ptr %6, align 4 %96 = call i32 @printf(ptr noundef @.str, i32 noundef %95) %97 = load i32, ptr %3, align 4 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %5, align 4 %100 = icmp sgt i32 %97, %99 %101 = zext i1 %100 to i32 store i32 %101, ptr %3, align 4 %102 = load i32, ptr %3, align 4 %103 = call i32 @printf(ptr noundef @.str, i32 noundef %102) %104 = load i32, ptr %5, align 4 %105 = call i32 @printf(ptr noundef @.str, i32 noundef %104) 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/tmp1cnykaju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca 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 87, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 7 %11 = sub nsw i32 %10, 10 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) store i32 23, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) store i32 2, ptr %3, align 4 store i32 8, ptr %4, align 4 store i32 4, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 %21 = sdiv i32 8, %20 %22 = sub nsw i32 %17, %21 %23 = mul nsw i32 %16, %22 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) store i32 2, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) store i32 6, ptr %5, align 4 store i32 6, ptr %4, align 4 store i32 6, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %34, %35 %37 = add nsw i32 %36, 3 store i32 %37, ptr %2, align 4 %38 = load i32, ptr %5, align 4 %39 = mul nsw i32 %38, 2 store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = sub nsw i32 %40, 5 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) store i32 10, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 5 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = sub nsw i32 %48, 3 %50 = load i32, ptr %3, align 4 %51 = call i32 @printf(ptr noundef @.str, i32 noundef %50) %52 = load i32, ptr %2, align 4 %53 = call i32 @printf(ptr noundef @.str, i32 noundef %52) %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, 5 store i32 %55, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = sub nsw i32 %56, 3 store i32 %57, ptr %3, align 4 %58 = load i32, ptr %3, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) %60 = load i32, ptr %2, align 4 %61 = call i32 @printf(ptr noundef @.str, i32 noundef %60) %62 = load i32, ptr %6, align 4 %63 = call i32 @printf(ptr noundef @.str, i32 noundef %62) %64 = load i32, ptr %6, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %75, label %66 66: ; preds = %0 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 15 store i32 %68, ptr %3, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %66 %71 = load i32, ptr %3, align 4 %72 = icmp eq i32 %71, 20 br label %73 73: ; preds = %70, %66 %74 = phi i1 [ false, %66 ], [ %72, %70 ] br label %75 75: ; preds = %73, %0 %76 = phi i1 [ true, %0 ], [ %74, %73 ] %77 = zext i1 %76 to i32 store i32 %77, ptr %4, align 4 store i32 %77, ptr %3, align 4 %78 = load i32, ptr %3, align 4 %79 = call i32 @printf(ptr noundef @.str, i32 noundef %78) %80 = load i32, ptr %4, align 4 %81 = call i32 @printf(ptr noundef @.str, i32 noundef %80) store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 store i32 3, ptr %5, align 4 store i32 4, ptr %6, align 4 %82 = load i32, ptr %6, align 4 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, %82 store i32 %84, ptr %5, align 4 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %3, align 4 %89 = load i32, ptr %3, align 4 %90 = call i32 @printf(ptr noundef @.str, i32 noundef %89) %91 = load i32, ptr %4, align 4 %92 = call i32 @printf(ptr noundef @.str, i32 noundef %91) %93 = load i32, ptr %5, align 4 %94 = call i32 @printf(ptr noundef @.str, i32 noundef %93) %95 = load i32, ptr %6, align 4 %96 = call i32 @printf(ptr noundef @.str, i32 noundef %95) %97 = load i32, ptr %3, align 4 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %5, align 4 %100 = icmp sgt i32 %97, %99 %101 = zext i1 %100 to i32 store i32 %101, ptr %3, align 4 %102 = load i32, ptr %3, align 4 %103 = call i32 @printf(ptr noundef @.str, i32 noundef %102) %104 = load i32, ptr %5, align 4 %105 = call i32 @printf(ptr noundef @.str, i32 noundef %104) 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/tmpm0fmqw_4.c' source_filename = "/tmp/tmpm0fmqw_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M581_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M581_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm0fmqw_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M581_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M581_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu5hyw7sf.c' source_filename = "/tmp/tmpu5hyw7sf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"read error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ppm_readchar(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @_IO_getc(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = trunc i32 %8 to i8 store i8 %9, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @ppm_error(ptr noundef @.str) br label %15 15: ; preds = %13, %1 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 35 br i1 %18, label %19, label %36 19: ; preds = %15 br label %20 20: ; preds = %19, %35 %21 = load ptr, ptr %2, align 8 %22 = call i32 @_IO_getc(ptr noundef %21) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = trunc i32 %23 to i8 store i8 %24, ptr %3, align 1 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = call i32 @ppm_error(ptr noundef @.str) br label %30 30: ; preds = %28, %20 %31 = load i8, ptr %3, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %35 34: ; preds = %30 br label %37 35: ; preds = %30 br label %20 36: ; preds = %15 br label %37 37: ; preds = %36, %34 %38 = load i8, ptr %3, align 1 ret i8 %38 } declare i32 @_IO_getc(ptr noundef) #1 declare i32 @ppm_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu5hyw7sf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"read error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ppm_readchar(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @_IO_getc(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = trunc i32 %8 to i8 store i8 %9, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @ppm_error(ptr noundef @.str) br label %15 15: ; preds = %13, %1 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 35 br i1 %18, label %19, label %35 19: ; preds = %15 br label %20 20: ; preds = %30, %19 %21 = load ptr, ptr %2, align 8 %22 = call i32 @_IO_getc(ptr noundef %21) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = trunc i32 %23 to i8 store i8 %24, ptr %3, align 1 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = call i32 @ppm_error(ptr noundef @.str) br label %30 30: ; preds = %28, %20 %31 = load i8, ptr %3, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %20 34: ; preds = %30 br label %36 35: ; preds = %15 br label %36 36: ; preds = %35, %34 %37 = load i8, ptr %3, align 1 ret i8 %37 } declare i32 @_IO_getc(ptr noundef) #1 declare i32 @ppm_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsg157r4i.c' source_filename = "/tmp/tmpsg157r4i.c" target datalayout = "e-m:e-p270: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/tmpsg157r4i.c" target datalayout = "e-m:e-p270: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/tmpczie8soz.c' source_filename = "/tmp/tmpczie8soz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umask(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @syscall(i32 noundef 60, i32 noundef %3) ret i32 %4 } declare i32 @syscall(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczie8soz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umask(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @syscall(i32 noundef 60, i32 noundef %3) ret i32 %4 } declare i32 @syscall(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps8txdq33.c' source_filename = "/tmp/tmps8txdq33.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w(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 @v(i64 noundef %3) ret ptr %4 } declare ptr @v(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/tmps8txdq33.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w(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 @v(i64 noundef %3) ret ptr %4 } declare ptr @v(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/tmpr6p9ih7t.c' source_filename = "/tmp/tmpr6p9ih7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stack_alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @PROT_READ, align 4 %9 = load i32, ptr @PROT_WRITE, align 4 %10 = or i32 %8, %9 %11 = load i32, ptr @MAP_ANON, align 4 %12 = load i32, ptr @MAP_PRIVATE, align 4 %13 = or i32 %11, %12 %14 = call ptr @mmap(ptr noundef %6, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef -1, i32 noundef 0) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %17 to i64 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = add i64 %18, %20 store i64 %21, ptr %3, align 8 %22 = load i64, ptr %3, align 8 %23 = inttoptr i64 %22 to ptr ret ptr %23 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr6p9ih7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stack_alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @PROT_READ, align 4 %9 = load i32, ptr @PROT_WRITE, align 4 %10 = or i32 %8, %9 %11 = load i32, ptr @MAP_ANON, align 4 %12 = load i32, ptr @MAP_PRIVATE, align 4 %13 = or i32 %11, %12 %14 = call ptr @mmap(ptr noundef %6, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef -1, i32 noundef 0) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %17 to i64 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = add i64 %18, %20 store i64 %21, ptr %3, align 8 %22 = load i64, ptr %3, align 8 %23 = inttoptr i64 %22 to ptr ret ptr %23 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpou3ari5n.c' source_filename = "/tmp/tmpou3ari5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putwc(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = trunc i64 %5 to i8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fputc(i8 noundef signext %6, ptr noundef %7) ret i32 %8 } declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpou3ari5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putwc(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = trunc i64 %5 to i8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fputc(i8 noundef signext %6, ptr noundef %7) ret i32 %8 } declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}