llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpkh1ehln1.c' source_filename = "/tmp/tmpkh1ehln1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"f(%d)=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @f(i32 noundef 10) %2 = call i32 @printf(ptr noundef @.str, i32 noundef 10, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @f(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/tmpkh1ehln1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"f(%d)=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @f(i32 noundef 10) %2 = call i32 @printf(ptr noundef @.str, i32 noundef 10, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @f(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/tmpwtccw2lh.c' source_filename = "/tmp/tmpwtccw2lh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"[%s][%d]:%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/drsin/linuxCoreLearn/refs/heads/master/apue/day13/updsvr.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"192.168.0.200\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"bind!\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 12, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 12, i1 false) %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %21 12: ; preds = %0 br label %13 13: ; preds = %12 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28, ptr noundef @.str.2, ptr noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #4 unreachable 20: ; No predecessors! br label %21 21: ; preds = %20, %0 %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = call i32 @htons(i32 noundef 9999) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %27 = call i32 @inet_aton(ptr noundef @.str.3, ptr noundef %26) %28 = load i32, ptr %2, align 4 %29 = call i32 @bind(i32 noundef %28, ptr noundef %6, i32 noundef 12) %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %40 31: ; preds = %21 br label %32 32: ; preds = %31 %33 = load i32, ptr @stderr, align 4 %34 = load i32, ptr @errno, align 4 %35 = call ptr @strerror(i32 noundef %34) %36 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 34, ptr noundef @.str.4, ptr noundef %35) %37 = load i32, ptr @EXIT_FAILURE, align 4 %38 = call i32 @exit(i32 noundef %37) #4 unreachable 39: ; No predecessors! br label %40 40: ; preds = %39, %21 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 12, ptr %5, align 4 br label %42 42: ; preds = %40, %68 %43 = load i32, ptr %2, align 4 %44 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %45 = call i32 @recvfrom(i32 noundef %43, ptr noundef %44, i32 noundef 1024, i32 noundef 0, ptr noundef %7, ptr noundef %5) store i32 %45, ptr %3, align 4 %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %56 47: ; preds = %42 br label %48 48: ; preds = %47 %49 = load i32, ptr @stderr, align 4 %50 = load i32, ptr @errno, align 4 %51 = call ptr @strerror(i32 noundef %50) %52 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 40, ptr noundef @.str.6, ptr noundef %51) %53 = load i32, ptr @EXIT_FAILURE, align 4 %54 = call i32 @exit(i32 noundef %53) #4 unreachable 55: ; No predecessors! br label %68 56: ; preds = %42 %57 = load i32, ptr %3, align 4 %58 = icmp sgt i32 %57, 0 br i1 %58, label %59, label %67 59: ; preds = %56 %60 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %60) %62 = load i32, ptr %2, align 4 %63 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %5, align 4 %66 = call i32 @sendto(i32 noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef 0, ptr noundef %7, i32 noundef %65) br label %67 67: ; preds = %59, %56 br label %68 68: ; preds = %67, %55 br label %42 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @htons(i32 noundef) #2 declare i32 @inet_aton(ptr noundef, ptr noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwtccw2lh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"[%s][%d]:%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/drsin/linuxCoreLearn/refs/heads/master/apue/day13/updsvr.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"192.168.0.200\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"bind!\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 12, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 12, i1 false) %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %21 12: ; preds = %0 br label %13 13: ; preds = %12 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28, ptr noundef @.str.2, ptr noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #4 unreachable 20: ; No predecessors! br label %21 21: ; preds = %20, %0 %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = call i32 @htons(i32 noundef 9999) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %27 = call i32 @inet_aton(ptr noundef @.str.3, ptr noundef %26) %28 = load i32, ptr %2, align 4 %29 = call i32 @bind(i32 noundef %28, ptr noundef %6, i32 noundef 12) %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %40 31: ; preds = %21 br label %32 32: ; preds = %31 %33 = load i32, ptr @stderr, align 4 %34 = load i32, ptr @errno, align 4 %35 = call ptr @strerror(i32 noundef %34) %36 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 34, ptr noundef @.str.4, ptr noundef %35) %37 = load i32, ptr @EXIT_FAILURE, align 4 %38 = call i32 @exit(i32 noundef %37) #4 unreachable 39: ; No predecessors! br label %40 40: ; preds = %39, %21 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 12, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %44 = call i32 @recvfrom(i32 noundef %42, ptr noundef %43, i32 noundef 1024, i32 noundef 0, ptr noundef %7, ptr noundef %5) store i32 %44, ptr %3, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label %46, label %.lr.ph .lr.ph: ; preds = %40 br label %55 ._crit_edge: ; preds = %67 br label %46 46: ; preds = %._crit_edge, %40 br label %47 47: ; preds = %46 %48 = load i32, ptr @stderr, align 4 %49 = load i32, ptr @errno, align 4 %50 = call ptr @strerror(i32 noundef %49) %51 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 40, ptr noundef @.str.6, ptr noundef %50) %52 = load i32, ptr @EXIT_FAILURE, align 4 %53 = call i32 @exit(i32 noundef %52) #4 unreachable 54: ; No predecessors! unreachable 55: ; preds = %.lr.ph, %67 %56 = load i32, ptr %3, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %66 58: ; preds = %55 %59 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %59) %61 = load i32, ptr %2, align 4 %62 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %63 = load i32, ptr %3, align 4 %64 = load i32, ptr %5, align 4 %65 = call i32 @sendto(i32 noundef %61, ptr noundef %62, i32 noundef %63, i32 noundef 0, ptr noundef %7, i32 noundef %64) br label %66 66: ; preds = %58, %55 br label %67 67: ; preds = %66 %68 = load i32, ptr %2, align 4 %69 = call i32 @recvfrom(i32 noundef %68, ptr noundef %43, i32 noundef 1024, i32 noundef 0, ptr noundef %7, ptr noundef %5) store i32 %69, ptr %3, align 4 %70 = icmp eq i32 %69, -1 br i1 %70, label %._crit_edge, label %55 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @htons(i32 noundef) #2 declare i32 @inet_aton(ptr noundef, ptr noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiydk0lv7.c' source_filename = "/tmp/tmpiydk0lv7.c" target datalayout = "e-m:e-p270: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, i32, i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"Sun\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Mon\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"Tue\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Wed\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"Thu\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"Fri\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Sat\00", align 1 @__const.getdate.wday = private unnamed_addr constant [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [18 x i8] c"%d-%d-%d %d:%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getdate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [7 x ptr], align 16 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.getdate.wday, i64 56, i1 false) %6 = call i32 @time(ptr noundef %4) %7 = call ptr @localtime(ptr noundef %4) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = add nsw i32 1900, %11 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 1, %15 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 2 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 3 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 4 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 5 %28 = load i32, ptr %27, align 4 %29 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str.7, i32 noundef %12, i32 noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @time(ptr noundef) #2 declare ptr @localtime(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiydk0lv7.c" target datalayout = "e-m:e-p270: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, i32, i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"Sun\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Mon\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"Tue\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Wed\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"Thu\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"Fri\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Sat\00", align 1 @__const.getdate.wday = private unnamed_addr constant [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [18 x i8] c"%d-%d-%d %d:%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getdate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [7 x ptr], align 16 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.getdate.wday, i64 56, i1 false) %6 = call i32 @time(ptr noundef %4) %7 = call ptr @localtime(ptr noundef %4) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = add nsw i32 1900, %11 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 1, %15 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 2 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 3 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 4 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 5 %28 = load i32, ptr %27, align 4 %29 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str.7, i32 noundef %12, i32 noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @time(ptr noundef) #2 declare ptr @localtime(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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"}
; ModuleID = '/tmp/tmp5n1kozt7.c' source_filename = "/tmp/tmp5n1kozt7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16 @CheckSum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 0, ptr %5, align 8 br label %8 8: ; preds = %11, %2 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i16, ptr %12, i32 1 store ptr %13, ptr %3, align 8 %14 = load i16, ptr %12, align 2 %15 = zext i16 %14 to i64 %16 = load i64, ptr %5, align 8 %17 = add nsw i64 %16, %15 store i64 %17, ptr %5, align 8 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 2 store i32 %19, ptr %4, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %30 23: ; preds = %20 store i16 0, ptr %6, align 2 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %6, align 2 %26 = load i16, ptr %6, align 2 %27 = zext i16 %26 to i64 %28 = load i64, ptr %5, align 8 %29 = add nsw i64 %28, %27 store i64 %29, ptr %5, align 8 br label %30 30: ; preds = %23, %20 %31 = load i64, ptr %5, align 8 %32 = ashr i64 %31, 16 %33 = load i64, ptr %5, align 8 %34 = and i64 %33, 65535 %35 = add nsw i64 %32, %34 store i64 %35, ptr %5, align 8 %36 = load i64, ptr %5, align 8 %37 = load i64, ptr %5, align 8 %38 = ashr i64 %37, 16 %39 = add nsw i64 %36, %38 store i64 %39, ptr %5, align 8 %40 = load i64, ptr %5, align 8 %41 = xor i64 %40, -1 %42 = trunc i64 %41 to i16 store i16 %42, ptr %7, align 2 %43 = load i16, ptr %7, align 2 ret i16 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5n1kozt7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16 @CheckSum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 0, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i16, ptr %11, i32 1 store ptr %12, ptr %3, align 8 %13 = load i16, ptr %11, align 2 %14 = zext i16 %13 to i64 %15 = load i64, ptr %5, align 8 %16 = add nsw i64 %15, %14 store i64 %16, ptr %5, align 8 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 2 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 1 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %21 21: ; preds = %._crit_edge, %2 %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %31 24: ; preds = %21 store i16 0, ptr %6, align 2 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %25, align 4 store i32 %26, ptr %6, align 2 %27 = load i16, ptr %6, align 2 %28 = zext i16 %27 to i64 %29 = load i64, ptr %5, align 8 %30 = add nsw i64 %29, %28 store i64 %30, ptr %5, align 8 br label %31 31: ; preds = %24, %21 %32 = load i64, ptr %5, align 8 %33 = ashr i64 %32, 16 %34 = load i64, ptr %5, align 8 %35 = and i64 %34, 65535 %36 = add nsw i64 %33, %35 store i64 %36, ptr %5, align 8 %37 = load i64, ptr %5, align 8 %38 = load i64, ptr %5, align 8 %39 = ashr i64 %38, 16 %40 = add nsw i64 %37, %39 store i64 %40, ptr %5, align 8 %41 = load i64, ptr %5, align 8 %42 = xor i64 %41, -1 %43 = trunc i64 %42 to i16 store i16 %43, ptr %7, align 2 %44 = load i16, ptr %7, align 2 ret i16 %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 = '/tmp/tmp175nisq9.c' source_filename = "/tmp/tmp175nisq9.c" target datalayout = "e-m:e-p270: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/tmp175nisq9.c" target datalayout = "e-m:e-p270: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/tmp1vqbgvz1.c' source_filename = "/tmp/tmp1vqbgvz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name:john age:40 tel:082-313530\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%8s\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%[^:]\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%[^:]:%s\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"name:%s age:%d tel:%s\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"%s %d %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"%*[^:]:%s %*[^:]:%d %*[^:]:%s\00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"http://ccckmit.wikidot.com/cp/list/hello.txt\00", align 1 @.str.11 = private unnamed_addr constant [35 x i8] c"%[^:]:%*2[/]%[^/]/%[a-zA-Z0-9._/-]\00", align 1 @.str.12 = private unnamed_addr constant [29 x i8] c"protocol=%s site=%s path=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca [50 x i8], align 16 %4 = alloca [20 x i8], align 16 %5 = alloca [20 x i8], align 16 %6 = alloca [20 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca [10 x i8], align 1 %9 = alloca [50 x i8], align 16 %10 = alloca [50 x i8], align 16 store i32 0, ptr %1, align 4 %11 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %12 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %11) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13) %15 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %16 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.3, ptr noundef %15) %17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %18 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17) %19 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %20 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.4, ptr noundef %19) %21 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %22 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %23 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %24 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %25 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.5, ptr noundef %23, ptr noundef %24) %26 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %28 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %26, ptr noundef %27) %29 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %30 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %31 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.7, ptr noundef %29, ptr noundef %7, ptr noundef %30) %32 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %33 = load i32, ptr %7, align 4 %34 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %32, i32 noundef %33, ptr noundef %34) %36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %37 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %38 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.9, ptr noundef %36, ptr noundef %7, ptr noundef %37) %39 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %40 = load i32, ptr %7, align 4 %41 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %42 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %39, i32 noundef %40, ptr noundef %41) %43 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0 %44 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %45 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %46 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef %43, ptr noundef %44, ptr noundef %45) %47 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0 %48 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %49 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %50 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %47, ptr noundef %48, ptr noundef %49) ret i32 1 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1vqbgvz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name:john age:40 tel:082-313530\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%8s\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%[^:]\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%[^:]:%s\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"name:%s age:%d tel:%s\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"%s %d %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"%*[^:]:%s %*[^:]:%d %*[^:]:%s\00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"http://ccckmit.wikidot.com/cp/list/hello.txt\00", align 1 @.str.11 = private unnamed_addr constant [35 x i8] c"%[^:]:%*2[/]%[^/]/%[a-zA-Z0-9._/-]\00", align 1 @.str.12 = private unnamed_addr constant [29 x i8] c"protocol=%s site=%s path=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca [50 x i8], align 16 %4 = alloca [20 x i8], align 16 %5 = alloca [20 x i8], align 16 %6 = alloca [20 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca [10 x i8], align 1 %9 = alloca [50 x i8], align 16 %10 = alloca [50 x i8], align 16 store i32 0, ptr %1, align 4 %11 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %12 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %11) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13) %15 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %16 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.3, ptr noundef %15) %17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %18 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17) %19 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %20 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.4, ptr noundef %19) %21 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %22 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %23 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %24 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %25 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.5, ptr noundef %23, ptr noundef %24) %26 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %28 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %26, ptr noundef %27) %29 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %30 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %31 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.7, ptr noundef %29, ptr noundef %7, ptr noundef %30) %32 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %33 = load i32, ptr %7, align 4 %34 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %32, i32 noundef %33, ptr noundef %34) %36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %37 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %38 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str, ptr noundef @.str.9, ptr noundef %36, ptr noundef %7, ptr noundef %37) %39 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %40 = load i32, ptr %7, align 4 %41 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %42 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %39, i32 noundef %40, ptr noundef %41) %43 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0 %44 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %45 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %46 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef %43, ptr noundef %44, ptr noundef %45) %47 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0 %48 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %49 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %50 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %47, ptr noundef %48, ptr noundef %49) ret i32 1 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcevy8cox.c' source_filename = "/tmp/tmpcevy8cox.c" target datalayout = "e-m:e-p270: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 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"servmulti : Probleme socket\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"servmulti : erreur bind\0A\00", align 1 @SOMAXCONN = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"servmulti : erreur listen\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"servmulti : erreur accept\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"server: fork error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca %struct.sockaddr_in, align 4 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 2 br i1 %16, label %17, label %20 17: ; preds = %2 %18 = call i32 (...) @usage() %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr @PF_INET, align 4 %22 = load i32, ptr @SOCK_STREAM, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = call i32 @perror(ptr noundef @.str) %27 = call i32 @exit(i32 noundef 2) #3 unreachable 28: ; preds = %20 %29 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 12) %30 = load i32, ptr @PF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = load i32, ptr @INADDR_ANY, align 4 %33 = call i32 @htonl(i32 noundef %32) %34 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i32 0, i32 0 store i32 %33, ptr %35, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %6, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %12, i32 noundef 12) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %28 %46 = call i32 @perror(ptr noundef @.str.1) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %28 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr @SOMAXCONN, align 4 %51 = call i64 @listen(i32 noundef %49, i32 noundef %50) %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %48 %54 = call i32 @perror(ptr noundef @.str.2) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %48 br label %57 57: ; preds = %85, %56 store i32 12, ptr %14, align 4 %58 = load i32, ptr %6, align 4 %59 = call i32 @accept(i32 noundef %58, ptr noundef %13, ptr noundef %14) store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %57 %63 = call i32 @perror(ptr noundef @.str.3) %64 = call i32 @exit(i32 noundef 1) #3 unreachable 65: ; preds = %57 %66 = call i32 (...) @fork() store i32 %66, ptr %9, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %65 %69 = call i32 @perror(ptr noundef @.str.4) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %65 %72 = load i32, ptr %9, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %84 74: ; preds = %71 %75 = load i32, ptr %6, align 4 %76 = call i32 @close(i32 noundef %75) br label %77 77: ; preds = %81, %74 %78 = load i32, ptr %8, align 4 %79 = call i64 @str_echo(i32 noundef %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %77 br label %77, !llvm.loop !6 82: ; preds = %77 %83 = call i32 @exit(i32 noundef 0) #3 unreachable 84: ; preds = %71 br label %85 85: ; preds = %84 %86 = load i32, ptr %8, align 4 %87 = call i32 @close(i32 noundef %86) br label %57 } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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 i32 @atoi(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i64 @str_echo(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcevy8cox.c" target datalayout = "e-m:e-p270: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 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"servmulti : Probleme socket\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"servmulti : erreur bind\0A\00", align 1 @SOMAXCONN = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"servmulti : erreur listen\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"servmulti : erreur accept\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"server: fork error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca %struct.sockaddr_in, align 4 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 2 br i1 %16, label %17, label %20 17: ; preds = %2 %18 = call i32 (...) @usage() %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr @PF_INET, align 4 %22 = load i32, ptr @SOCK_STREAM, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = call i32 @perror(ptr noundef @.str) %27 = call i32 @exit(i32 noundef 2) #3 unreachable 28: ; preds = %20 %29 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 12) %30 = load i32, ptr @PF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = load i32, ptr @INADDR_ANY, align 4 %33 = call i32 @htonl(i32 noundef %32) %34 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i32 0, i32 0 store i32 %33, ptr %35, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %6, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %12, i32 noundef 12) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %28 %46 = call i32 @perror(ptr noundef @.str.1) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %28 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr @SOMAXCONN, align 4 %51 = call i64 @listen(i32 noundef %49, i32 noundef %50) %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %48 %54 = call i32 @perror(ptr noundef @.str.2) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %48 store i32 12, ptr %14, align 4 %57 = load i32, ptr %6, align 4 %58 = call i32 @accept(i32 noundef %57, ptr noundef %13, ptr noundef %14) store i32 %58, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %.lr.ph .lr.ph: ; preds = %56 br label %64 ._crit_edge: ; preds = %83 br label %61 61: ; preds = %._crit_edge, %56 %62 = call i32 @perror(ptr noundef @.str.3) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %.lr.ph, %83 %65 = call i32 (...) @fork() store i32 %65, ptr %9, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %64 %68 = call i32 @perror(ptr noundef @.str.4) %69 = call i32 @exit(i32 noundef 1) #3 unreachable 70: ; preds = %64 %71 = load i32, ptr %9, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %82 73: ; preds = %70 %74 = load i32, ptr %6, align 4 %75 = call i32 @close(i32 noundef %74) br label %76 76: ; preds = %76, %73 %77 = load i32, ptr %8, align 4 %78 = call i64 @str_echo(i32 noundef %77) %79 = icmp ne i64 %78, 0 br i1 %79, label %76, label %80, !llvm.loop !6 80: ; preds = %76 %81 = call i32 @exit(i32 noundef 0) #3 unreachable 82: ; preds = %70 br label %83 83: ; preds = %82 %84 = load i32, ptr %8, align 4 %85 = call i32 @close(i32 noundef %84) store i32 12, ptr %14, align 4 %86 = load i32, ptr %6, align 4 %87 = call i32 @accept(i32 noundef %86, ptr noundef %13, ptr noundef %14) store i32 %87, ptr %8, align 4 %88 = load i32, ptr %8, align 4 %89 = icmp slt i32 %88, 0 br i1 %89, label %._crit_edge, label %64 } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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 i32 @atoi(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i64 @str_echo(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprbxm8n12.c' source_filename = "/tmp/tmprbxm8n12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_image(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [4096 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %12, %2 %8 = load i32, ptr %3, align 4 %9 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 4096) store i32 %10, ptr %6, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %15 = load i32, ptr %6, align 4 %16 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef %15) br label %7, !llvm.loop !6 17: ; preds = %7 ret void } declare i32 @read(i32 noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprbxm8n12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_image(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [4096 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef 4096) store i32 %9, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = call i32 @write(i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = call i32 @read(i32 noundef %16, ptr noundef %8, i32 noundef 4096) store i32 %17, ptr %6, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %19 19: ; preds = %._crit_edge, %2 ret void } declare i32 @read(i32 noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmpr_da3n7j.c' source_filename = "/tmp/tmpr_da3n7j.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @microsleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 1000000 br i1 %5, label %6, label %16 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 1000000 %9 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load i32, ptr %2, align 4 %11 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = mul nsw i32 %12, 1000000 %14 = sub nsw i32 %10, %13 %15 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i32 %14, ptr %15, align 4 br label %20 16: ; preds = %1 %17 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 0, ptr %17, align 4 %18 = load i32, ptr %2, align 4 %19 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i32 %18, ptr %19, align 4 br label %20 20: ; preds = %16, %6 %21 = call i32 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3) ret i32 %21 } declare i32 @select(i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_da3n7j.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @microsleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 1000000 br i1 %5, label %6, label %16 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 1000000 %9 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load i32, ptr %2, align 4 %11 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = mul nsw i32 %12, 1000000 %14 = sub nsw i32 %10, %13 %15 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i32 %14, ptr %15, align 4 br label %20 16: ; preds = %1 %17 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 0, ptr %17, align 4 %18 = load i32, ptr %2, align 4 %19 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i32 %18, ptr %19, align 4 br label %20 20: ; preds = %16, %6 %21 = call i32 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3) ret i32 %21 } declare i32 @select(i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2tz9a1fk.c' source_filename = "/tmp/tmp2tz9a1fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call double @strtod(ptr noundef %4, i32 noundef 0) store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 ret double %6 } declare double @strtod(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/tmp2tz9a1fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call double @strtod(ptr noundef %4, i32 noundef 0) store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 ret double %6 } declare double @strtod(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/tmpsstdrq8a.c' source_filename = "/tmp/tmpsstdrq8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @error(i32 noundef 12) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %2, align 4 %13 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %12) %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @malloc(i32 noundef) #1 declare i32 @error(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsstdrq8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @error(i32 noundef 12) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %2, align 4 %13 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %12) %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @malloc(i32 noundef) #1 declare i32 @error(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqdeain1f.c' source_filename = "/tmp/tmpqdeain1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Soy el thread %d, en solitario en la seccion 11a \0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"Soy el thread %d, en solitario en la secci\C3\B3n 22a \0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"Soy el thread %d, en solitario en la seccion 33a \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @omp_get_thread_num() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str.2, i32 noundef %9) ret i32 0 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqdeain1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Soy el thread %d, en solitario en la seccion 11a \0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"Soy el thread %d, en solitario en la secci\C3\B3n 22a \0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"Soy el thread %d, en solitario en la seccion 33a \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @omp_get_thread_num() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str.2, i32 noundef %9) ret i32 0 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsye81o7m.c' source_filename = "/tmp/tmpsye81o7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_close(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 @win32_rm_dirpath(i32 noundef %3) %5 = icmp ne i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 @__real_close(i32 noundef %7) br label %9 9: ; preds = %6, %1 ret i32 0 } declare i32 @win32_rm_dirpath(i32 noundef) #1 declare i32 @__real_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsye81o7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_close(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 @win32_rm_dirpath(i32 noundef %3) %5 = icmp ne i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 @__real_close(i32 noundef %7) br label %9 9: ; preds = %6, %1 ret i32 0 } declare i32 @win32_rm_dirpath(i32 noundef) #1 declare i32 @__real_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_uenodbs.c' source_filename = "/tmp/tmp_uenodbs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Led8x8driver_CloseDisplay() #0 { %1 = call i32 (...) @dRow0Off() %2 = call i32 (...) @dRow1Off() %3 = call i32 (...) @dRow2Off() %4 = call i32 (...) @dRow3Off() %5 = call i32 (...) @dRow4Off() %6 = call i32 (...) @dRow5Off() %7 = call i32 (...) @dRow6Off() %8 = call i32 (...) @dRow7Off() %9 = call i32 (...) @dCol0Off() %10 = call i32 (...) @dCol1Off() %11 = call i32 (...) @dCol2Off() %12 = call i32 (...) @dCol3Off() %13 = call i32 (...) @dCol4Off() %14 = call i32 (...) @dCol5Off() %15 = call i32 (...) @dCol6Off() %16 = call i32 (...) @dCol7Off() ret void } declare i32 @dRow0Off(...) #1 declare i32 @dRow1Off(...) #1 declare i32 @dRow2Off(...) #1 declare i32 @dRow3Off(...) #1 declare i32 @dRow4Off(...) #1 declare i32 @dRow5Off(...) #1 declare i32 @dRow6Off(...) #1 declare i32 @dRow7Off(...) #1 declare i32 @dCol0Off(...) #1 declare i32 @dCol1Off(...) #1 declare i32 @dCol2Off(...) #1 declare i32 @dCol3Off(...) #1 declare i32 @dCol4Off(...) #1 declare i32 @dCol5Off(...) #1 declare i32 @dCol6Off(...) #1 declare i32 @dCol7Off(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_uenodbs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Led8x8driver_CloseDisplay() #0 { %1 = call i32 (...) @dRow0Off() %2 = call i32 (...) @dRow1Off() %3 = call i32 (...) @dRow2Off() %4 = call i32 (...) @dRow3Off() %5 = call i32 (...) @dRow4Off() %6 = call i32 (...) @dRow5Off() %7 = call i32 (...) @dRow6Off() %8 = call i32 (...) @dRow7Off() %9 = call i32 (...) @dCol0Off() %10 = call i32 (...) @dCol1Off() %11 = call i32 (...) @dCol2Off() %12 = call i32 (...) @dCol3Off() %13 = call i32 (...) @dCol4Off() %14 = call i32 (...) @dCol5Off() %15 = call i32 (...) @dCol6Off() %16 = call i32 (...) @dCol7Off() ret void } declare i32 @dRow0Off(...) #1 declare i32 @dRow1Off(...) #1 declare i32 @dRow2Off(...) #1 declare i32 @dRow3Off(...) #1 declare i32 @dRow4Off(...) #1 declare i32 @dRow5Off(...) #1 declare i32 @dRow6Off(...) #1 declare i32 @dRow7Off(...) #1 declare i32 @dCol0Off(...) #1 declare i32 @dCol1Off(...) #1 declare i32 @dCol2Off(...) #1 declare i32 @dCol3Off(...) #1 declare i32 @dCol4Off(...) #1 declare i32 @dCol5Off(...) #1 declare i32 @dCol6Off(...) #1 declare i32 @dCol7Off(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp28ej94u3.c' source_filename = "/tmp/tmp28ej94u3.c" target datalayout = "e-m:e-p270: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/tmp28ej94u3.c" target datalayout = "e-m:e-p270: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/tmpa_mtgn3x.c' source_filename = "/tmp/tmpa_mtgn3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [192 x i8] c"create table benchmark.user (id INT(11) not null auto_increment,name varchar(100) not null,email varchar(100) not null,password varchar(100) not null,hmac blob,history blob,primary key (id));\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"createDefaultTable::Error %u: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @createDefaultTable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @mysql_query(ptr noundef %4, ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i32 @mysql_errno(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call ptr @mysql_error(ptr noundef %11) %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, ptr noundef %12) br label %14 14: ; preds = %8, %1 ret void } declare i64 @mysql_query(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @mysql_errno(ptr noundef) #1 declare ptr @mysql_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/tmpa_mtgn3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [192 x i8] c"create table benchmark.user (id INT(11) not null auto_increment,name varchar(100) not null,email varchar(100) not null,password varchar(100) not null,hmac blob,history blob,primary key (id));\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"createDefaultTable::Error %u: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @createDefaultTable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @mysql_query(ptr noundef %4, ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i32 @mysql_errno(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call ptr @mysql_error(ptr noundef %11) %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, ptr noundef %12) br label %14 14: ; preds = %8, %1 ret void } declare i64 @mysql_query(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @mysql_errno(ptr noundef) #1 declare ptr @mysql_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/tmpdj4lgsys.c' source_filename = "/tmp/tmpdj4lgsys.c" target datalayout = "e-m:e-p270: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/tmpdj4lgsys.c" target datalayout = "e-m:e-p270: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/tmpqoj133yb.c' source_filename = "/tmp/tmpqoj133yb.c" target datalayout = "e-m:e-p270: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/tmpqoj133yb.c" target datalayout = "e-m:e-p270: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/tmpdvfvc2cn.c' source_filename = "/tmp/tmpdvfvc2cn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i16 0, ptr %3, align 2 br label %6 6: ; preds = %18, %0 %7 = load i16, ptr %3, align 2 %8 = zext i16 %7 to i32 %9 = icmp slt i32 %8, 50 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load i16, ptr %3, align 2 %12 = zext i16 %11 to i64 %13 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13) %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %17 16: ; preds = %10 br label %21 17: ; preds = %10 br label %18 18: ; preds = %17 %19 = load i16, ptr %3, align 2 %20 = add i16 %19, 1 store i16 %20, ptr %3, align 2 br label %6, !llvm.loop !6 21: ; preds = %16, %6 %22 = load i16, ptr %3, align 2 store i16 %22, ptr %4, align 2 %23 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 store ptr %23, ptr %5, align 8 store i16 0, ptr %3, align 2 br label %24 24: ; preds = %42, %21 %25 = load i16, ptr %3, align 2 %26 = zext i16 %25 to i32 %27 = icmp slt i32 %26, 50 br i1 %27, label %28, label %45 28: ; preds = %24 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %38, label %32 32: ; preds = %28 %33 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %34 = load i16, ptr %4, align 2 %35 = load ptr, ptr %5, align 8 %36 = call i64 @is_in_bound(ptr noundef %33, i16 noundef zeroext %34, ptr noundef %35) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %32, %28 br label %45 39: ; preds = %32 %40 = load ptr, ptr %5, align 8 %41 = call ptr @hop(ptr noundef %40) store ptr %41, ptr %5, align 8 br label %42 42: ; preds = %39 %43 = load i16, ptr %3, align 2 %44 = add i16 %43, 1 store i16 %44, ptr %3, align 2 br label %24, !llvm.loop !8 45: ; preds = %38, %24 %46 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %47 = load i16, ptr %4, align 2 %48 = load ptr, ptr %5, align 8 %49 = call i64 @is_in_bound(ptr noundef %46, i16 noundef zeroext %47, ptr noundef %48) %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %45 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %69 53: ; preds = %45 %54 = load i16, ptr %3, align 2 %55 = zext i16 %54 to i32 %56 = icmp eq i32 %55, 50 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %68 59: ; preds = %53 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %60, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %65 63: ; preds = %59 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %67 65: ; preds = %59 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %67 67: ; preds = %65, %63 br label %68 68: ; preds = %67, %57 br label %69 69: ; preds = %68, %51 %70 = load i16, ptr %3, align 2 %71 = zext i16 %70 to i32 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %71) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @is_in_bound(ptr noundef, i16 noundef zeroext, ptr noundef) #1 declare ptr @hop(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdvfvc2cn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i16 0, ptr %3, align 2 %6 = load i16, ptr %3, align 2 %7 = zext i16 %6 to i32 %8 = icmp slt i32 %7, 50 br i1 %8, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = load i16, ptr %3, align 2 %11 = zext i16 %10 to i64 %12 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %11 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12) %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %16 15: ; preds = %9 br label %23 16: ; preds = %9 br label %17 17: ; preds = %16 %18 = load i16, ptr %3, align 2 %19 = add i16 %18, 1 store i16 %19, ptr %3, align 2 %20 = load i16, ptr %3, align 2 %21 = zext i16 %20 to i32 %22 = icmp slt i32 %21, 50 br i1 %22, label %9, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %17 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %0 br label %23 23: ; preds = %.loopexit1, %15 %24 = load i16, ptr %3, align 2 store i16 %24, ptr %4, align 2 %25 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 store ptr %25, ptr %5, align 8 store i16 0, ptr %3, align 2 %26 = load i16, ptr %3, align 2 %27 = zext i16 %26 to i32 %28 = icmp slt i32 %27, 50 br i1 %28, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %23 br label %29 29: ; preds = %.lr.ph2, %43 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %39, label %33 33: ; preds = %29 %34 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %35 = load i16, ptr %4, align 2 %36 = load ptr, ptr %5, align 8 %37 = call i64 @is_in_bound(ptr noundef %34, i16 noundef zeroext %35, ptr noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %33, %29 br label %49 40: ; preds = %33 %41 = load ptr, ptr %5, align 8 %42 = call ptr @hop(ptr noundef %41) store ptr %42, ptr %5, align 8 br label %43 43: ; preds = %40 %44 = load i16, ptr %3, align 2 %45 = add i16 %44, 1 store i16 %45, ptr %3, align 2 %46 = load i16, ptr %3, align 2 %47 = zext i16 %46 to i32 %48 = icmp slt i32 %47, 50 br i1 %48, label %29, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %43 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %23 br label %49 49: ; preds = %.loopexit, %39 %50 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %51 = load i16, ptr %4, align 2 %52 = load ptr, ptr %5, align 8 %53 = call i64 @is_in_bound(ptr noundef %50, i16 noundef zeroext %51, ptr noundef %52) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %49 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %73 57: ; preds = %49 %58 = load i16, ptr %3, align 2 %59 = zext i16 %58 to i32 %60 = icmp eq i32 %59, 50 br i1 %60, label %61, label %63 61: ; preds = %57 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %72 63: ; preds = %57 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %64, align 4 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %71 69: ; preds = %63 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %71 71: ; preds = %69, %67 br label %72 72: ; preds = %71, %61 br label %73 73: ; preds = %72, %55 %74 = load i16, ptr %3, align 2 %75 = zext i16 %74 to i32 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %75) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @is_in_bound(ptr noundef, i16 noundef zeroext, ptr noundef) #1 declare ptr @hop(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmhg5ql0r.c' source_filename = "/tmp/tmpmhg5ql0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @EOF, align 4 store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) 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/tmpmhg5ql0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @EOF, align 4 store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) 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/tmpjzl913nh.c' source_filename = "/tmp/tmpjzl913nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @max = external global i32, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @linea_max = external global [1000 x i8], align 16 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr @max, align 4 br label %3 3: ; preds = %17, %0 %4 = call i32 (...) @obtenlinea() store i32 %4, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %2, align 4 store i32 %10, ptr @max, align 4 %11 = call i32 (...) @voltea() br label %12 12: ; preds = %9, %6 %13 = load i32, ptr @max, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @linea_max) br label %17 17: ; preds = %15, %12 store i32 0, ptr @max, align 4 br label %3, !llvm.loop !6 18: ; preds = %3 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @obtenlinea(...) #1 declare i32 @voltea(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjzl913nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @max = external global i32, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @linea_max = external global [1000 x i8], align 16 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr @max, align 4 %3 = call i32 (...) @obtenlinea() store i32 %3, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %16 %6 = load i32, ptr %2, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %5 %9 = load i32, ptr %2, align 4 store i32 %9, ptr @max, align 4 %10 = call i32 (...) @voltea() br label %11 11: ; preds = %8, %5 %12 = load i32, ptr @max, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @linea_max) br label %16 16: ; preds = %14, %11 store i32 0, ptr @max, align 4 %17 = call i32 (...) @obtenlinea() store i32 %17, ptr %2, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @obtenlinea(...) #1 declare i32 @voltea(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphk51xoiw.c' source_filename = "/tmp/tmphk51xoiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fetchPutURL(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fetchParseURL(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %3, align 8 br label %19 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = call ptr @fetchPut(ptr noundef %13, ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fetchFreeURL(ptr noundef %16) %18 = load ptr, ptr %7, align 8 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %12, %11 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare ptr @fetchParseURL(ptr noundef) #1 declare ptr @fetchPut(ptr noundef, ptr noundef) #1 declare i32 @fetchFreeURL(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphk51xoiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fetchPutURL(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fetchParseURL(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %3, align 8 br label %19 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = call ptr @fetchPut(ptr noundef %13, ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fetchFreeURL(ptr noundef %16) %18 = load ptr, ptr %7, align 8 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %12, %11 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare ptr @fetchParseURL(ptr noundef) #1 declare ptr @fetchPut(ptr noundef, ptr noundef) #1 declare i32 @fetchFreeURL(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph3r9e9tb.c' source_filename = "/tmp/tmph3r9e9tb.c" target datalayout = "e-m:e-p270: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 @STDOUT_FILENO = 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/tmph3r9e9tb.c" target datalayout = "e-m:e-p270: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 @STDOUT_FILENO = 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/tmpwpbrogd7.c' source_filename = "/tmp/tmpwpbrogd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PEM_write_PKCS8PrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load i32, ptr %12, align 4 %20 = load ptr, ptr %13, align 8 %21 = load ptr, ptr %14, align 8 %22 = call i32 @do_pk8pkey_fp(ptr noundef %15, ptr noundef %16, i32 noundef 0, i32 noundef -1, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, ptr noundef %21) ret i32 %22 } declare i32 @do_pk8pkey_fp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwpbrogd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PEM_write_PKCS8PrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load i32, ptr %12, align 4 %20 = load ptr, ptr %13, align 8 %21 = load ptr, ptr %14, align 8 %22 = call i32 @do_pk8pkey_fp(ptr noundef %15, ptr noundef %16, i32 noundef 0, i32 noundef -1, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, ptr noundef %21) ret i32 %22 } declare i32 @do_pk8pkey_fp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1nmogn14.c' source_filename = "/tmp/tmp1nmogn14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f25(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, 33554431 %5 = icmp uge i64 %4, 16777218 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (...) @abort() #2 unreachable 8: ; preds = %1 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { 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/tmp1nmogn14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f25(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, 33554431 %5 = icmp uge i64 %4, 16777218 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (...) @abort() #2 unreachable 8: ; preds = %1 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { 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/tmpbhnlypu0.c' source_filename = "/tmp/tmpbhnlypu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Before insert\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 [14 x i8] c"After insert\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"\0Areturn value of input method: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"After insert when array stack is full\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"return value of input method: %d\0A\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"Queue before any value is fetched\0A\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c"........................................\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c"\0A........................................\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"fetch value: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @initQue(ptr noundef %8, i32 noundef 5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %11 11: ; preds = %21, %0 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 5 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %11, !llvm.loop !6 24: ; preds = %11 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %27 = load ptr, ptr %3, align 8 %28 = call i32 @input(ptr noundef %27, i32 noundef 3, i32 noundef 5) store i32 %28, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %29 29: ; preds = %39, %24 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %32, label %42 32: ; preds = %29 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 br label %29, !llvm.loop !8 42: ; preds = %29 %43 = load i32, ptr %5, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %46 = load ptr, ptr %3, align 8 %47 = call i32 @input(ptr noundef %46, i32 noundef 4, i32 noundef 5) store i32 %47, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %48 48: ; preds = %58, %42 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %51, label %61 51: ; preds = %48 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %56) br label %58 58: ; preds = %51 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 br label %48, !llvm.loop !9 61: ; preds = %48 %62 = load i32, ptr %5, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %62) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %65 = load ptr, ptr %3, align 8 %66 = call i32 @input(ptr noundef %65, i32 noundef 5, i32 noundef 5) store i32 %66, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %67 67: ; preds = %77, %61 %68 = load i32, ptr %4, align 4 %69 = icmp slt i32 %68, 5 br i1 %69, label %70, label %80 70: ; preds = %67 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %4, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 %75 = load i32, ptr %74, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %75) br label %77 77: ; preds = %70 %78 = load i32, ptr %4, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %4, align 4 br label %67, !llvm.loop !10 80: ; preds = %67 %81 = load i32, ptr %5, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %81) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %84 = load ptr, ptr %3, align 8 %85 = call i32 @input(ptr noundef %84, i32 noundef 8, i32 noundef 5) store i32 %85, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %86 86: ; preds = %96, %80 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %87, 5 br i1 %88, label %89, label %99 89: ; preds = %86 %90 = load ptr, ptr %3, align 8 %91 = load i32, ptr %4, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %94) br label %96 96: ; preds = %89 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %4, align 4 br label %86, !llvm.loop !11 99: ; preds = %86 %100 = load i32, ptr %5, align 4 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %100) %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %103 = load ptr, ptr %3, align 8 %104 = call i32 @input(ptr noundef %103, i32 noundef 7, i32 noundef 5) store i32 %104, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %105 105: ; preds = %114, %99 %106 = load i32, ptr %4, align 4 %107 = icmp slt i32 %106, 5 br i1 %107, label %108, label %117 108: ; preds = %105 %109 = load i32, ptr %4, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %112) br label %114 114: ; preds = %108 %115 = load i32, ptr %4, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %4, align 4 br label %105, !llvm.loop !12 117: ; preds = %105 %118 = load i32, ptr %5, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %118) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %121 = load ptr, ptr %3, align 8 %122 = call i32 @input(ptr noundef %121, i32 noundef 6, i32 noundef 5) store i32 %122, ptr %5, align 4 %123 = load i32, ptr %5, align 4 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %123) %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %4, align 4 br label %127 127: ; preds = %136, %117 %128 = load i32, ptr %4, align 4 %129 = icmp slt i32 %128, 5 br i1 %129, label %130, label %139 130: ; preds = %127 %131 = load i32, ptr %4, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %132 %134 = load i32, ptr %133, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %134) br label %136 136: ; preds = %130 %137 = load i32, ptr %4, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %4, align 4 br label %127, !llvm.loop !13 139: ; preds = %127 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %141 = load ptr, ptr %3, align 8 %142 = call i32 @output(ptr noundef %141, i32 noundef 5) store i32 %142, ptr %6, align 4 %143 = load i32, ptr %6, align 4 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %143) store i32 0, ptr %4, align 4 br label %145 145: ; preds = %154, %139 %146 = load i32, ptr %4, align 4 %147 = icmp slt i32 %146, 5 br i1 %147, label %148, label %157 148: ; preds = %145 %149 = load i32, ptr %4, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %150 %152 = load i32, ptr %151, align 4 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %152) br label %154 154: ; preds = %148 %155 = load i32, ptr %4, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %4, align 4 br label %145, !llvm.loop !14 157: ; preds = %145 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %159 = load ptr, ptr %3, align 8 %160 = call i32 @output(ptr noundef %159, i32 noundef 5) store i32 %160, ptr %6, align 4 %161 = load i32, ptr %6, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %161) store i32 0, ptr %4, align 4 br label %163 163: ; preds = %172, %157 %164 = load i32, ptr %4, align 4 %165 = icmp slt i32 %164, 5 br i1 %165, label %166, label %175 166: ; preds = %163 %167 = load i32, ptr %4, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %170) br label %172 172: ; preds = %166 %173 = load i32, ptr %4, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %4, align 4 br label %163, !llvm.loop !15 175: ; preds = %163 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %177 = load ptr, ptr %3, align 8 %178 = call i32 @output(ptr noundef %177, i32 noundef 5) store i32 %178, ptr %6, align 4 %179 = load i32, ptr %6, align 4 %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %179) store i32 0, ptr %4, align 4 br label %181 181: ; preds = %190, %175 %182 = load i32, ptr %4, align 4 %183 = icmp slt i32 %182, 5 br i1 %183, label %184, label %193 184: ; preds = %181 %185 = load i32, ptr %4, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %186 %188 = load i32, ptr %187, align 4 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %188) br label %190 190: ; preds = %184 %191 = load i32, ptr %4, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %4, align 4 br label %181, !llvm.loop !16 193: ; preds = %181 %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %195 = load ptr, ptr %3, align 8 %196 = call i32 @output(ptr noundef %195, i32 noundef 5) store i32 %196, ptr %6, align 4 %197 = load i32, ptr %6, align 4 %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %197) store i32 0, ptr %4, align 4 br label %199 199: ; preds = %208, %193 %200 = load i32, ptr %4, align 4 %201 = icmp slt i32 %200, 5 br i1 %201, label %202, label %211 202: ; preds = %199 %203 = load i32, ptr %4, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %204 %206 = load i32, ptr %205, align 4 %207 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %206) br label %208 208: ; preds = %202 %209 = load i32, ptr %4, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %4, align 4 br label %199, !llvm.loop !17 211: ; preds = %199 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %213 = load ptr, ptr %3, align 8 %214 = call i32 @output(ptr noundef %213, i32 noundef 5) store i32 %214, ptr %6, align 4 %215 = load i32, ptr %6, align 4 %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %215) store i32 0, ptr %4, align 4 br label %217 217: ; preds = %226, %211 %218 = load i32, ptr %4, align 4 %219 = icmp slt i32 %218, 5 br i1 %219, label %220, label %229 220: ; preds = %217 %221 = load i32, ptr %4, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %222 %224 = load i32, ptr %223, align 4 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %224) br label %226 226: ; preds = %220 %227 = load i32, ptr %4, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %4, align 4 br label %217, !llvm.loop !18 229: ; preds = %217 %230 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %231 = load ptr, ptr %3, align 8 %232 = call i32 @output(ptr noundef %231, i32 noundef 5) store i32 %232, ptr %6, align 4 %233 = load i32, ptr %6, align 4 %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %233) %235 = load i32, ptr %1, align 4 ret i32 %235 } declare i32 @initQue(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @input(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @output(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhnlypu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Before insert\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 [14 x i8] c"After insert\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"\0Areturn value of input method: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"After insert when array stack is full\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"return value of input method: %d\0A\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"Queue before any value is fetched\0A\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c"........................................\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c"\0A........................................\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"fetch value: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @initQue(ptr noundef %8, i32 noundef 5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 5 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %20 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 5 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = load ptr, ptr %3, align 8 %29 = call i32 @input(ptr noundef %28, i32 noundef 3, i32 noundef 5) store i32 %29, ptr %5, align 4 store i32 0, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %.lr.ph2, label %44 .lr.ph2: ; preds = %25 br label %32 32: ; preds = %.lr.ph2, %39 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %42, 5 br i1 %43, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %44 44: ; preds = %._crit_edge3, %25 %45 = load i32, ptr %5, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %48 = load ptr, ptr %3, align 8 %49 = call i32 @input(ptr noundef %48, i32 noundef 4, i32 noundef 5) store i32 %49, ptr %5, align 4 store i32 0, ptr %4, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 5 br i1 %51, label %.lr.ph5, label %64 .lr.ph5: ; preds = %44 br label %52 52: ; preds = %.lr.ph5, %59 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %57) br label %59 59: ; preds = %52 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %4, align 4 %63 = icmp slt i32 %62, 5 br i1 %63, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %59 br label %64 64: ; preds = %._crit_edge6, %44 %65 = load i32, ptr %5, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %65) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %68 = load ptr, ptr %3, align 8 %69 = call i32 @input(ptr noundef %68, i32 noundef 5, i32 noundef 5) store i32 %69, ptr %5, align 4 store i32 0, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %70, 5 br i1 %71, label %.lr.ph8, label %84 .lr.ph8: ; preds = %64 br label %72 72: ; preds = %.lr.ph8, %79 %73 = load ptr, ptr %3, align 8 %74 = load i32, ptr %4, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %77) br label %79 79: ; preds = %72 %80 = load i32, ptr %4, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %4, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %82, 5 br i1 %83, label %72, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %79 br label %84 84: ; preds = %._crit_edge9, %64 %85 = load i32, ptr %5, align 4 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %85) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %88 = load ptr, ptr %3, align 8 %89 = call i32 @input(ptr noundef %88, i32 noundef 8, i32 noundef 5) store i32 %89, ptr %5, align 4 store i32 0, ptr %4, align 4 %90 = load i32, ptr %4, align 4 %91 = icmp slt i32 %90, 5 br i1 %91, label %.lr.ph11, label %104 .lr.ph11: ; preds = %84 br label %92 92: ; preds = %.lr.ph11, %99 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %97) br label %99 99: ; preds = %92 %100 = load i32, ptr %4, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %4, align 4 %102 = load i32, ptr %4, align 4 %103 = icmp slt i32 %102, 5 br i1 %103, label %92, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %99 br label %104 104: ; preds = %._crit_edge12, %84 %105 = load i32, ptr %5, align 4 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %105) %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %108 = load ptr, ptr %3, align 8 %109 = call i32 @input(ptr noundef %108, i32 noundef 7, i32 noundef 5) store i32 %109, ptr %5, align 4 store i32 0, ptr %4, align 4 %110 = load i32, ptr %4, align 4 %111 = icmp slt i32 %110, 5 br i1 %111, label %.lr.ph14, label %123 .lr.ph14: ; preds = %104 br label %112 112: ; preds = %.lr.ph14, %118 %113 = load i32, ptr %4, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %116) br label %118 118: ; preds = %112 %119 = load i32, ptr %4, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %4, align 4 %121 = load i32, ptr %4, align 4 %122 = icmp slt i32 %121, 5 br i1 %122, label %112, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %118 br label %123 123: ; preds = %._crit_edge15, %104 %124 = load i32, ptr %5, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %124) %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %127 = load ptr, ptr %3, align 8 %128 = call i32 @input(ptr noundef %127, i32 noundef 6, i32 noundef 5) store i32 %128, ptr %5, align 4 %129 = load i32, ptr %5, align 4 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %129) %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %4, align 4 %133 = load i32, ptr %4, align 4 %134 = icmp slt i32 %133, 5 br i1 %134, label %.lr.ph17, label %146 .lr.ph17: ; preds = %123 br label %135 135: ; preds = %.lr.ph17, %141 %136 = load i32, ptr %4, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %139) br label %141 141: ; preds = %135 %142 = load i32, ptr %4, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %4, align 4 %144 = load i32, ptr %4, align 4 %145 = icmp slt i32 %144, 5 br i1 %145, label %135, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %141 br label %146 146: ; preds = %._crit_edge18, %123 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %148 = load ptr, ptr %3, align 8 %149 = call i32 @output(ptr noundef %148, i32 noundef 5) store i32 %149, ptr %6, align 4 %150 = load i32, ptr %6, align 4 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %150) store i32 0, ptr %4, align 4 %152 = load i32, ptr %4, align 4 %153 = icmp slt i32 %152, 5 br i1 %153, label %.lr.ph20, label %165 .lr.ph20: ; preds = %146 br label %154 154: ; preds = %.lr.ph20, %160 %155 = load i32, ptr %4, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %158) br label %160 160: ; preds = %154 %161 = load i32, ptr %4, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %4, align 4 %163 = load i32, ptr %4, align 4 %164 = icmp slt i32 %163, 5 br i1 %164, label %154, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %160 br label %165 165: ; preds = %._crit_edge21, %146 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %167 = load ptr, ptr %3, align 8 %168 = call i32 @output(ptr noundef %167, i32 noundef 5) store i32 %168, ptr %6, align 4 %169 = load i32, ptr %6, align 4 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %169) store i32 0, ptr %4, align 4 %171 = load i32, ptr %4, align 4 %172 = icmp slt i32 %171, 5 br i1 %172, label %.lr.ph23, label %184 .lr.ph23: ; preds = %165 br label %173 173: ; preds = %.lr.ph23, %179 %174 = load i32, ptr %4, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %175 %177 = load i32, ptr %176, align 4 %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %177) br label %179 179: ; preds = %173 %180 = load i32, ptr %4, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %4, align 4 %182 = load i32, ptr %4, align 4 %183 = icmp slt i32 %182, 5 br i1 %183, label %173, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %179 br label %184 184: ; preds = %._crit_edge24, %165 %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %186 = load ptr, ptr %3, align 8 %187 = call i32 @output(ptr noundef %186, i32 noundef 5) store i32 %187, ptr %6, align 4 %188 = load i32, ptr %6, align 4 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %188) store i32 0, ptr %4, align 4 %190 = load i32, ptr %4, align 4 %191 = icmp slt i32 %190, 5 br i1 %191, label %.lr.ph26, label %203 .lr.ph26: ; preds = %184 br label %192 192: ; preds = %.lr.ph26, %198 %193 = load i32, ptr %4, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %194 %196 = load i32, ptr %195, align 4 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %196) br label %198 198: ; preds = %192 %199 = load i32, ptr %4, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %4, align 4 %201 = load i32, ptr %4, align 4 %202 = icmp slt i32 %201, 5 br i1 %202, label %192, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %198 br label %203 203: ; preds = %._crit_edge27, %184 %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %205 = load ptr, ptr %3, align 8 %206 = call i32 @output(ptr noundef %205, i32 noundef 5) store i32 %206, ptr %6, align 4 %207 = load i32, ptr %6, align 4 %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %207) store i32 0, ptr %4, align 4 %209 = load i32, ptr %4, align 4 %210 = icmp slt i32 %209, 5 br i1 %210, label %.lr.ph29, label %222 .lr.ph29: ; preds = %203 br label %211 211: ; preds = %.lr.ph29, %217 %212 = load i32, ptr %4, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %213 %215 = load i32, ptr %214, align 4 %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %215) br label %217 217: ; preds = %211 %218 = load i32, ptr %4, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %4, align 4 %220 = load i32, ptr %4, align 4 %221 = icmp slt i32 %220, 5 br i1 %221, label %211, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %217 br label %222 222: ; preds = %._crit_edge30, %203 %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %224 = load ptr, ptr %3, align 8 %225 = call i32 @output(ptr noundef %224, i32 noundef 5) store i32 %225, ptr %6, align 4 %226 = load i32, ptr %6, align 4 %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %226) store i32 0, ptr %4, align 4 %228 = load i32, ptr %4, align 4 %229 = icmp slt i32 %228, 5 br i1 %229, label %.lr.ph32, label %241 .lr.ph32: ; preds = %222 br label %230 230: ; preds = %.lr.ph32, %236 %231 = load i32, ptr %4, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %232 %234 = load i32, ptr %233, align 4 %235 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %234) br label %236 236: ; preds = %230 %237 = load i32, ptr %4, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %4, align 4 %239 = load i32, ptr %4, align 4 %240 = icmp slt i32 %239, 5 br i1 %240, label %230, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %236 br label %241 241: ; preds = %._crit_edge33, %222 %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %243 = load ptr, ptr %3, align 8 %244 = call i32 @output(ptr noundef %243, i32 noundef 5) store i32 %244, ptr %6, align 4 %245 = load i32, ptr %6, align 4 %246 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %245) %247 = load i32, ptr %1, align 4 ret i32 %247 } declare i32 @initQue(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @input(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @output(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '/tmp/tmptl231bpe.c' source_filename = "/tmp/tmptl231bpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CFCClass_validate_class_name_component(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 = call i32 @strlen(ptr noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %6, %1 store i32 0, ptr %2, align 4 br label %22 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = call i32 @CFCClass_validate_class_name(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %11 store i32 0, ptr %2, align 4 br label %22 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 58) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %16 store i32 0, ptr %2, align 4 br label %22 21: ; preds = %16 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %20, %15, %10 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i32 @strlen(ptr noundef) #1 declare i32 @CFCClass_validate_class_name(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptl231bpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CFCClass_validate_class_name_component(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 = call i32 @strlen(ptr noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %6, %1 store i32 0, ptr %2, align 4 br label %22 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = call i32 @CFCClass_validate_class_name(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %11 store i32 0, ptr %2, align 4 br label %22 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 58) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %16 store i32 0, ptr %2, align 4 br label %22 21: ; preds = %16 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %20, %15, %10 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i32 @strlen(ptr noundef) #1 declare i32 @CFCClass_validate_class_name(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgx_5uyyz.c' source_filename = "/tmp/tmpgx_5uyyz.c" target datalayout = "e-m:e-p270: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/tmpgx_5uyyz.c" target datalayout = "e-m:e-p270: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/tmps4wp5g6y.c' source_filename = "/tmp/tmps4wp5g6y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @base64_encode_value.encoding = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @base64_encode_value(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp sgt i32 %5, 63 br i1 %6, label %7, label %8 7: ; preds = %1 store i8 61, ptr %2, align 1 br label %15 8: ; preds = %1 %9 = load ptr, ptr @base64_encode_value.encoding, align 8 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 store i8 %14, ptr %2, align 1 br label %15 15: ; preds = %8, %7 %16 = load i8, ptr %2, align 1 ret i8 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps4wp5g6y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @base64_encode_value.encoding = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @base64_encode_value(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp sgt i32 %5, 63 br i1 %6, label %7, label %8 7: ; preds = %1 store i8 61, ptr %2, align 1 br label %15 8: ; preds = %1 %9 = load ptr, ptr @base64_encode_value.encoding, align 8 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 store i8 %14, ptr %2, align 1 br label %15 15: ; preds = %8, %7 %16 = load i8, ptr %2, align 1 ret i8 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4c6pmcdk.c' source_filename = "/tmp/tmp4c6pmcdk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\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 [100 x i64], align 16 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 1 store i64 1, ptr %5, align 8 %6 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 2 store i64 2, ptr %6, align 16 store i32 3, ptr %3, align 4 br label %7 7: ; preds = %25, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 100 br i1 %9, label %10, label %28 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %13 %15 = load i64, ptr %14, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %18 %20 = load i64, ptr %19, align 8 %21 = add nsw i64 %15, %20 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %23 store i64 %21, ptr %24, align 8 br label %25 25: ; preds = %10 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 br label %29 29: ; preds = %33, %28 %30 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %31 = load i64, ptr @EOF, align 8 %32 = icmp ne i64 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %35 %37 = load i64, ptr %36, align 8 %38 = call i32 @printf(ptr noundef @.str.1, i64 noundef %37) br label %29, !llvm.loop !8 39: ; preds = %29 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4c6pmcdk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\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 [100 x i64], align 16 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 1 store i64 1, ptr %5, align 8 %6 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 2 store i64 2, ptr %6, align 16 store i32 3, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %12 %14 = load i64, ptr %13, align 8 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 2 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %17 %19 = load i64, ptr %18, align 8 %20 = add nsw i64 %14, %19 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %22 store i64 %20, ptr %23, align 8 br label %24 24: ; preds = %9 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 100 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %0 %30 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %31 = load i64, ptr @EOF, align 8 %32 = icmp ne i64 %30, %31 br i1 %32, label %.lr.ph2, label %42 .lr.ph2: ; preds = %29 br label %33 33: ; preds = %.lr.ph2, %33 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i64], ptr %4, i64 0, i64 %35 %37 = load i64, ptr %36, align 8 %38 = call i32 @printf(ptr noundef @.str.1, i64 noundef %37) %39 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %40 = load i64, ptr @EOF, align 8 %41 = icmp ne i64 %39, %40 br i1 %41, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %42 42: ; preds = %._crit_edge3, %29 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfc4ufcl_.c' source_filename = "/tmp/tmpfc4ufcl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"XwcDrawString called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @XwcDrawString() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfc4ufcl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"XwcDrawString called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @XwcDrawString() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi1a8wfwc.c' source_filename = "/tmp/tmpi1a8wfwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EVP_PKEY_OP_KEYGEN = dso_local global i32 0, align 4 @EVP_PKEY_CTRL_SET_MAC_KEY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @EVP_PKEY_new_mac_key(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %7, align 8 %14 = call ptr @EVP_PKEY_CTX_new_id(i32 noundef %12, ptr noundef %13) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %4 store ptr null, ptr %5, align 8 br label %42 18: ; preds = %4 %19 = load ptr, ptr %10, align 8 %20 = call i64 @EVP_PKEY_keygen_init(ptr noundef %19) %21 = icmp sle i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 br label %38 23: ; preds = %18 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr @EVP_PKEY_OP_KEYGEN, align 4 %26 = load i32, ptr @EVP_PKEY_CTRL_SET_MAC_KEY, align 4 %27 = load i32, ptr %9, align 4 %28 = load ptr, ptr %8, align 8 %29 = call i64 @EVP_PKEY_CTX_ctrl(ptr noundef %24, i32 noundef -1, i32 noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28) %30 = icmp sle i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %23 br label %38 32: ; preds = %23 %33 = load ptr, ptr %10, align 8 %34 = call i64 @EVP_PKEY_keygen(ptr noundef %33, ptr noundef %11) %35 = icmp sle i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %32 br label %38 37: ; preds = %32 br label %38 38: ; preds = %37, %36, %31, %22 %39 = load ptr, ptr %10, align 8 %40 = call i32 @EVP_PKEY_CTX_free(ptr noundef %39) %41 = load ptr, ptr %11, align 8 store ptr %41, ptr %5, align 8 br label %42 42: ; preds = %38, %17 %43 = load ptr, ptr %5, align 8 ret ptr %43 } declare ptr @EVP_PKEY_CTX_new_id(i32 noundef, ptr noundef) #1 declare i64 @EVP_PKEY_keygen_init(ptr noundef) #1 declare i64 @EVP_PKEY_CTX_ctrl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @EVP_PKEY_keygen(ptr noundef, ptr noundef) #1 declare i32 @EVP_PKEY_CTX_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/tmpi1a8wfwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EVP_PKEY_OP_KEYGEN = dso_local global i32 0, align 4 @EVP_PKEY_CTRL_SET_MAC_KEY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @EVP_PKEY_new_mac_key(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %7, align 8 %14 = call ptr @EVP_PKEY_CTX_new_id(i32 noundef %12, ptr noundef %13) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %4 store ptr null, ptr %5, align 8 br label %42 18: ; preds = %4 %19 = load ptr, ptr %10, align 8 %20 = call i64 @EVP_PKEY_keygen_init(ptr noundef %19) %21 = icmp sle i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 br label %38 23: ; preds = %18 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr @EVP_PKEY_OP_KEYGEN, align 4 %26 = load i32, ptr @EVP_PKEY_CTRL_SET_MAC_KEY, align 4 %27 = load i32, ptr %9, align 4 %28 = load ptr, ptr %8, align 8 %29 = call i64 @EVP_PKEY_CTX_ctrl(ptr noundef %24, i32 noundef -1, i32 noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28) %30 = icmp sle i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %23 br label %38 32: ; preds = %23 %33 = load ptr, ptr %10, align 8 %34 = call i64 @EVP_PKEY_keygen(ptr noundef %33, ptr noundef %11) %35 = icmp sle i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %32 br label %38 37: ; preds = %32 br label %38 38: ; preds = %37, %36, %31, %22 %39 = load ptr, ptr %10, align 8 %40 = call i32 @EVP_PKEY_CTX_free(ptr noundef %39) %41 = load ptr, ptr %11, align 8 store ptr %41, ptr %5, align 8 br label %42 42: ; preds = %38, %17 %43 = load ptr, ptr %5, align 8 ret ptr %43 } declare ptr @EVP_PKEY_CTX_new_id(i32 noundef, ptr noundef) #1 declare i64 @EVP_PKEY_keygen_init(ptr noundef) #1 declare i64 @EVP_PKEY_CTX_ctrl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @EVP_PKEY_keygen(ptr noundef, ptr noundef) #1 declare i32 @EVP_PKEY_CTX_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/tmpu6d4pz0r.c' source_filename = "/tmp/tmpu6d4pz0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"message 1st\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"message 2nd\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multi() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @testmsg(ptr noundef @.str) store ptr %3, ptr %1, align 8 %4 = call ptr @testmsg(ptr noundef @.str.1) store ptr %4, ptr %2, align 8 br label %5 5: ; preds = %0 %6 = load ptr, ptr %1, align 8 %7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %5 %10 = call i32 @testerror(ptr noundef @.str.2) br label %11 11: ; preds = %9, %5 br label %12 12: ; preds = %11 br label %13 13: ; preds = %12 %14 = load ptr, ptr %2, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = call i32 @testerror(ptr noundef @.str.2) br label %19 19: ; preds = %17, %13 br label %20 20: ; preds = %19 ret void } declare ptr @testmsg(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @testerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu6d4pz0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"message 1st\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"message 2nd\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multi() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @testmsg(ptr noundef @.str) store ptr %3, ptr %1, align 8 %4 = call ptr @testmsg(ptr noundef @.str.1) store ptr %4, ptr %2, align 8 br label %5 5: ; preds = %0 %6 = load ptr, ptr %1, align 8 %7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %5 %10 = call i32 @testerror(ptr noundef @.str.2) br label %11 11: ; preds = %9, %5 br label %12 12: ; preds = %11 br label %13 13: ; preds = %12 %14 = load ptr, ptr %2, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = call i32 @testerror(ptr noundef @.str.2) br label %19 19: ; preds = %17, %13 br label %20 20: ; preds = %19 ret void } declare ptr @testmsg(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @testerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_3g3zk05.c' source_filename = "/tmp/tmp_3g3zk05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_chars(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i64, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fptosi double %4 to i64 store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = call i32 @llong_chars(i64 noundef %6) ret i32 %7 } declare i32 @llong_chars(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_3g3zk05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_chars(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i64, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fptosi double %4 to i64 store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = call i32 @llong_chars(i64 noundef %6) ret i32 %7 } declare i32 @llong_chars(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/tmpnyla63co.c' source_filename = "/tmp/tmpnyla63co.c" target datalayout = "e-m:e-p270: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/tmpnyla63co.c" target datalayout = "e-m:e-p270: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/tmp2arsnwcn.c' source_filename = "/tmp/tmp2arsnwcn.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"lib765 level:%d error: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lib765_default_error_function(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %3 br label %20 10: ; preds = %3 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 @vfprintf(i32 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) br label %20 20: ; preds = %10, %9 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 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/tmp2arsnwcn.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"lib765 level:%d error: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lib765_default_error_function(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %3 br label %20 10: ; preds = %3 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 @vfprintf(i32 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) br label %20 20: ; preds = %10, %9 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 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/tmplwq8dpvu.c' source_filename = "/tmp/tmplwq8dpvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realtime() #0 { %1 = call double @time(ptr noundef null) ret double %1 } declare double @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwq8dpvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realtime() #0 { %1 = call double @time(ptr noundef null) ret double %1 } declare double @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdq7alm7u.c' source_filename = "/tmp/tmpdq7alm7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcpnodelay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @IPPROTO_TCP, align 4 %6 = load i32, ptr @TCP_NODELAY, align 4 %7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4) ret i32 %7 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdq7alm7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcpnodelay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @IPPROTO_TCP, align 4 %6 = load i32, ptr @TCP_NODELAY, align 4 %7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4) ret i32 %7 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxo8tdmi4.c' source_filename = "/tmp/tmpxo8tdmi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cp_hash_compare_istring(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %8 store i32 0, ptr %3, align 4 br label %23 12: ; preds = %8, %2 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %15, %12 store i32 -1, ptr %3, align 4 br label %23 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i32 @strcasecmp(ptr noundef %20, ptr noundef %21) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %19, %18, %11 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @strcasecmp(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/tmpxo8tdmi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cp_hash_compare_istring(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %8 store i32 0, ptr %3, align 4 br label %23 12: ; preds = %8, %2 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %15, %12 store i32 -1, ptr %3, align 4 br label %23 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i32 @strcasecmp(ptr noundef %20, ptr noundef %21) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %19, %18, %11 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_bwqyamk.c' source_filename = "/tmp/tmp_bwqyamk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_bwqyamk.c" target datalayout = "e-m:e-p270: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/tmpymwt2_v4.c' source_filename = "/tmp/tmpymwt2_v4.c" target datalayout = "e-m:e-p270: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/tmpymwt2_v4.c" target datalayout = "e-m:e-p270: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/tmp1dntwgf5.c' source_filename = "/tmp/tmp1dntwgf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_aim_oscar_to_server(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %9, align 8 %14 = load i32, ptr %10, align 4 %15 = call i32 @parse_aim_oscar(ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %14) ret void } declare i32 @parse_aim_oscar(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1dntwgf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_aim_oscar_to_server(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %9, align 8 %14 = load i32, ptr %10, align 4 %15 = call i32 @parse_aim_oscar(ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %14) ret void } declare i32 @parse_aim_oscar(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp828d683g.c' source_filename = "/tmp/tmp828d683g.c" target datalayout = "e-m:e-p270: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/tmp828d683g.c" target datalayout = "e-m:e-p270: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/tmpj7m48zgv.c' source_filename = "/tmp/tmpj7m48zgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawCircle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %7, align 4 %11 = add nsw i32 %9, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %8, align 4 %14 = add nsw i32 %12, %13 %15 = call i32 @putpixel(i32 noundef %11, i32 noundef %14) %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %16, %17 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %19, %20 %22 = call i32 @putpixel(i32 noundef %18, i32 noundef %21) %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %23, %24 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %26, %27 %29 = call i32 @putpixel(i32 noundef %25, i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %30, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %33, %34 %36 = call i32 @putpixel(i32 noundef %32, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %40, %41 %43 = call i32 @putpixel(i32 noundef %39, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %8, align 4 %46 = sub nsw i32 %44, %45 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %47, %48 %50 = call i32 @putpixel(i32 noundef %46, i32 noundef %49) %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %51, %52 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = sub nsw i32 %54, %55 %57 = call i32 @putpixel(i32 noundef %53, i32 noundef %56) %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %58, %59 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %7, align 4 %63 = sub nsw i32 %61, %62 %64 = call i32 @putpixel(i32 noundef %60, i32 noundef %63) ret void } declare i32 @putpixel(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/tmpj7m48zgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawCircle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %7, align 4 %11 = add nsw i32 %9, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %8, align 4 %14 = add nsw i32 %12, %13 %15 = call i32 @putpixel(i32 noundef %11, i32 noundef %14) %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %16, %17 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %19, %20 %22 = call i32 @putpixel(i32 noundef %18, i32 noundef %21) %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %23, %24 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %26, %27 %29 = call i32 @putpixel(i32 noundef %25, i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %30, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %33, %34 %36 = call i32 @putpixel(i32 noundef %32, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %40, %41 %43 = call i32 @putpixel(i32 noundef %39, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %8, align 4 %46 = sub nsw i32 %44, %45 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %47, %48 %50 = call i32 @putpixel(i32 noundef %46, i32 noundef %49) %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %51, %52 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = sub nsw i32 %54, %55 %57 = call i32 @putpixel(i32 noundef %53, i32 noundef %56) %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %58, %59 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %7, align 4 %63 = sub nsw i32 %61, %62 %64 = call i32 @putpixel(i32 noundef %60, i32 noundef %63) ret void } declare i32 @putpixel(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/tmp54km_377.c' source_filename = "/tmp/tmp54km_377.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 Postfix Expression: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @postfix_to_infix(ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @postfix_to_infix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp54km_377.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 Postfix Expression: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @postfix_to_infix(ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @postfix_to_infix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp39wccnvj.c' source_filename = "/tmp/tmp39wccnvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"SIM\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"NAO\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = srem i32 %4, 10 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = sdiv i32 %9, 10 %11 = srem i32 %8, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = call i32 @printf(ptr noundef @.str.1) %15 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %15, ptr %1, align 4 br label %20 16: ; preds = %7 br label %17 17: ; preds = %16, %0 %18 = call i32 @printf(ptr noundef @.str.2) %19 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %19, ptr %1, align 4 br label %20 20: ; preds = %17, %13 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp39wccnvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"SIM\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"NAO\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = srem i32 %4, 10 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = sdiv i32 %9, 10 %11 = srem i32 %8, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = call i32 @printf(ptr noundef @.str.1) %15 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %15, ptr %1, align 4 br label %20 16: ; preds = %7 br label %17 17: ; preds = %16, %0 %18 = call i32 @printf(ptr noundef @.str.2) %19 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %19, ptr %1, align 4 br label %20 20: ; preds = %17, %13 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0suvf6ir.c' source_filename = "/tmp/tmp0suvf6ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 256, ptr %6, align 4 %10 = call i64 @malloc(i32 noundef 256) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %8, align 8 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %22, %2 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 256 br i1 %14, label %15, label %25 15: ; preds = %12 %16 = load i32, ptr %7, align 4 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %12, !llvm.loop !6 25: ; preds = %12 %26 = load ptr, ptr %8, align 8 %27 = call ptr @acc_copyin(ptr noundef %26, i32 noundef 256) store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %25 %31 = call i32 (...) @abort() #3 unreachable 32: ; preds = %25 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef 256) %36 = load ptr, ptr %8, align 8 %37 = call i32 @acc_update_self(ptr noundef %36, i32 noundef 254) store i32 0, ptr %7, align 4 br label %38 38: ; preds = %53, %32 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %39, 254 br i1 %40, label %41, label %56 41: ; preds = %38 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = load i32, ptr %7, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %52 50: ; preds = %41 %51 = call i32 (...) @abort() #3 unreachable 52: ; preds = %41 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 br label %38, !llvm.loop !8 56: ; preds = %38 store i32 254, ptr %7, align 4 br label %57 57: ; preds = %71, %56 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %58, 256 br i1 %59, label %60, label %74 60: ; preds = %57 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %60 %69 = call i32 (...) @abort() #3 unreachable 70: ; preds = %60 br label %71 71: ; preds = %70 %72 = load i32, ptr %7, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %7, align 4 br label %57, !llvm.loop !9 74: ; preds = %57 %75 = load ptr, ptr %8, align 8 %76 = call i32 @acc_delete(ptr noundef %75, i32 noundef 256) %77 = load ptr, ptr %8, align 8 %78 = call i32 @free(ptr noundef %77) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare ptr @acc_copyin(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @acc_update_self(ptr noundef, i32 noundef) #1 declare i32 @acc_delete(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0suvf6ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 256, ptr %6, align 4 %10 = call i64 @malloc(i32 noundef 256) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %8, align 8 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 256 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %21 %15 = load i32, ptr %7, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %8, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 br label %21 21: ; preds = %14 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 256 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %8, align 8 %28 = call ptr @acc_copyin(ptr noundef %27, i32 noundef 256) store ptr %28, ptr %9, align 8 %29 = load ptr, ptr %9, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %33, label %31 31: ; preds = %26 %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %26 %34 = load ptr, ptr %8, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 0 %36 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef 256) %37 = load ptr, ptr %8, align 8 %38 = call i32 @acc_update_self(ptr noundef %37, i32 noundef 254) store i32 0, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %39, 254 br i1 %40, label %.lr.ph2, label %58 .lr.ph2: ; preds = %33 br label %41 41: ; preds = %.lr.ph2, %53 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = load i32, ptr %7, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %52 50: ; preds = %41 %51 = call i32 (...) @abort() #3 unreachable 52: ; preds = %41 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %56, 254 br i1 %57, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %58 58: ; preds = %._crit_edge3, %33 store i32 254, ptr %7, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %59, 256 br i1 %60, label %.lr.ph5, label %77 .lr.ph5: ; preds = %58 br label %61 61: ; preds = %.lr.ph5, %72 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %61 %70 = call i32 (...) @abort() #3 unreachable 71: ; preds = %61 br label %72 72: ; preds = %71 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %7, align 4 %76 = icmp slt i32 %75, 256 br i1 %76, label %61, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %72 br label %77 77: ; preds = %._crit_edge6, %58 %78 = load ptr, ptr %8, align 8 %79 = call i32 @acc_delete(ptr noundef %78, i32 noundef 256) %80 = load ptr, ptr %8, align 8 %81 = call i32 @free(ptr noundef %80) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare ptr @acc_copyin(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @acc_update_self(ptr noundef, i32 noundef) #1 declare i32 @acc_delete(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpf5w9b985.c' source_filename = "/tmp/tmpf5w9b985.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NID_dsa = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @jksengine_mddsa_final(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 = load i32, ptr @NID_dsa, align 4 %8 = call i32 @jksengine_digests_final(ptr noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @jksengine_digests_final(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/tmpf5w9b985.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NID_dsa = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @jksengine_mddsa_final(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 = load i32, ptr @NID_dsa, align 4 %8 = call i32 @jksengine_digests_final(ptr noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @jksengine_digests_final(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/tmp0kfo4erv.c' source_filename = "/tmp/tmp0kfo4erv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"USAGE: client <labyrinth update time(secs)>.\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"no way\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"\1B[A\1B[2K\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @puts(ptr noundef @.str) br label %48 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 2 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @puts(ptr noundef @.str) br label %47 19: ; preds = %14 store i32 0, ptr %6, align 4 store i32 10, ptr %7, align 4 store i32 10, ptr %8, align 4 br label %20 20: ; preds = %19, %46 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call ptr @get_lab(i32 noundef %21, i32 noundef %22) store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %46 27: ; preds = %20 %28 = load ptr, ptr %9, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) %34 = call i32 @sleep(i32 noundef %33) store i32 0, ptr %6, align 4 br label %35 35: ; preds = %42, %27 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 %39 = icmp sle i32 %36, %38 br i1 %39, label %40, label %45 40: ; preds = %35 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %42 42: ; preds = %40 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %35, !llvm.loop !6 45: ; preds = %35 br label %46 46: ; preds = %45, %20 br label %20 47: ; preds = %17 br label %48 48: ; preds = %47, %12 ret i32 0 } declare i32 @puts(ptr noundef) #1 declare ptr @get_lab(i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0kfo4erv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"USAGE: client <labyrinth update time(secs)>.\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"no way\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"\1B[A\1B[2K\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @puts(ptr noundef @.str) br label %51 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 2 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @puts(ptr noundef @.str) br label %50 19: ; preds = %14 store i32 0, ptr %6, align 4 store i32 10, ptr %7, align 4 store i32 10, ptr %8, align 4 br label %20 20: ; preds = %49, %19 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call ptr @get_lab(i32 noundef %21, i32 noundef %22) store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %49 27: ; preds = %20 %28 = load ptr, ptr %9, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) %34 = call i32 @sleep(i32 noundef %33) store i32 0, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 %38 = icmp sle i32 %35, %37 br i1 %38, label %.lr.ph, label %48 .lr.ph: ; preds = %27 br label %39 39: ; preds = %.lr.ph, %41 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %41 41: ; preds = %39 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 %47 = icmp sle i32 %44, %46 br i1 %47, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %48 48: ; preds = %._crit_edge, %27 br label %49 49: ; preds = %48, %20 br label %20 50: ; preds = %17 br label %51 51: ; preds = %50, %12 ret i32 0 } declare i32 @puts(ptr noundef) #1 declare ptr @get_lab(i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw6e1q1gh.c' source_filename = "/tmp/tmpw6e1q1gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 137944240599 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw6e1q1gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 137944240599 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprpctbain.c' source_filename = "/tmp/tmprpctbain.c" target datalayout = "e-m:e-p270: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/tmprpctbain.c" target datalayout = "e-m:e-p270: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/tmpef1ys28b.c' source_filename = "/tmp/tmpef1ys28b.c" target datalayout = "e-m:e-p270: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/tmpef1ys28b.c" target datalayout = "e-m:e-p270: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/tmpfpxem92u.c' source_filename = "/tmp/tmpfpxem92u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlncat(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %9, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %9, align 8 %14 = sub i64 %12, %13 %15 = icmp ugt i64 %14, 1 br i1 %15, label %16, label %28 16: ; preds = %4 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr %9, align 8 %22 = sub i64 %20, %21 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = call i64 @strlncpy(ptr noundef %19, i64 noundef %22, ptr noundef %23, i64 noundef %24) %26 = load i64, ptr %9, align 8 %27 = add i64 %26, %25 store i64 %27, ptr %9, align 8 br label %28 28: ; preds = %16, %4 %29 = load i64, ptr %9, align 8 ret i64 %29 } declare i64 @strlen(ptr noundef) #1 declare i64 @strlncpy(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfpxem92u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlncat(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %9, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %9, align 8 %14 = sub i64 %12, %13 %15 = icmp ugt i64 %14, 1 br i1 %15, label %16, label %28 16: ; preds = %4 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr %9, align 8 %22 = sub i64 %20, %21 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = call i64 @strlncpy(ptr noundef %19, i64 noundef %22, ptr noundef %23, i64 noundef %24) %26 = load i64, ptr %9, align 8 %27 = add i64 %26, %25 store i64 %27, ptr %9, align 8 br label %28 28: ; preds = %16, %4 %29 = load i64, ptr %9, align 8 ret i64 %29 } declare i64 @strlen(ptr noundef) #1 declare i64 @strlncpy(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3kxjgcj4.c' source_filename = "/tmp/tmp3kxjgcj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ll_strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3kxjgcj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ll_strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsoyw75_k.c' source_filename = "/tmp/tmpsoyw75_k.c" target datalayout = "e-m:e-p270: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.InsertionTest1.m = private unnamed_addr constant [10 x i32] [i32 8, i32 7, i32 9, i32 3, i32 4, i32 1, i32 2, i32 0, i32 5, i32 6], align 16 @.str = private unnamed_addr constant [5 x i8] c"%d, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @InsertionTest1() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.InsertionTest1.m, i64 40, i1 false) store i32 1, ptr %2, align 4 br label %6 6: ; preds = %46, %0 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = icmp ult i64 %8, 10 br i1 %9, label %10, label %49 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %29, %10 %18 = load i32, ptr %3, align 4 %19 = icmp sge i32 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp slt i32 %21, %25 br label %27 27: ; preds = %20, %17 %28 = phi i1 [ false, %17 ], [ %26, %20 ] br i1 %28, label %29, label %40 29: ; preds = %27 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %36 store i32 %33, ptr %37, align 4 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %3, align 4 br label %17, !llvm.loop !6 40: ; preds = %27 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %40 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %2, align 4 br label %6, !llvm.loop !8 49: ; preds = %6 store i32 0, ptr %5, align 4 br label %50 50: ; preds = %60, %49 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = icmp ult i64 %52, 10 br i1 %53, label %54, label %63 54: ; preds = %50 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) br label %60 60: ; preds = %54 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 br label %50, !llvm.loop !9 63: ; preds = %50 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsoyw75_k.c" target datalayout = "e-m:e-p270: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.InsertionTest1.m = private unnamed_addr constant [10 x i32] [i32 8, i32 7, i32 9, i32 3, i32 4, i32 1, i32 2, i32 0, i32 5, i32 6], align 16 @.str = private unnamed_addr constant [5 x i8] c"%d, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @InsertionTest1() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.InsertionTest1.m, i64 40, i1 false) store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = icmp ult i64 %7, 10 br i1 %8, label %.lr.ph, label %51 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %45 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %4, align 4 br label %16 16: ; preds = %28, %9 %17 = load i32, ptr %3, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp slt i32 %20, %24 br label %26 26: ; preds = %19, %16 %27 = phi i1 [ false, %16 ], [ %25, %19 ] br i1 %27, label %28, label %39 28: ; preds = %26 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %35 store i32 %32, ptr %36, align 4 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %3, align 4 br label %16, !llvm.loop !6 39: ; preds = %26 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %43 store i32 %40, ptr %44, align 4 br label %45 45: ; preds = %39 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = sext i32 %48 to i64 %50 = icmp ult i64 %49, 10 br i1 %50, label %9, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = icmp ult i64 %53, 10 br i1 %54, label %.lr.ph2, label %67 .lr.ph2: ; preds = %51 br label %55 55: ; preds = %.lr.ph2, %61 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %57 %59 = load i32, ptr %58, align 4 %60 = call i32 @printf(ptr noundef @.str, i32 noundef %59) br label %61 61: ; preds = %55 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = icmp ult i64 %65, 10 br i1 %66, label %55, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %61 br label %67 67: ; preds = %._crit_edge3, %51 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpyy6pcl18.c' source_filename = "/tmp/tmpyy6pcl18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [101 x i8], align 16 %2 = alloca [111 x i8], align 16 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store i16 0, ptr %3, align 2 store i16 0, ptr %6, align 2 br label %9 9: ; preds = %17, %0 %10 = load i16, ptr %6, align 2 %11 = sext i16 %10 to i32 %12 = icmp slt i32 %11, 111 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i16, ptr %6, align 2 %15 = sext i16 %14 to i64 %16 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %15 store i8 0, ptr %16, align 1 br label %17 17: ; preds = %13 %18 = load i16, ptr %6, align 2 %19 = add i16 %18, 1 store i16 %19, ptr %6, align 2 br label %9, !llvm.loop !6 20: ; preds = %9 br label %21 21: ; preds = %129, %20 %22 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 0 %23 = call i64 @gets(ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 0 %27 = load i8, ptr %26, align 16 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 48 br i1 %29, label %35, label %30 30: ; preds = %25, %21 %31 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 1 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %33, 0 br label %35 35: ; preds = %30, %25 %36 = phi i1 [ true, %25 ], [ %34, %30 ] br i1 %36, label %37, label %132 37: ; preds = %35 %38 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 0 %39 = call signext i16 @strlen(ptr noundef %38) store i16 %39, ptr %7, align 2 store i16 0, ptr %8, align 2 store i16 0, ptr %6, align 2 br label %40 40: ; preds = %88, %37 %41 = load i16, ptr %6, align 2 %42 = sext i16 %41 to i32 %43 = load i16, ptr %7, align 2 %44 = sext i16 %43 to i32 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %91 46: ; preds = %40 %47 = load i16, ptr %7, align 2 %48 = sext i16 %47 to i32 %49 = sub nsw i32 %48, 1 %50 = load i16, ptr %6, align 2 %51 = sext i16 %50 to i32 %52 = sub nsw i32 %49, %51 %53 = trunc i32 %52 to i16 store i16 %53, ptr %4, align 2 %54 = load i16, ptr %6, align 2 %55 = sext i16 %54 to i64 %56 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = load i16, ptr %4, align 2 %60 = sext i16 %59 to i64 %61 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = sub nsw i32 %63, 48 %65 = add nsw i32 %58, %64 %66 = load i16, ptr %8, align 2 %67 = sext i16 %66 to i32 %68 = add nsw i32 %65, %67 %69 = trunc i32 %68 to i16 store i16 %69, ptr %5, align 2 %70 = load i16, ptr %5, align 2 %71 = sext i16 %70 to i32 %72 = icmp sgt i32 %71, 9 br i1 %72, label %73, label %81 73: ; preds = %46 %74 = load i16, ptr %5, align 2 %75 = sext i16 %74 to i32 %76 = sub nsw i32 %75, 10 %77 = trunc i32 %76 to i8 %78 = load i16, ptr %6, align 2 %79 = sext i16 %78 to i64 %80 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %79 store i8 %77, ptr %80, align 1 store i16 1, ptr %8, align 2 br label %87 81: ; preds = %46 %82 = load i16, ptr %5, align 2 %83 = trunc i16 %82 to i8 %84 = load i16, ptr %6, align 2 %85 = sext i16 %84 to i64 %86 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %85 store i8 %83, ptr %86, align 1 store i16 0, ptr %8, align 2 br label %87 87: ; preds = %81, %73 br label %88 88: ; preds = %87 %89 = load i16, ptr %6, align 2 %90 = add i16 %89, 1 store i16 %90, ptr %6, align 2 br label %40, !llvm.loop !8 91: ; preds = %40 %92 = load i16, ptr %8, align 2 %93 = icmp ne i16 %92, 0 br i1 %93, label %94, label %115 94: ; preds = %91 %95 = load i16, ptr %6, align 2 %96 = sext i16 %95 to i64 %97 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 9 br i1 %100, label %101, label %106 101: ; preds = %94 %102 = load i16, ptr %6, align 2 %103 = add i16 %102, 1 store i16 %103, ptr %6, align 2 %104 = sext i16 %102 to i64 %105 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %104 store i8 0, ptr %105, align 1 br label %106 106: ; preds = %101, %94 %107 = load i16, ptr %6, align 2 %108 = add i16 %107, 1 store i16 %108, ptr %6, align 2 %109 = sext i16 %107 to i64 %110 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = add nsw i32 %112, 1 %114 = trunc i32 %113 to i8 store i8 %114, ptr %110, align 1 br label %115 115: ; preds = %106, %91 %116 = load i16, ptr %6, align 2 %117 = add i16 %116, -1 store i16 %117, ptr %6, align 2 %118 = load i16, ptr %6, align 2 %119 = sext i16 %118 to i32 %120 = load i16, ptr %3, align 2 %121 = sext i16 %120 to i32 %122 = icmp sgt i32 %119, %121 br i1 %122, label %123, label %126 123: ; preds = %115 %124 = load i16, ptr %6, align 2 %125 = sext i16 %124 to i32 br label %129 126: ; preds = %115 %127 = load i16, ptr %3, align 2 %128 = sext i16 %127 to i32 br label %129 129: ; preds = %126, %123 %130 = phi i32 [ %125, %123 ], [ %128, %126 ] %131 = trunc i32 %130 to i16 store i16 %131, ptr %3, align 2 br label %21, !llvm.loop !9 132: ; preds = %35 %133 = load i16, ptr %3, align 2 store i16 %133, ptr %6, align 2 br label %134 134: ; preds = %147, %132 %135 = load i16, ptr %6, align 2 %136 = sext i16 %135 to i32 %137 = icmp sge i32 %136, 0 br i1 %137, label %138, label %150 138: ; preds = %134 %139 = load i16, ptr %6, align 2 %140 = sext i16 %139 to i64 %141 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %140 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = add nsw i32 %143, 48 %145 = trunc i32 %144 to i8 %146 = call i32 @putchar(i8 noundef signext %145) br label %147 147: ; preds = %138 %148 = load i16, ptr %6, align 2 %149 = add i16 %148, -1 store i16 %149, ptr %6, align 2 br label %134, !llvm.loop !10 150: ; preds = %134 %151 = call i32 @putchar(i8 noundef signext 10) ret void } declare i64 @gets(ptr noundef) #1 declare signext i16 @strlen(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyy6pcl18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [101 x i8], align 16 %2 = alloca [111 x i8], align 16 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store i16 0, ptr %3, align 2 store i16 0, ptr %6, align 2 %9 = load i16, ptr %6, align 2 %10 = sext i16 %9 to i32 %11 = icmp slt i32 %10, 111 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i16, ptr %6, align 2 %14 = sext i16 %13 to i64 %15 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %14 store i8 0, ptr %15, align 1 br label %16 16: ; preds = %12 %17 = load i16, ptr %6, align 2 %18 = add i16 %17, 1 store i16 %18, ptr %6, align 2 %19 = load i16, ptr %6, align 2 %20 = sext i16 %19 to i32 %21 = icmp slt i32 %20, 111 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 br label %23 23: ; preds = %135, %22 %24 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 0 %25 = call i64 @gets(ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 0 %29 = load i8, ptr %28, align 16 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 48 br i1 %31, label %37, label %32 32: ; preds = %27, %23 %33 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 1 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br label %37 37: ; preds = %32, %27 %38 = phi i1 [ true, %27 ], [ %36, %32 ] br i1 %38, label %39, label %138 39: ; preds = %37 %40 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 0 %41 = call signext i16 @strlen(ptr noundef %40) store i16 %41, ptr %7, align 2 store i16 0, ptr %8, align 2 store i16 0, ptr %6, align 2 %42 = load i16, ptr %6, align 2 %43 = sext i16 %42 to i32 %44 = load i16, ptr %7, align 2 %45 = sext i16 %44 to i32 %46 = icmp slt i32 %43, %45 br i1 %46, label %.lr.ph2, label %97 .lr.ph2: ; preds = %39 br label %47 47: ; preds = %.lr.ph2, %89 %48 = load i16, ptr %7, align 2 %49 = sext i16 %48 to i32 %50 = sub nsw i32 %49, 1 %51 = load i16, ptr %6, align 2 %52 = sext i16 %51 to i32 %53 = sub nsw i32 %50, %52 %54 = trunc i32 %53 to i16 store i16 %54, ptr %4, align 2 %55 = load i16, ptr %6, align 2 %56 = sext i16 %55 to i64 %57 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = load i16, ptr %4, align 2 %61 = sext i16 %60 to i64 %62 = getelementptr inbounds [101 x i8], ptr %1, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = sub nsw i32 %64, 48 %66 = add nsw i32 %59, %65 %67 = load i16, ptr %8, align 2 %68 = sext i16 %67 to i32 %69 = add nsw i32 %66, %68 %70 = trunc i32 %69 to i16 store i16 %70, ptr %5, align 2 %71 = load i16, ptr %5, align 2 %72 = sext i16 %71 to i32 %73 = icmp sgt i32 %72, 9 br i1 %73, label %74, label %82 74: ; preds = %47 %75 = load i16, ptr %5, align 2 %76 = sext i16 %75 to i32 %77 = sub nsw i32 %76, 10 %78 = trunc i32 %77 to i8 %79 = load i16, ptr %6, align 2 %80 = sext i16 %79 to i64 %81 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %80 store i8 %78, ptr %81, align 1 store i16 1, ptr %8, align 2 br label %88 82: ; preds = %47 %83 = load i16, ptr %5, align 2 %84 = trunc i16 %83 to i8 %85 = load i16, ptr %6, align 2 %86 = sext i16 %85 to i64 %87 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %86 store i8 %84, ptr %87, align 1 store i16 0, ptr %8, align 2 br label %88 88: ; preds = %82, %74 br label %89 89: ; preds = %88 %90 = load i16, ptr %6, align 2 %91 = add i16 %90, 1 store i16 %91, ptr %6, align 2 %92 = load i16, ptr %6, align 2 %93 = sext i16 %92 to i32 %94 = load i16, ptr %7, align 2 %95 = sext i16 %94 to i32 %96 = icmp slt i32 %93, %95 br i1 %96, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %97 97: ; preds = %._crit_edge3, %39 %98 = load i16, ptr %8, align 2 %99 = icmp ne i16 %98, 0 br i1 %99, label %100, label %121 100: ; preds = %97 %101 = load i16, ptr %6, align 2 %102 = sext i16 %101 to i64 %103 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 9 br i1 %106, label %107, label %112 107: ; preds = %100 %108 = load i16, ptr %6, align 2 %109 = add i16 %108, 1 store i16 %109, ptr %6, align 2 %110 = sext i16 %108 to i64 %111 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %110 store i8 0, ptr %111, align 1 br label %112 112: ; preds = %107, %100 %113 = load i16, ptr %6, align 2 %114 = add i16 %113, 1 store i16 %114, ptr %6, align 2 %115 = sext i16 %113 to i64 %116 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = add nsw i32 %118, 1 %120 = trunc i32 %119 to i8 store i8 %120, ptr %116, align 1 br label %121 121: ; preds = %112, %97 %122 = load i16, ptr %6, align 2 %123 = add i16 %122, -1 store i16 %123, ptr %6, align 2 %124 = load i16, ptr %6, align 2 %125 = sext i16 %124 to i32 %126 = load i16, ptr %3, align 2 %127 = sext i16 %126 to i32 %128 = icmp sgt i32 %125, %127 br i1 %128, label %129, label %132 129: ; preds = %121 %130 = load i16, ptr %6, align 2 %131 = sext i16 %130 to i32 br label %135 132: ; preds = %121 %133 = load i16, ptr %3, align 2 %134 = sext i16 %133 to i32 br label %135 135: ; preds = %132, %129 %136 = phi i32 [ %131, %129 ], [ %134, %132 ] %137 = trunc i32 %136 to i16 store i16 %137, ptr %3, align 2 br label %23, !llvm.loop !9 138: ; preds = %37 %139 = load i16, ptr %3, align 2 store i16 %139, ptr %6, align 2 %140 = load i16, ptr %6, align 2 %141 = sext i16 %140 to i32 %142 = icmp sge i32 %141, 0 br i1 %142, label %.lr.ph5, label %158 .lr.ph5: ; preds = %138 br label %143 143: ; preds = %.lr.ph5, %152 %144 = load i16, ptr %6, align 2 %145 = sext i16 %144 to i64 %146 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 %145 %147 = load i8, ptr %146, align 1 %148 = sext i8 %147 to i32 %149 = add nsw i32 %148, 48 %150 = trunc i32 %149 to i8 %151 = call i32 @putchar(i8 noundef signext %150) br label %152 152: ; preds = %143 %153 = load i16, ptr %6, align 2 %154 = add i16 %153, -1 store i16 %154, ptr %6, align 2 %155 = load i16, ptr %6, align 2 %156 = sext i16 %155 to i32 %157 = icmp sge i32 %156, 0 br i1 %157, label %143, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %152 br label %158 158: ; preds = %._crit_edge6, %138 %159 = call i32 @putchar(i8 noundef signext 10) ret void } declare i64 @gets(ptr noundef) #1 declare signext i16 @strlen(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpg32fvp9p.c' source_filename = "/tmp/tmpg32fvp9p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"All bitmap2 tests completed successfully.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @assert(i32 noundef 0) %7 = call i32 (...) @test_bitmap2_120() %8 = call i32 (...) @test_bitmap2_8192() %9 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @test_bitmap2_120(...) #1 declare i32 @test_bitmap2_8192(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg32fvp9p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"All bitmap2 tests completed successfully.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @assert(i32 noundef 0) %7 = call i32 (...) @test_bitmap2_120() %8 = call i32 (...) @test_bitmap2_8192() %9 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @test_bitmap2_120(...) #1 declare i32 @test_bitmap2_8192(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbo2201v2.c' source_filename = "/tmp/tmpbo2201v2.c" target datalayout = "e-m:e-p270: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/tmpbo2201v2.c" target datalayout = "e-m:e-p270: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/tmp8v3vtp4s.c' source_filename = "/tmp/tmp8v3vtp4s.c" target datalayout = "e-m:e-p270: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/tmp8v3vtp4s.c" target datalayout = "e-m:e-p270: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/tmp1di72wmu.c' source_filename = "/tmp/tmp1di72wmu.c" target datalayout = "e-m:e-p270: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 ptr @getLine() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i64 10, ptr %2, align 8 %9 = call ptr @malloc(i64 noundef 10) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %4, align 8 store i64 10, ptr %5, align 8 store i64 0, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %0 store ptr null, ptr %1, align 8 br label %53 14: ; preds = %0 br label %15 15: ; preds = %14, %45 %16 = load i32, ptr @stdin, align 4 %17 = call i32 @fgetc(i32 noundef %16) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, 10 br i1 %19, label %20, label %21 20: ; preds = %15 br label %50 21: ; preds = %15 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %5, align 8 %25 = icmp uge i64 %23, %24 br i1 %25, label %26, label %45 26: ; preds = %21 %27 = load ptr, ptr %3, align 8 %28 = load i64, ptr %5, align 8 %29 = add i64 %28, 10 store i64 %29, ptr %5, align 8 %30 = call ptr @realloc(ptr noundef %27, i64 noundef %29) store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %26 %34 = load ptr, ptr %3, align 8 %35 = call i32 @free(ptr noundef %34) store ptr null, ptr %1, align 8 br label %53 36: ; preds = %26 %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %3, align 8 %40 = ptrtoint ptr %38 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 %43 = getelementptr inbounds i8, ptr %37, i64 %42 store ptr %43, ptr %4, align 8 %44 = load ptr, ptr %8, align 8 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %36, %21 %46 = load i32, ptr %7, align 4 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %4, align 8 store i8 %47, ptr %48, align 1 br label %15 50: ; preds = %20 %51 = load ptr, ptr %4, align 8 store i8 0, ptr %51, align 1 %52 = load ptr, ptr %3, align 8 store ptr %52, ptr %1, align 8 br label %53 53: ; preds = %50, %33, %13 %54 = load ptr, ptr %1, align 8 ret ptr %54 } declare ptr @malloc(i64 noundef) #1 declare i32 @fgetc(i32 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1di72wmu.c" target datalayout = "e-m:e-p270: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 ptr @getLine() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i64 10, ptr %2, align 8 %9 = call ptr @malloc(i64 noundef 10) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %4, align 8 store i64 10, ptr %5, align 8 store i64 0, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %0 store ptr null, ptr %1, align 8 br label %56 14: ; preds = %0 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @fgetc(i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp eq i32 %17, 10 br i1 %18, label %19, label %.lr.ph .lr.ph: ; preds = %14 br label %20 ._crit_edge: ; preds = %44 br label %19 19: ; preds = %._crit_edge, %14 br label %53 20: ; preds = %.lr.ph, %44 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %5, align 8 %24 = icmp uge i64 %22, %23 br i1 %24, label %25, label %44 25: ; preds = %20 %26 = load ptr, ptr %3, align 8 %27 = load i64, ptr %5, align 8 %28 = add i64 %27, 10 store i64 %28, ptr %5, align 8 %29 = call ptr @realloc(ptr noundef %26, i64 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = call i32 @free(ptr noundef %33) store ptr null, ptr %1, align 8 br label %56 35: ; preds = %25 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %3, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 %42 = getelementptr inbounds i8, ptr %36, i64 %41 store ptr %42, ptr %4, align 8 %43 = load ptr, ptr %8, align 8 store ptr %43, ptr %3, align 8 br label %44 44: ; preds = %35, %20 %45 = load i32, ptr %7, align 4 %46 = trunc i32 %45 to i8 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %4, align 8 store i8 %46, ptr %47, align 1 %49 = load i32, ptr @stdin, align 4 %50 = call i32 @fgetc(i32 noundef %49) store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 10 br i1 %52, label %._crit_edge, label %20 53: ; preds = %19 %54 = load ptr, ptr %4, align 8 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %3, align 8 store ptr %55, ptr %1, align 8 br label %56 56: ; preds = %53, %32, %13 %57 = load ptr, ptr %1, align 8 ret ptr %57 } declare ptr @malloc(i64 noundef) #1 declare i32 @fgetc(i32 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_187boe1.c' source_filename = "/tmp/tmp_187boe1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printtriangle(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 store i8 %11, ptr %5, align 1 store i8 32, ptr %6, align 1 %12 = load i32, ptr %4, align 4 %13 = mul nsw i32 2, %12 %14 = sub nsw i32 %13, 1 store i32 %14, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 1, ptr %8, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 @printpaddedline(ptr noundef %20, i32 noundef %21, i32 noundef %22, ptr noundef %6) %24 = call i32 @printf(ptr noundef @.str) br label %25 25: ; preds = %19 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 ret void } declare i32 @printpaddedline(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_187boe1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printtriangle(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 store i8 %11, ptr %5, align 1 store i8 32, ptr %6, align 1 %12 = load i32, ptr %4, align 4 %13 = mul nsw i32 2, %12 %14 = sub nsw i32 %13, 1 store i32 %14, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 1, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @printpaddedline(ptr noundef %19, i32 noundef %20, i32 noundef %21, ptr noundef %6) %23 = call i32 @printf(ptr noundef @.str) br label %24 24: ; preds = %18 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @printpaddedline(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppia9_cak.c' source_filename = "/tmp/tmppia9_cak.c" target datalayout = "e-m:e-p270: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/tmppia9_cak.c" target datalayout = "e-m:e-p270: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/tmppgehkr5p.c' source_filename = "/tmp/tmppgehkr5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Sum is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %36, %2 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp slt i32 %10, %16 br i1 %17, label %18, label %39 18: ; preds = %9 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %32, %18 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp slt i32 %20, %26 br i1 %27, label %28, label %35 28: ; preds = %19 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, %29 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %28 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %19, !llvm.loop !6 35: ; preds = %19 br label %36 36: ; preds = %35 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %9, !llvm.loop !8 39: ; preds = %9 %40 = load i32, ptr %8, align 4 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppgehkr5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Sum is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp slt i32 %9, %14 br i1 %15, label %.lr.ph2, label %51 .lr.ph2: ; preds = %2 br label %16 16: ; preds = %.lr.ph2, %40 store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp slt i32 %17, %22 br i1 %23, label %.lr.ph, label %39 .lr.ph: ; preds = %16 br label %24 24: ; preds = %.lr.ph, %28 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %8, align 4 br label %28 28: ; preds = %24 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 0 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp slt i32 %31, %37 br i1 %38, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %39 39: ; preds = %._crit_edge, %16 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 0 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp slt i32 %43, %49 br i1 %50, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %51 51: ; preds = %._crit_edge3, %2 %52 = load i32, ptr %8, align 4 %53 = call i32 @printf(ptr noundef @.str, i32 noundef %52) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpryhw24ej.c' source_filename = "/tmp/tmpryhw24ej.c" target datalayout = "e-m:e-p270: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 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %14, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr @INT_MAX, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = call i32 @test(i32 noundef %12) br label %14 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 ret i32 0 } declare i32 @test(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/tmpryhw24ej.c" target datalayout = "e-m:e-p270: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 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr @INT_MAX, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %13 %11 = load i32, ptr %6, align 4 %12 = call i32 @test(i32 noundef %11) br label %13 13: ; preds = %10 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr @INT_MAX, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @test(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/tmpffvejknj.c' source_filename = "/tmp/tmpffvejknj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %6 6: ; preds = %22, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %25 10: ; preds = %6 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %17, %10 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %20 15: ; preds = %11 %16 = call i32 @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %11, !llvm.loop !6 20: ; preds = %11 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %6, !llvm.loop !8 25: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffvejknj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph2, label %29 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %23 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %21 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %15 %14 = call i32 @printf(ptr noundef @.str.1) br label %15 15: ; preds = %13 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %9 %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %23 br label %29 29: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5d0evlfk.c' source_filename = "/tmp/tmp5d0evlfk.c" target datalayout = "e-m:e-p270: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/tmp5d0evlfk.c" target datalayout = "e-m:e-p270: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/tmp3zzdtwgo.c' source_filename = "/tmp/tmp3zzdtwgo.c" target datalayout = "e-m:e-p270: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/tmp3zzdtwgo.c" target datalayout = "e-m:e-p270: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/tmpaviyzyew.c' source_filename = "/tmp/tmpaviyzyew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"number of columns in '%s' is not 2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_two_columns(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @read_n_columns(ptr noundef %10, ptr noundef %8, ptr noundef %9) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load ptr, ptr %4, align 8 %16 = call i32 @error1(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %14, %3 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 store ptr %20, ptr %21, align 8 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %6, align 8 store ptr %24, ptr %25, align 8 %26 = load i32, ptr %7, align 4 ret i32 %26 } declare i32 @read_n_columns(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @error1(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/tmpaviyzyew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"number of columns in '%s' is not 2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_two_columns(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @read_n_columns(ptr noundef %10, ptr noundef %8, ptr noundef %9) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load ptr, ptr %4, align 8 %16 = call i32 @error1(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %14, %3 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 store ptr %20, ptr %21, align 8 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %6, align 8 store ptr %24, ptr %25, align 8 %26 = load i32, ptr %7, align 4 ret i32 %26 } declare i32 @read_n_columns(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @error1(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/tmpgxhvl1b4.c' source_filename = "/tmp/tmpgxhvl1b4.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @__const.main.sockname = private unnamed_addr constant [17 x i8] c"/tmp/logfilesock\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Usage: %s <msg>\0A\00", align 1 @AF_LOCAL = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"sendto() failed\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 %struct.sockaddr_un, align 4 %7 = alloca ptr, align 8 %8 = alloca [17 x i8], align 16 %9 = alloca i32, align 4 %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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.sockname, i64 17, i1 false) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) %19 = call i32 @exit(i32 noundef 1) #4 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 %24 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) %25 = load i32, ptr @AF_LOCAL, align 4 %26 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %30 = call i32 @strcpy(i32 noundef %28, ptr noundef %29) %31 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %32 = call i64 @strlen(ptr noundef %31) %33 = add i64 %32, 4 store i64 %33, ptr %10, align 8 %34 = load i32, ptr @AF_LOCAL, align 4 %35 = load i32, ptr @SOCK_DGRAM, align 4 %36 = call i32 @socket(i32 noundef %34, i32 noundef %35, i32 noundef 0) store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %42 39: ; preds = %20 %40 = call i32 @perror(ptr noundef @.str.1) %41 = call i32 @exit(i32 noundef 1) #4 unreachable 42: ; preds = %20 %43 = load i32, ptr %9, align 4 %44 = load ptr, ptr %7, align 8 %45 = load ptr, ptr %7, align 8 %46 = call i64 @strlen(ptr noundef %45) %47 = load i64, ptr %10, align 8 %48 = call i32 @sendto(i32 noundef %43, ptr noundef %44, i64 noundef %46, i32 noundef 0, ptr noundef %6, i64 noundef %47) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %53 50: ; preds = %42 %51 = call i32 @perror(ptr noundef @.str.2) %52 = call i32 @exit(i32 noundef 1) #4 unreachable 53: ; preds = %42 %54 = load i32, ptr %9, align 4 %55 = call i32 @close(i32 noundef %54) 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 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcpy(i32 noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i64 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgxhvl1b4.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @__const.main.sockname = private unnamed_addr constant [17 x i8] c"/tmp/logfilesock\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Usage: %s <msg>\0A\00", align 1 @AF_LOCAL = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"sendto() failed\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 %struct.sockaddr_un, align 4 %7 = alloca ptr, align 8 %8 = alloca [17 x i8], align 16 %9 = alloca i32, align 4 %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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.sockname, i64 17, i1 false) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) %19 = call i32 @exit(i32 noundef 1) #4 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 %24 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) %25 = load i32, ptr @AF_LOCAL, align 4 %26 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %30 = call i32 @strcpy(i32 noundef %28, ptr noundef %29) %31 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %32 = call i64 @strlen(ptr noundef %31) %33 = add i64 %32, 4 store i64 %33, ptr %10, align 8 %34 = load i32, ptr @AF_LOCAL, align 4 %35 = load i32, ptr @SOCK_DGRAM, align 4 %36 = call i32 @socket(i32 noundef %34, i32 noundef %35, i32 noundef 0) store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %42 39: ; preds = %20 %40 = call i32 @perror(ptr noundef @.str.1) %41 = call i32 @exit(i32 noundef 1) #4 unreachable 42: ; preds = %20 %43 = load i32, ptr %9, align 4 %44 = load ptr, ptr %7, align 8 %45 = load ptr, ptr %7, align 8 %46 = call i64 @strlen(ptr noundef %45) %47 = load i64, ptr %10, align 8 %48 = call i32 @sendto(i32 noundef %43, ptr noundef %44, i64 noundef %46, i32 noundef 0, ptr noundef %6, i64 noundef %47) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %53 50: ; preds = %42 %51 = call i32 @perror(ptr noundef @.str.2) %52 = call i32 @exit(i32 noundef 1) #4 unreachable 53: ; preds = %42 %54 = load i32, ptr %9, align 4 %55 = call i32 @close(i32 noundef %54) 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 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcpy(i32 noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i64 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"}
; ModuleID = '/tmp/tmp6cjgd54p.c' source_filename = "/tmp/tmp6cjgd54p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 call void @sort(ptr noundef %16, i32 noundef %17, i32 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 %22 = load i32, ptr %6, align 4 call void @sort(ptr noundef %19, i32 noundef %21, i32 noundef %22) %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @merge(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %11, %3 ret void } declare i32 @merge(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/tmp6cjgd54p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 call void @sort(ptr noundef %16, i32 noundef %17, i32 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 %22 = load i32, ptr %6, align 4 call void @sort(ptr noundef %19, i32 noundef %21, i32 noundef %22) %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @merge(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %11, %3 ret void } declare i32 @merge(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/tmpz5ez08o6.c' source_filename = "/tmp/tmpz5ez08o6.c" target datalayout = "e-m:e-p270: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 @errno = 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/tmpz5ez08o6.c" target datalayout = "e-m:e-p270: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 @errno = 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/tmpc_v5_oq4.c' source_filename = "/tmp/tmpc_v5_oq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Digite o nome do aluno 1\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Digite o nome do aluno 2\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"\0A\0A%s\0A%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [79 x i8] c"\0AO primeiro nome tem %d caracteres, enquanto que o segundo tem %d caracteres\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\0AO maior nome e o %s\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"\0AOs nomes inseridos sao iguais!\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"Os nomes inseridos sao diferentes!\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"\0AOs nomes concatenados ficam: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x i8], align 16 %3 = alloca [40 x i8], align 16 %4 = alloca [40 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @gets(ptr noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @gets(ptr noundef %12) %14 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %15 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %5, align 4 %19 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %31 27: ; preds = %0 %28 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %29 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29) br label %35 31: ; preds = %0 %32 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %33 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33) br label %35 35: ; preds = %31, %27 %36 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36) %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp sgt i32 %38, %39 br i1 %40, label %41, label %45 41: ; preds = %35 %42 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %43 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %44 = call i32 @strcat(ptr noundef %42, ptr noundef %43) br label %49 45: ; preds = %35 %46 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %47 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) br label %49 49: ; preds = %45, %41 %50 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %51 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51) store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %49 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %59 57: ; preds = %49 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %59 59: ; preds = %57, %55 %60 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %60) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc_v5_oq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Digite o nome do aluno 1\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Digite o nome do aluno 2\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"\0A\0A%s\0A%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [79 x i8] c"\0AO primeiro nome tem %d caracteres, enquanto que o segundo tem %d caracteres\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\0AO maior nome e o %s\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"\0AOs nomes inseridos sao iguais!\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"Os nomes inseridos sao diferentes!\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"\0AOs nomes concatenados ficam: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x i8], align 16 %3 = alloca [40 x i8], align 16 %4 = alloca [40 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @gets(ptr noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @gets(ptr noundef %12) %14 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %15 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %5, align 4 %19 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %31 27: ; preds = %0 %28 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %29 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29) br label %35 31: ; preds = %0 %32 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %33 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33) br label %35 35: ; preds = %31, %27 %36 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36) %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp sgt i32 %38, %39 br i1 %40, label %41, label %45 41: ; preds = %35 %42 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %43 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %44 = call i32 @strcat(ptr noundef %42, ptr noundef %43) br label %49 45: ; preds = %35 %46 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %47 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) br label %49 49: ; preds = %45, %41 %50 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %51 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51) store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %49 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %59 57: ; preds = %49 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %59 59: ; preds = %57, %55 %60 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %60) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpetwvdn58.c' source_filename = "/tmp/tmpetwvdn58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lowercase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %20, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @tolower(i8 noundef signext %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %4, !llvm.loop !6 23: ; preds = %4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @tolower(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/tmpetwvdn58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lowercase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %19 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i32 @tolower(i8 noundef signext %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %29 29: ; preds = %._crit_edge, %1 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @tolower(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/tmpudxs6poe.c' source_filename = "/tmp/tmpudxs6poe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transition_rate_from_energies_with_hastings(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %8, align 8 %11 = fdiv double %9, %10 %12 = load double, ptr %6, align 8 %13 = load double, ptr %5, align 8 %14 = fsub double %12, %13 %15 = fneg double %14 %16 = fdiv double %15, 0x3FE3B8FC86D5F2E9 %17 = call double @exp(double noundef %16) #2 %18 = fmul double %11, %17 %19 = fcmp olt double 1.000000e+00, %18 br i1 %19, label %20, label %21 20: ; preds = %4 br label %32 21: ; preds = %4 %22 = load double, ptr %7, align 8 %23 = load double, ptr %8, align 8 %24 = fdiv double %22, %23 %25 = load double, ptr %6, align 8 %26 = load double, ptr %5, align 8 %27 = fsub double %25, %26 %28 = fneg double %27 %29 = fdiv double %28, 0x3FE3B8FC86D5F2E9 %30 = call double @exp(double noundef %29) #2 %31 = fmul double %24, %30 br label %32 32: ; preds = %21, %20 %33 = phi double [ 1.000000e+00, %20 ], [ %31, %21 ] %34 = load double, ptr %7, align 8 %35 = fdiv double %33, %34 ret double %35 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpudxs6poe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transition_rate_from_energies_with_hastings(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %8, align 8 %11 = fdiv double %9, %10 %12 = load double, ptr %6, align 8 %13 = load double, ptr %5, align 8 %14 = fsub double %12, %13 %15 = fneg double %14 %16 = fdiv double %15, 0x3FE3B8FC86D5F2E9 %17 = call double @exp(double noundef %16) #2 %18 = fmul double %11, %17 %19 = fcmp olt double 1.000000e+00, %18 br i1 %19, label %20, label %21 20: ; preds = %4 br label %32 21: ; preds = %4 %22 = load double, ptr %7, align 8 %23 = load double, ptr %8, align 8 %24 = fdiv double %22, %23 %25 = load double, ptr %6, align 8 %26 = load double, ptr %5, align 8 %27 = fsub double %25, %26 %28 = fneg double %27 %29 = fdiv double %28, 0x3FE3B8FC86D5F2E9 %30 = call double @exp(double noundef %29) #2 %31 = fmul double %24, %30 br label %32 32: ; preds = %21, %20 %33 = phi double [ 1.000000e+00, %20 ], [ %31, %21 ] %34 = load double, ptr %7, align 8 %35 = fdiv double %33, %34 ret double %35 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf1aatcpx.c' source_filename = "/tmp/tmpf1aatcpx.c" target datalayout = "e-m:e-p270: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/tmpf1aatcpx.c" target datalayout = "e-m:e-p270: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/tmpraubl3jk.c' source_filename = "/tmp/tmpraubl3jk.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"%s Version 1.2\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Usage: %s in_file outfile\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" OR: \0A\00", align 1 @.str.3 = private unnamed_addr constant [103 x i8] c"Usage: %s in_file outfile matrix gop gep endgap [-v] | calculate norMD for alignment (-v verbose)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12) ret void } 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/tmpraubl3jk.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"%s Version 1.2\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Usage: %s in_file outfile\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" OR: \0A\00", align 1 @.str.3 = private unnamed_addr constant [103 x i8] c"Usage: %s in_file outfile matrix gop gep endgap [-v] | calculate norMD for alignment (-v verbose)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12) ret void } 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/tmp9dnw832t.c' source_filename = "/tmp/tmp9dnw832t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sbrk.heap_end = internal global ptr null, align 8 @__HeapStart = external global i32, align 4 @__StackLimit = external global i32, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sbrk(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load ptr, ptr @sbrk.heap_end, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @__HeapStart, ptr @sbrk.heap_end, align 8 br label %8 8: ; preds = %7, %1 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store ptr inttoptr (i64 -1 to ptr), ptr %2, align 8 br label %26 12: ; preds = %8 %13 = load ptr, ptr @sbrk.heap_end, align 8 store ptr %13, ptr %4, align 8 %14 = load ptr, ptr @sbrk.heap_end, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = icmp ugt ptr %17, @__StackLimit br i1 %18, label %19, label %20 19: ; preds = %12 store ptr inttoptr (i64 -1 to ptr), ptr %2, align 8 br label %26 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr @sbrk.heap_end, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 store ptr %24, ptr @sbrk.heap_end, align 8 %25 = load ptr, ptr %4, align 8 store ptr %25, ptr %2, align 8 br label %26 26: ; preds = %20, %19, %11 %27 = load ptr, ptr %2, align 8 ret ptr %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9dnw832t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sbrk.heap_end = internal global ptr null, align 8 @__HeapStart = external global i32, align 4 @__StackLimit = external global i32, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sbrk(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load ptr, ptr @sbrk.heap_end, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @__HeapStart, ptr @sbrk.heap_end, align 8 br label %8 8: ; preds = %7, %1 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store ptr inttoptr (i64 -1 to ptr), ptr %2, align 8 br label %26 12: ; preds = %8 %13 = load ptr, ptr @sbrk.heap_end, align 8 store ptr %13, ptr %4, align 8 %14 = load ptr, ptr @sbrk.heap_end, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = icmp ugt ptr %17, @__StackLimit br i1 %18, label %19, label %20 19: ; preds = %12 store ptr inttoptr (i64 -1 to ptr), ptr %2, align 8 br label %26 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr @sbrk.heap_end, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 store ptr %24, ptr @sbrk.heap_end, align 8 %25 = load ptr, ptr %4, align 8 store ptr %25, ptr %2, align 8 br label %26 26: ; preds = %20, %19, %11 %27 = load ptr, ptr %2, align 8 ret ptr %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd91tjtkz.c' source_filename = "/tmp/tmpd91tjtkz.c" target datalayout = "e-m:e-p270: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/tmpd91tjtkz.c" target datalayout = "e-m:e-p270: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/tmptckj8uzp.c' source_filename = "/tmp/tmptckj8uzp.c" target datalayout = "e-m:e-p270: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/tmptckj8uzp.c" target datalayout = "e-m:e-p270: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/tmpikoy0i54.c' source_filename = "/tmp/tmpikoy0i54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"nonexistent.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [128 x i8], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %21, %2 %13 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %14 = load ptr, ptr %7, align 8 %15 = call ptr @fgets(ptr noundef %13, i32 noundef 128, ptr noundef %14) %16 = icmp ne ptr %15, null br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load i32, ptr %9, align 4 %19 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %20 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18, ptr noundef %19) br label %21 21: ; preds = %17 %22 = load i32, ptr %9, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %9, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 %25 = load ptr, ptr %7, align 8 %26 = call i32 @fclose(ptr noundef %25) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpikoy0i54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"nonexistent.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [128 x i8], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %7, align 8 store i32 0, ptr %9, align 4 %12 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %13 = load ptr, ptr %7, align 8 %14 = call ptr @fgets(ptr noundef %12, i32 noundef 128, ptr noundef %13) %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %20 %17 = load i32, ptr %9, align 4 %18 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17, ptr noundef %18) br label %20 20: ; preds = %16 %21 = load i32, ptr %9, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %9, align 4 %23 = load ptr, ptr %7, align 8 %24 = call ptr @fgets(ptr noundef %12, i32 noundef 128, ptr noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %7, align 8 %28 = call i32 @fclose(ptr noundef %27) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptv96huz6.c' source_filename = "/tmp/tmptv96huz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 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/stdlib/isqrt.c\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Integer square root of 1469 should be 38\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_sqrt_1469() #0 { %1 = call i32 @isqrt(i32 noundef 1469) %2 = icmp eq i32 %1, 38 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1295, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isqrt(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/tmptv96huz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 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/stdlib/isqrt.c\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Integer square root of 1469 should be 38\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_sqrt_1469() #0 { %1 = call i32 @isqrt(i32 noundef 1469) %2 = icmp eq i32 %1, 38 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1295, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isqrt(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/tmp1mokcaj9.c' source_filename = "/tmp/tmp1mokcaj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcgetwinsize(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @TIOCGWINSZ, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @syscall(i32 noundef 54, i32 noundef %5, i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1mokcaj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcgetwinsize(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @TIOCGWINSZ, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @syscall(i32 noundef 54, i32 noundef %5, i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppqkrfyox.c' source_filename = "/tmp/tmppqkrfyox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DDR pll bypass: Disabled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ddr_info_dump(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @serial_puts(ptr noundef @.str) ret void } declare i32 @serial_puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppqkrfyox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DDR pll bypass: Disabled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ddr_info_dump(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @serial_puts(ptr noundef @.str) ret void } declare i32 @serial_puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1054rp98.c' source_filename = "/tmp/tmp1054rp98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @errR(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = fsub double %7, %8 %10 = call double @llvm.fabs.f64(double %9) store double %10, ptr %5, align 8 %11 = load double, ptr %5, align 8 %12 = load double, ptr %3, align 8 %13 = fdiv double %11, %12 %14 = call double @llvm.fabs.f64(double %13) store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 ret double %15 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1054rp98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @errR(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = fsub double %7, %8 %10 = call double @llvm.fabs.f64(double %9) store double %10, ptr %5, align 8 %11 = load double, ptr %5, align 8 %12 = load double, ptr %3, align 8 %13 = fdiv double %11, %12 %14 = call double @llvm.fabs.f64(double %13) store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 ret double %15 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfwpy1yzs.c' source_filename = "/tmp/tmpfwpy1yzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exactC(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 3.000000e+00, ptr %14, align 8 store double 3.600000e+03, ptr %15, align 8 store double 7.500000e+05, ptr %16, align 8 store double 5.000000e+00, ptr %9, align 8 store double -1.000000e+00, ptr %10, align 8 store double 2.000000e+00, ptr %11, align 8 store double 0x425BEF54DACC0000, ptr %12, align 8 %17 = load double, ptr %5, align 8 %18 = load double, ptr %12, align 8 %19 = fdiv double %17, %18 %20 = load double, ptr %11, align 8 %21 = call double @pow(double noundef %19, double noundef %20) %22 = fmul double 7.500000e+05, %21 store double %22, ptr %13, align 8 %23 = load double, ptr %6, align 8 %24 = load double, ptr %13, align 8 %25 = fcmp olt double %23, %24 br i1 %25, label %26, label %48 26: ; preds = %4 %27 = load double, ptr %5, align 8 %28 = load double, ptr %12, align 8 %29 = fdiv double %27, %28 %30 = load double, ptr %10, align 8 %31 = fneg double %30 %32 = call double @pow(double noundef %29, double noundef %31) %33 = fmul double 3.600000e+03, %32 %34 = load double, ptr %5, align 8 %35 = load double, ptr %12, align 8 %36 = fdiv double %34, %35 %37 = load double, ptr %11, align 8 %38 = fneg double %37 %39 = call double @pow(double noundef %36, double noundef %38) %40 = load double, ptr %6, align 8 %41 = fdiv double %40, 7.500000e+05 %42 = fmul double %39, %41 %43 = call double @pow(double noundef %42, double noundef 0x3FF5555555555555) %44 = fsub double 1.000000e+00, %43 %45 = call double @pow(double noundef %44, double noundef 0x3FDB6DB6DB6DB6DB) %46 = fmul double %33, %45 %47 = load ptr, ptr %7, align 8 store double %46, ptr %47, align 8 br label %50 48: ; preds = %4 %49 = load ptr, ptr %7, align 8 store double 0.000000e+00, ptr %49, align 8 br label %50 50: ; preds = %48, %26 %51 = load double, ptr %5, align 8 %52 = fcmp ogt double %51, 0x414813764CCCCCCD br i1 %52, label %53, label %61 53: ; preds = %50 %54 = load double, ptr %9, align 8 %55 = load double, ptr %5, align 8 %56 = fdiv double %54, %55 %57 = load ptr, ptr %7, align 8 %58 = load double, ptr %57, align 8 %59 = fmul double %56, %58 %60 = load ptr, ptr %8, align 8 store double %59, ptr %60, align 8 br label %77 61: ; preds = %50 %62 = load double, ptr %12, align 8 %63 = fdiv double 0x414813764CCCCCCD, %62 %64 = load double, ptr %11, align 8 %65 = call double @pow(double noundef %63, double noundef %64) %66 = fmul double 7.500000e+05, %65 store double %66, ptr %13, align 8 %67 = load double, ptr %6, align 8 %68 = load double, ptr %13, align 8 %69 = fcmp olt double %67, %68 br i1 %69, label %70, label %74 70: ; preds = %61 %71 = load double, ptr %12, align 8 %72 = fdiv double 1.800000e+04, %71 %73 = load ptr, ptr %8, align 8 store double %72, ptr %73, align 8 br label %76 74: ; preds = %61 %75 = load ptr, ptr %8, align 8 store double 0.000000e+00, ptr %75, align 8 br label %76 76: ; preds = %74, %70 br label %77 77: ; preds = %76, %53 ret i32 0 } declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwpy1yzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exactC(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 3.000000e+00, ptr %14, align 8 store double 3.600000e+03, ptr %15, align 8 store double 7.500000e+05, ptr %16, align 8 store double 5.000000e+00, ptr %9, align 8 store double -1.000000e+00, ptr %10, align 8 store double 2.000000e+00, ptr %11, align 8 store double 0x425BEF54DACC0000, ptr %12, align 8 %17 = load double, ptr %5, align 8 %18 = load double, ptr %12, align 8 %19 = fdiv double %17, %18 %20 = load double, ptr %11, align 8 %21 = call double @pow(double noundef %19, double noundef %20) %22 = fmul double 7.500000e+05, %21 store double %22, ptr %13, align 8 %23 = load double, ptr %6, align 8 %24 = load double, ptr %13, align 8 %25 = fcmp olt double %23, %24 br i1 %25, label %26, label %48 26: ; preds = %4 %27 = load double, ptr %5, align 8 %28 = load double, ptr %12, align 8 %29 = fdiv double %27, %28 %30 = load double, ptr %10, align 8 %31 = fneg double %30 %32 = call double @pow(double noundef %29, double noundef %31) %33 = fmul double 3.600000e+03, %32 %34 = load double, ptr %5, align 8 %35 = load double, ptr %12, align 8 %36 = fdiv double %34, %35 %37 = load double, ptr %11, align 8 %38 = fneg double %37 %39 = call double @pow(double noundef %36, double noundef %38) %40 = load double, ptr %6, align 8 %41 = fdiv double %40, 7.500000e+05 %42 = fmul double %39, %41 %43 = call double @pow(double noundef %42, double noundef 0x3FF5555555555555) %44 = fsub double 1.000000e+00, %43 %45 = call double @pow(double noundef %44, double noundef 0x3FDB6DB6DB6DB6DB) %46 = fmul double %33, %45 %47 = load ptr, ptr %7, align 8 store double %46, ptr %47, align 8 br label %50 48: ; preds = %4 %49 = load ptr, ptr %7, align 8 store double 0.000000e+00, ptr %49, align 8 br label %50 50: ; preds = %48, %26 %51 = load double, ptr %5, align 8 %52 = fcmp ogt double %51, 0x414813764CCCCCCD br i1 %52, label %53, label %61 53: ; preds = %50 %54 = load double, ptr %9, align 8 %55 = load double, ptr %5, align 8 %56 = fdiv double %54, %55 %57 = load ptr, ptr %7, align 8 %58 = load double, ptr %57, align 8 %59 = fmul double %56, %58 %60 = load ptr, ptr %8, align 8 store double %59, ptr %60, align 8 br label %77 61: ; preds = %50 %62 = load double, ptr %12, align 8 %63 = fdiv double 0x414813764CCCCCCD, %62 %64 = load double, ptr %11, align 8 %65 = call double @pow(double noundef %63, double noundef %64) %66 = fmul double 7.500000e+05, %65 store double %66, ptr %13, align 8 %67 = load double, ptr %6, align 8 %68 = load double, ptr %13, align 8 %69 = fcmp olt double %67, %68 br i1 %69, label %70, label %74 70: ; preds = %61 %71 = load double, ptr %12, align 8 %72 = fdiv double 1.800000e+04, %71 %73 = load ptr, ptr %8, align 8 store double %72, ptr %73, align 8 br label %76 74: ; preds = %61 %75 = load ptr, ptr %8, align 8 store double 0.000000e+00, ptr %75, align 8 br label %76 76: ; preds = %74, %70 br label %77 77: ; preds = %76, %53 ret i32 0 } declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkjy0o26l.c' source_filename = "/tmp/tmpkjy0o26l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp ult ptr %13, %14 br i1 %15, label %16, label %33 16: ; preds = %3 store i64 0, ptr %9, align 8 br label %17 17: ; preds = %29, %16 %18 = load i64, ptr %9, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = load ptr, ptr %8, align 8 %23 = load i64, ptr %9, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store i8 %25, ptr %28, align 1 br label %29 29: ; preds = %21 %30 = load i64, ptr %9, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %9, align 8 br label %17, !llvm.loop !6 32: ; preds = %17 br label %57 33: ; preds = %3 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %8, align 8 %36 = icmp ugt ptr %34, %35 br i1 %36, label %37, label %56 37: ; preds = %33 %38 = load i64, ptr %6, align 8 store i64 %38, ptr %10, align 8 br label %39 39: ; preds = %52, %37 %40 = load i64, ptr %10, align 8 %41 = icmp ugt i64 %40, 0 br i1 %41, label %42, label %55 42: ; preds = %39 %43 = load ptr, ptr %8, align 8 %44 = load i64, ptr %10, align 8 %45 = sub i64 %44, 1 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = load ptr, ptr %7, align 8 %49 = load i64, ptr %10, align 8 %50 = sub i64 %49, 1 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 br label %52 52: ; preds = %42 %53 = load i64, ptr %10, align 8 %54 = add i64 %53, -1 store i64 %54, ptr %10, align 8 br label %39, !llvm.loop !8 55: ; preds = %39 br label %56 56: ; preds = %55, %33 br label %57 57: ; preds = %56, %32 %58 = load ptr, ptr %4, align 8 ret ptr %58 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkjy0o26l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp ult ptr %13, %14 br i1 %15, label %16, label %35 16: ; preds = %3 store i64 0, ptr %9, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %.lr.ph2, label %34 .lr.ph2: ; preds = %16 br label %20 20: ; preds = %.lr.ph2, %28 %21 = load ptr, ptr %8, align 8 %22 = load i64, ptr %9, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %9, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 store i8 %24, ptr %27, align 1 br label %28 28: ; preds = %20 %29 = load i64, ptr %9, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = load i64, ptr %6, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %20, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %28 br label %34 34: ; preds = %._crit_edge3, %16 br label %60 35: ; preds = %3 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %8, align 8 %38 = icmp ugt ptr %36, %37 br i1 %38, label %39, label %59 39: ; preds = %35 %40 = load i64, ptr %6, align 8 store i64 %40, ptr %10, align 8 %41 = load i64, ptr %10, align 8 %42 = icmp ugt i64 %41, 0 br i1 %42, label %.lr.ph, label %58 .lr.ph: ; preds = %39 br label %43 43: ; preds = %.lr.ph, %53 %44 = load ptr, ptr %8, align 8 %45 = load i64, ptr %10, align 8 %46 = sub i64 %45, 1 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = load ptr, ptr %7, align 8 %50 = load i64, ptr %10, align 8 %51 = sub i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 %48, ptr %52, align 1 br label %53 53: ; preds = %43 %54 = load i64, ptr %10, align 8 %55 = add i64 %54, -1 store i64 %55, ptr %10, align 8 %56 = load i64, ptr %10, align 8 %57 = icmp ugt i64 %56, 0 br i1 %57, label %43, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %53 br label %58 58: ; preds = %._crit_edge, %39 br label %59 59: ; preds = %58, %35 br label %60 60: ; preds = %59, %34 %61 = load ptr, ptr %4, align 8 ret ptr %61 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpw_4dyy5j.c' source_filename = "/tmp/tmpw_4dyy5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_ws(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %26 7: ; preds = %1 br label %8 8: ; preds = %21, %7 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i64 @isspace(i32 noundef %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %13, %8 %20 = phi i1 [ false, %8 ], [ %18, %13 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 br label %8, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 store ptr %25, ptr %2, align 8 br label %26 26: ; preds = %24, %6 %27 = load ptr, ptr %2, align 8 ret ptr %27 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw_4dyy5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_ws(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %26 7: ; preds = %1 br label %8 8: ; preds = %21, %7 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i64 @isspace(i32 noundef %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %13, %8 %20 = phi i1 [ false, %8 ], [ %18, %13 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 br label %8, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 store ptr %25, ptr %2, align 8 br label %26 26: ; preds = %24, %6 %27 = load ptr, ptr %2, align 8 ret ptr %27 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8_q3tni3.c' source_filename = "/tmp/tmp8_q3tni3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%li\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 i64, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i64, i64 %10, align 16 store i64 %10, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %13 13: ; preds = %22, %0 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %12, i64 %19 %21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 store i32 0, ptr %7, align 4 br label %26 26: ; preds = %37, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %40 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i64, ptr %12, i64 %32 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr %6, align 8 %36 = add nsw i64 %35, %34 store i64 %36, ptr %6, align 8 br label %37 37: ; preds = %30 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %26, !llvm.loop !8 40: ; preds = %26 %41 = load i64, ptr %6, align 8 %42 = call i32 @printf(ptr noundef @.str.1, i64 noundef %41) store i32 0, ptr %1, align 4 %43 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %43) %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_q3tni3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%li\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 i64, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i64, i64 %10, align 16 store i64 %10, ptr %4, align 8 store i32 0, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %21 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i64, ptr %12, i64 %18 %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 store i32 0, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph2, label %44 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %38 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i64, ptr %12, i64 %33 %35 = load i64, ptr %34, align 8 %36 = load i64, ptr %6, align 8 %37 = add nsw i64 %36, %35 store i64 %37, ptr %6, align 8 br label %38 38: ; preds = %31 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %27 %45 = load i64, ptr %6, align 8 %46 = call i32 @printf(ptr noundef @.str.1, i64 noundef %45) store i32 0, ptr %1, align 4 %47 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %47) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpoa8y1vi_.c' source_filename = "/tmp/tmpoa8y1vi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CntDwn(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 @CountDown(i32 noundef %3, i32 noundef 8, i32 noundef 1, i32 noundef 1) ret void } declare i32 @CountDown(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/tmpoa8y1vi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CntDwn(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 @CountDown(i32 noundef %3, i32 noundef 8, i32 noundef 1, i32 noundef 1) ret void } declare i32 @CountDown(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/tmp0yubtitj.c' source_filename = "/tmp/tmp0yubtitj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a2.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @a() #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/tmp0yubtitj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a2.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @a() #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/tmpgerjsa0_.c' source_filename = "/tmp/tmpgerjsa0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_times(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOTSUP, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgerjsa0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_times(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOTSUP, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeo2v2shu.c' source_filename = "/tmp/tmpeo2v2shu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %9, %10 %12 = add nsw i32 %11, 1 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %7, align 4 br label %15 15: ; preds = %23, %3 %16 = load i32, ptr %7, align 4 %17 = icmp sge i32 %16, 0 br i1 %17, label %18, label %26 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 @heap_adjust(ptr noundef %19, i32 noundef %20, i32 noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %7, align 4 br label %15, !llvm.loop !6 26: ; preds = %15 %27 = load i32, ptr %6, align 4 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %43, %26 %29 = load i32, ptr %7, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %46 31: ; preds = %28 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 0 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = call i32 @swap(ptr noundef %33, ptr noundef %37) %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sub nsw i32 %40, 1 %42 = call i32 @heap_adjust(ptr noundef %39, i32 noundef 0, i32 noundef %41) br label %43 43: ; preds = %31 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %7, align 4 br label %28, !llvm.loop !8 46: ; preds = %28 ret void } declare i32 @heap_adjust(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeo2v2shu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %9, %10 %12 = add nsw i32 %11, 1 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sge i32 %15, 0 br i1 %16, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %22 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @heap_adjust(ptr noundef %18, i32 noundef %19, i32 noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %3 %28 = load i32, ptr %6, align 4 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %.lr.ph2, label %48 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %43 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 0 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = call i32 @swap(ptr noundef %33, ptr noundef %37) %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sub nsw i32 %40, 1 %42 = call i32 @heap_adjust(ptr noundef %39, i32 noundef 0, i32 noundef %41) br label %43 43: ; preds = %31 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp sgt i32 %46, 0 br i1 %47, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %48 48: ; preds = %._crit_edge3, %27 ret void } declare i32 @heap_adjust(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpoxj7zruy.c' source_filename = "/tmp/tmpoxj7zruy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [10000 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 0, ptr %3, align 4 br label %6 6: ; preds = %14, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10000 br i1 %8, label %9, label %17 9: ; preds = %6 %10 = call i32 (...) @rand() %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %12 store i32 %10, ptr %13, align 4 br label %14 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 %18 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 0 %19 = call i32 @insertionSort(ptr noundef %18, i32 noundef 10000) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @insertionSort(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/tmpoxj7zruy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [10000 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10000 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %13 %9 = call i32 (...) @rand() %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %11 store i32 %9, ptr %12, align 4 br label %13 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 10000 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 0 %20 = call i32 @insertionSort(ptr noundef %19, i32 noundef 10000) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @insertionSort(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/tmpirstqw4d.c' source_filename = "/tmp/tmpirstqw4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @scim_bridge_string_from_uint(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i64 @snprintf(i32 noundef 0, i32 noundef 0, ptr noundef @.str, i32 noundef %6) store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = add i64 %8, 1 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) %13 = load ptr, ptr %3, align 8 store ptr %12, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, i32 noundef %16) %18 = load i64, ptr %5, align 8 ret i64 %18 } declare i64 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpirstqw4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @scim_bridge_string_from_uint(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i64 @snprintf(i32 noundef 0, i32 noundef 0, ptr noundef @.str, i32 noundef %6) store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = add i64 %8, 1 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) %13 = load ptr, ptr %3, align 8 store ptr %12, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, i32 noundef %16) %18 = load i64, ptr %5, align 8 ret i64 %18 } declare i64 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpgvmmwi0f.c' source_filename = "/tmp/tmpgvmmwi0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tml_sr_WinHann(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call ptr @tml_sr_Malloc(i32 noundef %7) store ptr %8, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %31, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to double %16 = fmul double 0x401921FB54442D18, %15 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 1 %19 = sitofp i32 %18 to double %20 = fdiv double %16, %19 %21 = fptosi double %20 to i32 %22 = call i32 @cos(i32 noundef %21) %23 = sub nsw i32 1, %22 %24 = sitofp i32 %23 to double %25 = fmul double 5.000000e-01, %24 %26 = fptrunc double %25 to float %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 store float %26, ptr %30, align 4 br label %31 31: ; preds = %13 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %9, !llvm.loop !6 34: ; preds = %9 %35 = load ptr, ptr %6, align 8 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %4, align 4 %38 = call i32 @tml_sr_vMpy2(ptr noundef %35, ptr noundef %36, i32 noundef %37) ret void } declare ptr @tml_sr_Malloc(i32 noundef) #1 declare i32 @cos(i32 noundef) #1 declare i32 @tml_sr_vMpy2(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgvmmwi0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tml_sr_WinHann(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call ptr @tml_sr_Malloc(i32 noundef %7) store ptr %8, ptr %6, align 8 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %30 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to double %15 = fmul double 0x401921FB54442D18, %14 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 1 %18 = sitofp i32 %17 to double %19 = fdiv double %15, %18 %20 = fptosi double %19 to i32 %21 = call i32 @cos(i32 noundef %20) %22 = sub nsw i32 1, %21 %23 = sitofp i32 %22 to double %24 = fmul double 5.000000e-01, %23 %25 = fptrunc double %24 to float %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %26, i64 %28 store float %25, ptr %29, align 4 br label %30 30: ; preds = %12 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %2 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = call i32 @tml_sr_vMpy2(ptr noundef %37, ptr noundef %38, i32 noundef %39) ret void } declare ptr @tml_sr_Malloc(i32 noundef) #1 declare i32 @cos(i32 noundef) #1 declare i32 @tml_sr_vMpy2(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpewao1raa.c' source_filename = "/tmp/tmpewao1raa.c" target datalayout = "e-m:e-p270: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/tmpewao1raa.c" target datalayout = "e-m:e-p270: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/tmpfsrswcfp.c' source_filename = "/tmp/tmpfsrswcfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1<2!\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"233\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 233) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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/tmpfsrswcfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1<2!\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"233\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 233) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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/tmpwdd4amlj.c' source_filename = "/tmp/tmpwdd4amlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Delta=%lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"%d\09%lf\09%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @chiSquareLogTest(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 i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, 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 i32 0, ptr %9, align 4 store double 0.000000e+00, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds double, ptr %13, i64 0 %15 = load double, ptr %14, align 8 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds double, ptr %16, i64 0 %18 = load double, ptr %17, align 8 %19 = call double @log10(double noundef %18) #4 %20 = fsub double %15, %19 %21 = call double @llvm.fabs.f64(double %20) store double %21, ptr %11, align 8 %22 = load double, ptr %11, align 8 %23 = fptosi double %22 to i32 %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %23) store i32 0, ptr %9, align 4 br label %25 25: ; preds = %69, %4 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %72 29: ; preds = %25 %30 = load i32, ptr %9, align 4 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = call double @log10(double noundef %40) #4 %42 = load double, ptr %11, align 8 %43 = fsub double %41, %42 %44 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %30, double noundef %35, double noundef %43) %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %45, i64 %47 %49 = load double, ptr %48, align 8 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load double, ptr %53, align 8 %55 = call double @log10(double noundef %54) #4 %56 = fsub double %49, %55 %57 = load double, ptr %11, align 8 %58 = fsub double %56, %57 %59 = load ptr, ptr %8, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %59, i64 %61 %63 = load double, ptr %62, align 8 %64 = fdiv double %58, %63 store double %64, ptr %12, align 8 %65 = load double, ptr %12, align 8 %66 = load double, ptr %12, align 8 %67 = load double, ptr %10, align 8 %68 = call double @llvm.fmuladd.f64(double %65, double %66, double %67) store double %68, ptr %10, align 8 br label %69 69: ; preds = %29 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 br label %25, !llvm.loop !6 72: ; preds = %25 %73 = load double, ptr %10, align 8 %74 = load i32, ptr %5, align 4 %75 = sitofp i32 %74 to double %76 = fdiv double %73, %75 store double %76, ptr %10, align 8 %77 = load double, ptr %10, align 8 ret double %77 } ; Function Attrs: nounwind declare double @log10(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #3 ; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwdd4amlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Delta=%lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"%d\09%lf\09%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @chiSquareLogTest(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 i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, 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 i32 0, ptr %9, align 4 store double 0.000000e+00, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds double, ptr %13, i64 0 %15 = load double, ptr %14, align 8 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds double, ptr %16, i64 0 %18 = load double, ptr %17, align 8 %19 = call double @log10(double noundef %18) #4 %20 = fsub double %15, %19 %21 = call double @llvm.fabs.f64(double %20) store double %21, ptr %11, align 8 %22 = load double, ptr %11, align 8 %23 = fptosi double %22 to i32 %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %23) store i32 0, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %74 .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %68 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %35, i64 %37 %39 = load double, ptr %38, align 8 %40 = call double @log10(double noundef %39) #4 %41 = load double, ptr %11, align 8 %42 = fsub double %40, %41 %43 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %29, double noundef %34, double noundef %42) %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 %48 = load double, ptr %47, align 8 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 %53 = load double, ptr %52, align 8 %54 = call double @log10(double noundef %53) #4 %55 = fsub double %48, %54 %56 = load double, ptr %11, align 8 %57 = fsub double %55, %56 %58 = load ptr, ptr %8, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 %62 = load double, ptr %61, align 8 %63 = fdiv double %57, %62 store double %63, ptr %12, align 8 %64 = load double, ptr %12, align 8 %65 = load double, ptr %12, align 8 %66 = load double, ptr %10, align 8 %67 = call double @llvm.fmuladd.f64(double %64, double %65, double %66) store double %67, ptr %10, align 8 br label %68 68: ; preds = %28 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %74 74: ; preds = %._crit_edge, %4 %75 = load double, ptr %10, align 8 %76 = load i32, ptr %5, align 4 %77 = sitofp i32 %76 to double %78 = fdiv double %75, %77 store double %78, ptr %10, align 8 %79 = load double, ptr %10, align 8 ret double %79 } ; Function Attrs: nounwind declare double @log10(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #3 ; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpld1xwkdx.c' source_filename = "/tmp/tmpld1xwkdx.c" target datalayout = "e-m:e-p270: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/tmpld1xwkdx.c" target datalayout = "e-m:e-p270: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/tmpp6u2k52k.c' source_filename = "/tmp/tmpp6u2k52k.c" target datalayout = "e-m:e-p270: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.mm = private unnamed_addr constant [2 x float] [float 1.000000e+00, float 2.000000e+00], align 4 @.str = private unnamed_addr constant [4 x i8] c"c 1\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 [2 x float], align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.mm, i64 8, i1 false) %4 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 1 %5 = load float, ptr %4, align 4 %6 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0 %7 = load float, ptr %6, align 4 %8 = fcmp oge float %5, %7 %9 = zext i1 %8 to i32 store i32 %9, ptr %2, align 4 %10 = call i32 @print(ptr noundef @.str) %11 = load i32, ptr %2, align 4 %12 = call i32 @printid(i32 noundef %11) 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 @print(ptr noundef) #2 declare i32 @printid(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp6u2k52k.c" target datalayout = "e-m:e-p270: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.mm = private unnamed_addr constant [2 x float] [float 1.000000e+00, float 2.000000e+00], align 4 @.str = private unnamed_addr constant [4 x i8] c"c 1\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 [2 x float], align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.mm, i64 8, i1 false) %4 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 1 %5 = load float, ptr %4, align 4 %6 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0 %7 = load float, ptr %6, align 4 %8 = fcmp oge float %5, %7 %9 = zext i1 %8 to i32 store i32 %9, ptr %2, align 4 %10 = call i32 @print(ptr noundef @.str) %11 = load i32, ptr %2, align 4 %12 = call i32 @printid(i32 noundef %11) 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 @print(ptr noundef) #2 declare i32 @printid(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"}